@font-face {
  font-family: "Geist"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url("/assets/geist-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+20A0-20AB, U+20AD-20C0;
}
@font-face {
  font-family: "Geist"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url("/assets/geist-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --bg: #FDFBF6; --surface: #fff; --line: #E7DEC9;
  --text: #241F17; --muted: #6E6553; --ink: #16120C;
  --gold: #9A7218; --gold-deep: #7A5A11; --gold-mid: #C9962F; --gold-lite: #FAF3E0;
  --danger: #A8352A; --danger-soft: #FDF2F0; --danger-line: #F0CCC6;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.5 "Geist", system-ui, sans-serif; }
a { color: var(--gold-deep); }

.shell { width: 100%; max-width: 620px; margin: 0 auto; padding: clamp(24px, 6vw, 56px) 16px 56px; }
.brand { display: inline-block; }
.brand img { display: block; height: 40px; width: auto; }

.progress { height: 4px; margin: 28px 0 32px; border-radius: 4px; background: var(--line); overflow: hidden; }
.progress span { display: block; height: 100%; width: 0; background: var(--gold-mid); transition: width .24s ease; }
html:not(.js) .progress { display: none; }

.error-banner { padding: 12px 14px; border: 1px solid var(--danger-line); border-radius: 9px; background: var(--danger-soft); color: var(--danger); font-size: 14px; }
.hp { position: absolute; left: -9999px; }

.step { margin-bottom: 40px; }
.js .step { display: none; margin: 0; }
.js .step.is-active { display: block; }

.eyebrow { margin: 0 0 8px; color: var(--muted); font-size: 13.5px; font-variant-numeric: tabular-nums; }
h1 { margin: 0 0 22px; color: var(--ink); font-size: clamp(25px, 5vw, 32px); line-height: 1.18; font-weight: 600; letter-spacing: -.02em; outline: none; }
h1 label { cursor: default; }

.goals { display: grid; gap: 10px; }
.goal input { position: absolute; opacity: 0; }
.goal-card {
  display: block; padding: 14px 16px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface);
  cursor: pointer; transition: border-color .16s ease, background .16s ease;
}
.goal-card b { display: block; color: var(--ink); font-weight: 550; }
.goal-card:hover { border-color: var(--gold-mid); }
.goal input:checked + .goal-card { border-color: var(--gold); background: var(--gold-lite); box-shadow: inset 0 0 0 1px var(--gold); }
.goal input:focus-visible + .goal-card { outline: 2px solid var(--gold); outline-offset: 2px; }

.text { width: 100%; height: 52px; padding: 0 14px; border: 1px solid var(--line); border-radius: 9px; background: var(--surface); color: var(--ink); font: inherit; font-size: 17px; }
.text:focus { outline: 2px solid var(--gold); outline-offset: 1px; border-color: var(--gold); }

.check { display: flex; gap: 10px; margin-top: 18px; color: var(--muted); font-size: 13.5px; line-height: 1.5; cursor: pointer; }
.check input { flex: none; width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--gold); }
.check em { font-style: normal; font-weight: 550; color: var(--text); }

.field-error { margin: 8px 0 0; color: var(--danger); font-size: 13.5px; }

.nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 26px; }
.btn { min-height: 48px; padding: 0 22px; border-radius: 9px; border: 1px solid transparent; font: inherit; font-weight: 550; cursor: pointer; }
.btn-primary { flex: 1; max-width: 280px; margin-left: auto; background: var(--ink); color: #fff; }
.btn-primary:hover { background: #2C2518; }
.btn-primary:disabled { opacity: .6; cursor: progress; }
.btn-ghost { background: transparent; border-color: var(--line); color: var(--text); }
.btn-ghost:hover { border-color: var(--gold-mid); }
.btn:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
html:not(.js) [data-back], html:not(.js) [data-next] { display: none; }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }

/* Held back until the first translated text is in place: see gt-init.js. */
.gt-pending body { visibility: hidden; }
.gt-pending .gtranslate_wrapper { visibility: visible; }
