@font-face { font-family: 'Libra Serif Modern'; src: url(fonts/libra-serif-modern.woff2) format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Inter'; src: url(fonts/inter-latin-wght-normal.woff2) format('woff2'); font-weight: 100 900; font-display: swap; }
@font-face { font-family: 'Cormorant Garamond'; src: url(fonts/cormorant-garamond-latin-500-italic.woff2) format('woff2'); font-weight: 500; font-style: italic; font-display: swap; }

/* Layout: dark Onyx band with the greeting and step bars, then warm Bone question cards with numbered peach badges.
   Single deliberate light look (the studio's brand), so no dark-mode variant. */
:root {
  color-scheme: light;
  --onyx: #141413; --porcelain: #FAF9F6; --bone: #E9E0D3; --card: #EFE7DC; --peach: #CD785C;
  --clay: #A9533A;            /* filled buttons: white text passes AA at this size and weight */
  --done-card: #DFDCD6;      /* answered cards: warm grey */
  --alert: #B3261E;           /* unanswered-question red: AA on Porcelain */
  --brown: #9C4F39;           /* Reddish Brown: light-card accents and small text */
  --warm-card: #D8A28C;       /* Burnt Peach softened with Bone: alternate question cards */
  --ink-2: #3A3834; --ink-3: #5E5A53; --on-dark-1: #E9E0D3; --on-dark-2: #CFC8BC; --seg-off: #3A3834;
  --hi-warm: #E6C8AF;         /* Bone warmed with peach: the "Hi Sam." line */
  --line: rgba(20, 20, 19, .12); --line-strong: rgba(20, 20, 19, .22);
  --display: 'Libra Serif Modern', 'Times New Roman', serif;
  --accent: 'Cormorant Garamond', Georgia, serif;
  --sans: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--porcelain); color: var(--onyx); font-family: var(--sans); font-size: 18px; line-height: 1.55; }
a { color: var(--brown); text-underline-offset: 3px; }
svg { width: 22px; height: 22px; flex: none; }

/* ---- hero band ---- */
.hero { background: var(--onyx); color: var(--porcelain); padding-inline: 16px; padding-block: 22px 30px; }
.hero-in { max-width: 860px; margin: 0 auto; }
.toprow { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px; margin-bottom: 30px; }
.brand { font-family: var(--display); font-size: 24px; letter-spacing: -.01em; color: var(--porcelain); }
.brand em { font-family: var(--accent); font-style: italic; font-weight: 500; color: var(--peach); font-size: 1.08em; }
.steps { display: flex; align-items: center; gap: 12px; }
.steps-label { font-size: 15px; font-weight: 600; color: var(--porcelain); }
.segs { display: flex; gap: 6px; }
.seg { width: 40px; height: 10px; border-radius: 99px; background: var(--seg-off); }
.seg.on { background: var(--peach); }
.hero h1 { font-family: var(--sans); font-weight: 800; font-size: clamp(36px, 8.4vw, 60px); line-height: 1.02; letter-spacing: -.035em; margin: 0 0 14px; text-wrap: balance; }
/* Page 1 greeting: serif, with "found." in the brand italic */
.hero h1.greet { font-family: var(--display); font-weight: 400; font-size: clamp(40px, 8.6vw, 66px); line-height: 1.04; letter-spacing: -.02em; -webkit-text-stroke: .025em currentColor; margin-bottom: 18px; }
.greet .hi { display: block; font-size: .56em; letter-spacing: -.01em; -webkit-text-stroke: 0; color: var(--hi-warm); margin-bottom: .14em; }
.greet em { font-family: var(--accent); font-style: italic; font-weight: 500; color: var(--peach); font-size: 1.1em; letter-spacing: -.01em; -webkit-text-stroke: 0; }
.lead { margin: 0; font-size: 17px; color: var(--on-dark-2); text-wrap: pretty; }
.facts { list-style: none; padding: 0; margin: 26px 0 0; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 0; font-size: 16px; font-weight: 500; color: var(--on-dark-1); }
.facts li { display: inline-flex; align-items: center; gap: 10px; }
.facts li + li { border-left: 1px solid rgba(205, 120, 92, .45); margin-left: 18px; padding-left: 18px; }
.chip { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: #241E1B; color: var(--on-dark-1); }
.chip svg { width: 20px; height: 20px; }
.facts .hot { color: var(--peach); font-weight: 600; }
.facts .hot .chip { color: var(--peach); }

/* ---- page ---- */
.wrap { max-width: 892px; margin: 0 auto; padding-inline: 16px; padding-block: 0 40px; }
.pagehead { padding-block: 34px 6px; }
.eyebrow { display: flex; align-items: center; gap: 14px; margin: 0 0 8px; font-size: 14px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: var(--brown); }
.eyebrow i { display: block; width: 56px; height: 1.5px; background: var(--brown); }
.pagehead h2 { font-family: var(--sans); font-weight: 800; font-size: clamp(28px, 6vw, 40px); line-height: 1.08; letter-spacing: -.03em; margin: 0; text-wrap: balance; }
.sub { margin: 10px 0 0; color: var(--ink-3); font-size: 18px; }

.qs { display: grid; gap: 30px; margin-top: 34px; }
.qs > * { min-width: 0; }   /* a card may never grow wider than the screen */
.qhead h3, .hint, .found p, .opt span { overflow-wrap: anywhere; }   /* long words like "www.••••••.com.au" wrap on small phones instead of pushing the page sideways */
.qs.first { margin-top: 64px; }  /* a clear pause after the dark header */
.card { position: relative; background: var(--card); border-radius: 18px; padding: 22px 18px 20px; box-shadow: 0 1px 2px rgba(20, 20, 19, .05), 0 6px 18px rgba(20, 20, 19, .05); }
.qhead { display: flex; align-items: center; gap: 14px; }
.badge { flex: none; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 12px; background: var(--brown); color: var(--porcelain); font-weight: 800; font-size: 19px; letter-spacing: -.01em; font-variant-numeric: tabular-nums; }
.card.done .badge { background: var(--onyx); }
.qhead h3 { margin: 0; font-size: clamp(19px, 2.6vw, 23px); font-weight: 750; line-height: 1.3; letter-spacing: -.01em; text-wrap: balance; }
.body { margin-top: 8px; }
.hint { margin: 0 0 14px; color: var(--ink-3); font-size: 15px; line-height: 1.4; }  /* quiet helper copy that belongs to the question */
.found { background: var(--porcelain); border-radius: 12px; padding: 12px 16px 14px; }
.found span { display: block; font-size: 13px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: var(--brown); }
.found p { margin: 4px 0 0; font-size: 22px; font-weight: 600; letter-spacing: -.01em; word-break: break-word; }
.found .found-why { margin: 12px 0 0; padding-top: 12px; border-top: 1px solid rgba(20, 20, 19, .1); font-size: 16px; font-weight: 400; letter-spacing: 0; line-height: 1.45; color: rgba(20, 20, 19, .64); }  /* why it matters, attached to the answer */
.found.slim { margin-bottom: 12px; }
.found.slim p { font-size: 16px; color: var(--ink-2); }
.why { margin: 12px 0 0; color: var(--ink-3); font-size: 16px; }
.card hr { border: 0; height: 1px; background: var(--line); margin: 16px 0; }

/* Answer buttons: share each row equally, never break a label across lines.
   Picked = Reddish Brown fill everywhere; a second click un-picks. */
.opts { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.opts.three { margin-top: 16px; }
.opt { flex: 1 1 0; min-width: max-content; white-space: nowrap; display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 56px; padding: 10px 18px; font: inherit; font-size: 17px; font-weight: 600; text-align: center; color: var(--onyx); background: var(--porcelain); border: 1.5px solid rgba(20, 20, 19, .18); border-radius: 10px; cursor: pointer; transition: background .15s, color .15s, border-color .15s; }
.opts.solo .opt { flex: 0 0 auto; padding-inline: 22px; }
.opt:hover { border-color: var(--onyx); }
.opt.yes { border-color: var(--brown); color: var(--brown); }
.opt.quiet { color: var(--ink-2); font-weight: 500; }
.opt.on, .opt.yes.on, .opt.quiet.on { background: var(--brown); border-color: var(--brown); color: var(--porcelain); }
.in { width: 100%; font: inherit; font-size: 18px; padding: 13px 15px; min-height: 54px; border: 1.5px solid var(--line-strong); border-radius: 10px; background: var(--porcelain); color: var(--onyx); margin-top: 12px; }
textarea.in { resize: vertical; }
.in:focus { border-color: var(--onyx); outline: none; }
button:focus-visible, a:focus-visible, .in:focus-visible { outline: 3px solid var(--peach); outline-offset: 2px; }

/* ---- warm question cards (every second question) ----
   Only the card surface changes; badges, buttons and panels stay the same as the Bone cards. */
.card.warm { background: var(--warm-card); }
.card.warm .hint, .card.warm .why { color: var(--ink-2); }   /* softer grey is too faint on peach */
.card.warm hr { background: rgba(20, 20, 19, .14); }

/* ---- answered: every card settles to the same quiet grey, whatever its colour was ---- */
.card.done { background: var(--done-card); }
.card.done .hint, .card.done .why { color: var(--ink-3); }

/* ---- unanswered question, shown after "Continue" with gaps ---- */
.card.missing { outline: 2.5px solid var(--alert); outline-offset: 0; box-shadow: 0 0 0 7px rgba(179, 38, 30, .14); }
.card.missing .badge { background: var(--alert); }
.card:focus { outline: none; }
.card.missing:focus { outline: 2.5px solid var(--alert); }
.miss-note { display: inline-flex; align-items: center; gap: 8px; margin: 12px 0 0; padding: 7px 12px 7px 10px; border-radius: 99px; background: var(--porcelain); color: var(--alert); font-size: 15px; font-weight: 600; line-height: 1.3; }
.miss-note svg { width: 18px; height: 18px; }
.nav-note { margin: 36px 0 -18px; padding: 12px 16px; border-radius: 12px; background: #FBEDEA; border: 1.5px solid var(--alert); color: var(--alert); font-size: 16px; font-weight: 600; }

.card.info { background: #FFFFFF; border: 1.5px dashed var(--bone); box-shadow: none; padding: 16px 18px; }
.card.info p, .card.warn p { margin: 0; }
.card.warn { background: #FFF4F0; margin-top: 16px; box-shadow: none; border: 1.5px solid var(--brown); }

/* ---- navigation ---- */
.nav { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 16px; margin: 40px 0 10px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 14px; font: inherit; font-size: 19px; font-weight: 650; min-height: 62px; padding: 12px 30px; border-radius: 99px; cursor: pointer; }
.btn.primary { background: var(--clay); color: #FFFFFF; border: 0; box-shadow: 0 6px 16px rgba(169, 83, 58, .28); }
.btn.ghost { background: transparent; color: var(--onyx); border: 1.5px solid var(--line-strong); padding-inline: 22px; }
.btn[disabled] { opacity: .65; cursor: wait; }
.upnext { margin: 0 0 0 auto; color: var(--ink-3); font-size: 16px; }
.small { font-size: 15px; color: var(--ink-3); margin: 8px 0; }
.saved { display: flex; align-items: center; justify-content: flex-end; gap: 6px; }
.saved svg { width: 16px; height: 16px; color: var(--brown); }

.done-hero { padding-block-end: 40px; }
.foot { max-width: 892px; margin: 0 auto; padding-inline: 16px; padding-block: 6px 40px; font-size: 15px; color: var(--ink-3); }
.hp, .sr { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Below 900px the three facts can't share one line, so they stack (no dangling dividers). */
@media (max-width: 900px) {
  .facts { display: grid; gap: 10px; }
  .facts li + li { border-left: 0; margin-left: 0; padding-left: 0; }
}
@media (max-width: 520px) {
  .lead { font-size: 15px; }

  .opts { flex-direction: column; }                 /* phones: one button per row */
  .opt { flex: none; width: 100%; min-width: 0; white-space: normal; font-size: 16px; }
  .upnext { margin-left: 0; flex-basis: 100%; }
  .btn.primary { flex: 1 1 auto; }
  .seg { width: 30px; }
}
@media (min-width: 720px) {
  .card { padding: 26px 26px 22px 26px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
