/* Stylo — ink on paper. The page is a sheet Stylo already annotated. */

@font-face {
  font-family: "Coin";
  src: url("fonts/Coin-Regular.woff2") format("woff2");
  font-display: swap;
}
@font-face {
  font-family: "Slaro";
  src: url("fonts/Slaro.woff") format("woff");
  font-display: swap;
}

:root {
  --paper: oklch(96.8% 0.009 85);
  --paper-deep: oklch(94.2% 0.013 83);
  --paper-edge: oklch(89% 0.016 82);
  --ink: oklch(25% 0.013 60);
  --ink-soft: oklch(40% 0.013 60);
  --ink-faint: oklch(56% 0.011 65);
  --night: oklch(18% 0.01 60);
  --night-raise: oklch(23% 0.012 62);
  --ivory: oklch(95% 0.008 85);
  --ivory-dim: oklch(78% 0.01 82);
  --red: oklch(54% 0.19 27);
  --red-deep: oklch(47% 0.18 27);
  --pill: 980px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--paper);
  color: var(--ink);
  font-family: "Schibsted Grotesk", -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 17.5px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* paper grain: faint dot grid on the whole sheet */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: radial-gradient(oklch(25% 0.013 60 / 0.05) 1px, transparent 1px);
  background-size: 26px 26px;
  z-index: 0;
}
main, nav, footer { position: relative; z-index: 1; }

/* Typography standard — wrapping (Institution Brain typography-standard.md) */
h1, h2, h3, h4, h5, h6,
blockquote, figcaption,
.balance { text-wrap: balance; }
p, li, dd,
.pretty { text-wrap: pretty; }

::selection { background: oklch(54% 0.19 27 / 0.22); }

/* display type: SF Pro via system stack — the Apple look, native on every Mac */
.serif {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Schibsted Grotesk", sans-serif;
  font-weight: 700;
  letter-spacing: -0.028em;
}

.wrap { max-width: 1200px; margin: 0 auto; padding: 0 clamp(24px, 4vw, 48px); }

/* ---------- nav ---------- */

nav {
  position: sticky; top: 0; z-index: 50;
  background: var(--night);
  border-bottom: 1px solid oklch(95% 0.008 85 / 0.1);
}
.nav-inner {
  display: grid; grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: 104px;
}
.wordmark {
  justify-self: center;
  font-family: "Slaro", -apple-system, sans-serif;
  font-size: 68px; letter-spacing: 0.02em;
  color: var(--ivory); text-decoration: none;
}
.wordmark .annotate-target { position: relative; display: inline-block; }
.wordmark canvas { position: absolute; pointer-events: none; }
.nav-inner .btn { justify-self: end; }
.nav-note {
  font-family: "Coin", "Schibsted Grotesk", sans-serif;
  font-size: 21px; letter-spacing: 0.01em;
  color: var(--ivory); justify-self: start;
}

/* ---------- buttons ---------- */

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  border-radius: var(--pill);
  padding: 13px 26px;
  font-size: 15.5px; font-weight: 600; letter-spacing: 0.005em;
  text-decoration: none; cursor: pointer; border: none;
  transition: transform 0.35s var(--ease), background 0.25s var(--ease), box-shadow 0.35s var(--ease);
}
.btn-red {
  background: var(--red); color: var(--ivory);
  box-shadow: 0 10px 28px oklch(54% 0.19 27 / 0.28), 0 2px 6px oklch(54% 0.19 27 / 0.2);
}
.btn-red:hover { background: var(--red-deep); transform: translateY(-2px); box-shadow: 0 16px 36px oklch(54% 0.19 27 / 0.32); }
.btn-ink {
  background: transparent; color: var(--ink);
  box-shadow: inset 0 0 0 1.5px oklch(25% 0.013 60 / 0.35);
}
.btn-ink:hover { box-shadow: inset 0 0 0 1.5px oklch(25% 0.013 60 / 0.8); transform: translateY(-2px); }
.btn-sm { padding: 9px 19px; font-size: 14px; }

/* keycaps: physical, pressable, embossed on paper */
kbd {
  display: inline-block;
  font-family: "Schibsted Grotesk", sans-serif;
  font-size: 0.8em; font-weight: 600;
  background: linear-gradient(oklch(99% 0.005 85), oklch(95.5% 0.01 84));
  border: 1px solid oklch(25% 0.013 60 / 0.22);
  border-radius: 7px;
  padding: 2px 9px;
  color: var(--ink);
  white-space: nowrap;
  box-shadow: 0 2.5px 0 oklch(25% 0.013 60 / 0.2), 0 3px 5px oklch(25% 0.013 60 / 0.08);
  position: relative; top: -1px;
}
.on-night kbd {
  background: linear-gradient(oklch(30% 0.012 62), oklch(24% 0.012 62));
  color: var(--ivory);
  border-color: oklch(95% 0.008 85 / 0.2);
  box-shadow: 0 2.5px 0 oklch(0% 0 0 / 0.5), 0 3px 5px oklch(0% 0 0 / 0.3);
}

/* ---------- hero ---------- */

.hero { padding: clamp(72px, 10vh, 128px) 0 0; position: relative; }
.hero-head { max-width: 1120px; position: relative; }
.hero h1 {
  font-size: clamp(54px, 7.1vw, 104px);
  line-height: 1.02;
  font-weight: 700;
  margin-bottom: clamp(28px, 3.5vw, 44px);
}
.hero h1 .annotate-target { position: relative; display: inline-block; }
.hero h1 canvas { position: absolute; pointer-events: none; }
.hero-sub {
  font-size: clamp(19px, 1.7vw, 23px); color: var(--ink-soft); line-height: 1.5;
  max-width: 33em; margin-bottom: 40px;
}
.hero-sub strong { color: var(--ink); font-weight: 600; }
.hero-ctas { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; position: relative; }
.hero-fine { margin-top: 22px; font-size: 14px; color: var(--ink-faint); }
#ctaArrow {
  position: absolute; left: -104px; top: -26px; width: 110px; height: 90px;
  pointer-events: none;
}

/* ---------- the sheet (drawable pad) ---------- */

.sheet-zone { padding: clamp(48px, 6vw, 80px) 0 0; }
.sheet {
  position: relative;
  background: oklch(97.6% 0.007 86);
  border: 1px solid var(--paper-edge);
  box-shadow:
    0 1px 2px oklch(25% 0.013 60 / 0.05),
    0 12px 40px oklch(25% 0.013 60 / 0.09),
    0 40px 90px oklch(25% 0.013 60 / 0.07);
  border-radius: 26px; /* superellipse via JS */
}
.sheet-head {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; padding: 18px 26px 0;
}
.sheet-title {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", sans-serif;
  font-size: 17px; font-weight: 600; color: var(--ink);
}
.pad-tools { display: flex; align-items: center; gap: 9px; }
.dot {
  width: 21px; height: 21px; border-radius: 50%;
  border: none; cursor: pointer; padding: 0;
  outline: 2px solid transparent; outline-offset: 2.5px;
  transition: transform 0.2s var(--ease), outline-color 0.2s var(--ease);
}
.dot:hover { transform: scale(1.18); }
.dot.active { outline-color: oklch(25% 0.013 60 / 0.6); }
.tool-btn {
  background: none; border: none; cursor: pointer;
  font-family: "Schibsted Grotesk", sans-serif;
  font-size: 14px; font-weight: 600; color: var(--ink-faint);
  padding: 5px 11px; border-radius: var(--pill);
  transition: background 0.2s var(--ease), color 0.2s var(--ease);
}
.tool-btn:hover { color: var(--ink); }
.tool-btn.active { background: oklch(25% 0.013 60 / 0.09); color: var(--ink); }
.pad-canvas-wrap { position: relative; }
#heroPad {
  display: block; width: 100%; height: clamp(340px, 44vh, 460px);
  cursor: crosshair;
}
.pad-hint {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  pointer-events: none;
  color: var(--ink-faint);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", sans-serif;
  font-size: clamp(18px, 2vw, 24px);
  transition: opacity 0.6s var(--ease);
}
.pad-hint.gone { opacity: 0; }
.sheet-foot {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 26px 18px;
  font-size: 13.5px; color: var(--ink-faint);
}
.pressure-badge {
  opacity: 0; transition: opacity 0.5s var(--ease);
  color: var(--red); font-weight: 600;
}
.pressure-badge.on { opacity: 1; }

/* ---------- sections ---------- */

section { padding: clamp(88px, 12vw, 150px) 0; position: relative; }
.section-title {
  font-size: clamp(36px, 4.6vw, 62px);
  font-weight: 700; line-height: 1.07;
  margin-bottom: 22px;
}
.section-sub { font-size: clamp(17.5px, 1.5vw, 20px); color: var(--ink-soft); max-width: 36em; }

/* the idea: software, not hardware */
.idea-eyebrow {
  font-size: 14px; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--red); margin-bottom: 18px;
}
.idea {
  background: var(--paper-deep);
  border-top: 1px solid oklch(25% 0.013 60 / 0.07);
  border-bottom: 1px solid oklch(25% 0.013 60 / 0.07);
}
.pipeline { max-width: 960px; margin: clamp(40px, 5vw, 64px) auto 0; }
#pipelineInk { display: block; width: 100%; height: 240px; }
.pipeline-labels {
  display: grid; grid-template-columns: 1fr 1fr 1fr;
  margin-top: 6px; text-align: center;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", sans-serif;
  font-size: 17px; color: var(--ink);
}

.btn-ivory {
  background: transparent; color: var(--ivory);
  box-shadow: inset 0 0 0 1.5px oklch(95% 0.008 85 / 0.45);
}
.btn-ivory:hover { box-shadow: inset 0 0 0 1.5px oklch(95% 0.008 85 / 0.9); transform: translateY(-2px); }
.closer-ctas { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* how it works: an annotated instruction sheet, not cards */
.steps {
  margin-top: clamp(48px, 6vw, 76px);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(32px, 5vw, 72px);
}
.step { position: relative; padding-top: 66px; }
.step-num {
  position: absolute; top: 0; left: 0;
  width: 48px; height: 48px;
}
.step-num canvas { position: absolute; inset: -14px; width: 76px; height: 76px; pointer-events: none; }
.step-num span {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", sans-serif;
  font-size: 26px; color: var(--ink);
}
.step h3 { font-size: 20px; font-weight: 700; margin-bottom: 10px; letter-spacing: -0.01em; }
.step p { font-size: 16px; color: var(--ink-soft); }

/* annotate demo: a window taped onto the paper */
.demo-stage {
  margin-top: clamp(48px, 6vw, 72px);
  position: relative;
  background: #21242b;
  border-radius: 22px; /* superellipse via JS */
  overflow: hidden;
  box-shadow:
    0 2px 6px oklch(25% 0.013 60 / 0.12),
    0 24px 60px oklch(25% 0.013 60 / 0.22),
    0 60px 120px oklch(25% 0.013 60 / 0.14);
  transform: rotate(-0.6deg);
}
.demo-tape {
  position: absolute; z-index: 3;
  width: 112px; height: 32px;
  background: oklch(90% 0.02 90 / 0.5);
  box-shadow: 0 1px 3px oklch(25% 0.013 60 / 0.12);
  backdrop-filter: blur(1px);
}
.demo-tape.t-left { top: -12px; left: 8%; transform: rotate(-5deg); }
.demo-tape.t-right { bottom: -12px; right: 6%; transform: rotate(4deg); }
.demo-chrome {
  display: flex; align-items: center; gap: 8px;
  padding: 13px 18px;
  background: #2a2d35;
}
.traffic { width: 12px; height: 12px; border-radius: 50%; }
.demo-chrome .t1 { background: #ff5f57; } .demo-chrome .t2 { background: #febc2e; } .demo-chrome .t3 { background: #28c840; }
.demo-chrome span { margin-left: 10px; font-size: 13px; color: #9a9da6; }
.demo-body { position: relative; padding: 34px; min-height: 430px; }
.demo-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.gen-tile { aspect-ratio: 3 / 4; border-radius: 12px; position: relative; overflow: hidden; }
.gen-tile::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(160deg, rgba(255,255,255,0.12), transparent 40%);
}
#demoInk, #demoDim { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
#demoDim { opacity: 0; transition: opacity 0.6s var(--ease); }
#demoDim.on { opacity: 1; }
.demo-region {
  position: absolute; border: 1.5px solid #fff;
  opacity: 0; transition: opacity 0.6s var(--ease);
  pointer-events: none;
}
.demo-region.on { opacity: 1; }
.region-badge {
  position: absolute; top: calc(100% + 8px); left: 0;
  background: rgba(0, 0, 0, 0.72); color: #fff;
  font-size: 11.5px; font-weight: 600; font-variant-numeric: tabular-nums;
  padding: 4px 9px; border-radius: 6px;
}

/* annotated margin list, replaces feature cards */
.margin-list {
  margin-top: clamp(48px, 6vw, 72px);
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: clamp(32px, 5vw, 72px);
}
.margin-item h3 {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", sans-serif;
  font-size: 20px; font-weight: 700; letter-spacing: -0.01em; margin-bottom: 10px;
  position: relative; display: inline-block;
}
.margin-item h3 canvas { position: absolute; left: -6px; right: -10px; top: 100%; margin-top: -6px; height: 16px; width: calc(100% + 16px); pointer-events: none; }
.margin-item p { font-size: 16px; color: var(--ink-soft); }

/* ---------- night band: the ink side of the sheet ---------- */

.night {
  background: var(--night);
  color: var(--ivory);
  border-radius: 0;
}
.night .section-title { color: var(--ivory); }
.night .section-sub { color: var(--ivory-dim); }
.engine-grid {
  display: grid; grid-template-columns: 1.05fr 1fr;
  gap: clamp(40px, 6vw, 88px); align-items: center;
}
.engine-list { list-style: none; margin-top: 34px; display: grid; gap: 18px; }
.engine-list li { display: flex; gap: 16px; font-size: 16.5px; color: var(--ivory-dim); line-height: 1.55; }
.engine-list li strong { color: var(--ivory); font-weight: 600; }
.engine-list li .tick {
  flex-shrink: 0; margin-top: 7px; width: 14px; height: 14px;
  border-radius: 50%;
  border: 2.5px solid var(--red);
}
#engineStrip {
  width: 100%; height: clamp(360px, 44vh, 460px); display: block;
  background: oklch(97.6% 0.007 86);
  border-radius: 24px; /* superellipse via JS */
  box-shadow: 0 30px 80px oklch(0% 0 0 / 0.5);
  cursor: crosshair;
}
.engine-caption { margin-top: 16px; text-align: center; font-size: 13.5px; color: var(--ivory-dim); }

/* wacom: full-width statement */
.wacom { text-align: center; }
.wacom .section-title { max-width: 16em; margin-left: auto; margin-right: auto; position: relative; }
.film-frame {
  position: relative;
  margin: clamp(44px, 6vw, 68px) auto 0;
  max-width: 880px;
  border-radius: 20px;
  overflow: hidden;
  transform: rotate(0.6deg);
  box-shadow:
    0 2px 6px oklch(25% 0.013 60 / 0.12),
    0 24px 60px oklch(25% 0.013 60 / 0.22);
}
.film-frame video { display: block; width: 100%; height: auto; }
.film-frame .demo-tape { z-index: 3; }
@media (prefers-reduced-motion: reduce) {
  .film-frame video { display: none; }
  .film-frame { background: url("wacom-poster.jpg") center/cover; min-height: 300px; }
}

.ticker {
  margin-top: 34px; overflow: hidden; position: relative;
  -webkit-mask-image: linear-gradient(90deg, transparent, black 12%, black 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, black 12%, black 88%, transparent);
}
.ticker-track {
  display: flex; gap: 14px; width: max-content;
  animation: tick 36s linear infinite;
}
@keyframes tick { to { transform: translateX(-50%); } }
.tick-item {
  display: flex; align-items: center; gap: 10px;
  font-size: 16px; font-weight: 600; color: var(--ink);
  padding: 10px 22px; border-radius: var(--pill);
  box-shadow: inset 0 0 0 1.5px oklch(25% 0.013 60 / 0.2);
  white-space: nowrap;
}
.tick-item img { width: 22px; height: 22px; }
.ai-more { margin-top: 16px; color: var(--ink-faint); font-size: 14.5px; text-align: center; }
@media (prefers-reduced-motion: reduce) {
  .ticker-track { animation: none; flex-wrap: wrap; justify-content: center; width: auto; }
  .ticker { mask-image: none; -webkit-mask-image: none; }
  .ticker-track .tick-item:nth-child(n+11) { display: none; }
}

.hardware-strip { margin-top: clamp(40px, 5vw, 60px); }
#hardwareInk {
  display: block; width: min(880px, 100%); height: 300px;
  margin: 0 auto;
}
.hardware-caption {
  margin-top: 10px; font-size: 13.5px; color: var(--ink-faint); text-align: center;
}
.wacom-points {
  display: flex; justify-content: center; gap: clamp(36px, 6vw, 84px);
  margin-top: clamp(44px, 6vw, 64px); flex-wrap: wrap;
}
.wacom-points > div { font-size: 15.5px; color: var(--ink-soft); max-width: 16em; text-align: center; }
.wacom-points strong {
  display: block; color: var(--ink); margin-bottom: 8px;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", sans-serif; font-weight: 700; font-size: 18px;
}

/* philosophy */
.philosophy { text-align: center; }
.philosophy .big {
  font-size: clamp(20px, 2vw, 25px); color: var(--ink-soft);
  line-height: 1.65; max-width: 34em; margin: 0 auto;
}
.philosophy .stance { font-size: 15px; color: var(--ink-faint); margin-top: 30px; }

.photo-frame { max-width: 880px; transform: rotate(-0.5deg); }
#showcase .sc-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 0.9s var(--ease); }
#showcase .sc-img:first-child { position: relative; }
#showcase .sc-img.sc-on { opacity: 1; }
#showcaseInk { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.sc-label {
  position: absolute; opacity: 0; transition: opacity 0.4s var(--ease);
  font-size: clamp(15px, 1.8vw, 24px); font-weight: 700; color: #e8352b;
  text-shadow: 0 0 10px rgba(255,255,255,0.85), 0 1px 3px rgba(255,255,255,0.7);
  pointer-events: none; white-space: nowrap;
}
.sc-label.on { opacity: 1; }
.sc-caption { margin-top: 18px; text-align: center; font-size: 14.5px; color: var(--ink-faint); }
.photo-frame img { display: block; width: 100%; height: auto; }
.photo-quote {
  position: absolute; left: 5%; bottom: 6%;
  font-size: clamp(26px, 3.4vw, 46px);
  color: oklch(97% 0.006 85);
  text-shadow: 0 2px 18px oklch(0% 0 0 / 0.55), 0 1px 4px oklch(0% 0 0 / 0.5);
}
.photo-quote .annotate-target { position: relative; display: inline-block; }
.photo-quote canvas { position: absolute; pointer-events: none; }
.tools-line {
  margin-top: clamp(36px, 5vw, 54px);
  font-size: clamp(18px, 1.8vw, 22px);
  color: var(--ink);
  font-weight: 600;
}

/* mega footer wordmark, adobe-style */
.mega-mark {
  padding: clamp(40px, 6vw, 90px) 0 0;
  overflow: hidden;
  text-align: center;
}
.mega-stylo {
  font-family: "Slaro", Georgia, serif;
  font-size: 23vw; line-height: 0.92;
  color: var(--ivory);
  letter-spacing: 0.01em;
  transform: translateY(4%);
}
.mega-stylo .annotate-target { position: relative; display: inline-block; }
.mega-stylo canvas { position: absolute; pointer-events: none; }

/* personas: photo cards — however you use your pen */
.personas {
  background: var(--paper-deep);
  border-top: 1px solid oklch(25% 0.013 60 / 0.07);
  border-bottom: 1px solid oklch(25% 0.013 60 / 0.07);
}
.personas .section-sub { max-width: 32em; }
.persona-grid {
  margin-top: clamp(44px, 6vw, 68px);
  display: grid; grid-template-columns: repeat(5, 1fr);
  gap: clamp(16px, 2vw, 26px);
}
.persona-photo {
  border-radius: 18px; overflow: hidden;
  aspect-ratio: 3 / 4;
  box-shadow:
    0 2px 6px oklch(25% 0.013 60 / 0.1),
    0 16px 40px oklch(25% 0.013 60 / 0.16);
}
.persona:nth-child(odd) .persona-photo { transform: rotate(-0.6deg); }
.persona:nth-child(even) .persona-photo { transform: rotate(0.55deg); }
.persona-photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.persona h3 {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", sans-serif;
  font-size: 17.5px; font-weight: 700; letter-spacing: -0.01em;
  margin: 16px 0 6px;
}
.persona p { font-size: 14.5px; color: var(--ink-soft); line-height: 1.5; }

/* changelog: a ruled ledger */
.ledger { max-width: 860px; }
.ledger-row {
  display: grid; grid-template-columns: 110px 1fr;
  gap: clamp(20px, 3vw, 44px);
  padding: 26px 0;
  border-top: 1px solid oklch(25% 0.013 60 / 0.14);
}
.ledger-row:last-child { border-bottom: 1px solid oklch(25% 0.013 60 / 0.14); }
.ledger-v { position: relative; }
.ledger-v .check { display: block; width: 52px; height: 40px; }
.ledger-note { margin-top: 26px; font-size: 16px; color: var(--ink-soft); max-width: 46em; }
.ledger-row h3 { font-size: 18px; font-weight: 700; margin-bottom: 6px; }
.ledger-row p { font-size: 15.5px; color: var(--ink-soft); max-width: 54em; }

/* faq */
.faq { max-width: 780px; margin: 0 auto; }
.faq details { border-top: 1px solid oklch(25% 0.013 60 / 0.14); }
.faq details:last-child { border-bottom: 1px solid oklch(25% 0.013 60 / 0.14); }
.faq summary {
  cursor: pointer; font-size: 18px; font-weight: 600;
  list-style: none; display: flex; justify-content: space-between; align-items: center;
  padding: 24px 0;
  transition: color 0.2s var(--ease);
}
.faq summary:hover { color: var(--red-deep); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; font-size: 25px; font-weight: 300; color: var(--ink-faint);
  transition: transform 0.35s var(--ease);
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 24px; color: var(--ink-soft); font-size: 16px; max-width: 44em; }

/* closer: night again */
.closer { text-align: center; padding: clamp(110px, 15vw, 190px) 0; position: relative; overflow: hidden; }
.closer-video {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; opacity: 0.5; pointer-events: none;
}
.closer::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(ellipse at center, oklch(18% 0.01 60 / 0.25) 0%, oklch(18% 0.01 60 / 0.75) 100%);
  pointer-events: none;
}
.closer .wrap { position: relative; z-index: 2; }
@media (prefers-reduced-motion: reduce) {
  .closer-video { display: none; }
}
.closer h2 {
  font-size: clamp(50px, 7vw, 104px); font-weight: 700; line-height: 1.02;
  margin-bottom: 40px; color: var(--ivory);
  position: relative; display: inline-block;
}
.closer h2 canvas { position: absolute; pointer-events: none; }
.closer .btn { font-size: 16.5px; padding: 16px 34px; }
.closer-fine { margin-top: 24px; font-size: 14.5px; color: var(--ivory-dim); }

footer {
  background: var(--night);
  border-top: 1px solid oklch(95% 0.008 85 / 0.12);
  padding: 36px 0 46px;
  font-size: 13.5px; color: var(--ivory-dim);
}
.foot-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
footer a { color: var(--ivory-dim); text-decoration: none; transition: color 0.2s; }
footer a:hover { color: var(--ivory); }

/* reveal on scroll */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

@media (max-width: 920px) {
  .nav-inner { grid-template-columns: auto 1fr; height: 80px; }
  .wordmark { font-size: 40px; justify-self: start; }
  .nav-inner .btn { justify-self: end; }
  .persona-grid {
    display: flex; overflow-x: auto; -webkit-overflow-scrolling: touch;
    scroll-snap-type: x proximity;
    gap: 18px;
    margin-inline: -24px; padding-inline: 24px; padding-bottom: 10px;
  }
  .persona { flex: 0 0 236px; scroll-snap-align: center; }
  .dot { width: 27px; height: 27px; }
  .tool-btn { padding: 8px 12px; }
  .sheet-head { flex-wrap: wrap; }
  .pad-tools { flex-wrap: wrap; row-gap: 8px; max-width: 100%; }
  .steps, .margin-list { grid-template-columns: 1fr; gap: 40px; }
  .engine-grid { grid-template-columns: 1fr; gap: 44px; }
  .demo-grid { grid-template-columns: repeat(2, 1fr); }
  .nav-note { display: none; }
  #ctaArrow { display: none; }
  .demo-stage { transform: none; }
}
