:root{
  --ink:#17324d;
  --ink-2:#244f64;
  --muted:#6f7b89;
  --paper:#f7f3ec;
  --white:#fff;
  --line:#e7dfd4;
  --accent:#ef6d45;
  --accent-2:#f7a04f;
  --teal:#219597;
  --shadow:0 24px 70px rgba(23,50,77,.12);
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;font-family:"DM Sans",sans-serif;color:var(--ink);background:
radial-gradient(circle at 10% 12%,rgba(239,109,69,.12),transparent 28rem),
radial-gradient(circle at 90% 85%,rgba(33,149,151,.1),transparent 28rem),
var(--paper)}
button,input,select,textarea{font:inherit}
button,a{transition:.18s ease}
.shell{width:min(1180px,calc(100% - 40px));margin-inline:auto}
.site-header{min-height:96px;display:flex;align-items:center;justify-content:space-between;gap:24px}
.brand{display:inline-flex;width:360px;max-width:48vw}
.brand img{display:block;width:100%;height:auto;max-height:70px;object-fit:contain;object-position:left center}
.product-badge{display:flex;align-items:center;gap:8px;color:var(--muted);font-size:.84rem;font-weight:700}
.product-badge i{width:8px;height:8px;border-radius:50%;background:#2aa17d;box-shadow:0 0 0 5px rgba(42,161,125,.12)}
.home-grid{min-height:calc(100vh - 180px);padding:60px 0 90px;display:grid;grid-template-columns:minmax(0,1fr) minmax(430px,.83fr);gap:70px;align-items:center}
.eyebrow{margin:0 0 10px;color:var(--accent);font-size:.76rem;font-weight:800;letter-spacing:.12em;text-transform:uppercase}
.hero-copy h1,.result-hero h1{margin:0;font-family:"Manrope",sans-serif;letter-spacing:-.07em;line-height:.94}
.hero-copy h1{max-width:720px;font-size:clamp(3.6rem,7.5vw,7.2rem)}
.hero-text{max-width:620px;margin:28px 0 0;color:var(--muted);font-size:1.08rem;line-height:1.75}
.benefit-grid{margin-top:44px;display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
.benefit-grid article{padding-top:18px;border-top:1px solid var(--line)}
.benefit-grid strong,.benefit-grid span{display:block}
.benefit-grid strong{font-size:.9rem}
.benefit-grid span{margin-top:6px;color:var(--muted);font-size:.78rem;line-height:1.5}
.planner-card{padding:34px;border:1px solid rgba(255,255,255,.9);border-radius:30px;background:rgba(255,255,255,.92);box-shadow:var(--shadow);backdrop-filter:blur(14px)}
.card-heading{margin-bottom:24px;display:flex;justify-content:space-between;align-items:flex-start;gap:16px}
.card-heading h2{margin:0;font-family:"Manrope",sans-serif;font-size:2rem;letter-spacing:-.05em}
.card-heading>span{padding:7px 10px;border-radius:999px;color:var(--muted);background:#f2ece4;font-size:.72rem;font-weight:700;white-space:nowrap}
.field-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}
label{display:grid;gap:8px;color:var(--ink);font-size:.86rem;font-weight:700}
label.wide{grid-column:1/-1}
input,select,textarea,.input-shell{width:100%;border:1px solid var(--line);border-radius:14px;background:#fff;color:var(--ink);outline:none}
input,select{min-height:50px;padding:0 14px}
textarea{padding:13px 14px;resize:vertical}
input:focus,select:focus,textarea:focus,.input-shell:focus-within{border-color:var(--accent);box-shadow:0 0 0 4px rgba(239,109,69,.1)}
.input-shell{display:flex;align-items:center;padding:0 14px}
.input-shell input{border:0;padding:0 8px;box-shadow:none}
.input-shell b{color:var(--muted);font-weight:600}
.chips{margin-top:16px;display:flex;flex-wrap:wrap;gap:8px}
.chips button,.action-row button,.header-actions button,.header-actions a{width:auto;min-height:36px;margin:0;padding:0 12px;border:1px solid var(--line);border-radius:999px;color:var(--muted);background:#fff;text-decoration:none;font-size:.78rem;font-weight:700;cursor:pointer}
.chips button:hover,.action-row button:hover,.header-actions button:hover,.header-actions a:hover{color:#fff;background:var(--ink)}
.primary-button{width:100%;min-height:54px;margin-top:22px;padding:0 18px 0 20px;display:flex;align-items:center;justify-content:space-between;border:0;border-radius:14px;color:#fff;background:var(--ink);font-weight:800;cursor:pointer}
.primary-button:hover{background:var(--accent)}
.primary-button:disabled{opacity:.7;cursor:wait}
.microcopy{margin:12px 0 0;text-align:center;color:var(--muted);font-size:.76rem}
.error-box{margin-bottom:18px;padding:13px 15px;border:1px solid #efb5a1;border-radius:12px;color:#8d3218;background:#fff0ea}
.error-box ul{margin:0;padding-left:20px}.error-box li+li{margin-top:5px}
.success-box{margin-bottom:18px;padding:13px 15px;border:1px solid #9dd8c2;border-radius:12px;color:#17694f;background:#edfaf5}
.account-main{min-height:calc(100vh - 190px);padding:42px 0 80px;display:grid;place-items:start center}
.account-card{width:min(560px,100%)}.account-card h1{margin:0;font-family:"Manrope",sans-serif;font-size:2.4rem;letter-spacing:-.05em}
.account-fields{display:grid;gap:18px}.account-fields small{color:var(--muted);font-weight:500;line-height:1.4}
.site-footer a{color:inherit}
.account-nav{display:flex;align-items:center;gap:8px}.account-nav form{display:inline-flex;margin:0}.account-nav a,.account-nav button{min-height:36px;padding:0 12px;display:inline-flex;align-items:center;border:1px solid var(--line);border-radius:999px;color:var(--muted);background:#fff;text-decoration:none;font-size:.78rem;font-weight:700;cursor:pointer}.account-nav a:hover,.account-nav button:hover{color:#fff;background:var(--ink)}
.account-details{margin:0;display:grid;gap:12px}.account-details div{padding:18px;border:1px solid var(--line);border-radius:14px;background:#fff}.account-details dt{color:var(--muted);font-size:.72rem;font-weight:800;letter-spacing:.06em;text-transform:uppercase}.account-details dd{margin:7px 0 0;font-weight:700}
.site-footer{padding:24px 0 36px;display:flex;justify-content:space-between;gap:16px;color:var(--muted);font-size:.82rem}

/* Thinking */
body.is-thinking{overflow:hidden}
.thinking-overlay{position:fixed;inset:0;z-index:9999;display:grid;place-items:center;padding:16px;opacity:0;visibility:hidden;overflow:auto;background:rgba(247,243,236,.98);backdrop-filter:blur(14px)}
.thinking-overlay.visible{opacity:1;visibility:visible}
.thinking-card{width:min(570px,100%);padding:30px 36px 34px;border:1px solid rgba(255,255,255,.9);border-radius:28px;text-align:center;background:rgba(255,255,255,.94);box-shadow:var(--shadow)}
.thinking-logo{display:block;width:min(300px,80%);max-height:72px;margin:0 auto 14px;object-fit:contain}
.thinking-orbit{position:relative;width:104px;height:104px;margin:4px auto 18px;display:grid;place-items:center}
.thinking-orbit:before{content:"";position:absolute;inset:4px;border:2px dashed rgba(23,50,77,.2);border-radius:50%;animation:spin 5s linear infinite}
.plane{position:absolute;top:0;left:50%;transform:translateX(-50%) rotate(20deg);color:var(--accent);font-size:1.35rem}
.counter{width:64px;height:64px;display:grid;place-content:center;border-radius:50%;color:#fff;background:var(--ink);box-shadow:0 12px 28px rgba(23,50,77,.2)}
.counter strong{font-size:1.35rem;line-height:1}.counter span{margin-top:2px;color:rgba(255,255,255,.65);font-size:.58rem}
.thinking-card h2{margin:4px 0 8px;font-family:"Manrope",sans-serif;font-size:clamp(1.75rem,5vw,2.8rem);line-height:1.05;letter-spacing:-.05em}
.thinking-card>p:not(.eyebrow):not(.thinking-note){max-width:440px;margin:0 auto;color:var(--muted);line-height:1.55}
.progress{height:7px;margin:22px 0 18px;overflow:hidden;border-radius:999px;background:#eee7dd}
.progress span{display:block;width:20%;height:100%;border-radius:inherit;background:linear-gradient(90deg,var(--accent),var(--accent-2));transition:width .65s ease}
.stage-list{margin:0;padding:0;display:grid;gap:6px;list-style:none;text-align:left}
.stage-list li{min-height:40px;padding:8px 11px;display:grid;grid-template-columns:14px minmax(0,1fr) auto;align-items:center;gap:9px;border-radius:10px;color:#9aa2ac;font-size:.78rem;font-weight:700}
.stage-list .dot{width:10px;height:10px;border:2px solid #c7ccd2;border-radius:50%}
.stage-list li.active{color:var(--ink);background:#f4eee6}
.stage-list li.active .dot{border-color:var(--accent);background:var(--accent);box-shadow:0 0 0 4px rgba(239,109,69,.11)}
.stage-list li.done{color:#26856d}
.stage-list li.done .dot{border-color:#2aa17d;background:#2aa17d}
.stage-list .status{font-size:.58rem;letter-spacing:.05em;text-transform:uppercase}
.thinking-note{margin:14px 0 0;color:var(--muted);font-size:.68rem}
@keyframes spin{to{transform:rotate(360deg)}}

/* Results */
.results-header{position:relative;z-index:2}
.header-actions{display:flex;align-items:center;gap:8px}
.result-main{padding:40px 0 90px}
.result-hero{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(280px,.55fr);gap:24px}
.result-hero-copy{min-height:430px;padding:48px;display:flex;flex-direction:column;justify-content:flex-end;border-radius:30px;color:#fff;background:linear-gradient(135deg,#17324d,#2e6071);box-shadow:var(--shadow)}
.result-hero-copy .eyebrow{color:#ffb090}
.result-hero h1{font-size:clamp(3rem,6.5vw,5.8rem)}
.result-hero-copy>p:not(.eyebrow){max-width:720px;color:rgba(255,255,255,.75);line-height:1.7}
.route-pills{margin-top:24px;display:flex;flex-wrap:wrap;align-items:center;gap:8px}
.route-pills span{padding:7px 11px;border:1px solid rgba(255,255,255,.18);border-radius:999px;background:rgba(255,255,255,.08);font-size:.78rem;font-weight:700}.route-pills i{color:#ffb090;font-style:normal}
.result-cost{padding:30px;display:flex;flex-direction:column;justify-content:center;border-radius:30px;background:#fff;box-shadow:var(--shadow)}
.result-cost>span,.result-cost small{color:var(--muted)}
.result-cost strong{margin:8px 0 4px;font-family:"Manrope",sans-serif;font-size:clamp(3rem,6vw,4.8rem);letter-spacing:-.06em;line-height:1}
.meter{height:9px;margin-top:28px;overflow:hidden;border-radius:999px;background:#eee7dd}.meter span{display:block;height:100%;background:linear-gradient(90deg,var(--accent),var(--accent-2))}
.result-cost p{color:var(--muted);font-size:.8rem}
.summary-grid{margin-top:16px;display:grid;grid-template-columns:repeat(4,1fr);gap:12px}
.summary-grid article,.budget-grid article{padding:20px;border:1px solid var(--line);border-radius:17px;background:rgba(255,255,255,.8)}
.summary-grid span,.detail-grid span,.budget-grid span{display:block;color:var(--muted);font-size:.7rem;font-weight:800;letter-spacing:.06em;text-transform:uppercase}.summary-grid strong,.detail-grid strong{display:block;margin-top:7px}
.section-heading{margin:88px 0 26px;display:grid;grid-template-columns:1fr minmax(260px,.65fr);gap:30px;align-items:end}
.section-heading h2,.notes-panel h2{margin:0;font-family:"Manrope",sans-serif;font-size:clamp(2.3rem,4.5vw,4rem);letter-spacing:-.06em;line-height:1}
.section-heading>p{margin:0;color:var(--muted);line-height:1.6}
.timeline{position:relative;display:grid;gap:16px}.timeline:before{content:"";position:absolute;top:28px;bottom:28px;left:28px;width:2px;background:linear-gradient(var(--accent),rgba(239,109,69,.08))}
.timeline-row{position:relative;display:grid;grid-template-columns:58px 1fr;gap:16px}
.timeline-index{position:relative;z-index:1;padding-top:22px;display:flex;justify-content:center}.timeline-index span{width:44px;height:44px;display:grid;place-items:center;border:6px solid var(--paper);border-radius:50%;color:#fff;background:var(--accent);box-sizing:content-box;font-weight:800}
.timeline-card{padding:26px;border:1px solid var(--line);border-radius:22px;background:rgba(255,255,255,.88);box-shadow:0 12px 40px rgba(23,50,77,.05)}
.timeline-meta{display:flex;align-items:center;justify-content:space-between;gap:12px}.timeline-meta span{color:var(--accent);font-size:.72rem;font-weight:800;letter-spacing:.07em;text-transform:uppercase}.timeline-meta b{padding:6px 9px;border-radius:999px;background:#f1ebe3;font-size:.7rem}
.timeline-card h3{margin:12px 0 8px;font-family:"Manrope",sans-serif;font-size:clamp(2rem,4vw,3.4rem);letter-spacing:-.05em}.timeline-card>p{margin:0;color:var(--muted);line-height:1.65}
.detail-grid{margin-top:20px;padding-top:18px;display:grid;grid-template-columns:1fr .4fr;gap:22px;border-top:1px solid var(--line)}
.action-row{margin-top:18px;display:flex;flex-wrap:wrap;gap:8px}
.budget-heading{margin-top:96px}
.budget-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}.budget-grid article{min-height:145px;display:flex;flex-direction:column;justify-content:flex-end;color:#fff;background:var(--ink)}.budget-grid article:nth-child(2){background:#244f64}.budget-grid article:nth-child(3){background:#297476}.budget-grid article:nth-child(4){background:#c95d3b}.budget-grid span{color:rgba(255,255,255,.65)}.budget-grid strong{margin-top:7px;font-size:1.65rem}
.notes-panel{margin-top:70px;padding:36px;display:grid;grid-template-columns:.65fr 1fr;gap:40px;border-radius:26px;color:#fff;background:var(--ink)}
.notes-panel .eyebrow{color:#ffb090}.notes-panel ol{margin:0;padding-left:1.2rem}.notes-panel li{margin:10px 0;color:rgba(255,255,255,.8);line-height:1.55}
.toast{position:fixed;right:20px;bottom:20px;margin:0;padding:12px 15px;opacity:0;border-radius:999px;color:#fff;background:var(--ink);box-shadow:var(--shadow);pointer-events:none}.toast.show{opacity:1}

@media(max-width:900px){
  .home-grid,.result-hero{grid-template-columns:1fr}
  .hero-copy{text-align:center}.hero-copy h1,.hero-text{margin-inline:auto}
  .section-heading,.notes-panel{grid-template-columns:1fr}
  .summary-grid,.budget-grid{grid-template-columns:1fr 1fr}
}
@media(max-width:620px){
  .shell{width:min(100% - 24px,1180px)}
  .site-header{min-height:80px}
  .brand{width:250px;max-width:72vw}
  .product-badge{display:none}
  .home-grid{padding:34px 0 60px;gap:38px}
  .hero-copy h1{font-size:clamp(3rem,15vw,4.7rem)}
  .benefit-grid{grid-template-columns:1fr}
  .planner-card{padding:22px 18px;border-radius:22px}
  .field-grid{grid-template-columns:1fr}.wide{grid-column:auto}
  .card-heading{flex-direction:column;gap:8px}
  .site-footer{flex-direction:column}
  .thinking-overlay{display:block;padding:8px}
  .thinking-card{width:100%;margin:8px auto;padding:16px 14px 18px;border-radius:18px}
  .thinking-logo{width:min(220px,70vw);max-height:58px;margin-bottom:6px}
  .thinking-orbit{width:72px;height:72px;margin:4px auto 10px}
  .counter{width:44px;height:44px}.counter strong{font-size:1rem}
  .thinking-card h2{font-size:clamp(1.3rem,7vw,1.75rem)}
  .thinking-card>p:not(.eyebrow):not(.thinking-note){font-size:.76rem;line-height:1.4}
  .progress{height:5px;margin:12px 0 10px}
  .stage-list{gap:3px}.stage-list li{min-height:34px;padding:6px 8px;font-size:.68rem}
  .result-main{padding-top:20px}.result-hero-copy,.result-cost,.notes-panel{padding:24px;border-radius:22px}
  .result-hero-copy{min-height:420px}.result-hero h1{font-size:clamp(2.8rem,14vw,4.5rem)}
  .summary-grid,.budget-grid{grid-template-columns:1fr}
  .section-heading{margin-top:66px}
  .timeline-row{grid-template-columns:42px 1fr;gap:10px}.timeline:before{left:20px}.timeline-index span{width:34px;height:34px;border-width:4px}.timeline-card{padding:20px}.detail-grid{grid-template-columns:1fr}
  .header-actions button{display:none}
}
@media print{
  .header-actions,.action-row,.toast{display:none!important}
  body{background:#fff}.result-hero-copy,.notes-panel,.budget-grid article{print-color-adjust:exact;-webkit-print-color-adjust:exact}
}
