/* Fonts are served from this site, so no font service sees who visits. Licences: assets/fonts/OFL-*.txt */
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400 600; font-display: swap; src: url("assets/fonts/inter.woff2") format("woff2"); }
@font-face { font-family: "Instrument Serif"; font-style: normal; font-weight: 400; font-display: swap; src: url("assets/fonts/instrument-serif.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.woff2") format("woff2"); }
@font-face { font-family: "Caveat"; font-style: normal; font-weight: 500 600; font-display: swap; src: url("assets/fonts/caveat.woff2") format("woff2"); }

:root {
  --ink-0: #07080c;
  --ink-1: #0d0f15;
  --ink-2: #14161e;
  --ink-3: #1c1f29;
  --hair: rgba(233, 215, 170, 0.10);
  --hair-strong: rgba(233, 215, 170, 0.22);
  --text: #f1ede3;
  --muted: #a39e92;
  --faint: #6f6b62;
  --gold: #d4a24c;
  --gold-hi: #f0c979;
  --teal: #1f8a80;
  --coral: #e35d5b;
  --paper: #f6f5ef;
  --bar: #3b3d45;
  --radius: 18px;
  --serif: "Instrument Serif", "Iowan Old Style", Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --hand: "Caveat", "Segoe Print", cursive;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ink-0);
  color: var(--text);
  font: 400 16px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; }
img { max-width: 100%; display: block; }
.wrap { width: min(1160px, 100% - 32px); margin-inline: auto; }
.dots {
  background-image: radial-gradient(rgba(241, 237, 227, 0.09) 1px, transparent 1.2px);
  background-size: 22px 22px;
}
:focus-visible { outline: 2px solid var(--gold-hi); outline-offset: 3px; border-radius: 6px; }

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  background: rgba(7, 8, 12, 0.72);
  border-bottom: 1px solid var(--hair);
}
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 600; letter-spacing: -0.01em; }
.brand img { width: 28px; height: 28px; border-radius: 7px; }
.nav-links { display: flex; gap: 28px; font-size: 14px; color: var(--muted); }
.nav-links a { text-decoration: none; transition: color .2s; }
.nav-links a:hover { color: var(--text); }
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 18px; border-radius: 999px;
  font: 600 14px/1 var(--sans); text-decoration: none; letter-spacing: -0.005em;
  border: 1px solid transparent; transition: transform .15s, background .2s, border-color .2s, box-shadow .2s;
  cursor: pointer; white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-gold { background: linear-gradient(180deg, var(--gold-hi), var(--gold)); color: #1a1408; box-shadow: 0 8px 30px -10px rgba(212, 162, 76, .6), inset 0 1px 0 rgba(255,255,255,.35); }
.btn-gold:hover { box-shadow: 0 10px 40px -8px rgba(212, 162, 76, .75), inset 0 1px 0 rgba(255,255,255,.35); }
.btn-ghost { border-color: var(--hair-strong); color: var(--text); background: rgba(255,255,255,.02); }
.btn-ghost:hover { border-color: rgba(240, 201, 121, .5); background: rgba(240, 201, 121, .06); }
.btn-sm { padding: 9px 14px; font-size: 13px; }

/* ---------- hero ---------- */
.hero { position: relative; padding: 88px 0 40px; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: -20% -10% auto; height: 720px; pointer-events: none;
  background: radial-gradient(ellipse 50% 60% at 50% 20%, rgba(212, 162, 76, .16), transparent 70%);
}
.hero-copy { position: relative; text-align: center; max-width: 820px; margin-inline: auto; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px 6px 8px; border-radius: 999px;
  border: 1px solid var(--hair-strong); background: rgba(255,255,255,.025);
  font-size: 13px; color: var(--muted);
}
.eyebrow b { font-weight: 600; color: #1a1408; background: var(--gold); border-radius: 999px; padding: 2px 9px; font-size: 11.5px; letter-spacing: .02em; }
h1 {
  font: 400 clamp(52px, 9vw, 112px)/0.95 var(--serif);
  letter-spacing: -0.025em; margin: 26px 0 22px;
}
h1 em { font-style: italic; color: var(--gold-hi); }
.lede { font-size: clamp(17px, 2.1vw, 20px); color: var(--muted); max-width: 640px; margin: 0 auto 34px; }
.lede strong { color: var(--text); font-weight: 500; }
.cta-row { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.fineprint { margin-top: 18px; font-size: 13px; color: var(--faint); display: flex; gap: 18px; justify-content: center; flex-wrap: wrap; }
.fineprint span::before { content: "✦"; color: var(--gold); margin-right: 7px; font-size: 10px; vertical-align: 1px; }

/* ---------- the canvas demo ---------- */
.stage { position: relative; margin: 64px auto 0; max-width: 1080px; perspective: 1800px; }
.device {
  position: relative; border-radius: 28px; padding: 14px;
  background: linear-gradient(160deg, #23252e, #0c0d12 55%);
  border: 1px solid var(--hair-strong);
  box-shadow: 0 60px 120px -40px rgba(0,0,0,.9), 0 0 0 1px rgba(0,0,0,.6), 0 30px 80px -50px rgba(212,162,76,.35);
  transform: rotateX(8deg); transform-origin: 50% 100%;
  transition: transform .8s cubic-bezier(.2,.7,.2,1);
}
.stage:hover .device { transform: rotateX(2deg); }
.screen { position: relative; aspect-ratio: 16 / 10; border-radius: 16px; overflow: hidden; background: var(--ink-1); }
.toolbar {
  position: absolute; z-index: 5; top: 14px; left: 50%; transform: translateX(-50%);
  display: flex; align-items: center; gap: 10px; padding: 8px 14px;
  background: rgba(20, 22, 30, .92); border: 1px solid var(--hair); border-radius: 14px;
  box-shadow: 0 10px 30px -10px rgba(0,0,0,.8);
}
.tool { width: 22px; height: 22px; border-radius: 6px; display: grid; place-items: center; }
.tool svg { width: 16px; height: 16px; }
.tool.on { background: rgba(212,162,76,.18); }
.swatch { width: 14px; height: 14px; border-radius: 50%; }
.tsep { width: 1px; height: 18px; background: var(--hair-strong); }
.note-title { position: absolute; z-index: 5; top: 20px; left: 22px; font-weight: 600; font-size: 15px; display: flex; align-items: center; gap: 10px; color: var(--text); }
.note-title svg { width: 14px; height: 14px; opacity: .8; }
.minimap {
  position: absolute; z-index: 5; right: 16px; bottom: 16px; width: 112px; height: 70px;
  border-radius: 10px; background: rgba(20,22,30,.9); border: 1px solid var(--hair);
}
.minimap i { position: absolute; border-radius: 2px; background: rgba(241,237,227,.28); }
.minimap .view { position: absolute; border: 1.5px solid var(--gold); border-radius: 3px; left: 26%; top: 22%; width: 42%; height: 48%; animation: mini 22s ease-in-out infinite; }
@keyframes mini { 50% { transform: translate(10px, 5px); } }

.world { position: absolute; inset: -40px -80px -120px; animation: pan 22s ease-in-out infinite; will-change: transform; }
@keyframes pan { 50% { transform: translate(-46px, -22px); } }
.obj { position: absolute; }

.page {
  background: var(--paper); border-radius: 6px; padding: 12px 12px 10px;
  box-shadow: 0 18px 40px -18px rgba(0,0,0,.8);
}
.page .h { height: 8px; width: 55%; background: var(--teal); border-radius: 4px; margin-bottom: 9px; }
.page .l { height: 4px; background: var(--bar); border-radius: 2px; margin: 5px 0; opacity: .85; }
.page .l.t { background: var(--teal); }
.page .l.c { background: var(--coral); }
.hl { position: absolute; height: 9px; background: rgba(240, 201, 121, .55); border-radius: 3px; mix-blend-mode: multiply; }

.video { width: 300px; border-radius: 12px; overflow: hidden; background: #0e1118; border: 1px solid var(--hair-strong); box-shadow: 0 24px 50px -20px rgba(0,0,0,.9); }
.video .thumb { position: relative; aspect-ratio: 16/9; background:
    radial-gradient(circle at 30% 40%, rgba(31,138,128,.55), transparent 55%),
    radial-gradient(circle at 75% 65%, rgba(212,162,76,.35), transparent 50%),
    linear-gradient(135deg, #10202a, #151823); }
.video .play { position: absolute; inset: 0; margin: auto; width: 46px; height: 46px; border-radius: 50%; background: rgba(241,237,227,.92); display: grid; place-items: center; }
.video .play::after { content: ""; margin-left: 4px; border-left: 13px solid #10131a; border-top: 8px solid transparent; border-bottom: 8px solid transparent; }
.video .meta { padding: 9px 12px 11px; font-size: 11.5px; color: var(--muted); }
.video .meta b { display: block; color: var(--text); font-weight: 500; font-size: 12.5px; margin-bottom: 7px; }
.video .bar { height: 3px; border-radius: 2px; background: rgba(241,237,227,.12); overflow: hidden; }
.video .bar i { display: block; height: 100%; width: 38%; background: var(--gold); animation: prog 22s linear infinite; }
@keyframes prog { from { width: 18%; } to { width: 78%; } }

.flash { width: 210px; height: 128px; perspective: 800px; cursor: pointer; }
.flash-inner { position: relative; width: 100%; height: 100%; transition: transform .7s cubic-bezier(.3,.7,.2,1); transform-style: preserve-3d; }
.flash:hover .flash-inner, .flash:focus-within .flash-inner { transform: rotateY(180deg); }
.face {
  position: absolute; inset: 0; backface-visibility: hidden; -webkit-backface-visibility: hidden;
  border-radius: 12px; padding: 14px 15px; display: flex; flex-direction: column; justify-content: space-between;
  border: 1px solid var(--hair-strong); box-shadow: 0 20px 40px -18px rgba(0,0,0,.85);
}
.face.front { background: var(--ink-3); }
.face.back { background: linear-gradient(160deg, #1d3b38, #142624); transform: rotateY(180deg); }
.face small { font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); font-weight: 600; }
.face p { margin: 0; font-size: 13.5px; line-height: 1.35; color: var(--text); font-weight: 500; }
.face .hint { font-size: 10.5px; color: var(--faint); }

.quiz { width: 230px; padding: 13px 14px; border-radius: 12px; background: var(--ink-3); border: 1px solid var(--hair-strong); font-size: 12px; box-shadow: 0 20px 40px -18px rgba(0,0,0,.85); }
.quiz small { font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); font-weight: 600; }
.quiz p { margin: 6px 0 9px; font-size: 12.5px; font-weight: 500; line-height: 1.35; }
.opt { padding: 6px 9px; border-radius: 7px; border: 1px solid var(--hair); margin-top: 5px; color: var(--muted); display: flex; justify-content: space-between; }
.opt.ok { border-color: rgba(31,138,128,.8); background: rgba(31,138,128,.18); color: var(--text); }

.mind { width: 260px; }
.audio { display: flex; align-items: center; gap: 12px; padding: 10px 16px 10px 10px; border-radius: 999px; background: var(--ink-3); border: 1px solid var(--hair-strong); box-shadow: 0 20px 40px -18px rgba(0,0,0,.85); }
.aplay { width: 30px; height: 30px; border-radius: 50%; background: var(--gold); display: grid; place-items: center; flex: none; }
.aplay::after { content: ""; margin-left: 3px; border-left: 9px solid #1a1408; border-top: 6px solid transparent; border-bottom: 6px solid transparent; }
.wave { display: flex; align-items: center; gap: 3px; height: 24px; }
.wave i { width: 3px; border-radius: 2px; background: rgba(240,201,121,.75); animation: wave 1.4s ease-in-out infinite; transform-origin: center; }
.wave i:nth-child(3n) { animation-delay: .2s; } .wave i:nth-child(3n+1) { animation-delay: .45s; }
@keyframes wave { 50% { transform: scaleY(.45); } }
.atext { font-size: 11px; color: var(--muted); line-height: 1.3; }
.atext b { display: block; color: var(--text); font-weight: 500; font-size: 12px; }
.mind text { font: 500 10.5px var(--sans); fill: var(--text); }

.ink path { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.draw { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 2.2s cubic-bezier(.5,.1,.3,1) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.hand { font: 600 26px/1 var(--hand); color: var(--gold-hi); white-space: nowrap; overflow: hidden; width: 0; animation: write 2.6s steps(22, end) forwards; }
@keyframes write { to { width: 11.5em; } }

/* ---------- sections ---------- */
section { position: relative; }
/* Keep anchored sections clear of the sticky nav. */
section[id], article[id] { scroll-margin-top: 64px; }
.section { padding: 120px 0; }
.kicker { font-size: 12.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); font-weight: 600; }
h2 { font: 400 clamp(38px, 5.4vw, 64px)/1.02 var(--serif); letter-spacing: -0.02em; margin: 14px 0 18px; }
h2 em { font-style: italic; color: var(--gold-hi); }
.sub { color: var(--muted); font-size: 18px; max-width: 620px; margin: 0; }
.center { text-align: center; }
.center .sub { margin-inline: auto; }

.strip { border-block: 1px solid var(--hair); padding: 22px 0; }
.strip .wrap { display: flex; align-items: center; justify-content: center; gap: 12px 34px; flex-wrap: wrap; color: var(--faint); font-size: 14px; }
.strip b { color: var(--muted); font-weight: 500; }

.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; margin-top: 56px; }
.tile {
  position: relative; overflow: hidden; border-radius: var(--radius); padding: 28px;
  background: linear-gradient(180deg, var(--ink-2), var(--ink-1));
  border: 1px solid var(--hair); transition: border-color .3s, transform .3s;
  grid-column: span 2; min-height: 250px; display: flex; flex-direction: column;
}
.tile:hover { border-color: var(--hair-strong); transform: translateY(-2px); }
.tile.wide { grid-column: span 3; }
.tile.full { grid-column: span 4; }
.tile.all { grid-column: 1 / -1; min-height: 0; }
.tile h3 { font: 400 28px/1.1 var(--serif); margin: 0 0 10px; letter-spacing: -0.01em; }
.tile p { color: var(--muted); margin: 0; font-size: 15px; }
.tile .art { margin-top: auto; padding-top: 26px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { font-size: 12.5px; padding: 6px 11px; border-radius: 999px; border: 1px solid var(--hair-strong); color: var(--text); background: rgba(255,255,255,.025); }
.chip.g { border-color: rgba(212,162,76,.45); color: var(--gold-hi); }
.pens { display: flex; gap: 14px; align-items: flex-end; }
.pens div { width: 16px; border-radius: 8px 8px 3px 3px; background: linear-gradient(180deg, var(--ink-3), #2a2d38); border: 1px solid var(--hair-strong); position: relative; }
.pens div::before { content: ""; position: absolute; left: 50%; top: -9px; transform: translateX(-50%); border-left: 6px solid transparent; border-right: 6px solid transparent; border-bottom: 9px solid var(--c, var(--gold)); }
.convert { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.convert .from { font: 600 30px/1 var(--hand); color: var(--gold-hi); }
.convert .arrow { color: var(--faint); }
.convert .to { font: 500 18px var(--sans); padding: 6px 12px; border-radius: 8px; background: var(--ink-3); border: 1px solid var(--hair); }
.lockart { display: flex; align-items: center; gap: 16px; }
.lockart svg { width: 44px; height: 44px; }
.lockart ul { margin: 0; padding: 0; list-style: none; font-size: 14px; color: var(--muted); }
.lockart li::before { content: "✓"; color: var(--teal); margin-right: 8px; font-weight: 700; }

.gallery { display: grid; grid-auto-flow: column; grid-auto-columns: min(78%, 720px); gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 56px max(16px, calc((100% - 1160px) / 2)) 12px; scroll-padding-inline: max(16px, calc((100% - 1160px) / 2)); scrollbar-width: thin; scrollbar-color: var(--ink-3) transparent; }
.gallery figure { margin: 0; scroll-snap-align: start; }
.gallery img { border-radius: 14px; border: 1px solid var(--hair); box-shadow: 0 30px 60px -30px rgba(0,0,0,.9); aspect-ratio: 16/10; object-fit: cover; width: 100%; height: auto; }
.gallery figcaption { margin-top: 12px; font-size: 14px; color: var(--muted); }

.watch { padding: 40px 0 120px; }
.watch .wrap { display: grid; grid-template-columns: 1fr auto; gap: 72px; align-items: center; max-width: 980px; }
.watch .cta-row { justify-content: flex-start; margin-top: 30px; }
.points { list-style: none; margin: 26px 0 0; padding: 0; color: var(--muted); font-size: 16px; }
.points li { margin: 8px 0; }
.points li::before { content: "✦"; color: var(--gold); margin-right: 10px; font-size: 11px; vertical-align: 1px; }
.phone {
  position: relative; width: 320px; padding: 10px; border-radius: 40px;
  background: linear-gradient(160deg, #23252e, #0c0d12 55%);
  border: 1px solid var(--hair-strong);
  box-shadow: 0 60px 120px -40px rgba(0,0,0,.9), 0 0 0 1px rgba(0,0,0,.6), 0 30px 80px -50px rgba(212,162,76,.35);
}
.phone video { display: block; width: 100%; height: auto; aspect-ratio: 9 / 16; border-radius: 30px; background: var(--ink-1); }

.flow { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; align-items: stretch; gap: 18px; margin-top: 60px; }
.flow .wire { align-self: center; }
.node { text-align: center; padding: 30px 20px; border-radius: var(--radius); border: 1px solid var(--hair); background: var(--ink-1); }
.node svg { width: 56px; height: 56px; margin: 0 auto 14px; }
.node b { display: block; font-weight: 600; margin-bottom: 4px; }
.node span { color: var(--muted); font-size: 14px; }
.wire { width: 90px; height: 2px; background: repeating-linear-gradient(90deg, var(--gold) 0 8px, transparent 8px 14px); background-size: 28px 2px; animation: flow 1.2s linear infinite; opacity: .8; }
@keyframes flow { to { background-position: 28px 0; } }

.privacy { text-align: center; padding: 140px 0 40px; }
.privacy h2 { font-size: clamp(40px, 6.4vw, 84px); max-width: 980px; margin-inline: auto; }
.pgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 56px; text-align: left; }
.pgrid div { padding: 24px; border-radius: var(--radius); border: 1px solid var(--hair); background: var(--ink-1); }
.pgrid b { display: block; font-size: 17px; margin-bottom: 6px; font-weight: 600; }
.pgrid span { color: var(--muted); font-size: 15px; }

.dl { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 56px; }
.card { padding: 32px; border-radius: 22px; border: 1px solid var(--hair-strong); background: radial-gradient(ellipse at top left, rgba(212,162,76,.10), transparent 60%), var(--ink-1); }
.card h3 { font: 400 34px/1.05 var(--serif); margin: 14px 0 8px; }
.card p { color: var(--muted); margin: 0 0 24px; }
.card .os { display: inline-flex; gap: 8px; align-items: center; font-size: 13px; color: var(--muted); }
.card .os svg { width: 18px; height: 18px; }
.card ol { color: var(--muted); font-size: 14px; padding-left: 18px; margin: 20px 0 0; }
.card ol li { margin: 4px 0; }
.ai { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1.4fr; gap: 28px; align-items: center; }
.prompt { position: relative; font: 400 14px/1.65 ui-monospace, "Cascadia Code", Menlo, monospace; color: #e8e2d2; background: #0a0b10; border: 1px solid var(--hair); border-radius: 14px; padding: 58px 20px 20px; }
.prompt::before { content: "Prompt"; position: absolute; top: 18px; left: 20px; font: 600 11px var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--faint); }
.prompt::after { content: ""; position: absolute; left: 0; right: 0; top: 46px; border-top: 1px solid var(--hair); }
.prompt .copy { position: absolute; top: 10px; right: 10px; }
.agents { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.star { display: flex; align-items: center; justify-content: center; gap: 12px 20px; flex-wrap: wrap; margin-top: 44px; text-align: center; }
.star p { margin: 0; color: var(--muted); font-size: 15px; }
.star svg { color: var(--gold-hi); }

.founder { padding: 10px 0 120px; }
.founder .box { display: grid; grid-template-columns: auto 1fr; gap: 36px; align-items: start; max-width: 860px; margin-inline: auto; padding: 44px; border-radius: 26px; border: 1px solid var(--hair); background: var(--ink-1); }
.founder .mark { font: 400 120px/0.7 var(--serif); color: var(--gold); }
.founder blockquote { margin: 0; font: 400 clamp(22px, 2.7vw, 30px)/1.3 var(--serif); letter-spacing: -0.005em; }
.founder cite { display: block; margin-top: 20px; font: 500 15px var(--sans); color: var(--muted); font-style: normal; }
.founder cite b { color: var(--text); font-weight: 600; }

footer { border-top: 1px solid var(--hair); padding: 40px 0 56px; color: var(--faint); font-size: 14px; }
footer .wrap { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; align-items: center; }
footer nav { display: flex; gap: 22px; flex-wrap: wrap; }
footer a { text-decoration: none; color: var(--muted); }
footer a:hover { color: var(--text); }
footer .tm { flex-basis: 100%; margin: 8px 0 0; font-size: 12px; line-height: 1.6; color: var(--faint); max-width: 900px; }
.pgrid a { color: var(--gold-hi); text-decoration: none; border-bottom: 1px solid rgba(240,201,121,.35); }
.pgrid a:hover { border-bottom-color: var(--gold-hi); }

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

@media (max-width: 960px) {
  .nav-links { display: none; }
  .toolbar { top: 52px; }
  .bento { grid-template-columns: 1fr 1fr; }
  .tile, .tile.wide, .tile.full, .tile.all { grid-column: span 2; min-height: 0; }
  .flow { grid-template-columns: 1fr; }
  .wire { width: 2px; height: 36px; margin: 0 auto; background: repeating-linear-gradient(180deg, var(--gold) 0 8px, transparent 8px 14px); background-size: 2px 28px; animation-name: flowv; }
  @keyframes flowv { to { background-position: 0 28px; } }
  .pgrid, .dl, .ai { grid-template-columns: 1fr; }
  .watch .wrap { grid-template-columns: 1fr; gap: 44px; text-align: center; }
  .watch .cta-row { justify-content: center; }
  .watch .sub { margin-inline: auto; }
  .points { display: inline-block; text-align: left; }
  .phone { width: min(300px, 80vw); margin-inline: auto; border-radius: 34px; }
  .phone video { border-radius: 25px; }
  .founder .box { grid-template-columns: 1fr; padding: 30px; gap: 12px; }
  .founder .mark { font-size: 80px; }
}
@media (max-width: 640px) {
  .hero { padding-top: 56px; }
  .device { padding: 8px; border-radius: 18px; transform: none; }
  .screen { aspect-ratio: 4 / 5; }
  .toolbar { gap: 6px; padding: 6px 10px; top: 52px; }
  .toolbar .opt-sm { display: none; }
  .hide-sm { display: none; }
  /* The phone gets its own arrangement of the canvas: the video with ink over it, the note, the audio strip. */
  .o-pdf1, .o-quiz, .minimap { display: none; }
  .o-video { left: 132px !important; top: 162px !important; width: 220px; }
  .o-ink { left: 114px !important; top: 140px !important; transform: scale(.733); transform-origin: 0 0; }
  .o-hand { left: 154px !important; top: 339px !important; font-size: 19px; }
  .o-audio { left: 132px !important; top: 394px !important; }
  .o-pdf2 { left: 372px !important; top: 172px !important; }
  .section { padding: 84px 0; }
  .tile { padding: 22px; }
  .card { padding: 24px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .draw { stroke-dashoffset: 0; }
  .hand { width: 11.5em; }
  .reveal { opacity: 1; transform: none; }
}
