/* ──────────────────────────────────────────────────────────────
   Slides — marketing site
   Four colors: cream canvas, blue accent, navy secondary, black.
   White for text on color. Exceptions (by design): FAQ icons,
   the small bento tiles and the "typical Tuesday" source pills.
   ────────────────────────────────────────────────────────────── */

:root {
  color-scheme: light;
  --cream: #FFF8EC;
  --blue: #4B69FF;
  --navy: #031067;
  --black: #0D0D0D;
  --white: #FFFFFF;

  /* Tints of the palette, never new hues */
  --blue-tint: rgba(75, 105, 255, .12);
  --blue-wash: #E8ECFF;
  --muted: rgba(13, 13, 13, .62);
  --soft: rgba(13, 13, 13, .76);
  --line: rgba(13, 13, 13, .12);

  /* Legacy accents kept only for the exceptions listed above */
  --x-sun: #FFD449;
  --x-sun-soft: #FFEBA3;
  --x-sky: #C9D6FF;
  --x-sage: #6B9268;
  --x-sage-soft: #E3ECDC;
  --x-tomato: #F25C3B;
  --x-tomato-soft: #FFD9CC;

  --serif: "Fraunces", "Iowan Old Style", Georgia, serif;
  --sans: "Geist", ui-sans-serif, system-ui, -apple-system, sans-serif;
  --mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --container: 1240px;
  --ease-out: cubic-bezier(.2, .8, .2, 1);
  --ease-spring: cubic-bezier(.34, 1.56, .64, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--black);
  font: 400 17px/1.55 var(--sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-synthesis: none;
}
main { overflow-x: clip; }
img, svg { display: block; max-width: 100%; }
h1, h2, h3, h4, p, ol, ul, figure { margin: 0; }
ol, ul { padding: 0; list-style: none; }
a { color: inherit; }
button { font: inherit; color: inherit; }
em, i, cite { font-style: normal; }
code { font-family: var(--mono); font-size: .86em; }
::selection { background: var(--blue); color: var(--white); }

:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 8px; }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  padding: 10px 16px; border-radius: 999px; background: var(--black); color: var(--white);
  text-decoration: none; font-weight: 600; transition: top .2s;
}
.skip-link:focus { top: 16px; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 24px; }
.mono { font-family: var(--mono); }

/* ── Type ──────────────────────────────────────────────────── */
.display {
  font-family: var(--serif);
  font-weight: 560;
  font-variation-settings: "SOFT" 100, "WONK" 0;
  font-optical-sizing: auto;
  letter-spacing: -.035em;
  line-height: .98;
  text-wrap: balance;
}
.display em { color: var(--blue); }
.h2 { font-size: clamp(2.6rem, 5.6vw, 4.9rem); }
.lead { font-size: clamp(1.06rem, 1.4vw, 1.22rem); line-height: 1.55; color: var(--soft); text-wrap: pretty; }

/* ── Buttons & pills ───────────────────────────────────────── */
.btn {
  --lift: var(--black);
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 56px; padding: 0 28px;
  border: 2px solid var(--black); border-radius: 999px;
  font: 600 1.16rem/1 var(--serif); font-variation-settings: "SOFT" 100;
  letter-spacing: -.01em;
  color: var(--black); text-decoration: none; white-space: nowrap; cursor: pointer;
  --depth: 5px;
  transform: translateY(calc(var(--depth) * -1));
  box-shadow: 0 var(--depth) 0 var(--lift);
  transition: transform .22s var(--ease-spring), box-shadow .22s var(--ease-spring), background-color .2s;
}
.btn:hover { transform: translateY(calc(var(--depth) * -1.6)); box-shadow: 0 calc(var(--depth) * 1.6) 0 var(--lift); }
.btn:active { transform: translateY(0); box-shadow: 0 0 0 var(--lift); transition-duration: .08s; }
.btn-blue { background: var(--blue); color: var(--white); }
.btn-ghost { background: transparent; }
.btn-ghost:hover { background: var(--white); }
.btn-black { background: var(--black); color: var(--white); --lift: var(--navy); }
.plan-pro .btn-black { --lift: var(--navy); }
.btn-white { background: var(--white); color: var(--black); }
.btn-sm { height: 42px; padding: 0 18px; font-size: 1rem; --depth: 3px; }
.btn-lg { height: 66px; padding: 0 38px; font-size: 1.28rem; }
.btn-block { width: 100%; }

.pill {
  display: inline-flex; align-items: center;
  padding: 7px 18px 8px; border-radius: 999px;
  font: 600 1.05rem/1.1 var(--serif); font-variation-settings: "SOFT" 100;
}
.pill-blue { background: var(--blue); color: var(--white); }
.pill-navy { background: var(--navy); color: var(--white); }
.pill-white { background: var(--white); color: var(--navy); padding: 4px 12px 5px; font-size: .9rem; }

/* ── Mascots (kept outside the hero) ───────────────────────── */
.mascot .eye { transform-box: fill-box; transform-origin: center; transition: transform .09s ease-in; }
.mascot.is-blinking .eye { transform: scaleY(.1); }
.mascot .pupil { transition: transform .18s var(--ease-out); }
.inline-mascot { display: inline-block; width: .9em; height: .9em; vertical-align: -.12em; }

/* Grain overlay for coloured panels */
.grain { position: relative; isolation: isolate; overflow: hidden; }
.grain::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 .9 -.3'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  opacity: .22; mix-blend-mode: multiply;
}

/* ── Navigation ────────────────────────────────────────────── */
.nav { position: sticky; top: 0; z-index: 50; }
/* Progressive blur: two stacked layers, each masked to fade out further down. */
.nav::before, .nav::after {
  content: ""; position: absolute; left: 0; right: 0; top: 0; pointer-events: none; z-index: -1;
  opacity: 0; transition: opacity .3s;
}
.nav::before {
  height: 112px;
  backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
  background: linear-gradient(to bottom, rgba(255, 248, 236, .45), rgba(255, 248, 236, 0));
  mask-image: linear-gradient(to bottom, #000 45%, transparent);
  -webkit-mask-image: linear-gradient(to bottom, #000 45%, transparent);
}
.nav::after {
  height: 76px;
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  mask-image: linear-gradient(to bottom, #000 35%, transparent);
  -webkit-mask-image: linear-gradient(to bottom, #000 35%, transparent);
}
.nav.is-scrolled::before, .nav.is-scrolled::after { opacity: 1; }
.nav-inner {
  max-width: var(--container); margin-inline: auto; padding-inline: 24px;
  height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.logo {
  display: inline-flex; align-items: center; gap: 10px;
  font: 650 1.3rem/1 var(--serif); font-variation-settings: "SOFT" 100; letter-spacing: -.025em;
  text-decoration: none;
}
.logo-wordmark { width: 112px; height: auto; }
.nav-links { display: flex; gap: 4px; }
.nav-links a, .nav-signin {
  padding: 8px 14px; border-radius: 999px;
  font-size: .95rem; font-weight: 500; text-decoration: none; color: var(--soft);
  transition: background-color .2s, color .2s;
}
.nav-links a:hover, .nav-signin:hover { background: rgba(13, 13, 13, .06); color: var(--black); }
.nav-actions { display: flex; align-items: center; gap: 6px; }

/* ── Hero ──────────────────────────────────────────────────── */
.hero { position: relative; padding: 48px 0 24px; text-align: center; }
.hero-copy { position: relative; z-index: 2; }

.announce {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 5px 14px 5px 5px; border-radius: 999px;
  background: var(--white); border: 1px solid var(--line);
  box-shadow: 0 2px 0 rgba(13, 13, 13, .05);
  font-size: .9rem; font-weight: 500; text-decoration: none; color: var(--soft);
  transition: border-color .2s, transform .2s var(--ease-out);
}
.announce:hover { border-color: var(--black); transform: translateY(-1px); }
.announce svg { width: 14px; height: 14px; }
.announce-tag {
  padding: 3px 10px; border-radius: 999px; background: var(--navy); color: var(--white);
  font: 600 .72rem/1.4 var(--mono); letter-spacing: .06em; text-transform: uppercase;
}

.hero-title { font-size: clamp(2.7rem, 7.2vw, 6.2rem); margin: 28px auto 0; line-height: 1.04; }
.hero-title .line { display: block; white-space: nowrap; }

/* Hand-drawn sketches set inline with the headline */
.sketch {
  display: inline-block; height: .98em; width: auto;
  vertical-align: -.16em; margin-inline: .14em;
}
.sketch svg { height: 100%; width: auto; overflow: visible; }
.sk-notes { aspect-ratio: 104 / 100; rotate: -4deg; }
.sk-carousel { aspect-ratio: 113 / 82; height: .86em; vertical-align: -.08em; }
.sk-swipe { aspect-ratio: 95 / 104; }

.sk-sheet { transform-box: fill-box; transform-origin: 50% 100%; animation: rustle 5s ease-in-out infinite; }
@keyframes rustle { 0%, 100% { rotate: 0deg; } 50% { rotate: 3deg; } }
.sk-scribble { stroke-dasharray: 90; stroke-dashoffset: 90; animation: scribble 4.5s ease-in-out infinite; }
@keyframes scribble { 0% { stroke-dashoffset: 90; } 30%, 80% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: -90; } }

.sk-card { transform-box: fill-box; transform-origin: 50% 100%; }
/* The stack stays tight and only fans out while the carousel is hovered */
.sk-card { transition: translate .5s var(--ease-out), rotate .5s var(--ease-out); }
.sk-carousel:hover .sk-card-l { translate: -14px 2px; rotate: -8deg; }
.sk-carousel:hover .sk-card-r { translate: 14px 2px; rotate: 8deg; }
.sk-hand { transform-box: view-box; transform-origin: 60px 100px; animation: swipe-hand 2.4s cubic-bezier(.45, 0, .2, 1) infinite; }
@keyframes swipe-hand {
  0%, 12% { translate: -2px 0; rotate: -16deg; }
  58%, 78% { translate: 2px -2px; rotate: 16deg; }
  100% { translate: -2px 0; rotate: -16deg; }
}
.sk-trail { animation: trail 2.4s cubic-bezier(.45, 0, .2, 1) infinite; }
@keyframes trail { 0%, 12% { translate: -3px 0; opacity: .35; } 58%, 78% { translate: 4px 0; opacity: 1; } 100% { translate: -3px 0; opacity: .35; } }
.sk-arrow, .sk-arrow-head { animation: nudge-arrow 2.4s cubic-bezier(.45, 0, .2, 1) infinite; }
@keyframes nudge-arrow { 0%, 12% { translate: -1px 0; } 58%, 78% { translate: 2px 0; } 100% { translate: -1px 0; } }

.swipe { position: relative; display: inline-block; }
.swipe svg {
  position: absolute; left: -2%; bottom: -.02em; z-index: -1;
  width: 104%; height: .26em; overflow: visible; opacity: .9;
}

.hero-sub { max-width: 620px; margin: 30px auto 0; font-size: clamp(1.08rem, 1.5vw, 1.28rem); line-height: 1.5; color: var(--soft); text-wrap: balance; }
.hero-ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 36px; }
.hero-micro { margin-top: 18px; font: 500 .74rem/1.4 var(--mono); letter-spacing: .07em; text-transform: uppercase; color: var(--muted); text-wrap: balance; }

.hero-deco { position: absolute; z-index: 1; pointer-events: none; }
.hero-deco-star { width: 50px; top: 96px; left: max(24px, calc(50% - 640px)); rotate: -12deg; animation: spin 18s linear infinite; }
.hero-deco-squiggle { width: 104px; top: 168px; right: max(24px, calc(50% - 630px)); rotate: 8deg; }
.hero-deco-dot { width: 30px; top: 330px; left: max(56px, calc(50% - 560px)); }
@keyframes spin { to { rotate: 348deg; } }

/* Style tabs */
.demo { margin-top: 64px; }
.style-tabs {
  position: relative; display: inline-grid; grid-template-columns: 1fr 1fr;
  padding: 5px; border-radius: 999px; background: var(--white); border: 1px solid var(--line);
  box-shadow: 0 2px 0 rgba(13, 13, 13, .05);
}
.style-tabs button {
  position: relative; z-index: 1;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-width: 132px; height: 46px; padding: 0 26px; border: 0; border-radius: 999px; background: none; cursor: pointer;
  font-weight: 600; font-size: .98rem; color: var(--soft); white-space: nowrap;
  transition: color .3s;
}
.style-tabs button[aria-selected="true"] { color: var(--white); }
.style-tabs button:focus-visible { outline-offset: -3px; border-radius: 999px; }
.tab-thumb {
  position: absolute; top: 5px; bottom: 5px; left: 5px; width: calc(50% - 5px);
  border-radius: 999px; background: var(--black);
  transition: translate .45s var(--ease-spring);
}
.style-tabs[data-active="1"] .tab-thumb { translate: 100% 0; background: var(--blue); }

/* Stage: note → carousel */
.stage {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 290px 1fr; align-items: center; gap: 40px;
  margin-top: 44px;
}
.stage[hidden] { display: none; }

.note {
  position: relative; justify-self: start;
  width: 100%; padding: 20px 22px 24px;
  border-radius: 6px 6px 22px 6px; rotate: -4deg; text-align: left;
  background: linear-gradient(90deg, transparent 30px, rgba(75, 105, 255, .35) 30px 31.5px, transparent 31.5px), var(--white);
  box-shadow: 0 1px 0 rgba(13, 13, 13, .06), 0 24px 40px -22px rgba(13, 13, 13, .45);
}
.note-tape {
  position: absolute; top: -13px; left: 50%; width: 92px; height: 26px;
  translate: -50% 0; rotate: 4deg;
  background: rgba(75, 105, 255, .55);
  clip-path: polygon(3% 0, 97% 4%, 100% 100%, 0 96%);
}
.note-head {
  display: flex; align-items: center; gap: 8px; margin-bottom: 12px; padding-left: 18px;
  font: 500 .7rem/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted);
}
.note-head span { width: 8px; height: 8px; border-radius: 50%; background: var(--blue); }
.note pre {
  margin: 0; padding-left: 18px; font: 400 .8rem/1.65 var(--mono); color: var(--black); white-space: pre-wrap;
  /* Ruled lines that sit under every text line */
  background: repeating-linear-gradient(180deg, transparent 0 calc(1.65em - 1px), rgba(3, 16, 103, .1) calc(1.65em - 1px) 1.65em);
}
.note pre b { font-weight: 600; color: var(--navy); }
.note pre i { font-weight: 600; color: var(--blue); }
.caret { display: inline-block; width: 2px; height: 1.1em; margin-left: 2px; vertical-align: -.2em; background: var(--black); animation: caret 1.05s steps(1) infinite; }
@keyframes caret { 50% { opacity: 0; } }

.stage-arrow { position: absolute; left: 238px; top: 6%; width: 150px; z-index: 3; rotate: 6deg; }

.fan {
  --w: clamp(150px, 16.5vw, 214px);
  position: relative; height: calc(var(--w) * 1.25 + 96px);
}
.slide {
  position: absolute; top: 28px; left: 50%;
  width: var(--w); aspect-ratio: 4 / 5; margin-left: calc(var(--w) / -2);
  border-radius: 14px; overflow: hidden;
  container-type: inline-size;
  transform-origin: 50% 130%;
  box-shadow: 0 1px 0 rgba(13, 13, 13, .08), 0 22px 38px -20px rgba(13, 13, 13, .5);
  translate: 0 0; rotate: 0deg;
  transition: translate 1s var(--ease-out), rotate 1s var(--ease-out), transform .35s var(--ease-out);
  text-align: left;
}
.fan.is-ready .slide {
  translate: calc(var(--i) * var(--w) * .7) calc(var(--i) * var(--i) * 10px);
  rotate: calc(var(--i) * 5deg);
}
.fan.is-ready:hover .slide {
  translate: calc(var(--i) * var(--w) * .8) calc(var(--i) * var(--i) * 12px);
  rotate: calc(var(--i) * 6deg);
}
.fan .slide:hover { transform: translateY(-16px); }
.s-inner { position: absolute; inset: 0; display: flex; flex-direction: column; padding: 9cqw; }

/* Playful slides (B2C): soft serif, bold blocks */
.s-eyebrow { font: 600 4.6cqw/1.2 var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.s-title {
  font: 600 13cqw/1.02 var(--serif); font-variation-settings: "SOFT" 100;
  letter-spacing: -.035em; text-wrap: balance;
}
.s-brand { display: inline-flex; align-items: center; gap: 2.4cqw; font: 600 4.8cqw/1 var(--sans); letter-spacing: -.01em; }
.s-brand i { width: 5cqw; height: 5cqw; border-radius: 50%; background: currentColor; }

.s-cover { background: var(--blue); color: var(--white); }
.s-cover::after {
  content: ""; position: absolute; right: -14cqw; top: -14cqw;
  width: 46cqw; height: 46cqw; border-radius: 50%; background: var(--navy);
}
.s-cover .s-eyebrow { position: relative; z-index: 1; opacity: .9; }
.s-cover .s-title { margin-top: 14cqw; font-size: 14.5cqw; }
.s-foot { display: flex; justify-content: space-between; align-items: center; margin-top: auto; }
.s-swipe { display: inline-flex; align-items: center; gap: 1.5cqw; font: 600 4.6cqw/1 var(--sans); }
.s-swipe svg { width: 5.5cqw; height: 5.5cqw; }

.s-stat { background: var(--navy); color: var(--white); }
.s-stat .s-eyebrow { color: var(--blue-wash); opacity: .8; }
.s-stat .s-big { margin-top: 6cqw; font: 700 50cqw/.86 var(--serif); font-variation-settings: "SOFT" 100; letter-spacing: -.06em; color: var(--cream); }
.s-stat p { margin-top: 4cqw; font: 500 7cqw/1.25 var(--sans); letter-spacing: -.02em; }
.s-stat .s-brand { margin-top: auto; }

.s-list { background: var(--white); color: var(--black); }
.s-list .s-eyebrow { color: var(--blue); }
.s-list ol { margin-top: 7cqw; display: grid; gap: 4cqw; }
.s-list li {
  display: flex; align-items: baseline; gap: 3.5cqw; padding-bottom: 4cqw;
  border-bottom: .6cqw dashed rgba(13, 13, 13, .18);
  font: 600 8.6cqw/1.1 var(--serif); font-variation-settings: "SOFT" 100; letter-spacing: -.03em;
}
.s-list li b { font: 600 4.4cqw/1 var(--mono); color: var(--blue); }
.s-list .s-brand { margin-top: auto; }

.s-quote { background: var(--black); color: var(--white); }
.s-quote .s-mark { font: 700 40cqw/.6 var(--serif); color: var(--blue); height: 18cqw; margin-top: 4cqw; }
.s-quote .s-title { margin-top: 2cqw; font-size: 13.5cqw; font-weight: 520; }
.s-quote .s-eyebrow { margin-top: auto; opacity: .7; }

.s-cta { background: var(--cream); color: var(--navy); box-shadow: inset 0 0 0 .8cqw var(--navy), 0 22px 38px -20px rgba(13, 13, 13, .5); }
.s-bookmark { width: 15cqw; height: 15cqw; }
.s-cta .s-title { margin-top: 8cqw; font-size: 12.5cqw; }
.s-cta .s-brand { margin-top: auto; color: var(--blue); }

/* Professional slides (B2B / LinkedIn): sans, grids, data */
.fan-pro .slide { border-radius: 10px; }
.p-kicker, .p-tag, .p-page, .p-cite {
  font: 600 4.2cqw/1.2 var(--mono); letter-spacing: .08em; text-transform: uppercase;
}
.p-title { font: 650 11.5cqw/1.06 var(--sans); letter-spacing: -.045em; text-wrap: balance; }
.p-page { margin-top: auto; opacity: .55; }

.p-cover { background: var(--navy); color: var(--white); }
.p-cover::before {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(rgba(255, 255, 255, .06) 1px, transparent 1px) 0 0 / 100% 10cqw,
    linear-gradient(90deg, rgba(255, 255, 255, .06) 1px, transparent 1px) 0 0 / 10cqw 100%;
}
.p-cover .s-inner { z-index: 1; }
.p-tag { align-self: flex-start; padding: 1.6cqw 3cqw; border-radius: 99px; background: var(--blue); color: var(--white); }
.p-cover .p-title { margin-top: 9cqw; }
.p-author { display: flex; align-items: center; gap: 3cqw; margin-top: 7cqw; }
.p-author b, .p-author small { display: block; }
.p-author b { font: 650 4.6cqw/1.2 var(--sans); }
.p-author small { font: 500 3.8cqw/1.3 var(--sans); opacity: .7; }
.p-avatar {
  display: grid; place-items: center; flex: none; width: 11cqw; height: 11cqw; border-radius: 50%;
  background: var(--cream); color: var(--navy); font: 700 4cqw/1 var(--sans);
}
.p-foot { display: flex; justify-content: space-between; align-items: center; margin-top: auto; font: 600 4.2cqw/1 var(--mono); opacity: .8; }
.p-next { display: grid; place-items: center; width: 9cqw; height: 9cqw; border-radius: 50%; background: var(--white); color: var(--navy); }
.p-next svg { width: 5cqw; }

.p-stat { background: var(--white); color: var(--navy); }
.p-stat .p-kicker { color: var(--blue); }
.p-big { margin-top: 5cqw; font: 700 27cqw/.95 var(--sans); letter-spacing: -.06em; }
.p-bars { display: flex; align-items: flex-end; gap: 5cqw; height: 26cqw; margin-top: 6cqw; padding-bottom: 6cqw; border-bottom: .5cqw solid rgba(3, 16, 103, .2); }
.p-bars span { position: relative; width: 22cqw; height: var(--h); border-radius: 2cqw 2cqw 0 0; background: rgba(3, 16, 103, .18); }
.p-bars span:last-child { background: var(--blue); }
.p-bars small { position: absolute; bottom: -6cqw; left: 0; font: 600 3.6cqw/1 var(--mono); text-transform: uppercase; color: var(--muted); }

.p-list { background: var(--cream); color: var(--navy); }
.p-list .p-kicker { color: var(--blue); }
.p-checks { display: grid; gap: 5cqw; margin-top: 8cqw; }
.p-checks li { display: flex; align-items: center; gap: 3.5cqw; font: 650 7.4cqw/1.1 var(--sans); letter-spacing: -.03em; }
.p-checks li::before {
  content: ""; flex: none; width: 7cqw; height: 7cqw; border-radius: 1.6cqw; background: var(--blue)
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><path d='M4 8.5l2.6 2.6L12 5.5' fill='none' stroke='white' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/></svg>") center / 80% no-repeat;
}

.p-quote { background: var(--white); color: var(--black); }
.p-mark { width: 13cqw; margin-top: 2cqw; }
.p-quote .p-title { margin-top: 6cqw; font-size: 10.5cqw; }
.p-cite { margin-top: 5cqw; color: var(--blue); letter-spacing: .04em; }

.p-cta { background: var(--blue); color: var(--white); }
.p-cta .p-title { margin-top: 4cqw; }
.p-sub { margin-top: 5cqw; font: 500 5.4cqw/1.35 var(--sans); opacity: .9; }
.p-follow {
  display: inline-flex; align-items: center; gap: 2cqw; align-self: flex-start; margin-top: auto;
  padding: 2.6cqw 4cqw; border-radius: 99px; background: var(--white); color: var(--navy); font: 650 4.4cqw/1 var(--sans);
}
.p-follow svg { width: 4.4cqw; }

/* ── Sections & panels ─────────────────────────────────────── */
.section { padding: 64px 16px; }
.panel {
  max-width: 1408px; margin-inline: auto;
  border-radius: 44px;
  padding: clamp(48px, 7vw, 104px) clamp(22px, 6vw, 96px);
}
.panel-black { background: var(--black); color: var(--white); }
.panel-black.grain::before { mix-blend-mode: screen; opacity: .12; filter: invert(1); }
.section-head { display: grid; justify-items: center; gap: 22px; text-align: center; max-width: 760px; margin-inline: auto; }
.section-head .lead { max-width: 560px; }

/* ── Problem ───────────────────────────────────────────────── */
.problem { padding-top: 72px; }
.problem-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.problem-intro { display: grid; gap: 26px; justify-items: start; }
.problem .lead { color: rgba(255, 255, 255, .72); max-width: 31em; }
.problem .lead code { padding: 2px 7px; border-radius: 6px; background: rgba(255, 255, 255, .1); color: var(--white); }
.stressed { width: 132px; margin-top: 4px; animation: jitter 3.2s ease-in-out infinite; }
@keyframes jitter { 0%, 88%, 100% { rotate: 0deg; } 90% { rotate: -4deg; } 93% { rotate: 4deg; } 96% { rotate: -2deg; } }

.tuesday-label { margin-bottom: 18px; font-size: .74rem; letter-spacing: .08em; text-transform: uppercase; color: rgba(255, 255, 255, .55); }
.timeline { display: grid; gap: 12px; }
.timeline li {
  display: grid; grid-template-columns: auto auto 1fr; align-items: center; gap: 12px;
  padding: 14px 18px; border-radius: 18px;
  background: var(--white); color: var(--black);
  rotate: var(--r);
  box-shadow: 0 3px 0 rgba(0, 0, 0, .35);
}
.timeline li:nth-child(even) { margin-left: 28px; margin-right: -12px; }
.timeline time { font-size: .8rem; color: var(--muted); }
.timeline p { font-weight: 500; line-height: 1.35; }
.timeline .dim { display: block; font: 400 .78rem/1.4 var(--mono); color: var(--muted); }
/* Source pills keep their original colors on purpose */
.src { padding: 4px 9px; border-radius: 999px; font: 600 .66rem/1.2 var(--mono); letter-spacing: .06em; text-transform: uppercase; }
.src-sun { background: var(--x-sun-soft); color: #6B4E00; }
.src-blue { background: var(--x-sky); color: #1C2E99; }
.src-sage { background: var(--x-sage-soft); color: #2F5D3A; }
.src-pink { background: #FFE1E7; color: #9A2E4C; }
.src-ink { background: #1C1915; color: #FFF8EC; }
.timeline .is-hot { background: var(--blue); color: var(--white); }
.timeline .is-hot time { color: rgba(255, 255, 255, .75); }
.timeline .is-hot.is-in { animation: nudge 2.8s 1.2s ease-in-out infinite; }
@keyframes nudge { 0%, 80%, 100% { translate: 0 0; } 84% { translate: -5px 0; } 88% { translate: 5px 0; } 92% { translate: -3px 0; } }

.problem-outro { margin-top: clamp(56px, 8vw, 88px); text-align: center; font-size: clamp(1.9rem, 3.6vw, 3rem); line-height: 1.08; }
.problem-outro span { color: var(--blue); }

/* ── How it works ──────────────────────────────────────────── */
.how { padding-top: 120px; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(28px, 4vw, 56px); margin-top: 72px; text-align: center; }
.step { display: flex; flex-direction: column; align-items: center; list-style: none; }
.step-art { display: grid; place-items: center; width: 100%; height: 120px; }
.step-art svg { width: min(100%, 110px); height: auto; overflow: visible; }
.step-copy { display: grid; justify-items: center; max-width: 320px; margin-top: 12px; }
.step h3 { margin-top: 18px; font: 600 1.85rem/1.05 var(--serif); font-variation-settings: "SOFT" 100; letter-spacing: -.03em; text-wrap: balance; }
.step p { margin-top: 12px; color: var(--soft); text-wrap: pretty; }
.step p code { padding: 1px 6px; border-radius: 6px; background: var(--blue-tint); color: var(--navy); font-weight: 600; }

/* Step illustrations: hand-drawn like the hero, looping. Base styles are the resting drawing,
   so reduced motion (see the media query at the end) shows a complete picture. */
.paint-stroke { stroke-dasharray: 100; stroke-dashoffset: 0; animation: paint 4s ease-in-out infinite both; }
@keyframes paint { 0% { stroke-dashoffset: 100; } 35%, 80% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: -100; } }
.paint-dot { transform-box: fill-box; transform-origin: center; animation: dab 4s var(--ease-spring) infinite both; }
.paint-dot-2 { animation-delay: .3s; }
.paint-dot-3 { animation-delay: .6s; }
.paint-dot-4 { animation-delay: .9s; }
@keyframes dab { 0% { scale: 0; } 10% { scale: 1.2; } 16%, 82% { scale: 1; } 92%, 100% { scale: 0; } }

.note-line { stroke-dasharray: 100; stroke-dashoffset: 0; animation: write 6s ease-out infinite both; }
.note-line-2 { animation-delay: .6s; }
.note-line-3 { animation-delay: 1.2s; }
.note-line-4 { animation-delay: 1.8s; }
@keyframes write { 0% { stroke-dashoffset: 100; } 14% { stroke-dashoffset: 0; } 84% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: 100; } }
.note-star { transform-box: fill-box; transform-origin: center; animation: star-pop 6s var(--ease-spring) infinite both; }
@keyframes star-pop { 0%, 50% { scale: 0; rotate: 0deg; } 60% { scale: 1.2; rotate: 25deg; } 70%, 88% { scale: 1; rotate: 0deg; } 96%, 100% { scale: 0; } }

.fly { transform-box: fill-box; transform-origin: center; animation: 4s ease-in-out infinite both; }
.fly-left { animation-name: fly-left; }
.fly-right { animation-name: fly-right; animation-delay: .3s; }
.fly-low { animation-name: fly-low; animation-delay: .6s; }
@keyframes fly-left { 0% { translate: 0 0; opacity: 0; scale: .6; } 12%, 46% { translate: 0 0; opacity: 1; scale: 1; } 68%, 100% { translate: 40px 14px; opacity: 0; scale: .4; } }
@keyframes fly-right { 0% { translate: 0 0; opacity: 0; scale: .6; } 12%, 46% { translate: 0 0; opacity: 1; scale: 1; } 68%, 100% { translate: -38px 16px; opacity: 0; scale: .4; } }
@keyframes fly-low { 0% { translate: 0 0; opacity: 0; scale: .6; } 12%, 46% { translate: 0 0; opacity: 1; scale: 1; } 68%, 100% { translate: 30px -20px; opacity: 0; scale: .4; } }
.folder-archive { transform-box: fill-box; transform-origin: center; animation: zip-bump 4s ease-out infinite both; }
@keyframes zip-bump { 0%, 66%, 100% { scale: 1; } 72% { scale: 1.06; } 80% { scale: .98; } 86% { scale: 1; } }
.zipper { stroke-dashoffset: 0; animation: zipper-run .8s linear infinite; }
@keyframes zipper-run { to { stroke-dashoffset: -10px; } }

/* Feature bento — the small tiles keep their original accent colors on purpose */
.features { margin-top: clamp(80px, 10vw, 128px); }
.features-title { max-width: 620px; margin: 0 auto 40px; text-align: center; font-size: clamp(2rem, 3.6vw, 3rem); line-height: 1.04; }
.bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.tile {
  padding: 14px 14px 24px; border-radius: 30px;
  background: var(--white); border: 1px solid var(--line);
  box-shadow: 0 6px 0 rgba(13, 13, 13, .05);
}
.tile h4 { margin: 20px 12px 0; font: 600 1.45rem/1.1 var(--serif); font-variation-settings: "SOFT" 100; letter-spacing: -.025em; }
.tile p { margin: 8px 12px 0; color: var(--soft); font-size: .98rem; }
.tile > div:first-child:not(.tile-copy) {
  height: 170px; border-radius: 20px;
  display: flex; align-items: center; justify-content: center; gap: 14px;
}

.tile-span { grid-column: span 2; display: grid; grid-template-columns: .9fr 1.1fr; gap: 12px; padding: 14px; background: var(--blue); color: var(--white); border-color: var(--blue); }
.tile-copy { padding: 22px 16px 16px 18px; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; }
.tile-span h4 { margin: 18px 0 0; font-size: clamp(1.7rem, 2.6vw, 2.3rem); line-height: 1.02; }
.tile-span p { margin: 12px 0 0; color: rgba(255, 255, 255, .86); }
.span-art { display: flex; gap: 8px; align-items: center; padding: 20px; border-radius: 20px; background: rgba(3, 16, 103, .28); }
.span-art i {
  flex: 1; aspect-ratio: 4 / 5; border-radius: 12px;
  background: url("assets/span-landscape.svg") 0 0 / 300% 100% no-repeat;
  box-shadow: 0 16px 28px -18px rgba(3, 16, 103, .9);
  transition: translate .5s var(--ease-out);
}
.span-art i:nth-child(2) { background-position: 50% 0; }
.span-art i:nth-child(3) { background-position: 100% 0; }
.tile-span:hover .span-art i:nth-child(1) { translate: -6px 0; }
.tile-span:hover .span-art i:nth-child(3) { translate: 6px 0; }

.formats-art { background: var(--x-sun-soft); align-items: flex-end !important; padding-bottom: 26px; }
.fmt { display: grid; place-items: center; align-content: center; gap: 2px; border: 2px dashed #1C1915; border-radius: 10px; background: var(--white); }
.fmt span { font: 650 1.2rem/1 var(--serif); }
.fmt small { font: 500 .62rem/1 var(--mono); text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.fmt-45 { width: 92px; aspect-ratio: 4 / 5; }
.fmt-916 { width: 68px; aspect-ratio: 9 / 16; background: var(--white); }

.present-art { background: var(--x-sky); flex-direction: column; }
.present-art .screen { display: grid; place-items: center; width: 150px; aspect-ratio: 16 / 9; border-radius: 12px; background: #1C1915; box-shadow: 0 16px 24px -16px rgba(28, 25, 21, .7); }
.play { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--blue); color: var(--white); transition: scale .3s var(--ease-spring); }
.play svg { width: 18px; margin-left: 2px; }
.tile:hover .play { scale: 1.15; }
.keys { display: flex; gap: 6px; }
kbd {
  display: inline-grid; place-items: center; min-width: 34px; height: 34px; padding: 0 8px;
  border: 1.5px solid #1C1915; border-bottom-width: 4px; border-radius: 9px;
  background: var(--white); font: 600 .9rem/1 var(--mono);
}
.undo-art { background: var(--x-sage-soft); flex-direction: column; }
.undo-art kbd { min-width: 52px; height: 52px; font-size: 1.3rem; border-radius: 12px; transition: translate .12s, border-bottom-width .12s; }
.tile:hover .undo-art kbd { border-bottom-width: 2px; translate: 0 2px; }
.saved { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; background: var(--white); font: 500 .72rem/1 var(--mono); }
.saved i { width: 8px; height: 8px; border-radius: 50%; background: var(--x-sage); }

.team-art { background: var(--x-tomato-soft); flex-direction: column; }
.avatars { display: flex; align-items: center; }
.avatars img, .avatars .more {
  width: 44px; height: 44px; margin-left: -10px;
  border-radius: 50%; border: 3px solid var(--x-tomato-soft);
}
.avatars img { object-fit: cover; background: var(--white); }
.avatars .more { display: grid; place-items: center; background: var(--x-sky); font: 600 .74rem/1 var(--mono); }
.avatars :first-child { margin-left: 0; }
.folder { display: inline-flex; align-items: center; gap: 8px; padding: 7px 8px 7px 10px; border-radius: 999px; background: var(--white); font-size: .86rem; font-weight: 500; }
.folder svg { width: 20px; }
.folder .count { font: 600 .7rem/1 var(--mono); padding: 4px 7px; border-radius: 999px; background: var(--cream); }

/* ── Pricing ───────────────────────────────────────────────── */
.pricing { padding-top: 112px; }
.billing { display: inline-flex; gap: 4px; padding: 5px; border-radius: 999px; background: var(--white); border: 1px solid var(--line); }
.billing-opt {
  display: inline-flex; align-items: center; gap: 8px;
  height: 40px; padding: 0 18px; border: 0; border-radius: 999px; background: transparent; cursor: pointer;
  font-weight: 500; font-size: .95rem; color: var(--soft);
  transition: background-color .25s, color .25s;
}
.billing-opt[aria-pressed="true"] { background: var(--black); color: var(--white); }
.save { padding: 3px 7px; border-radius: 999px; background: var(--blue-tint); color: var(--blue); font: 600 .68rem/1 var(--mono); }
.billing-opt[aria-pressed="true"] .save { background: var(--blue); color: var(--white); }

.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 64px; align-items: start; }
.plan {
  position: relative; padding: 32px 30px 34px; border-radius: 34px;
  background: var(--white); border: 1px solid var(--line);
  box-shadow: 0 6px 0 rgba(13, 13, 13, .06);
}
.plan h3 { font: 600 1.7rem/1 var(--serif); font-variation-settings: "SOFT" 100; letter-spacing: -.025em; }
.plan-for { margin-top: 8px; color: var(--soft); font-size: .98rem; }
.price { display: flex; align-items: baseline; gap: 10px; margin: 26px 0 24px; }
.amount { font: 600 3.6rem/1 var(--serif); font-variation-settings: "SOFT" 100; letter-spacing: -.045em; transition: opacity .2s; }
.amount.is-swapping { opacity: 0; }
.per { font-size: .9rem; color: var(--muted); line-height: 1.3; }
.yearly-note { display: none; }
.is-yearly .yearly-note { display: inline; }
.perks { display: grid; gap: 12px; margin-top: 28px; padding-top: 24px; border-top: 1px dashed var(--line); }
.perks li { display: flex; align-items: center; gap: 12px; font-weight: 500; }
.perks li::before {
  content: ""; flex: none; width: 22px; height: 22px; border-radius: 50%;
  background: var(--blue-tint) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><path d='M4 8.5l2.6 2.6L12 5.5' fill='none' stroke='%234B69FF' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/></svg>") center / 14px no-repeat;
}
.plan-pro { background: var(--blue); color: var(--white); border: 2px solid var(--black); box-shadow: 0 8px 0 var(--black); transform: translateY(-14px); }
.plan-pro .plan-for, .plan-pro .per { color: rgba(255, 255, 255, .82); }
.plan-pro .perks { border-top-color: rgba(255, 255, 255, .35); }
.plan-pro .perks li::before { background-color: var(--white); }
.plan-peek { position: absolute; top: -53px; right: 64px; width: 92px; }
.sticker {
  position: absolute; top: 26px; right: 24px; rotate: 7deg;
  padding: 6px 12px; border-radius: 999px; border: 2px solid var(--black);
  background: var(--white); color: var(--black);
  font: 600 .7rem/1 var(--mono); letter-spacing: .07em; text-transform: uppercase;
}

/* ── FAQ ───────────────────────────────────────────────────── */
.faq { padding-top: 104px; }
.panel-navy { background: var(--navy); padding: clamp(10px, 1.6vw, 22px); }
.panel-navy.grain::before { mix-blend-mode: screen; opacity: .14; filter: invert(1); }
.faq-grid {
  display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(32px, 5vw, 80px); align-items: start;
  padding: clamp(36px, 6vw, 80px) clamp(20px, 5vw, 72px);
  border-radius: 34px; background: var(--cream);
}
.faq-intro { display: grid; gap: 18px; }
.faq-intro > p { color: var(--soft); max-width: 24em; }
.faq-intro a { font-weight: 600; text-decoration-color: var(--blue); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.collage { width: 100%; max-width: 340px; margin-top: 18px; }

.faq-list { display: grid; gap: 14px; }
.qa {
  border-radius: 34px; background: var(--white);
  box-shadow: 0 1px 0 rgba(13, 13, 13, .05), 0 5px 0 rgba(13, 13, 13, .07);
  transition: box-shadow .3s var(--ease-out), translate .3s var(--ease-out);
}
.qa:hover { box-shadow: 0 1px 0 rgba(13, 13, 13, .05), 0 7px 0 rgba(13, 13, 13, .09); translate: 0 -1px; }
.qa summary {
  display: flex; align-items: center; gap: 18px;
  padding: 12px 18px 12px 12px; cursor: pointer; list-style: none;
  font-size: 1.12rem; font-weight: 500; letter-spacing: -.01em;
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary:focus-visible { outline-offset: -3px; border-radius: 34px; }
/* FAQ icons keep their original colors on purpose */
.qa-icon { display: grid; place-items: center; flex: none; width: 50px; height: 50px; border-radius: 50%; background: var(--c); }
.qa-icon svg { width: 24px; }
.qa-toggle {
  position: relative; flex: none; width: 32px; height: 32px; margin-left: auto; border-radius: 50%;
  background: var(--cream); transition: background-color .25s, rotate .5s var(--ease-spring);
}
.qa-toggle::before, .qa-toggle::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; margin: -1px 0 0 -6px; border-radius: 2px; background: var(--black); transition: rotate .5s var(--ease-spring), background-color .25s; }
.qa-toggle::after { rotate: 90deg; }
.qa[open] .qa-toggle { background: var(--blue); rotate: 180deg; }
.qa[open] .qa-toggle::before, .qa[open] .qa-toggle::after { background: var(--white); }
.qa[open] .qa-toggle::after { rotate: 0deg; }
.qa summary:hover .qa-toggle { background: var(--blue-tint); }
.qa[open] summary:hover .qa-toggle { background: var(--blue); }
.qa-body { overflow: hidden; }
.qa-body p { padding: 0 28px 24px 80px; color: var(--soft); max-width: calc(38em + 108px); }

/* ── Use cases ─────────────────────────────────────────────── */
.uses { padding-top: 112px; }
.uses-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 56px; }
.use {
  position: relative; overflow: hidden;
  display: flex; flex-direction: column; justify-content: flex-start; gap: 22px;
  min-height: 320px; padding: 30px; border-radius: 30px;
  background: var(--white); border: 1px solid var(--line);
  box-shadow: 0 6px 0 rgba(13, 13, 13, .05);
  transition: translate .35s var(--ease-out), box-shadow .35s var(--ease-out);
}
.use:hover { translate: 0 -4px; box-shadow: 0 10px 0 rgba(13, 13, 13, .07); }
.use-wide { grid-column: span 2; flex-direction: column; align-items: flex-start; }
.use-split { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; gap: 24px; }
.use-split .use-left { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; min-width: 0; }
.use-split .use-right { display: flex; align-items: flex-end; justify-content: flex-end; min-width: 0; }
.use-copy { flex: 1; display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.use-tag { margin-top: auto; padding: 5px 10px; border-radius: 999px; border: 1px solid var(--line); font-size: .68rem; font-weight: 600; letter-spacing: .07em; text-transform: uppercase; color: var(--muted); }
.use h3 { margin-top: 6px; font: 600 1.75rem/1.06 var(--serif); font-variation-settings: "SOFT" 100; letter-spacing: -.028em; }
.use p { color: var(--soft); max-width: 30em; }
.use-art { flex: none; width: 150px; align-self: flex-start; overflow: visible; transition: rotate .5s var(--ease-spring), scale .5s var(--ease-spring); }
.use-wide .use-art { width: 210px; align-self: flex-start; }
.use:hover .use-art { rotate: -5deg; scale: 1.06; }

.use-blue { background: var(--blue); color: var(--white); border-color: var(--blue); }
.use-navy { background: var(--navy); color: var(--white); border-color: var(--navy); }
.use-black { background: var(--black); color: var(--white); border-color: var(--black); }
.use-blue p, .use-navy p, .use-black p { color: rgba(255, 255, 255, .82); }
.use-blue .use-tag, .use-navy .use-tag, .use-black .use-tag { border-color: rgba(255, 255, 255, .3); color: rgba(255, 255, 255, .85); }

.use-strip { display: flex; gap: 8px; margin-top: 14px; }
.use-strip span {
  display: flex; align-items: flex-end; width: 74px; aspect-ratio: 4 / 5; padding: 8px;
  border-radius: 10px; background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .25);
  font: 600 .64rem/1.1 var(--mono); text-transform: uppercase; letter-spacing: .05em;
  transition: translate .4s var(--ease-out);
}
.use-strip .on { background: var(--white); color: var(--blue); }
.use-blue:hover .use-strip span { translate: 0 -4px; }
.use-blue:hover .use-strip span:nth-child(2) { transition-delay: .04s; }
.use-blue:hover .use-strip span:nth-child(3) { transition-delay: .08s; }
.use-blue:hover .use-strip span:nth-child(4) { transition-delay: .12s; }

/* Little loops that keep the illustrations alive */
.art-megaphone .wave { animation: wave 1.8s ease-out infinite; }
.art-megaphone .w2 { animation-delay: .2s; }
.art-megaphone .w3 { animation-delay: .4s; }
@keyframes wave { 0%, 100% { opacity: .35; translate: -3px 0; } 40% { opacity: 1; translate: 2px 0; } }
.art-gift .pop { animation: pop 2.8s var(--ease-spring) infinite; }
@keyframes pop { 0%, 100% { translate: 0 6px; } 45%, 70% { translate: 0 -4px; } }
.art-bubble .heart { transform-box: fill-box; transform-origin: center; animation: beat 1.6s ease-in-out infinite; }
@keyframes beat { 0%, 100% { scale: 1; } 15% { scale: 1.25; } 30% { scale: 1; } 45% { scale: 1.15; } }
.art-bulb .rays { animation: rays 2.4s ease-in-out infinite; }
@keyframes rays { 0%, 100% { opacity: .5; } 50% { opacity: 1; } }

/* ── Final CTA ─────────────────────────────────────────────── */
.final { padding-top: 104px; padding-bottom: 40px; }
.panel-blue { background: var(--blue); color: var(--white); text-align: center; padding-bottom: clamp(150px, 16vw, 210px); }
.panel-blue.grain::before { opacity: .3; }
.final-copy { display: grid; justify-items: center; gap: 22px; }
.final-title { max-width: 900px; font-size: clamp(2.9rem, 7vw, 6.2rem); }
.final-title em { color: var(--navy); }
.final-copy > p:not(.final-micro) { font-size: 1.25rem; color: rgba(255, 255, 255, .9); }
.final-copy .hero-ctas { margin-top: 10px; }
.final-micro { font: 500 .74rem/1.4 var(--mono); letter-spacing: .07em; text-transform: uppercase; color: rgba(255, 255, 255, .8); text-wrap: balance; }

.panel-blue { position: relative; min-height: 640px; padding-bottom: 240px; }
.crew { position: absolute; inset: 0; pointer-events: none; }
.crew-member {
  position: absolute; left: 0; top: 0; width: var(--size, 128px); height: auto;
  overflow: visible; pointer-events: auto; cursor: grab; touch-action: none; user-select: none;
  -webkit-user-drag: none; will-change: transform;
}
/* Before the physics starts: sit in a row on the floor. */
.crew:not(.is-live) { display: flex; justify-content: center; align-items: flex-end; gap: 40px; top: auto; height: 160px; }
.crew:not(.is-live) .crew-member { position: static; }
.crew-member.is-dragging { cursor: grabbing; }
.crew-member .face-scared, .crew-member .scream { display: none; }
.crew-member.is-flying .face-scared, .crew-member.is-flying .scream { display: inline; }
.crew-member.is-flying .face-calm { display: none; }
.scream {
  font: 700 22px/1 var(--serif); font-variation-settings: "SOFT" 100;
  fill: var(--white); stroke: var(--black); stroke-width: 4px; paint-order: stroke; stroke-linejoin: round;
  animation: shake .12s linear infinite alternate;
}
@keyframes shake { from { translate: -1.5px 0; } to { translate: 1.5px -1px; } }
.crew-hint.is-done { opacity: 0; }
.crew-hint {
  transition: opacity .4s;
  position: absolute; right: 28px; bottom: 22px; margin: 0;
  font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; color: rgba(255, 255, 255, .75);
}

/* ── Footer ────────────────────────────────────────────────── */
.footer { padding: 36px 0 48px; }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 32px; }
.footer-tag { color: var(--muted); font-size: .95rem; }
.footer-links { display: flex; flex-wrap: wrap; gap: 20px; margin-left: auto; }
.footer-links a { font-size: .92rem; font-weight: 500; color: var(--soft); text-decoration: none; }
.footer-links a:hover { color: var(--black); text-decoration: underline; text-underline-offset: 3px; }
.footer-copy { width: 100%; font: 500 .72rem/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }

/* ── Scroll reveal (only when JS is running) ───────────────── */
.js .reveal { opacity: 0; translate: 0 22px; transition: opacity .8s var(--ease-out), translate .8s var(--ease-out); }
.js .reveal.is-in { opacity: 1; translate: 0 0; }

/* ── Responsive ────────────────────────────────────────────── */
@media (max-width: 1080px) {
  .stage { grid-template-columns: 1fr; justify-items: center; gap: 12px; }
  .note { justify-self: center; max-width: 330px; rotate: -3deg; }
  .stage-arrow { position: relative; left: auto; top: auto; width: 110px; rotate: 100deg; margin: -6px 0 -18px 90px; }
  .fan { width: 100%; --w: clamp(120px, 24vw, 210px); }
  .hero-deco-dot { display: none; }
  .hero-deco-squiggle { top: 96px; }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .tile-span { grid-column: span 2; }
}

@media (max-width: 920px) {
  .problem-grid, .faq-grid { grid-template-columns: 1fr; }
  .stressed { display: none; }
  .plans { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; gap: 28px; }
  .plan-pro { transform: none; margin-top: 40px; }
  .collage { display: none; }
  .uses-grid { grid-template-columns: 1fr; }
  .use-wide { grid-column: auto; }
}

@media (max-width: 760px) {
  .nav-links, .nav-signin { display: none; }
  .hero { padding-top: 28px; }
  .hero-title { font-size: clamp(1.7rem, 8.2vw, 3rem); }
  .hero-deco-squiggle, .hero-deco-star { display: none; }
  .hero-ctas .btn { width: 100%; max-width: 340px; }
  .demo { margin-top: 48px; }
  .style-tabs button { height: 44px; padding: 0 14px; font-size: .92rem; }
  .fan { --w: clamp(104px, 30vw, 180px); height: calc(var(--w) * 1.25 + 80px); }
  .section { padding-inline: 10px; }
  .panel { border-radius: 30px; }
  .steps { grid-template-columns: 1fr; max-width: 360px; margin-inline: auto; gap: 56px; }
  .timeline li { grid-template-columns: auto 1fr; padding: 12px 14px; }
  .timeline li .src { justify-self: start; }
  .timeline li p { grid-column: 1 / -1; }
  .timeline li:nth-child(even) { margin-left: 12px; margin-right: 0; }
  .bento { grid-template-columns: 1fr; }
  .panel-blue { min-height: 600px; padding-bottom: 210px; }
  .crew-member { --size: 92px; }
  .crew-hint { left: 0; right: 0; text-align: center; bottom: auto; top: 18px; }
  .tile-span { grid-column: auto; grid-template-columns: 1fr; }
  .tile-copy { padding: 18px 10px 4px; }
  .faq-grid { border-radius: 24px; }
  .qa summary { gap: 12px; font-size: 1rem; padding: 10px 12px 10px 10px; }
  .qa-icon { width: 42px; height: 42px; }
  .qa-body p { padding: 0 20px 20px 20px; }
  .use, .use-wide { min-height: 0; padding: 24px; flex-direction: column; align-items: stretch; }
  .use-split { grid-template-columns: 1fr; }
  .use-split .use-right { justify-content: flex-start; }
  .use-strip span { width: auto; flex: 1; }
  .use-art, .use-wide .use-art { width: 120px; align-self: flex-start; }
  .footer-links { margin-left: 0; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0ms !important; }
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; translate: none; }
  .sk-arrow, .sk-arrow-head, .sk-scribble { stroke-dashoffset: 0; }
  .sk-hand, .sk-trail { opacity: 1; translate: 0 0; }
  .paint-stroke, .paint-dot, .note-line, .note-star, .fly, .folder-archive, .zipper { animation: none; }
}

/* ── Sign-in dialog (opened from every "Sign in" / "Start free" link) ───── */
.signin-dialog {
  position: fixed; width: min(calc(100% - 32px), 460px); height: min(680px, calc(100dvh - 48px));
  padding: 0; border: 2px solid var(--black); border-radius: 34px; overflow: hidden;
  background: var(--white); box-shadow: 0 8px 0 var(--black);
}
.signin-dialog[open] { display: block; }
.signin-dialog::backdrop { background: rgba(13, 13, 13, .45); backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); }
.signin-dialog iframe { display: block; width: 100%; height: 100%; border: 0; }
.signin-close {
  position: absolute; top: 14px; right: 14px; z-index: 1;
  width: 38px; height: 38px; border-radius: 50%; border: 2px solid var(--black);
  background: var(--white); color: var(--black); font: 500 1.4rem/1 var(--sans); cursor: pointer;
  transition: background-color .2s;
}
.signin-close:hover { background: var(--cream); }

/* The live demo embeds the actual app, including its own styles and dialogs. */
.editor-demo.panel { position: relative; z-index: 1; overflow: visible; padding: clamp(40px, 5vw, 72px) clamp(20px, 4vw, 64px); scroll-margin-top: 100px; }
.demo-invitation { display: flex; justify-content: center; align-items: center; gap: 8px; margin: 0 0 18px; color: rgba(255, 255, 255, .86); }
.demo-invitation span { font: italic 500 1.18rem/1.3 var(--serif); transform: rotate(-4deg); }
.demo-invitation svg { width: 72px; height: 52px; margin-bottom: -15px; color: var(--blue); }
.demo-window { position: relative; z-index: 1; overflow: hidden; margin-top: -180px; margin-bottom: 180px; border: 2px solid var(--black); border-radius: 18px; background: var(--white); box-shadow: 0 8px 0 var(--navy); }
.demo-window::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: rgba(3, 8, 28, .38); opacity: 0; transition: opacity .25s; }
.demo-open { position: absolute; top: 50%; left: 50%; z-index: 2; display: inline-flex; align-items: center; justify-content: center; min-height: 62px; padding: 16px 30px; border: 1px solid rgba(13, 13, 13, .08); border-radius: 999px; background: var(--white); color: var(--black); box-shadow: 0 8px 30px #00000020; font: 550 1.1rem/1.2 var(--sans); white-space: nowrap; cursor: pointer; opacity: 0; transform: translate(-50%, calc(-50% + 8px)); transition: opacity .25s, transform .25s, box-shadow .2s; }
.demo-window:hover::after, .demo-window:focus-within::after { opacity: 1; }
.demo-window:hover .demo-open, .demo-window:focus-within .demo-open { opacity: 1; transform: translate(-50%, -50%); }
.demo-open:hover { box-shadow: 0 10px 36px #00000035; }
.demo-editor { overflow: auto; overscroll-behavior-x: contain; }
.demo-editor iframe { display: block; width: 100%; min-width: 960px; height: 760px; border: 0; background: #f7f7f7; }
.demo-actions { display: flex; justify-content: center; margin-top: 36px; }
.editor-demo .btn-blue { --lift: var(--navy); }
.demo-caption { margin-top: 26px; font-size: .78rem; color: rgba(255, 255, 255, .66); text-align: center; }
.demo-caption span { display: none; }
@media (max-width: 1000px) { .demo-caption span { display: inline; } }
@media (max-width: 600px) {
  .demo-editor iframe { height: 720px; }
}
@media (hover: none) {
  .demo-open { opacity: 1; transform: translate(-50%, -50%); }
}

/* Full-screen live demo, opened by "Explore the demo". The /demo/ route stays a standalone page. */
.demo-dialog { inset: 0; width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: #f7f7f7; }
.demo-dialog::backdrop { background: var(--black); }
.demo-dialog iframe { display: block; width: 100%; height: 100%; border: 0; }
.demo-dialog-close { position: absolute; top: 12px; right: 12px; z-index: 1; width: 38px; height: 38px; border-radius: 50%; border: 2px solid var(--black); background: var(--white); color: var(--black); font: 500 1.4rem/1 var(--sans); cursor: pointer; transition: background-color .2s; }
.demo-dialog-close:hover { background: var(--cream); }
