/* Sitetodai: light, sunrise. Overrides the dark shared tokens. */
:root {
  --bg: #fffaf0;
  --bg-1: #fff3d6;
  --surface: #ffffff;
  --surface-2: #fff6e0;
  --border: #f0e2bf;
  --border-2: #e2cf9f;
  --text: #1c1b33;
  --text-2: #4a4960;
  --text-3: #6b6a80;
  --accent: #ffc21a;
  --accent-2: #ffb000;
  --accent-soft: color-mix(in srgb, #ffc21a 22%, transparent);
  --coral: #e5482a;
  --coral-text: #c43a1c;
  --night: #1c1b33;
  --success: #15803d;
  --danger: #b42318;
  --font-display: "Bricolage Grotesque", var(--font-sans);
  --shadow: 0 1px 2px rgb(28 27 51 / 0.06), 0 14px 40px rgb(120 80 10 / 0.12);
}
body { background: var(--bg); color: var(--text); }
h1, h2, h3 { font-weight: 700; }
.eyebrow { color: var(--coral-text); }
.muted { color: var(--text-2); }
.skip-link { color: var(--text); }
.btn { font-family: var(--font-sans); }
.btn-primary { background: var(--accent); color: var(--text); box-shadow: 0 8px 24px rgb(255 160 0 / 0.35); }
.btn-primary:hover { background: var(--accent-2); }
.btn-ghost { border-color: var(--border-2); color: var(--text); background: rgb(255 255 255 / 0.6); }
.btn-ghost:hover { border-color: var(--coral); }
.btn-sm { padding: 0.55em 1.1em; font-size: var(--step--1); }
:focus-visible { outline: 3px solid var(--text); outline-offset: 3px; }
.btn-primary:focus-visible { outline-color: var(--text); }
.h-xl { font-size: var(--step-4); }
.h-lg { font-size: var(--step-3); }
.lead { font-size: var(--step-1); color: var(--text-2); max-width: 36em; }
.section-head { max-width: 40rem; margin-bottom: var(--space-7); }
.section-head p { color: var(--text-2); font-size: var(--step-1); }
.section { padding-block: var(--space-8); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgb(255 250 240 / 0.88); backdrop-filter: blur(10px); border-bottom: 1px solid transparent; transition: border-color 200ms; }
.site-header.is-stuck { border-color: var(--border); }
.nav { display: flex; align-items: center; gap: var(--space-5); min-height: 68px; }
.logo { display: inline-flex; align-items: center; gap: 0.55rem; font-family: var(--font-display); font-weight: 800; font-size: 1.35rem; text-decoration: none; letter-spacing: -0.03em; }
.logo svg { width: 34px; height: 34px; }
.logo b { color: var(--coral-text); font-weight: 800; }
.nav nav { margin-left: auto; }
.nav-links { display: flex; gap: var(--space-5); list-style: none; margin: 0; padding: 0; }
.nav-links a { text-decoration: none; font-weight: 500; color: var(--text-2); }
.nav-links a:hover { color: var(--text); text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--accent-2); text-decoration-thickness: 3px; }
@media (max-width: 760px) { .nav-links { display: none; } .nav .btn { margin-left: auto; } }

/* Hero */
.hero { position: relative; overflow: hidden; padding-block: var(--space-8) var(--space-9); }
.hero::before { content: ""; position: absolute; left: 50%; bottom: -34rem; width: 90rem; height: 54rem; transform: translateX(-50%); border-radius: 50%;
  background: radial-gradient(closest-side, rgb(255 194 26 / 0.55), rgb(255 150 70 / 0.28) 55%, transparent 100%); pointer-events: none; z-index: 0; animation: rise 1.6s var(--ease) both; }
@keyframes rise { from { transform: translateX(-50%) translateY(14rem); opacity: 0; } to { transform: translateX(-50%); opacity: 1; } }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr); gap: var(--space-7); align-items: center; }
.hero h1 { font-size: var(--step-5); font-weight: 800; letter-spacing: -0.045em; line-height: 0.98; }
.hero h1 .today { position: relative; display: inline-block; white-space: nowrap; }
.hero h1 .today::after { content: ""; position: absolute; left: -2%; right: -2%; bottom: 0.02em; height: 0.3em; background: var(--accent); border-radius: 999px; z-index: -1; }
.hero-actions { display: flex; flex-wrap: wrap; gap: var(--space-3); margin-block: var(--space-6) var(--space-5); }
.hero-meta { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: var(--space-2) var(--space-5); color: var(--text-2); font-size: var(--step--1); font-weight: 500; }
.hero-meta li::before { content: ""; display: inline-block; width: 0.6em; height: 0.6em; margin-right: 0.5em; border-radius: 50%; background: var(--coral); }
@media (max-width: 960px) { .hero-grid { grid-template-columns: 1fr; } }

/* Build stage (browser mockup) */
.stage { container-type: inline-size; }
.mock { font-size: clamp(8.5px, 2.35cqw, 15px); background: #fff; border-radius: 1.4em; box-shadow: var(--shadow), 0 0 0 1px rgb(28 27 51 / 0.08); overflow: hidden; transition: box-shadow 600ms var(--ease); }
.mock.s-live { box-shadow: 0 0 0 0.25em rgb(21 128 61 / 0.35), var(--shadow); }
.mock-bar { display: flex; align-items: center; gap: 1em; padding: 0.9em 1.1em; background: #f4efe3; border-bottom: 1px solid #eadfc4; }
.dots { display: flex; gap: 0.45em; }
.dots i { width: 0.85em; height: 0.85em; border-radius: 50%; background: #e2d6b8; }
.dots i:nth-child(1) { background: #ff8a73; } .dots i:nth-child(2) { background: #ffc94d; } .dots i:nth-child(3) { background: #7bd389; }
.addr { flex: 1; display: flex; align-items: center; gap: 0.6em; min-width: 0; background: #fff; border-radius: 999px; padding: 0.55em 1em; font-size: 1.05em; color: var(--text); border: 1px solid #eadfc4; min-height: 2.5em; }
.addr svg { width: 1em; height: 1em; flex: none; color: #9a97aa; transition: color 300ms; }
.s-live .addr svg { color: var(--success); }
.addr-text { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.addr-text .pre { color: var(--text-3); }
.addr-text.is-hint { color: var(--text-3); }
.caret { width: 1px; height: 1.1em; background: var(--text); margin-left: -0.5em; opacity: 0; }
.is-typing .caret { opacity: 1; animation: blink 0.8s steps(2) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.live-badge { display: inline-flex; align-items: center; gap: 0.45em; padding: 0.4em 0.9em; border-radius: 999px; font-weight: 700; font-size: 1em; background: #dcfce7; color: #14532d; border: 1px solid #86efac; opacity: 0; transform: scale(0.6); transition: opacity 300ms, transform 500ms cubic-bezier(.3,1.6,.5,1); white-space: nowrap; }
.live-badge i { width: 0.7em; height: 0.7em; border-radius: 50%; background: #16a34a; box-shadow: 0 0 0 0 rgb(22 163 74 / 0.5); }
.s-live .live-badge { opacity: 1; transform: none; }
.s-live .live-badge i { animation: pulse 1.8s ease-out infinite; }
@keyframes pulse { to { box-shadow: 0 0 0 0.6em rgb(22 163 74 / 0); } }

.mock-view { position: relative; padding: 1.2em; background: #fff; display: grid; gap: 1.1em; aspect-ratio: 1.3 / 1; align-content: start; overflow: hidden; }
/* blocks: wireframe -> colour */
.b { position: relative; isolation: isolate; background: #f1f2f6; border: 0.12em dashed #c9ccd9; border-radius: 0.8em; opacity: 0; transform: translateY(0.6em); transition: opacity 400ms var(--ease), transform 500ms var(--ease), border-color 500ms, background-color 500ms; transition-delay: calc(var(--i, 0) * 70ms); }
.b::before { content: ""; position: absolute; inset: -0.12em; border-radius: inherit; background: var(--col, transparent); opacity: 0; transition: opacity 700ms ease; transition-delay: calc(var(--i, 0) * 60ms); z-index: -1; }
.s-wire .b { opacity: 1; transform: none; }
.s-color .b { border-color: transparent; background-color: transparent; }
.s-color .b::before { opacity: 1; }
/* text: grey bar -> real words */
.t { color: transparent; background: rgb(28 27 51 / 0.13); border-radius: 0.35em; transition: color 500ms ease, background-color 500ms ease; transition-delay: calc(var(--i, 0) * 70ms); }
.s-content .t { color: var(--tc, var(--text)); background-color: transparent; }
.art { opacity: 0; transition: opacity 600ms ease; transition-delay: calc(var(--i, 0) * 80ms + 150ms); }
.s-color .art { opacity: 1; }

.m-nav { --col: #fff; display: flex; align-items: center; gap: 1em; padding: 0.7em 0.9em; --i: 0; }
.m-nav .m-logo { width: 1.9em; height: 1.9em; border-radius: 50%; background: #d9dbe5; flex: none; transition: background 600ms; }
.s-color .m-logo { background: linear-gradient(135deg, #ff7a45, #e5482a); }
.m-nav .name { font-family: var(--font-display); font-weight: 800; font-size: 1.15em; letter-spacing: -0.02em; }
.m-nav .links { margin-left: auto; display: flex; gap: 1em; font-size: 0.9em; font-weight: 500; }
.m-nav .m-cta { background-color: rgb(28 27 51 / 0.13); padding: 0.35em 0.9em; border-radius: 999px; font-size: 0.9em; font-weight: 700; --tc: #fff; transition: background-color 500ms, color 500ms; transition-delay: calc(var(--i,0) * 70ms); }
.s-color .m-nav .m-cta { background-color: #c43a1c; }
.m-hero { --col: linear-gradient(120deg, #ffd45e 0%, #ff9a52 60%, #f2603a 100%); --i: 2; display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 1em; align-items: center; padding: 1.4em; min-height: 11em; }
.m-hero h3 { font-family: var(--font-display); font-size: 2em; line-height: 1.02; margin: 0 0 0.5em; letter-spacing: -0.035em; font-weight: 800; --tc: #2a1408; display: inline-block; }
.m-hero p { margin: 0 0 0.9em; font-size: 0.95em; --tc: #3b2412; max-width: 24em; }
.m-hero .m-btn { display: inline-block; padding: 0.5em 1.1em; border-radius: 999px; font-weight: 700; font-size: 0.9em; --tc: #fff; background-color: rgb(28 27 51 / 0.14); transition: background-color 500ms, color 500ms; }
.s-color .m-hero .m-btn { background-color: #1c1b33; }
.m-hero .art svg { width: 100%; height: auto; }
.m-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.9em; }
.m-card { --i: 4; padding: 0.6em; display: grid; gap: 0.5em; }
.m-card:nth-child(2) { --i: 5; } .m-card:nth-child(3) { --i: 6; }
.m-card { --col: #fff7e6; }
.m-card .img { aspect-ratio: 1.7; border-radius: 0.55em; background: #dfe1ea; transition: background 600ms; }
.s-color .m-card:nth-child(1) .img { background: linear-gradient(135deg, #ffcf5a, #f58a3f); }
.s-color .m-card:nth-child(2) .img { background: linear-gradient(135deg, #9fd58a, #4ea06a); }
.s-color .m-card:nth-child(3) .img { background: linear-gradient(135deg, #f5a4a0, #d9534f); }
.m-card .ttl { font-weight: 700; font-size: 0.95em; }
.m-card .sub { font-size: 0.8em; --tc: var(--text-2); }
.m-foot { --col: #1c1b33; --i: 7; display: flex; justify-content: space-between; gap: 1em; padding: 0.8em 1em; font-size: 0.85em; --tc: #fff7e6; }
.m-foot .t { --tc: #fff7e6; }
.m-foot .t, .m-foot { }
.s-wire:not(.s-color) .m-foot .t { background-color: rgb(28 27 51 / 0.13); }

.stage-ctrl { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-3); margin-top: var(--space-4); }
.steps { display: flex; gap: 0.4rem; list-style: none; padding: 0; margin: 0; flex: 1; min-width: 14rem; }
.steps li { flex: 1; padding: 0.35rem 0.5rem; border-radius: 999px; font-size: var(--step--1); font-weight: 600; text-align: center; color: var(--text-3); background: rgb(255 255 255 / 0.55); border: 1px solid var(--border); transition: all 300ms; white-space: nowrap; }
.steps li.is-on { color: var(--text); background: var(--accent); border-color: var(--accent-2); }
.stage-btns { display: flex; gap: var(--space-2); }
.icon-btn { display: inline-flex; align-items: center; gap: 0.4em; border: 1px solid var(--border-2); background: #fff; border-radius: 999px; padding: 0.45em 0.9em; font-size: var(--step--1); font-weight: 600; cursor: pointer; }
.icon-btn:hover { border-color: var(--coral); }
.icon-btn svg { width: 1em; height: 1em; }
.stage-note { margin: var(--space-3) 0 0; font-size: var(--step--1); color: var(--text-3); }

/* Promise band */
.promise { background: var(--night); color: #fff7e6; padding-block: var(--space-8); position: relative; overflow: hidden; }
.promise::after { content: ""; position: absolute; left: 50%; top: -22rem; width: 60rem; height: 30rem; transform: translateX(-50%); border-radius: 50%; background: radial-gradient(closest-side, rgb(255 194 26 / 0.22), transparent); pointer-events: none; }
.promise .container { position: relative; z-index: 1; }
.promise-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-6); list-style: none; margin: 0; padding: 0; }
.promise-grid li { border-top: 2px solid rgb(255 194 26 / 0.5); padding-top: var(--space-4); }
.promise-grid .num { display: block; font-family: var(--font-display); font-size: clamp(4rem, 3rem + 6vw, 7.5rem); font-weight: 800; line-height: 0.9; letter-spacing: -0.06em; color: var(--accent); }
.promise-grid .lbl { display: block; font-family: var(--font-display); font-size: var(--step-2); font-weight: 700; margin: var(--space-3) 0 var(--space-2); }
.promise-grid p { color: #d8d3c4; margin: 0; max-width: 22em; }
.promise .price-line { margin-top: var(--space-6); font-weight: 600; color: #fff7e6; }
@media (max-width: 760px) { .promise-grid { grid-template-columns: 1fr; gap: var(--space-5); } }

/* How it works */
.how-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-5); counter-reset: s; position: relative; }
.how-list::before { content: ""; position: absolute; left: 6%; right: 6%; top: 1.7rem; border-top: 3px dotted var(--border-2); z-index: 0; }
.how-list li { position: relative; z-index: 1; counter-increment: s; }
.how-list .dot { display: grid; place-items: center; width: 3.4rem; height: 3.4rem; border-radius: 50%; background: var(--accent); font-family: var(--font-display); font-weight: 800; font-size: 1.5rem; box-shadow: 0 0 0 6px var(--bg); margin-bottom: var(--space-4); }
.how-list li:nth-child(2) .dot { background: #ffab3d; } .how-list li:nth-child(3) .dot { background: #ff8a4c; } .how-list li:nth-child(4) .dot { background: #f0603a; color: #fff; }
.how-list h3 { font-size: var(--step-1); margin-bottom: var(--space-2); }
.how-list p { color: var(--text-2); }
@media (max-width: 860px) { .how-list { grid-template-columns: 1fr 1fr; } .how-list::before { display: none; } }
@media (max-width: 520px) { .how-list { grid-template-columns: 1fr; } }

/* Included */
.included { background: var(--bg-1); }
.inc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-4); list-style: none; padding: 0; margin: 0; }
.inc-grid li { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: var(--space-5); box-shadow: 0 1px 2px rgb(28 27 51 / 0.04); }
.inc-grid svg { width: 2.2rem; height: 2.2rem; margin-bottom: var(--space-3); color: var(--coral-text); }
.inc-grid h3 { font-size: var(--step-1); margin-bottom: var(--space-2); }
.inc-grid p { color: var(--text-2); margin: 0; font-size: 0.97em; }
@media (max-width: 860px) { .inc-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .inc-grid { grid-template-columns: 1fr; } }

/* Who */
.who-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-4); list-style: none; padding: 0; margin: 0; }
.who-grid li { padding: var(--space-5); border-radius: var(--radius); background: #fff; border: 1px solid var(--border); border-left: 6px solid var(--c, var(--accent)); }
.who-grid h3 { font-size: var(--step-1); margin-bottom: var(--space-1); }
.who-grid p { margin: 0; color: var(--text-2); }
.who-grid li:nth-child(1) { --c: #ffc21a; } .who-grid li:nth-child(2) { --c: #ff9a52; } .who-grid li:nth-child(3) { --c: #f2603a; }
.who-grid li:nth-child(4) { --c: #f2603a; } .who-grid li:nth-child(5) { --c: #ff9a52; } .who-grid li:nth-child(6) { --c: #ffc21a; }
.who-note { margin-top: var(--space-5); color: var(--text-2); }
@media (max-width: 860px) { .who-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .who-grid { grid-template-columns: 1fr; } }

/* FAQ */
.faq-wrap { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: var(--space-7); align-items: start; }
.faq details { border-bottom: 1px solid var(--border-2); }
.faq details:first-child { border-top: 1px solid var(--border-2); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: var(--space-4); padding: var(--space-4) 0; font-weight: 600; font-size: var(--step-1); font-family: var(--font-display); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; display: grid; place-items: center; width: 2rem; height: 2rem; border-radius: 50%; background: var(--accent); font-size: 1.3rem; line-height: 1; transition: transform 250ms var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .ans { padding: 0 var(--space-7) var(--space-4) 0; color: var(--text-2); }
.faq .ans p:last-child { margin-bottom: 0; }
@media (max-width: 860px) { .faq-wrap { grid-template-columns: 1fr; gap: var(--space-5); } }

/* Intake form */
.start { background: linear-gradient(180deg, var(--bg) 0%, #ffe9b0 100%); }
.start-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: var(--space-7); align-items: start; }
.start-copy ul { padding-left: 1.2em; color: var(--text-2); }
.start-copy li { margin-bottom: var(--space-2); }
.form-card { background: #fff; border-radius: var(--radius-lg); padding: var(--space-6); box-shadow: var(--shadow); border: 1px solid var(--border); }
.progress { display: flex; gap: var(--space-2); margin-bottom: var(--space-5); list-style: none; padding: 0; }
.progress li { flex: 1; font-size: var(--step--1); font-weight: 600; color: var(--text-3); }
.progress li::before { content: ""; display: block; height: 6px; border-radius: 99px; background: var(--border); margin-bottom: 0.4rem; transition: background 300ms; }
.progress li.is-done::before, .progress li.is-current::before { background: var(--accent-2); }
.progress li.is-current { color: var(--text); }
.step-title { font-size: var(--step-2); }
.field { margin-bottom: var(--space-4); }
.field label, .field legend { display: block; font-weight: 600; margin-bottom: 0.35rem; padding: 0; }
.field .hint { font-weight: 400; color: var(--text-3); font-size: var(--step--1); }
.field input[type="text"], .field input[type="email"], .field input[type="tel"], .field select { width: 100%; padding: 0.75em 0.9em; border: 1.5px solid var(--border-2); border-radius: var(--radius-sm); background: #fff; min-height: 3rem; }
.field input:focus, .field select:focus { outline: 3px solid var(--accent); outline-offset: 0; border-color: var(--text); }
.field.has-error input, .field.has-error select, .field.has-error fieldset { border-color: var(--danger); }
.field-error { color: var(--danger); font-size: var(--step--1); font-weight: 600; margin: 0.3rem 0 0; min-height: 0; }
fieldset.field { border: 0; padding: 0; margin: 0 0 var(--space-4); }
.choices { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-2); }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.choice span { display: flex; align-items: center; justify-content: center; text-align: center; min-height: 3rem; padding: 0.5em; border: 1.5px solid var(--border-2); border-radius: var(--radius-sm); font-weight: 600; transition: all 200ms; }
.choice input:checked + span { background: var(--accent); border-color: var(--text); }
.choice input:focus-visible + span { outline: 3px solid var(--text); outline-offset: 2px; }
.form-actions { display: flex; justify-content: space-between; gap: var(--space-3); margin-top: var(--space-5); }
.form-actions .btn[hidden] { display: none; }
.form-actions .spacer { flex: 1; }
.form-status { color: var(--danger); font-weight: 600; margin-top: var(--space-3); min-height: 1.4em; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.fine { font-size: var(--step--1); color: var(--text-3); margin-top: var(--space-3); }
.success { text-align: center; padding: var(--space-5) 0; }
.success:focus { outline: none; }
.success .sun { width: 6rem; margin: 0 auto var(--space-4); }
@media (max-width: 960px) { .start-grid { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .choices { grid-template-columns: 1fr; } .form-card { padding: var(--space-5) var(--space-4); } }

/* Footer */
.site-footer { background: var(--night); color: #d8d3c4; padding-block: var(--space-7); }
.foot { display: grid; grid-template-columns: 1.4fr 1fr; gap: var(--space-6); }
.foot p { margin: 0 0 var(--space-2); }
.foot a { color: #fff7e6; }
.foot ul { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--space-2); }
.foot strong { color: #fff; font-family: var(--font-display); font-size: 1.2rem; }
@media (max-width: 640px) { .foot { grid-template-columns: 1fr; } }

/* Legal + 404 */
.legal { max-width: 46rem; padding-block: var(--space-8); }
.legal h1 { font-size: var(--step-4); }
.legal h2 { font-size: var(--step-2); margin-top: var(--space-6); }
.legal p, .legal li { color: var(--text-2); }
.legal .draft { display: inline-block; background: var(--accent); color: var(--text); font-weight: 700; padding: 0.2em 0.8em; border-radius: 99px; font-size: var(--step--1); }
.notfound { text-align: center; padding-block: var(--space-9); }
.notfound .big { font-family: var(--font-display); font-size: clamp(6rem, 20vw, 12rem); font-weight: 800; line-height: 0.9; margin: 0; color: var(--accent-2); letter-spacing: -0.06em; }

@media (prefers-reduced-motion: reduce) {
  .hero::before { animation: none; }
  .b, .t, .art, .live-badge, .b::before { transition: none !important; }
  .live-badge i, .caret { animation: none !important; }
}
.mock.is-reset *, .mock.is-reset { transition: none !important; }

/* Reviewer fixes: keep the wordmark as one word, and keep the header CTA on one line on small phones. */
.logo .wordmark { white-space: nowrap; }
.btn-sm { white-space: nowrap; }
@media (max-width: 420px) {
  .site-header .btn-sm, header .btn-sm { display: none; }
}
