/* Functional Idaho Partnership Kiosk — brand styling.
   2026-11-09 owner polish: matches Marshall's GHL form (Encode Sans Expanded, purple #470a68 / orange #ec6425, 800px card,
   16px radius, 36x40 padding, 1px #e7e2ea border, soft shadow, grey #f6f5f7 page, 5px orange top rule).
   Touch targets >= 48px; iPad portrait and phone widths. */
:root {
  --purple: #470a68;
  --purple-dark: #310747;
  --purple-tint: #f4eff7;
  --orange: #ec6425;
  --fi-orange: #ec6425; /* same brand orange, the name the briefs use */
  --orange-tint: #fff5ee;
  --ink: #1f1a24;
  --label: #344054;
  --muted: #59545d;
  --placeholder: #667085;
  --line: #d0d5dd;
  --line-soft: #e7e2ea;
  --bg: #f6f5f7;
  --ok: #1d7a46;
  --radius: 16px;
  --radius-sm: 8px;
  --font: "Encode Sans Expanded", Arial, sans-serif;
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; background: var(--bg); color: var(--ink); font-family: var(--font); font-size: 17px; line-height: 1.5; -webkit-text-size-adjust: 100%; }
body { min-height: 100vh; display: flex; justify-content: center; padding: 28px 16px; }
.card { width: 100%; max-width: 800px; background: #fff; border: 1px solid var(--line-soft); border-top: 5px solid var(--orange); border-radius: var(--radius); box-shadow: 0 8px 32px rgba(0, 0, 0, .06); padding: 0 40px 36px; align-self: flex-start; }
.loading { padding: 60px; text-align: center; color: var(--muted); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.center { text-align: center; }

/* top bar: step label left, Start over right, orange progress on a grey track */
.topbar { display: flex; justify-content: space-between; align-items: center; padding: 18px 0 8px; }
.topbar .step { color: var(--purple); font-weight: 600; font-size: 16px; }
.topbar .startover { background: none; border: 0; color: var(--ink); text-decoration: underline; text-underline-offset: 3px; font: inherit; font-size: 16px; padding: 10px 0 10px 12px; min-height: 48px; cursor: pointer; }
.progress { height: 4px; background: var(--line-soft); border-radius: 2px; margin: 0 0 22px; overflow: hidden; }
.progress > div { height: 100%; background: var(--orange); transition: width .3s; }

/* door page — the logo PNG carries the name + tagline; no eyebrow text under it (owner, round 2 item 1) */
.brand { text-align: center; padding: 26px 0 18px; border-bottom: 3px solid var(--orange); margin-bottom: 16px; }
.brand .mark { display: block; width: 200px; max-width: 50%; height: auto; margin: 0 auto 6px; }
h1 { color: var(--orange); font-size: 32px; font-weight: 700; letter-spacing: -.02em; line-height: 1.2; margin: 10px 0 4px; text-align: center; }
h2 { color: var(--purple); font-size: 27px; font-weight: 700; letter-spacing: -.03em; line-height: 1.35; margin: 0 0 8px; }
p.lead { color: var(--ink); margin: 0 0 20px; font-size: 19px; line-height: 1.5; }
p.lead.tight { margin-bottom: 4px; }
.hint { color: var(--muted); font-size: 15px; line-height: 1.6; margin: 6px 0; }
.hint.small { font-size: 14px; }
.hint.lead-sub { margin: 0 0 18px; font-size: 16px; }
.section-title { display: block; color: var(--label); font-weight: 600; font-size: 17px; margin: 18px 0 8px; }
.req { color: var(--purple); }

/* door cards: title + one-line subtitle + chevron; the featured one gets an orange left accent */
.choice { display: block; width: 100%; text-align: left; background: #fff; border: 1px solid var(--line-soft); border-radius: 12px; padding: 18px 56px 18px 22px; margin: 12px 0; cursor: pointer; font: inherit; color: inherit; position: relative; min-height: 84px; transition: border-color .15s, background .15s; }
.choice:hover { border-color: #c9bfd1; }
.choice:active, .choice.selected { border-color: var(--purple); background: var(--purple-tint); }
.choice .title { display: block; font-weight: 700; font-size: 22px; color: var(--purple); line-height: 1.25; }
.choice .sub { display: block; color: var(--muted); font-size: 15px; margin-top: 4px; }
.choice::after { content: ""; position: absolute; right: 24px; top: 50%; width: 12px; height: 12px; border-right: 2.5px solid var(--purple); border-bottom: 2.5px solid var(--purple); transform: translateY(-50%) rotate(-45deg); }
.choice.accent { border-left: 6px solid var(--orange); padding-left: 20px; }

/* illustrated choice tiles (how did you hear about us, goals, who referred you). Round 3: minmax(0, 1fr) + overflow-wrap so a
   long label ("Ai - ChatGPT/GoogleAI/Claude") can never widen its column past the card at phone width. */
.tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 4px 0 8px; }
.tiles.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.tile { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; min-height: 104px; padding: 16px 14px; background: #fff; border: 1px solid var(--line-soft); border-radius: 12px; color: var(--purple); font: inherit; font-size: 17px; font-weight: 500; line-height: 1.3; text-align: center; cursor: pointer; transition: border-color .15s, background .15s; }
.tile.plain { min-height: 64px; }
.tile:hover { border-color: #c9bfd1; }
.tile:active, .tile.selected, .tile[aria-pressed="true"] { border: 2px solid var(--orange); background: var(--orange-tint); padding: 15px 13px; }
.tile .tile-icon { color: var(--purple); width: 30px; height: 30px; }
.tile .tile-copy { color: var(--ink); font-weight: 600; overflow-wrap: anywhere; }
.tile .tile-sub { color: var(--muted); font-size: 14px; font-weight: 400; margin-top: -4px; }
@media (max-width: 600px) { .tiles, .tiles.three { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* fields */
label.field { display: block; margin: 20px 0 8px; color: var(--label); font-weight: 600; font-size: 17px; line-height: 1.4; }
label.field + input, label.field + select { margin-top: 0; }
.sublabel { display: block; color: var(--purple); font-weight: 600; font-size: 13px; margin: 0 0 6px; }
input[type=text], input[type=tel], input[type=email], input[type=date], select, .dob-select, .city-select {
  width: 100%; min-height: 56px; font: inherit; font-size: 18px; color: var(--ink); padding: 13px 14px; background: #fff;
  border: 1px solid var(--line); border-radius: var(--radius-sm); -webkit-appearance: none; appearance: none; box-shadow: 0 1px 2px rgba(16, 24, 40, .05);
}
select, select.dob-select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23344054' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 40px; }
input::placeholder { color: var(--placeholder); opacity: 1; }
input:focus, select:focus, .dob-select:focus, .city-select:focus, .tile:focus, .choice:focus, .popup-tile:focus, .gender-tile:focus-within { outline: 2px solid var(--purple); outline-offset: 2px; border-color: var(--purple); }
:focus:not(:focus-visible) { outline: none; }
input.invalid, select.invalid, .city-select.invalid, .dob.invalid .dob-select { border-color: #c62828; background-color: #fff6f6; }
input.with-icon.email { padding-left: 44px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%23667085' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='14' rx='2'/%3E%3Cpath d='m3 7 9 6 9-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: 14px center; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: start; }
@media (max-width: 600px) { .row { grid-template-columns: 1fr; } }
.actions { margin-top: 24px; border-top: 1px solid var(--line-soft); padding-top: 18px; }
.btn { display: flex; align-items: center; justify-content: center; gap: 12px; width: 100%; min-height: 58px; font: inherit; font-weight: 600; font-size: 19px; padding: 16px 20px; border-radius: var(--radius-sm); border: 1px solid var(--purple); background: var(--purple); color: #fff; cursor: pointer; }
.btn:hover { background: var(--purple-dark); }
.btn:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }
.btn[disabled] { background: #b7a3cb; border-color: #b7a3cb; cursor: not-allowed; }
.btn.secondary { background: #fff; color: var(--purple); border: 1px solid var(--purple); margin-top: 10px; }
.btn .arrow { flex: none; }
.back { display: block; margin: 18px auto 0; background: none; border: 0; color: var(--ink); text-decoration: underline; text-underline-offset: 3px; font: inherit; font-size: 19px; padding: 10px 16px; min-height: 48px; cursor: pointer; }
.linklike { background: none; border: 0; padding: 10px 6px; min-height: 44px; font: inherit; font-size: 16px; color: var(--purple); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.linklike.orange { color: var(--orange); }
.linklike.small { font-size: 14px; padding-left: 0; }
.error { background: #fff4d6; border: 2px solid #e0a300; border-radius: var(--radius-sm); padding: 12px 14px; margin: 12px 0; color: #5b3c00; }
.banner { background: #fff8d6; border: 2px solid #d96a2a; border-radius: var(--radius-sm); padding: 12px 16px; margin: 0 0 8px; color: #3a2a12; font-size: 15px; line-height: 1.6; }
.banner[hidden] { display: none; }

/* round 3 item 1f: per-screen validation. Owner: "an offbrand color telling them where they need to finish" — YELLOW
   text in a RED-outlined box, directly under the field it is about. (Yellow on white is unreadable, so the box has a
   deep-red fill behind the bright red outline: #ffe066 on #7f1d1d ≈ 7.4:1.) The "!" mark means colour is not the only
   signal. The primary button is "blocked" — muted, aria-disabled — until the screen is valid; a tap on it shows these. */
.field-problem { display: flex; align-items: flex-start; gap: 10px; margin: 8px 0 4px; padding: 10px 14px; border: 2px solid #ef4444; border-radius: var(--radius-sm); background: #7f1d1d; color: #ffe066; font-weight: 600; font-size: 16px; line-height: 1.45; }
.field-problem-mark { flex: none; width: 22px; height: 22px; border-radius: 50%; background: #ffe066; color: #7f1d1d; font-weight: 800; font-size: 15px; line-height: 22px; text-align: center; margin-top: 1px; }
.btn.blocked { background: #b7a3cb; border-color: #b7a3cb; cursor: default; }
.btn.blocked:hover { background: #b7a3cb; }
.photo-box.invalid, .consent.invalid, canvas.sig.invalid { border-color: #c62828; }

/* round 3 item 1g: the shared 3-2-1 countdown. The primary button reads "Continuing in 3…" and the floating pill repeats
   it where the button may be scrolled away (long forms, the keyboard up). "Wait" cancels; any further input restarts. */
.btn.counting { background: var(--orange); border-color: var(--orange); }
.cd-pill { position: fixed; left: 50%; bottom: 18px; transform: translateX(-50%); z-index: 20; display: flex; align-items: center; gap: 14px; padding: 10px 12px 10px 20px; background: var(--orange); color: #fff; border-radius: 999px; box-shadow: 0 8px 24px rgba(0, 0, 0, .22); font-weight: 700; font-size: 19px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.cd-pill[hidden] { display: none; }
.cd-pill .cd-wait { font: inherit; font-size: 16px; font-weight: 600; color: var(--orange); background: #fff; border: 0; border-radius: 999px; min-height: 40px; padding: 6px 16px; cursor: pointer; }

/* phone: static US flag + the live placement mask */
.phone-wrap { position: relative; }
.phone-flag { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); display: flex; align-items: center; gap: 6px; color: var(--label); font-size: 12px; pointer-events: none; }
.phone-flag .flag { border: 1px solid #ddd; border-radius: 2px; }
.phone-editor { padding-left: 76px !important; letter-spacing: .04em; font-variant-numeric: tabular-nums; }

/* date of birth: Month select, Day + Year triggers, popup grids */
.field-group { display: block; }
.dob-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 12px; }
@media (max-width: 600px) { .dob-grid { grid-template-columns: 1fr 1fr; } .dob-grid > div:first-child { grid-column: 1 / -1; } }
.dob-select { display: flex; align-items: center; justify-content: space-between; text-align: left; cursor: pointer; }
.dob-trigger { background: #fff; }
.dob-trigger[disabled] { background: #f2f2f3; color: var(--placeholder); cursor: not-allowed; box-shadow: none; }
.dob-trigger[disabled] .chev { color: var(--placeholder); }
.dob.complete .dob-select { border-color: var(--orange); }
.chev { color: var(--label); font-size: 18px; line-height: 1; }
.popup { position: relative; z-index: 2; background: #fff; border: 1px solid var(--line-soft); border-radius: 12px; box-shadow: 0 12px 36px rgba(20, 10, 30, .16); padding: 14px 16px 16px; margin: 10px 0 4px; }
.popup-head { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.popup-head h3 { flex: 1; margin: 0; color: var(--purple); font-size: 18px; font-weight: 700; }
.popup-head .linklike { padding: 6px 0; min-height: 0; }
.popup-close { background: none; border: 0; font: inherit; font-size: 26px; line-height: 1; color: var(--ink); width: 44px; height: 44px; border-radius: 8px; cursor: pointer; }
.popup-close:hover { background: var(--purple-tint); }
.popup-grid { display: grid; gap: 8px; }
.popup-grid.cols3 { grid-template-columns: repeat(3, 1fr); }
.popup-grid.cols5 { grid-template-columns: repeat(5, 1fr); }
.popup-grid.cols7 { grid-template-columns: repeat(7, 1fr); }
@media (max-width: 600px) { .popup-grid.cols5 { grid-template-columns: repeat(3, 1fr); } .popup-grid.cols7 { grid-template-columns: repeat(5, 1fr); } .popup-grid.cols3 { grid-template-columns: repeat(2, 1fr); } }
.popup-tile { min-height: 56px; padding: 10px 8px; background: #fff; border: 1px solid var(--line-soft); border-radius: var(--radius-sm); color: var(--purple); font: inherit; font-size: 17px; cursor: pointer; }
.popup-tile:hover { border-color: #c9bfd1; }
.popup-tile.selected, .popup-tile[aria-pressed="true"] { border: 2px solid var(--orange); background: var(--orange-tint); color: var(--purple); }
.popup-tile[disabled] { color: #b9b3bf; background: #fafafa; cursor: not-allowed; }

/* city: trigger button -> popup grid; "My city is not listed" -> text input.
   Round 2 item 6: every tile the same size (equal columns via minmax(0,1fr), equal rows via grid-auto-rows; long names
   wrap inside a fixed box) and the not-listed tile in brand orange with white text. */
.city-wrap { position: relative; }
.city-select { display: flex; align-items: center; justify-content: space-between; text-align: left; cursor: pointer; color: var(--placeholder); }
.city-select.chosen { color: var(--ink); border: 2px solid var(--orange); padding: 12px 13px; }
.city-popup { position: absolute; left: 0; right: 0; top: calc(100% + 6px); margin: 0; min-width: 320px; }
.city-popup .popup-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: 1fr; }
.city-popup .popup-tile { min-height: 64px; height: 100%; padding: 8px 6px; font-size: 16px; line-height: 1.25; overflow-wrap: anywhere; }
.city-popup .popup-tile.other, .city-popup .popup-tile.other.selected, .city-popup .popup-tile.other[aria-pressed="true"] { background: var(--orange); border-color: var(--orange); color: #fff; font-weight: 600; }
.city-popup .popup-tile.other:hover { background: #d9561a; border-color: #d9561a; }
.city-popup .popup-tile.other.selected, .city-popup .popup-tile.other[aria-pressed="true"] { box-shadow: inset 0 0 0 2px #fff; }
@media (max-width: 600px) { .city-popup { position: relative; top: auto; margin-top: 10px; min-width: 0; } .city-popup .popup-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 601px) { .city-popup { width: 150%; right: auto; left: -50%; } }

/* round 3 item 1d: "Who is giving your tour" — the city-tile component as an inline grid: equal columns (minmax(0,1fr)),
   equal rows (grid-auto-rows), first names only, selected = brand orange with white text. 3 across at every width
   (nine coaches = three rows); long names wrap inside the fixed box. */
.host-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: 1fr; gap: 10px; margin: 0 0 4px; }
.host-grid .popup-tile { min-height: 64px; height: 100%; padding: 8px 6px; font-size: 18px; font-weight: 600; line-height: 1.25; overflow-wrap: anywhere; }
.host-grid .popup-tile.selected, .host-grid .popup-tile[aria-checked="true"] { background: var(--fi-orange); border: 2px solid var(--fi-orange); color: #fff; box-shadow: inset 0 0 0 2px #fff; }
.host-grid .popup-tile:hover { border-color: #c9bfd1; }
.host-grid .popup-tile.selected:hover, .host-grid .popup-tile[aria-checked="true"]:hover { background: #d9561a; border-color: #d9561a; }
.host-grid.invalid .popup-tile { border-color: #c62828; }
@media (max-width: 600px) { .host-grid .popup-tile { font-size: 16px; padding: 8px 4px; } }

/* gender tiles: Female first, line-art figure above the word; selected = orange border (figures 56×70 since round 2) */
.gender { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 4px 0 8px; }
.gender-tile { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; min-height: 160px; padding: 18px; background: #fff; border: 1px solid var(--line-soft); border-radius: 12px; cursor: pointer; color: var(--purple); transition: border-color .15s, background .15s; }
.gender-tile input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.gender-tile .gender-figure { color: var(--purple); }
.gender-tile .gender-word { font-size: 19px; font-weight: 600; color: var(--ink); }
.gender-tile:hover { border-color: #c9bfd1; }
.gender-tile.selected, .gender-tile:has(input:checked) { border: 2px solid var(--orange); background: var(--orange-tint); padding: 17px; }

/* photo */
.photo-box { border: 1px dashed #9c82ab; border-radius: 12px; background: #faf8fc; min-height: 220px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 16px; cursor: pointer; margin-top: 8px; }
.photo-box img { max-width: 100%; max-height: 320px; border-radius: 10px; }
.photo-box .big { font-weight: 700; font-size: 22px; color: var(--purple); }
.photo-box input { display: none; }

/* waiver + signature. Round 2 item 2: no "Waiver terms" label, the link sits at the left edge; inside the preview box the
   document title and the numbered section headers are ~2x (15->34 / 17->32 px) and the body paragraphs smaller (15->13 px).
   The same box expands for "View full waiver" (.full), so the sizes hold there too; the signed PDF is untouched. */
.waiver-head { display: flex; justify-content: flex-start; align-items: baseline; margin-top: 4px; }
.waiver-head .linklike { padding-left: 0; }
.waiver-text { border: 1px solid var(--line-soft); border-radius: 12px; padding: 14px 18px 24px; max-height: 300px; overflow-y: auto; font-size: 13px; background: #fff; line-height: 1.7; }
.waiver-text .doc-title { color: var(--ink); font-weight: 700; font-size: 34px; line-height: 1.2; letter-spacing: -.02em; margin: 4px 0 12px; }
.waiver-text h3 { color: var(--purple); margin: 18px 0 8px; padding-top: 14px; border-top: 1px solid var(--line-soft); font-size: 32px; line-height: 1.25; letter-spacing: -.02em; }
/* round 3 item 1e (owner): breathing room around "… Electronic Signature Consent" — more space before its rule line
   (margin-top 18 -> 32), between the line and the heading (padding-top 14 -> 28) and after the heading (8 -> 22). */
.waiver-text h3.esc-head { margin-top: 32px; padding-top: 28px; margin-bottom: 22px; }
.waiver-text p { margin: 0 0 12px; }
.waiver-text.full { max-height: none; }
/* round 3 item 1e: 30 px between the waiver frame and the consent row; the row is centred on the page; the checkbox is
   34 px in a 48 px tap target (the whole row is the label, so the tap target is really the row); "Consent" and the
   agreement sentence are brand orange, bold. */
.consent { display: flex; align-items: center; justify-content: center; gap: 14px; margin: 30px auto 16px; max-width: 600px; font-size: 18px; padding: 12px 18px; border: 1px solid var(--line-soft); border-radius: var(--radius-sm); text-align: center; transition: border-color .2s, background .2s, box-shadow .2s; }
.consent .consent-check { flex: none; display: flex; align-items: center; justify-content: center; width: 48px; height: 48px; }
.consent input { width: 34px; height: 34px; margin: 0; flex: none; accent-color: var(--fi-orange); cursor: pointer; }
.consent .consent-copy { display: block; line-height: 1.45; }
.consent .consent-word, .consent .consent-text { color: var(--fi-orange); font-weight: 700; }
.consent .consent-word .req { color: inherit; }
/* item 3: signed before ticking consent -> the consent box asks for attention instead of auto-finishing */
.consent.attention { border: 2px solid var(--orange); background: var(--orange-tint); padding: 11px 17px; box-shadow: 0 0 0 4px rgba(236, 100, 37, .18); animation: nudge .5s ease-in-out 2; }
@keyframes nudge { 0%, 100% { transform: translateX(0); } 25% { transform: translateX(-6px); } 75% { transform: translateX(6px); } }
.sig-wrap { position: relative; }
canvas.sig { width: 100%; height: 190px; border: 1px solid var(--line); border-radius: 12px; background: #fff; touch-action: none; display: block; }
canvas.sig.inked { border-color: var(--purple); }
.sig-placeholder { position: absolute; left: 0; right: 0; top: 50%; transform: translateY(-50%); text-align: center; color: #9b93a5; pointer-events: none; font-size: 20px; }
.sig-tools { display: flex; justify-content: space-between; align-items: center; margin-top: 6px; }
.sig-tools button { background: none; border: 0; text-decoration: underline; text-underline-offset: 3px; color: var(--muted); font: inherit; font-size: 16px; cursor: pointer; padding: 10px; min-height: 44px; }

/* review + done */
.review dl { display: grid; grid-template-columns: 180px 1fr; gap: 10px 14px; margin: 0; font-size: 17px; }
.review dt { color: var(--muted); } .review dd { margin: 0; font-weight: 600; }
.review img { max-height: 120px; border-radius: 8px; border: 1px solid var(--line-soft); }
@media (max-width: 600px) { .review dl { grid-template-columns: 1fr; gap: 2px 0; } .review dt { margin-top: 10px; } }
.done { text-align: center; padding: 20px 0; }
.done .check { width: 84px; height: 84px; border-radius: 50%; background: var(--ok); color: #fff; font-size: 48px; line-height: 84px; margin: 10px auto 18px; }
.done h2 { text-align: center; }
.done .btn { margin-top: 12px; }
.badge { display: inline-block; font-size: 13px; padding: 3px 8px; border-radius: 6px; background: #ffe9d6; color: #7a3b14; font-weight: 700; vertical-align: middle; }
.spinner { display: inline-block; width: 22px; height: 22px; border: 3px solid #fff; border-right-color: transparent; border-radius: 50%; animation: spin .8s linear infinite; vertical-align: middle; margin-right: 8px; }
@keyframes spin { to { transform: rotate(360deg); } }
.welcome-back { background: #eaf7ee; border: 1px solid #9ad3ad; border-radius: 12px; padding: 14px 16px; margin: 12px 0; font-size: 17px; }

/* phone widths */
@media (max-width: 600px) {
  body { padding: 12px 8px; }
  .card { padding: 0 20px 24px; border-radius: 12px; }
  h1 { font-size: 26px; }
  h2 { font-size: 23px; }
  p.lead { font-size: 17px; }
  .choice .title { font-size: 19px; }
  .btn { font-size: 17px; padding: 14px 16px; gap: 8px; }
  .btn .arrow { width: 18px; height: 18px; }
  .gender { gap: 10px; }
  .gender-tile { min-height: 140px; }
}
@media print { .card { box-shadow: none; border: 0; } }
