@font-face { font-family: 'SFProDisplay'; src: url('assets/sf-pro-display-regular.woff') format('woff'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'SFProDisplay'; src: url('assets/sf-pro-display-medium.woff') format('woff'); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: 'SFProDisplay'; src: url('assets/sf-pro-display-semibold.woff') format('woff'); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: 'SFProDisplay'; src: url('assets/sf-pro-display-bold.woff') format('woff'); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: 'BebasNeue'; src: url('assets/bebas-neue-bold.woff') format('woff'); font-weight: 600; font-style: normal; font-display: swap; }
:root {
  --paper: #f4f4f4;
  --surface: #f4f4f4;
  --ink: #272727;
  --muted: #696969;
  --line: #e0e0e0;
  --accent: #c90f1b;
  --accent-bright: #c90f1b;
  --soft-red: #e0e0e0;
  --green: #696969;
  --radius: 20px;
  font-family: 'SFProDisplay', 'Segoe UI', sans-serif;
  font-size: 14px;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
* { box-sizing: border-box; }
body { margin: 0; }
button, input, select, textarea { font: inherit; }
button, a, input, textarea, select { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; color: inherit; }
button { border: 0; background: none; }
button:disabled { cursor: default; }
button, a, input, textarea, select, summary { touch-action: manipulation; }
button:focus-visible, a:focus-visible, summary:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
input:focus-visible, textarea:focus-visible, select:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
::selection { background: #d0d0d0; color: #272727; }
h1, h2, h3, p { margin: 0; }
.icon { width: 20px; height: 20px; flex-shrink: 0; vertical-align: middle; }
.accent { color: var(--accent); }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; clip: rect(0, 0, 0, 0); overflow: hidden; white-space: nowrap; }
.skip-link { position: absolute; top: -100px; left: 16px; z-index: 10; padding: 16px; background: white; color: var(--ink); }
.skip-link:focus { top: 12px; }
.topbar { min-height: 94px; padding: 0 3.2%; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); gap: 20px; }
.brand { display: flex; align-items: center; gap: 23px; padding: 4px 0; text-align: left; min-height: 44px; }
.brand-mark { font-size: 43px; font-weight: 800; line-height: 1; letter-spacing: -4px; }
.brand-mark > span:first-child { letter-spacing: -3px; }
.brand-dot { color: var(--accent-bright); }
.brand-rule { height: 26px; width: 1px; background: #c7c7c7; }
.brand-caption { font-size: 13px; font-weight: 450; color: #656565; letter-spacing: -.2px; }
.header-actions { display: flex; align-items: center; gap: 24px; }
.prototype-label { display: flex; align-items: center; gap: 7px; font-size: 11px; color: var(--muted); }
.prototype-label > span { width: 6px; height: 6px; border-radius: 50%; background: #696969; }
.text-button { min-height: 44px; padding: 8px 0; display: inline-flex; align-items: center; justify-content: center; gap: 9px; font-size: 13px; font-weight: 500; text-align: left; }
.text-button:hover { color: var(--accent); }
.map-button { padding: 9px 15px; border: 1px solid #e0e0e0; border-radius: 8px; gap: 8px; font-size: 12px; }
.map-button .icon { width: 16px; height: 16px; }
.example-banner { padding: 10px 3.2%; background: #e0e0e0; display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: 12px; }
.example-banner > span, .example-banner > button { display: flex; align-items: center; gap: 8px; }
.example-banner > button { min-height: 36px; font-weight: 500; }
.example-banner .icon { width: 16px; height: 16px; }
.workspace { max-width: 1720px; margin: 0 auto; padding: 0 3.2%; display: grid; grid-template-columns: 229px minmax(0, 1fr); gap: 45px; }
.sidebar { border-right: 1px solid var(--line); min-height: calc(100vh - 94px); padding: 47px 25px 30px 0; position: relative; display: flex; flex-direction: column; }
.route-heading { color: #696969; font-size: 9px; letter-spacing: 1.2px; font-weight: 500; display: flex; justify-content: space-between; margin: 7px 0 33px; }
.route-heading > span { letter-spacing: 0; font-size: 9px; }
.route-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 37px; }
.route-item { display: flex; align-items: flex-start; gap: 13px; position: relative; }
.route-item:not(:last-child)::after { content: ''; position: absolute; left: 16px; top: 40px; height: 28px; width: 1px; background: #e0e0e0; }
.route-number { width: 33px; height: 33px; border: 1px solid #e0e0e0; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 10px; color: #696969; flex-shrink: 0; }
.route-number .icon { width: 16px; height: 16px; }
.route-item.active .route-number { background: var(--accent-bright); border-color: var(--accent-bright); color: #fff; }
.route-item.complete .route-number { background: #e0e0e0; color: var(--green); border-color: #e0e0e0; }
.route-item strong { font-size: 12px; font-weight: 550; display: block; margin-top: 1px; line-height: 1.5; }
.route-item:not(.active):not(.complete) strong { color: #696969; }
.route-item > div > span { display: block; font-size: 10px; line-height: 1.6; color: #696969; margin-top: 5px; white-space: nowrap; }
.sidebar-bottom { margin-top: auto; padding-top: 120px; }
.small-compass { margin-bottom: 18px; color: #696969; }
.small-compass .icon { height: 34px; width: 34px; stroke-width: 1; }
.sidebar-bottom p { font-size: 11px; line-height: 1.8; color: #696969; }
.sidebar-bottom > span { display: block; font-size: 7px; letter-spacing: .65px; color: #696969; margin-top: 29px; }
.main-column { min-width: 0; }
.screen { padding: 49px 0 30px; animation: arrive .24s ease-out both; min-height: calc(100vh - 167px); }
#main:focus { outline: none; }
.site-footer { min-height: 73px; padding: 18px 0; display: flex; justify-content: space-between; align-items: center; gap: 20px; border-top: 1px solid var(--line); font-size: 9px; color: #696969; }
.site-footer button { display: flex; align-items: center; gap: 6px; font-size: 10px; min-height: 44px; }
.site-footer .icon { width: 13px; height: 13px; }
.eyebrow { font-size: 9px; font-weight: 550; letter-spacing: 1.5px; line-height: 1.6; display: flex; align-items: center; gap: 9px; color: #696969; }
.eyebrow .line { width: 24px; height: 1px; background: var(--accent); }
.mobile-progress { display: none; }
.welcome-main { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(310px, .94fr); gap: 27px; min-height: 470px; align-items: center; padding: 8px 0 32px; }
.hero-copy { padding: 8px 0 16px; position: relative; z-index: 1; }
.hero-copy h1 { font-weight: 500; font-size: clamp(36px, 3.7vw, 67px); line-height: 1.19; letter-spacing: -.055em; margin-top: 25px; margin-bottom: 25px; }
.accent-word { color: var(--accent); position: relative; display: inline-block; }
.accent-word svg { position: absolute; width: 100%; height: 13px; left: 0; bottom: -12px; fill: none; stroke: #c90f1b; stroke-width: 1.5; }
.hero-description { font-size: 14px; line-height: 1.9; color: #696969; max-width: 350px; }
.hero-action { margin-top: 32px; display: flex; flex-direction: column; align-items: flex-start; gap: 15px; }
.button { min-height: 52px; display: inline-flex; justify-content: center; align-items: center; gap: 27px; border-radius: 9px; font-weight: 500; font-size: 13px; padding: 15px 22px; transition: background-color .16s, transform .16s; }
.button .icon { width: 18px; height: 18px; }
.button:hover { transform: translateY(-1px); }
.button:active { transform: translateY(1px); }
.button.primary { background: var(--accent); color: #fff; }
.button.primary:hover { background: #c90f1b; }
.button.secondary { border: 1px solid #e0e0e0; background: transparent; gap: 9px; color: #696969; }
.button.secondary .icon { width: 16px; }
.button.secondary:hover { background: #e0e0e0; }
.button.light { color: #323232; background: #f4f4f4; }
.button.light:hover { background: #e0e0e0; }
.hero-action > span { font-size: 10px; color: #696969; display: flex; align-items: center; gap: 7px; }
.hero-action > span .icon { height: 13px; width: 13px; }
.example-link { margin-top: 25px; min-height: 44px; font-size: 11px; padding: 3px 0; color: #696969; display: flex; align-items: center; gap: 12px; }
.example-link .icon { width: 15px; height: 15px; }
.example-link:hover { color: var(--accent); }
.life-visual { min-height: 434px; aspect-ratio: .95; width: 100%; border: 1px solid #e0e0e0; border-radius: 26px; background: #e0e0e0; position: relative; overflow: hidden; }
.visual-grid { position: absolute; inset: 0; opacity: .4; background-image: linear-gradient(#e0e0e0 1px, transparent 1px), linear-gradient(90deg, #e0e0e0 1px, transparent 1px); background-size: 38px 38px; mask-image: radial-gradient(circle, black, transparent 80%); }
.visual-top-label { position: absolute; left: 25px; top: 23px; font-size: 8px; letter-spacing: 1.6px; color: #696969; }
.orbit-illustration { position: absolute; width: 110%; height: auto; top: 0; left: -5%; }
.orbit-tag { position: absolute; background: #f4f4f4; border: 1px solid #e0e0e0; display: flex; gap: 8px; align-items: center; padding: 11px 14px; border-radius: 7px; font-size: 10px; color: #5a5a5a; box-shadow: 0 5px 16px #38383810; }
.orbit-tag .icon { width: 15px; height: 15px; }
.tag-health { left: 6%; top: 25%; transform: rotate(-5deg); }
.tag-freedom { right: 5%; top: 45%; transform: rotate(5deg); }
.tag-people { left: 8%; top: 64%; transform: rotate(-3deg); }
.visual-note { position: absolute; bottom: 21px; left: 20px; right: 20px; background: #f4f4f4; border: 1px solid #e0e0e0; border-radius: 10px; padding: 16px 13px; display: flex; align-items: center; gap: 11px; }
.note-spark { display: flex; width: 30px; height: 30px; color: var(--accent); background: #e0e0e0; border-radius: 50%; align-items: center; justify-content: center; }
.note-spark .icon { width: 17px; height: 17px; }
.visual-note strong { font-weight: 500; font-size: 10px; display: block; }
.visual-note div > span { font-size: 9px; color: #696969; margin-top: 5px; display: block; }
.welcome-divider { display: flex; justify-content: space-between; align-items: center; padding: 24px 0; border-top: 1px solid var(--line); gap: 16px; font-size: 8px; font-weight: 500; letter-spacing: .9px; color: #696969; }
.welcome-divider > span:last-child { font-size: 7px; letter-spacing: .5px; display: flex; align-items: center; gap: 12px; }
.welcome-divider .icon { width: 13px; height: 13px; }
.benefit-grid { display: grid; grid-template-columns: repeat(3, 1fr); padding: 5px 0 25px; gap: 26px; }
.benefit-grid article { display: flex; align-items: flex-start; gap: 13px; }
.benefit-icon { display: flex; width: 32px; height: 34px; align-items: center; justify-content: center; color: #676767; flex-shrink: 0; }
.benefit-icon .icon { width: 23px; height: 23px; stroke-width: 1.4; }
.benefit-grid h2 { font-size: 11px; font-weight: 550; margin: 3px 0 9px; }
.benefit-grid p { color: #696969; font-size: 10px; line-height: 1.9; }
.step-intro { max-width: 710px; margin-bottom: 28px; }
.step-intro h1, .results-intro h1, .loading-screen h1 { font-size: clamp(32px, 3.3vw, 53px); font-weight: 500; line-height: 1.18; letter-spacing: -.05em; margin-top: 18px; }
.step-intro > p { color: #696969; line-height: 1.9; font-size: 13px; margin-top: 19px; max-width: 620px; }
.sphere-tabs { display: flex; gap: 9px; margin-bottom: 22px; overflow-x: auto; padding: 3px 3px 7px; margin-left: -3px; }
.sphere-tab { display: flex; flex: 1; justify-content: center; align-items: center; gap: 7px; border-radius: 8px; padding: 11px 10px; min-height: 44px; border: 1px solid #e0e0e0; color: #696969; font-size: 10px; white-space: nowrap; }
.sphere-tab .icon { width: 15px; height: 15px; }
.sphere-tab.selected { background: #e0e0e0; border-color: #cbcbcb; color: #c90f1b; }
.sphere-tab:disabled { color: #696969; border-color: #e0e0e0; }
.sphere-tab.done { background: #e0e0e0; }
.form-card { padding: 29px 32px; background: var(--surface); border: 1px solid #e0e0e0; border-radius: var(--radius); min-width: 0; }
.card-topline { display: flex; align-items: center; gap: 12px; font-size: 9px; letter-spacing: 1px; color: #696969; margin-bottom: 20px; }
.section-icon { width: 32px; height: 32px; background: color-mix(in srgb, var(--sphere-color) 14%, white); color: var(--sphere-color); display: flex; align-items: center; justify-content: center; border-radius: 8px; }
.section-icon .icon { width: 19px; height: 19px; }
.right-caption { margin-left: auto; color: #696969; font-weight: 500; letter-spacing: 0; font-size: 12px; }
.form-card h2, .result-card h2 { font-size: 19px; line-height: 1.5; font-weight: 500; letter-spacing: -.45px; }
.supporting { color: #696969; line-height: 1.8; font-size: 12px; }
.form-card > .supporting { margin-top: 7px; }
.field-label { font-size: 11px; color: #5c5c5c; font-weight: 500; display: block; margin-bottom: 9px; line-height: 1.4; }
.form-card > .field-label { margin-top: 26px; }
.field { width: 100%; background: #f4f4f4; border: 1px solid #e0e0e0; border-radius: 7px; min-height: 47px; padding: 12px 13px; color: #333333; font-size: 16px; font-weight: 400; }
.field::placeholder { color: #696969; font-size: 13px; }
.field:hover { border-color: #bdbdbd; }
.reflection { min-height: 105px; resize: vertical; line-height: 1.65; font-size: 14px; padding: 14px; }
.reflection::placeholder { font-size: 12px; }
.section-divider { height: 1px; background: var(--line); margin: 26px 0; }
.section-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.section-heading h3 { font-size: 13px; font-weight: 550; }
.section-heading p { font-size: 10px; color: #696969; line-height: 1.7; margin-top: 6px; }
.mini-label { color: #696969; font-size: 9px; font-weight: 500; letter-spacing: .7px; white-space: nowrap; }
.goal-row { position: relative; display: grid; grid-template-columns: minmax(100px, 1.7fr) minmax(100px, 1fr) minmax(70px, .6fr); gap: 12px; padding-top: 19px; }
.delete-goal { position: absolute; right: -30px; top: 42px; width: 30px !important; }
.icon-button { min-width: 44px; min-height: 44px; display: flex; align-items: center; justify-content: center; border-radius: 7px; color: #696969; }
.icon-button:hover { color: var(--accent); background: var(--soft-red); }
.icon-button .icon { width: 18px; height: 18px; }
.card-bottom { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 15px; }
.card-bottom > span { display: flex; align-items: flex-end; gap: 12px; color: #696969; font-size: 10px; }
.card-bottom strong { font-size: 13px; font-weight: 500; color: var(--ink); }
.card-bottom .text-button { font-size: 11px; }
.card-bottom .text-button .icon { width: 15px; height: 15px; }
.step-actions { display: flex; align-items: center; gap: 16px; margin-top: 25px; }
.step-actions > .button:last-child { margin-left: auto; }
.autosave { font-size: 9px; color: #696969; display: flex; align-items: center; gap: 6px; }
.autosave .icon { width: 12px; height: 12px; }
.form-error { padding: 14px 17px; color: #c90f1b; border: 1px solid #bdbdbd; background: #f4f4f4; border-radius: 8px; line-height: 1.7; font-size: 12px; margin-top: 20px; }
[hidden] { display: none !important; }
.currency-select select { padding: 8px 10px; min-height: 44px; font-size: 12px; border: 1px solid #e0e0e0; color: #696969; background: #f4f4f4; border-radius: 6px; }
.expense-header, .expense-row { display: grid; grid-template-columns: 1.5fr 1fr .65fr; gap: 18px; align-items: center; }
.expense-header { font-size: 10px; color: #696969; padding: 26px 0 11px; }
.expense-row { padding: 11px 0; border-top: 1px solid #e0e0e0; }
.expense-row > label { font-size: 12px; }
.expense-row .field { min-height: 44px; padding: 10px 13px; }
.total-line { border-top: 1px solid var(--line); margin-top: 20px; padding-top: 20px; display: flex; justify-content: space-between; gap: 15px; align-items: center; font-size: 12px; color: #686868; }
.total-line strong { font-size: 19px; font-weight: 500; letter-spacing: -.5px; color: var(--ink); }
.finance-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 20px; }
.finance-grid .form-card { padding: 26px; }
.finance-grid .form-card h2 { font-size: 15px; }
.big-label { margin-top: 25px; }
.big-label .field { margin-top: 10px; }
.optional { font-weight: 400; font-size: 9px; color: #696969; display: inline-block; }
.field-hint { color: #696969; font-size: 10px; line-height: 1.7; margin-top: -1px; }
.summary-card { align-self: start; background: #e0e0e0; border: 1px solid #e0e0e0; padding: 27px 25px; border-radius: var(--radius); }
.summary-number { display: block; font-size: clamp(24px, 2.4vw, 40px); letter-spacing: -1.8px; font-weight: 500; margin-top: 25px; white-space: nowrap; }
.summary-card > .supporting { display: block; font-size: 10px; margin-top: 7px; margin-bottom: 25px; }
.summary-row { border-top: 1px solid #e0e0e0; padding: 16px 0; display: flex; justify-content: space-between; font-size: 10px; gap: 15px; color: #696969; }
.summary-row strong { font-weight: 500; color: #404040; }
.summary-foot { display: flex; align-items: flex-start; gap: 8px; font-size: 10px; line-height: 1.7; margin-top: 14px; color: #696969; }
.summary-foot .icon { width: 15px; height: 15px; margin-top: 2px; }
.attention-layout { display: grid; grid-template-columns: minmax(0, 1fr) 255px; align-items: start; gap: 22px; }
.attention-layout .form-card { padding: 28px; }
.attention-layout .form-card h2 { font-size: 17px; }
.range-row { padding: 22px 0 15px; border-bottom: 1px solid #e0e0e0; }
.range-row:last-of-type { border: 0; }
.range-heading { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 12px; }
.range-heading > label { display: flex; align-items: center; gap: 9px; font-size: 12px; }
.range-heading > label .icon { width: 17px; height: 17px; color: #696969; }
.range-number { display: flex; align-items: center; gap: 8px; }
.range-number > span { font-size: 9px; color: #696969; }
.compact-number { width: 65px; min-height: 44px; padding: 7px 5px; text-align: center; background: #f4f4f4; border-color: #e0e0e0; font-size: 15px; -moz-appearance: textfield; }
.compact-number::-webkit-inner-spin-button { -webkit-appearance: none; }
.range { --fill: 0%; appearance: none; -webkit-appearance: none; width: 100%; height: 44px; cursor: pointer; margin: 0; background: transparent; }
.range::-webkit-slider-runnable-track { height: 4px; background: linear-gradient(to right, #696969 var(--fill), #e0e0e0 var(--fill)); border-radius: 4px; }
.range::-moz-range-track { height: 4px; background: #e0e0e0; border-radius: 4px; }
.range::-moz-range-progress { height: 4px; background: #696969; }
.range::-webkit-slider-thumb { appearance: none; -webkit-appearance: none; margin-top: -7px; background: #f4f4f4; width: 18px; height: 18px; border: 4px solid #696969; border-radius: 50%; box-shadow: 0 2px 3px #4c4c4c15; }
.range::-moz-range-thumb { background: #f4f4f4; width: 11px; height: 11px; border: 4px solid #696969; border-radius: 50%; }
.range:focus-visible { outline-offset: 3px; border-radius: 5px; }
.range-extremes { display: flex; justify-content: space-between; color: #696969; font-size: 8px; }
.resource-card { position: sticky; top: 25px; border-radius: var(--radius); padding: 27px 23px; background: #e0e0e0; border: 1px solid #e0e0e0; }
.resource-number { font-size: 33px; letter-spacing: -1.4px; font-weight: 500; margin-top: 20px; }
.resource-number > span { font-size: 12px; font-weight: 400; letter-spacing: -.3px; }
.resource-card p { font-size: 10px; color: #696969; line-height: 1.9; margin-top: 13px; }
.mini-resource-bar { display: flex; height: 8px; overflow: hidden; border-radius: 5px; background: #e0e0e0; gap: 2px; margin-top: 27px; }
.resource-legend { display: flex; flex-direction: column; gap: 15px; margin-top: 23px; }
.resource-legend > span { display: flex; align-items: center; gap: 8px; color: #676767; font-size: 10px; }
.resource-legend strong { margin-left: auto; color: #4a4a4a; font-weight: 500; }
.dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; flex-shrink: 0; }
.base-dot { background: #acacac; }.work-dot { background: #c90f1b; }.life-dot { background: #a6a6a6; }.reserve-dot { background: #e0e0e0; border: 1px solid #c7c7c7; }
.resource-status { margin-top: 26px; padding-top: 20px; border-top: 1px solid #e0e0e0; display: flex; align-items: flex-start; gap: 10px; color: #666666; }
.resource-status .icon { width: 17px; height: 17px; margin-top: 3px; }
.resource-status > span { font-size: 10px; }
.resource-status strong { display: block; font-size: 21px; font-weight: 500; letter-spacing: -.5px; margin-top: 7px; }
.resource-status.over { color: #c90f1b; }
.project-block { margin: 25px 0; border-bottom: 1px solid #e0e0e0; padding-bottom: 23px; }
.project-title { display: flex; align-items: center; gap: 7px; }
.project-title .field { background: #f4f4f4; }
.project-numbers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 18px; }
.project-numbers .field-label { font-size: 10px; }
.project-total { display: block; text-align: right; color: #696969; font-size: 11px; margin-top: 15px; }
.inline-note { color: #696969; background: #f4f4f4; border: 1px solid #e0e0e0; border-radius: 9px; font-size: 10px; display: flex; gap: 10px; align-items: flex-start; padding: 15px; line-height: 1.9; margin-top: 16px; }
.inline-note .icon { width: 15px; height: 15px; margin-top: 3px; }
.group-label { font-size: 9px; color: #696969; font-weight: 500; letter-spacing: 1.2px; margin: 31px 0 0; }
.loading-screen { min-height: 640px; display: flex; align-items: center; flex-direction: column; justify-content: center; text-align: center; padding: 30px 0 60px; }
.loading-screen h1 { font-size: clamp(28px, 3vw, 44px); margin: 18px 0 22px; }
.loading-screen > p { color: #696969; line-height: 1.9; font-size: 13px; }
.loading-screen > .eyebrow { margin-top: 30px; }
.loading-orbit { width: 155px; height: 155px; position: relative; display: flex; justify-content: center; align-items: center; }
.loading-orbit > span { position: absolute; border: 1px solid #c9c9c9; width: 145px; height: 145px; border-radius: 50%; animation: orbit-spin 8s linear infinite; }
.loading-orbit > span::after { content: ''; position: absolute; top: 9px; left: 20px; width: 9px; height: 9px; background: var(--accent-bright); border-radius: 50%; }
.loading-orbit > span:nth-child(2) { width: 111px; height: 111px; animation-direction: reverse; animation-duration: 6s; }
.loading-orbit > span:nth-child(2)::after { background: #a0a0a0; width: 6px; height: 6px; }
.loading-orbit > span:nth-child(3) { width: 78px; height: 78px; border-style: dashed; animation: none; }
.loading-orbit > span:nth-child(3)::after { display: none; }
.loading-orbit > div { width: 54px; height: 54px; display: flex; align-items: center; justify-content: center; color: var(--accent); background: #e0e0e0; border-radius: 50%; }
.loading-orbit > div .icon { width: 26px; height: 26px; }
.analysis-checklist { list-style: none; padding: 0; margin: 29px 0 24px; display: flex; flex-direction: column; gap: 16px; text-align: left; }
.analysis-checklist > li { display: flex; align-items: center; gap: 10px; color: #696969; font-size: 11px; }
.analysis-checklist > li.done { color: #676767; }
.analysis-checklist .icon { width: 15px; height: 15px; }
.demo-disclosure { font-size: 9px; color: #696969; line-height: 1.8; display: block; }
.loading-screen > .text-button { margin-top: 14px; color: #696969; font-size: 10px; }
.results-topline { display: flex; justify-content: space-between; gap: 20px; align-items: center; margin-top: -10px; }
.results-topline .text-button { font-size: 10px; color: #696969; }
.results-topline .icon { width: 15px; height: 15px; }
.results-intro { margin: 23px 0 30px; }
.result-status { display: inline-flex; gap: 7px; align-items: center; color: #696969; font-size: 8px; letter-spacing: 1px; }
.result-status > span { width: 5px; height: 5px; background: #696969; border-radius: 50%; }
.results-intro h1 { margin-top: 15px; font-size: clamp(30px, 3.2vw, 50px); }
.results-intro p { margin-top: 18px; font-size: 12px; color: #696969; line-height: 1.9; }
.result-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 19px; margin-bottom: 24px; }
.result-card { border: 1px solid #e0e0e0; padding: 25px; background: var(--surface); border-radius: var(--radius); min-width: 0; }
.result-card h2 { display: flex; gap: 10px; align-items: center; font-size: 15px; }
.result-card h2 .icon { width: 17px; height: 17px; color: #696969; }
.result-card .mini-label { font-size: 8px; }
.time-chart { display: flex; align-items: center; gap: 10px; margin: 10px -10px 0; }
.result-donut { width: 53%; min-width: 150px; max-width: 240px; }
.donut-number { font: 500 29px 'SFProDisplay', sans-serif; letter-spacing: -1.2px; fill: #353535; }
.donut-caption { font: 400 8px 'SFProDisplay', sans-serif; fill: #696969; }
.chart-legend { display: flex; flex-direction: column; gap: 17px; flex: 1; }
.chart-legend > div { display: grid; grid-template-columns: 7px 1fr; align-items: center; column-gap: 7px; row-gap: 5px; }
.chart-legend > div > span { font-size: 9px; color: #696969; }
.chart-legend strong { font-size: 12px; font-weight: 500; grid-column: 2; }
.chart-takeaway { border-top: 1px solid var(--line); padding-top: 14px; margin-top: 2px; display: flex; align-items: center; gap: 8px; font-size: 10px; color: #696969; line-height: 1.7; }
.chart-takeaway .icon { width: 15px; height: 15px; }
.chart-takeaway.is-warning { color: #c90f1b; }
.chart-footnote { font-size: 9px; color: #696969; line-height: 1.7; display: block; margin-top: 10px; }
.money-chart { margin-top: 34px; }
.money-bar-label { display: flex; justify-content: space-between; align-items: center; font-size: 10px; gap: 8px; color: #696969; }
.money-bar-label > strong { font-size: 13px; font-weight: 500; color: #3f3f3f; white-space: nowrap; }
.money-track { border-radius: 3px; background: #e0e0e0; height: 7px; margin: 10px 0 24px; }
.money-track > i { display: block; height: 7px; min-width: 0; border-radius: 3px; background: #c90f1b; }
.money-track.current > i { background: #b3b3b3; }
.gap-number { margin-top: 25px; padding-top: 20px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 10px; }
.gap-number > span { font-size: 10px; color: #696969; }
.gap-number > strong { font-size: 32px; font-weight: 500; color: var(--accent); letter-spacing: -1.5px; }
.gap-number small { font-size: 10px; font-weight: 400; color: #696969; letter-spacing: 0; margin-left: 9px; }
.analysis-card { background: #f4f4f4; border: 1px solid #e0e0e0; border-radius: var(--radius); padding: 29px 31px; }
.analysis-header { display: flex; align-items: center; gap: 13px; }
.analysis-header > div { flex: 1; min-width: 0; }
.agent-avatar { width: 41px; height: 41px; border-radius: 13px; color: var(--accent); background: #e0e0e0; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.analysis-header h2 { font-size: 18px; letter-spacing: -.5px; font-weight: 500; margin-bottom: 6px; }
.analysis-header > div > span { font-size: 9px; color: #696969; line-height: 1.6; display: block; }
.analysis-badge { margin-left: auto; color: #696969; font-size: 8px; letter-spacing: .5px; border: 1px solid #e0e0e0; border-radius: 5px; padding: 7px 10px; white-space: nowrap; }
.insights { display: flex; flex-direction: column; margin-top: 15px; }
.insights > article { display: flex; align-items: flex-start; gap: 17px; padding: 24px 0; border-bottom: 1px solid #e0e0e0; }
.insights > article:last-child { border-bottom: 0; padding-bottom: 15px; }
.insight-num { font-size: 11px; font-weight: 450; color: var(--accent); padding-top: 2px; }
.insights h3 { font-size: 13px; font-weight: 550; line-height: 1.6; }
.insights p { color: #696969; font-size: 11px; line-height: 2; margin-top: 8px; max-width: 730px; }
.analysis-disclosure { display: flex; align-items: flex-start; gap: 8px; font-size: 9px; line-height: 1.8; color: #696969; background: #f4f4f4; border-radius: 7px; padding: 12px 14px; margin-top: 13px; }
.analysis-disclosure .icon { width: 13px; height: 13px; margin-top: 2px; }
.detail-breakdown { margin: 16px 0 25px; padding: 5px 0; }
.detail-breakdown summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 15px; padding: 15px 5px; min-height: 48px; font-size: 11px; color: #696969; }
.detail-breakdown summary::-webkit-details-marker { display: none; }
.detail-breakdown summary .icon { width: 16px; height: 16px; }
.detail-breakdown[open] summary .icon { transform: rotate(45deg); }
.breakdown-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 14px; }
.breakdown-grid > div { background: #e0e0e0; padding: 18px; border-radius: 12px; }
.breakdown-grid > div > span { display: flex; align-items: center; gap: 8px; font-size: 10px; color: #696969; }
.breakdown-grid .icon { width: 15px; height: 15px; }
.breakdown-grid strong { font-size: 16px; font-weight: 500; margin-top: 13px; display: block; }
.breakdown-grid small { font-size: 8px; color: #696969; font-weight: 400; margin-left: 5px; }
.breakdown-grid p { font-size: 10px; color: #696969; margin-top: 13px; line-height: 1.8; overflow-wrap: anywhere; }
.detail-breakdown > p { font-size: 10px; color: #696969; line-height: 1.9; margin: 18px 5px; }
.cta-card { position: relative; display: flex; gap: 24px; justify-content: space-between; align-items: center; padding: 35px 32px; color: #f4f4f4; background: #313131; border-radius: var(--radius); overflow: hidden; }
.cta-orbit { position: absolute; border: 1px solid #616161; border-radius: 50%; width: 360px; height: 360px; right: -90px; top: -100px; opacity: .55; }
.cta-orbit::after { content: ''; position: absolute; width: 270px; height: 270px; border: 1px dashed #616161; border-radius: 50%; top: 44px; left: 44px; }
.cta-content, .cta-actions { position: relative; z-index: 1; }
.cta-content > .eyebrow { font-size: 8px; color: #bababa; letter-spacing: 1px; }
.cta-content h2 { font-size: 30px; line-height: 1.25; font-weight: 450; letter-spacing: -1.1px; margin-top: 14px; }
.cta-content h2 > span { color: #bebebe; }
.cta-content p { font-size: 10px; color: #c6c6c6; line-height: 1.9; margin-top: 17px; }
.cta-actions { flex-shrink: 0; }
.cta-actions .button { font-size: 11px; gap: 15px; }
.cta-actions > span { display: block; font-size: 8px; color: #c0c0c0; text-align: center; margin-top: 13px; }
.result-bottom { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 20px; }
.result-bottom .text-button { font-size: 10px; color: #696969; }
.result-bottom .icon { width: 13px; height: 13px; }
.result-bottom > span { font-size: 8px; color: #696969; display: flex; align-items: center; gap: 5px; }
.error-symbol { height: 65px; width: 65px; background: #e0e0e0; color: var(--accent); border: 1px solid #d1d1d1; border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.error-symbol .icon { width: 28px; height: 28px; }
.loading-screen > .button { margin-top: 28px; }
.loading-screen > .demo-disclosure:last-child { margin-top: 24px; }
dialog { padding: 35px; border: 1px solid #e0e0e0; border-radius: 22px; background: #f4f4f4; color: var(--ink); width: min(610px, calc(100% - 28px)); max-height: 89dvh; overflow-y: auto; box-shadow: 0 30px 120px #1e1e1e30; }
dialog::backdrop { background: #2a2a2a99; }
.dialog-close { position: absolute; right: 14px; top: 12px; }
dialog > .eyebrow { margin-top: 10px; padding-right: 20px; }
dialog h2 { margin: 15px 0 17px; font-size: 30px; font-weight: 500; letter-spacing: -1.2px; line-height: 1.3; }
dialog > p { color: #696969; font-size: 12px; line-height: 1.9; margin-top: 15px; }
.screen-map { display: flex; flex-direction: column; gap: 7px; margin-top: 25px; }
.screen-map > button { width: 100%; min-height: 64px; border: 1px solid #e0e0e0; border-radius: 8px; padding: 12px; display: flex; align-items: center; gap: 14px; text-align: left; }
.screen-map > button:hover { background: #e0e0e0; border-color: #c0c0c0; }
.screen-map > button > span { font-size: 10px; color: #c90f1b; }
.screen-map strong { font-weight: 500; font-size: 12px; display: block; }
.screen-map small { color: #696969; font-size: 10px; display: block; margin-top: 6px; line-height: 1.6; }
.screen-map .icon { margin-left: auto; width: 16px; height: 16px; color: #696969; }
.contact-icon { width: 48px; height: 48px; display: flex; align-items: center; justify-content: center; background: #e0e0e0; color: #696969; border-radius: 14px; margin-bottom: 24px; }
.contact-icon .icon { width: 25px; height: 25px; }
.contact-outcomes { list-style: none; padding: 0; margin: 26px 0; display: flex; flex-direction: column; gap: 18px; }
.contact-outcomes li { display: flex; align-items: center; gap: 13px; font-size: 11px; line-height: 1.7; }
.contact-outcomes span { color: var(--accent); font-size: 10px; }
.contact-draft { padding: 20px; border-radius: 10px; background: #f4f4f4; border: 1px solid #e0e0e0; margin-bottom: 20px; }
.contact-draft p { font-size: 12px; line-height: 1.9; color: #616161; }
.contact-draft .field-label { font-size: 9px; letter-spacing: .3px; color: #696969; }
.full-width { width: 100%; }
dialog > p.prototype-note { font-size: 10px; color: #696969; margin-top: 17px; }
.toast { position: fixed; bottom: 24px; left: 50%; transform: translate(-50%, 10px); background: #313131; color: #f4f4f4; padding: 14px 20px; border: 1px solid #5e5e5e; box-shadow: 0 8px 30px #31313120; border-radius: 9px; font-size: 12px; line-height: 1.7; opacity: 0; pointer-events: none; z-index: 10; transition: .2s ease; max-width: calc(100vw - 32px); width: max-content; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
@keyframes arrive { from { opacity: 0; transform: translateY(5px); } to { opacity: 1; transform: translateY(0); } }
@keyframes orbit-spin { to { transform: rotate(360deg); } }
@media (min-width: 1600px) { .welcome-main { gap: 60px; min-height: 565px; }.hero-description { font-size: 16px; max-width: 420px; }.life-visual { max-height: 550px; }.benefit-grid h2 { font-size: 13px; }.benefit-grid p { font-size: 12px; } }
@media (max-width: 1250px) {
  .workspace { grid-template-columns: 195px minmax(0, 1fr); gap: 28px; }.sidebar { padding-right: 20px; }.route-item { gap: 10px; }.route-item strong { font-size: 10px; }.route-item > div > span { font-size: 9px; }.route-heading { font-size: 8px; }.sidebar-bottom > span { font-size: 6px; }
  .welcome-main { grid-template-columns: minmax(0, 1fr) minmax(270px, .9fr); gap: 20px; }.hero-copy h1 { font-size: 3.7vw; }.life-visual { min-height: 390px; }.visual-note strong { font-size: 9px; }.visual-note { left: 14px; right: 14px; padding: 14px 10px; }.visual-note div > span { font-size: 8px; }.tag-health { left: 4%; }.tag-freedom { right: 4%; }.orbit-tag { font-size: 9px; padding: 9px 10px; }
  .attention-layout { grid-template-columns: minmax(0, 1fr) 220px; gap: 16px; }.form-card { padding: 25px; }.attention-layout .form-card { padding: 23px; }.resource-card { padding: 24px 18px; }.range-heading > label { font-size: 11px; }.range-number > span { font-size: 8px; }.range-heading { gap: 7px; }.range-number { gap: 6px; }.range-heading > label .icon { width: 14px; height: 14px; }.compact-number { width: 54px; }
  .result-card { padding: 22px; }.result-grid { grid-template-columns: 1.1fr 1fr; gap: 16px; }.result-card h2 { font-size: 12px; gap: 7px; }.result-card .mini-label { font-size: 7px; }.gap-number > strong { font-size: 28px; }.chart-legend > div > span { font-size: 8px; }.money-bar-label { font-size: 9px; }.money-bar-label > strong { font-size: 11px; }.cta-card { padding: 29px 25px; }.cta-content h2 { font-size: 26px; }.cta-content p { font-size: 9px; }.cta-actions .button { padding: 14px; font-size: 10px; gap: 10px; }.cta-actions > span { font-size: 7px; }
  .autosave { display: none; }.summary-number { font-size: 30px; }.benefit-grid { gap: 15px; }.benefit-grid article { gap: 8px; }.benefit-grid h2 { font-size: 10px; }.benefit-grid p { font-size: 9px; }.welcome-divider > span:last-child { display: none; }
}
@media (max-width: 1030px) {
  .workspace { grid-template-columns: minmax(0, 1fr); max-width: 920px; padding: 0 28px; }.sidebar { display: none; }.topbar { padding: 0 28px; min-height: 83px; }.screen { min-height: calc(100vh - 156px); padding-top: 35px; }.welcome-main { grid-template-columns: minmax(0, 1.15fr) minmax(290px, .95fr); gap: 30px; }.hero-copy h1 { font-size: 44px; }.hero-description { font-size: 13px; }.life-visual { min-height: 415px; }
  .benefit-grid h2 { font-size: 11px; }.benefit-grid p { font-size: 10px; }.mobile-progress { display: flex; align-items: center; justify-content: space-between; position: relative; margin-top: 25px; padding-bottom: 14px; color: #696969; font-size: 10px; }.mobile-progress > div { position: absolute; bottom: 0; left: 0; height: 3px; width: 100%; border-radius: 3px; overflow: hidden; background: #e0e0e0; }.mobile-progress i { display: block; height: 3px; background: var(--accent); }
  .attention-layout { grid-template-columns: minmax(0, 1fr) 250px; }.range-heading > label { font-size: 12px; }.result-card h2 { font-size: 14px; }.result-card .mini-label { font-size: 8px; }.cta-actions .button { padding: 15px 18px; }.cta-content h2 { font-size: 29px; }.cta-content p { font-size: 10px; }
}
@media (max-width: 700px) {
  .topbar { min-height: 73px; padding: 0 20px; gap: 12px; }.brand { gap: 13px; }.brand-mark { font-size: 36px; letter-spacing: -3px; }.brand-caption { font-size: 10px; max-width: 95px; line-height: 1.5; }.brand-rule { height: 23px; }.header-actions { gap: 10px; }.prototype-label { font-size: 9px; }.map-button { padding: 8px; border: 0; }.map-button span { display: none; }.map-button .icon { width: 18px; height: 18px; }
  .workspace { padding: 0 20px; }.screen { padding: 29px 0 24px; }.site-footer { font-size: 8px; gap: 10px; min-height: 68px; align-items: center; }.site-footer > span { max-width: 180px; line-height: 1.8; }.site-footer button { font-size: 9px; white-space: nowrap; }.example-banner { padding: 10px 20px; font-size: 9px; align-items: flex-start; flex-direction: column; gap: 3px; }.example-banner > button { align-self: flex-end; min-height: 32px; font-size: 9px; }
  .eyebrow { font-size: 8px; letter-spacing: 1.2px; }.hero-copy { padding: 0; }.welcome-main { display: flex; flex-direction: column; gap: 30px; padding-top: 3px; padding-bottom: 25px; align-items: stretch; }.hero-copy h1 { font-size: clamp(35px, 7vw, 49px); line-height: 1.2; margin-top: 22px; margin-bottom: 26px; }.accent-word svg { bottom: -10px; height: 11px; }.hero-description { font-size: 13px; line-height: 1.9; max-width: 410px; }.hero-action { margin-top: 25px; gap: 12px; }.hero-action > .button { width: 100%; justify-content: space-between; min-height: 54px; }.hero-action > span { align-self: center; font-size: 9px; }.example-link { margin-top: 15px; align-self: center; width: 100%; justify-content: center; font-size: 10px; }
  .life-visual { min-height: 0; aspect-ratio: 1.18; border-radius: 20px; max-height: 410px; }.orbit-illustration { width: 89%; left: 5.5%; top: -13%; }.visual-top-label { top: 20px; left: 20px; font-size: 7px; }.tag-health { left: 6%; top: 23%; }.tag-freedom { right: 6%; top: 43%; }.tag-people { top: 60%; left: 9%; }.visual-note { bottom: 17px; padding: 13px; left: 16px; right: 16px; }.visual-note strong { font-size: 10px; }.visual-note div > span { font-size: 9px; }.visual-note .note-spark { height: 28px; width: 28px; }
  .welcome-divider { padding: 20px 0; font-size: 7px; letter-spacing: .7px; }.benefit-grid { grid-template-columns: 1fr; padding: 5px 0 10px; gap: 22px; }.benefit-grid article { gap: 14px; align-items: center; }.benefit-grid h2 { font-size: 12px; margin-top: 0; margin-bottom: 6px; }.benefit-grid p { font-size: 11px; }.benefit-icon { background: #e0e0e0; height: 42px; width: 42px; border-radius: 10px; }.benefit-icon .icon { width: 21px; height: 21px; }.desktop-br { display: none; }
  .step-intro { margin-bottom: 23px; }.step-intro h1 { font-size: 35px; margin-top: 16px; }.step-intro > p { margin-top: 16px; font-size: 12px; line-height: 1.85; }.sphere-tabs { gap: 7px; margin-bottom: 16px; }.sphere-tab { flex: 0 0 auto; padding: 10px 12px; font-size: 10px; }.sphere-tab .icon { width: 14px; height: 14px; }
  .form-card { padding: 23px 20px; border-radius: 16px; }.card-topline { font-size: 8px; letter-spacing: .8px; gap: 9px; margin-bottom: 18px; }.right-caption { font-size: 10px; }.form-card h2 { font-size: 18px; line-height: 1.45; }.supporting { font-size: 11px; }.form-card > .field-label { margin-top: 23px; }.reflection { min-height: 120px; font-size: 15px; }.reflection::placeholder { font-size: 12px; }.section-divider { margin: 24px 0; }.section-heading h3 { font-size: 12px; }.section-heading p { font-size: 9px; }
  .goal-row { grid-template-columns: 1.5fr 1fr; gap: 15px 12px; padding-top: 22px; }.goal-row > label:first-child { grid-column: 1 / -1; padding-right: 0; }.goal-row > label:first-child .field { font-size: 15px; }.delete-goal { right: -13px; top: 20px; background: var(--surface); }.goal-row:has(.delete-goal) > label:first-child > .field-label { padding-right: 18px; }.field { padding: 12px; }.field-label { font-size: 10px; }.card-bottom { flex-direction: column; align-items: stretch; gap: 7px; margin-top: 15px; }.card-bottom > .text-button { justify-content: flex-start; }.card-bottom > span { border-top: 1px solid var(--line); padding-top: 18px; justify-content: space-between; font-size: 10px; }.card-bottom strong { font-size: 14px; }
  .step-actions { flex-wrap: wrap; gap: 12px; margin-top: 22px; }.step-actions .button { font-size: 11px; gap: 10px; padding: 14px 16px; min-height: 50px; }.step-actions > .button.primary { flex: 1; justify-content: space-between; }.step-actions > .button.secondary { flex: 0; }.autosave { display: none; }.expense-header, .expense-row { gap: 10px; grid-template-columns: 1.1fr 1fr .7fr; }.expense-header { font-size: 8px; padding-top: 21px; }.expense-row > label { font-size: 10px; line-height: 1.7; }.expense-row .field { padding: 10px 8px; }.total-line { font-size: 10px; }.total-line strong { font-size: 17px; white-space: nowrap; }
  .finance-grid { grid-template-columns: 1fr; gap: 18px; }.finance-grid .form-card { padding: 23px 20px; }.summary-card { padding: 24px; }.summary-number { font-size: 38px; margin-top: 20px; }.summary-card > .supporting { font-size: 11px; }.summary-row { font-size: 11px; }.summary-foot { font-size: 11px; }.big-label { font-size: 11px; }.optional { font-size: 9px; }.field-hint { font-size: 10px; }
  .attention-layout { display: flex; flex-direction: column; gap: 18px; }.attention-layout > * { width: 100%; }.attention-layout .form-card { padding: 24px 20px; }.attention-layout .form-card h2 { font-size: 17px; }.attention-layout .mini-label { font-size: 8px; }.range-heading > label { font-size: 12px; gap: 8px; }.range-heading > label .icon { width: 16px; height: 16px; }.range-heading { gap: 8px; }.range-number { gap: 7px; }.range-number > span { font-size: 8px; }.compact-number { width: 52px; min-height: 44px; }.range-row { padding-top: 18px; padding-bottom: 16px; }.range { height: 32px; }.range-extremes { font-size: 8px; }
  .resource-card { position: static; display: grid; grid-template-columns: 1fr 1.2fr; gap: 14px 22px; padding: 22px; border-radius: 16px; }.resource-card > div:first-child { grid-row: 1 / 3; }.resource-number { margin-top: 12px; font-size: 29px; }.resource-number > span { font-size: 10px; }.resource-card .eyebrow { font-size: 7px; letter-spacing: .7px; }.resource-card p { font-size: 9px; line-height: 1.9; margin-top: 10px; }.mini-resource-bar { margin-top: 4px; height: 7px; }.resource-legend { margin-top: 0; gap: 11px; }.resource-legend > span { font-size: 9px; }.resource-status { grid-column: 1 / -1; margin-top: 0; padding-top: 14px; align-items: center; }.resource-status > span { display: flex; align-items: center; justify-content: space-between; flex: 1; font-size: 10px; }.resource-status strong { display: inline; margin-top: 0; font-size: 20px; }.resource-status .icon { margin-top: 0; }
  .project-numbers { gap: 9px; }.project-numbers .field-label { font-size: 9px; }.project-numbers input { padding: 12px 8px; }.project-title input { font-size: 14px; }.inline-note { padding: 13px; font-size: 10px; }.group-label { font-size: 8px; }
  .loading-screen { min-height: calc(100dvh - 235px); padding: 35px 0; }.loading-screen h1 { font-size: 28px; line-height: 1.25; }.loading-screen > p { font-size: 12px; }.loading-orbit { width: 140px; height: 140px; }.loading-orbit > span:first-child { width: 135px; height: 135px; }.analysis-checklist { margin-top: 25px; gap: 15px; }.analysis-checklist li { font-size: 10px; }.loading-screen > .eyebrow { font-size: 7px; margin-top: 25px; }.demo-disclosure { font-size: 8px; }.loading-screen > .text-button { font-size: 10px; }
  .results-topline { margin-top: -8px; gap: 8px; }.results-topline .eyebrow { font-size: 7px; letter-spacing: .8px; }.results-topline .text-button { font-size: 9px; gap: 5px; }.results-topline .text-button .icon { width: 13px; height: 13px; }.results-intro { margin-top: 19px; margin-bottom: 24px; }.results-intro h1 { font-size: 33px; line-height: 1.22; }.results-intro p { font-size: 11px; margin-top: 17px; }.result-status { font-size: 7px; }.result-grid { grid-template-columns: 1fr; gap: 16px; }.result-card { padding: 23px 21px; border-radius: 16px; }.result-card h2 { font-size: 15px; gap: 8px; }.result-card .mini-label { font-size: 8px; }.time-chart { gap: 6px; margin-top: 8px; }.result-donut { width: 55%; max-width: 220px; min-width: 140px; }.chart-legend { gap: 18px; }.chart-legend > div > span { font-size: 9px; }.chart-legend strong { font-size: 12px; }.chart-takeaway { font-size: 10px; padding-top: 15px; }.chart-footnote { font-size: 9px; }.money-chart { margin-top: 26px; }.money-bar-label { font-size: 10px; }.money-bar-label > strong { font-size: 13px; }.gap-number { margin-top: 20px; }.gap-number > strong { font-size: 34px; }
  .analysis-card { padding: 23px 21px; border-radius: 16px; }.analysis-header { gap: 10px; flex-wrap: wrap; }.analysis-header h2 { font-size: 16px; margin-bottom: 5px; }.analysis-header > div > span { font-size: 8px; }.agent-avatar { height: 36px; width: 36px; border-radius: 11px; }.agent-avatar .icon { width: 19px; height: 19px; }.analysis-badge { display: none; }.insights > article { gap: 13px; padding: 21px 0; }.insights h3 { font-size: 12px; }.insights p { font-size: 11px; line-height: 1.95; }.insight-num { font-size: 10px; }.analysis-disclosure { padding: 11px; font-size: 8px; }
  .breakdown-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }.breakdown-grid > div { padding: 16px 12px; }.breakdown-grid > div > span { font-size: 9px; }.breakdown-grid strong { font-size: 14px; }.breakdown-grid small { display: block; margin-top: 5px; margin-left: 0; }.breakdown-grid p { font-size: 9px; }.detail-breakdown > p { font-size: 9px; }
  .cta-card { flex-direction: column; padding: 30px 25px; align-items: stretch; gap: 25px; border-radius: 16px; }.cta-content > .eyebrow { font-size: 7px; }.cta-content h2 { font-size: 32px; }.cta-content p { font-size: 11px; line-height: 1.9; }.cta-actions .button { width: 100%; font-size: 12px; justify-content: space-between; min-height: 54px; padding: 15px 18px; }.cta-actions > span { font-size: 8px; }.result-bottom { flex-direction: column; gap: 5px; align-items: flex-start; }.result-bottom .text-button { font-size: 10px; }.result-bottom > span { font-size: 8px; margin-left: 2px; }
  dialog { padding: 29px 23px; border-radius: 18px; max-height: 90dvh; }.dialog-close { top: 7px; right: 7px; }dialog h2 { font-size: 28px; }dialog > .eyebrow { font-size: 7px; }dialog > p { font-size: 11px; }.screen-map { margin-top: 21px; }.contact-outcomes li { font-size: 10px; }.contact-draft { padding: 17px; }.contact-draft p { font-size: 11px; }dialog > p.prototype-note { font-size: 9px; }.toast { bottom: max(20px, env(safe-area-inset-bottom)); font-size: 11px; padding: 12px 15px; }
}
@media (max-width: 700px) {
  .range { height: 44px; }
  .hero-description { font-size: 14px; }
  .step-intro > p, .results-intro p, .supporting, .form-card > .supporting { font-size: 13px; }
  .reflection { font-size: 16px; }
  .insights h3 { font-size: 14px; }
  .insights p { font-size: 13px; line-height: 1.9; }
  .cta-content p { font-size: 13px; }
  .field-label, .big-label { font-size: 12px; }
  .goal-row .field-label { font-size: 11px; }
  .expense-row > label { font-size: 12px; }
  .field-hint { font-size: 11px; }
  .analysis-header > div > span, .analysis-disclosure, .chart-footnote { font-size: 10px; }
  .range-extremes { font-size: 9px; }
  .contact-draft p, dialog > p { font-size: 13px; }
}
@media (max-width: 370px) {
  .topbar { padding: 0 16px; }.workspace { padding: 0 16px; }.brand-caption { font-size: 9px; max-width: 78px; }.brand { gap: 10px; }.header-actions { gap: 5px; }.prototype-label { font-size: 8px; }.hero-copy h1 { font-size: 32px; }.hero-description { font-size: 12px; }.step-intro h1 { font-size: 31px; }.results-intro h1 { font-size: 29px; }.form-card { padding: 21px 16px; }.attention-layout .form-card { padding: 21px 16px; }.range-heading > label { font-size: 10px; gap: 6px; }.range-number { gap: 5px; }.range-number > span { font-size: 7px; }.compact-number { width: 45px; }.resource-card { padding: 20px 16px; gap: 13px; }.resource-number { font-size: 26px; }.visual-note strong { font-size: 9px; }.visual-note div > span { font-size: 8px; }.visual-note { bottom: 12px; padding: 12px 10px; }.visual-top-label { font-size: 6px; }.orbit-tag { font-size: 8px; padding: 7px 9px; }.result-card { padding: 21px 16px; }.analysis-card { padding: 22px 17px; }.result-card h2 { font-size: 13px; }.result-card .mini-label { font-size: 7px; }.chart-legend > div > span { font-size: 8px; }.analysis-header h2 { font-size: 14px; }.analysis-header > div > span { font-size: 7px; }.cta-card { padding: 27px 21px; }.cta-content h2 { font-size: 29px; }.summary-number { font-size: 34px; }.expense-row > label { font-size: 9px; }.total-line { font-size: 9px; }.total-line strong { font-size: 15px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }
/* GID event identity, sampled from /langkawi and /montenegro. */
:root { --paper: #f4f4f5; --surface: #fff; --ink: #18181a; --muted: #65656e; --line: #dddde2; --accent: #c90f1b; --accent-bright: #c90f1b; --soft-red: #fcebed; --green: #575963; --radius: 20px; }
.topbar { background: var(--paper); color: var(--ink); min-height: 88px; padding: 0; border-bottom-color: var(--line); }
.brand-logo { width: 170px; height: 25px; display: block; filter: none; }
.brand-rule { background: #d2d2d8; }
.brand-caption { color: #65656e; }
.prototype-label { color: #65656e; }
.prototype-label > span { background: #e21c2a; }
.map-button { border-color: #d5d5dd; color: #474750; }
.map-button:hover { color: var(--ink); border-color: #b8b8c2; background: #eaeaf0; }
.example-banner { background: #eeeef1; color: #47474f; }
.workspace.is-welcome { display: block; max-width: 1600px; }
.is-welcome .sidebar { display: none; }
.is-welcome .screen { padding-top: 28px; }
.hero-copy h1, .step-intro h1, .results-intro h1, .loading-screen h1, .cta-content h2, dialog h2 { font-family: 'BebasNeue', 'Arial Narrow', sans-serif; font-weight: 600; letter-spacing: 0; text-transform: uppercase; }
.welcome-main { position: relative; isolation: isolate; overflow: hidden; border-radius: 20px; grid-template-columns: minmax(0, 1.2fr) minmax(300px, .8fr); gap: 45px; min-height: 600px; padding: 55px 50px; background: #18181a; color: #fff; }
.welcome-main::before { content: ''; z-index: -2; position: absolute; inset: 0; background: url('assets/langkawi-hero.jpg') 50% 47% / cover no-repeat; }
.welcome-main::after { content: ''; z-index: -1; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10,18,23,.84), rgba(10,18,23,.54) 55%, rgba(10,18,23,.68)), linear-gradient(0deg, rgba(12,13,14,.58), transparent 80%); }
.hero-copy { padding: 0; }
.hero-copy > .eyebrow { color: #efeff2; font-size: 11px; letter-spacing: 1.6px; }
.hero-copy .eyebrow .line { width: 7px; height: 7px; background: #ec1324; border-radius: 50%; box-shadow: 0 0 0 5px #c90f1b26; }
.hero-copy h1 { font-size: clamp(58px, 6.5vw, 108px); line-height: .98; margin-top: 27px; margin-bottom: 26px; }
.accent-word { color: #fff; }
.accent-word svg { display: none; }
.hero-description { color: #e0e1e6; font-size: 16px; max-width: 420px; line-height: 1.65; }
.hero-action { margin-top: 29px; gap: 14px; }
.hero-action > span { color: #e1e2e6; font-size: 11px; }
.button { border-radius: 10px; font-size: 12px; font-weight: 700; letter-spacing: .65px; text-transform: uppercase; min-height: 56px; gap: 24px; }
.button.primary { background: #c90f1b; color: #fff; box-shadow: 0 0 0 1px #e9465040 inset; }
.button.primary:hover { background: #ac0e18; }
.button.primary > .icon, .button.light > .icon { width: 28px; height: 28px; padding: 5px; border: 1px solid #ffffff4d; border-radius: 50%; }
.hero-action .button { padding: 16px 22px; min-width: 270px; }
.example-link { color: #f0f0f3; font-size: 12px; margin-top: 20px; }
.example-link:hover { color: #fff; text-decoration: underline; text-underline-offset: 5px; }
.life-visual { background: #ffffffed; border-color: #ffffff6b; border-radius: 18px; min-height: 380px; aspect-ratio: .98; max-width: 440px; justify-self: end; color: #18181a; box-shadow: 0 20px 60px #00000026; }
.visual-grid { background-image: linear-gradient(#d7d7df 1px, transparent 1px), linear-gradient(90deg, #d7d7df 1px, transparent 1px); opacity: .22; }
.visual-top-label { font-size: 9px; color: #62626c; letter-spacing: 1.1px; }
.orbit-tag { background: #fff; border-color: #dddde3; color: #33333b; border-radius: 8px; font-size: 11px; transform: none; }
.orbit-tag > .icon { color: #c90f1b; }
.visual-note { background: #fff; border-color: #dedee4; border-radius: 10px; }
.visual-note strong { font-size: 12px; color: #18181a; }
.visual-note div > span { color: #65656e; font-size: 10px; }
.note-spark { color: #c90f1b; background: #fcebed; }
.welcome-divider { border-top: 0; padding: 31px 0 22px; font-size: 10px; letter-spacing: 1.1px; color: #63636d; }
.welcome-divider > span:last-child { font-size: 9px; }
.benefit-grid { gap: 20px; padding-bottom: 26px; }
.benefit-grid article { background: #fff; border: 1px solid #e0e0e5; border-radius: 16px; padding: 23px 20px; gap: 14px; }
.benefit-grid h2 { font-family: 'BebasNeue', 'Arial Narrow', sans-serif; font-size: 28px; font-weight: 600; line-height: 1.15; margin-bottom: 9px; letter-spacing: 0; text-transform: uppercase; }
.benefit-grid p { font-size: 13px; line-height: 1.7; color: #666670; }
.benefit-icon { color: #c90f1b; }
.route-item.active .route-number { background: #c90f1b; border-color: #c90f1b; }
.route-item.complete .route-number { color: #c90f1b; background: #fcebed; border-color: #f1d4d7; }
.step-intro h1, .results-intro h1 { font-size: clamp(46px, 4.7vw, 72px); line-height: 1.02; }
.step-intro > p, .results-intro p { font-size: 15px; color: #65656e; }
.form-card, .result-card, .analysis-card { background: #fff; border-color: #dfdfe5; }
.form-card .section-icon { background: #fcebed; color: #c90f1b; }
.form-card h2 { color: #18181a; }
.sphere-tab.selected { color: #bd0e19; border-color: #e6acb1; background: #fcebed; }
.sphere-tab.done { background: #fff; color: #42424b; }
.sphere-tab .icon { color: currentColor; }
.field { background: #f4f4f5; border-color: #dddde3; border-radius: 10px; }
.field:hover { border-color: #b1b1bb; }
.field::placeholder { color: #787881; }
.summary-card, .resource-card { background: #fff; border-color: #dfdfe5; }
.summary-number, .resource-number, .total-line strong, .gap-number > strong { font-family: 'BebasNeue', 'Arial Narrow', sans-serif; font-weight: 600; letter-spacing: 0; }
.summary-number { font-size: 46px; }
.resource-number { font-size: 45px; }
.resource-number > span { font-family: 'SFProDisplay', sans-serif; }
.summary-foot, .inline-note, .analysis-disclosure { background: #f4f4f5; border-color: #e4e4e8; color: #65656e; }
.summary-foot { background: none; }
.summary-row, .resource-status { border-color: #e0e0e5; }
.resource-status { color: #474750; }
.resource-status.over { color: #b50d18; }
.base-dot { background: #b5b7be; }.work-dot { background: #c90f1b; }.life-dot { background: #585d67; }.reserve-dot { background: #ededf0; border-color: #c7c7cf; }
.range::-webkit-slider-runnable-track { background: linear-gradient(to right, #c90f1b var(--fill), #e1e1e7 var(--fill)); }
.range::-webkit-slider-thumb { border-color: #c90f1b; background: #fff; }
.range::-moz-range-track { background: #e1e1e7; }.range::-moz-range-progress { background: #c90f1b; }.range::-moz-range-thumb { border-color: #c90f1b; background: #fff; }
.compact-number { background: #f4f4f5; border-color: #dddde3; }
.group-label, .mini-label { color: #686872; }
.agent-avatar, .contact-icon { color: #c90f1b; background: #fcebed; }
.result-status { color: #62626c; }.result-status > span { background: #c90f1b; }
.donut-number { font-family: 'BebasNeue', 'Arial Narrow', sans-serif; font-size: 38px; font-weight: 600; fill: #18181a; letter-spacing: 0; }
.donut-caption { font-family: 'SFProDisplay', sans-serif; fill: #65656e; }
.money-track > i { background: #c90f1b; }.money-track.current > i { background: #8e929d; }
.gap-number > strong { font-size: 44px; }
.gap-number small { font-family: 'SFProDisplay', sans-serif; }
.analysis-badge { background: #f4f4f5; border-color: #dddde3; color: #5f5f69; }
.insights p { color: #5c5c67; font-size: 13px; line-height: 1.9; }
.insights h3 { font-size: 15px; }
.breakdown-grid > div { background: #eeeef1; }
.cta-card { background: #18181a; border: 1px solid #38383e; color: #fff; }
.cta-orbit, .cta-orbit::after { border-color: #4a4a52; }
.cta-content > .eyebrow { color: #c8c8d0; }
.cta-content h2 { font-size: 48px; line-height: 1.03; }.cta-content h2 > span { color: #fff; }
.cta-content p { color: #c5c5ce; font-size: 13px; }
.cta-actions .button { background: #c90f1b; color: #fff; box-shadow: 0 0 0 1px #e9465040 inset; }
.cta-actions .button:hover { background: #ac0e18; }.cta-actions > span { color: #bdbdc7; }
dialog { background: #fff; border-color: #dddde3; }.contact-draft { background: #f4f4f5; border-color: #e1e1e6; }
dialog h2 { font-size: 42px; }.contact-draft p { color: #44444f; }
.toast { background: #18181a; color: #fff; border-color: #44444e; }
@media (max-width: 1250px) {
  .welcome-main { padding: 45px 35px; gap: 30px; min-height: 550px; }
  .hero-copy h1 { font-size: 7.2vw; }.life-visual { min-height: 360px; }
  .benefit-grid article { padding: 21px 18px; }.benefit-grid h2 { font-size: 25px; }.benefit-grid p { font-size: 12px; }
  .cta-content h2 { font-size: 44px; }.cta-content p { font-size: 12px; }
}
@media (max-width: 1030px) {
  .workspace.is-welcome { max-width: 100%; }.welcome-main { min-height: 520px; padding: 38px 30px; gap: 25px; grid-template-columns: minmax(0, 1.1fr) minmax(250px, .9fr); }
  .hero-copy h1 { font-size: 8.3vw; }.hero-description { font-size: 14px; }.hero-copy > .eyebrow { font-size: 9px; }.hero-action .button { min-width: 235px; }.life-visual { min-height: 340px; }
  .hero-action > span { font-size: 9px; }.example-link { font-size: 10px; }.benefit-grid { gap: 14px; }.benefit-grid article { padding: 20px 15px; gap: 9px; }.benefit-grid h2 { font-size: 23px; }.benefit-grid p { font-size: 11px; }
}
@media (max-width: 700px) {
  .topbar { min-height: 76px; }.brand { gap: 15px; }.brand-logo { width: 145px; height: auto; }.brand-caption, .brand-rule { display: none; }.prototype-label { font-size: 10px; }.header-actions { gap: 9px; }.map-button { padding: 8px; }
  .workspace.is-welcome { padding: 0 16px; }.is-welcome .screen { padding-top: 18px; }.welcome-main { display: flex; padding: 32px 24px 24px; border-radius: 16px; gap: 28px; min-height: 0; }
  .welcome-main::before { background-position: 43% 50%; }.welcome-main::after { background: linear-gradient(180deg, rgba(9,16,20,.65), rgba(9,16,20,.82) 62%, rgba(9,16,20,.95)); }
  .hero-copy > .eyebrow { font-size: 8px; letter-spacing: 1.15px; }.hero-copy h1 { font-size: clamp(48px, 11.8vw, 76px); line-height: .99; margin-top: 25px; margin-bottom: 23px; }
  .hero-description { font-size: 14px; line-height: 1.7; }.hero-action .button { min-width: 0; font-size: 11px; min-height: 60px; padding: 15px 18px; letter-spacing: .35px; }.hero-action > span { font-size: 10px; }.example-link { margin-top: 14px; font-size: 11px; }
  .life-visual { width: 100%; max-width: none; min-height: 0; aspect-ratio: 1.1; border-radius: 14px; }.visual-top-label { font-size: 8px; }.orbit-tag { font-size: 10px; }.visual-note strong { font-size: 11px; }.visual-note div > span { font-size: 9px; }.visual-note { left: 13px; right: 13px; bottom: 13px; padding: 12px 10px; gap: 8px; }.visual-note .note-spark { width: 27px; height: 27px; flex-shrink: 0; }
  .welcome-divider { padding: 25px 2px 18px; font-size: 8px; letter-spacing: .8px; }.welcome-divider > span:last-child { display: none; }.benefit-grid { gap: 12px; padding-bottom: 10px; }.benefit-grid article { padding: 21px 19px; gap: 15px; border-radius: 14px; }.benefit-grid h2 { font-size: 27px; }.benefit-grid p { font-size: 13px; }.benefit-icon { width: 37px; height: 40px; background: #fcebed; color: #c90f1b; border-radius: 10px; }
  .step-intro h1, .results-intro h1 { font-size: clamp(42px, 10.8vw, 62px); line-height: 1.04; }.step-intro > p, .results-intro p { font-size: 14px; line-height: 1.8; }.form-card h2 { font-size: 19px; }
  .button { font-size: 11px; letter-spacing: .3px; }.step-actions > .button.primary { min-height: 56px; }.step-actions .button.primary > .icon { width: 25px; height: 25px; padding: 4px; }
  .summary-number { font-size: 47px; }.resource-number { font-size: 40px; }.resource-number > span { font-size: 11px; }.resource-card { background: #fff; }.resource-status strong { font-family: 'SFProDisplay', sans-serif; font-size: 19px; }
  .insights p { font-size: 14px; }.insights h3 { font-size: 15px; line-height: 1.6; }.analysis-header h2 { font-size: 17px; }.analysis-header > div > span { font-size: 10px; }.gap-number > strong { font-size: 46px; }.chart-footnote { font-size: 11px; }
  .cta-card { padding: 30px 25px; }.cta-content h2 { font-size: 45px; }.cta-content p { font-size: 14px; }.cta-actions .button { min-height: 58px; font-size: 11px; letter-spacing: .25px; }.cta-actions > span { font-size: 9px; }
  .loading-screen h1 { font-size: 40px; }.loading-screen > p { font-size: 14px; }dialog h2 { font-size: 36px; }
}
@media (max-width: 370px) {
  .brand-logo { width: 130px; }.prototype-label { font-size: 9px; }.welcome-main { padding: 29px 18px 20px; }.hero-copy > .eyebrow { font-size: 7px; letter-spacing: .9px; }.hero-copy h1 { font-size: 46px; }.hero-description { font-size: 13px; }.hero-action .button { padding: 14px; font-size: 10px; gap: 9px; }.hero-action > span { font-size: 9px; }.example-link { font-size: 10px; }
  .visual-note strong { font-size: 9px; }.visual-note div > span { font-size: 8px; }.visual-top-label { font-size: 7px; }.orbit-tag { font-size: 8px; }.life-visual { aspect-ratio: 1; }.visual-note { padding: 10px 8px; }.visual-note .note-spark { width: 22px; height: 22px; }
  .benefit-grid h2 { font-size: 25px; }.benefit-grid p { font-size: 12px; }.step-intro h1, .results-intro h1 { font-size: 40px; }.insights p { font-size: 13px; }.insights h3 { font-size: 14px; }.cta-content h2 { font-size: 41px; }.cta-content p { font-size: 13px; }.cta-actions .button { font-size: 10px; padding: 14px; }.loading-screen h1 { font-size: 34px; }
}
@media print { .topbar, .sidebar, .site-footer, .example-banner, .mobile-progress, .results-topline, .cta-card, .result-bottom, .toast { display: none !important; }.workspace { display: block; padding: 0; }.screen { padding: 0; }.result-card, .analysis-card { break-inside: avoid; }.analysis-card { margin-top: 20px; } }
.ai-summary { margin: 24px 0 6px; font-size: 17px; line-height: 1.65; color: #18181a; }
.insights .verified-fact { margin-top: 12px; padding: 10px 14px; background: #f4f4f5; border-radius: 8px; color: #18181a; font-size: 14px; font-weight: 600; }
.ai-next-step { padding: 22px; margin-top: 22px; background: #f4f4f5; border-left: 3px solid #c90f1b; border-radius: 0 10px 10px 0; }
.ai-next-step p { margin: 8px 0 0; line-height: 1.6; }
.ai-request { display: flex; align-items: center; flex-wrap: wrap; gap: 14px 20px; margin-top: 22px; }
.ai-request > span { color: #6c7078; font-size: 13px; }

/* Test access form follows the existing GID typography and page width. */
.workspace.is-lead { display: block; max-width: 1600px; }
.is-lead .sidebar { display: none; }
.lead-layout { max-width: 1180px; margin: 0 auto; padding: 0 0 35px; display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 70px; align-items: start; }
.lead-back { margin: -12px 0 24px; color: var(--muted); font-size: 13px; }
.lead-intro > .eyebrow { font-size: 10px; letter-spacing: 1.1px; }
.lead-intro h1 { font-family: 'BebasNeue', 'Arial Narrow', sans-serif; font-size: clamp(58px, 5.5vw, 82px); font-weight: 600; line-height: 1.02; letter-spacing: 0; margin: 26px 0 20px; }
.lead-description { max-width: 350px; color: var(--muted); font-size: 17px; line-height: 1.65; }
.lead-benefits { list-style: none; padding: 0; margin: 34px 0; display: grid; gap: 19px; }
.lead-benefits li { display: flex; align-items: center; gap: 13px; font-size: 14px; line-height: 1.5; }
.lead-benefits li > span { display: grid; place-items: center; width: 29px; height: 29px; flex-shrink: 0; border: 1px solid var(--line); border-radius: 50%; color: var(--accent); font-size: 10px; }
.lead-test-note { display: flex; gap: 11px; align-items: flex-start; padding-top: 25px; border-top: 1px solid var(--line); max-width: 370px; color: var(--muted); }
.lead-test-note > .icon { color: var(--accent); margin-top: 2px; }
.lead-test-note p { font-size: 13px; line-height: 1.65; }
.lead-test-note strong { display: block; font-weight: 600; color: var(--ink); margin-bottom: 3px; }
.lead-card { background: #fff; padding: 32px; border: 1px solid var(--line); border-radius: 20px; min-width: 0; }
.lead-card-heading { display: flex; gap: 14px; align-items: center; margin-bottom: 28px; }
.lead-form-icon { display: grid; place-items: center; width: 44px; height: 44px; flex-shrink: 0; border-radius: 12px; color: var(--accent); background: #fcebed; }
.lead-card-heading h2 { font-size: 21px; line-height: 1.3; font-weight: 600; }
.lead-card-heading p { margin-top: 6px; color: var(--muted); font-size: 12px; }
.lead-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 16px; }
.lead-field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.lead-field > label { font-size: 13px; font-weight: 500; }
.lead-field > label > span { color: var(--accent); }
.lead-field small { color: var(--muted); font-size: 11px; font-weight: 400; }
.lead-field .field { min-width: 0; width: 100%; min-height: 53px; border-radius: 9px; padding: 14px 12px; font-size: 16px; background: #fff; }
.lead-field select { padding-right: 24px; }
.lead-field .field::placeholder { color: #86868e; font-size: 14px; }
.lead-field [aria-invalid='true'], .lead-consent input[aria-invalid='true'] { border-color: var(--accent); outline: 1px solid var(--accent); }
.lead-field-error { color: #b10c17; font-size: 12px; line-height: 1.5; }
.lead-phone-hint { font-size: 12px; line-height: 1.6; color: var(--muted); margin-top: 13px; }
.lead-consent-wrap { margin: 24px 0; }
.lead-consent { display: flex; align-items: flex-start; gap: 11px; font-size: 12px; color: var(--muted); line-height: 1.7; cursor: pointer; }
.lead-consent input { accent-color: var(--accent); width: 19px; height: 19px; flex-shrink: 0; margin: 1px 0 0; cursor: pointer; }
.lead-consent a { color: var(--ink); text-underline-offset: 3px; }
.lead-consent-wrap > .lead-field-error { display: block; margin: 7px 0 0 30px; }
.lead-consent-wrap > .lead-field-error[hidden] { display: none; }
.lead-card > .form-error { margin: 0 0 16px; }
.lead-submit { width: 100%; justify-content: space-between; min-height: 62px; font-size: 11px; letter-spacing: .3px; text-align: left; gap: 12px; }
.lead-submit-note { text-align: center; font-size: 11px; color: var(--muted); margin-top: 15px; line-height: 1.5; }
@media (max-width: 1100px) {
  .lead-layout { gap: 35px; grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); }
  .lead-intro h1 { font-size: 62px; }
  .lead-description { font-size: 15px; }
  .lead-card { padding: 25px; }
}
@media (max-width: 800px) {
  .lead-layout { grid-template-columns: minmax(0, 1fr); gap: 28px; max-width: 620px; }
  .lead-intro h1 { font-size: 62px; margin: 20px 0 14px; }
  .lead-intro h1 br { display: none; }
  .lead-description { max-width: 480px; font-size: 16px; }
  .lead-benefits { display: none; }
  .lead-test-note { margin-top: 22px; max-width: none; padding-top: 20px; }
  .lead-back { margin-bottom: 15px; }
}
@media (max-width: 700px) {
  .workspace.is-lead { padding: 0 16px; }
  .screen-lead { padding-top: 25px; }
  .lead-layout { padding-bottom: 10px; gap: 25px; }
  .lead-intro h1 { font-size: clamp(43px, 11vw, 62px); }
  .lead-intro > .eyebrow { font-size: 8px; letter-spacing: 1px; }
  .lead-description { font-size: 14px; }
  .lead-test-note p { font-size: 12px; }
  .lead-card { padding: 24px 19px; border-radius: 16px; }
  .lead-card-heading { margin-bottom: 26px; }
  .lead-card-heading h2 { font-size: 19px; }
  .lead-card-heading p { font-size: 11px; }
  .lead-grid { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .lead-field .field { min-height: 54px; }
  .lead-submit { min-height: 62px; font-size: 10px; padding: 14px 15px; }
  .lead-submit-note { font-size: 10px; }
}

/* ===== Тема главной ГИД / B2B / MIND (05.11.2026, по Site/themes.py MAIN) =====
   Сериф-заголовки с курсивным выделением, кнопки и поля-пилюли, скругления 24. Акцент — прежний красный.
   На тёмном фоне красным не пишем: выделения белые. */
@font-face { font-family: 'GS Serif'; font-style: normal; font-weight: 300 400; font-display: swap; src: url(https://fonts.gstatic.com/s/sourceserif4/v15/vEFI2_tTDB4M7-auWDN0ahZJW1gf8tenXg.woff2) format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'GS Serif'; font-style: normal; font-weight: 300 400; font-display: swap; src: url(https://fonts.gstatic.com/s/sourceserif4/v15/vEFI2_tTDB4M7-auWDN0ahZJW1gb8tc.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+2000-206F, U+20AC, U+2122, U+2212; }
@font-face { font-family: 'GS Serif'; font-style: italic; font-weight: 300 400; font-display: swap; src: url(https://fonts.gstatic.com/s/sourceserif4/v15/vEFK2_tTDB4M7-auWDN0ahZJW1gewtG_Wo7H.woff2) format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'GS Serif'; font-style: italic; font-weight: 300 400; font-display: swap; src: url(https://fonts.gstatic.com/s/sourceserif4/v15/vEFK2_tTDB4M7-auWDN0ahZJW1gewtW_Wg.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+2000-206F, U+20AC, U+2122, U+2212; }
:root { --serif: 'GS Serif', 'Source Serif 4', Georgia, serif; --accent: #b5121b; --accent-bright: #e00012; --radius: 24px; }

/* заголовки и крупные цифры */
.hero-copy h1, .step-intro h1, .results-intro h1, .loading-screen h1, .lead-intro h1, .cta-content h2, dialog h2, .benefit-grid h2,
.form-card h2, .result-card h2, .analysis-header h2, .lead-card-heading h2,
.summary-number, .resource-number, .total-line strong, .gap-number > strong, .donut-number {
  font-family: var(--serif); font-weight: 400; letter-spacing: -.01em; text-transform: none; font-optical-sizing: auto;
}
.hero-copy h1 { font-size: clamp(52px, 6vw, 96px); line-height: .98; }
.step-intro h1, .results-intro h1, .lead-intro h1 { font-size: clamp(44px, 4.6vw, 72px); line-height: 1.02; }
.loading-screen h1 { font-size: clamp(38px, 3.8vw, 56px); line-height: 1.05; }
.cta-content h2 { font-size: clamp(36px, 3.6vw, 56px); line-height: 1.02; }
dialog h2 { font-size: 40px; line-height: 1.05; }
.benefit-grid h2 { font-size: 28px; line-height: 1.1; }
.form-card h2, .lead-card-heading h2 { font-size: 30px; line-height: 1.12; }
.result-card h2, .analysis-header h2 { font-size: 26px; line-height: 1.15; }
.summary-number { font-size: 52px; }
.resource-number { font-size: 56px; line-height: 1; }
.resource-number > span, .gap-number small { font-family: 'SFProDisplay', sans-serif; }
.gap-number > strong { font-size: 48px; }
.total-line strong { font-size: 28px; }
.donut-number { font-size: 40px; font-style: italic; font-weight: 300; }
/* выделение — курсив; на светлом красный, на тёмном белый */
:is(.hero-copy h1, .step-intro h1, .results-intro h1, .loading-screen h1, .lead-intro h1, .cta-content h2, dialog h2) :is(.accent, .accent-word, span) { font-style: italic; font-weight: 300; color: var(--accent); }
:is(.hero-copy h1, .cta-content h2) :is(.accent, .accent-word, span) { color: #fff; }
.resource-number, .summary-number { font-style: italic; font-weight: 300; }
.resource-number > span { font-style: normal; }

/* кнопки-пилюли с круглой иконкой справа */
.button { min-height: 56px; border-radius: 40px; border: 0; padding: 0 8px 0 26px; gap: 28px; font-size: 15px; font-weight: 500; letter-spacing: -.01em; text-transform: none; box-shadow: none; }
.button:hover { transform: none; }
@media (hover: hover) { .button.primary:hover, .button.light:hover { box-shadow: rgba(24,24,26,.18) 6px 16px 40px; } }
.button.primary { background: var(--accent); box-shadow: none; }
.button.primary:hover { background: var(--accent); }
.button > .icon, .button.primary > .icon, .button.light > .icon { width: 40px; height: 40px; padding: 10px; border: 0; border-radius: 50%; background: rgba(255,255,255,.18); }
.button.secondary { border: 1.5px solid var(--line); color: var(--ink); padding: 0 26px 0 8px; gap: 12px; }
.button.secondary > .icon { background: #f4f4f5; }
.button.secondary:hover { border-color: var(--accent); background: transparent; color: var(--accent); }
.button.light { background: #fff; color: #18181a; }
.button.light > .icon { background: #18181a; stroke: #fff; }
.cta-actions .button { background: #fff; color: #18181a; box-shadow: none; }
.cta-actions .button:hover { background: #fff; }
.cta-actions .button > .icon { background: #18181a; color: #fff; }
.hero-action .button { min-width: 0; padding: 0 8px 0 28px; }
.lead-submit { min-height: 62px; font-size: 15px; letter-spacing: -.01em; padding: 0 8px 0 26px; }
.map-button, .sphere-tab, .orbit-tag, .analysis-badge { border-radius: 40px; }

/* поля-пилюли, textarea — скруглённый прямоугольник */
.field, .compact-number, .lead-field .field, .currency-select select { border-radius: 9999px; padding-left: 20px; padding-right: 20px; background-color: #f4f4f5; border-color: transparent; }
.field:hover, .lead-field .field:hover { border-color: #d4d4da; }
.field:focus-visible, .lead-field .field:focus-visible { outline: 0; border-color: #18181a; background-color: #fff; }
textarea.field { border-radius: 24px; }
select.field, .currency-select select { appearance: none; -webkit-appearance: none; padding-right: 44px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2318181a' stroke-width='1.6' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; background-size: 18px; cursor: pointer; }

/* скругления карточек */
.form-card, .result-card, .analysis-card, .summary-card, .resource-card, .lead-card, .cta-card, .benefit-grid article, .welcome-main, .life-visual, .detail-breakdown, dialog { border-radius: 24px; }
.form-card, .result-card, .analysis-card, .summary-card, .resource-card, .lead-card, .benefit-grid article { border-color: transparent; }
.breakdown-grid > div, .visual-note, .inline-note, .analysis-disclosure, .contact-draft, .ai-next-step, .insights .verified-fact { border-radius: 16px; }
.ai-next-step { border-left: 0; }

/* первый экран — кадр из фильма главной вместо фото слёта */
.welcome-main::before { background: #18181a url('https://cdn.allostaintelligence.com/gid/video/hero-poster.jpg') 50% 50% / cover no-repeat; }
.welcome-main::after { background: linear-gradient(90deg, rgba(12,12,14,.82), rgba(12,12,14,.45) 60%, rgba(12,12,14,.6)), linear-gradient(0deg, rgba(12,12,14,.5), transparent 70%); }
.hero-video { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.hero-copy .eyebrow .line { background: #fff; box-shadow: none; }

/* правки 05.11: подписи и переключатели */
.editable-note { margin-top: 8px; font-size: 13px; color: var(--muted); }
.editable-note > span, .field-label .req { color: var(--accent); font-weight: 600; }
.currency-select { display: flex; align-items: center; gap: 10px; }
.currency-caption { font-size: 12px; color: var(--muted); }
.currency-select select { min-height: 44px; font-size: 14px; color: var(--ink); }
.mode-switch { display: inline-flex; gap: 4px; padding: 4px; margin: 20px 0 6px; background: #f4f4f5; border-radius: 40px; }
.mode-switch button { min-height: 40px; padding: 0 18px; border-radius: 40px; font-size: 14px; font-weight: 500; color: var(--muted); }
.mode-switch button[aria-pressed="true"] { background: #fff; color: var(--ink); box-shadow: 0 1px 3px rgba(24,24,26,.12); }
.expense-header, .expense-row { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); }
.expense-header:has(span:nth-child(3)), .expense-row.is-pct { grid-template-columns: minmax(0, 1.4fr) minmax(0, .8fr) minmax(0, .8fr); }
.expense-calc { font-size: 15px; color: var(--muted); text-align: right; white-space: nowrap; }
.total-line small { font-size: 12px; color: var(--muted); font-weight: 400; }
.resource-card p.resource-explain { color: var(--ink); font-size: 13px; line-height: 1.6; }
@media (max-width: 700px) {
  .hero-copy h1 { font-size: clamp(44px, 11vw, 64px); }
  .step-intro h1, .results-intro h1, .lead-intro h1 { font-size: clamp(36px, 9.5vw, 52px); }
  .cta-content h2 { font-size: 38px; } dialog h2 { font-size: 32px; } .form-card h2, .lead-card-heading h2 { font-size: 24px; }
  .button, .lead-submit, .hero-action .button, .cta-actions .button { font-size: 15px; letter-spacing: -.01em; padding: 0 8px 0 22px; }
  .section-heading { flex-wrap: wrap; }
  .expense-row.is-pct { grid-template-columns: minmax(0, 1fr) 110px; } .expense-row.is-pct .expense-calc { grid-column: 1 / -1; text-align: left; font-size: 13px; margin-top: -4px; }
}
.button.secondary { padding: 0 8px 0 22px; gap: 16px; }
.button.secondary > .icon { color: var(--ink); }
.field-label { font-size: 13px; }
.section-heading h3 { font-size: 18px; }
.section-heading p, .supporting, .field-hint { font-size: 13px; line-height: 1.6; }
.eyebrow { font-size: 11px; }
.autosave { font-size: 12px; }
.goal-formula { margin-top: 14px; }
.sphere-tab { font-size: 13px; }
.expense-row > label { font-size: 15px; }
.expense-header { font-size: 12px; }
.range-heading > label { font-size: 15px; }
.total-line { font-size: 14px; }
@media (max-width: 700px) { .expense-header span:nth-child(3) { display: none; } }
