/* =========================================================
   KANOOE — style.css
   Tokens → base → components → sections → responsive → motion
   ========================================================= */

:root {
  --yellow: #ECDA52;
  --ink: #1D1D19;
  --paper: #F8F8F6;
  --lime: #CADD63;
  --sage: #7FB06E;
  --ink-60: rgba(29, 29, 25, .62);
  --paper-60: rgba(248, 248, 246, .62);

  --font-d: 'Outfit', ui-sans-serif, system-ui, sans-serif;
  --font-b: 'Inter', ui-sans-serif, system-ui, sans-serif;

  --gutter: clamp(16px, 4vw, 56px);
  --radius: 28px;
  --signup-w: min(480px, 100%);
  --radius-sm: 20px;
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-io: cubic-bezier(.7, 0, .2, 1);

}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-b);
  font-size: clamp(1rem, 1.1vw, 1.2rem);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, p, ul, ol, figure, blockquote { margin: 0; padding: 0; }
ul, ol { list-style: none; }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
::selection { background: var(--ink); color: var(--yellow); }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 6px; }
[data-theme="dark"] :focus-visible { outline-color: var(--yellow); }

.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------- Typography ---------- */
.eyebrow {
  font: 600 .78rem/1.2 var(--font-b);
  letter-spacing: .14em;
  text-transform: uppercase;
  display: inline-flex; align-items: center; gap: .6em;
}
.h-xl {
  font: 800 clamp(3rem, 9vw, 10rem)/1.02 var(--font-d);
  letter-spacing: -.03em;
}
.h-lg {
  font: 800 clamp(2.4rem, 5.6vw, 6rem)/1.02 var(--font-d);
  letter-spacing: -.03em;
}
.h-md {
  font: 800 clamp(1.6rem, 2.6vw, 2.6rem)/1.05 var(--font-d);
  letter-spacing: -.03em;
}
.lead, .hero__lead { font-size: clamp(1.1rem, 1.5vw, 1.45rem); line-height: 1.45; }

/* split text helpers */
.split-word { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.split-char { display: inline-block; will-change: transform; }

/* ---------- Logo ---------- */
.logo { display: inline-block; line-height: 0; }
.logo__mark { display: block; height: 0.7693em; width: auto; overflow: visible; }
svg[data-rings] { overflow: visible; }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--ink); --fg: var(--yellow); --hover: var(--sage); --hover-fg: var(--ink);
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center;
  height: 56px; padding: 0 28px; border-radius: 999px;
  background: var(--bg); color: var(--fg);
  font: 600 1rem/1 var(--font-b);
  white-space: nowrap;
  transition: color .45s var(--ease-io);
}
.btn::before {
  content: ''; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
  background: var(--hover); transform: translateY(101%);
  transition: transform .5s var(--ease-io);
}
.btn:hover { color: var(--hover-fg); }
.btn:hover::before { transform: none; }
.btn__label { display: block; overflow: hidden; height: 1.2em; line-height: 1.2em; }
.btn__label > span { display: block; transition: transform .5s var(--ease-io); }
.btn__label > span::after { content: attr(data-label); display: block; }
.btn:hover .btn__label > span { transform: translateY(-50%); }
.btn--sm { height: 44px; padding: 0 20px; font-size: .92rem; }
.btn--lg { height: 64px; padding: 0 36px; font-size: 1.08rem; }
.btn--block { width: 100%; }
.btn.is-loading { pointer-events: none; }
.is-status { pointer-events: none; cursor: default; }
.btn.is-loading .btn__label { opacity: .35; }
[data-theme="dark"] .btn { --bg: var(--yellow); --fg: var(--ink); --hover: var(--lime); }
.nav .btn { --bg: var(--ink); --fg: var(--yellow); --hover: var(--sage); }

.link-cta {
  display: inline-flex; align-items: center; gap: .5em;
  font: 600 clamp(1.05rem, 1.4vw, 1.3rem)/1 var(--font-b);
  padding-bottom: 6px;
  background: linear-gradient(currentColor, currentColor) 0 100% / 100% 2px no-repeat;
  transition: background-size .5s var(--ease-io);
}
.link-cta:hover { background-size: 0 2px; background-position: 100% 100%; }
.link-cta span { transition: transform .4s var(--ease-out); }
.link-cta:hover span { transform: translateX(6px); }

/* ---------- Forms ---------- */
.input {
  width: 100%; height: 56px; padding: 0 22px;
  border: 2px solid var(--ink); border-radius: 999px;
  background: var(--paper); color: var(--ink);
  font: 500 1rem/1 var(--font-b);
  transition: box-shadow .3s, border-color .3s;
  -webkit-appearance: none; appearance: none;
}
.input::placeholder { color: var(--ink-60); }
.input:focus { outline: none; box-shadow: 0 0 0 4px rgba(29,29,25,.18); }
.input.is-invalid { border-color: #b3261e; box-shadow: 0 0 0 4px rgba(179,38,30,.15); }

.role-toggle {
  display: inline-flex; padding: 0; gap: 0;
  border-radius: 999px; background: rgba(29,29,25,.1);
}
.role-toggle label { position: relative; cursor: pointer; }
.role-toggle input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.role-toggle span {
  display: block; padding: 10px 18px; border-radius: 999px;
  font: 600 .9rem/1 var(--font-b);
  transition: background .35s var(--ease-io), color .35s var(--ease-io);
}
.role-toggle input:checked + span { background: var(--ink); color: var(--yellow); }
.role-toggle input:focus-visible + span { outline: 3px solid var(--ink); outline-offset: 2px; }
.role-toggle--lg { display: flex; width: 100%; gap: 10px; background: none; }
.role-toggle--lg label { flex: 1 1 0; min-width: 0; display: flex; }
.role-toggle--lg input:not(:checked) + span { background: rgba(29,29,25,.08); }
.role-toggle--lg span { flex: 1; display: flex; align-items: center; justify-content: center; text-align: center; padding: 18px 10px; font-size: .95rem; }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

.signup__row { display: flex; gap: 8px; }
.signup__row .btn { flex: none; }
.signup__note { font-size: .82rem; color: var(--ink-60); }
.waitlist-note { margin: 0; padding: 14px 16px; border-radius: 16px; background: var(--ink); color: var(--yellow); font-size: .95rem; font-weight: 600; }
.signup__link { text-decoration: underline; }
.signup__msg { font-size: .9rem; font-weight: 600; min-height: 1.3em; }
.signup__msg a { text-decoration: underline; text-underline-offset: 3px; }
.signup__msg.is-error { color: #b3261e; }

.field { position: relative; }
.field .input { border-radius: 18px; height: 62px; padding: 22px 20px 0; }
.field label {
  position: absolute; left: 22px; top: 50%; transform: translateY(-50%);
  font: 500 1rem/1 var(--font-b); color: var(--ink-60);
  pointer-events: none; transform-origin: left center;
  transition: transform .3s var(--ease-out), top .3s var(--ease-out);
}
.field label em { font-style: normal; opacity: .7; }
.field .input:focus + label,
.field .input:not(:placeholder-shown) + label { top: 18px; transform: translateY(-50%) scale(.78); }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips legend { width: 100%; float: left; font: 600 .95rem/1.2 var(--font-b); margin-bottom: 10px; }
.chips label { position: relative; cursor: pointer; }
.chips input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.chips span {
  display: inline-flex; align-items: center; gap: .4em;
  padding: 11px 18px; border-radius: 999px; border: 2px solid var(--ink);
  font: 600 .92rem/1 var(--font-b);
  transition: background .3s, color .3s;
}
.chips span::before { content: '+'; font-weight: 700; }
.chips input:checked + span { background: var(--ink); color: var(--yellow); }
.chips input:checked + span::before { content: '✓'; }
.chips input:focus-visible + span { outline: 3px solid var(--ink); outline-offset: 2px; }

.card { background: var(--paper); border-radius: var(--radius); padding: clamp(22px, 3vw, 40px); }

/* Optical alignment: pull big headings left by the built-in space before their first letter (Outfit 800). */
.o-009 { margin-left: -0.009em; }
.o-011 { margin-left: -0.011em; }
.o-013 { margin-left: -0.013em; }
.o-018 { margin-left: -0.018em; }
.o-028 { margin-left: -0.028em; }
.o-063 { margin-left: -0.063em; }

/* ---------- Grain ---------- */
.grain {
  position: fixed; inset: 0; z-index: 90; pointer-events: none;
  opacity: .05;
  background: url("assets/img/grain.png") 0 0 / 220px 220px;
}

/* ---------- Nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 70;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 16px var(--gutter);
  background: var(--yellow);
  color: var(--ink);
}
.nav__logo { font-size: 1.75rem; }
.nav__links { display: flex; gap: 32px; font: 500 .95rem/1 var(--font-b); transition: transform .5s var(--ease-io), opacity .5s; }
.nav__links a { position: relative; padding: 6px 0; }
.nav__links a::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: currentColor;
  transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease-io);
}
.nav__links a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav__right { display: flex; align-items: center; gap: 12px; }
.nav__menu { display: none; width: 48px; height: 44px; padding: 8px; color: inherit; }
.nav__menu svg { width: 100%; height: 100%; overflow: visible; }

.menu {
  position: fixed; inset: 0; z-index: 65;
  background: var(--yellow); color: var(--ink);
  display: flex; align-items: center; padding: 0 var(--gutter);
}
.menu nav { display: grid; gap: 8px; }
.menu a { font: 800 clamp(2.6rem, 13vw, 4.4rem)/1 var(--font-d); letter-spacing: -.03em; }
.menu[hidden] { display: none; }

/* =========================================================
   SECTIONS
   ========================================================= */
.section { padding: clamp(72px, 12vh, 140px) var(--gutter); position: relative; }

/* ---------- Hero ---------- */
.hero { background: var(--yellow); color: var(--ink); }
.hero__inner {
  /* Fills the screen, but never taller than 3/4 of its width: tall portrait screens in desktop layout (e.g. a phone in desktop mode) otherwise get a huge empty gap. */
  min-height: min(100vh, 75vw); min-height: min(100svh, 75vw);
  display: grid; grid-template-columns: minmax(0, 1fr) var(--signup-w); align-items: center;
  gap: clamp(32px, 5vw, 88px);
  padding: clamp(96px, 14vh, 128px) var(--gutter) clamp(40px, 7vh, 72px);
}
.hero__copy { --title-size: clamp(2.8rem, 6.2vw, 6.6rem); display: grid; gap: clamp(14px, 2vh, 22px); justify-items: start; min-width: 0; }
/* Linked rings sit centred over the d in "Find": the d's centre is 1.5924em from the text edge, the rings' centre 29.57% into their box. */
.hero__rings { --rings-w: clamp(180px, 22vw, 300px); width: var(--rings-w); margin-left: calc(var(--title-size) * 1.5924 - var(--rings-w) * .2957); height: auto; aspect-ratio: 2 / 1; overflow: visible; margin-bottom: clamp(4px, 1vh, 12px); }
.hero__title {
  font: 800 var(--title-size)/.98 var(--font-d);
  letter-spacing: -.03em;
}
.hero__lead { max-width: 38ch; }
.hero__lead strong { font-weight: 600; }
.dot { width: 9px; height: 9px; border-radius: 50%; background: var(--ink); }

.signup--quick {
  position: relative; display: grid; gap: 14px; width: 100%;
  padding: clamp(22px, 3vw, 40px); border-radius: var(--radius);
  background: var(--paper); color: var(--ink);
  box-shadow: 0 30px 80px -30px rgba(29,29,25,.35);
}
.signup__title { font: 800 clamp(1.4rem, 2vw, 1.8rem)/1 var(--font-d); letter-spacing: -.03em; }
.btn--ghost { --bg: transparent; --fg: var(--ink); --hover: rgba(29,29,25,.08); --hover-fg: var(--ink); box-shadow: inset 0 0 0 2px var(--ink); padding: 0 20px; }
.signup__msg:empty { display: none; }

/* ---------- Why Kanooe (story + pillars) ---------- */
.story { background: var(--paper); }
.story__grid {
  /* Text only: one column, kept to a comfortable reading width. */
  display: grid; grid-template-columns: minmax(0, 860px);
  grid-template-areas: "aside" "body";
  column-gap: clamp(32px, 6vw, 110px); row-gap: clamp(24px, 4vh, 40px); align-items: start;
}
.story__aside { grid-area: aside; display: grid; gap: 20px; }
.story__body { grid-area: body; display: grid; gap: 18px; }
.story__body p:not(.lead) { font-size: clamp(1rem, 1.15vw, 1.15rem); line-height: 1.55; max-width: 54ch; }
.story__body em { font-style: normal; background: linear-gradient(transparent 58%, var(--yellow) 58%); }

.pillars-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 2vw, 24px); margin-top: clamp(56px, 9vh, 100px); }
.pillar-card { display: grid; align-content: start; gap: 14px; padding: clamp(24px, 3vw, 40px); border-radius: var(--radius); min-width: 0; }
.pillar-card--ink { background: var(--ink); color: var(--paper); }
.pillar-card--ink h3, .pillar-card--ink .pillar-card__icon { color: var(--yellow); }
.pillar-card--yellow { background: var(--yellow); }
.pillar-card--sage { background: var(--sage); }
.pillar-card__icon { width: 66px; height: 44px; overflow: visible; margin-bottom: 8px; }
.pillar-card h3 { font: 800 clamp(1.5rem, 2.2vw, 2.2rem)/1 var(--font-d); letter-spacing: -.03em; }

/* ---------- How ---------- */
.how { background: var(--lime); text-align: left; }
.how__head { display: grid; gap: 24px; margin-bottom: clamp(36px, 6vh, 64px); }
.side-toggle {
  display: inline-grid; grid-template-columns: 1fr auto 1fr; align-items: stretch; gap: 10px;
  margin-bottom: clamp(40px, 7vh, 80px);
}
.side-toggle button {
  padding: 16px clamp(18px, 2.4vw, 32px); border-radius: 999px;
  font: 600 clamp(1rem, 1.3vw, 1.2rem)/1 var(--font-b);
  transition: background .4s var(--ease-io), color .4s var(--ease-io);
}
.side-toggle button { background: rgba(29,29,25,.1); }
.side-toggle button[aria-selected="true"] { background: var(--ink); color: var(--lime); }
.side-toggle__rings { width: 54px; height: 36px; overflow: visible; margin: 0 6px; align-self: center; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2vw, 28px); }
.steps[hidden] { display: none; }
.step {
  display: grid; gap: 14px; align-content: start;
  padding: clamp(24px, 3vw, 40px); border-radius: var(--radius);
  background: rgba(248,248,246,.55); min-height: 240px;
  border: 2px solid transparent;
  transition: background .4s, border-color .4s, transform .5s var(--ease-out);
}
.step__num {
  width: 64px; height: 64px; border-radius: 50%; border: 3px solid var(--ink);
  display: grid; place-items: center; margin-bottom: auto;
  font: 800 1.6rem/1 var(--font-d); letter-spacing: -.03em;
}
.step h3 { margin-top: clamp(28px, 5vh, 56px); font: 800 clamp(1.7rem, 2.6vw, 2.6rem)/1 var(--font-d); letter-spacing: -.03em; }

/* ---------- Join ---------- */
.join { background: var(--yellow); }
.countdown {
  display: flex; align-items: flex-start; justify-content: space-between; gap: clamp(4px, 1vw, 16px);
  margin-bottom: clamp(56px, 10vh, 120px);
}
.countdown__unit { display: grid; justify-items: center; }
.countdown__unit span {
  font: 800 clamp(3.6rem, 15vw, 17rem)/.82 var(--font-d);
  letter-spacing: -.03em; font-variant-numeric: tabular-nums;
}
.countdown__unit small { margin-top: 12px; font: 600 .78rem/1 var(--font-b); letter-spacing: .14em; text-transform: uppercase; }
.countdown__sep { width: clamp(28px, 5vw, 84px); height: auto; aspect-ratio: 3/2; margin-top: clamp(1rem, 5vw, 5.5rem); overflow: visible; flex: none; }
.live-msg { display: none; font: 800 clamp(4rem, 18vw, 20rem)/.85 var(--font-d); letter-spacing: -.03em; margin-bottom: 6vh; }
.is-live .live-msg { display: block; }
.is-live .countdown, .is-live .mini-countdown { display: none; }

.join__grid { scroll-margin-top: 110px; display: grid; grid-template-columns: minmax(0, 1fr) var(--signup-w); gap: clamp(36px, 6vw, 110px); align-items: start; }
.join__copy { display: grid; gap: clamp(20px, 3vh, 32px); }
.benefits { display: grid; gap: 14px; margin-top: 8px; }
.benefits li { display: flex; align-items: center; gap: 14px; font: 600 clamp(1.05rem, 1.4vw, 1.3rem)/1.2 var(--font-b); }
.benefits svg { width: 36px; height: 24px; flex: none; overflow: visible; }

.signup--full { position: relative; display: grid; gap: 14px; box-shadow: 0 30px 80px -30px rgba(29,29,25,.35); }
.signup .signup__note { text-align: center; }
.signup__success {
  position: absolute; inset: 0; border-radius: inherit; background: var(--ink); color: var(--yellow);
  display: grid; place-content: center; justify-items: center; gap: 12px; text-align: center;
  opacity: 0; visibility: hidden; padding: 32px;
}
.signup__success svg { width: 150px; height: 100px; overflow: visible; margin-bottom: 12px; }
.signup__success p:last-child { color: var(--paper); }
.signup.is-done .signup__success { visibility: visible; }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: var(--paper); padding: clamp(80px, 14vh, 160px) var(--gutter) 24px; overflow: hidden; }
.footer__cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)) auto; gap: 32px; }
.footer__cols > div { display: grid; gap: 10px; align-content: start; }
.footer__cols .eyebrow { color: var(--yellow); margin-bottom: 6px; }
.footer__cols a:not(.totop) { width: fit-content; opacity: .8; transition: opacity .3s; }
.footer__cols a:hover { opacity: 1; }
.footer__partner { padding-top: 3px; }
.footer__partner img { display: block; height: 19px; width: auto; }
.totop { width: 84px; height: 84px; border-radius: 50%; border: 2px solid rgba(248,248,246,.25); display: grid; place-items: center; color: var(--yellow); transition: border-color .3s; }
.totop:hover { border-color: var(--yellow); }
.totop svg { width: 48px; height: 32px; overflow: visible; }
.footer__mark { display: flex; justify-content: center; color: var(--yellow); font-size: 27vw; line-height: .8; letter-spacing: -.03em; margin: clamp(56px, 10vh, 120px) 0 0; }
.footer__bottom { display: flex; justify-content: space-between; gap: 16px; margin-top: 28px; font-size: .85rem; opacity: .6; }

/* ---------- Mobile CTA ---------- */
.mobile-cta {
  position: fixed; left: 12px; right: 12px; bottom: max(12px, env(safe-area-inset-bottom)); z-index: 60;
  display: none; align-items: center; justify-content: space-between;
  height: 58px; padding: 0 8px 0 24px; border-radius: 999px;
  background: var(--ink); color: var(--yellow);
  font: 600 1.05rem/1 var(--font-b);
  box-shadow: 0 16px 40px -12px rgba(29,29,25,.5);
  transform: translateY(150%); transition: transform .6s var(--ease-io);
}
.mobile-cta.is-visible { transform: none; }
.mobile-cta__date { background: var(--yellow); color: var(--ink); border-radius: 999px; padding: 12px 16px; font-size: .9rem; }

/* ---------- Partner ---------- */
.partner { background: var(--paper); }
.partner__grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(36px, 6vw, 110px); align-items: center; }
.partner__copy { display: grid; gap: clamp(20px, 3vh, 28px); max-width: 44ch; min-width: 0; }
.partner__card {
  position: relative; display: grid; align-content: center; justify-items: center; gap: 28px;
  min-height: clamp(320px, 52vh, 520px); padding: clamp(32px, 5vw, 72px);
  border-radius: var(--radius); background: var(--ink); color: var(--paper); text-align: center;
  transform-style: preserve-3d;
}
.partner__tag {
  position: absolute; top: clamp(20px, 2.4vw, 32px); left: clamp(20px, 2.4vw, 32px);
  font: 600 .78rem/1 var(--font-b); letter-spacing: .14em; text-transform: uppercase; color: var(--paper-60);
}
.partner__lockup { display: grid; justify-items: center; gap: clamp(16px, 2.4vw, 28px); }
.partner__kanooe { color: var(--yellow); font-size: clamp(2.6rem, 5.4vw, 5rem); }
.partner__link { width: clamp(64px, 7vw, 96px); height: auto; aspect-ratio: 3 / 2; overflow: visible; color: var(--lime); }
.partner__logo { width: 2.955em; height: auto; } /* same width as the Kanooe wordmark */
.partner__logo-link { display: block; font-size: clamp(2.6rem, 5.4vw, 5rem); border-radius: 8px; transition: transform .35s var(--ease-out); }
.partner__logo-link:hover { transform: scale(1.04); }
.partner__logo-link:focus-visible { outline-color: var(--yellow); outline-offset: 8px; }
.text-link { font-weight: 800; transition: opacity .25s; }
.text-link:hover { opacity: .65; }

.hero__partner { font-size: .85rem; color: var(--ink-60); }
.hero__partner-link { display: inline-block; margin-left: .25em; vertical-align: -.22em; transition: opacity .25s; }
.hero__partner-link:hover { opacity: .65; }
.hero__partner-link img { width: auto; height: 1.15em; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1024px) {
  .steps { grid-template-columns: 1fr; }
  .step { min-height: 0; }
  .step h3 { margin-top: 20px; }
  .join__grid, .partner__grid { grid-template-columns: 1fr; }
  .join__grid .signup--full { max-width: 480px; }
  .pillars-row { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
  .hero__inner { grid-template-columns: 1fr; }
  .join__grid .signup--full { max-width: none; }
  .hero__inner { min-height: 0; align-items: start; padding-top: 104px; }
  .story__grid { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .nav__links { display: none; }
  .nav__menu { display: block; }
  .nav .btn--sm { display: none; }
  .nav { padding-top: max(10px, env(safe-area-inset-top)); padding-bottom: 10px; }

  .hero__inner { padding: 92px var(--gutter) 32px; gap: 24px; }
  .hero__rings { --rings-w: 150px; margin-bottom: 0; }
  .hero__copy { --title-size: clamp(2.4rem, 11vw, 3.4rem); }
  .lead, .hero__lead { font-size: 1.05rem; }
  .signup__title { font-size: 1.3rem; }

  .side-toggle { display: grid; }
  .side-toggle button { padding: 14px 8px; }
  .side-toggle__rings { width: 40px; margin: 0; flex: none; }

  .countdown { gap: 2px; }
  .countdown__sep { width: 18px; }
  .countdown__unit small { font-size: .62rem; letter-spacing: .08em; }

  .chips span { min-height: 44px; }
  .mobile-cta { display: flex; }
  /* Footer on phones: one two-column grid, tight link lists, even gaps between groups. */
  .footer { padding: 72px var(--gutter) calc(112px + env(safe-area-inset-bottom)); }
  .footer__cols { grid-template-columns: 1fr 1fr; column-gap: 24px; row-gap: 36px; }
  .footer__cols > div { gap: 0; }
  .footer__cols .eyebrow { margin-bottom: 6px; }
  .footer__cols a:not(.totop) { display: flex; align-items: center; min-height: 40px; }
  .footer__partner { padding-top: 0; }
  .totop { grid-column: 1 / -1; width: 100%; height: 56px; border-radius: 999px; }
  .totop svg { width: 39px; height: 26px; }
  .footer__mark { margin-top: 48px; }
  .footer__bottom { flex-direction: column; gap: 6px; margin-top: 20px; }
}

@media (min-width: 761px) {
  .menu { display: none !important; }
}

@media (max-width: 360px) {
  .countdown__unit span { font-size: 13.5vw; }
  .countdown__sep { width: 14px; }
  .countdown__unit small { letter-spacing: .04em; }
}

/* =========================================================
   REDUCED MOTION
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}
