/* ===========================================================
   GRAYSPACE — style.css
   This file controls how everything LOOKS.

   HOW TO EDIT:
   - Change the colours in one place: the :root block below
   - Sizes use rem. 1rem = 16px, so 3rem = 48px
   - Each section is labelled with a comment like this one
   =========================================================== */


/* ---------- 0. THE FONT: OPEN SAUCE SANS ---------- */

@font-face {
  font-family: 'Open Sauce Sans';
  font-style: normal; font-weight: 300; font-display: swap;
  src: url(https://cdn.jsdelivr.net/fontsource/fonts/open-sauce-sans@5.3.0/latin-300-normal.woff2) format('woff2');
}
@font-face {
  font-family: 'Open Sauce Sans';
  font-style: normal; font-weight: 400; font-display: swap;
  src: url(https://cdn.jsdelivr.net/fontsource/fonts/open-sauce-sans@5.3.0/latin-400-normal.woff2) format('woff2');
}
@font-face {
  font-family: 'Open Sauce Sans';
  font-style: italic; font-weight: 400; font-display: swap;
  src: url(https://cdn.jsdelivr.net/fontsource/fonts/open-sauce-sans@5.3.0/latin-400-italic.woff2) format('woff2');
}
@font-face {
  font-family: 'Open Sauce Sans';
  font-style: normal; font-weight: 500; font-display: swap;
  src: url(https://cdn.jsdelivr.net/fontsource/fonts/open-sauce-sans@5.3.0/latin-500-normal.woff2) format('woff2');
}
@font-face {
  font-family: 'Open Sauce Sans';
  font-style: normal; font-weight: 600; font-display: swap;
  src: url(https://cdn.jsdelivr.net/fontsource/fonts/open-sauce-sans@5.3.0/latin-600-normal.woff2) format('woff2');
}


/* ---------- 1. COLOURS ----------
   Taken from your logo. --bg is the wordmark grey. */

:root {
  --bg:      #424242;   /* page background — the wordmark grey */
  --bg-soft: #585858;   /* second section — a lift from the page */
  --ink:     #0F0E0E;   /* the black circle */
  --mist:    #CFCBCB;   /* the light grey circle — body text */
  --slate:   #757A7D;   /* the overlap — muted text */
  --brand:   #424242;   /* wordmark, on light backgrounds only */
  --white:   #FFFFFF;
  --olive:   #5C6142;   /* demo band + get in touch */
  --olive-lt: #767D57;  /* the lighter green band below it */
  --wrong:   #6E3639;   /* dull burgundy: the claim is false */
  --line:    rgba(255, 255, 255, 0.13);

  --max:  68rem;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}


/* ---------- 2. BASE ---------- */

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--mist);
  font-family: "Open Sauce Sans", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  font-weight: 400;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }

:focus-visible { outline: 2px solid var(--white); outline-offset: 4px; }


/* ---------- 3. THE LOGO LOCKUP ----------
   Wordmark on the LEFT, mark on the RIGHT.
   Sized in "em" so it scales with whatever text size it sits in. */

.lockup {
  display: inline-flex;
  align-items: center;
  gap: 0.19em;
  white-space: nowrap;
}

.lockup__name {
  font-weight: 600;
  letter-spacing: -0.035em;
  color: var(--brand);
  line-height: 1;
}

.lockup__logo {
  height: 1.16em;      /* TWEAK: bigger number = bigger mark */
  width: auto;
  display: block;
  flex-shrink: 0;
}


/* ---------- 4. NAVIGATION — white liquid glass ---------- */

.nav {
  position: fixed;
  top: 1.9rem;          /* TWEAK: distance from the top */
  left: 50%;
  transform: translateX(-50%);
  z-index: 100;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;

  width: calc(100% - 2rem);
  max-width: 72rem;
  padding: 0.85rem 0.95rem 0.85rem 1.6rem;

  /* Frosted glass from the start. script.js deepens the blur
     and thins the white further as you scroll down. */
  background: rgba(255, 255, 255, 0.88);
  -webkit-backdrop-filter: blur(22px) saturate(180%);
  backdrop-filter: blur(22px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 999px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.95),
    0 8px 34px rgba(0, 0, 0, 0.28);

  transition: transform 0.5s var(--ease);
}

.nav__mark { flex-shrink: 0; }
.nav .lockup { font-size: 1.75rem; }

.nav__links {
  display: flex;
  align-items: center;
  gap: 1.6rem;
  font-size: 0.9375rem;
  color: var(--slate);
}

.nav__links a { transition: color 0.3s var(--ease); }
.nav__links a:hover { color: var(--ink); }

.nav__cta {
  color: var(--white);
  background: var(--olive);
  border-radius: 999px;
  padding: 0.65rem 1.4rem;
  transition: transform 0.3s var(--ease), background 0.3s var(--ease);
}
.nav__cta:hover { background: #6E7550; transform: translateY(-1px); }


/* ---------- 5. HERO ---------- */

.hero {
  position: relative;
  background: var(--ink);
  overflow: hidden;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 9rem 1.5rem 4rem;
}

/* the background video, and a scrim so the text stays readable */
.hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero__scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(ellipse at center, rgba(15,14,14,0.38) 0%, rgba(15,14,14,0.66) 72%);
  /* TWEAK: raise these numbers to darken, lower to show more video */
}

.hero__inner { position: relative; z-index: 2; }

.hero__title {
  font-size: clamp(2.75rem, 8.5vw, 6.75rem);
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: -0.04em;
  color: var(--white);
}

.hero__slogan {
  font-style: italic;
  font-weight: 400;
  color: var(--mist);
  font-size: clamp(1.05rem, 2.6vw, 1.75rem);
  letter-spacing: -0.015em;
  margin-top: 1.5rem;
}

.hero__sub {
  max-width: 42rem;
  margin-top: 2.25rem;
  font-size: clamp(1.15rem, 2.1vw, 1.5rem);
  line-height: 1.45;
  color: var(--mist);
  /* spreads the words evenly so the last line is never
     left with a single word hanging on its own */
  text-wrap: balance;
}

.hero__scroll {
  margin-top: 4rem;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  color: var(--slate);
}


/* ---------- 6. THE PROBLEM SECTION ----------
   .conflict is tall. .conflict__stage sticks to the screen
   while you scroll past it, which lets the animation play
   out in place. */

.conflict {
  height: 460vh;               /* TWEAK: taller = slower animation */
  background: var(--bg-soft);
  border-block: 1px solid var(--line);
}

.conflict__stage {
  position: sticky;
  top: 0;
  height: 100svh;
  display: grid;
  place-items: center;
  overflow: hidden;
}

/* ----- the little section tab on the left ----- */

.section-tab {
  position: absolute;
  z-index: 5;
  left: 2.5rem;
  top: 7.5rem;

  display: flex;
  align-items: center;
  gap: 0.7rem;

  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--white);
  white-space: nowrap;
  pointer-events: none;
}

.section-tab__rule {
  display: block;
  width: 46px;
  height: 2px;
  background: currentColor;
  opacity: 0.55;
}

/* ----- the question at the centre ----- */

.question {
  position: absolute;
  z-index: 3;
  font-size: clamp(1.75rem, 5vw, 3.75rem);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.05;
  color: var(--white);
  text-align: center;
  max-width: 46vw;
  padding-inline: 1.5rem;
  pointer-events: none;
}

/* script.js wraps each letter in one of these so they can be
   animated one at a time */
.question .ch {
  display: inline-block;
  will-change: transform, filter, opacity;
}

/* ----- the misconception cards ----- */

.clip {
  position: absolute;
  z-index: 2;
  left: 50%;
  top: 50%;
  transform:
    translate(
      calc(-50% + var(--x, 0px) * var(--spread, 1)),
      calc(-50% + var(--y, 0px) * var(--spread, 1))
    )
    rotate(var(--r, 0deg))
    scale(var(--s, 1));

  width: min(15rem, 62vw);
  min-height: 5.5rem;
  padding: 1rem 1.15rem;
  background: var(--tone, #FFFFFF);
  border-radius: 5px;
  cursor: help;
  outline: none;

  /* depth: smaller (further) cards cast a softer shadow */
  box-shadow:
    0 calc(14px * var(--s, 1)) calc(38px * var(--s, 1)) rgba(0, 0, 0, 0.36),
    0 2px 6px rgba(0, 0, 0, 0.18);

  transition: background 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.clip__claim, .clip__why {
  font-size: 0.9375rem;
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: -0.01em;
  color: var(--ink);
  transition: opacity 0.28s var(--ease), color 0.35s var(--ease);
}

/* the explanation, revealed on hover or keyboard focus */
.clip__why {
  position: absolute;
  inset: 0;
  padding: 0.85rem 1rem;
  font-size: 0.75rem;
  font-weight: 400;
  line-height: 1.38;
  color: #FFF1F1;
  background: var(--wrong);
  border-radius: 5px;
  opacity: 0;
  overflow: hidden;
}

.clip:hover, .clip:focus-visible { z-index: 6; }
.clip:hover .clip__why, .clip:focus-visible .clip__why { opacity: 1; }
.clip:hover { box-shadow: 0 22px 55px rgba(0, 0, 0, 0.45); }

/* script.js adds this just before the cards leave */
.clip.is-wrong { background: var(--wrong); }
.clip.is-wrong .clip__claim {
  color: #FFE9E9;
  text-decoration: line-through;
  text-decoration-thickness: 1px;
}

/* ----- what it all resolves into ----- */

.resolve {
  position: absolute;
  z-index: 4;
  text-align: center;
  padding-inline: 1.5rem;
}

.resolve .lockup { font-size: clamp(2rem, 6.5vw, 4.25rem); }
.resolve .lockup__name { color: var(--white); }

.resolve__lines { position: relative; margin-top: 0.9rem; height: 2.2em; }

.resolve__line {
  position: absolute;
  left: 0; right: 0; top: 0;
  font-size: clamp(1.05rem, 2.6vw, 1.75rem);
  color: var(--mist);
  letter-spacing: -0.015em;
}


/* ---------- 7. GENERIC SECTION ---------- */

.section {
  max-width: var(--max);
  margin-inline: auto;
  padding: 9rem 2rem;
}

.section__lead {
  font-size: clamp(1.75rem, 4.5vw, 3rem);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.03em;
  color: var(--white);
  max-width: 20ch;
  margin-bottom: 4rem;
}


/* ---------- 8. THE THREE STEPS ---------- */

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 6rem;
}

/* each step sits in its own box */
.step {
  background: var(--olive-lt);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 16px;
  padding: 1.9rem 1.7rem;
  transition: background 0.35s var(--ease), transform 0.35s var(--ease);
}
.step:hover { background: #838A60; transform: translateY(-4px); }

.step__num {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 1.2rem;
}

.step h3 {
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--white);
  margin-bottom: 0.65rem;
}

.step p { font-size: 0.9375rem; color: rgba(255,255,255,0.88); }





/* ---------- HANDWRITTEN NOTES AROUND THE DEMO ---------- */

.note {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  color: rgba(255, 255, 255, 0.9);
  pointer-events: none;
  z-index: 4;
}

.note__text {
  font-family: "Caveat", cursive;
  font-size: 1.3rem;
  line-height: 1.15;
  white-space: nowrap;
}

.note__arrow { width: 72px; height: 56px; flex-shrink: 0; }

/* the arrow draws itself */
.note__path, .note__head {
  stroke-dasharray: 120;
  stroke-dashoffset: 120;
}

/* above and to the left of the phone */
.note--swipe { top: 0.5rem; right: 50%; margin-right: -1.5rem; }
.note--swipe .note__text { text-align: right; }

/* below the phone, pointing back up at the bottom bar */
.note--nav {
  align-items: flex-start;
  gap: 0.3rem;
  bottom: 0.5rem;
  left: 50%;
  margin-left: 7rem;
}
.note--nav .note__arrow { width: 48px; height: 56px; }

@media (max-width: 1150px) {
  .note { display: none; }
}


/* ---------- THE DEVICE STAGE ---------- */

.stage {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  margin-top: 3rem;
  padding-top: 3.5rem;
  padding-bottom: 8rem;
}

/* ----- laptop ----- */

.laptop { width: 33rem; flex-shrink: 0; }

.laptop__lid {
  background: #1A1A1A;
  border-radius: 14px;
  padding: 12px 12px 14px;
  box-shadow: inset 0 0 0 1.5px #303030, 0 26px 60px rgba(0, 0, 0, 0.45);
}

.laptop__screen {
  background: var(--white);
  border-radius: 5px;
  height: 21.5rem;
  overflow: hidden;
  color: var(--ink);
  display: flex;
  flex-direction: column;
}

.laptop__base {
  height: 11px;
  width: 112%;
  margin-left: -6%;
  background: linear-gradient(#3A3A3A, #232323);
  border-radius: 0 0 12px 12px;
  position: relative;
}
.laptop__base span {
  position: absolute;
  left: 50%; top: 0;
  transform: translateX(-50%);
  width: 12%;
  height: 4px;
  background: #151515;
  border-radius: 0 0 5px 5px;
}

/* browser chrome */
.lap__bar {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 0.5rem 0.7rem;
  background: #F1EFEF;
  border-bottom: 1px solid #E4E2E2;
}
.lap__dot { width: 8px; height: 8px; border-radius: 999px; background: #D4D1D1; }
.lap__url {
  flex: 1;
  margin-left: 0.5rem;
  font-size: 0.5625rem;
  color: var(--slate);
  background: var(--white);
  border-radius: 999px;
  padding: 0.2rem 0.7rem;
  text-align: center;
}

.lap__body { flex: 1; padding: 1rem 1.2rem; overflow: hidden; }

/* stop just short of where the phone overlaps */
.stage .lap__body { padding-right: 3.4rem; }


.lap__head { display: flex; align-items: center; justify-content: space-between; }
.lap__head .lockup__name { font-size: 1.25rem; color: var(--ink); }
.lap__logo { width: 26px; height: auto; }

.lap__sub { font-size: 0.6875rem; color: var(--slate); margin-top: 0.1rem; }

.lap__based {
  font-size: 0.625rem;
  color: var(--slate);
  margin: 0.9rem 0 0.4rem;
}

.lap__chips { display: flex; flex-wrap: wrap; gap: 0.3rem; margin-bottom: 0.8rem; min-height: 1.3rem; }
.lap__chips span {
  font-size: 0.5625rem;
  font-weight: 500;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  background: #EDF0E5;
  color: #4A5138;
}

/* two columns so the full screen is used */
.lap__cols {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 0.8rem;
  align-items: start;
}

.lap__grid { display: grid; grid-template-columns: 1fr; gap: 0.45rem; }

.lap__side-h {
  font-size: 0.5625rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--slate);
  margin-bottom: 0.4rem;
}

.lap__tile {
  background: #F7F6F6;
  border-radius: 10px;
  padding: 0.55rem 0.65rem;
  margin-bottom: 0.4rem;
}
.lap__tile b { display: block; font-size: 0.625rem; font-weight: 600; line-height: 1.25; }
.lap__tile span { display: block; font-size: 0.5rem; color: var(--slate); margin-top: 0.15rem; }
.lap__tile--quiet { background: transparent; border: 1px dashed #E0DEDE; }

.lap__card {
  background: #F7F6F6;
  border-radius: 10px;
  padding: 0.6rem 0.7rem;
  border-left: 3px solid var(--olive);
}
.lap__card b { display: block; font-size: 0.6875rem; font-weight: 600; line-height: 1.25; }
.lap__card span { display: block; font-size: 0.5625rem; color: var(--slate); margin-top: 0.2rem; }

.lap__empty {
  grid-column: 1 / -1;
  font-size: 0.6875rem;
  color: var(--slate);
  text-align: center;
  padding: 1.6rem 1rem;
}

/* the phone sits in front of the laptop */
.stage .phone { margin-left: -2.5rem; margin-bottom: -2rem; z-index: 2; position: relative; }

/* ----- watch ----- */

.watch {
  width: 8rem;
  flex-shrink: 0;
  margin-left: -1.75rem;
  margin-bottom: -1rem;
  z-index: 3;
  position: relative;
}

.watch__band {
  width: 62%;
  height: 2.2rem;
  margin-inline: auto;
  background: linear-gradient(#3A3A3A, #262626);
}
.watch__band--top { border-radius: 10px 10px 4px 4px; }
.watch__band--bottom { border-radius: 4px 4px 10px 10px; }

.watch__body {
  background: #1A1A1A;
  border-radius: 30px;
  padding: 9px;
  box-shadow: inset 0 0 0 1.5px #333, 0 18px 40px rgba(0, 0, 0, 0.45);
}

.watch__screen {
  background: #000;
  border-radius: 23px;
  padding: 0.75rem 0.7rem 0.85rem;
  min-height: 9.5rem;
  display: flex;
  flex-direction: column;
}

.watch__time {
  font-size: 0.5625rem;
  font-weight: 600;
  color: #8E8E93;
  text-align: right;
  margin-bottom: 0.4rem;
}

.watch__pill {
  align-self: flex-start;
  font-size: 0.5rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  padding: 0.15rem 0.45rem;
  border-radius: 999px;
  background: var(--olive);
  color: var(--white);
  margin-bottom: 0.4rem;
}

.watch__title {
  font-size: 0.625rem;
  font-weight: 600;
  line-height: 1.28;
  color: var(--white);
  letter-spacing: -0.01em;
}

.watch__foot {
  margin-top: auto;
  padding-top: 0.5rem;
  font-size: 0.5rem;
  color: #8E8E93;
}

/* ----- narrower screens: let the devices wrap ----- */

@media (max-width: 1150px) {
  .stage { flex-wrap: wrap; gap: 2rem; align-items: center; }
  .stage .lap__body { padding-right: 1.2rem; }
  .lap__cols { grid-template-columns: 1fr; }
  .laptop { width: min(30rem, 100%); }
  .stage .phone { margin: 0; }
  .watch { margin: 0; }
}


/* ---------- 8a. FULL-WIDTH COLOUR BANDS ---------- */

.band { width: 100%; }
.band--olive { background: var(--olive); }
.band--olive-light { background: var(--olive-lt); }

.band--white { background: var(--white); }
.band .section { padding-block: 9rem; }

.anchor { display: block; position: relative; top: -6rem; }


/* ---------- 8b. THE PRODUCT DEMO ---------- */

/* the tab, in normal flow this time */
.section-tab--flow {
  position: static;
  transform: none;
  margin-bottom: 3rem;
}

.demo { margin-bottom: 5rem; }

.demo__copy { text-align: center; }

.demo__copy .section__lead {
  max-width: none;
  margin-bottom: 1.1rem;
  white-space: nowrap;
}

.section__lead.is-typing::after {
  content: "";
  display: inline-block;
  width: 3px;
  height: 0.82em;
  margin-left: 4px;
  background: currentColor;
  vertical-align: baseline;
  animation: caret 0.75s steps(1) infinite;
}
@keyframes caret { 0%, 50% { opacity: 1; } 50.01%, 100% { opacity: 0; } }

/* stop the headline collapsing while it is empty */
.demo__copy .section__lead { min-height: 2.2em; }

.demo__body {
  max-width: 52ch;
  margin: 3.5rem auto 0;
  text-align: center;
  font-size: 1.0625rem;
  color: rgba(255, 255, 255, 0.82);
}

.demo__hint {
  display: inline-block;
  font-family: "Caveat", cursive;
  font-size: 1.5rem;
  color: var(--white);
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  padding: 0.3rem 1.2rem;
}

/* ----- the device ----- */

.phone {
  width: 310px;
  padding: 11px;
  background: #1A1A1A;
  border-radius: 46px;
  box-shadow:
    inset 0 0 0 2px #2E2E2E,
    0 30px 70px rgba(0, 0, 0, 0.5);
  flex-shrink: 0;
}

.phone__screen {
  background: var(--white);
  border-radius: 36px;
  padding: 0.85rem 0.95rem 0.9rem;
  min-height: 560px;
  display: flex;
  flex-direction: column;
  color: var(--ink);
  position: relative;
  overflow: hidden;
}

.phone__status {
  display: flex;
  justify-content: space-between;
  font-size: 0.6875rem;
  font-weight: 600;
  color: var(--ink);
  padding: 0.15rem 0.4rem 0.9rem;
}
.phone__status-icons { letter-spacing: 0.1em; opacity: 0.5; font-size: 0.5rem; }

.phone__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 0.25rem 1rem;
}
.phone__head .lockup__name { font-size: 1.5rem; color: var(--ink); }
.phone__logo { width: 34px; height: auto; }

/* ----- the views inside the phone ----- */

.phone__views { flex: 1; position: relative; }

.view {
  position: absolute;
  inset: 0;
  display: none;
  flex-direction: column;
  overflow-y: auto;
}
.view.is-on { display: flex; }

/* ----- the swipeable deck ----- */

.deck { position: relative; flex: 1; }

.ui-card {
  position: absolute;
  inset: 0;
  background: #F7F6F6;
  border-radius: 18px;
  padding: 1.1rem;
  cursor: grab;
  touch-action: pan-y;
  user-select: none;
  display: flex;
  flex-direction: column;
}
.ui-card:active { cursor: grabbing; }

/* the card sitting behind, for depth */
.ui-card--behind {
  transform: translateY(10px) scale(0.96);
  opacity: 0.55;
  pointer-events: none;
}

.ui-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
  margin-bottom: 0.75rem;
}

.ui-pill {
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  background: var(--ink);
  color: var(--white);
  padding: 0.22rem 0.6rem;
  border-radius: 999px;
}

/* reliability and validity: the marker shows a score is coming,
   without claiming one */
.ui-scores {
  display: flex;
  gap: 1rem;
  margin-bottom: 0.9rem;
}

.ui-scores span {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.625rem;
  color: var(--slate);
}

.ui-scores i {
  display: grid;
  place-items: center;
  width: 13px;
  height: 13px;
  border-radius: 999px;
  border: 1px solid #C9C6C3;
  font-style: normal;
  font-size: 0.5625rem;
  font-weight: 700;
  color: var(--slate);
}

.ui-card__title {
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.015em;
  color: var(--ink);
  margin-bottom: 0.75rem;
}

.ui-toggle {
  display: flex;
  gap: 2px;
  background: #E7E5E5;
  border-radius: 999px;
  padding: 3px;
  margin-bottom: 0.9rem;
}

.ui-toggle button {
  flex: 1;
  font: inherit;
  font-size: 0.625rem;
  font-weight: 500;
  padding: 0.35rem 0;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--slate);
  cursor: pointer;
  transition: background 0.25s var(--ease), color 0.25s var(--ease);
}
.ui-toggle button.is-on { background: var(--white); color: var(--ink); }

.ui-card__body {
  flex: 1;
  font-size: 0.8125rem;
  line-height: 1.5;
  color: #4A4A4A;
  transition: opacity 0.13s;
}

.ui-card__source {
  font-size: 0.625rem;
  color: var(--slate);
  border-top: 1px solid #E4E2E2;
  padding-top: 0.7rem;
  margin-top: 0.7rem;
}

/* the SAVE / SKIP stamps that appear as you drag */
.ui-stamp {
  position: absolute;
  top: 1.1rem;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  padding: 0.3rem 0.7rem;
  border-radius: 6px;
  opacity: 0;
  pointer-events: none;
}
.ui-stamp--save { right: 1.1rem; color: #1B7A3F; border: 2px solid #1B7A3F; transform: rotate(9deg); }
.ui-stamp--skip { left: 1.1rem;  color: #9A2B2B; border: 2px solid #9A2B2B; transform: rotate(-9deg); }

/* ----- the coaching message ----- */

.coach {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.6875rem;
  color: var(--slate);
  text-align: center;
  padding: 0.85rem 0.4rem 0.6rem;
  transition: opacity 0.5s var(--ease);
  min-height: 3.1rem;
}
.coach.is-gone { opacity: 0; }

.coach__arrows { color: var(--ink); letter-spacing: -0.05em; }

/* ----- lists used by Library and Actions ----- */

.ui-subhead {
  font-size: 0.625rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--slate);
  margin-bottom: 0.7rem;
}

.ui-list { list-style: none; }
.ui-list li {
  font-size: 0.8125rem;
  line-height: 1.35;
  color: var(--ink);
  background: #F7F6F6;
  border-radius: 12px;
  padding: 0.7rem 0.8rem;
  margin-bottom: 0.45rem;
}
.ui-list li span {
  display: block;
  font-size: 0.625rem;
  color: var(--slate);
  margin-top: 0.25rem;
}
.ui-list--action li { border-left: 3px solid var(--ink); }

.ui-empty {
  font-size: 0.75rem;
  line-height: 1.5;
  color: var(--slate);
  text-align: center;
  margin: auto;
  padding: 1.5rem 1rem;
}

/* ----- the "what it is learning" bars ----- */

.ui-bars { list-style: none; }
.ui-bars li { margin-bottom: 0.8rem; }

.ui-bars .lab {
  display: flex;
  justify-content: space-between;
  font-size: 0.6875rem;
  color: var(--ink);
  margin-bottom: 0.3rem;
}
.ui-bars .track { height: 5px; background: #EDEBEB; border-radius: 999px; overflow: hidden; }
.ui-bars .fill {
  height: 100%;
  background: var(--ink);
  border-radius: 999px;
  transition: width 0.6s var(--ease);
}

/* ----- bottom bar ----- */

.phone__nav {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid #EDEBEB;
  padding: 0.75rem 0.25rem 0.15rem;
  margin-top: 0.6rem;
}

.phone__nav button {
  font: inherit;
  font-size: 0.5625rem;
  letter-spacing: 0.03em;
  background: none;
  border: 0;
  padding: 0.2rem 0.45rem;
  color: #B9B7B7;
  cursor: pointer;
  transition: color 0.25s var(--ease);
}
.phone__nav button:hover { color: var(--slate); }
.phone__nav button.is-on { color: var(--ink); font-weight: 600; }



/* ---------- HOVER HINT ON THE PROBLEM SECTION ---------- */

.hover-hint {
  position: absolute;
  z-index: 5;
  bottom: 8%;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.8125rem;
  color: var(--mist);
  opacity: 0.85;
  pointer-events: none;
}

.hover-hint__dot {
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border-radius: 999px;
  border: 1px solid currentColor;
  font-size: 0.6875rem;
  font-weight: 600;
}

/* the small marker on each card */
.clip__mark {
  position: absolute;
  top: 0.55rem;
  right: 0.6rem;
  display: grid;
  place-items: center;
  width: 15px;
  height: 15px;
  border-radius: 999px;
  border: 1px solid rgba(15, 14, 14, 0.28);
  font-size: 0.5625rem;
  font-weight: 700;
  color: rgba(15, 14, 14, 0.45);
  transition: opacity 0.25s var(--ease);
}
.clip:hover .clip__mark, .clip:focus-visible .clip__mark { opacity: 0; }
.clip.is-wrong .clip__mark { border-color: rgba(255,255,255,0.4); color: rgba(255,255,255,0.65); }


/* ---------- THE SWIPE GLYPH IN THE DEMO ---------- */

.coach__glyph { width: 44px; height: 20px; color: var(--ink); flex-shrink: 0; }


/* ---------- SCROLL CUE ---------- */

.hero__scroll svg { width: 15px; height: 10px; margin: 0.45rem auto 0; display: block; }


/* ---------- OUR STORY ---------- */

.section--story { border-top: 1px solid var(--line); }

.story {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}

.story__body {
  font-size: 1.0625rem;
  max-width: 42ch;
}
.story__body + .story__body { margin-top: 1.4rem; }


/* ---------- WAITLIST INSIDE THE PHONE ---------- */

.waitlist {
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid #EDEBEB;
}

.waitlist__title {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.01em;
}

.waitlist__body {
  font-size: 0.6875rem;
  color: var(--slate);
  margin: 0.15rem 0 0.6rem;
}

.waitlist__row { display: flex; gap: 0.35rem; }

.waitlist__row input {
  flex: 1;
  min-width: 0;
  font: inherit;
  font-size: 0.75rem;
  padding: 0.5rem 0.7rem;
  border: 1px solid #DEDCDC;
  border-radius: 999px;
  background: var(--white);
  color: var(--ink);
}
.waitlist__row input:focus { outline: none; border-color: var(--olive); }

.waitlist__row button {
  font: inherit;
  font-size: 0.8125rem;
  width: 34px;
  border: 0;
  border-radius: 999px;
  background: var(--olive);
  color: var(--white);
  cursor: pointer;
  transition: background 0.25s var(--ease);
}
.waitlist__row button:hover { background: #6E7550; }

.waitlist__note {
  font-size: 0.6875rem;
  margin-top: 0.45rem;
  min-height: 1em;
  color: var(--olive);
}
.waitlist__note.is-error { color: #9A2B2B; }



/* ---------- THE WAITLIST STRIP ---------- */

.cta-strip {
  position: relative;
  text-align: center;
  max-width: 44rem;
  margin-inline: auto;
  padding: 3.5rem 2rem;
  background: var(--white);
  border-radius: 28px;
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.28);
}

.cta-strip__badge {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--white);
  background: var(--olive);
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  margin-bottom: 1.4rem;
}

.cta-strip__title {
  font-size: clamp(2rem, 5.5vw, 3.5rem);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.035em;
  color: var(--ink);
}

.cta-strip__body {
  color: var(--slate);
  margin: 0.9rem auto 2.25rem;
  max-width: 30ch;
}

.cta-strip__form {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  flex-wrap: wrap;
}

.cta-strip__form input {
  font: inherit;
  font-size: 1rem;
  width: min(20rem, 100%);
  padding: 0.95rem 1.4rem;
  border: 1px solid #DEDCDC;
  border-radius: 999px;
  background: #F7F6F6;
  color: var(--ink);
}
.cta-strip__form input::placeholder { color: var(--slate); }
.cta-strip__form input:focus { outline: none; border-color: var(--olive); background: var(--white); }

.cta-strip__form button {
  font: inherit;
  font-size: 1rem;
  font-weight: 500;
  padding: 0.95rem 2rem;
  border: 0;
  border-radius: 999px;
  background: var(--olive);
  color: var(--white);
  cursor: pointer;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.cta-strip__form button:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
}

.cta-strip__note {
  margin-top: 1rem;
  min-height: 1.2em;
  font-size: 0.9375rem;
  color: var(--olive);
}
.cta-strip__note.is-error { color: #9A2B2B; }


/* ---------- THE WHITE STATS SECTION ---------- */

.section-tab--dark { color: var(--slate); }
.section__lead--dark { color: var(--ink); }

.band--white .split__col h2 { color: var(--slate); }
.band--white .split__stat { color: var(--ink); font-variant-numeric: tabular-nums; }
.band--white .split__col p { color: #55595C; }

.split__src {
  font-size: 0.75rem !important;
  color: var(--slate) !important;
  margin-top: 1rem;
}

/* five figures, one of them marked */
.split__stat--words { letter-spacing: -0.03em; }

.figures { display: flex; gap: 0.6rem; margin: 1.5rem 0 1.5rem; }

.fig {
  width: 40px;
  height: 50px;
  fill: #DCDAD9;
  opacity: 0;
  transform: translateY(10px);
}
.fig--on { fill: var(--wrong); }

.split__punch {
  font-size: 1.25rem !important;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.02em;
  color: var(--ink) !important;
  max-width: 26ch;
  margin-bottom: 0.9rem;
}

.band--white .split__col p b {
  font-weight: 600;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}

/* the hundred-dot grid */
.dots {
  display: grid;
  grid-template-columns: repeat(20, 1fr);
  gap: 5px;
  max-width: 24rem;
  margin: 1.5rem 0 1.75rem;
}

.dots i {
  aspect-ratio: 1;
  border-radius: 999px;
  background: #E4E2E2;
  transform: scale(0.6);
  opacity: 0;
}
.dots i.on { background: var(--ink); }


/* ---------- OUR STORY: the roadmap ---------- */

.story {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 4rem;
  align-items: start;
  margin-top: 4rem;
}

.road { position: relative; list-style: none; padding-left: 3rem; }

/* the line running down the side */
.road__line {
  position: absolute;
  left: 9px;
  top: 6px;
  bottom: 6px;
  width: 2px;
  background: rgba(255, 255, 255, 0.14);
  border-radius: 2px;
  overflow: hidden;
}

.road__fill {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--white);
  transform: scaleY(0);
  transform-origin: top;
}

.road__step { position: relative; padding-bottom: 3rem; }
.road__step:last-child { padding-bottom: 0; }

.road__dot {
  position: absolute;
  left: -3rem;
  top: 4px;
  width: 20px;
  height: 20px;
  border-radius: 999px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  background: var(--bg);
  transition: border-color 0.4s var(--ease), background 0.4s var(--ease);
}

.road__step.is-reached .road__dot {
  border-color: var(--white);
  background: var(--white);
}

.road__step h3 {
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--white);
  margin-bottom: 0.5rem;
}

.road__step p { font-size: 0.9375rem; max-width: 40ch; }


/* ---------- OUR STORY: the photo frames ---------- */

.frames {
  position: relative;
  min-height: 41rem;
  margin-top: 2rem;
}

.frames__label {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--slate);
  margin-bottom: 1.5rem;
}

.frame {
  position: absolute;
  width: 13.5rem;
  padding: 0.75rem 0.75rem 4.3rem;   /* the thick edge sits at the bottom */
  background: var(--white);
  border-radius: 3px;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.42);
}

.frame__img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  background: var(--ink);
  object-fit: cover;
}

.frame figcaption {
  position: absolute;
  left: 0.75rem; right: 0.75rem;
  bottom: 0.85rem;
  text-align: center;
  line-height: 1.25;
}

.frame figcaption b {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.01em;
}

.frame figcaption span {
  display: block;
  font-size: 0.6875rem;
  color: var(--slate);
  margin-top: 0.15rem;
}

/* the third frame carries a figure rather than a photo */
.frame__img--raised {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.2rem;
}

.raised__num {
  font-size: 2.25rem;
  font-weight: 600;
  letter-spacing: -0.04em;
  color: var(--white);
}

.raised__word {
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.65);
}

.frame--1 { top: 3.5rem; left: 0;  transform: rotate(-7deg); z-index: 3; }
.frame--2 { top: 30%;  right: 0;   transform: rotate(6deg);  z-index: 2; }
.frame--3 { bottom: 0; left: 5%;   transform: rotate(-2deg); z-index: 1; }


/* ---------- WAITLIST INSIDE THE PHONE ---------- */

.waitlist {
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid #EDEBEB;
}

.waitlist__title {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.01em;
}

.waitlist__body {
  font-size: 0.6875rem;
  color: var(--slate);
  margin: 0.15rem 0 0.6rem;
}

.waitlist__row { display: flex; gap: 0.35rem; }

.waitlist__row input {
  flex: 1;
  min-width: 0;
  font: inherit;
  font-size: 0.75rem;
  padding: 0.5rem 0.7rem;
  border: 1px solid #DEDCDC;
  border-radius: 999px;
  background: var(--white);
  color: var(--ink);
}
.waitlist__row input:focus { outline: none; border-color: var(--olive); }

.waitlist__row button {
  font: inherit;
  font-size: 0.8125rem;
  width: 34px;
  border: 0;
  border-radius: 999px;
  background: var(--olive);
  color: var(--white);
  cursor: pointer;
  transition: background 0.25s var(--ease);
}
.waitlist__row button:hover { background: #6E7550; }

.waitlist__note {
  font-size: 0.6875rem;
  margin-top: 0.45rem;
  min-height: 1em;
  color: var(--olive);
}
.waitlist__note.is-error { color: #9A2B2B; }



/* ---------- THE WAITLIST STRIP ---------- */

.cta-strip {
  position: relative;
  text-align: center;
  max-width: 44rem;
  margin-inline: auto;
  padding: 3.5rem 2rem;
  background: var(--white);
  border-radius: 28px;
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.28);
}

.cta-strip__badge {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--white);
  background: var(--olive);
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  margin-bottom: 1.4rem;
}

.cta-strip__title {
  font-size: clamp(2rem, 5.5vw, 3.5rem);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.035em;
  color: var(--ink);
}

.cta-strip__body {
  color: var(--slate);
  margin: 0.9rem auto 2.25rem;
  max-width: 30ch;
}

.cta-strip__form {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  flex-wrap: wrap;
}

.cta-strip__form input {
  font: inherit;
  font-size: 1rem;
  width: min(20rem, 100%);
  padding: 0.95rem 1.4rem;
  border: 1px solid #DEDCDC;
  border-radius: 999px;
  background: #F7F6F6;
  color: var(--ink);
}
.cta-strip__form input::placeholder { color: var(--slate); }
.cta-strip__form input:focus { outline: none; border-color: var(--olive); background: var(--white); }

.cta-strip__form button {
  font: inherit;
  font-size: 1rem;
  font-weight: 500;
  padding: 0.95rem 2rem;
  border: 0;
  border-radius: 999px;
  background: var(--olive);
  color: var(--white);
  cursor: pointer;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.cta-strip__form button:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
}

.cta-strip__note {
  margin-top: 1rem;
  min-height: 1.2em;
  font-size: 0.9375rem;
  color: var(--olive);
}
.cta-strip__note.is-error { color: #9A2B2B; }


/* ---------- THE WHITE STATS SECTION ---------- */

.section-tab--dark { color: var(--slate); }
.section__lead--dark { color: var(--ink); }

.band--white .split__col h2 { color: var(--slate); }
.band--white .split__stat { color: var(--ink); font-variant-numeric: tabular-nums; }
.band--white .split__col p { color: #55595C; }

.split__src {
  font-size: 0.75rem !important;
  color: var(--slate) !important;
  margin-top: 1rem;
}

/* five figures, one of them marked */
.split__stat--words { letter-spacing: -0.03em; }

.figures { display: flex; gap: 0.6rem; margin: 1.5rem 0 1.5rem; }

.fig {
  width: 40px;
  height: 50px;
  fill: #DCDAD9;
  opacity: 0;
  transform: translateY(10px);
}
.fig--on { fill: var(--wrong); }

.split__punch {
  font-size: 1.25rem !important;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.02em;
  color: var(--ink) !important;
  max-width: 26ch;
  margin-bottom: 0.9rem;
}

.band--white .split__col p b {
  font-weight: 600;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}

/* the hundred-dot grid */
.dots {
  display: grid;
  grid-template-columns: repeat(20, 1fr);
  gap: 5px;
  max-width: 24rem;
  margin: 1.5rem 0 1.75rem;
}

.dots i {
  aspect-ratio: 1;
  border-radius: 999px;
  background: #E4E2E2;
  transform: scale(0.6);
  opacity: 0;
}
.dots i.on { background: var(--ink); }


/* ---------- OUR STORY: the logo, taken apart ---------- */

.story__mark { width: min(20rem, 70%); height: auto; margin-top: 3rem; display: block; }
.story__c1 { fill: var(--ink); }
.story__c2 { fill: var(--mist); mix-blend-mode: screen; }

.story__col .section__lead .word { display: inline-block; }


/* ---------- 9. WHO IT'S FOR ---------- */

.section--split { border-top: 1px solid var(--line); }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; }

.split__col h2 {
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--slate);
  margin-bottom: 1.25rem;
}

.split__stat {
  font-size: clamp(3rem, 8vw, 5rem);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--white);
  margin-bottom: 1rem;
}

.split__col p:last-child { font-size: 0.9375rem; max-width: 32ch; }


/* ---------- 10. CLOSING ---------- */

.closing {
  background: var(--ink);
  text-align: center;
  padding: 10rem 2rem;
}

.closing__lockup { font-size: clamp(2.25rem, 6.5vw, 4rem); margin-bottom: 1.75rem; }
.closing__lockup .lockup__name { color: var(--white); }

.closing__title {
  font-size: clamp(2.25rem, 7vw, 4.5rem);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.035em;
  color: var(--white);
}

.closing__body {
  max-width: 34rem;
  margin: 2rem auto 2.75rem;
  color: var(--mist);
}

.button {
  display: inline-block;
  background: var(--olive);
  color: var(--white);
  font-size: 0.9375rem;
  font-weight: 500;
  padding: 0.9rem 2.1rem;
  border-radius: 999px;
  transition: transform 0.35s var(--ease), background 0.35s var(--ease);
}
.button:hover { background: #6E7550; transform: translateY(-2px); }


/* ---------- 11. FOOTER + SOCIAL ICONS ---------- */

.footer {
  background: var(--ink);
  padding: 0 2rem 4rem;
  text-align: center;
}

.social {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
}

.social a {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--mist);
  transition: color 0.3s var(--ease),
              border-color 0.3s var(--ease),
              transform 0.3s var(--ease);
}

.social a:hover {
  color: var(--white);
  border-color: var(--white);
  transform: translateY(-3px);
}

/* the icons inherit their colour from the link above */
.social svg { width: 19px; height: 19px; display: block; }

.footer__meta { font-size: 0.8125rem; color: var(--slate); }


/* ---------- 12. SMALL SCREENS ---------- */

@media (max-width: 800px) {
  .nav { gap: 1rem; padding-left: 1rem; }
  .nav .lockup { font-size: 1.15rem; }
  .nav__links a:not(.nav__cta) { display: none; }

  .steps, .split, .story { grid-template-columns: 1fr; gap: 2.5rem; }
  .frames { min-height: 26rem; }
  .frame { width: 11rem; padding-bottom: 2.5rem; }
  .cta-strip { padding: 2.5rem 1.25rem; }
  .cta-strip__form input { width: 100%; }
  .cta-strip__form button { width: 100%; }
  .steps { gap: 1rem; }
  .dots { grid-template-columns: repeat(10, 1fr); max-width: 14rem; }
  .section-tab { font-size: 0.75rem; }
  .demo { grid-template-columns: 1fr; gap: 3rem; justify-items: center; }
  .demo__copy { text-align: center; }
  .section__lead.is-typing::after {
  content: "";
  display: inline-block;
  width: 3px;
  height: 0.82em;
  margin-left: 4px;
  background: currentColor;
  vertical-align: baseline;
  animation: caret 0.75s steps(1) infinite;
}
@keyframes caret { 0%, 50% { opacity: 1; } 50.01%, 100% { opacity: 0; } }

/* stop the headline collapsing while it is empty */
.demo__copy .section__lead { min-height: 2.2em; }

.demo__body { margin-inline: auto; }
  .section { padding: 6rem 1.5rem; }
  .closing { padding: 7rem 1.5rem; }

  .section-tab { left: 1.25rem; top: 6.5rem; }
  .question { max-width: 80vw; }
  .section-tab__rule { width: 16px; }

  /* pull the cards in and shrink them so they fit a phone */
  .clip { --spread: 0.82; width: min(11rem, 52vw); padding: 0.75rem 0.9rem; }
  .clip p { font-size: 0.8125rem; }

  /* fewer cards on a small screen, or it turns to mush */
  .clip:nth-of-type(n+9) { display: none; }
}


/* ---------- 13. REDUCED MOTION ---------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}
