/* chalk — the website.
   A moodboard canvas: a pale grid, white artboards pinned to it, old art
   laid on top, electric-blue poster type. Chalk itself draws on the
   pictures with the app's own engine and talks while it does. */

/* ---------- fonts (self-hosted) ---------- */
@font-face {
  font-family: "Archivo"; font-style: normal; font-weight: 100 900; font-stretch: 62% 125%; font-display: swap;
  src: url("assets/fonts/archivo-latin.woff2") format("woff2");
}
@font-face {
  font-family: "Schibsted Grotesk"; font-style: normal; font-weight: 400 900; font-display: swap;
  src: url("assets/fonts/schibsted-grotesk-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Schibsted Grotesk"; font-style: normal; font-weight: 400 900; font-display: swap;
  src: url("assets/fonts/schibsted-grotesk-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Shantell Sans"; font-style: normal; font-weight: 300 800; font-display: swap;
  src: url("assets/fonts/shantell-sans-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Shantell Sans"; font-style: normal; font-weight: 300 800; font-display: swap;
  src: url("assets/fonts/shantell-sans-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Instrument Serif"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("assets/fonts/instrument-serif-latin.woff2") format("woff2");
}
@font-face {
  font-family: "Instrument Serif"; font-style: italic; font-weight: 400; font-display: swap;
  src: url("assets/fonts/instrument-serif-italic-latin.woff2") format("woff2");
}

/* ---------- tokens ---------- */
:root {
  --canvas: #F2F2F2;
  --grid: #E4E4E4;
  --sheet: #FFFFFF;
  --ink: #0B0B0B;
  --ink-2: #4A4A4A;
  --ink-3: #6B6B6B;
  --faint: #B3B3B3;
  --blue: #0719F0;
  --thread: #DE6656;
  --lime: #C6FF3D;
  --paper: #F5EEDD;
  --paper-ink: #6A5D45;
  --paper-rule: #CDBE9C;

  --display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --sans: "Schibsted Grotesk", ui-sans-serif, system-ui, sans-serif;
  --hand: "Shantell Sans", "Comic Sans MS", cursive;
  --serif: "Instrument Serif", "Times New Roman", serif;

  --cell: 128px;
  --edge: 40px;
  --gap: clamp(96px, 11vw, 160px);
  --ease: cubic-bezier(.2, .8, .2, 1);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background-color: var(--canvas);
  background-image:
    linear-gradient(to right, var(--grid) 2px, transparent 2px),
    linear-gradient(to bottom, var(--grid) 2px, transparent 2px);
  background-size: var(--cell) var(--cell);
  background-position: calc(50% - 1px) -1px;
  color: var(--ink);
  font: 400 17px/1.5 var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; }
a { color: inherit; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }

kbd {
  display: inline-grid; place-items: center;
  min-width: 1.6em; height: 1.6em; padding: 0 .35em; margin: 0 .12em;
  font: 600 .8em/1 var(--sans);
  border: 1.5px solid var(--ink); border-radius: .4em;
  background: #fff; box-shadow: 0 1.5px 0 var(--ink);
  vertical-align: .12em;
}

/* ---------- top bar ---------- */
.bar {
  position: sticky; top: 0; z-index: 40;
  display: flex; align-items: center; gap: 32px;
  height: 64px; padding: 0 var(--edge);
  background: rgba(242, 242, 242, .84);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
}
.wordmark { display: inline-flex; align-items: center; gap: 7px; font: 800 30px/1 var(--hand); letter-spacing: -0.02em; text-decoration: none; color: var(--ink); }
.wordmark .mark { width: 38px; height: 38px; margin: -6px 0 -6px -4px; transition: transform .6s cubic-bezier(.3, 1.4, .5, 1); }
@media (hover: hover) { .wordmark:hover .mark { transform: rotate(40deg) scale(1.08); } }
.bar nav { display: flex; gap: 28px; margin-left: auto; }
.bar nav a { font: 500 15px/1 var(--sans); text-decoration: none; color: var(--ink-2); transition: color .15s; }
.bar nav a:hover { color: var(--ink); }

.pill {
  display: inline-flex; align-items: center; gap: 8px;
  height: 40px; padding: 0 18px;
  border-radius: 999px;
  background: var(--ink); color: #fff;
  font: 600 15px/1 var(--sans);
  text-decoration: none;
  transition: transform .16s var(--ease), background-color .16s;
}
.pill:hover { background: #262626; }
.pill:active { transform: scale(.97); }
.pill-lg { height: 52px; padding: 0 26px; font-size: 17px; }

/* ---------- 00 the opening screen ---------- */
/* No product here, only the reason for it: six moments of people trying to
   understand, in time order, joined by one red thread. They come in one
   by one, then drift with the pointer and the scroll. */
.opener { position: relative; height: calc(100svh - 64px); min-height: 660px; max-height: 960px; overflow: hidden; }

.op-thread { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.op-thread-line { fill: none; stroke: var(--thread); stroke-width: 1.6; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 3.8s cubic-bezier(.45, .05, .3, 1) .9s; }
.opener.in .op-thread-line { stroke-dashoffset: 0; }
/* a faint printed grain over everything */
.opener::after {
  content: ""; position: absolute; inset: 0; z-index: 5; pointer-events: none; opacity: .045; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .7 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.op-pin { position: absolute; z-index: 1; margin: 0; opacity: 0; scale: .94; transition: opacity 1s var(--ease), scale 1.2s var(--ease); transition-delay: var(--d, 0s); will-change: translate; }
.opener.in .op-pin { opacity: 1; scale: 1; }
.op-pin img {
  display: block; width: 100%; height: auto;
  box-shadow: 0 18px 38px rgba(0, 0, 0, .16), 0 2px 6px rgba(0, 0, 0, .08);
  /* not yet understood: grey and faded, until its turn comes */
  filter: grayscale(.92) contrast(.86) brightness(1.1);
}
.capture .op-pin img { filter: none; }
/* where the thread is pinned on */
.op-pin::before { content: ""; position: absolute; z-index: 2; left: 50%; top: -5px; width: 10px; height: 10px; margin-left: -5px; border-radius: 50%; background: var(--thread); box-shadow: 0 2px 3px rgba(0, 0, 0, .25), inset -2px -2px 0 rgba(0, 0, 0, .15); }
.op-pin figcaption { display: grid; gap: 4px; width: max-content; max-width: max(100%, 230px); margin-top: 12px; padding: 8px 11px 9px; background: var(--sheet); box-shadow: 0 6px 16px rgba(0, 0, 0, .07); rotate: calc(var(--r, 0deg) * -1); }
.op-line { font: 600 clamp(15px, 1.25vw, 19px)/1.15 var(--hand); color: var(--ink); clip-path: inset(0 100% 0 0); transition: clip-path 1.4s cubic-bezier(.5, 0, .3, 1); transition-delay: calc(var(--d, 0s) + .6s); }
.opener.in .op-line { clip-path: inset(0 0 0 0); }
.op-credit { font: 500 11.5px/1.2 var(--sans); color: var(--ink-3); opacity: 0; transition: opacity .8s; transition-delay: calc(var(--d, 0s) + 1.4s); }
.opener.in .op-credit { opacity: 1; }

.op-goya       { --r: -2.5deg; --d: .7s; left: 2.5%;  top: 6%;  width: 18%; }
.op-wanderer   { --r: 2deg;    --d: 1.15s; left: 7%;    top: 40%; width: 9%; }
.op-angel      { --r: -2deg;   --d: 1.6s; left: 18%;  top: 71%; width: 14%; }
.op-flammarion { --r: 2.5deg;  --d: 2.05s; right: 19.5%; top: 66%; width: 12%; }
.op-wright     { --r: -2deg;   --d: 2.5s; right: 4%;  top: 41%; width: 15%; }
.op-earth      { --r: 2deg;    --d: 2.95s; right: 3%;  top: 6%;  width: 18%; }
.op-pin { rotate: var(--r, 0deg); }

.op-copy {
  position: relative; z-index: 3; height: 100%;
  display: grid; place-content: center; justify-items: center; text-align: center;
  padding: 40px 23% 40px; pointer-events: none;
}
.op-copy > * { pointer-events: auto; }
/* the words arrive first: the line, then the headline rising, then the rest */
.op-kicker, .op-lede, .op-cta { opacity: 0; translate: 0 14px; transition: opacity 1s var(--ease), translate 1.1s var(--ease); }
.opener.in .op-kicker, .opener.in .op-lede, .opener.in .op-cta { opacity: 1; translate: 0 0; }
.opener.in .op-lede { transition-delay: .75s; }
.opener.in .op-cta { transition-delay: .9s; }
.op-rise { display: block; overflow: hidden; padding: .06em .04em .02em; margin: -.06em -.04em -.02em; }
.op-rise > span { display: block; translate: 0 108%; transition: translate 1.15s cubic-bezier(.2, .85, .2, 1); }
.opener.in .op-rise > span { translate: 0 0; }
.opener.in .op-rise:nth-child(1) > span { transition-delay: .18s; }
.opener.in .op-rise:nth-child(2) > span { transition-delay: .3s; }
.opener.in .op-rise:nth-child(3) > span { transition-delay: .42s; }
.op-kicker { margin: 0 0 22px; max-width: 34ch; font: italic 400 clamp(20px, 1.8vw, 27px)/1.2 var(--serif); color: var(--ink); text-wrap: balance; }
.opener .op-title { font-size: clamp(44px, 6.6vw, 104px); }
.op-lede { margin: 24px 0 0; max-width: 40ch; font: 500 clamp(16px, 1.3vw, 19px)/1.45 var(--sans); color: var(--ink-2); text-wrap: balance; }
.op-cta { justify-content: center; margin-top: 28px; }
.nowrap { white-space: nowrap; }

/* ---------- the two keys: try it ---------- */
/* Hold control and option for real. The keys on screen press with yours,
   a little notch wakes and listens, then the page goes on to the demo. */
.try { position: relative; display: grid; justify-items: center; text-align: center; padding: clamp(70px, 9vw, 130px) var(--edge) clamp(40px, 5vw, 70px); }
.try-kicker { margin: 0; font: italic 400 clamp(22px, 2vw, 30px)/1.2 var(--serif); color: var(--ink); }
/* the top of a MacBook lid, cropped: black bezel with the aluminium rim,
   a strip of screen under its menu bar, fading out below */
.try-mac {
  position: relative; width: min(600px, 100%); height: 96px; margin: 26px 0 12px; padding: 9px 9px 0;
  background: #050506; border-radius: 22px 22px 0 0;
  box-shadow: inset 0 0 0 1.5px #2C2C31, 0 0 0 1.5px #A9A9AF;
  -webkit-mask-image: linear-gradient(#000 40%, transparent); mask-image: linear-gradient(#000 40%, transparent);
}
.try-screen {
  display: flex; align-items: flex-start; justify-content: space-between;
  height: 100%; padding: 0 14px; border-radius: 10px 10px 0 0;
  background: linear-gradient(rgba(255, 255, 255, .6) 0 26px, transparent 26px), linear-gradient(170deg, #DCE3EB, #B7C3D1);
  font: 500 11.5px/26px var(--sans); color: #1B1B1E; text-align: left;
}
.try-menu { display: flex; gap: 15px; }
.try-menu b { font-weight: 700; }
.try-notch {
  position: absolute; z-index: 1; top: 0; left: 50%; translate: -50% 0;
  display: flex; align-items: center; justify-content: space-between;
  width: 132px; height: 35px; padding: 9px 12px 0;
  background: #000; border-radius: 0 0 13px 13px;
  transition: width .45s var(--ease), height .45s var(--ease);
}
@media (max-width: 520px) { .try-menu span { display: none; } }
.try-notch .orb { width: 20px; height: 20px; margin-left: -4px; opacity: 0; transform: scale(.4) rotate(-90deg); transition: opacity .2s, transform .45s cubic-bezier(.3, 1.5, .5, 1); }
.try-notch .bars { display: flex; gap: 3px; align-items: center; height: 13px; opacity: 0; transition: opacity .2s; }
.try-notch .bars i { width: 3px; height: 100%; border-radius: 2px; background: var(--lime); transform: scaleY(.3); animation: bar .9s ease-in-out infinite; }
.try-notch .bars i:nth-child(2) { animation-delay: -.2s; }
.try-notch .bars i:nth-child(3) { animation-delay: -.45s; }
.try-notch .bars i:nth-child(4) { animation-delay: -.1s; }
.try-notch .bars i:nth-child(5) { animation-delay: -.6s; }
.try.holding .try-notch, .try.asked .try-notch { width: 236px; height: 44px; }
.try.holding .try-notch .orb, .try.asked .try-notch .orb { opacity: 1; transform: none; }
.try.asked .try-notch .bars { opacity: 1; }

/* a row of a Mac keyboard, the two keys that matter in the middle */
.keys { display: flex; gap: 10px; padding: 14px; border-radius: 20px; background: linear-gradient(#E9E9EB, #DCDCDF); box-shadow: inset 0 1px 0 #fff, 0 24px 50px rgba(0, 0, 0, .12), 0 2px 6px rgba(0, 0, 0, .08); cursor: pointer; user-select: none; -webkit-user-select: none; touch-action: none; }
.keys:focus-visible { outline-offset: 6px; }
.key {
  position: relative; display: block; width: 96px; height: 88px; border-radius: 11px;
  background: linear-gradient(#FFFFFF, #F4F4F6);
  box-shadow: 0 3px 0 #BDBDC3, 0 5px 10px rgba(0, 0, 0, .12), inset 0 -1px 0 rgba(0, 0, 0, .05);
  translate: 0 0; transition: translate .08s, box-shadow .08s, background-color .15s;
}
.key .k-top { position: absolute; right: 11px; top: 9px; font: 500 21px/1 var(--sans); font-style: normal; color: #2A2A2E; }
.key small { position: absolute; left: 11px; bottom: 10px; font: 500 13px/1 var(--sans); color: #2A2A2E; letter-spacing: .01em; }
.key-side { opacity: .5; }
.key-side .k-top { font-size: 17px; }
.key-wide { width: 116px; }
.key-space { width: 200px; -webkit-mask-image: linear-gradient(90deg, #000 30%, transparent); mask-image: linear-gradient(90deg, #000 30%, transparent); }
.key-ask { outline: 2px solid transparent; outline-offset: 3px; transition: translate .08s, box-shadow .08s, outline-color .3s; }
.try:not(.asked) .key-ask { animation: key-call 2.4s var(--ease) infinite; }
.key-ask:nth-of-type(3) { animation-delay: .15s !important; }
@keyframes key-call { 0%, 70%, 100% { outline-color: transparent; } 35% { outline-color: rgba(198, 255, 61, .95); } }
.key.down { translate: 0 3px; background: linear-gradient(var(--lime), #B6F02A); box-shadow: 0 0 0 #BDBDC3, 0 1px 3px rgba(0, 0, 0, .15), inset 0 1px 2px rgba(0, 0, 0, .08); animation: none; }

.try-meter { width: min(330px, 70%); height: 4px; margin-top: 26px; border-radius: 4px; background: #E1E1E1; overflow: hidden; }
.try-meter i { display: block; height: 100%; width: 100%; background: var(--ink); transform: scaleX(0); transform-origin: 0 50%; }
.try-title { margin: 22px 0 0; font: 600 clamp(19px, 1.6vw, 24px)/1.3 var(--sans); letter-spacing: -0.01em; }
.try-title b { font-weight: 700; }
.try-touch { display: none; }
.try-note { margin: 8px 0 0; font: 500 15px/1.4 var(--sans); color: var(--ink-3); min-height: 1.4em; }
@media (hover: none) { .try-desk { display: none; } .try-touch { display: inline; } }

/* ---------- the canvas and its artboards ---------- */
.canvas { max-width: 1400px; margin: 0 auto; padding: 28px var(--edge) 0; }
.board { margin-top: var(--gap); width: var(--w, 100%); margin-left: var(--x, 0%); position: relative; }
.frame-name { margin: 0 0 10px; font: 500 13px/1 var(--sans); color: #858585; letter-spacing: .01em; }
.sheet { background: var(--sheet); padding: clamp(24px, 3.6vw, 56px); position: relative; }

.b-hero { margin-top: 0; }
.b-plain { --w: 64%; --x: 30%; }
.b-idea { --w: 58%; --x: 6%; }
.b-neuron { --w: 76%; --x: 20%; margin-top: 72px; }
.b-rose { --w: 88%; --x: 0%; }
.b-tiles { --w: 70%; --x: 12%; }
.b-heart { --w: 94%; --x: 3%; }
.b-fine { --w: 70%; --x: 26%; }

/* poster type: the electric-blue capitals */
.poster {
  margin: 0;
  font-family: var(--display);
  font-weight: 800;
  font-stretch: 112%;
  font-size: clamp(44px, 8.2vw, 118px);
  line-height: .86;
  letter-spacing: -0.025em;
  text-transform: uppercase;
  color: var(--blue);
}
.poster-sm { font-size: clamp(34px, 4.4vw, 68px); line-height: .88; }
.poster-canvas { font-size: clamp(44px, 7.2vw, 116px); }

.lede { margin: 0; font: 500 clamp(17px, 1.35vw, 19px)/1.5 var(--sans); color: var(--ink); max-width: 46ch; text-wrap: pretty; }

/* ---------- 01 hero ---------- */
.hero { padding-top: clamp(24px, 2.6vw, 36px); padding-bottom: clamp(28px, 3.6vw, 52px); }
.hero-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; }
.hero-top .rings { flex-direction: row; }
.hero-top .rings li { margin: 0 0 0 -1.5px; }
.kicker { margin: 0; font: 600 clamp(17px, 1.5vw, 21px)/1.25 var(--sans); letter-spacing: -0.01em; max-width: 22ch; }

.rings { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.rings li {
  width: 34px; height: 34px; margin-top: -1.5px;
  display: grid; place-items: center;
  border: 1.5px solid var(--ink); border-radius: 50%;
  font: 600 15px/1 var(--sans);
  transition: background-color .15s, transform .15s var(--ease);
}
.rings li.on { background: var(--lime); transform: translateY(2px); }
.rings-sm li { width: 30px; height: 30px; font-size: 11px; }

.hero-main {
  display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: clamp(28px, 3.4vw, 56px);
  align-items: start;
  margin-top: clamp(8px, 1.5vw, 20px);
  position: relative; z-index: 2;
}
.b-hero .poster { position: relative; z-index: 1; margin-top: clamp(26px, 3vw, 44px); }
.hero-foot {
  display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap;
  margin-top: clamp(22px, 2.6vw, 36px);
}
.cta { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.cta small { font: 500 14px/1.3 var(--sans); color: var(--ink-3); }
.cta .cta-note { flex-basis: 100%; }
.see-more {
  display: inline-flex; align-items: center; gap: 8px; height: 52px; padding: 0 22px;
  border-radius: 999px; box-shadow: inset 0 0 0 1.5px var(--ink);
  font: 600 17px/1 var(--sans); color: var(--ink); text-decoration: none;
  transition: background-color .16s, transform .16s var(--ease);
}
.see-more span { display: inline-block; animation: nudge 1.8s var(--ease) infinite; }
@media (hover: hover) { .see-more:hover { background: rgba(0, 0, 0, .05); } }
.see-more:active { transform: scale(.97); }
@keyframes nudge { 0%, 60%, 100% { transform: none; } 30% { transform: translateY(4px); } }

/* signed up already: the buttons say so, and stay quiet */
.is-joined [data-waitlist].pill { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }

.facts a { color: inherit; text-decoration-thickness: 1.5px; text-underline-offset: 3px; }

/* ---------- the Mac: a 14-inch MacBook Pro, front on ---------- */
.mac { margin: 0; position: relative; padding: 0 4.5%; container-type: inline-size; }
.mac-lid {
  position: relative;
  padding: 1.3cqw 1.3cqw 2.2cqw;
  background: #050506;
  border-radius: 2.4cqw 2.4cqw .7cqw .7cqw;
  box-shadow: inset 0 0 0 .16cqw #2C2C31, 0 0 0 .14cqw #A9A9AF;
}
.mac-screen { position: relative; overflow: hidden; border-radius: .9cqw .9cqw .15cqw .15cqw; aspect-ratio: 1000 / 650; background: #111; }
.mac-base {
  position: relative; height: 1.9cqw;
  margin: 0 -3.2%;
  background: linear-gradient(#F6F6F8, #DEDEE2 24%, #C5C5CA 62%, #96969C);
  border-radius: .3cqw .3cqw 3cqw 3cqw / .3cqw .3cqw 1.5cqw 1.5cqw;
  box-shadow: 0 1.4cqw 1.6cqw -1cqw rgba(0, 0, 0, .4);
}
.mac-base::before {
  content: ""; position: absolute; left: 50%; top: 0; translate: -50% 0;
  width: 13%; height: 44%;
  background: linear-gradient(#A2A2A8, #CDCDD2); border-radius: 0 0 1.2cqw 1.2cqw / 0 0 .8cqw .8cqw;
}

.screen {
  position: absolute; left: 0; top: 0; width: 1000px; height: 650px;
  transform-origin: 0 0;
  transform: scale(var(--s, 1)) translate(var(--x, 0), var(--y, 0));
  overflow: hidden;
}
.wallpaper { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* sits exactly on the real notch in the screenshot, and grows out of it */
.notch {
  position: absolute; z-index: 4; top: 0; left: 50%; translate: -50% 0;
  width: 124px; height: 22px;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 10px;
  background: #000; border-radius: 0 0 10px 10px;
  transition: width .42s var(--ease), height .42s var(--ease);
}
.notch .orb { width: 19px; height: 19px; margin-left: -4px; opacity: 0; transform: scale(.4) rotate(-90deg); transition: opacity .2s, transform .45s cubic-bezier(.3, 1.5, .5, 1); }
.notch .bars { display: flex; gap: 2.5px; align-items: center; height: 12px; opacity: 0; transition: opacity .2s; }
.notch .bars i { width: 2.5px; height: 100%; border-radius: 2px; background: var(--accent, var(--lime)); transform: scaleY(.3); }
.notch.on { width: 214px; height: 30px; }
.notch.on .orb { opacity: 1; transform: none; }
.notch.listen .bars, .notch.speak .bars { opacity: 1; }
.notch.listen .bars i, .notch.speak .bars i { animation: bar .9s ease-in-out infinite; }
.notch .bars i:nth-child(2) { animation-delay: -.2s; }
.notch .bars i:nth-child(3) { animation-delay: -.45s; }
.notch .bars i:nth-child(4) { animation-delay: -.1s; }
.notch .bars i:nth-child(5) { animation-delay: -.6s; }
.notch.speak .bars i { animation-duration: .6s; }
.notch.think .orb { animation: mark-spin 1.1s linear infinite; }
.notch.listen .orb, .notch.speak .orb { animation: mark-breathe 1.6s ease-in-out infinite; }
@keyframes mark-spin { to { transform: rotate(360deg); } }
@keyframes mark-breathe { 0%, 100% { transform: scale(1) rotate(0); } 50% { transform: scale(1.14) rotate(12deg); } }
@keyframes bar { 0%, 100% { transform: scaleY(.25); } 50% { transform: scaleY(1); } }
@keyframes think { 0%, 100% { opacity: .35; } 50% { opacity: 1; } }

.mini-bar {
  display: flex; align-items: center; gap: 7px;
  height: 28px; padding: 0 12px;
  background: #ECECEC; border-bottom: 1px solid #D8D8D8;
}
.mini-bar i { width: 12px; height: 12px; border-radius: 50%; background: #FF5F57; flex: none; }
.mini-bar i:nth-child(2) { background: #FEBC2E; }
.mini-bar i:nth-child(3) { background: #28C840; }
.engine { position: absolute; left: 0; top: 0; width: 1000px; height: 650px; border: 0; z-index: 3; background: transparent; pointer-events: none; }
#heartEngine { pointer-events: auto; }
.flyer {
  position: absolute; left: 0; top: 0; z-index: 5;
  width: 30px; height: 30px;
  background: url("assets/logo/chalk-lime.svg") center / contain no-repeat;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, .35));
  opacity: 0; pointer-events: none;
}

/* ---------- the transcript ---------- */
.script { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.line { margin: 0; }
.who { display: flex; align-items: center; gap: 7px; margin: 0 0 5px; font: 500 13px/1.2 var(--sans); color: var(--ink-3); }
.line.chalk .who { color: var(--ink); font-weight: 700; }
.line.chalk .who::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 1.5px var(--ink); }
.said { margin: 0; text-wrap: pretty; }
.line.student .said { font: 500 clamp(20px, 1.7vw, 24px)/1.28 var(--hand); letter-spacing: -0.01em; }
.line.chalk .said { font: 500 17px/1.45 var(--sans); }
.w { color: var(--faint); transition: color .18s; }
.w.on, .script.done .w, .script.static .w { color: inherit; }

.controls { display: flex; flex-wrap: wrap; gap: 8px; }
.ctl {
  display: inline-flex; align-items: center; gap: 8px;
  height: 38px; padding: 0 15px 0 12px;
  border: 1.5px solid var(--ink); border-radius: 999px; background: #fff;
  font: 600 14px/1 var(--sans); color: var(--ink);
  cursor: pointer;
  transition: transform .16s var(--ease), background-color .16s;
}
@media (hover: hover) { .ctl:hover { background: #F1F1F1; } }
.ctl:active { transform: scale(.97); }
.ctl svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ctl .spk { fill: currentColor; stroke: none; }
.mute .w1, .mute .w2, .mute .eq { display: none; }
.mute.on { background: var(--lime); }
.mute.on .x { display: none; }
.mute.on .w1, .mute.on .w2 { display: inline; }
.mute.on.playing svg { display: none; }
.mute.on.playing .eq { display: inline-flex; }
.mute .eq { gap: 2px; align-items: center; width: 18px; height: 14px; justify-content: center; }
.mute .eq i { width: 2.5px; height: 100%; background: var(--ink); border-radius: 2px; animation: bar .8s ease-in-out infinite; }
.mute .eq i:nth-child(2) { animation-delay: -.3s; }
.mute .eq i:nth-child(3) { animation-delay: -.55s; }
.replay { border-color: transparent; padding: 0 12px 0 10px; }

/* ---------- 02 your screen isn't plain ---------- */
.plain { padding: clamp(28px, 5.4vw, 84px); }
.pl-row { display: flex; align-items: center; gap: clamp(12px, 2vw, 28px); }
.pl-row + .pl-row { margin-top: clamp(18px, 2.8vw, 40px); }
.pl-words { margin: 0; font: 600 clamp(34px, 5vw, 80px)/.92 var(--sans); letter-spacing: -0.045em; }
.pl-right { margin-left: auto; }
.pl-img { display: block; height: clamp(78px, 9.6vw, 150px); width: auto; flex: none; }
.pl-row .rings { margin-left: auto; }

/* ---------- loose things on the canvas ---------- */
.loose { position: relative; display: flex; align-items: flex-start; margin-top: var(--gap); }
.loose-1 { justify-content: space-between; padding: 0 4% 0 8%; }
.loose-1 .pin-jelly { width: clamp(150px, 16vw, 230px); margin-top: 80px; }
.loose-2 { justify-content: space-between; padding: 0 12% 0 2%; }
.loose-2 .pin-card { width: clamp(120px, 11vw, 160px); margin-top: 40px; }
.loose-3 { justify-content: flex-end; gap: clamp(40px, 7vw, 120px); padding-right: 6%; }
.loose-3 .pin-tulip { width: clamp(120px, 12vw, 180px); margin-top: 120px; }
.loose-3 .pin-frame { width: clamp(140px, 14vw, 210px); }
.loose-4 { justify-content: space-between; padding: 0 30% 0 6%; }
.loose-4 .pin-fire { width: clamp(140px, 14vw, 200px); margin-top: 30px; }
.pin { display: block; height: auto; }

.qcard { margin: 0; display: grid; place-items: center; text-align: center; width: clamp(220px, 22vw, 300px); aspect-ratio: 5 / 4; padding: 26px; }
.qcard p { margin: 0; text-wrap: balance; }
.q-cream { background: var(--paper); box-shadow: inset 0 0 0 9px var(--paper), inset 0 0 0 10.5px #C9B48A; }
.q-cream p { font: italic 400 clamp(24px, 2.3vw, 32px)/1.08 var(--serif); color: #3A2A17; }
.q-orange { background: #EF7A2C; aspect-ratio: 1; width: clamp(190px, 18vw, 250px); }
.q-orange p { font: 800 clamp(20px, 1.9vw, 27px)/1.02 var(--display); font-stretch: 85%; text-transform: uppercase; color: #2B1405; letter-spacing: .01em; }
.q-blue { background: #1C2B5A; }
.q-blue p { font: 700 clamp(24px, 2.4vw, 34px)/1.05 var(--hand); color: #F6E7C1; }
.q-green { background: #1E4A37; }
.q-green p { font: 400 clamp(24px, 2.3vw, 32px)/1.06 var(--serif); color: #F2D46E; }

/* ---------- 03 the idea ---------- */
.idea { padding: clamp(28px, 4.6vw, 72px); }
.idea-title { margin: 0 0 clamp(20px, 2.6vw, 36px); font: 400 clamp(36px, 4.4vw, 66px)/1 var(--serif); letter-spacing: -0.015em; max-width: 15ch; text-wrap: balance; }
.idea-body { max-width: 58ch; }
.idea-body p { margin: 0 0 14px; font-size: clamp(17px, 1.3vw, 19px); line-height: 1.55; color: var(--ink-2); text-wrap: pretty; }
.idea-body strong { color: var(--ink); font-weight: 700; }

/* ---------- chapters (titles straight on the canvas) ---------- */
.chapter { margin: var(--gap) 0 0 3%; }
.chapter-note { margin: 18px 0 0; max-width: 40ch; font: 500 18px/1.45 var(--sans); color: var(--ink-2); }

/* ---------- scenes: a picture Chalk draws on, and what was said ---------- */
.scene-side { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(24px, 4vw, 64px); align-items: end; }
.scene-flip .shot { order: 2; }
.script-wide .controls { justify-self: start; }
.scene-under .script-wide { margin-top: clamp(20px, 2.4vw, 32px); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px 32px; align-items: start; }
.shot { position: relative; overflow: hidden; background: var(--paper); }
/* ---------- 05 the carousel ---------- */
.b-more { --w: 100%; --x: 0%; }
.more-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
.more-nav { display: flex; gap: 10px; }
.more-btn {
  width: 52px; height: 52px; border-radius: 50%; border: 0; cursor: pointer;
  background: var(--sheet); color: var(--ink); font: 600 20px/1 var(--sans);
  box-shadow: inset 0 0 0 1.5px var(--ink);
  transition: background-color .15s, transform .15s var(--ease);
}
@media (hover: hover) { .more-btn:hover { background: var(--lime); } }
.more-btn:active { transform: scale(.94); }
/* the strip runs to the edges of the window */
.more-track {
  --h: 300px;
  position: relative; display: flex; gap: 24px; align-items: stretch;
  margin: clamp(24px, 3vw, 40px) calc(50% - 50vw) 0;
  padding: 8px max(var(--edge), calc(50vw - 700px + var(--edge))) 28px;
  scroll-padding-inline: max(var(--edge), calc(50vw - 700px + var(--edge)));
  overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: none;
  cursor: grab;
}
.more-track::-webkit-scrollbar { display: none; }
.more-track.dragging { scroll-snap-type: none; cursor: grabbing; user-select: none; }
.more-track.dragging * { pointer-events: none; }
.more-card {
  flex: none; scroll-snap-align: start;
  width: max(300px, calc(var(--h) * var(--ratio) + 36px)); max-width: calc(100vw - 2 * var(--edge));
  padding: 18px 18px 20px; background: var(--sheet);
  box-shadow: 0 14px 34px rgba(0, 0, 0, .08);
  display: flex; flex-direction: column;
}
.more-subject { margin: 0 0 12px; font: 600 12px/1 var(--sans); letter-spacing: .06em; text-transform: uppercase; color: var(--blue); }
.more-shot { position: relative; overflow: hidden; align-self: center; width: calc(var(--h) * var(--ratio)); max-width: 100%; aspect-ratio: var(--ratio); background: var(--paper); }
.more-shot .stage { position: absolute; left: 0; top: 0; transform-origin: 0 0; }
.more-shot .stage img { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.more-shot .stage iframe { position: absolute; left: 0; top: 0; border: 0; background: transparent; pointer-events: none; }
.script-card { gap: 12px; margin-top: 16px; flex: 1; min-height: 230px; }
.script-card .line.student .said { font-size: 19px; }
.script-card .line.chalk { display: none; }
.script-card .line.chalk.now { display: block; animation: card-line .45s var(--ease); }
.script-card .line.chalk .said { font-size: 15px; }
.script-card .controls { margin-top: auto; }
@keyframes card-line { from { opacity: 0; transform: translateY(6px); } }

.shot .stage { position: absolute; left: 0; top: 0; transform-origin: 0 0; }
.shot .stage img { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.shot .stage iframe { position: absolute; left: 0; top: 0; border: 0; background: transparent; pointer-events: none; }

/* ---------- 07 heart ---------- */
.heart-main { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(240px, .6fr); gap: clamp(24px, 4vw, 56px); align-items: center; margin-top: clamp(24px, 3vw, 40px); }
.jet-win {
  position: absolute; left: 150px; top: 60px; width: 700px; z-index: 2;
  border-radius: 10px; overflow: hidden; background: #0B0D10;
  box-shadow: 0 0 0 .5px rgba(0, 0, 0, .4), 0 26px 60px rgba(0, 0, 0, .55);
}
.jet { position: relative; margin: 0; aspect-ratio: 16 / 10.4; background: #0B0D10; overflow: hidden; cursor: grab; touch-action: pan-y; user-select: none; -webkit-user-select: none; }
.jet.dragging { cursor: grabbing; }
.jet canvas { display: block; width: 100%; height: 100%; }
.jet-lines, .jet-labels { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.jet-lines g { opacity: 0; transition: opacity .5s; }
.jet-lines g.on { opacity: 1; }
.jet-lines line { stroke-width: 1.5; stroke-linecap: round; opacity: .85; }
.jl {
  position: absolute; left: 0; top: 0;
  font: 600 calc(15px / var(--s, 1))/1 var(--hand); white-space: nowrap; /* 15px on screen, however small the Mac */
  text-shadow: 0 0 2px #000, 0 0 10px rgba(0, 0, 0, .9);
  opacity: 0; transition: opacity .5s;
}
.jl.on { opacity: 1; }
.jet-hint { position: absolute; right: 14px; bottom: 12px; margin: 0; font: 500 calc(11.5px / var(--s, 1))/1 var(--sans); color: rgba(255, 255, 255, .5); pointer-events: none; }
.jet.no-gl { display: grid; place-items: center; }
.jet.no-gl::after { content: "This needs WebGL to show the 3D engine."; color: rgba(255, 255, 255, .7); font: 500 15px/1.4 var(--sans); }
.capture .jl, .capture .jet-lines g { transition: none; }
.heart-note { margin: clamp(22px, 2.6vw, 34px) 0 0; max-width: 60ch; font: 500 17px/1.5 var(--sans); color: var(--ink-2); }

/* ---------- 08 library: the thread poster ---------- */
.library { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(260px, .7fr); gap: clamp(24px, 4vw, 56px); align-items: end; }
.thread-box { position: relative; aspect-ratio: 1000 / 1180; overflow: hidden; }
.thread-poster { position: absolute; left: 0; top: 0; width: 1000px; height: 1180px; transform-origin: 0 0; transform: scale(var(--s, 1)); }
.threads { position: absolute; left: 0; top: 0; width: 1000px; height: 1180px; overflow: visible; }
.threads path { fill: none; stroke: var(--thread); stroke-width: 1.6; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.6s var(--ease), stroke .3s, stroke-width .3s; }
.thread-box.seen .threads path { stroke-dashoffset: 0; }
.threads path.found { stroke: var(--blue); stroke-width: 3.5; }
.tp { position: absolute; margin: 0; transition: transform .35s var(--ease), outline-color .3s; outline: 5px solid transparent; outline-offset: 6px; }
.tp img { display: block; width: 100%; height: auto; }
.tp.found { outline-color: var(--lime); transform: scale(1.06); z-index: 2; }
.tp-card { display: grid; place-items: center; text-align: center; padding: 14px; }
.tp-card p { margin: 0; text-wrap: balance; }
.tp-note { background: #FFF7C2; padding: 14px 16px; place-items: start; text-align: left; }
.tp-note p { font: 500 17px/1.3 var(--hand); color: #3A3417; }
/* where a save came from: a small sticker on its corner */
.tp-from {
  position: absolute; left: -10px; top: -14px; z-index: 3;
  display: inline-flex; align-items: center; gap: 7px;
  padding: 6px 11px 6px 8px; border-radius: 999px;
  background: #fff; box-shadow: 0 0 0 1.5px var(--ink), 0 3px 0 rgba(0, 0, 0, .12);
  font: 600 15px/1 var(--hand); color: var(--ink); white-space: nowrap;
  transform: rotate(-4deg);
}
.tp-from i { flex: none; width: 16px; height: 16px; border-radius: 4px; background: var(--ink); }
.f-youtube i { background: #FF0033 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M6 4.5v7l5.5-3.5z' fill='white'/%3E%3C/svg%3E") center / 100% no-repeat; }
.f-x i { background: #111 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 4l7 8M11.5 4l-7 8' stroke='white' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E") center / 100% no-repeat; }
.f-safari i { border-radius: 50%; background: #1E88F5 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M11 5L9 9 5 11l2-4z' fill='white'/%3E%3C/svg%3E") center / 100% no-repeat; }
.f-pdf i { background: #E5483A url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M5 5h6M5 8h6M5 11h4' stroke='white' stroke-width='1.4' stroke-linecap='round'/%3E%3C/svg%3E") center / 100% no-repeat; }
.f-screenshot i { background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M2 6V2h4M10 2h4v4M14 10v4h-4M6 14H2v-4' stroke='%23111' stroke-width='1.8' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") center / 100% no-repeat; border-radius: 0; }
.f-notes i { background: #FFD84A; box-shadow: inset 0 0 0 1.5px var(--ink); }
.tp:nth-child(even) .tp-from { transform: rotate(3deg); }
/* a saved video: a play button and a player bar */
.tp-play { position: absolute; left: 50%; top: 50%; width: 46px; height: 32px; margin: -16px 0 0 -23px; border-radius: 9px; background: rgba(255, 0, 51, .92); display: grid; place-items: center; }
.tp-play i { width: 0; height: 0; border-left: 13px solid #fff; border-top: 8px solid transparent; border-bottom: 8px solid transparent; margin-left: 3px; }
.tp-bar { position: absolute; left: 0; right: 0; bottom: 0; height: 5px; background: rgba(255, 255, 255, .45); }
.tp-bar::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 38%; background: #FF0033; }
/* the same stickers, as a row beside the poster */
.sources { list-style: none; margin: -10px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 8px; align-items: center; }
.sources .tp-from { position: static; transform: none; font-size: 14px; padding: 5px 10px 5px 7px; }
.sources .tp-from:nth-child(even) { transform: rotate(2deg); }
.sources .tp-from:nth-child(odd) { transform: rotate(-2deg); }
.sources-to { font: 600 15px/1 var(--hand); color: var(--ink-3); margin-left: 4px; }
.sources-to b { color: var(--ink); font-weight: 800; }
.hub { position: absolute; left: 545px; top: 650px; }
.hub span { font: 800 92px/1 var(--hand); letter-spacing: -0.03em; color: var(--ink); }
.thread-title { position: absolute; left: 30px; bottom: 30px; font-size: 112px; }
.library-side { display: flex; flex-direction: column; gap: 28px; }
.plan .script { margin-top: clamp(22px, 2.6vw, 34px); }
.b-cards { --w: 86%; --x: 0%; }
.b-plan { --w: 94%; --x: 6%; }

/* ---------- 09 flashcards, 10 plan ---------- */
.cards-main { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(32px, 5vw, 80px); align-items: center; margin-top: clamp(8px, 1vw, 14px); }
.cards-main .curve { margin-bottom: 0; }
.plan-main { display: grid; grid-template-columns: minmax(250px, .62fr) minmax(0, 1.38fr); gap: clamp(28px, 4vw, 60px); align-items: start; }

/* the deck: fanned picture cards, cream with a caption on top and one flat
   pastel picture, outlined in ink */
.deck { --cw: clamp(210px, 18vw, 258px); position: relative; height: calc(var(--cw) * 1.4 + 100px); margin-top: clamp(14px, 2vw, 28px); }
.pcard {
  position: absolute; left: 50%; top: 54px; width: var(--cw); aspect-ratio: 5 / 7; margin: 0 0 0 calc(var(--cw) / -2);
  display: flex; flex-direction: column;
  padding: 13px 13px 9px; border-radius: 14px;
  background: #F8F3E4; color: #1B1B1B;
  box-shadow: 0 1px 1px rgba(60, 45, 20, .12), 0 16px 30px -18px rgba(60, 45, 20, .45);
}
.pc-cap { margin: 0 4px 11px; min-height: 2.04em; display: block; font: 400 clamp(19px, 1.75vw, 24px)/1.02 var(--serif); letter-spacing: -0.005em; text-wrap: balance; }
.pc-cap em { font-style: italic; }
.pc-panel { flex: 1; min-height: 0; display: block; overflow: hidden; border-radius: 3px; }
.pc-panel svg, .pc-panel img { display: block; width: 100%; height: 100%; object-fit: cover; }
.p-sky { background: #A9DCEE; } .p-sun { background: #F6E487; } .p-pink { background: #F5C6CF; } .p-mint { background: #B7E2C6; }
/* each card's paper is a pale shade of its own picture */
.pcard:has(.p-sky) { background: #E9F5FA; }
.pcard:has(.p-sun) { background: #FCF6DA; }
.pcard:has(.p-pink) { background: #FBEBEE; }
.pcard:has(.p-mint) { background: #E8F5EC; }
.pc-foot { margin: 7px 4px 0; font: 500 8.5px/1.2 var(--sans); letter-spacing: .02em; color: #8F8571; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.under-l { transform: translate(-56%, -26px) rotate(-11deg); }
.under-r { transform: translate(56%, -44px) rotate(9deg); }

@keyframes flow { to { stroke-dashoffset: -50; } }

.flash {
  appearance: none; border: 0; padding: 0; background: none; font: inherit; color: inherit; text-align: left;
  position: absolute; inset: 0; width: 100%; height: 100%; cursor: pointer; z-index: 2; perspective: 1600px;
}
.flash-face { backface-visibility: hidden; -webkit-backface-visibility: hidden; transition: transform .8s cubic-bezier(.3, 1.3, .5, 1); transform: rotate(-1.5deg); }
.flash .flash-back { transform: rotate(-1.5deg) rotateY(180deg); }
.flash.flipped .flash-front { transform: rotate(-1.5deg) rotateY(-180deg); }
.flash.flipped .flash-back { transform: rotate(-1.5deg) rotateY(0); }

.deck-mic {
  position: absolute; z-index: 3; left: 50%; bottom: 2px; translate: -50% 0;
  display: inline-flex; align-items: center; gap: 8px; height: 32px; padding: 0 14px 0 11px; border-radius: 999px;
  background: var(--ink); color: #fff; font: 600 13px/1 var(--hand); white-space: nowrap;
  transition: background-color .25s, color .25s, opacity .3s;
}
.deck-mic > i { width: 9px; height: 9px; border-radius: 50%; background: var(--lime); }
.mic-bars { display: none; gap: 2px; align-items: center; height: 12px; }
.mic-bars i { width: 2.5px; height: 100%; border-radius: 2px; background: currentColor; animation: bar .7s ease-in-out infinite; }
.mic-bars i:nth-child(2) { animation-delay: -.25s; }
.mic-bars i:nth-child(3) { animation-delay: -.5s; }
.mic-bars i:nth-child(4) { animation-delay: -.12s; }
.flash.listening ~ .deck-mic { background: var(--lime); color: var(--ink); }
.flash.listening ~ .deck-mic > i { display: none; }
.flash.listening ~ .deck-mic .mic-bars { display: inline-flex; }
.flash.flipped ~ .deck-mic { opacity: 0; }

/* the forgetting curve, drawn in blue ink */
.curve { margin: 28px 0 24px; }
.curve figcaption { font: 600 14px/1 var(--hand); color: var(--blue); margin-bottom: 6px; }
.curve svg { display: block; width: 100%; height: auto; overflow: visible; }
.curve path { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.c-axis { stroke: #DADADA; stroke-width: 1.5; }
.c-past, .c-jump, .c-next { stroke: var(--blue); stroke-width: 2.5; stroke-dasharray: 1; stroke-dashoffset: 1; }
.c-past { stroke-dashoffset: 0; }
.c-jump, .c-next { opacity: 0; }
.curve.on .c-jump, .curve.on .c-next { opacity: 1; }
.c-later { stroke: #C9CEF8; stroke-width: 2; stroke-dasharray: 2 7; opacity: 0; transition: opacity .5s .9s; }
.curve.on .c-jump { stroke-dashoffset: 0; transition: stroke-dashoffset .35s var(--ease); }
.curve.on .c-next { stroke-dashoffset: 0; transition: stroke-dashoffset .9s .3s var(--ease); }
.curve.on .c-later { opacity: 1; }
.c-now { fill: var(--blue); }
.c-due { fill: var(--lime); stroke: var(--ink); stroke-width: 1.5; transform-box: fill-box; transform-origin: center; transform: scale(0); transition: transform .4s 1.1s cubic-bezier(.3, 1.6, .5, 1); }
.curve.on .c-due { transform: scale(1); }
.curve text { font: 500 12px var(--sans); fill: var(--ink-3); }
.curve .c-label { font: 600 13px var(--hand); fill: var(--ink); opacity: 0; transition: opacity .4s 1.3s; }
.curve.on .c-label { opacity: 1; }

/* the route: the app's roadmap board, drawn like the flashcards */
.route {
  position: relative;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px 30px; align-items: start;
  padding: 76px 26px 28px; border-radius: 16px;
  background: radial-gradient(rgba(27, 27, 27, .13) 1px, transparent 1.3px) 0 0 / 20px 20px, #FAF7EE;
}
.route-head { position: absolute; left: 26px; right: 26px; top: 22px; display: flex; justify-content: space-between; align-items: baseline; gap: 12px; z-index: 2; }
.route-head b { font: 700 clamp(19px, 1.6vw, 23px)/1.1 var(--sans); letter-spacing: -0.02em; }
.route-head b small { display: block; margin-top: 6px; font: italic 400 15px/1.2 var(--serif); color: var(--ink-3); letter-spacing: 0; }
.legend { display: flex; align-items: center; gap: 6px; font: 500 11.5px/1 var(--sans); color: var(--ink-3); white-space: nowrap; }
.legend i { width: 9px; height: 9px; border-radius: 50%; margin-left: 8px; }
.lg-mem { background: var(--ink); }
.lg-gap { box-shadow: inset 0 0 0 1.5px #9C968A; }
.lg-ai { background: var(--lime); box-shadow: 0 0 0 1.5px var(--ink); }
.route-lines { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.route-lines path { fill: none; stroke: #1B1B1B; stroke-opacity: .45; stroke-width: 1.5; stroke-linecap: round; }
.route-lines path.dashed { stroke-dasharray: 4 5; }
.route-stage { position: relative; z-index: 1; margin: 0; display: flex; align-items: center; gap: 8px; padding-left: 2px; font: 600 11.5px/1 var(--sans); letter-spacing: .09em; text-transform: uppercase; color: var(--ink-2); }
.route-stage small { display: block; margin-top: 4px; font: 500 11.5px/1.2 var(--sans); color: var(--ink-3); }
.route-stage b { display: inline-grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: var(--ink); color: var(--lime); font: 700 10.5px/1 var(--sans); }

.rc {
  --paper: #F8F3E4; --panel: #EDE6D3;
  position: relative; z-index: 1;
  display: flex; flex-direction: column;
  padding: 10px 10px 8px; border-radius: 12px; background: var(--paper);
  box-shadow: 0 1px 1px rgba(60, 45, 20, .12), 0 12px 24px -16px rgba(60, 45, 20, .45);
  transition: transform .4s var(--ease), box-shadow .3s, background-color .3s;
}
.rc p { margin: 0; }
.t-pink { --paper: #FBEBEE; --panel: #F5C6CF; } .t-sky { --paper: #E9F5FA; --panel: #A9DCEE; } .t-sun { --paper: #FCF6DA; --panel: #F6E487; }
.t-mint { --paper: #E8F5EC; --panel: #B7E2C6; } .t-lilac { --paper: #F1EDFB; --panel: #D4C8F2; } .t-peach { --paper: #FCEEE3; --panel: #F7C9A6; }
.rc .rc-cap { margin: 2px 3px 10px; font: 600 clamp(14px, 1.15vw, 16px)/1.25 var(--sans); letter-spacing: -0.012em; min-height: 2.5em; }
.rc { padding-bottom: 10px; }
.rc-cap em { font-style: normal; font-weight: 500; color: var(--ink-3); }
.rc-panel { display: block; aspect-ratio: 4 / 3; border-radius: 3px; background: var(--panel); overflow: hidden; }
.rc-panel img { display: block; width: 100%; height: 100%; object-fit: cover; }
.rc.s-tall .rc-panel { aspect-ratio: 4 / 5; } .rc.s-square .rc-panel { aspect-ratio: 1; } .rc.s-wide .rc-panel { aspect-ratio: 16 / 10; } .rc.s-land .rc-panel { aspect-ratio: 4 / 3; }
.rc-panel svg { display: block; width: 100%; height: 100%; }
.rc .rc-foot { display: flex; align-items: center; gap: 6px; margin: 7px 3px 0; font: 500 10.5px/1.2 var(--sans); color: #6F6757; }
.rc-foot i { flex: none; width: 7px; height: 7px; border-radius: 50%; background: var(--ink); }

/* a gap: the same card, not drawn yet */
.rc.gap { background: rgba(255, 255, 255, .55); box-shadow: inset 0 0 0 1.5px rgba(27, 27, 27, .3); }
.rc.gap .rc-empty { display: grid; place-items: center; background: transparent; box-shadow: inset 0 0 0 1.5px rgba(27, 27, 27, .18); font: 400 34px/1 var(--serif); color: rgba(27, 27, 27, .3); }
.rc.gap .rc-foot { color: var(--ink-3); }
.rc.gap .rc-foot i { background: transparent; box-shadow: inset 0 0 0 1.5px #9C968A; }
.rc.filling { box-shadow: inset 0 0 0 1.5px var(--ink); background: linear-gradient(100deg, transparent 20%, rgba(198, 255, 61, .6) 50%, transparent 80%) -150% 0 / 200% 100% no-repeat, rgba(255, 255, 255, .55); animation: sweep 1.1s var(--ease) infinite; }
@keyframes sweep { to { background-position: 250% 0, 0 0; } }
.rc.found { box-shadow: 0 0 0 1.5px var(--ink), 0 12px 24px -16px rgba(60, 45, 20, .45); animation: land .5s cubic-bezier(.3, 1.5, .5, 1); }
.rc.found .rc-foot i { background: var(--lime); box-shadow: 0 0 0 1.5px var(--ink); }
.rc.found::after, .rc.first::after { position: absolute; right: -8px; top: -11px; padding: 4px 9px; border-radius: 999px; background: var(--lime); box-shadow: 0 0 0 1.5px var(--ink); font: 600 11px/1 var(--hand); transform: rotate(4deg); }
.rc.found::after { content: "found by chalk"; }
@keyframes land { from { transform: scale(.94); } }
/* when Chalk starts talking, the first step gets a sticker */
.rc.first::after { content: "start here"; transform: rotate(4deg) scale(0); transition: transform .4s cubic-bezier(.3, 1.6, .5, 1); }
.route.lit .rc.first::after { transform: rotate(4deg) scale(1); }
.route.lit .rc.first { transform: translateY(-3px); }

/* one column, on phones: the picture beside the words */
.route.one { grid-template-columns: minmax(0, 1fr); gap: 16px; padding: 74px 14px 18px; }
.route.one .route-head { flex-direction: column; align-items: flex-start; gap: 10px; }
.route.one .route-stage { background: #FAF7EE; justify-self: start; padding: 2px 8px 2px 0; }
.route.one .route-stage:not(:first-of-type) { margin-top: 8px; }
.route.one .rc { display: grid; grid-template-columns: 96px minmax(0, 1fr); column-gap: 12px; align-items: center; }
.route.one .rc-panel { grid-column: 1; grid-row: 1; }
.route.one .rc-cap, .route.one .rc-foot { grid-column: 2; min-height: 0; }
.route.one .rc .rc-cap { grid-row: 1; align-self: center; margin: 0; min-height: 0; }
.route.one .rc .rc-foot { align-self: start; margin-top: 0; }

/* ---------- 11–13 one Mac, three windows ---------- */
.b-desk { --w: 100%; --x: 0%; }
.desk { padding: clamp(24px, 3.6vw, 56px); }
.desk .mac { padding: 0 6%; }
.desk-talks { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px clamp(24px, 3.4vw, 52px); margin-top: clamp(30px, 3.6vw, 52px); align-items: start; }
.do { display: flex; flex-direction: column; gap: 16px; }
.do-title { margin: 0; font: 600 clamp(22px, 1.9vw, 27px)/1.08 var(--sans); letter-spacing: -0.025em; }
.do-keys { margin: 0; font: 500 14px/1.4 var(--sans); color: var(--ink-3); }
.app-win { position: absolute; z-index: 1; border-radius: 10px; overflow: hidden; background: #1E1E1E; box-shadow: 0 0 0 .5px rgba(0, 0, 0, .45), 0 18px 44px rgba(0, 0, 0, .42); transition: box-shadow .3s; }
.app-win.front { z-index: 2; box-shadow: 0 0 0 .5px rgba(0, 0, 0, .5), 0 28px 64px rgba(0, 0, 0, .58); }
.app-win:not(.front) .mini-bar i { background: #D2D2D2; }
.app-win img { display: block; width: 100%; height: auto; transition: opacity .26s; }
.app-win img.swapping { opacity: .15; }
.app-win[data-win="blender"] { left: 34px; top: 42px; width: 600px; }
.app-win[data-win="garageband"] { left: 330px; top: 146px; width: 470px; }
.app-win[data-win="xcode"] { left: 548px; top: 66px; width: 420px; }
#deskEngine { z-index: 3; }
#deskScreen { transition: transform .8s var(--ease); }
.mini-bar { height: 30px; }
.mini-bar .url { margin: 0 auto; transform: translateX(-24px); padding: 4px 12px; border-radius: 6px; background: #fff; font: 500 12px/1 var(--sans); color: #555; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 70%; }
.script-sm .line.student .said { font-size: 19px; }
.script-sm .line.chalk .said { font-size: 16px; }

/* ---------- 14 fine print ---------- */
.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 48px; margin: clamp(24px, 3vw, 40px) 0 0; }
.facts dt { font: 700 16px/1.2 var(--hand); color: var(--blue); }
.facts dd { margin: 6px 0 0; font: 500 17px/1.45 var(--sans); color: var(--ink); text-wrap: pretty; }
.keys-row { grid-column: 1 / -1; }
.keys-row dd { display: flex; flex-wrap: wrap; gap: 10px 28px; }
.keys-row dd span { white-space: nowrap; }

/* ---------- 14 questions ---------- */
/* Asked in a student's hand, answered in Chalk's voice, like the transcripts:
   opening one lights its words up in order. */
.b-faq { --w: 90%; --x: 2%; }
.faq-lede { margin: 18px 0 0; max-width: 30ch; font: 500 17px/1.45 var(--sans); color: var(--ink-2); text-wrap: pretty; }
.faq-list { margin-top: clamp(28px, 3vw, 40px); border-top: 1.5px solid var(--ink); }
.faq-art { display: none; margin: 28px 0 0; width: 160px; }
.faq-art img { display: block; width: 100%; height: auto; }
.faq-art figcaption { margin-top: 8px; font: 500 12.5px/1.4 var(--sans); color: var(--ink-3); white-space: nowrap; }
@media (min-width: 981px) {
  .faq { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 7fr); gap: clamp(24px, 4vw, 64px); align-items: start; }
  .faq-list { margin-top: 8px; }
  .faq-art { display: block; }
}
/* the heading and its print stay in view while you read down the list */
@media (min-width: 981px) and (min-height: 780px) { .faq-head { position: sticky; top: 104px; } }
.faq-list details { border-bottom: 1.5px solid rgba(11, 11, 11, .14); }
.faq-list summary {
  list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 22px 0; cursor: pointer; color: var(--ink);
  font: 500 clamp(19px, 1.6vw, 22px)/1.28 var(--hand); letter-spacing: -0.01em;
  transition: color .15s;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: ""; flex: none; width: 32px; height: 32px; border-radius: 50%;
  box-shadow: inset 0 0 0 1.5px var(--ink);
  background: linear-gradient(var(--ink), var(--ink)) center / 12px 1.8px no-repeat,
              linear-gradient(var(--ink), var(--ink)) center / 1.8px 12px no-repeat;
  transition: rotate .35s var(--ease), scale .12s var(--ease), background-color .2s, box-shadow .15s;
}
@media (hover: hover) {
  .faq-list summary:hover { color: var(--blue); }
  .faq-list summary:hover::after { box-shadow: inset 0 0 0 2px var(--ink); }
}
.faq-list summary:active::after { scale: .9; }
.faq-list summary:focus-visible { outline: 2px solid var(--blue); outline-offset: 4px; border-radius: 4px; }
.faq-list details[open] summary { color: var(--blue); }
.faq-list details[open] summary::after { rotate: 45deg; background-color: var(--lime); }
/* the answer sits close under its question, with room before the next one */
.faq-a { margin-top: -8px; padding: 0 64px 28px 0; }
.faq-a .said { max-width: 52ch; font: 500 17px/1.6 var(--sans); color: var(--ink-2); }
.faq-a a { color: inherit; text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
.faq-list details.lit .w { color: inherit; transition-delay: calc(var(--i) * 16ms); }
/* opening and closing slide, where the browser can */
@supports (interpolate-size: allow-keywords) {
  .faq-list { interpolate-size: allow-keywords; }
  .faq-list details::details-content { block-size: 0; overflow: clip; transition: block-size .35s var(--ease), content-visibility .35s allow-discrete; }
  .faq-list details[open]::details-content { block-size: auto; }
}
@media (prefers-reduced-motion: reduce) {
  .faq-list details::details-content, .faq-list summary::after, .faq-list .w { transition: none; }
}
@media (max-width: 860px) {
  .faq-list summary { padding: 18px 0; font-size: 18px; }
  .faq-a { margin-top: -6px; padding: 0 0 22px; }
  .faq-a .said { font-size: 16px; }
}

/* ---------- the finale ---------- */
.finale { position: relative; margin-top: var(--gap); min-height: min(92vh, 920px, 64vw); display: flex; align-items: flex-end; padding: clamp(16px, 4vw, 56px); overflow: hidden; }
.finale-art { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 38%; }
.finale-card { position: relative; background: var(--sheet); padding: clamp(24px, 3.6vw, 52px); width: min(680px, 100%); }
.finale-card .poster { font-size: clamp(46px, 7vw, 108px); }
.finale-card p { margin: 22px 0 24px; font: 500 18px/1.45 var(--sans); max-width: 36ch; }

/* ---------- footer ---------- */
.foot { max-width: 1400px; margin: 0 auto; padding: 56px var(--edge) 120px; }
.foot-top { display: flex; align-items: baseline; gap: 20px; flex-wrap: wrap; }
.foot-top p { margin: 0; font: 500 16px/1.4 var(--sans); color: var(--ink-2); }
.credits { margin-top: 26px; max-width: 92ch; }
.credits p { margin: 0 0 10px; font: 400 13.5px/1.55 var(--sans); color: var(--ink-3); }
.credits b { color: var(--ink-2); font-weight: 600; }

/* ---------- narrower windows ---------- */
@media (max-width: 1100px) {
  .hero-main { grid-template-columns: minmax(0, 1fr) 280px; }
}

/* ---------- phones ---------- */
@media (max-width: 860px) {
  :root { --edge: 14px; --cell: 96px; --gap: 84px; }
  .bar { height: 56px; gap: 16px; }
  .bar nav { display: none; }
  .bar .pill { margin-left: auto; height: 36px; padding: 0 14px; font-size: 14px; }
  .canvas { padding-top: 36px; }
  .more-track { --h: 210px; gap: 14px; }
  .more-card { width: max(260px, calc(var(--h) * var(--ratio) + 28px)); padding: 14px; }
  .more-btn { width: 44px; height: 44px; }
  .keys { gap: 7px; padding: 10px; border-radius: 16px; }
  .key { width: 74px; height: 68px; border-radius: 9px; }
  .key-side:first-child, .key-space { display: none; }
  .key-wide { width: 84px; }
  .key .k-top { font-size: 17px; right: 8px; top: 7px; }
  .key small { font-size: 11px; left: 8px; bottom: 8px; }
  .opener { height: auto; min-height: calc(100svh - 56px); max-height: none; }
  .op-thread, .op-wanderer, .op-wright { display: none; }
  .op-goya       { left: 4%; top: 18px; width: 46%; }
  .op-earth      { right: 4%; left: auto; top: 40px; width: 42%; }
  .op-angel      { left: 6%; top: auto; bottom: 26px; width: 42%; }
  .op-flammarion { right: 6%; top: auto; bottom: 30px; width: 34%; }
  .op-pin figcaption { margin-top: 6px; max-width: 100%; padding: 6px 8px 7px; }
  .op-line { font-size: 13px; }
  .op-credit { font-size: 10px; }
  .op-copy { min-height: calc(100svh - 56px); padding: 210px 16px 250px; }
  .opener .op-title { font-size: 11vw; }
  .board { --w: 100%; --x: 0%; }
  .b-neuron { margin-top: 48px; }
  .sheet { padding: 18px; }

  .hero-main { grid-template-columns: 1fr; gap: 22px; }
  .mac { padding: 0 3%; }
  .b-hero .poster { margin-top: 26px; font-size: 14vw; }
  .hero-foot { flex-direction: column; align-items: flex-start; gap: 20px; }

  .plain { padding: 22px 18px; }
  .pl-row { gap: 10px; }
  .pl-words { font-size: 9.6vw; }
  .pl-img { height: 17vw; }
  .pl-row .w-tall { display: none; }
  .rings-sm { display: none; }

  .loose { flex-wrap: wrap; gap: 24px; padding: 0 4%; }
  .loose .pin { width: 38vw; margin-top: 0; }
  .qcard { width: 54vw; }
  .q-orange { width: 46vw; }
  .loose-3 .pin-frame { display: none; }

  .scene-side, .heart-main, .library { grid-template-columns: 1fr; }
  .scene-flip .shot { order: 0; }
  .scene-under .script-wide { grid-template-columns: 1fr; }
  .chapter { margin-left: 0; }

  .cards-main, .plan-main { grid-template-columns: 1fr; }
  .deck { --cw: 178px; }
  .under-l { transform: translate(-40%, -22px) rotate(-10deg); }
  .under-r { transform: translate(40%, -36px) rotate(8deg); }
  .desk { padding: 18px; }
  .desk .mac { padding: 0; }
  .desk-talks { grid-template-columns: 1fr; }
  .facts { grid-template-columns: 1fr; }
  .finale { min-height: min(88vh, 760px); padding: 14px; }
  .finale-card .poster { font-size: 12.4vw; }
  .hero-top .rings { display: none; }
  .foot { padding-bottom: 110px; }
}

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

/* ?capture: everything settled, for screenshots */
.capture *, .capture *::before, .capture *::after { transition: none !important; animation: none !important; }

/* ---------- the waitlist ---------- */
.waitlist {
  width: min(560px, calc(100vw - 28px)); max-height: calc(100dvh - 28px);
  margin: auto; padding: clamp(24px, 4vw, 40px); border: 0; border-radius: 0;
  background: var(--sheet); color: var(--ink);
  box-shadow: 0 30px 80px rgba(0, 0, 0, .35);
}
.waitlist::backdrop { background: rgba(242, 242, 242, .78); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.waitlist[open] { animation: wl-in .32s var(--ease); }
@keyframes wl-in { from { opacity: 0; transform: translateY(14px) scale(.98); } }
.wl-close { position: absolute; right: 14px; top: 12px; width: 36px; height: 36px; border: 0; border-radius: 50%; background: transparent; font: 400 28px/1 var(--sans); color: var(--ink-3); cursor: pointer; }
.wl-close:hover { background: #F1F1F1; color: var(--ink); }
.waitlist .poster-sm { font-size: clamp(40px, 6vw, 60px); }
.wl-lede { margin: 14px 0 22px; font: 500 16px/1.45 var(--sans); color: var(--ink-2); max-width: 40ch; }
.wl-field { display: grid; gap: 7px; margin: 0 0 16px; padding: 0; border: 0; }
.wl-field > span, .wl-field legend { font: 600 13px/1.2 var(--sans); color: var(--ink-2); padding: 0; }
.wl-field small { font-weight: 500; color: var(--ink-3); margin-left: 4px; }
.wl-field input, .wl-field textarea {
  width: 100%; box-sizing: border-box; padding: 12px 14px;
  border: 1.5px solid #D9D9D9; border-radius: 10px; background: #FAFAFA;
  font: 500 16px/1.35 var(--sans); color: var(--ink); resize: vertical;
  transition: border-color .15s, background-color .15s;
}
.wl-field input:focus, .wl-field textarea:focus { outline: none; border-color: var(--ink); background: #fff; }
.wl-field input::placeholder, .wl-field textarea::placeholder { color: #A6A6A6; }
.wl-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.wl-chips legend { margin-bottom: 7px; width: 100%; }
.wl-chips label { position: relative; }
.wl-chips input { position: absolute; opacity: 0; pointer-events: none; }
.wl-chips span { display: inline-block; padding: 8px 13px; border-radius: 999px; box-shadow: inset 0 0 0 1.5px #D9D9D9; font: 600 14px/1 var(--hand); cursor: pointer; transition: background-color .15s, box-shadow .15s; }
.wl-chips input:checked + span { background: var(--lime); box-shadow: inset 0 0 0 1.5px var(--ink); }
.wl-chips input:focus-visible + span { outline: 2px solid var(--blue); outline-offset: 2px; }
.wl-trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.wl-error { margin: 0 0 14px; padding: 10px 12px; border-radius: 8px; background: #FDECEA; color: #9C2B20; font: 500 14px/1.4 var(--sans); }
.wl-actions { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-top: 6px; }
.wl-actions small { font: 500 13px/1.3 var(--sans); color: var(--ink-3); }
.wl-actions .pill[disabled] { opacity: .6; cursor: default; }
.wl-done { padding: 8px 0 6px; }
.wl-sticker { display: inline-block; margin: 0 0 16px; padding: 5px 11px; border-radius: 999px; background: var(--lime); box-shadow: 0 0 0 1.5px var(--ink); font: 600 14px/1 var(--hand); transform: rotate(-3deg); }
.wl-done-note { margin: 16px 0 0; font: 500 17px/1.45 var(--sans); color: var(--ink-2); max-width: 36ch; }
button.pill { border: 0; cursor: pointer; font-family: var(--sans); }

/* the green "turn on sound" pill: until the first click, browsers keep the page silent */
.sound-note {
  border: 0; cursor: pointer;
  position: fixed; left: 50%; bottom: 22px; z-index: 60; translate: -50% 12px;
  display: flex; align-items: center; gap: 9px; margin: 0;
  padding: 10px 16px 10px 13px; border-radius: 999px;
  background: var(--lime); color: var(--ink); box-shadow: 0 0 0 1.5px var(--ink), 0 8px 24px rgba(0, 0, 0, .18);
  font: 600 15px/1 var(--hand); white-space: nowrap; pointer-events: none;
  opacity: 0; transition: opacity .3s, translate .4s cubic-bezier(.3, 1.4, .5, 1);
}
.sound-note svg { width: 20px; height: 20px; }
.sound-note.on { opacity: 1; translate: -50% 0; pointer-events: auto; }
.sound-note.done { pointer-events: none; }
@media (hover: hover) { .sound-note.on:hover { box-shadow: 0 0 0 2px var(--ink), 0 10px 28px rgba(0, 0, 0, .22); } }
.sound-note.nudge { animation: sound-nudge .5s var(--ease) 2; }
@keyframes sound-nudge { 0%, 100% { transform: none; } 30% { transform: translateX(-5px) rotate(-2deg); } 70% { transform: translateX(5px) rotate(2deg); } }
