/* Skip the Chit Chat — website styles, matched to the app's design system */
:root {
  --ink: #1c1917;
  --muted: #766f67;
  --cream: #fbf7ef;
  --paper: #f5efe5;
  --sand: #e9e4db;
  --line: #e0d8cd;
  --orange: #f48b24;
  --orange-dark: #d9680a;
  --orange-soft: #fff1e1;
  --green: #315c4b;
  --green-soft: #e7eee8;
  --serif: "Instrument Serif", Georgia, serif;
  --sans: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --gutter: clamp(20px, 5vw, 64px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--sans); color: var(--ink); background: var(--cream); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
button, input, select { font: inherit; color: inherit; }
a { color: inherit; }
h1, h2, h3, p { margin: 0; }
[hidden] { display: none !important; }
main { overflow-x: clip; }

.eyebrow { color: var(--orange-dark); font-weight: 700; font-size: 12px; letter-spacing: .13em; text-transform: uppercase; margin-bottom: 14px; }
.serif { font-family: var(--serif); font-weight: 400; letter-spacing: -.035em; }
.lede { color: var(--muted); font-size: 17px; line-height: 1.6; }

/* Logo — same mark as the app */
.logo { display: inline-flex; align-items: center; gap: 10px; font-size: 16px; font-weight: 700; letter-spacing: -.04em; text-decoration: none; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 54px; padding: 0 26px; border: 0; border-radius: 18px; font-size: 15px; font-weight: 700; text-decoration: none; cursor: pointer; transition: transform .2s, background .2s, box-shadow .2s; }
.btn-dark { background: var(--ink); color: white; box-shadow: 0 8px 20px rgba(28,25,23,.15); }
.btn-dark:hover { background: #35302d; transform: translateY(-1px); }
.btn-light { background: white; border: 1px solid #ded7cc; color: var(--ink); }
.btn-light:hover { border-color: #cbc1b3; }
.btn svg { width: 18px; height: 18px; }
.btn:focus-visible, .chip input:focus-visible + span, .field input:focus-visible, .field select:focus-visible { outline: 3px solid rgba(244,139,36,.45); outline-offset: 2px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 30; background: rgba(251,247,239,.88); backdrop-filter: blur(14px); border-bottom: 1px solid rgba(224,216,205,.7); }
.header-inner { max-width: 1200px; margin: 0 auto; padding: 0 var(--gutter); height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.site-nav { display: flex; align-items: center; gap: 30px; }
.site-nav a { font-size: 14px; font-weight: 600; color: var(--muted); text-decoration: none; }
.site-nav a:hover { color: var(--ink); }
.site-nav .btn { min-height: 44px; padding: 0 18px; font-size: 14px; color: white; border-radius: 14px; }

/* Hero */
.hero { max-width: 1200px; margin: 0 auto; padding: 72px var(--gutter) 96px; display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.hero-badge { display: inline-flex; align-items: center; gap: 8px; border: 1px solid #f0c9a2; background: var(--orange-soft); color: #9b4e16; border-radius: 999px; padding: 7px 13px; font-size: 12px; font-weight: 700; margin-bottom: 26px; }
.hero-badge i { width: 7px; height: 7px; border-radius: 50%; background: var(--orange); }
.hero h1 { font-family: var(--serif); font-weight: 400; letter-spacing: -.04em; font-size: clamp(56px, 7.4vw, 96px); line-height: 1.04; margin-bottom: 26px; }
.rotate-word { position: relative; z-index: 1; padding-bottom: .04em; display: inline-block; font-style: italic; color: var(--orange-dark); white-space: nowrap; transition: width .35s cubic-bezier(.2,.8,.2,1), opacity .25s, transform .25s; vertical-align: bottom; }
.rotate-word.is-swapping { opacity: 0; transform: translateY(8px); }
.hero .lede { max-width: 470px; margin-bottom: 34px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.hero-note { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 30px; color: var(--muted); font-size: 13px; font-weight: 600; }
.hero-note span { display: inline-flex; align-items: center; gap: 7px; }
.hero-note svg { width: 16px; height: 16px; color: var(--green); }

/* Activity card stack — auto-advances, swipe or drag to take over */
.stack-wrap { position: relative; display: grid; justify-items: center; isolation: isolate; }
.stack-wrap::before { content: ""; position: absolute; top: 50%; left: 50%; width: 88%; aspect-ratio: 1; transform: translate(-50%, -54%); border-radius: 50% 50% 24px 50%; background: #f3e1cf; z-index: -1; }
.card-stack { position: relative; display: grid; width: min(100%, 390px); touch-action: pan-y; cursor: grab; user-select: none; --drag: 0px; --drag-rotate: 0deg; --back-shift: 22px, 14px; --back-rotate: 4deg; }
.card-stack.is-dragging { cursor: grabbing; }
.act-card { grid-area: 1 / 1; align-self: start; width: 100%; text-align: left; background: white; border-radius: 26px; padding: 10px; box-shadow: 0 18px 40px rgba(47,37,24,.14); opacity: 0; pointer-events: none; transform: scale(.9); transition: transform .5s cubic-bezier(.2,.8,.2,1), opacity .4s; }
.act-card.is-front { opacity: 1; z-index: 3; pointer-events: auto; transform: rotate(-1.5deg); }
.act-card.is-back { opacity: 1; z-index: 2; transform: translate(var(--back-shift)) rotate(var(--back-rotate)) scale(.96); }
.card-stack.is-dragging .act-card.is-front { transition: none; transform: translateX(var(--drag)) rotate(calc(-1.5deg + var(--drag-rotate))); }
.act-card.is-exiting { z-index: 4; transition: transform .45s ease-out, opacity .45s ease-out; }
.act-photo { position: relative; height: 250px; border-radius: 18px; overflow: hidden; background: var(--paper); }
.act-photo img { width: 100%; height: 100%; object-fit: cover; }
.act-badges { position: absolute; top: 12px; left: 12px; display: flex; gap: 6px; }
.act-badges span { background: rgba(255,252,247,.94); backdrop-filter: blur(7px); padding: 7px 10px; border-radius: 9px; font-size: 11px; font-weight: 700; }
.act-badges span.going { background: #f4a04a; color: #201a15; }
.act-body { padding: 16px 8px 8px; }
.act-when { color: var(--orange-dark); font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 7px; }
.act-title-row { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.act-title { font-size: 20px; font-weight: 700; letter-spacing: -.035em; line-height: 1.2; }
.act-host { width: 38px; height: 38px; border-radius: 50%; object-fit: cover; border: 3px solid var(--cream); box-shadow: 0 0 0 1px var(--line); flex: 0 0 auto; }
.act-place { display: flex; align-items: center; gap: 5px; color: var(--muted); font-size: 13px; margin-top: 6px; }
.act-place svg { width: 15px; height: 15px; }
.act-tags { display: flex; flex-wrap: wrap; gap: 6px; border-top: 1px solid #ece5da; margin-top: 14px; padding-top: 12px; }
.act-tags span { border: 1px solid #ddd5ca; border-radius: 999px; padding: 6px 11px; font-size: 11px; font-weight: 600; }

/* Values strip */
.strip { background: var(--ink); color: #f4efe7; }
.strip-inner { max-width: 1200px; margin: 0 auto; padding: 22px var(--gutter); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px 30px; }
.strip span { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; }
.strip svg { width: 18px; height: 18px; color: var(--orange); }

/* How it works */
.section { max-width: 1200px; margin: 0 auto; padding: 110px var(--gutter); }
.section-head { max-width: 640px; margin-bottom: 48px; }
.section-head h2 { font-family: var(--serif); font-weight: 400; letter-spacing: -.035em; font-size: clamp(44px, 5.4vw, 64px); line-height: .98; margin-bottom: 16px; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.step { border-radius: 26px; padding: 30px 28px 32px; min-height: 280px; display: flex; flex-direction: column; }
.step:nth-child(1) { background: #ffd7aa; border-radius: 80px 26px 26px 26px; }
.step:nth-child(2) { background: #d7e1d9; }
.step:nth-child(3) { background: #ead9cd; border-radius: 26px 26px 80px 26px; }
.step-icon { width: 54px; height: 54px; border-radius: 18px; background: rgba(255,255,255,.7); display: grid; place-items: center; margin-bottom: auto; }
.step-icon svg { width: 24px; height: 24px; }
.step h3 { font-family: var(--serif); font-weight: 400; font-size: 34px; letter-spacing: -.03em; margin: 36px 0 10px; }
.step p { font-size: 15px; line-height: 1.55; color: #4c443d; }

/* Host your own */
.host-feature { margin-top: 16px; background: var(--green); color: #f4efe7; border-radius: 26px 90px 26px 26px; padding: clamp(28px, 5vw, 56px); display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.host-feature .eyebrow { color: #ffc48a; }
.host-copy h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(42px, 5vw, 60px); letter-spacing: -.035em; line-height: .98; margin-bottom: 16px; }
.host-copy > p:not(.eyebrow) { color: #cfdcd3; font-size: 16px; line-height: 1.6; max-width: 460px; }
.host-copy ul { list-style: none; padding: 0; margin: 24px 0 0; display: flex; flex-direction: column; gap: 10px; }
.host-copy li { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; }
.host-copy li svg { width: 17px; height: 17px; color: #ffc48a; flex: 0 0 auto; }
.host-mock { background: var(--cream); color: var(--ink); border-radius: 24px; padding: 22px; box-shadow: 0 24px 50px rgba(10,25,18,.3); transform: rotate(1.5deg); }
.host-mock-label { color: var(--orange-dark); font-size: 11px; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; margin-bottom: 8px; }
.host-mock-title { font-family: var(--serif); font-size: 32px; letter-spacing: -.03em; line-height: 1; margin-bottom: 16px; }
.host-mock-row { display: flex; align-items: center; gap: 10px; background: white; border: 1px solid #e3dbd0; border-radius: 12px; padding: 11px 12px; font-size: 13px; margin-bottom: 8px; }
.host-mock-row svg { width: 17px; height: 17px; color: var(--orange-dark); flex: 0 0 auto; }
.host-mock-tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 14px 0 16px; }
.host-mock-tags span { background: #e4ece5; color: var(--green); border: 1px solid #9fbaaa; border-radius: 999px; padding: 6px 11px; font-size: 11px; font-weight: 700; }
.host-mock-button { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; border-radius: 14px; background: var(--ink); color: white; font-size: 14px; font-weight: 700; }
.host-mock-button svg { width: 16px; height: 16px; }

/* Apply */
.apply { background: var(--paper); border-top: 1px solid var(--line); }
.apply-inner { max-width: 1200px; margin: 0 auto; padding: 110px var(--gutter); display: grid; grid-template-columns: .85fr 1fr; gap: 64px; align-items: start; }
.apply-copy { position: sticky; top: 120px; }
.apply-copy h2 { font-family: var(--serif); font-weight: 400; letter-spacing: -.04em; font-size: clamp(50px, 6vw, 76px); line-height: .94; margin-bottom: 20px; }
.apply-copy .lede { max-width: 420px; }
.apply-points { list-style: none; padding: 0; margin: 30px 0 0; display: flex; flex-direction: column; gap: 12px; }
.apply-points li { display: flex; gap: 12px; align-items: center; font-size: 14px; font-weight: 600; }
.apply-points li span { width: 30px; height: 30px; border-radius: 10px; background: white; border: 1px solid var(--line); display: grid; place-items: center; color: var(--orange-dark); flex: 0 0 auto; }
.apply-points svg { width: 16px; height: 16px; }

.apply-card { background: var(--cream); border: 1px solid var(--line); border-radius: 30px; padding: clamp(22px, 4vw, 40px); box-shadow: 0 24px 60px rgba(47,37,24,.08); }
.apply-form { display: flex; flex-direction: column; gap: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field > label, .field > legend { font-size: 13px; font-weight: 700; padding: 0; }
.field em { font-style: normal; font-weight: 600; color: #9b9289; font-size: 12px; margin-left: 4px; }
.field input, .field select { width: 100%; min-height: 54px; background: white; border: 1px solid #dcd4c9; border-radius: 14px; padding: 0 15px; font-size: 15px; transition: border-color .2s, box-shadow .2s; }
.field input::placeholder { color: #aaa197; }
.field input:focus, .field select:focus { outline: none; border-color: var(--orange); box-shadow: 0 0 0 3px rgba(244,139,36,.12); }
.field input[aria-invalid="true"], .field select[aria-invalid="true"] { border-color: #c4452c; }
.field select { appearance: none; 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='%23766f67' stroke-width='2' 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: 44px; cursor: pointer; }
.field select:invalid { color: #aaa197; }
.field select option { color: var(--ink); }
.field-hint { color: var(--muted); font-size: 12px; line-height: 1.5; }
fieldset.field { border: 0; margin: 0; padding: 0; min-width: 0; }
.chips { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chip span { display: grid; place-items: center; height: 48px; border: 1px solid #ded6ca; background: white; border-radius: 13px; font-size: 14px; font-weight: 600; transition: background .15s, border-color .15s; }
.chip input:checked + span { border-color: var(--orange); background: #ffe5ca; }
.form-status { font-size: 13px; font-weight: 600; color: var(--muted); min-height: 1em; }
.form-status.is-error { color: #a8391f; }
.apply-form .btn { width: 100%; }
.form-legal { color: #9b9289; font-size: 12px; text-align: center; line-height: 1.5; }
.form-legal a { color: inherit; }

/* Success — same ticket as the app's waitlist card */
.success { text-align: left; }
.success:focus { outline: none; }
.ticket { background: var(--ink); color: white; border-radius: 24px 90px 24px 24px; padding: 26px; margin-bottom: 28px; }
.ticket-top { display: flex; align-items: center; gap: 12px; }
.ticket-top .logo-img { width: 36px; height: 36px; }
.ticket-top div { display: flex; flex-direction: column; }
.ticket-top small { color: #a9a29b; font-size: 12px; }
.ticket-top b { font-size: 16px; }
.ticket-status { border-top: 1px dashed rgba(255,255,255,.22); margin-top: 20px; padding-top: 18px; }
.ticket-status small { color: #a9a29b; font-size: 12px; }
.ticket-status strong { display: block; font: 52px/1 var(--serif); letter-spacing: -.02em; margin-top: 6px; }
.success h3 { font-family: var(--serif); font-weight: 400; font-size: 44px; letter-spacing: -.035em; line-height: 1; margin-bottom: 12px; }
.success p:not(.eyebrow) { color: var(--muted); line-height: 1.6; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); }
.footer-inner { max-width: 1200px; margin: 0 auto; padding: 34px var(--gutter); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 30px; color: var(--muted); font-size: 14px; }
.footer-inner a { color: var(--ink); font-weight: 600; }
.footer-links { display: flex; gap: 20px; }
.footer-links a { color: var(--muted); font-weight: 600; text-decoration: none; }


/* Scroll reveal */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.8,.2,1); }
.reveal.is-visible { opacity: 1; transform: none; }

@media (max-width: 960px) {
  .hero { grid-template-columns: 1fr; gap: 64px; padding-top: 48px; text-align: center; }
  .hero .lede { margin-left: auto; margin-right: auto; }
  .hero-actions, .hero-note { justify-content: center; }
  .steps { grid-template-columns: 1fr; }
  .step { min-height: 0; }
  .step h3 { margin-top: 26px; }
  .apply-inner { grid-template-columns: 1fr; gap: 40px; }
  .apply-copy { position: static; }
  .host-feature { grid-template-columns: 1fr; gap: 36px; }
  .host-mock { transform: none; max-width: 420px; }
}

@media (max-width: 640px) {
  .header-inner { height: 64px; }
  .site-nav a:not(.btn) { display: none; }
  /* Phone hero: one screen. Headline, then the card stack, then the notes. The only Apply button is the header's, top right */
  .hero { padding: 20px var(--gutter) 56px; gap: 0; }
  .hero-copy { display: contents; }
  .hero-badge { order: 1; justify-self: center; margin-bottom: 14px; }
  .hero h1 { order: 2; font-size: clamp(46px, 13vw, 60px); margin-bottom: 12px; }
  .hero .lede { order: 3; margin-bottom: 18px; }
  .hero-actions { display: none; }
  .hero .lede { margin-bottom: 26px; }
  .stack-wrap { order: 5; margin-bottom: 24px; }
  .stack-wrap::before { width: 72%; }
  .hero-note { order: 6; margin-top: 0; }
  /* Phone: the homepage is exactly one screen: hero, with About and Privacy pinned at the bottom */
  .page-home .strip, .page-home #how-it-works, .page-home .apply { display: none; }
  html:has(.page-home), .page-home { height: 100%; overflow: hidden; }
  .page-home { height: 100svh; display: flex; flex-direction: column; }
  .page-home main { flex: 1; min-height: 0; display: flex; flex-direction: column; justify-content: center; }
  .hero { padding: 8px var(--gutter); align-content: center; }
  .stack-wrap { margin-bottom: 14px; }
  .act-photo { height: clamp(90px, 23svh, 200px); }
  .page-home .footer-inner .logo, .page-home .footer-inner > p { display: none; }
  .lede { font-size: 16px; }
  .hero-actions .btn { width: 100%; }
  .card-stack { width: calc(100% - 14px); --back-shift: 10px, 10px; --back-rotate: 3deg; }
  .act-title { font-size: 18px; }
  .strip-inner { justify-content: flex-start; flex-direction: column; }
  .section, .apply-inner { padding-top: 80px; padding-bottom: 80px; }
  .form-row { grid-template-columns: 1fr; }
  .host-feature { border-radius: 26px 60px 26px 26px; }
  .chips { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* Original logo (interlocking links), tinted brand orange */
.logo-img { width: 32px; height: 32px; object-fit: contain; display: block; flex: 0 0 auto; filter: invert(52%) sepia(95%) saturate(1000%) hue-rotate(10deg) brightness(100%); }

/* Apply CTA card (replaces the inline form) */
.apply-cta { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.apply-cta h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(38px, 5vw, 52px); letter-spacing: -.035em; line-height: 1; }
.apply-cta p:not(.eyebrow):not(.form-legal) { color: var(--muted); line-height: 1.6; }
.apply-cta .btn { margin-top: 8px; }

/* Full-screen apply flow: one question at a time, fading between steps (like the app's quiz) */
.flow { position: fixed; left: 0; right: 0; top: var(--flow-top, 0px); height: var(--flow-h, 100dvh); z-index: 100; background: var(--cream); opacity: 0; transition: opacity .3s ease; overflow: hidden; }
.flow[hidden], .flow [hidden] { display: none !important; }
.flow.is-open { opacity: 1; }
.flow-inner { max-width: 560px; height: 100%; margin: 0 auto; padding: 0 var(--gutter); display: flex; flex-direction: column; }
.flow-top { display: flex; align-items: center; gap: 12px; padding: max(14px, env(safe-area-inset-top)) 0 10px; transition: opacity .22s ease; }
.flow-icon { width: 40px; height: 40px; flex: 0 0 auto; border: 1px solid var(--line); background: white; border-radius: 50%; display: grid; place-items: center; color: var(--ink); cursor: pointer; }
.flow-icon svg { width: 18px; height: 18px; }
.flow-progress { flex: 1; height: 4px; border-radius: 4px; background: #e6dccf; overflow: hidden; }
.flow-progress i { display: block; height: 100%; width: 0; background: var(--orange); border-radius: 4px; transition: width .4s cubic-bezier(.2,.8,.2,1); }
.flow-count { font-size: 12px; font-weight: 700; color: var(--muted); min-width: 34px; text-align: right; }
.flow-form { flex: 1; min-height: 0; display: flex; flex-direction: column; transition: opacity .22s ease; }
.flow-stage { flex: 1; overflow-y: auto; padding: clamp(24px, 6vh, 56px) 2px 16px; }
.flow-step h2 { font-family: var(--serif); font-weight: 400; letter-spacing: -.04em; font-size: clamp(40px, 9vw, 56px); line-height: .98; margin: 6px 0 26px; outline: none; }
.flow-step .field input { min-height: 58px; font-size: 17px; border-radius: 16px; }
.flow-step .field-hint { margin-top: 14px; }
.flow-step.is-entering, .flow-done.is-entering { animation: flowIn .38s cubic-bezier(.2,.8,.2,1) both; }
.flow-step.is-leaving { opacity: 0; transform: translateY(-10px); transition: opacity .22s ease, transform .22s ease; }
.flow-form.is-leaving, .flow-top.is-leaving { opacity: 0; }
@keyframes flowIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.chips-lg .chip span { height: 58px; font-size: 15px; }
.flow-choices { display: flex; flex-direction: column; gap: 9px; }
.choice { position: relative; display: block; }
.choice input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.choice span { display: flex; align-items: center; min-height: 54px; padding: 0 16px; border: 1px solid #ded6ca; background: white; border-radius: 16px; font-size: 15px; font-weight: 600; transition: background .15s, border-color .15s; }
.choice input:checked + span { border-color: var(--orange); background: #ffe5ca; }
.choice input:focus-visible + span, .chip input:focus-visible + span { box-shadow: 0 0 0 3px rgba(244,139,36,.25); }
.flow-step .flow-multi-hint { margin: -14px 0 16px; }
.choice input[type=checkbox]:checked + span { border-color: var(--orange); background: #ffe5ca; }
/* "Other" sheet: blurred backdrop, panel pinned to the bottom of the (keyboard-aware) flow */
.flow-sheet { position: absolute; inset: 0; z-index: 5; display: flex; flex-direction: column; justify-content: flex-end; }
.flow-sheet-backdrop { position: absolute; inset: 0; background: rgba(40,28,16,.28); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); opacity: 0; transition: opacity .22s ease; }
.flow-sheet-panel { position: relative; width: 100%; max-width: 560px; margin: 0 auto; padding: 22px var(--gutter) max(18px, env(safe-area-inset-bottom)); background: var(--cream); border-radius: 24px 24px 0 0; box-shadow: 0 -12px 40px rgba(40,28,16,.16); transform: translateY(24px); opacity: 0; transition: transform .28s cubic-bezier(.2,.8,.2,1), opacity .22s ease; display: flex; flex-direction: column; gap: 14px; }
.flow-sheet-panel h3 { font-family: var(--serif); font-weight: 400; font-size: 28px; letter-spacing: -.03em; line-height: 1.05; }
.flow-sheet-panel .field input { min-height: 58px; font-size: 17px; border-radius: 16px; }
.flow-sheet-panel .btn { width: 100%; }
.flow-sheet.is-open .flow-sheet-backdrop { opacity: 1; }
.flow-sheet.is-open .flow-sheet-panel { transform: none; opacity: 1; }
.flow-actions { padding: 12px 0 max(18px, env(safe-area-inset-bottom)); display: flex; flex-direction: column; gap: 10px; }
.flow-actions .btn { width: 100%; }
.flow-actions .form-status { min-height: 1.2em; text-align: center; }
.flow-done { flex: 1; overflow-y: auto; padding: clamp(24px, 6vh, 56px) 0 max(24px, env(safe-area-inset-bottom)); text-align: left; }
.flow-done:focus { outline: none; }
.flow-done h3 { font-family: var(--serif); font-weight: 400; font-size: 44px; letter-spacing: -.035em; line-height: 1; margin-bottom: 12px; }
.flow-done p:not(.eyebrow) { color: var(--muted); line-height: 1.6; }
.flow-inner:has(.flow-done:not([hidden])) { overflow-y: auto; }
@media (prefers-reduced-motion: reduce) {
  .flow, .flow-top, .flow-form, .flow-progress i, .flow-sheet-backdrop, .flow-sheet-panel { transition: none; }
  .flow-step.is-entering, .flow-done.is-entering { animation: none; }
}
.next-steps { list-style: none; counter-reset: step; padding: 0; margin: 26px 0 0; display: flex; flex-direction: column; gap: 14px; }
.next-steps li { counter-increment: step; position: relative; padding-left: 44px; color: var(--muted); font-size: 14px; line-height: 1.5; }
.next-steps li::before { content: counter(step); position: absolute; left: 0; top: 0; width: 30px; height: 30px; border-radius: 50%; background: white; border: 1px solid var(--line); color: var(--orange-dark); font-weight: 700; font-size: 13px; display: grid; place-items: center; }
.next-steps b { color: var(--ink); }
.flow-done-actions { display: flex; flex-direction: column; gap: 10px; margin-top: 30px; }
.flow-done-actions .btn { width: 100%; box-shadow: none; }

/* Short phones: trade the extras for room so the card always fits */
@media (max-width: 640px) and (max-height: 760px) {
  .hero-note { display: none; }
  .hero .lede { font-size: 14.5px; line-height: 1.5; margin-bottom: 16px; }
  .hero h1 { font-size: clamp(40px, 11.5vw, 52px); margin-bottom: 8px; }
  .hero-badge { margin-bottom: 10px; }
}
@media (max-width: 640px) and (max-height: 640px) {
  .hero .lede { display: none; }
}
@media (max-width: 640px) {
  .logo, .header-inner .btn { white-space: nowrap; }
}
@media (max-width: 350px) {
  .logo { font-size: 14px; gap: 7px; }
  .logo-img { width: 26px; height: 26px; }
  .header-inner .btn { padding: 0 14px; font-size: 13px; min-height: 40px; }
}
@media (max-width: 640px) and (max-height: 700px) {
  .act-photo { height: clamp(76px, 19svh, 200px); }
  .hero { padding-bottom: 14px; }
}
@media (max-width: 640px) and (max-height: 640px) {
  .hero-badge { display: none; }
}

/* Homepage on a phone: no header/footer bars, just the logo, Apply button and two small centered links */
@media (max-width: 640px) {
  .page-home .site-header { position: static; background: none; backdrop-filter: none; -webkit-backdrop-filter: none; border-bottom: 0; }
  .page-home .site-footer { border-top: 0; }
  .page-home .footer-inner { flex-direction: row; align-items: center; justify-content: center; padding: 6px var(--gutter) max(14px, env(safe-area-inset-bottom)); }
  .page-home .footer-links { width: 100%; justify-content: center; gap: 20px; }
  .page-home .footer-links a { font-size: 12px; font-weight: 500; color: #8f877d; }
}

/* About page */
.about-hero { max-width: 1200px; margin: 0 auto; padding: clamp(56px, 10vw, 120px) var(--gutter) clamp(48px, 8vw, 96px); }
.about-hero-inner { max-width: 760px; }
.about-hero h1 { font-family: var(--serif); font-weight: 400; letter-spacing: -.04em; font-size: clamp(54px, 9vw, 104px); line-height: .92; margin-bottom: 26px; }
.about-hero .lede { font-size: clamp(17px, 2.2vw, 21px); max-width: 640px; }
.about-cta { max-width: 1200px; margin: 0 auto; padding: 0 var(--gutter) clamp(72px, 10vw, 120px); }
.about-cta-card { background: var(--paper); border: 1px solid var(--line); border-radius: 30px; padding: clamp(32px, 6vw, 64px); text-align: center; display: flex; flex-direction: column; align-items: center; gap: 4px; }
.about-cta-card h2 { font-family: var(--serif); font-weight: 400; letter-spacing: -.04em; font-size: clamp(42px, 6vw, 68px); line-height: .96; margin-bottom: 22px; }
.site-nav a[aria-current="page"] { color: var(--ink); }
