:root {
  --c-ink: #241C3B;
  --c-ink2: #4F476B;
  --c-ink3: #8A82A6;
  --c-cream: #FCFAFF;
  --c-bone: #F2EDFE;
  --c-linen: #E6DEFA;
  --c-sand: #CDC1EF;
  --c-ember: #7B5BE6;
  --c-emberDeep: #5A38C6;
  --c-wash: #EBE3FF;
  --c-washSoft: #F7F3FF;
  --c-moss: #2F9B86;
  --c-clay: #C4457E;
  --c-danger: #C43B4A;
  --c-dangerWash: #FBEDF0;
  --c-surface: #FFFFFF;
  --c-washBorder: #D6C9F8;
  --c-mossWash: #E2F5F0;
  --c-clayWash: #FCEAF2;
  --c-inkDeep: #150E2B;
  --c-washOnDark: rgba(235,227,255,0.12);
  --c-sandOnDark: rgba(205,193,239,0.5);
  --c-scrim: rgba(36,28,59,0.42);
  --c-paper: #F1ECFD;
  --c-btn: #241C3B;
  --c-btnFg: #FCFAFF;
  --c-btnHover: #150E2B;
  --c-onEmber: #FFFFFF;
  --c-slab: #241C3B;
  --c-slabFg: #F1ECFD;
  --c-mossBorder: rgba(47, 155, 134, 0.4);
  --c-clayBorder: rgba(196, 69, 126, 0.35);
  --c-emberGlow: rgba(123, 91, 230, 0.3);
  --shadow-card: 0px 8px 20px -12px rgba(74, 45, 150, 0.28);
  --shadow-cardLg: 0px 10px 24px -14px rgba(74, 45, 150, 0.3);
  --shadow-menu: 0px 20px 44px -18px rgba(74, 45, 150, 0.5);
  --shadow-dialog: 0px 26px 64px -20px rgba(21, 14, 43, 0.6);
  --shadow-sheet: 0px -18px 48px -12px rgba(74, 45, 150, 0.35);
  --shadow-dropdown: 0px 18px 40px -16px rgba(74, 45, 150, 0.45);
  --shadow-knob: 0px 2px 5px -1px rgba(74, 45, 150, 0.45);
  --shadow-none: none;
  --shadow-rail: -18px 0px 48px -32px rgba(74, 45, 150, 0.4);
  color-scheme: light;
}

:root[data-theme="dark"] {
  --c-ink: #EFE9FC;
  --c-ink2: #B8AED6;
  --c-ink3: #8479A8;
  --c-cream: #191430;
  --c-bone: #221B3C;
  --c-linen: #302748;
  --c-sand: #493C6E;
  --c-ember: #9B7BFF;
  --c-emberDeep: #C3ADFF;
  --c-wash: #2C2350;
  --c-washSoft: #241D42;
  --c-moss: #4CC3A8;
  --c-clay: #E77CAE;
  --c-danger: #F2788A;
  --c-dangerWash: #3A1E25;
  --c-surface: #1F1839;
  --c-washBorder: #453A6B;
  --c-mossWash: #15332D;
  --c-clayWash: #331E29;
  --c-inkDeep: #B197FF;
  --c-washOnDark: rgba(235,227,255,0.12);
  --c-sandOnDark: rgba(205,193,239,0.5);
  --c-scrim: rgba(9,6,18,0.62);
  --c-paper: #120E20;
  --c-btn: #9B7BFF;
  --c-btnFg: #17112B;
  --c-btnHover: #B197FF;
  --c-onEmber: #17112B;
  --c-slab: #2A2247;
  --c-slabFg: #EFE9FC;
  --c-mossBorder: rgba(76, 195, 168, 0.4);
  --c-clayBorder: rgba(231, 124, 174, 0.35);
  --c-emberGlow: rgba(155, 123, 255, 0.3);
  --shadow-card: 0px 10px 24px -16px rgba(0, 0, 0, 0.7);
  --shadow-cardLg: 0px 12px 28px -16px rgba(0, 0, 0, 0.72);
  --shadow-menu: 0px 20px 48px -22px rgba(0, 0, 0, 0.8);
  --shadow-dialog: 0px 26px 64px -20px rgba(0, 0, 0, 0.85);
  --shadow-sheet: 0px -18px 48px -12px rgba(0, 0, 0, 0.75);
  --shadow-dropdown: 0px 18px 40px -16px rgba(0, 0, 0, 0.78);
  --shadow-knob: 0px 2px 5px -1px rgba(0, 0, 0, 0.6);
  --shadow-none: none;
  --shadow-rail: -18px 0px 48px -28px rgba(0, 0, 0, 0.8);
  color-scheme: dark;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --c-ink: #EFE9FC;
    --c-ink2: #B8AED6;
    --c-ink3: #8479A8;
    --c-cream: #191430;
    --c-bone: #221B3C;
    --c-linen: #302748;
    --c-sand: #493C6E;
    --c-ember: #9B7BFF;
    --c-emberDeep: #C3ADFF;
    --c-wash: #2C2350;
    --c-washSoft: #241D42;
    --c-moss: #4CC3A8;
    --c-clay: #E77CAE;
    --c-danger: #F2788A;
    --c-dangerWash: #3A1E25;
    --c-surface: #1F1839;
    --c-washBorder: #453A6B;
    --c-mossWash: #15332D;
    --c-clayWash: #331E29;
    --c-inkDeep: #B197FF;
    --c-washOnDark: rgba(235,227,255,0.12);
    --c-sandOnDark: rgba(205,193,239,0.5);
    --c-scrim: rgba(9,6,18,0.62);
    --c-paper: #120E20;
    --c-btn: #9B7BFF;
    --c-btnFg: #17112B;
    --c-btnHover: #B197FF;
    --c-onEmber: #17112B;
    --c-slab: #2A2247;
    --c-slabFg: #EFE9FC;
    --c-mossBorder: rgba(76, 195, 168, 0.4);
    --c-clayBorder: rgba(231, 124, 174, 0.35);
    --c-emberGlow: rgba(155, 123, 255, 0.3);
    --shadow-card: 0px 10px 24px -16px rgba(0, 0, 0, 0.7);
    --shadow-cardLg: 0px 12px 28px -16px rgba(0, 0, 0, 0.72);
    --shadow-menu: 0px 20px 48px -22px rgba(0, 0, 0, 0.8);
    --shadow-dialog: 0px 26px 64px -20px rgba(0, 0, 0, 0.85);
    --shadow-sheet: 0px -18px 48px -12px rgba(0, 0, 0, 0.75);
    --shadow-dropdown: 0px 18px 40px -16px rgba(0, 0, 0, 0.78);
    --shadow-knob: 0px 2px 5px -1px rgba(0, 0, 0, 0.6);
    --shadow-none: none;
    --shadow-rail: -18px 0px 48px -28px rgba(0, 0, 0, 0.8);
    color-scheme: dark;
  }
}

:root {
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --r-card: 20px;
  --r-card-lg: 22px;
  --r-control: 14px;
  --r-panel: 16px;
  --r-panel-lg: 18px;
  --r-chip: 12px;
  --r-pill: 999px;
  --page: 1120px;
  --gutter: 24px;
  --display: 'Bricolage Grotesque', 'Figtree', system-ui, sans-serif;
  --ui: 'Figtree', system-ui, -apple-system, sans-serif;
  --mono: 'DM Mono', ui-monospace, 'SF Mono', monospace;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body {
  margin: 0;
  background: var(--c-paper);
  color: var(--c-ink2);
  font-family: var(--ui);
  font-size: 15px;
  line-height: 24px;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img {
  max-width: 100%;
  display: block;
}

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

h1,
h2,
h3,
h4,
p,
figure,
ul,
ol {
  margin: 0;
}

ul,
ol {
  padding: 0;
  list-style: none;
}

:focus-visible {
  outline: 2px solid var(--c-ember);
  outline-offset: 3px;
  border-radius: 6px;
}

.display {
  font-family: var(--display);
  font-weight: 700;
  color: var(--c-ink);
  letter-spacing: -0.035em;
  line-height: 1.02;
}

.kicker {
  font-family: var(--mono);
  font-weight: 500;
  font-size: 10px;
  line-height: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-ink3);
}

.kicker-lg {
  font-size: 11px;
  line-height: 13px;
  letter-spacing: 0.12em;
  color: var(--c-ember);
}

.lede {
  font-size: 18px;
  line-height: 31px;
  color: var(--c-ink2);
}

.mono {
  font-family: var(--mono);
  font-size: 11px;
  line-height: 15px;
  color: var(--c-ink3);
}

.shell {
  width: 100%;
  max-width: var(--page);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--c-ink);
  color: var(--c-cream);
  padding: 10px 16px;
  border-radius: var(--r-pill);
  z-index: 100;
}

.skip:focus {
  left: 16px;
  top: 16px;
}


.cairn {
  display: flex;
  flex-direction: column;
  gap: 3px;
  align-items: flex-start;
}

.cairn i {
  display: block;
  height: 4px;
  border-radius: var(--r-pill);
}

.cairn i:nth-child(1) {
  width: 22px;
  background: var(--c-sand);
}

.cairn i:nth-child(2) {
  width: 15px;
  background: var(--c-ember);
}

.cairn i:nth-child(3) {
  width: 8px;
  background: var(--c-ink);
}

.cairn-lg {
  gap: 8px;
}

.cairn-lg i {
  height: 11px;
}

.cairn-lg i:nth-child(1) {
  width: 78px;
}

.cairn-lg i:nth-child(2) {
  width: 54px;
}

.cairn-lg i:nth-child(3) {
  width: 30px;
}


.top {
  position: sticky;
  top: 0;
  z-index: 40;
  background: color-mix(in srgb, var(--c-cream) 82%, transparent);
  backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.24s var(--ease);
}

.top[data-stuck='true'] {
  border-bottom-color: var(--c-linen);
}

.top-inner {
  display: flex;
  align-items: center;
  gap: 20px;
  height: 66px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-right: auto;
}

.brand span {
  font-family: var(--display);
  font-weight: 700;
  font-size: 20px;
  letter-spacing: -0.03em;
  color: var(--c-ink);
}

.top-nav {
  display: flex;
  align-items: center;
  gap: 26px;
}

.top-nav a {
  font-size: 14px;
  font-weight: 500;
  color: var(--c-ink2);
  transition: color 0.16s var(--ease);
}

.top-nav a:hover {
  color: var(--c-ink);
}

.top-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}


.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: var(--r-pill);
  border: 1px solid transparent;
  font-family: var(--ui);
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition:
    background-color 0.16s var(--ease),
    border-color 0.16s var(--ease),
    transform 0.12s var(--ease);
}

.btn:active {
  transform: translateY(1px);
}

.btn-lg {
  padding: 17px 26px;
  font-size: 16px;
  line-height: 20px;
}

.btn-md {
  padding: 13px 20px;
  font-size: 14px;
  line-height: 18px;
}

.btn-sm {
  padding: 9px 14px;
  font-size: 13px;
  line-height: 18px;
}

.btn-primary {
  background: var(--c-btn);
  border-color: var(--c-btn);
  color: var(--c-btnFg);
}

.btn-primary:hover {
  background: var(--c-btnHover);
  border-color: var(--c-btnHover);
}

.btn-accent {
  background: var(--c-ember);
  border-color: var(--c-ember);
  color: var(--c-onEmber);
}

.btn-accent:hover {
  background: var(--c-emberDeep);
  border-color: var(--c-emberDeep);
}

.btn-ghost {
  background: transparent;
  border-color: var(--c-sand);
  color: var(--c-ink);
}

.btn-ghost:hover {
  border-color: var(--c-ember);
  background: var(--c-wash);
}

.btn-inert {
  background: transparent;
  border: 1px dashed var(--c-sand);
  color: var(--c-ink3);
  cursor: default;
}

.btn-inert:active {
  transform: none;
}

.btn-arrow {
  transition: transform 0.18s var(--ease);
}

.btn:hover .btn-arrow {
  transform: translateX(3px);
}

.top-cta-short {
  display: none;
}

.theme-toggle {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: var(--r-pill);
  border: 1px solid var(--c-linen);
  background: var(--c-surface);
  color: var(--c-ink2);
  cursor: pointer;
  padding: 0;
  transition:
    border-color 0.16s var(--ease),
    color 0.16s var(--ease);
}

.theme-toggle:hover {
  border-color: var(--c-sand);
  color: var(--c-ink);
}

.theme-toggle .sun {
  display: none;
}

:root[data-theme='dark'] .theme-toggle .sun {
  display: block;
}

:root[data-theme='dark'] .theme-toggle .moon {
  display: none;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) .theme-toggle .sun {
    display: block;
  }

  :root:not([data-theme='light']) .theme-toggle .moon {
    display: none;
  }
}


.chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 12px;
  border-radius: var(--r-pill);
  border: 1px solid var(--c-linen);
  background: var(--c-bone);
  font-family: var(--mono);
  font-weight: 500;
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--c-ink2);
}

.chip-accent {
  background: var(--c-wash);
  border-color: var(--c-washBorder);
  color: var(--c-emberDeep);
}

.dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--c-moss);
  flex: none;
}

.dot-sand {
  background: var(--c-sand);
}

.card {
  background: var(--c-surface);
  border: 1px solid var(--c-linen);
  border-radius: var(--r-card);
  box-shadow: var(--shadow-card);
}

.card-tint {
  background: var(--c-bone);
  border-color: var(--c-linen);
  box-shadow: none;
}

.card-accent {
  background: var(--c-wash);
  border-color: var(--c-washBorder);
  box-shadow: none;
}

.card-dark {
  background: var(--c-slab);
  border-color: var(--c-slab);
  color: var(--c-slabFg);
}


main {
  background: var(--c-cream);
}

.band {
  padding: 96px 0;
  border-top: 1px solid var(--c-linen);
}

.band-flush {
  border-top: 0;
}

.band-tint {
  background: var(--c-washSoft);
}

.band-head {
  max-width: 620px;
}

.band-head .kicker {
  display: block;
  margin-bottom: 18px;
}

.band-head h2 {
  font-family: var(--display);
  font-weight: 700;
  font-size: 42px;
  line-height: 44px;
  letter-spacing: -0.035em;
  color: var(--c-ink);
}

.band-head p {
  margin-top: 16px;
  font-size: 17px;
  line-height: 28px;
  color: var(--c-ink2);
}


.hero {
  position: relative;
  overflow: hidden;
  padding: 76px 0 84px;
}

.hero::before {
  content: '';
  position: absolute;
  inset: -40% 30% 40% -20%;
  background: radial-gradient(closest-side, var(--c-emberGlow), transparent 72%);
  opacity: 0.55;
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 64px;
  align-items: center;
}

.hero h1 {
  margin-top: 26px;
  font-family: var(--display);
  font-weight: 700;
  font-size: 66px;
  line-height: 62px;
  letter-spacing: -0.038em;
  color: var(--c-ink);
}

.hero h1 em {
  font-style: normal;
  color: var(--c-ember);
}

.hero .lede {
  margin-top: 22px;
  max-width: 500px;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 34px;
}


.phone {
  position: relative;
  width: 328px;
  margin: 0 auto;
  border-radius: 46px;
  padding: 10px;
  background: var(--c-ink);
  box-shadow: var(--shadow-menu);
}

.phone-screen {
  position: relative;
  border-radius: 37px;
  overflow: hidden;
  background: var(--c-cream);
  height: 700px;
  display: flex;
  flex-direction: column;
}

.phone-notch {
  position: absolute;
  top: 9px;
  left: 50%;
  transform: translateX(-50%);
  width: 92px;
  height: 25px;
  border-radius: var(--r-pill);
  background: var(--c-ink);
  z-index: 3;
}

.phone-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px 0;
  font-family: var(--mono);
  font-weight: 500;
  font-size: 11px;
  color: var(--c-ink);
}

.phone-body {
  flex: 1;
  padding: 26px 18px 18px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  overflow: hidden;
}

.lesson-top {
  display: flex;
  align-items: center;
  gap: 12px;
}

.lesson-bar {
  flex: 1;
  height: 8px;
  border-radius: var(--r-pill);
  background: var(--c-bone);
  overflow: hidden;
}

.lesson-bar i {
  display: block;
  height: 100%;
  width: 62%;
  border-radius: var(--r-pill);
  background: var(--c-ember);
}

.lesson-x {
  font-size: 15px;
  color: var(--c-ink3);
  line-height: 1;
}

.hearts {
  display: flex;
  gap: 3px;
  font-size: 11px;
  color: var(--c-clay);
}

.q-prompt {
  font-family: var(--ui);
  font-weight: 600;
  font-size: 19px;
  line-height: 26px;
  letter-spacing: -0.01em;
  color: var(--c-ink);
}

.q-term {
  border-bottom: 1.5px solid var(--c-sand);
  color: var(--c-emberDeep);
}

.opts {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.opt {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  padding: 14px 15px;
  border-radius: var(--r-control);
  border: 1px solid var(--c-linen);
  background: var(--c-surface);
  box-shadow: var(--shadow-card);
  font-size: 14px;
  line-height: 20px;
  color: var(--c-ink2);
}

.opt-key {
  width: 22px;
  height: 22px;
  flex: none;
  border-radius: 9px;
  display: grid;
  place-items: center;
  background: var(--c-bone);
  font-family: var(--mono);
  font-weight: 500;
  font-size: 11px;
  color: var(--c-ink3);
}

.opt-right {
  background: var(--c-mossWash);
  border-color: var(--c-moss);
  color: var(--c-ink);
}

.opt-right .opt-key {
  background: var(--c-moss);
  color: var(--c-surface);
}

.opt-sel {
  background: var(--c-wash);
  border-color: var(--c-ember);
  color: var(--c-ink);
}

.opt-sel .opt-key {
  background: var(--c-ember);
  color: var(--c-onEmber);
}

.teach-card {
  padding: 16px;
  border-radius: var(--r-panel);
  background: var(--c-bone);
  border: 1px solid var(--c-linen);
  font-size: 14px;
  line-height: 22px;
  color: var(--c-ink2);
}

.teach-card .kicker {
  display: block;
  margin-bottom: 9px;
}

.phone-foot {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.feedback {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 15px;
  border-radius: var(--r-panel);
  background: var(--c-mossWash);
  border: 1px solid var(--c-mossBorder);
  color: var(--c-moss);
  font-weight: 600;
  font-size: 14px;
}

.phone-btn {
  padding: 15px;
  border-radius: var(--r-pill);
  background: var(--c-ink);
  color: var(--c-cream);
  text-align: center;
  font-weight: 600;
  font-size: 15px;
}


.loop {
  --loop-gap: 18px;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0 var(--loop-gap);
  margin-top: 56px;
}

.loop > li {
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.loop-cap {
  position: relative;
  margin-top: 30px;
  padding-top: 24px;
}

.loop-cap::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: calc(var(--loop-gap) * -1);
  height: 1px;
  background: var(--c-washBorder);
}

.loop > li:last-child .loop-cap::before {
  right: 0;
}

.loop .n {
  position: absolute;
  top: -10px;
  left: 0;
  padding: 3px 9px;
  border-radius: var(--r-pill);
  background: var(--c-wash);
  border: 1px solid var(--c-washBorder);
  font-family: var(--mono);
  font-weight: 500;
  font-size: 10px;
  line-height: 12px;
  letter-spacing: 0.1em;
  color: var(--c-emberDeep);
}

.loop h3 {
  font-family: var(--ui);
  font-weight: 600;
  font-size: 17px;
  line-height: 22px;
  color: var(--c-ink);
}

.loop-cap p {
  margin-top: 8px;
  font-size: 13px;
  line-height: 20px;
  color: var(--c-ink2);
}

.sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

/* The storyboard phones: the app's real screens, drawn at a fifth of the hero's size. */

.mini {
  width: 100%;
  max-width: 212px;
  padding: 6px;
  border-radius: 32px;
  background: var(--c-ink);
  box-shadow: var(--shadow-cardLg);
}

.mini-screen {
  position: relative;
  aspect-ratio: 9 / 19.5;
  border-radius: 26px;
  overflow: hidden;
  background: var(--c-cream);
  display: flex;
  flex-direction: column;
  font-size: 8.5px;
  line-height: 12px;
  color: var(--c-ink2);
}

.mini-island {
  position: absolute;
  top: 7px;
  left: 50%;
  transform: translateX(-50%);
  width: 46px;
  height: 13px;
  border-radius: var(--r-pill);
  background: var(--c-ink);
  z-index: 2;
}

.mini-screen::after {
  content: '';
  position: absolute;
  bottom: 5px;
  left: 50%;
  transform: translateX(-50%);
  width: 58px;
  height: 3px;
  border-radius: var(--r-pill);
  background: var(--c-ink);
  opacity: 0.22;
}

.mini .kicker {
  font-size: 6.5px;
  line-height: 8px;
  letter-spacing: 0.1em;
}

.mini .kicker-lg {
  font-size: 7px;
}

.mini-pad {
  padding: 32px 12px 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mini-display {
  font-family: var(--display);
  font-weight: 700;
  font-size: 17px;
  line-height: 17px;
  letter-spacing: -0.03em;
  color: var(--c-ink);
}

.mini-lede {
  font-size: 8px;
  line-height: 12px;
}

.mini-mono {
  font-family: var(--mono);
  font-size: 7px;
  line-height: 9px;
  color: var(--c-ink3);
}

.mini-meta {
  font-size: 7.5px;
  line-height: 10px;
  font-weight: 500;
  color: var(--c-ink3);
}

.mini-center {
  text-align: center;
}

.mini-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 5px 11px;
  border-radius: var(--r-pill);
  border: 1px solid var(--c-btn);
  background: var(--c-btn);
  color: var(--c-btnFg);
  font-weight: 600;
  font-size: 8px;
  line-height: 11px;
}

.mini-btn-block {
  flex: 1;
  padding: 7px;
}

.mini-btn-ghost {
  background: transparent;
  border-color: var(--c-sand);
  color: var(--c-ink);
  padding: 7px 12px;
}

.mini-bar {
  display: block;
  height: 3px;
  border-radius: var(--r-pill);
  background: var(--c-bone);
  overflow: hidden;
}

.mini-bar i {
  display: block;
  height: 100%;
  border-radius: var(--r-pill);
  background: var(--c-ember);
}

.mini-input {
  display: flex;
  flex-direction: column;
  gap: 7px;
  padding: 9px 10px 8px;
  border-radius: 12px;
  border: 1px solid var(--c-linen);
  background: var(--c-surface);
  box-shadow: var(--shadow-card);
}

.mini-input p {
  font-size: 10.5px;
  line-height: 14px;
  color: var(--c-ink);
}

.caret {
  display: inline-block;
  width: 1px;
  height: 11px;
  margin-left: 1px;
  vertical-align: -1px;
  background: var(--c-ember);
  animation: blink 1.1s steps(1, end) infinite;
}

@keyframes blink {
  50% {
    opacity: 0;
  }
}

.mini-input-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 7px;
  border-top: 1px solid var(--c-linen);
}

.mini-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

.mini-chips span {
  padding: 3px 7px;
  border-radius: var(--r-pill);
  border: 1px solid var(--c-linen);
  background: var(--c-surface);
  font-size: 7.5px;
  line-height: 10px;
  color: var(--c-ink2);
}

.mini-head {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 28px 10px 7px;
  border-bottom: 1px solid var(--c-linen);
}

.mini-back {
  font-size: 10px;
  line-height: 1;
  color: var(--c-ink3);
}

.mini-head-text {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.mini-head-text b {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  font-weight: 600;
  font-size: 8px;
  line-height: 10px;
  color: var(--c-ink);
}

.mini-head .mini-bar {
  width: 26px;
}

.mini-chat {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 6px;
  padding: 10px;
  overflow: hidden;
}

.mini-chat:last-child {
  padding-bottom: 18px;
}

.mb {
  max-width: 84%;
  padding: 6px 8px;
  font-size: 8.5px;
  line-height: 12px;
}

.mb-tutor {
  align-self: flex-start;
  background: var(--c-surface);
  border: 1px solid var(--c-linen);
  color: var(--c-ink);
  border-radius: 11px 11px 11px 4px;
}

.mb-you {
  align-self: flex-end;
  background: var(--c-ink);
  color: var(--c-cream);
  border-radius: 11px 11px 4px 11px;
}

.mini-answers {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 9px 10px 16px;
  border-top: 1px solid var(--c-linen);
  background: var(--c-bone);
}

.mini-answers .kicker {
  margin-bottom: 2px;
}

.mini-answers .mini-btn {
  margin-top: 2px;
}

.mini-choice {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 8px;
  border-radius: 8px;
  border: 1px solid var(--c-linen);
  background: var(--c-cream);
  color: var(--c-ink);
}

.mini-choice i {
  width: 10px;
  height: 10px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 3px;
  border: 1px solid var(--c-sand);
  background: var(--c-surface);
  font-style: normal;
  font-size: 7px;
  font-weight: 700;
  color: var(--c-surface);
}

.mini-choice-sel {
  background: var(--c-wash);
  border-color: var(--c-ember);
  color: var(--c-emberDeep);
  font-weight: 500;
}

.mini-choice-sel i {
  background: var(--c-ember);
  border-color: var(--c-ember);
}

.mini-plan {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 10px;
  border-radius: 13px;
  border: 1px solid var(--c-washBorder);
  background: var(--c-wash);
}

.mini-plan-name {
  display: block;
  margin-bottom: 2px;
  font-weight: 600;
  font-size: 11px;
  line-height: 14px;
  color: var(--c-ink);
}

.mini-plan p {
  font-size: 8px;
  line-height: 11.5px;
}

.mini-plan hr {
  width: 100%;
  margin: 1px 0;
  border: 0;
  border-top: 1px solid var(--c-washBorder);
}

.mini-plan ul {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.mini-plan li {
  position: relative;
  padding-left: 9px;
  font-size: 8px;
  line-height: 11px;
}

.mini-plan li::before {
  content: '';
  position: absolute;
  top: 3.5px;
  left: 0;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--c-sand);
}

.mini-plan li b {
  font-weight: 600;
  color: var(--c-ink);
}

.mini-plan-actions {
  display: flex;
  gap: 4px;
  margin-top: 2px;
}

.mini-lock {
  background: linear-gradient(
    172deg,
    var(--c-slab) 35%,
    color-mix(in srgb, var(--c-slab) 62%, var(--c-ember)) 100%
  );
  color: var(--c-slabFg);
}

.mini-lock::after {
  background: var(--c-slabFg);
  opacity: 0.6;
}

.lock-clock {
  padding-top: 38px;
  text-align: center;
}

.lock-clock span {
  font-weight: 600;
  font-size: 8.5px;
  line-height: 11px;
  opacity: 0.8;
}

.lock-clock b {
  display: block;
  margin-top: 2px;
  font-family: var(--display);
  font-weight: 700;
  font-size: 46px;
  line-height: 46px;
  letter-spacing: -0.02em;
}

.lock-note {
  display: flex;
  flex-direction: column;
  gap: 1px;
  margin: 22px 8px 0;
  padding: 8px 9px 9px;
  border-radius: 12px;
  border: 1px solid var(--c-washOnDark);
  background: var(--c-washOnDark);
  backdrop-filter: blur(10px);
  font-size: 8px;
  line-height: 11px;
}

.lock-note b {
  font-weight: 600;
  font-size: 8.5px;
}

.lock-note > span:last-child {
  opacity: 0.82;
}

.lock-app {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-bottom: 4px;
  font-family: var(--mono);
  font-size: 6.5px;
  line-height: 8px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--c-sandOnDark);
}

.lock-app img {
  width: 14px;
  height: 14px;
  border-radius: 4px;
}

.lock-app em {
  margin-left: auto;
  font-style: normal;
}

.lock-foot {
  display: flex;
  justify-content: space-between;
  margin-top: auto;
  padding: 0 16px 18px;
}

.lock-foot i {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--c-washOnDark);
}

.mini-tabs {
  display: flex;
  gap: 2px;
  margin-top: auto;
  padding: 5px 8px 16px;
  border-top: 1px solid var(--c-linen);
}

.mini-tabs svg {
  flex: 1;
  height: 22px;
  padding: 5px 0;
  border-radius: 8px;
  fill: none;
  stroke: var(--c-ink2);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.mini-tabs svg.on {
  background: var(--c-wash);
  stroke: var(--c-emberDeep);
}

.mini-stats {
  display: flex;
  flex-direction: column;
  gap: 7px;
  padding: 28px 12px 9px;
  border-bottom: 1px solid var(--c-linen);
}

.mini-counters span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-family: var(--mono);
  font-size: 7px;
  color: var(--c-ink3);
}

.mini-counters b {
  font-family: var(--mono);
  font-weight: 500;
  font-size: 10px;
  color: var(--c-ink);
}

.mini-counters .dot {
  width: 5px;
  height: 5px;
  background: var(--c-ember);
}

.mini-goal {
  display: flex;
  align-items: center;
  gap: 6px;
}

.mini-goal .mini-bar {
  flex: 1;
}

.mini-pad-home {
  padding-top: 12px;
  gap: 9px;
}

.mini-pad-home .mini-display {
  margin-top: 4px;
}

.mini-resume,
.mini-league {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 9px 10px;
  border-radius: 12px;
  border: 1px solid var(--c-linen);
}

.mini-resume {
  background: var(--c-surface);
  box-shadow: var(--shadow-card);
}

.mini-resume b {
  margin-top: 3px;
  font-weight: 600;
  font-size: 11px;
  line-height: 14px;
  color: var(--c-ink);
}

.mini-resume-arrow {
  position: absolute;
  top: 50%;
  right: 10px;
  transform: translateY(-50%);
  font-size: 11px;
  color: var(--c-ember);
}

.mini-league {
  background: var(--c-bone);
}

.mini-league b {
  margin-top: 3px;
  font-family: var(--mono);
  font-weight: 500;
  font-size: 14px;
  line-height: 17px;
  color: var(--c-ink);
}

.mini-league b span {
  font-size: 8px;
  color: var(--c-ink3);
}


/* Try a lesson: the topic picker and the phone that plays the lesson (demo.js). */

.demo {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 348px;
  gap: 72px;
  align-items: center;
}

.demo-copy h2 {
  margin-top: 18px;
  font-family: var(--display);
  font-weight: 700;
  font-size: 42px;
  line-height: 44px;
  letter-spacing: -0.035em;
  color: var(--c-ink);
}

.demo-lede {
  margin-top: 16px;
  max-width: 520px;
  font-size: 17px;
  line-height: 28px;
  color: var(--c-ink2);
}

.demo-topics {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 30px;
  max-width: 520px;
}

.demo-topic {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  border-radius: var(--r-panel);
  border: 1px solid var(--c-linen);
  background: var(--c-surface);
  box-shadow: var(--shadow-card);
  font: inherit;
  text-align: left;
  color: inherit;
  cursor: pointer;
  transition:
    border-color 0.16s var(--ease),
    background-color 0.16s var(--ease);
}

.demo-topic:hover {
  border-color: var(--c-sand);
}

.demo-topic[aria-pressed='true'] {
  background: var(--c-wash);
  border-color: var(--c-ember);
  box-shadow: none;
}

.demo-topic b {
  flex: 1;
  min-width: 0;
  font-weight: 600;
  font-size: 15px;
  line-height: 20px;
  color: var(--c-ink);
}

.demo-topic-go {
  color: var(--c-sand);
  transition:
    color 0.16s var(--ease),
    transform 0.18s var(--ease);
}

.demo-topic:hover .demo-topic-go {
  transform: translateX(3px);
}

.demo-topic[aria-pressed='true'] .demo-topic-go {
  color: var(--c-emberDeep);
}

.demo-stage {
  scroll-margin-top: 84px;
}

.demo-phone .phone-screen {
  height: 680px;
}

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

/* The lesson inside the phone. Sizes are the app's, stepped down for a 308px screen. */

.lesson,
.ls-view,
.ls {
  position: relative;
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
}

.lesson-fallback {
  padding: 40px 24px;
  text-align: center;
  font-size: 14px;
  color: var(--c-ink3);
}

:where(.lesson) button {
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  color: inherit;
  text-align: inherit;
  cursor: pointer;
}

:where(.lesson) button:disabled {
  cursor: default;
}

.ls-mono {
  font-family: var(--mono);
  font-size: 10.5px;
  line-height: 14px;
  color: var(--c-ink3);
}

.ls-meta {
  font-size: 11.5px;
  line-height: 16px;
  color: var(--c-ink3);
}

.ls-chrome {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px 12px;
}

.ls-x {
  font-weight: 600;
  font-size: 15px;
  line-height: 20px;
  color: var(--c-ink3);
}

.ls-bar {
  flex: 1;
  height: 8px;
  border-radius: var(--r-pill);
  background: var(--c-bone);
  overflow: hidden;
}

.ls-bar i {
  display: block;
  height: 100%;
  border-radius: var(--r-pill);
  background: var(--c-moss);
  transition: width 0.24s var(--ease);
}

.ls-pill {
  padding: 4px 10px;
  border-radius: var(--r-pill);
  border: 1px solid var(--c-linen);
  background: var(--c-bone);
  font-family: var(--mono);
  font-size: 10.5px;
  line-height: 14px;
  color: var(--c-ink2);
}

.ls-body {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 6px 16px 22px;
  scrollbar-width: thin;
  scrollbar-color: var(--c-linen) transparent;
}

.ls-rise {
  animation: ls-rise 0.3s var(--ease) both;
}

.ls-rise-back {
  animation: ls-rise-back 0.3s var(--ease) both;
}

@keyframes ls-rise {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
}

@keyframes ls-rise-back {
  from {
    opacity: 0;
    transform: translateY(-14px);
  }
}

.ls-kicker-accent {
  color: var(--c-ember);
}

/* The course path: stats header, then lessons and challenges on one alternating track. */

.ls-stats-head {
  display: flex;
  flex-direction: column;
  gap: 9px;
  padding: 12px 16px 12px;
  border-bottom: 1px solid var(--c-linen);
}

.ls-counters {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.ls-streak {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--mono);
  font-size: 10.5px;
  line-height: 14px;
  color: var(--c-ink3);
}

.ls-streak i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--c-ember);
}

.ls-streak b {
  font-family: var(--mono);
  font-weight: 500;
  font-size: 14px;
  line-height: 18px;
  color: var(--c-ink);
}

.ls-stats-head .ls-goal-bar {
  height: 5px;
  background: var(--c-bone);
}

.ls-path {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 20px;
}

.ls-path li.is-indented {
  padding-left: 26px;
}

.ls-path-row {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  padding: 7px 8px 7px 0;
  border-radius: var(--r-control);
  transition: background-color 0.16s var(--ease);
}

.ls-path-row:hover {
  background: var(--c-washSoft);
}

.ls-stone {
  width: 40px;
  height: 40px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid transparent;
  font-size: 14px;
  line-height: 1;
  color: var(--c-surface);
}

.is-done .ls-stone {
  background: var(--c-moss);
}

.is-current .ls-stone {
  width: 52px;
  height: 52px;
  margin-left: -6px;
  background: var(--c-ember);
  font-size: 16px;
  box-shadow: 0 0 0 6px var(--c-wash);
}

.is-open .ls-stone {
  background: var(--c-bone);
  border-color: var(--c-linen);
  color: var(--c-ink3);
}

.ls-path-text {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.ls-path-text b {
  font-weight: 500;
  font-size: 14px;
  line-height: 18px;
  color: var(--c-ink);
}

.ls-path-text span {
  font-family: var(--mono);
  font-size: 9.5px;
  line-height: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-ink3);
}

.is-current .ls-path-text span {
  color: var(--c-emberDeep);
}

.is-done .ls-path-text span {
  color: var(--c-moss);
}

.ls-foot-stack {
  flex-direction: column;
  align-items: stretch;
  gap: 6px;
}

.ls-foot-stack .ls-meta {
  margin-bottom: 4px;
  text-align: center;
}


.ls-teach {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.ls-title {
  margin-top: 9px;
  font-family: var(--display);
  font-weight: 700;
  font-size: 24px;
  line-height: 27px;
  letter-spacing: -0.028em;
  color: var(--c-ink);
}

.ls-paras {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.ls-paras p {
  font-size: 14px;
  line-height: 22px;
  color: var(--c-ink2);
}

.ls-term {
  font-weight: 500;
  color: var(--c-emberDeep);
  text-decoration: underline dashed var(--c-sand);
  text-underline-offset: 3px;
}

.ls-term:hover {
  text-decoration-color: var(--c-ember);
}

.ls-terms {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 14px;
  border-top: 1px solid var(--c-linen);
}

.ls-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.ls-chip {
  padding: 6px 12px;
  border-radius: var(--r-pill);
  border: 1px solid var(--c-washBorder);
  background: var(--c-wash);
  font-weight: 500;
  font-size: 12.5px;
  line-height: 16px;
  color: var(--c-emberDeep);
}

.ls-formula {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 20px 12px;
  border-radius: var(--r-card);
  background: var(--c-slab);
  color: var(--c-slabFg);
  font-family: var(--mono);
  font-weight: 500;
  font-size: 16px;
  line-height: 21px;
}

.ls-op {
  opacity: 0.5;
  padding: 7px 1px;
}

.ls-operand {
  padding: 7px 9px;
  border-radius: 10px;
  border: 1px dashed var(--c-sandOnDark);
  background: var(--c-washOnDark);
  color: var(--c-slabFg);
}

.ls-operand:hover {
  border-color: var(--c-sand);
}

.ls-table {
  padding: 2px 14px 4px;
  border-radius: var(--r-panel);
  border: 1px solid var(--c-linen);
  background: var(--c-surface);
  box-shadow: var(--shadow-card);
}

.ls-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
}

.ls-row + .ls-row {
  border-top: 1px solid var(--c-linen);
}

.ls-row > :first-child {
  flex: 1.4;
}

.ls-row > :not(:first-child) {
  flex: 1;
  text-align: right;
}

.ls-cell-label {
  font-weight: 500;
  font-size: 13px;
  line-height: 18px;
  color: var(--c-ink);
}

.ls-cell {
  font-family: var(--mono);
  font-weight: 500;
  font-size: 12.5px;
  line-height: 17px;
  color: var(--c-ink2);
}

.ls-tone-neutral {
  color: var(--c-ink3);
}

.ls-tone-moss {
  color: var(--c-moss);
}

.ls-tone-clay {
  color: var(--c-clay);
}

.ls-flow {
  display: flex;
  flex-direction: column;
  padding: 14px;
  border-radius: var(--r-panel);
  border: 1px solid var(--c-linen);
  background: var(--c-surface);
  box-shadow: var(--shadow-card);
}

.ls-node {
  display: block;
  width: 100%;
  min-height: 38px;
  padding: 9px 12px;
  border-radius: 12px;
  border: 1px solid;
  text-align: center;
  font-weight: 500;
  font-size: 13px;
  line-height: 18px;
  color: var(--c-ink);
}

.ls-node-neutral {
  background: var(--c-bone);
  border: 1px solid var(--c-linen);
}

.ls-node-ember {
  background: var(--c-wash);
  border: 1px solid var(--c-washBorder);
}

.ls-node-moss {
  background: var(--c-mossWash);
  border: 1px solid var(--c-mossBorder);
}

.ls-node-clay {
  background: var(--c-clayWash);
  border: 1px solid var(--c-clayBorder);
}

button.ls-node {
  text-decoration: underline dashed var(--c-sand);
  text-underline-offset: 3px;
}

button.ls-node:hover {
  border-color: var(--c-ember);
}

.ls-arrow {
  display: grid;
  grid-template-columns: 1fr 14px 1fr;
  align-items: center;
}

.ls-arrow svg {
  display: block;
  fill: none;
  stroke: var(--c-sand);
  stroke-width: 1.5;
}

.ls-arrow .ls-arrow-head {
  fill: var(--c-sand);
  stroke: none;
}

.ls-arrow-label {
  padding-left: 8px;
  font-family: var(--mono);
  font-size: 10px;
  line-height: 13px;
  color: var(--c-ink3);
}

.ls-q {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.ls-prompt {
  margin-top: 8px;
  font-weight: 600;
  font-size: 18px;
  line-height: 24px;
  letter-spacing: -0.01em;
  color: var(--c-ink);
}

.ls-options {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.ls-option {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  width: 100%;
  padding: 12px 13px;
  border-radius: var(--r-control);
  border: 1px solid var(--c-linen);
  background: var(--c-surface);
  box-shadow: var(--shadow-card);
  font-size: 13.5px;
  line-height: 20px;
  color: var(--c-ink);
  transition:
    border-color 0.16s var(--ease),
    background-color 0.16s var(--ease);
}

.ls-option:not(:disabled):hover {
  border-color: var(--c-sand);
}

.ls-key {
  width: 22px;
  height: 22px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 9px;
  background: var(--c-bone);
  font-family: var(--mono);
  font-size: 11px;
  line-height: 1;
  color: var(--c-ink3);
}

.ls-option.is-selected {
  background: var(--c-wash);
  border-color: var(--c-ember);
}

.ls-option.is-right {
  background: var(--c-mossWash);
  border-color: var(--c-moss);
}

.ls-option.is-wrong {
  background: var(--c-clayWash);
  border-color: var(--c-clay);
}

.ls-option.is-selected .ls-key {
  background: var(--c-ember);
  color: var(--c-surface);
}

.ls-option.is-right .ls-key {
  background: var(--c-moss);
  color: var(--c-surface);
}

.ls-option.is-wrong .ls-key {
  background: var(--c-clay);
  color: var(--c-surface);
}

.ls-sentence {
  padding: 16px;
  border-radius: var(--r-card);
  border: 1px solid var(--c-linen);
  background: var(--c-surface);
  box-shadow: var(--shadow-card);
  font-size: 14.5px;
  line-height: 30px;
  color: var(--c-ink2);
}

.ls-slot {
  display: inline-block;
  min-width: 62px;
  margin: 0 2px;
  padding: 2px 9px;
  border-radius: 9px;
  border: 1px solid var(--c-sand);
  text-align: center;
  vertical-align: 1px;
  font-family: var(--mono);
  font-weight: 500;
  font-size: 13.5px;
  line-height: 19px;
  color: var(--c-ink);
}

.ls-slot.is-empty {
  background: var(--c-bone);
  border-bottom-width: 2px;
}

.ls-slot.is-filled {
  background: var(--c-surface);
}

.ls-slot.is-active {
  border-color: var(--c-ember);
  box-shadow: 0 0 0 3px var(--c-wash);
}

.ls-slot.is-right {
  background: var(--c-mossWash);
  border-color: var(--c-moss);
  color: var(--c-moss);
}

.ls-slot.is-wrong {
  background: var(--c-clayWash);
  border-color: var(--c-clay);
  color: var(--c-clay);
}

.ls-pop {
  animation: ls-pop 0.22s var(--ease);
}

@keyframes ls-pop {
  50% {
    transform: scale(1.08);
  }
}

.ls-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.ls-link {
  font-family: var(--mono);
  font-size: 10.5px;
  line-height: 14px;
  color: var(--c-ink3);
}

.ls-link:hover {
  color: var(--c-ink);
}

.ls-bank {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.ls-word {
  padding: 8px 12px;
  border-radius: 12px;
  border: 1px solid var(--c-linen);
  background: var(--c-cream);
  font-family: var(--mono);
  font-weight: 500;
  font-size: 13px;
  line-height: 17px;
  color: var(--c-ink);
}

.ls-word:not(:disabled):hover {
  border-color: var(--c-sand);
}

.ls-word.is-used {
  background: transparent;
  border-style: dashed;
  border-color: var(--c-sand);
}

.ls-word.is-used span {
  opacity: 0;
}

.ls-zone {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 7px;
  min-height: 64px;
  padding: 8px;
  border-radius: var(--r-card);
  border: 1px dashed var(--c-sand);
  background: var(--c-bone);
}

.ls-zone-empty {
  padding: 12px 0;
  text-align: center;
  font-size: 13px;
  line-height: 20px;
  color: var(--c-ink3);
}

.ls-placed {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 10px 12px;
  border-radius: 13px;
  border: 1px solid var(--c-sand);
  background: var(--c-surface);
  font-size: 13px;
  line-height: 19px;
  color: var(--c-ink);
}

.ls-placed.is-right {
  border-color: var(--c-moss);
}

.ls-placed.is-wrong {
  border-color: var(--c-clay);
}

.ls-num {
  width: 20px;
  height: 20px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--c-ink);
  font-family: var(--mono);
  font-size: 10.5px;
  line-height: 1;
  color: var(--c-surface);
}

.ls-placed.is-right .ls-num {
  background: var(--c-moss);
}

.ls-placed.is-wrong .ls-num {
  background: var(--c-clay);
}

.ls-pool {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.ls-pool-card {
  display: block;
  width: 100%;
  padding: 11px 13px;
  border-radius: var(--r-control);
  border: 1px solid var(--c-linen);
  background: var(--c-surface);
  box-shadow: var(--shadow-card);
  font-size: 13px;
  line-height: 19px;
  color: var(--c-ink);
}

.ls-pool-card:hover {
  border-color: var(--c-sand);
}

.ls-board {
  display: flex;
  gap: 8px;
}

.ls-column {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.ls-cell-btn {
  display: grid;
  place-items: center;
  min-height: 58px;
  padding: 6px 8px;
  border-radius: var(--r-control);
  border: 1px solid var(--c-linen);
  background: var(--c-surface);
  box-shadow: var(--shadow-card);
  text-align: center;
  font-weight: 500;
  font-size: 12.5px;
  line-height: 17px;
  color: var(--c-ink);
  transition:
    border-color 0.18s var(--ease),
    background-color 0.18s var(--ease),
    color 0.18s var(--ease);
}

.ls-cell-left {
  font-family: var(--mono);
}

.ls-cell-btn:not(:disabled):hover {
  border-color: var(--c-sand);
}

.ls-cell-btn.is-selected {
  background: var(--c-wash);
  border-color: var(--c-ember);
}

.ls-cell-btn.is-done {
  background: var(--c-mossWash);
  border-color: var(--c-moss);
  color: var(--c-moss);
}

.ls-cell-btn.is-missed {
  background: var(--c-clayWash);
  border-color: var(--c-clay);
  color: var(--c-clay);
}

.ls-foot {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px 16px;
  border-top: 1px solid var(--c-linen);
  background: var(--c-cream);
}

.ls-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 18px;
  border-radius: var(--r-pill);
  border: 1px solid transparent;
  font-weight: 600;
  font-size: 14px;
  line-height: 18px;
  text-align: center;
  transition:
    background-color 0.16s var(--ease),
    border-color 0.16s var(--ease),
    transform 0.12s var(--ease);
}

.ls-btn:not(:disabled):active {
  transform: translateY(1px);
}

.ls-btn-primary {
  flex: 1;
  background: var(--c-btn);
  border-color: var(--c-btn);
  color: var(--c-btnFg);
}

.ls-btn-primary:not(:disabled):hover {
  background: var(--c-btnHover);
  border-color: var(--c-btnHover);
}

.ls-btn-primary:disabled {
  background: var(--c-sand);
  border-color: var(--c-sand);
  color: var(--c-surface);
}

.ls-btn-ghost {
  padding: 13px 20px;
  border-color: var(--c-sand);
  color: var(--c-ink);
}

.ls-btn-ghost:hover {
  border-color: var(--c-ember);
  background: var(--c-wash);
}

.ls-btn-accent {
  width: 100%;
  background: var(--c-ember);
  border-color: var(--c-ember);
  color: var(--c-onEmber);
}

.ls-btn-accent:hover {
  background: var(--c-emberDeep);
  border-color: var(--c-emberDeep);
}

.ls-btn-text {
  width: 100%;
  padding: 10px;
  font-size: 13px;
  color: var(--c-ink2);
}

.ls-btn-text:hover {
  color: var(--c-ink);
}

.ls-feedback {
  display: flex;
  flex-direction: column;
  gap: 9px;
  padding: 15px 16px 16px;
  border-top: 1px solid;
}

.ls-feedback.is-right {
  background: var(--c-mossWash);
  border-top-color: var(--c-moss);
}

.ls-feedback.is-wrong {
  background: var(--c-clayWash);
  border-top-color: var(--c-clay);
}

.ls-feedback-in {
  animation: ls-rise 0.18s var(--ease) both;
}

.ls-feedback-title {
  display: flex;
  align-items: center;
  gap: 10px;
}

.ls-feedback-mark {
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-size: 12px;
  font-weight: 600;
  color: var(--c-surface);
}

.ls-feedback-title b {
  font-weight: 600;
  font-size: 16px;
  line-height: 21px;
}

.is-right .ls-feedback-mark {
  background: var(--c-moss);
}

.is-wrong .ls-feedback-mark {
  background: var(--c-clay);
}

.ls-feedback.is-right b {
  color: var(--c-moss);
}

.ls-feedback.is-wrong b {
  color: var(--c-clay);
}

.ls-feedback p {
  font-size: 13px;
  line-height: 20px;
  color: var(--c-ink2);
}

.ls-feedback .ls-btn {
  margin-top: 3px;
}

.ls-done {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  padding: 30px 22px 18px;
}

.ls-done-dot {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--c-ember);
}

.ls-done-dot.is-challenge {
  border-radius: 7px;
  transform: rotate(45deg) scale(0.86);
}

.ls-done-title {
  margin-top: 22px;
  font-family: var(--display);
  font-weight: 700;
  font-size: 30px;
  line-height: 32px;
  letter-spacing: -0.03em;
  color: var(--c-ink);
}

.ls-done-blurb {
  margin-top: 10px;
  font-size: 13.5px;
  line-height: 21px;
  color: var(--c-ink2);
}

.ls-stats {
  display: flex;
  gap: 8px;
  margin-top: 20px;
}

.ls-stat {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 10px 11px;
  border-radius: var(--r-control);
  border: 1px solid var(--c-linen);
  background: var(--c-surface);
  box-shadow: var(--shadow-card);
}

.ls-stat b {
  font-family: var(--mono);
  font-weight: 500;
  font-size: 19px;
  line-height: 23px;
  color: var(--c-ink);
}

.ls-stat b.is-accent {
  color: var(--c-ember);
}

.ls-stat span {
  font-family: var(--mono);
  font-size: 9.5px;
  line-height: 12px;
  color: var(--c-ink3);
}

.ls-goal {
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin-top: 12px;
  padding: 13px;
  border-radius: var(--r-card);
  border: 1px solid var(--c-linen);
  background: var(--c-bone);
}

.ls-goal-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
}

.ls-goal-head b {
  font-weight: 600;
  font-size: 13px;
  line-height: 17px;
  color: var(--c-ink);
}

.ls-goal-bar {
  display: block;
  height: 6px;
  border-radius: var(--r-pill);
  background: var(--c-linen);
  overflow: hidden;
}

.ls-goal-bar i {
  display: block;
  height: 100%;
  border-radius: var(--r-pill);
  background: var(--c-ember);
}

.ls-goal-bar.is-met i {
  background: var(--c-moss);
}

.ls-note {
  margin-top: 12px;
  font-size: 11.5px;
  line-height: 16px;
  color: var(--c-ink3);
}

.ls-done-actions {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: auto;
  padding-top: 18px;
}

.ls-sheet-wrap {
  position: absolute;
  inset: 0;
  z-index: 5;
}

.ls-scrim {
  position: absolute;
  inset: 0;
  background: var(--c-scrim);
}

.ls-sheet {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  max-height: 76%;
  display: flex;
  flex-direction: column;
  border-radius: 24px 16px 0 0;
  background: var(--c-cream);
  box-shadow: var(--shadow-sheet);
}

.ls-sheet-in .ls-scrim {
  animation: ls-fade 0.22s var(--ease) both;
}

.ls-sheet-in .ls-sheet {
  animation: ls-sheet 0.22s var(--ease) both;
}

@keyframes ls-fade {
  from {
    opacity: 0;
  }
}

@keyframes ls-sheet {
  from {
    transform: translateY(40px);
    opacity: 0;
  }
}

.ls-sheet-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 16px 12px;
  border-bottom: 1px solid var(--c-linen);
}

.ls-sheet-title {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.ls-sheet-title b {
  font-weight: 600;
  font-size: 15px;
  line-height: 19px;
  color: var(--c-ink);
}

.ls-round {
  width: 30px;
  height: 30px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--c-linen);
  background: var(--c-surface);
  font-size: 13px;
  color: var(--c-ink2);
}

.ls-round:hover {
  border-color: var(--c-sand);
}

.ls-sheet-body {
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 16px 18px 24px;
}

.ls-term-detail {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.ls-kind {
  align-self: flex-start;
  padding: 4px 10px;
  border-radius: var(--r-pill);
  border: 1px solid var(--c-washBorder);
  background: var(--c-wash);
  font-family: var(--mono);
  font-weight: 500;
  font-size: 9.5px;
  line-height: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-emberDeep);
}

.ls-term-name {
  font-family: var(--display);
  font-weight: 700;
  font-size: 24px;
  line-height: 27px;
  letter-spacing: -0.028em;
  color: var(--c-ink);
}

.ls-term-short {
  font-size: 14px;
  line-height: 22px;
  color: var(--c-ink);
}

.ls-term-more {
  padding: 13px;
  border-radius: var(--r-panel-lg);
  border: 1px solid var(--c-linen);
  background: var(--c-bone);
  font-size: 13px;
  line-height: 20px;
  color: var(--c-ink2);
}

.ls-term-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.ls-term-row {
  display: flex;
  align-items: center;
  gap: 11px;
  width: 100%;
  padding: 11px 13px;
  border-radius: var(--r-panel);
  border: 1px solid var(--c-linen);
  background: var(--c-surface);
}

.ls-term-row:hover {
  border-color: var(--c-ember);
}

.ls-term-row i {
  width: 8px;
  height: 8px;
  flex: none;
  border-radius: 50%;
  background: var(--c-sand);
}

.ls-term-row i.is-here {
  background: var(--c-ember);
}

.ls-term-row > span:nth-child(2) {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.ls-term-row b {
  font-weight: 600;
  font-size: 13.5px;
  line-height: 18px;
  color: var(--c-ink);
}

.ls-term-row > span:nth-child(2) span {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  font-size: 11.5px;
  line-height: 16px;
  color: var(--c-ink3);
}

.ls-term-go {
  color: var(--c-sand);
}


.features {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-top: 48px;
}

.feature {
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.feature-icon {
  width: 42px;
  height: 42px;
  border-radius: var(--r-chip);
  display: grid;
  place-items: center;
  background: var(--c-wash);
  border: 1px solid var(--c-washBorder);
  color: var(--c-emberDeep);
  margin-bottom: 4px;
}

.feature h3 {
  font-family: var(--ui);
  font-weight: 600;
  font-size: 21px;
  line-height: 28px;
  letter-spacing: -0.01em;
  color: var(--c-ink);
}

.feature p {
  font-size: 15px;
  line-height: 24px;
  color: var(--c-ink2);
}


.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 72px;
  align-items: center;
}

.split-rev .split-media {
  order: -1;
}

.split-copy h2 {
  font-family: var(--display);
  font-weight: 700;
  font-size: 40px;
  line-height: 42px;
  letter-spacing: -0.035em;
  color: var(--c-ink);
  margin-top: 18px;
}

.split-copy p {
  margin-top: 16px;
  font-size: 17px;
  line-height: 28px;
  color: var(--c-ink2);
}

.ticks {
  margin-top: 26px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.ticks li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 15px;
  line-height: 23px;
  color: var(--c-ink2);
}

.tick {
  width: 20px;
  height: 20px;
  flex: none;
  margin-top: 2px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--c-mossWash);
  color: var(--c-moss);
  font-size: 11px;
  font-weight: 700;
}

.ticks b {
  color: var(--c-ink);
  font-weight: 600;
}


@keyframes pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.35;
  }
}


.tutor {
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.bubble {
  max-width: 84%;
  padding: 13px 16px;
  font-size: 14px;
  line-height: 22px;
}

.bubble-you {
  align-self: flex-end;
  background: var(--c-ink);
  color: var(--c-slabFg);
  border-radius: 18px 18px 6px 18px;
}

.bubble-tutor {
  align-self: flex-start;
  background: var(--c-bone);
  border: 1px solid var(--c-linen);
  color: var(--c-ink2);
  border-radius: 18px 18px 18px 6px;
}

.tool {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 13px;
  border-radius: var(--r-pill);
  background: var(--c-wash);
  border: 1px solid var(--c-washBorder);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--c-emberDeep);
}

.tool .dot {
  background: var(--c-ember);
  animation: pulse 1.5s var(--ease) infinite;
}


.slab {
  border-radius: var(--r-card-lg);
  padding: 48px;
  background: var(--c-slab);
  border: 1px solid var(--c-slab);
  color: var(--c-slabFg);
}

.slab-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}

.slab h2 {
  font-family: var(--display);
  font-weight: 700;
  font-size: 38px;
  line-height: 40px;
  letter-spacing: -0.035em;
  color: var(--c-slabFg);
  max-width: 520px;
}

.slab .kicker {
  color: var(--c-sandOnDark);
  display: block;
  margin-bottom: 16px;
}

.slab p {
  max-width: 340px;
  font-size: 15px;
  line-height: 24px;
  color: var(--c-sandOnDark);
}

.tiles {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 44px;
}

.tile {
  padding: 22px;
  border-radius: var(--r-panel);
  background: var(--c-washOnDark);
  border: 1px solid var(--c-washOnDark);
}

.tile .kicker {
  margin-bottom: 14px;
}

.tile-value {
  font-family: var(--mono);
  font-weight: 500;
  font-size: 30px;
  line-height: 34px;
  color: var(--c-slabFg);
}

.tile-sub {
  margin-top: 8px;
  font-size: 13px;
  line-height: 19px;
  color: var(--c-sandOnDark);
}

.tile-bar {
  margin-top: 14px;
  height: 6px;
  border-radius: var(--r-pill);
  background: var(--c-washOnDark);
  overflow: hidden;
}

.tile-bar i {
  display: block;
  height: 100%;
  border-radius: var(--r-pill);
  background: var(--c-ember);
}


.platforms {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 48px;
  align-items: stretch;
}

.platform {
  padding: 30px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.platform-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.platform-glyph {
  width: 44px;
  height: 44px;
  border-radius: var(--r-chip);
  display: grid;
  place-items: center;
  background: var(--c-bone);
  border: 1px solid var(--c-linen);
  color: var(--c-ink);
}

.platform h3 {
  font-family: var(--ui);
  font-weight: 600;
  font-size: 20px;
  line-height: 26px;
  color: var(--c-ink);
}

.platform p {
  font-size: 14px;
  line-height: 22px;
  color: var(--c-ink2);
  flex: 1;
}

.platform .btn {
  margin-top: 6px;
  width: 100%;
}

.platform-live .platform-glyph {
  background: var(--c-wash);
  border-color: var(--c-washBorder);
  color: var(--c-emberDeep);
}

.platform-soon {
  background: transparent;
  border-style: dashed;
  border-color: var(--c-sand);
  box-shadow: none;
}


.faq {
  margin-top: 44px;
  border-top: 1px solid var(--c-linen);
}

.faq details {
  border-bottom: 1px solid var(--c-linen);
}

.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 24px 40px 24px 0;
  position: relative;
  font-family: var(--ui);
  font-weight: 600;
  font-size: 17px;
  line-height: 24px;
  color: var(--c-ink);
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: '';
  position: absolute;
  right: 6px;
  top: 31px;
  width: 9px;
  height: 9px;
  border-right: 1.5px solid var(--c-ink3);
  border-bottom: 1.5px solid var(--c-ink3);
  transform: rotate(45deg);
  transition: transform 0.22s var(--ease);
}

.faq details[open] summary::after {
  transform: rotate(-135deg);
  top: 35px;
}

.faq p {
  padding: 0 60px 26px 0;
  margin-top: -4px;
  font-size: 15px;
  line-height: 25px;
  color: var(--c-ink2);
}


.closing {
  position: relative;
  overflow: hidden;
  text-align: center;
  padding: 104px 0;
  background: var(--c-cream);
  border-top: 1px solid var(--c-linen);
}

.closing::before {
  content: '';
  position: absolute;
  inset: -60% 20% 30%;
  background: radial-gradient(closest-side, var(--c-emberGlow), transparent 70%);
  opacity: 0.5;
  pointer-events: none;
}

.closing-inner {
  position: relative;
  max-width: 640px;
  margin: 0 auto;
}

.closing .cairn {
  align-items: center;
  margin: 0 auto 28px;
}

.closing h2 {
  font-family: var(--display);
  font-weight: 700;
  font-size: 52px;
  line-height: 53px;
  letter-spacing: -0.035em;
  color: var(--c-ink);
}

.closing p {
  margin-top: 18px;
  font-size: 18px;
  line-height: 29px;
  color: var(--c-ink2);
}

.closing .hero-cta {
  justify-content: center;
}

.mascot {
  width: 116px;
  height: 116px;
  margin: 0 auto 30px;
  border-radius: 26px;
  box-shadow: var(--shadow-cardLg);
  animation: breathe 4s var(--ease) infinite;
}

@keyframes breathe {
  0%,
  100% {
    transform: translateY(0) scale(1);
  }
  50% {
    transform: translateY(-6px) scale(1.02);
  }
}


footer {
  background: var(--c-cream);
  border-top: 1px solid var(--c-linen);
  padding: 40px 0;
}

.foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px 28px;
}

.foot .brand {
  margin-right: auto;
}

.foot nav {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
}

.foot a {
  font-size: 14px;
  color: var(--c-ink2);
}

.foot a:hover {
  color: var(--c-ink);
}

.foot .mono {
  width: 100%;
  padding-top: 24px;
  margin-top: 6px;
  border-top: 1px solid var(--c-linen);
}


.rise {
  opacity: 0;
  transform: translateY(14px);
}

.rise.in {
  opacity: 1;
  transform: none;
  transition:
    opacity 0.3s var(--ease) var(--d, 0ms),
    transform 0.3s var(--ease) var(--d, 0ms);
}

@media (prefers-reduced-motion: reduce) {
  .rise,
  .rise.in {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .mascot,
  .tool .dot,
  .caret,
  .ls-rise,
  .ls-rise-back,
  .ls-pop,
  .ls-feedback-in,
  .ls-sheet-in .ls-scrim,
  .ls-sheet-in .ls-sheet {
    animation: none;
  }

  .ls-bar i {
    transition: none;
  }
}


@media (max-width: 1040px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 56px;
  }

  .hero h1 {
    font-size: 58px;
    line-height: 56px;
  }

  .loop {
    display: flex;
    margin-inline: calc(var(--gutter) * -1);
    padding: 0 var(--gutter) 20px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: var(--gutter);
    scrollbar-width: thin;
    scrollbar-color: var(--c-sand) transparent;
  }

  .loop > li {
    flex: 0 0 212px;
    scroll-snap-align: start;
  }

  .split {
    grid-template-columns: minmax(0, 1fr);
    gap: 44px;
  }

  .demo {
    grid-template-columns: minmax(0, 1fr);
    gap: 40px;
  }

  .demo-lede {
    max-width: 620px;
  }

  .demo-topics {
    flex-direction: row;
    max-width: none;
    margin-inline: calc(var(--gutter) * -1);
    padding: 2px var(--gutter) 14px;
    overflow-x: auto;
    scroll-snap-type: x proximity;
    scroll-padding-inline: var(--gutter);
    scrollbar-width: thin;
    scrollbar-color: var(--c-sand) transparent;
  }

  .demo-topic {
    flex: none;
    max-width: 260px;
    padding: 11px 16px;
    scroll-snap-align: start;
  }

  .demo-topic-go {
    display: none;
  }

  .split-rev .split-media {
    order: 0;
  }

  .tiles {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .platforms {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 440px) {
  :root {
    --gutter: 20px;
  }

  .top-cta-long {
    display: none;
  }

  .top-cta-short {
    display: inline;
  }

  .top-inner {
    gap: 10px;
  }
}

@media (max-width: 760px) {
  .band {
    padding: 72px 0;
  }

  .top-nav {
    display: none;
  }

  .hero {
    padding: 52px 0 64px;
  }

  .hero h1 {
    font-size: 44px;
    line-height: 44px;
  }

  .hero .lede {
    font-size: 16px;
    line-height: 27px;
  }

  .band-head h2,
  .split-copy h2,
  .demo-copy h2 {
    font-size: 32px;
    line-height: 35px;
  }

  .closing h2 {
    font-size: 38px;
    line-height: 40px;
  }

  .closing {
    padding: 76px 0;
  }

  .features {
    grid-template-columns: minmax(0, 1fr);
  }

  .slab {
    padding: 32px 24px;
  }

  .slab h2 {
    font-size: 30px;
    line-height: 33px;
  }

  .tiles {
    grid-template-columns: minmax(0, 1fr);
    margin-top: 32px;
  }

  .hero-cta .btn {
    width: 100%;
  }

  .phone {
    width: 100%;
    max-width: 328px;
  }

  .demo-phone .phone-screen {
    height: min(680px, calc(100svh - 96px));
    min-height: 540px;
  }
}
