/* Landing: light paper, one color per team member, and one motion grammar
   (logo assembly, team cursors, panel scenes). Login styles live in login.css. */

:root {
  color-scheme: light;

  --paper: #f6f3ec;
  --paper-2: #ede8dc;
  --paper-3: #e2dbcb;
  --card: #ffffff;
  --ink: #0e0e10;
  --ink-2: #45454d;
  --ink-3: #5e5e66;
  --line: rgba(14, 14, 16, 0.1);
  --line-2: rgba(14, 14, 16, 0.2);
  --ok: #0d7343;

  /* Team colors: the cursor, name tag, tab and status of a member share one. */
  --editor: #a99bff;
  --editor-ink: #4635d8;
  --editor-tint: #eeebff;
  --writer: #ff9a76;
  --writer-ink: #b23a12;
  --writer-tint: #ffede5;
  --copy: #6fd6a0;
  --copy-ink: #0d7343;
  --copy-tint: #e3f7ec;
  --art: #ff9bcb;
  --art-ink: #ad2e6c;
  --art-tint: #ffe9f3;
  --sc: #8db8ff;
  --sc-ink: #1d56c8;
  --sc-tint: #e6efff;
  --wp: #ffd45e;
  --wp-ink: #7a5600;
  --wp-tint: #fff4d1;
  --you: #0e0e10;

  --font: Vazirmatn, Tahoma, system-ui, sans-serif;
  --ease: cubic-bezier(0.2, 0, 0, 1);
  --ease-out: cubic-bezier(0.25, 1, 0.5, 1);
  --spring: cubic-bezier(0.32, 0.72, 0, 1);
  --bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
  --glide: cubic-bezier(0.65, 0, 0.25, 1);
  --dur-fast: 160ms;
  --dur: 220ms;
  --dur-slow: 400ms;

  --r-sm: 10px;
  --r: 16px;
  --r-lg: 24px;
  --r-xl: 32px;
  --shadow-card: 0 1px 2px rgba(14, 14, 16, 0.05), 0 14px 34px -16px rgba(14, 14, 16, 0.22);
  --shadow-float: 0 1px 2px rgba(14, 14, 16, 0.06), 0 40px 80px -30px rgba(14, 14, 16, 0.36);
  --gutter: clamp(16px, 4vw, 40px);
  --dots: radial-gradient(var(--ink) 1.1px, transparent 1.5px);
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.05 0 0 0 0 0.05 0 0 0 0 0.06 0 0 0 0.3 -0.12'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* Base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0;
  overflow-x: clip;
  background: var(--paper) var(--grain);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.85;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
h1, h2, h3, h4, p, dl, dd { margin: 0; }
p { text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: inherit; }
button { font: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--editor-ink); outline-offset: 3px; border-radius: 8px; }
.defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; inset-inline-start: 16px; top: -64px; z-index: 50; padding: 10px 16px; border-radius: 999px; background: var(--ink); color: var(--paper); font-weight: 700; text-decoration: none; transition: top var(--dur) var(--ease); }
.skip:focus { top: 12px; }
.wrap { max-width: 1200px; margin-inline: auto; padding-inline: var(--gutter); }

/* Buttons */
.btn { position: relative; isolation: isolate; overflow: hidden; display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding-inline: 22px; border: 1px solid transparent; border-radius: 999px; font-size: 15px; font-weight: 700; line-height: 1; text-decoration: none; white-space: nowrap; cursor: pointer; transition: background-color var(--dur) var(--ease), border-color var(--dur) var(--ease), color var(--dur) var(--ease), transform var(--dur-fast) var(--ease), box-shadow var(--dur-slow) var(--ease); }
.btn:active { transform: scale(0.97); }
.btn--ink { background: var(--ink); color: var(--paper); }
.btn--ink:hover { background: #2a2a30; box-shadow: 0 14px 28px -14px rgba(14, 14, 16, 0.6); }
.btn--ink::after, .btn--paper::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, transparent 35%, rgba(255, 255, 255, 0.28) 50%, transparent 65%); transform: translateX(110%); transition: transform 0.7s var(--ease); }
.btn--ink:hover::after, .btn--paper:hover::after { transform: translateX(-110%); }
.btn--paper { background: var(--paper); color: var(--ink); }
.btn--paper:hover { background: #fff; }
.btn--line { background: var(--card); border-color: var(--line-2); color: var(--ink); }
.btn--line:hover { border-color: var(--ink); }
.btn--text { min-height: 44px; padding-inline: 12px; background: transparent; color: var(--ink); text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1.5px; }
.btn--text:hover { color: var(--editor-ink); }

/* Logo: the two halves of the mark come together, then the core drops in. */
.logo { display: inline-flex; align-items: center; gap: 10px; min-width: 0; min-height: 44px; font-size: 18px; font-weight: 800; text-decoration: none; }
.logo span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mark { flex: none; width: 24px; height: 30px; overflow: visible; }
.mark__a, .mark__b, .mark__core { transform-box: fill-box; transform-origin: center; }
.mark__core { transition: scale var(--dur-slow) var(--bounce); }
.logo:hover .mark__core { scale: 1.35; }

/* Header */
.bar { position: sticky; top: 0; z-index: 30; background: rgba(246, 243, 236, 0.82); -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid transparent; transition: border-color var(--dur-slow) var(--ease); }
.bar.is-scrolled { border-bottom-color: var(--line); }
.bar__in { position: relative; display: flex; align-items: center; gap: 16px; min-height: 72px; }
.nav { display: flex; gap: 2px; margin-inline: auto; }
.nav a { display: inline-flex; align-items: center; min-height: 44px; padding-inline: 12px; border-radius: 999px; color: var(--ink-2); font-size: 15px; font-weight: 500; text-decoration: none; transition: color var(--dur) var(--ease), background-color var(--dur) var(--ease); }
.nav a:hover { color: var(--ink); background: rgba(14, 14, 16, 0.05); }
.nav a.nav__login { display: none; }
.bar__actions { display: flex; flex: none; align-items: center; gap: 8px; }
.navtoggle { display: none; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0; border: 1px solid var(--line-2); border-radius: 999px; background: var(--card); color: var(--ink); cursor: pointer; }
.navtoggle__bars, .navtoggle__bars::before, .navtoggle__bars::after { display: block; width: 18px; height: 2px; border-radius: 2px; background: currentColor; }
.navtoggle__bars { position: relative; }
.navtoggle__bars::before, .navtoggle__bars::after { content: ""; position: absolute; inset-inline-start: 0; transition: transform var(--dur-fast) var(--ease), top var(--dur-fast) var(--ease); }
.navtoggle__bars::before { top: -6px; }
.navtoggle__bars::after { top: 6px; }
.bar.is-open .navtoggle__bars { background: transparent; }
.bar.is-open .navtoggle__bars::before { top: 0; transform: rotate(45deg); }
.bar.is-open .navtoggle__bars::after { top: 0; transform: rotate(-45deg); }

/* Shared pieces */
.live-dot { flex: none; width: 8px; height: 8px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.5); }
.dots { display: inline-flex; align-items: center; gap: 3px; }
.dots i { width: 4px; height: 4px; border-radius: 50%; background: currentColor; opacity: 0.35; }
.tag-sample { margin-inline-start: auto; padding: 1px 10px; border-radius: 999px; background: var(--wp-tint); color: var(--wp-ink); font-size: 12px; font-weight: 700; line-height: 1.8; }
.kicker { display: inline-flex; align-items: center; gap: 8px; color: var(--c, var(--ink-2)); font-size: 14.5px; font-weight: 800; }
.kicker::before { content: ""; width: 18px; height: 2px; border-radius: 2px; background: currentColor; }
.h2 { margin-top: 10px; font-size: clamp(30px, 4.4vw, 52px); font-weight: 900; line-height: 1.3; text-wrap: balance; }
.sub { margin-top: 16px; color: var(--ink-2); font-size: clamp(16.5px, 1.5vw, 18.5px); }
.sec { padding-block: clamp(72px, 10vw, 128px); }
.sec__head { max-width: 780px; margin: 0 auto clamp(36px, 5vw, 56px); text-align: center; }
.sec__head .sub { max-width: 44em; margin-inline: auto; }
.ticks { display: grid; gap: 12px; margin-top: 22px; }
.ticks li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 10px; font-size: 16px; line-height: 1.8; }
.ticks svg { width: 20px; height: 20px; margin-top: 4px; padding: 3px; border-radius: 50%; background: var(--ink); color: #fff; }
.ticks--plain svg { background: var(--ok); }

/* Faces: the panel's own portraits. Until they load, a colored initial. */
.face { position: relative; display: inline-grid; flex: none; place-items: center; width: var(--fs, 36px); height: var(--fs, 36px); border-radius: 50%; overflow: hidden; background: var(--fc, var(--paper-3)); color: var(--ink); font-size: calc(var(--fs, 36px) * 0.42); font-weight: 800; line-height: 1; vertical-align: middle; }
.face::before { content: attr(data-initial); }
.face.has-svg::before { content: none; }
.face svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.face--xs { --fs: 22px; }
.face--sm { --fs: 34px; }
.face--md { --fs: 52px; }
.face--lg { --fs: 76px; }
[data-face="editor"] { --fc: var(--editor); }
[data-face="writer"] { --fc: var(--writer); }
[data-face="copy"] { --fc: var(--copy); }
[data-face="art"] { --fc: var(--art); }
.face [data-part], .face [data-lid] { transform-box: fill-box; transform-origin: center; }
.face [data-part] { transition: transform var(--dur) var(--ease); }
.face[data-glance="l"] [data-part="eyes"] { transform: translateX(-10%); }
.face[data-glance="r"] [data-part="eyes"] { transform: translateX(10%); }

/* Team cursors */
.cur__a { display: block; width: 20px; height: 22px; overflow: visible; fill: var(--c); filter: drop-shadow(0 2px 3px rgba(14, 14, 16, 0.28)); transform-origin: 3px 2px; }
.cur__tag { position: absolute; top: 18px; left: 14px; display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px; background: var(--c); color: var(--ink); font-size: 12.5px; font-weight: 700; line-height: 1.6; white-space: nowrap; box-shadow: 0 8px 16px -8px rgba(14, 14, 16, 0.45); }
.cur__tag .face { margin-inline-start: -6px; box-shadow: 0 0 0 1.5px rgba(255, 255, 255, 0.85); }
.cur__tag--you { background: var(--ink); color: var(--paper); }
.pc { position: absolute; z-index: 2; pointer-events: none; }
.cur { position: absolute; top: 0; left: 0; z-index: 6; pointer-events: none; opacity: 0; transform: translate(var(--x, 0px), var(--y, 0px)); transition: transform 820ms var(--glide), opacity 300ms var(--ease); }
.cur.is-on { opacity: 1; }
.cur.is-jump { transition: opacity 300ms var(--ease); }
.cur[data-flip] .cur__tag, .pc--flip .cur__tag { left: auto; right: calc(100% - 6px); }
.cur::before { content: ""; position: absolute; top: -10px; left: -10px; width: 24px; height: 24px; border: 2px solid var(--c); border-radius: 50%; opacity: 0; }

/* Hero */
.hero { position: relative; padding-block: clamp(44px, 8vw, 96px) clamp(48px, 7vw, 96px); text-align: center; overflow: clip; }
.hero__art { position: absolute; inset: 0; pointer-events: none; }
.ht { position: absolute; border-radius: 50%; background-image: var(--dots); background-size: 7px 7px; opacity: 0.16; -webkit-mask-image: radial-gradient(circle at 35% 35%, #000 0, rgba(0, 0, 0, 0.55) 38%, transparent 70%); mask-image: radial-gradient(circle at 35% 35%, #000 0, rgba(0, 0, 0, 0.55) 38%, transparent 70%); }
.ht--1 { width: 520px; height: 520px; top: -190px; inset-inline-end: -170px; }
.ht--2 { width: 360px; height: 360px; top: 300px; inset-inline-start: -190px; }
.ht--3 { width: 980px; height: 980px; top: 640px; left: 50%; margin-left: -490px; opacity: 0.09; }
.hero__in { position: relative; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 5px 14px; border: 1px solid var(--line-2); border-radius: 999px; background: rgba(255, 255, 255, 0.65); color: var(--ink-2); font-size: 14px; font-weight: 600; }
.h1 { max-width: 13.5em; margin: 22px auto 0; font-size: clamp(38px, 6.6vw, 84px); font-weight: 900; line-height: 1.22; text-wrap: balance; }
.h1 > span { display: inline-block; }
.h1__em { padding-inline: 0.08em; background: linear-gradient(transparent 58%, var(--wp) 58%, var(--wp) 90%, transparent 90%) no-repeat right / 100% 100%; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.lede { max-width: 40em; margin: 22px auto 0; color: var(--ink-2); font-size: clamp(17px, 1.6vw, 19.5px); }
.start-wrap { max-width: 560px; margin: 30px auto 0; }
.start { display: flex; align-items: center; gap: 8px; padding: 6px; padding-inline-start: 18px; border: 1.5px solid var(--ink); border-radius: 999px; background: var(--card); box-shadow: var(--shadow-card); transition: box-shadow var(--dur) var(--ease); }
.start:focus-within { outline: 3px solid var(--editor-ink); outline-offset: 3px; }
.start__ic { flex: none; color: var(--ink-3); }
.start input { flex: 1; min-width: 0; height: 46px; padding: 0; border: 0; background: transparent; color: var(--ink); font: inherit; font-size: 17px; text-align: left; outline: none; }
.start input::placeholder { color: #6e6e76; }
.start .btn { min-height: 48px; }
.start__err { margin-top: 12px; color: #b42318; font-weight: 700; }
.start__note { margin-top: 14px; color: var(--ink-3); font-size: 14.5px; }
.pc--1 { top: 3%; inset-inline-start: 1%; --fx: -16px; --fy: 12px; --fd: 7s; }
.pc--2 { top: 7%; inset-inline-end: 3%; --fx: 14px; --fy: -12px; --fd: 8s; }
.pc--3 { bottom: 17%; inset-inline-end: 6%; --fx: -12px; --fy: -14px; --fd: 6.5s; }
.pc--4 { bottom: 26%; inset-inline-start: 7%; --fx: 18px; --fy: 8px; --fd: 7.5s; }

/* Launch film: the panel's journey card next to the scene it is on. */
.film-wrap { position: relative; margin-top: clamp(40px, 6vw, 72px); }
.film-wrap::before { content: ""; position: absolute; inset: -60px 4% auto; height: 70%; z-index: -1; background: radial-gradient(closest-side, rgba(124, 108, 255, 0.2), transparent); pointer-events: none; }
.film { position: relative; text-align: start; }
.win { overflow: hidden; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--card); box-shadow: var(--shadow-float); }
.win__bar { display: flex; align-items: center; gap: 7px; height: 44px; padding-inline: 16px; border-bottom: 1px solid var(--line); background: #fbfaf6; }
.win__bar > i { width: 10px; height: 10px; border-radius: 50%; background: var(--paper-3); }
.win__title { margin-inline-start: 10px; overflow: hidden; color: var(--ink-3); font-size: 13px; font-weight: 600; white-space: nowrap; text-overflow: ellipsis; }
.win__body { display: grid; grid-template-columns: minmax(280px, 340px) minmax(0, 1fr); min-height: 480px; }

.jc { display: flex; flex-direction: column; gap: 14px; padding: 20px; border-inline-end: 1px solid var(--line); background: #fff; }
.jc__head { display: flex; align-items: center; gap: 12px; }
.engine { position: relative; display: grid; flex: none; place-items: center; width: 44px; height: 44px; }
.engine__ring { position: absolute; inset: 0; fill: none; stroke: var(--editor-ink); stroke-width: 2.5; stroke-linecap: round; stroke-dasharray: 26 74; transform-origin: center; }
.engine__mark { width: 18px; height: 23px; }
.engine__ok { position: absolute; inset-inline-end: -4px; bottom: -4px; display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: var(--ok); color: #fff; transform: scale(0); transition: transform var(--dur-slow) var(--bounce); }
.film[data-scene="5"] .engine__ring { stroke: var(--ok); stroke-dasharray: 100 0; }
.film[data-scene="5"] .engine__ok { transform: none; }
.jc__ttl { min-width: 0; }
.jc__ttl b { display: block; font-size: 15.5px; font-weight: 800; line-height: 1.5; }
.jc__ttl small { display: block; color: var(--ink-3); font-size: 12.5px; text-align: end; }
.jc__fin { display: none; }
.film[data-scene="5"] .jc__run { display: none; }
.film[data-scene="5"] .jc__fin { display: inline; }
.jc__bar { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 4px; }
.jc__bar i { position: relative; height: 5px; overflow: hidden; border-radius: 3px; background: #ececee; }
.jc__bar i::after { content: ""; position: absolute; inset: 0; background: var(--ink); transform: scaleX(0); transform-origin: right; transition: transform 500ms var(--ease-out); }
.jc__bar i.now::after { background: var(--editor-ink); transform: scaleX(0.45); }
.jc__bar i.on::after { background: var(--ink); transform: none; }
.jc__steps { display: grid; gap: 2px; }
.jc__steps li { display: grid; grid-template-columns: 26px minmax(0, 1fr) auto; align-items: start; gap: 10px; padding: 8px 10px; border-radius: 12px; transition: background-color var(--dur-slow) var(--ease); }
.jc__steps li.now { background: var(--editor-tint); }
.jc__n { position: relative; display: grid; place-items: center; width: 26px; height: 26px; border: 1.5px solid var(--line-2); border-radius: 50%; color: var(--ink-3); font-size: 12.5px; font-weight: 700; transition: background-color var(--dur) var(--ease), border-color var(--dur) var(--ease); }
.jc__n svg { display: none; color: #fff; }
li.now .jc__n { border-color: transparent; color: var(--editor-ink); }
li.now .jc__n::after { content: ""; position: absolute; inset: -1.5px; border: 2px solid var(--editor-ink); border-top-color: transparent; border-radius: 50%; }
li.on .jc__n { border-color: var(--ink); background: var(--ink); }
li.on .jc__n span { display: none; }
li.on .jc__n svg { display: block; }
.jc__steps b { display: block; color: var(--ink-3); font-size: 14.5px; font-weight: 700; line-height: 1.55; }
.jc__steps li.now b, .jc__steps li.on b { color: var(--ink); }
.jc__live { display: block; color: var(--ink-3); font-size: 12.5px; line-height: 1.65; }
.jc__live b { display: inline; color: inherit; font-size: inherit; }
.jc__live .r, .jc__live .d { display: none; }
li.now .jc__live .r, li.on .jc__live .d { display: inline; }
.jc__st { padding-top: 3px; color: var(--ink-3); font-size: 11.5px; font-style: normal; font-weight: 700; white-space: nowrap; }
.jc__st::after { content: "در انتظار"; }
li.now .jc__st { color: var(--editor-ink); }
li.now .jc__st::after { content: "در حال انجام"; }
li.on .jc__st { color: var(--ok); }
li.on .jc__st::after { content: "انجام شد"; }
.jc__foot { margin-top: auto; padding-top: 12px; border-top: 1px dashed var(--line-2); color: var(--ink-3); font-size: 12.5px; line-height: 1.7; }

.stage { position: relative; min-height: 480px; overflow: hidden; background: var(--paper) radial-gradient(rgba(14, 14, 16, 0.08) 1px, transparent 1.3px) 0 0 / 16px 16px; }
.sc { position: absolute; inset: clamp(16px, 3vw, 32px); display: flex; flex-direction: column; justify-content: center; gap: 14px; opacity: 0; visibility: hidden; transform: translateY(10px) scale(0.985); transition: opacity 380ms var(--ease), transform 520ms var(--ease-out), visibility 0s linear 380ms; }
.film[data-scene="0"] [data-sc="0"], .film[data-scene="1"] [data-sc="1"], .film[data-scene="2"] [data-sc="2"],
.film[data-scene="3"] [data-sc="3"], .film[data-scene="4"] [data-sc="4"], .film[data-scene="5"] [data-sc="5"] {
  opacity: 1; visibility: visible; transform: none; transition: opacity 380ms var(--ease) 140ms, transform 520ms var(--ease-out) 140ms, visibility 0s;
}
.paper-card { border: 1px solid var(--line); border-radius: 14px; background: #fff; box-shadow: var(--shadow-card); }

/* Scene 0: the site answers and its logo is found */
.site { position: relative; border: 1px solid var(--line); border-radius: 14px; background: #fff; box-shadow: var(--shadow-card); }
.site__bar { display: flex; align-items: center; gap: 6px; height: 34px; padding-inline: 12px; border-bottom: 1px solid var(--line); border-radius: 14px 14px 0 0; background: #fbfaf6; }
.site__bar > i { width: 8px; height: 8px; border-radius: 50%; background: var(--paper-3); }
.site__url { flex: 1; height: 22px; margin-inline-start: 10px; padding-inline: 12px; overflow: hidden; border-radius: 999px; background: var(--paper); color: var(--ink-2); font-size: 12px; line-height: 22px; text-align: left; }
.site__type { display: inline-block; }
.site__body { padding: 14px; }
.site__nav { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.site__logo { position: relative; display: inline-flex; align-items: center; gap: 6px; padding: 3px 8px; border-radius: 8px; font-size: 14px; }
.site__logo svg { width: 22px; height: 22px; }
.site__logo::after { content: ""; position: absolute; inset: -4px; border: 2px dashed var(--editor-ink); border-radius: 10px; opacity: 0; transform: scale(1.18); }
.site__nav em { display: flex; gap: 8px; }
.site__nav em i { width: 34px; height: 6px; border-radius: 3px; background: var(--paper-3); }
.site__hero { display: grid; grid-template-columns: minmax(0, 1fr) 46%; align-items: center; gap: 14px; margin-top: 14px; }
.site__copy i { display: block; height: 9px; margin-bottom: 8px; border-radius: 5px; background: var(--paper-3); }
.site__copy i:first-child { height: 14px; background: #cfc7b4; }
.site__btn { display: block; width: 84px; height: 24px; margin-top: 10px; border-radius: 999px; background: #1f7a4a; }
.site__art { display: block; width: 100%; height: auto; border-radius: 10px; }
.site__cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 14px; }
.site__cards i { height: 44px; border-radius: 10px; background: var(--paper); }
.found { position: absolute; top: 46px; inset-inline-start: 120px; display: inline-flex; align-items: center; gap: 6px; padding: 2px 10px; border-radius: 999px; background: var(--editor); color: var(--ink); font-size: 12px; font-weight: 800; opacity: 0; transform: translateY(-6px) scale(0.9); }

/* Scene 1: pages are read, the first question is asked */
.pages { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.pg { position: relative; padding: 8px; border: 1px solid var(--line); border-radius: 10px; background: #fff; box-shadow: 0 1px 2px rgba(14, 14, 16, 0.05); transform-origin: top; }
.pg__img { display: block; height: 38px; border-radius: 6px; background: var(--paper-2) radial-gradient(rgba(14, 14, 16, 0.18) 1px, transparent 1.4px) 0 0 / 5px 5px; }
.pg:nth-child(3n + 2) .pg__img { background-color: #dcefe2; }
.pg:nth-child(3n) .pg__img { background-color: #f6dfd2; }
.pg b { display: block; margin-top: 6px; overflow: hidden; font-size: 11.5px; font-weight: 700; line-height: 1.5; white-space: nowrap; text-overflow: ellipsis; }
.pg__ok { position: absolute; top: -6px; inset-inline-start: -6px; display: grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; background: var(--ok); color: #fff; transform: scale(0); }
.pages__beam { position: absolute; inset: -6px; border-radius: 12px; background: linear-gradient(90deg, transparent 0 42%, rgba(169, 155, 255, 0.4) 50%, transparent 58% 100%) 0 0 / 260% 100% no-repeat; opacity: 0; pointer-events: none; }
.ask { display: flex; align-items: flex-start; gap: 10px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 14px; background: #fff; box-shadow: var(--shadow-card); }
.ask p { font-size: 13.5px; font-weight: 600; line-height: 1.7; }
.opts { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.opts span { padding: 2px 12px; border: 1px solid var(--line-2); border-radius: 999px; background: #fff; font-size: 12.5px; font-weight: 600; transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease), border-color var(--dur) var(--ease); }
.opts [data-picked] { border-color: var(--ink); background: var(--ink); color: var(--paper); }
.ask small { display: block; margin-top: 6px; color: var(--ink-3); font-size: 11.5px; }

/* Scene 2: what the editor understood */
.brief { padding: 16px 18px; border: 1px solid var(--line); border-radius: 14px; background: #fff; box-shadow: var(--shadow-card); }
.brief__h { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 800; }
.brief dl { display: grid; gap: 10px; margin-top: 12px; }
.brief dt { color: var(--editor-ink); font-size: 12px; font-weight: 700; }
.brief dd { margin-top: 2px; font-size: 13.5px; line-height: 1.7; }
.pillars { display: flex; flex-wrap: wrap; gap: 6px; }
.pillars span { padding: 1px 10px; border-radius: 999px; background: var(--editor-tint); color: var(--editor-ink); font-size: 12px; font-weight: 700; }

/* Scene 3: the team */
.team-note { display: inline-flex; align-items: center; align-self: center; gap: 8px; padding: 4px 12px; border: 1px solid var(--line); border-radius: 999px; background: #fff; font-size: 13px; font-weight: 700; }
.mates { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.mate { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 16px 10px 12px; border: 1px solid var(--line); border-radius: 16px; background: #fff; box-shadow: var(--shadow-card); text-align: center; }
.mate .face { box-shadow: 0 0 0 3px #fff, 0 0 0 5px var(--c); }
.mate b { margin-top: 10px; font-size: 14px; font-weight: 800; line-height: 1.5; }
.mate span { color: var(--ink-3); font-size: 12px; line-height: 1.5; }
.mate em { display: inline-flex; align-items: center; gap: 5px; margin-top: 6px; color: var(--ok); font-size: 11.5px; font-style: normal; font-weight: 700; }
.mate em::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }

/* Scene 4: the first article */
.sc--write { display: grid; grid-template-columns: minmax(0, 1fr) 176px; align-content: center; align-items: center; }
.draft { padding: 16px 18px; border: 1px solid var(--line); border-radius: 14px; background: #fff; box-shadow: var(--shadow-card); }
.draft__head { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; color: var(--ink-3); font-size: 12.5px; }
.draft__who b { color: var(--ink); }
.draft__wc { margin-inline-start: auto; color: var(--ink-2); font-weight: 700; }
.draft__t { margin-top: 12px; font-size: 17px; font-weight: 800; line-height: 1.6; }
.draft__t span { display: block; }
.draft__body { display: grid; gap: 7px; margin-top: 10px; }
.draft__body i, .doc i, .post__lines i { display: block; width: var(--w); height: 7px; border-radius: 4px; background: var(--paper-3); transform-origin: right; }
.draft__body .h2, .doc .h2, .post__lines .h2 { height: 10px; margin-top: 4px; background: #c9c0ad; }
.draft__body .lk, .doc .lk, .post__lines .lk { background: linear-gradient(90deg, var(--paper-3) 0 52%, var(--editor) 52% 80%, var(--paper-3) 80%); }
.seo { display: grid; gap: 8px; }
.seo li { display: flex; align-items: center; gap: 8px; padding: 7px 10px; border: 1px solid var(--line); border-radius: 10px; background: #fff; font-size: 12.5px; font-weight: 700; line-height: 1.5; }
.seo li svg { flex: none; width: 18px; height: 18px; padding: 3px; border-radius: 50%; background: var(--ok); color: #fff; }

/* Scene 5: ready, with the cover drawn live */
.done { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); align-items: center; gap: 18px; padding: 16px; border: 1px solid var(--line); border-radius: 16px; background: #fff; box-shadow: var(--shadow-card); }
.done__cover { position: relative; overflow: hidden; border-radius: 12px; aspect-ratio: 3 / 2; }
.done__cover > svg { display: block; width: 100%; height: 100%; }
.done__by { position: absolute; inset-inline-start: 8px; bottom: 8px; display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px 3px 4px; border-radius: 999px; background: rgba(255, 255, 255, 0.92); font-size: 11.5px; font-weight: 700; opacity: 0; }
.done__txt { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.done__ck { position: relative; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--ok); color: #fff; }
.done__txt b { font-size: 18px; font-weight: 900; line-height: 1.5; }
.done__txt p { color: var(--ink-2); font-size: 13.5px; line-height: 1.7; }
.done__acts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.fbtn { display: inline-flex; align-items: center; min-height: 34px; padding-inline: 14px; border: 1px solid var(--line-2); border-radius: 999px; background: #fff; font-size: 12.5px; font-weight: 700; }
.fbtn--ink { border-color: var(--ink); background: var(--ink); color: var(--paper); }
.burst { position: absolute; inset: 0; pointer-events: none; }
.burst i { position: absolute; top: 50%; left: 50%; width: 3px; height: 8px; margin: -4px 0 0 -1.5px; border-radius: 2px; background: var(--ok); opacity: 0; transform: rotate(var(--r)) translateY(-14px); }
.film__cap { margin-top: 14px; color: var(--ink-3); font-size: 13.5px; text-align: center; }

/* Activity strip */
.strip { padding-block: clamp(36px, 5vw, 64px) clamp(24px, 4vw, 48px); overflow: clip; }
.strip__t { margin-bottom: 22px; padding-inline: var(--gutter); color: var(--ink-3); font-size: clamp(15px, 1.4vw, 17px); font-weight: 700; text-align: center; }
.mq { overflow: hidden; padding-block: 6px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent); mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent); }
.mq + .mq { margin-top: 8px; }
.mq__track { display: flex; width: max-content; }
.mq__list { display: flex; gap: 10px; padding-inline-end: 10px; }
.mq__list li { display: inline-flex; align-items: center; gap: 9px; padding: 8px 16px; border: 1px solid var(--line); border-radius: 999px; background: #fff; box-shadow: 0 1px 2px rgba(14, 14, 16, 0.05); font-size: 14.5px; font-weight: 600; white-space: nowrap; }
.mq__list li i { flex: none; width: 9px; height: 9px; border-radius: 50%; background: var(--c); box-shadow: 0 0 0 3px color-mix(in srgb, var(--c) 30%, transparent); }

/* How it works */
.how__steps { --gap: 20px; --col: calc((100% - var(--gap) * 2) / 3); position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); }
/* The rail joins the three numbers, from the middle of the first column to the middle of the last. */
.how__steps::before { content: ""; position: absolute; top: 21px; inset-inline: calc(var(--col) / 2); height: 2px; background: repeating-linear-gradient(90deg, var(--line-2) 0 6px, transparent 6px 12px); }
.how__steps::after { content: ""; position: absolute; top: 17px; inset-inline-start: calc(var(--col) / 2); width: 10px; height: 10px; margin-inline-start: -5px; border-radius: 50%; background: var(--editor-ink); box-shadow: 0 0 0 4px var(--editor-tint); opacity: 0; }
.how__steps li { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 18px; text-align: center; }
.how__n { display: grid; flex: none; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--editor); color: var(--ink); box-shadow: 0 0 0 6px var(--paper); font-size: 18px; font-weight: 900; }
.how__steps li:nth-child(2) .how__n { background: var(--writer); }
.how__steps li:nth-child(3) .how__n { background: var(--wp); }
.how__card { flex: 1; width: 100%; padding: 24px 26px; border: 1px solid var(--line); border-radius: var(--r-lg); background: #fff; box-shadow: var(--shadow-card); }
.how__card h3 { font-size: 21px; font-weight: 800; line-height: 1.5; }
.how__card p { margin-top: 8px; color: var(--ink-2); font-size: 16px; }

/* Team tabs */
.tabs__list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-bottom: 18px; }
.tab { position: relative; display: flex; align-items: center; gap: 12px; min-width: 0; padding: 12px 14px 16px; overflow: hidden; border: 1px solid var(--line); border-radius: 18px; background: #fff; color: var(--ink); text-align: start; cursor: pointer; transition: background-color var(--dur) var(--ease), border-color var(--dur) var(--ease), transform var(--dur-fast) var(--ease); }
.tab:hover { border-color: var(--line-2); }
.tab:active { transform: scale(0.98); }
.tab[aria-selected="true"] { border-color: transparent; background: var(--c); }
.tab .face { box-shadow: 0 0 0 2px #fff; }
.tab__txt { min-width: 0; }
.tab__txt b { display: block; font-size: 16px; font-weight: 800; line-height: 1.4; }
.tab__txt small { display: block; overflow: hidden; color: var(--ink-2); font-size: 13px; line-height: 1.5; white-space: nowrap; text-overflow: ellipsis; }
.tab[aria-selected="true"] small { color: var(--ink); }
.tab__bar { position: absolute; inset-inline: 14px; bottom: 8px; height: 3px; overflow: hidden; border-radius: 2px; background: rgba(14, 14, 16, 0.14); opacity: 0; }
.tab[aria-selected="true"] .tab__bar { opacity: 1; }
.tab__bar i { display: block; height: 100%; background: var(--ink); transform: scaleX(0); transform-origin: right; }
.tabs.is-manual .tab__bar { display: none; }
.tp { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 18px; }
.tp:focus-visible { outline-offset: 6px; border-radius: var(--r-xl); }
.tp__card { position: relative; isolation: isolate; overflow: hidden; padding: clamp(24px, 4vw, 40px); border-radius: var(--r-xl); background: var(--t); }
.tp__card::after { content: ""; position: absolute; inset-inline-end: -90px; bottom: -90px; z-index: -1; width: 280px; height: 280px; border-radius: 50%; background-image: radial-gradient(var(--c) 1.4px, transparent 1.8px); background-size: 8px 8px; -webkit-mask-image: radial-gradient(closest-side, #000, transparent); mask-image: radial-gradient(closest-side, #000, transparent); }
.tp__who { display: flex; align-items: center; gap: 14px; }
.tp__who .face { box-shadow: 0 0 0 4px #fff; }
.tp__who b { display: block; font-size: 19px; font-weight: 800; line-height: 1.5; }
.tp__who span { color: var(--ink-2); font-size: 14.5px; }
.tp__h { margin-top: 20px; font-size: clamp(22px, 2.4vw, 30px); font-weight: 900; line-height: 1.45; }
.tp__demo { position: relative; display: flex; flex-direction: column; justify-content: center; gap: 14px; min-height: 300px; padding: 22px; overflow: hidden; border: 1px solid var(--line); border-radius: var(--r-xl); background: #fff; box-shadow: var(--shadow-card); }
.tst { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; font-size: 13.5px; line-height: 1.6; }
.tst b { font-weight: 800; }
.tst > span:not(.face) { color: var(--ink-2); }
.trail { display: grid; gap: 10px; }
.trail li { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px; background: var(--paper); }
.trail__fav { flex: none; width: 18px; height: 18px; border-radius: 50%; background: var(--paper-3); }
.trail li:first-child .trail__fav { background: #1f7a4a; }
.trail span { color: var(--ink-2); font-size: 12.5px; font-weight: 700; }
.trail__ln { display: block; width: var(--w); height: 7px; border-radius: 4px; background: var(--paper-3); }
.tchip { align-self: flex-start; padding: 4px 12px; border-radius: 999px; background: var(--editor-tint); color: var(--editor-ink); font-size: 13px; font-weight: 800; }
.doc { display: grid; gap: 8px; padding: 16px; border-radius: 14px; background: var(--paper); }
.doc__t { font-size: 15px; font-weight: 800; }
.edit { padding: 16px; border-radius: 14px; background: var(--paper); font-size: 15px; line-height: 1.9; }
.edit del { display: block; color: var(--ink-3); text-decoration-color: var(--writer-ink); text-decoration-thickness: 2px; }
.edit ins { display: block; width: fit-content; margin-top: 8px; padding: 2px 10px; border-radius: 8px; background: var(--copy-tint); color: var(--copy-ink); font-weight: 700; text-decoration: none; }
.edit__fix { display: flex; align-items: center; gap: 10px; margin-top: 14px; font-size: 14px; }
.edit__fix span:first-child { color: var(--ink-3); text-decoration: line-through; }
.edit__fix span:last-child { color: var(--copy-ink); font-weight: 800; }
.edit__arrow { color: var(--ink-3); }
.paint { position: relative; overflow: hidden; border-radius: 14px; aspect-ratio: 3 / 2; }
.paint > svg { display: block; width: 100%; height: 100%; }
.paint__spec { position: absolute; inset-inline-end: 10px; bottom: 10px; padding: 1px 10px; border-radius: 999px; background: rgba(255, 255, 255, 0.92); font-size: 12px; font-weight: 700; }
.note { margin-top: 18px; color: var(--ink-3); font-size: 14px; text-align: center; }

/* Feature blocks */
.feat { overflow-x: clip; }
.feat__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); align-items: center; gap: clamp(32px, 5vw, 72px); }
.feat--flip .feat__copy { order: 2; }
.feat__copy .sub { max-width: 34em; }
.feat__vis { position: relative; isolation: isolate; container-type: inline-size; }
.feat__vis::before { content: ""; position: absolute; inset: -8% -6%; z-index: -1; border-radius: 50%; background-image: var(--dots); background-size: 8px 8px; opacity: 0.13; -webkit-mask-image: radial-gradient(closest-side, #000 30%, transparent); mask-image: radial-gradient(closest-side, #000 30%, transparent); }
.rules { display: grid; gap: 4px; margin-top: 20px; }
.rules li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 10px; padding: 7px 12px; border-radius: 12px; font-size: 15.5px; line-height: 1.75; transition: background-color var(--dur-slow) var(--ease), box-shadow var(--dur-slow) var(--ease); }
.rules svg { width: 18px; height: 18px; margin-top: 5px; padding: 3px; border-radius: 50%; background: var(--ink); color: #fff; }
.rules li.now { background: var(--writer-tint); box-shadow: inset -3px 0 0 var(--writer); }
.pair { margin-top: 24px; }
.pair h3 { font-size: 19px; font-weight: 800; line-height: 1.5; }
.pair p { max-width: 34em; margin-top: 6px; color: var(--ink-2); font-size: 16px; }
.kinds { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.kinds li { padding: 2px 12px; border-radius: 999px; background: var(--sc-tint); color: var(--sc-ink); font-size: 13.5px; font-weight: 700; line-height: 1.8; }
.mock { position: relative; border: 1px solid var(--line); border-radius: var(--r-xl); background: #fff; box-shadow: var(--shadow-float); }

/* Article mock */
.post { padding: 14px; }
.post__cover { overflow: hidden; border-radius: 20px; aspect-ratio: 16 / 7; }
.post__cover > svg { display: block; width: 100%; height: 100%; }
.post__body { padding: 16px 10px 6px; }
.post [data-t] { border-radius: 6px; transition: background-color var(--dur-slow) var(--ease), box-shadow var(--dur-slow) var(--ease); }
.post__url { color: var(--ink-3); font-size: 12px; text-align: left; }
.post__url b { font-weight: 600; color: var(--ink-2); }
.post__t { margin-top: 6px; font-size: clamp(18px, 1.8vw, 22px); font-weight: 900; line-height: 1.55; }
.post__t mark { background: linear-gradient(transparent 60%, var(--wp) 60%, var(--wp) 92%, transparent 92%); color: inherit; }
.post__meta { margin-top: 8px; color: var(--ink-2); font-size: 13.5px; line-height: 1.8; }
.post__lines { display: grid; gap: 8px; margin-top: 14px; }
.post__faq { display: grid; gap: 7px; margin-top: 14px; padding: 12px; border-radius: 12px; background: var(--paper); }
.post__faq b { font-size: 13px; font-weight: 800; }
.post__faq i { display: block; height: 7px; border-radius: 4px; background: var(--paper-3); }
.post__faq i:nth-of-type(2) { width: 80%; }
.post__faq i:nth-of-type(3) { width: 88%; }
.post__faq i:nth-of-type(4) { width: 70%; }
.post[data-scene="0"] [data-t="ptitle"],
.post[data-scene="1"] [data-t="slug"],
.post[data-scene="1"] [data-t="meta"],
.post[data-scene="4"] [data-t="faq"] { background-color: var(--writer-tint); box-shadow: 0 0 0 5px var(--writer-tint); }
.post[data-scene="2"] [data-t="h2"], .post[data-scene="3"] [data-t="link"] { box-shadow: 0 0 0 3px var(--writer); }
.pin { position: absolute; z-index: 3; display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px 4px 6px; border-radius: 999px; background: var(--ink); color: var(--paper); box-shadow: var(--shadow-card); font-size: 12.5px; font-weight: 700; line-height: 1.6; white-space: nowrap; opacity: 0; transform: translateY(8px) scale(0.9); transition: opacity 300ms var(--ease), transform 460ms var(--bounce); }
.pin::before { content: "✓"; display: grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; background: var(--copy); color: var(--ink); font-size: 11px; }
.pin.on { opacity: 1; transform: none; }
.pin--1 { top: 40%; inset-inline-end: -34px; }
.pin--2 { top: 52%; inset-inline-start: -34px; }
.pin--3 { top: 65%; inset-inline-end: -28px; }
.pin--4 { top: 75%; inset-inline-start: -28px; }
.pin--5 { top: 87%; inset-inline-end: -34px; }

@container (max-width: 440px) {
  .pin { top: 24px; right: 24px; bottom: auto; left: auto; }
  .pin.on:not(.now) { opacity: 0; transform: translateY(-6px) scale(0.9); }
}

/* Publish mock */
.pub { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 14px; padding: 16px 16px 40px; }
.pub__q { display: flex; flex-direction: column; gap: 8px; padding: 12px; border-radius: 18px; background: var(--paper); }
.pub__h { font-size: 14px; }
.pub__h b { font-weight: 800; }
.pub__h span { color: var(--ink-3); }
.pq { display: flex; align-items: center; gap: 10px; padding: 8px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.pq__th { flex: none; width: 44px; height: 34px; border-radius: 8px; background: #dcefe2 radial-gradient(rgba(20, 99, 61, 0.35) 1px, transparent 1.4px) 0 0 / 5px 5px; }
.pq[data-k="1"] .pq__th { background-color: #e7f0d9; }
.pq[data-k="2"] .pq__th { background-color: #f6dfd2; background-image: radial-gradient(rgba(143, 58, 29, 0.35) 1px, transparent 1.4px); }
.pq b { display: block; font-size: 12.5px; font-weight: 700; line-height: 1.55; }
.pq__st { font-size: 11.5px; font-weight: 700; }
.s-q { color: var(--wp-ink); }
.s-p { display: none; color: var(--ok); }
.s-p.on { display: inline; }
.s-q.off { display: none; }
.s-t { display: none; margin-inline-start: 4px; color: var(--ink-3); }
.s-t.on { display: inline; }
.pub__site { overflow: hidden; border: 1px solid var(--line); border-radius: 18px; background: #fff; }
.pub__bar { display: flex; align-items: center; gap: 8px; padding: 8px 10px; border-bottom: 1px solid var(--line); background: #fbfaf6; color: var(--ink-3); font-size: 12px; }
.pub__wp { padding: 0 8px; border-radius: 999px; background: var(--wp); color: var(--ink); font-size: 11.5px; font-weight: 800; }
.pub__quota { margin-inline-start: auto; color: var(--ink-2); font-weight: 700; white-space: nowrap; }
.pub__quota b { color: var(--ink); }
.pub__feed { display: grid; gap: 8px; padding: 10px; }
.pf { display: flex; align-items: center; gap: 10px; padding: 6px; border: 1px solid var(--line); border-radius: 10px; }
.pf[data-from] { display: none; }
.pf.on { display: flex; }
.pf__img { display: block; flex: none; width: 56px; height: 38px; border-radius: 7px; }
.pf__img--2 { background: #e7f0d9 radial-gradient(rgba(20, 99, 61, 0.35) 1px, transparent 1.4px) 0 0 / 5px 5px; }
.pf__img--3 { background: #f6dfd2 radial-gradient(rgba(143, 58, 29, 0.35) 1px, transparent 1.4px) 0 0 / 5px 5px; }
.pf b { font-size: 12.5px; font-weight: 700; line-height: 1.55; }
.pf--old { opacity: 0.55; }
.pub__checks { display: grid; gap: 6px; padding: 0 10px 12px; }
.pub__checks li { display: flex; align-items: center; gap: 6px; color: var(--ink-3); font-size: 12px; font-weight: 700; transition: color var(--dur-slow) var(--ease); }
.pub__checks svg { width: 16px; height: 16px; padding: 2px; border-radius: 50%; background: var(--paper-3); color: #fff; transition: background-color var(--dur-slow) var(--ease); }
.pub__checks li.on { color: var(--ok); }
.pub__checks li.on svg { background: var(--ok); }
.toast { position: absolute; inset-inline: 16px; bottom: -22px; display: flex; align-items: center; gap: 8px; padding: 10px 14px; border-radius: 14px; background: var(--ink); color: var(--paper); box-shadow: var(--shadow-float); font-size: 13px; font-weight: 700; line-height: 1.6; opacity: 0; transform: translateY(10px); transition: opacity 300ms var(--ease), transform 460ms var(--spring); }
.toast.now { opacity: 1; transform: none; }

@container (max-width: 540px) {
  .pub { grid-template-columns: minmax(0, 1fr); }
}

/* Page improvement demo */
.opt { position: relative; display: grid; }
.opt__page { width: 84%; padding: 14px 16px 44px; border: 1px solid var(--line); border-radius: 22px; background: #fff; box-shadow: var(--shadow-card); transform: rotate(-1.2deg); }
.opt__bar { display: flex; align-items: center; gap: 6px; color: var(--ink-3); font-size: 12px; }
.opt__bar i { width: 8px; height: 8px; border-radius: 50%; background: var(--paper-3); }
.opt__bar span[dir] { margin-inline-start: 6px; }
.opt__stamp { margin-inline-start: auto; padding: 0 10px; border-radius: 999px; background: var(--copy-tint); color: var(--copy-ink); font-weight: 800; opacity: 0; transform: scale(0.6); transition: opacity 300ms var(--ease), transform 460ms var(--bounce); }
.opt__h { position: relative; min-height: 3.2em; margin-top: 10px; font-size: 17px; font-weight: 900; line-height: 1.6; }
.opt__old, .opt__new { display: block; transition: opacity 400ms var(--ease), transform 500ms var(--ease-out); }
.opt__new { position: absolute; inset: 0; opacity: 0; transform: translateY(8px); }
.opt__page > i { display: block; width: var(--w); height: 7px; margin-top: 8px; border-radius: 4px; background: var(--paper-3); }
.opt[data-state="applied"] .opt__stamp { opacity: 1; transform: none; }
.opt[data-state="applied"] .opt__old { opacity: 0; transform: translateY(-8px); }
.opt[data-state="applied"] .opt__new { opacity: 1; transform: none; }
.opt__card { position: relative; z-index: 1; margin-top: -34px; margin-inline-start: 8%; padding: 18px; border: 1px solid var(--line); border-radius: 22px; background: #fff; box-shadow: var(--shadow-float); }
.opt__head { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.opt__head b { font-size: 15px; font-weight: 800; }
.opt__url { color: var(--ink-3); font-size: 12.5px; }
.opt__badge { margin-inline-start: auto; padding: 1px 10px; border-radius: 999px; background: var(--wp-tint); color: var(--wp-ink); font-size: 12px; font-weight: 800; transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease); }
.opt__badge > span { display: none; }
.opt[data-state="pending"] .b-p, .opt[data-state="applied"] .b-a, .opt[data-state="rejected"] .b-r, .opt[data-state="restored"] .b-s { display: inline; }
.opt[data-state="applied"] .opt__badge { background: var(--copy-tint); color: var(--copy-ink); }
.opt[data-state="rejected"] .opt__badge { background: var(--paper-2); color: var(--ink-2); }
.opt[data-state="restored"] .opt__badge { background: var(--sc-tint); color: var(--sc-ink); }
.opt__ev { margin-top: 6px; color: var(--ink-3); font-size: 13px; font-weight: 600; }
.opt__diff { display: grid; gap: 10px; margin-top: 12px; }
.opt__diff > div { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 10px; font-size: 14px; line-height: 1.75; }
.opt__diff dt { padding-top: 2px; color: var(--ink-3); font-size: 12.5px; font-weight: 700; }
.opt__diff del { display: block; color: var(--ink-3); text-decoration-thickness: 1.5px; }
.opt__diff ins { display: block; width: fit-content; padding: 1px 8px; border-radius: 6px; background: var(--copy-tint); color: var(--copy-ink); font-weight: 600; text-decoration: none; }
.opt[data-state="rejected"] .opt__diff ins, .opt[data-state="restored"] .opt__diff ins { background: var(--paper-2); color: var(--ink-3); }
.opt__preview { margin-top: 12px; padding: 12px 14px; border: 1px dashed var(--line-2); border-radius: 14px; background: var(--paper); }
.serp__url { color: var(--ink-3); font-size: 12px; text-align: left; }
.serp__t { color: #1a0dab; font-size: 16px; font-weight: 600; line-height: 1.6; }
.serp__d { color: var(--ink-2); font-size: 13px; line-height: 1.75; }
.opt__acts { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 14px; }
.opt__ok { position: relative; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--ok); color: #fff; }
.opt__hint { margin-top: 14px; color: var(--ink-3); font-size: 13px; text-align: center; }

/* Group chat mock */
.chat { display: flex; flex-direction: column; height: clamp(500px, 46vw, 570px); overflow: hidden; }
.chat__head { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-bottom: 1px solid var(--line); }
.chat__head b { display: block; font-size: 14.5px; font-weight: 800; line-height: 1.5; }
.chat__head small { color: var(--ink-3); font-size: 12px; }
.stack { display: flex; }
.stack .face + .face { margin-inline-start: -7px; }
.stack .face { box-shadow: 0 0 0 2px #fff; }
.chat__log { display: flex; flex: 1; flex-direction: column; justify-content: flex-end; gap: 12px; min-height: 0; padding: 16px; overflow: hidden; background: var(--paper); }
.msg { display: none; align-items: flex-end; gap: 8px; max-width: 92%; }
.msg.on, .msg.now { display: flex; }
.msg--you { align-self: flex-end; }
.msg__b { min-width: 0; padding: 10px 12px; border: 1px solid var(--line); border-radius: 16px; background: #fff; box-shadow: 0 1px 2px rgba(14, 14, 16, 0.04); font-size: 13.5px; line-height: 1.75; }
.msg--you .msg__b { border-color: transparent; background: #18181a; color: #fff; }
.msg__n { display: flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 800; }
.msg__n::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--c); }
.digest { display: grid; gap: 6px; margin-top: 6px; }
.digest li { font-size: 12.5px; line-height: 1.7; }
.k { display: inline-block; margin-inline-end: 6px; padding: 0 8px; border-radius: 999px; font-size: 11px; font-weight: 800; }
.k--q { background: var(--sc-tint); color: var(--sc-ink); }
.k--g { background: var(--writer-tint); color: var(--writer-ink); }
.k--m { background: var(--wp-tint); color: var(--wp-ink); }
.at { color: var(--editor-ink); font-weight: 800; }
.msg--you .at { color: #c9c2ff; }
.pcard { display: flex; align-items: center; gap: 10px; margin-top: 6px; padding: 6px; border-radius: 12px; background: var(--paper); }
.pcard > svg { flex: none; width: 64px; height: 44px; border-radius: 8px; }
.pcard b { display: block; font-size: 12.5px; font-weight: 800; line-height: 1.55; }
.pcard span { color: var(--wp-ink); font-size: 11.5px; font-weight: 700; }
.chat__compose { display: flex; align-items: center; gap: 8px; min-height: 46px; margin: 12px; padding: 7px; padding-inline-start: 14px; border: 1px solid var(--line-2); border-radius: 999px; background: #fff; font-size: 13px; }
.ph, .typed { flex: 1; min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.ph { color: #6e6e76; }
.typed { display: none; }
.chat[data-scene="1"] .ph { display: none; }
.chat[data-scene="1"] .typed { display: block; }
.send { display: grid; flex: none; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--ink); color: #fff; }

/* Numbers */
.nums .h2 { text-align: center; }
.nums__grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); margin-top: clamp(28px, 4vw, 44px); border-top: 1.5px solid var(--ink); }
.nums__grid li { padding: 22px 18px 6px; border-inline-start: 1px solid var(--line); }
.nums__grid li:first-child { border-inline-start: 0; padding-inline-start: 0; }
.nums__grid b { display: block; font-size: clamp(32px, 3.6vw, 52px); font-weight: 900; line-height: 1.25; white-space: nowrap; }
.nums__grid b.nums__range { font-size: clamp(24px, 2.5vw, 36px); line-height: 1.8; }
.nums__grid span { display: block; margin-top: 8px; color: var(--ink-2); font-size: 15px; line-height: 1.7; }

/* Control */
.ctrl__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.ctrl__grid li { padding: 26px; border: 1px solid var(--line); border-radius: var(--r-lg); background: #fff; }
.shield { color: var(--ok); }
.js .shield { stroke-dasharray: 1; stroke-dashoffset: 1; }
.ctrl__grid h3 { margin-top: 14px; font-size: 19px; font-weight: 800; line-height: 1.5; }
.ctrl__grid p { margin-top: 6px; color: var(--ink-2); font-size: 15.5px; }

/* FAQ */
.faq__in { max-width: 860px; }
.faq__list { margin-top: 24px; border-top: 1.5px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--line-2); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; padding-block: 14px; font-size: 18px; font-weight: 700; line-height: 1.6; list-style: none; cursor: pointer; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 32px; height: 32px; border: 1.5px solid var(--line-2); border-radius: 50%; background: linear-gradient(var(--ink), var(--ink)) center / 12px 2px no-repeat, linear-gradient(var(--ink), var(--ink)) center / 2px 12px no-repeat; transition: transform var(--dur-slow) var(--spring), background-color var(--dur) var(--ease); }
.faq summary:hover::after { background-color: #fff; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { max-width: 46em; padding-bottom: 20px; color: var(--ink-2); font-size: 16.5px; }

/* Closing call */
.cta-sec { padding-bottom: clamp(72px, 10vw, 120px); }
.cta { position: relative; isolation: isolate; overflow: hidden; padding: clamp(48px, 7vw, 96px) clamp(20px, 5vw, 64px); border-radius: clamp(24px, 3vw, 40px); background: var(--ink); color: var(--paper); text-align: center; }
.cta .ht { z-index: -1; background-image: radial-gradient(var(--paper) 1.1px, transparent 1.5px); background-size: 8px 8px; opacity: 0.22; }
.ht--a { width: 440px; height: 440px; top: -170px; inset-inline-start: -130px; }
.ht--b { width: 380px; height: 380px; bottom: -180px; inset-inline-end: -100px; }
.cta__team { display: flex; justify-content: center; }
.cta__team .face { margin-inline: -5px; box-shadow: 0 0 0 3px var(--ink), 0 0 0 5px var(--c); }
.cta__h { max-width: 15em; margin: 22px auto 0; font-size: clamp(30px, 4.6vw, 56px); font-weight: 900; line-height: 1.3; text-wrap: balance; }
.cta__sub { max-width: 36em; margin: 14px auto 0; color: rgba(246, 243, 236, 0.8); font-size: clamp(16.5px, 1.5vw, 18.5px); }
.start--dark { border-color: rgba(246, 243, 236, 0.4); background: rgba(255, 255, 255, 0.07); box-shadow: none; }
.start--dark input { color: var(--paper); }
.start--dark input::placeholder { color: rgba(246, 243, 236, 0.6); }
.start--dark .start__ic { color: rgba(246, 243, 236, 0.7); }
.start--dark:focus-within { outline-color: var(--editor); }
.cta .start__err { color: #ffb4a8; }
.cta__cursors .pc { opacity: 0; translate: var(--sx) var(--sy); transition: translate 1.4s var(--spring), opacity 0.6s var(--ease); }
.cta-sec.in .cta__cursors .pc { opacity: 1; translate: 0 0; }
.pc--a { right: calc(50% + 320px); bottom: 150px; --sx: 120px; --sy: -110px; --fx: -10px; --fy: 8px; --fd: 6s; }
.pc--b { left: calc(50% + 300px); bottom: 170px; --sx: -140px; --sy: -90px; --fx: 12px; --fy: -8px; --fd: 7s; }
.pc--c { right: calc(50% + 380px); bottom: 70px; --sx: 160px; --sy: 80px; --fx: 8px; --fy: 10px; --fd: 6.5s; }
.pc--d { left: calc(50% + 340px); bottom: 64px; --sx: -150px; --sy: 90px; --fx: -12px; --fy: 6px; --fd: 7.5s; transition-delay: 0.15s; }

/* Footer */
.foot { position: relative; overflow: hidden; border-top: 1px solid var(--line); background: var(--paper-2) var(--grain); }
.foot__grid { display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(2, minmax(0, 1fr)); gap: 32px; padding-block: 56px 24px; }
.foot__brand p { max-width: 28em; margin-top: 12px; color: var(--ink-2); font-size: 15px; }
.foot h2 { color: var(--ink-3); font-size: 14px; font-weight: 800; }
.foot ul { display: grid; gap: 2px; margin-top: 10px; }
.foot nav a { display: inline-flex; align-items: center; min-width: 44px; min-height: 44px; color: var(--ink-2); text-decoration: none; }
.foot nav a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 5px; }
.foot__big { margin: 0; padding-inline: var(--gutter); color: transparent; background-image: radial-gradient(var(--ink) 1.3px, transparent 1.8px); background-size: 7px 7px; -webkit-background-clip: text; background-clip: text; font-size: min(12.5vw, 176px); font-weight: 900; line-height: 1.15; text-align: center; white-space: nowrap; opacity: 0.8; user-select: none; }
.foot__base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-block: 18px 28px; border-top: 1px solid var(--line); color: var(--ink-3); font-size: 13.5px; }

/* Scroll reveal */
.js [data-rv] .rv-i { opacity: 0; }
.js [data-rv].in .rv-i { animation: rv 720ms var(--ease-out) calc(var(--i, 0) * 70ms) both; }
.ctrl, .faq, .foot { content-visibility: auto; contain-intrinsic-size: auto 720px; }

/* Motion. Everything below runs only when the visitor allows motion. */
@media (prefers-reduced-motion: no-preference) {
  .up { animation: rv 820ms var(--ease-out) calc(120ms + var(--i, 0) * 90ms) both; }
  .h1__em { animation: mark-sweep 900ms var(--ease-out) 900ms both; }
  .live-dot { animation: live 1.8s var(--ease) infinite; }
  .dots i { animation: dot 1.2s var(--ease) infinite; }
  .dots i:nth-child(2) { animation-delay: 0.15s; }
  .dots i:nth-child(3) { animation-delay: 0.3s; }
  .face[data-blink] [data-lid] { animation: blink 160ms linear; }
  .face.talking [data-part="mouth"] { animation: speak 1.2s var(--ease) infinite; }

  .bar .mark__a { animation: mk-a 900ms var(--spring) 150ms both; }
  .bar .mark__b { animation: mk-b 900ms var(--spring) 150ms both; }
  .bar .mark__core { animation: mk-core 720ms var(--spring) 780ms both; }
  .foot.in .mark__a { animation: mk-a 900ms var(--spring) both; }

  .hero__cursors .pc { animation: pc-in 900ms var(--spring) calc(1.1s + var(--k, 0) * 140ms) both, float var(--fd) ease-in-out 2s infinite alternate; }
  .pc--2 { --k: 1; }
  .pc--3 { --k: 2; }
  .pc--4 { --k: 3; }
  .cta-sec.in .cta__cursors .pc { animation: float var(--fd) ease-in-out 1.5s infinite alternate; }
  .cta-sec.in .cta__team .face { animation: bob 3.2s ease-in-out infinite; }
  .cta__team .face:nth-child(2) { animation-delay: 0.25s; }
  .cta__team .face:nth-child(3) { animation-delay: 0.5s; }
  .cta__team .face:nth-child(4) { animation-delay: 0.75s; }

  .cur.is-click .cur__a { animation: press 340ms var(--ease); }
  .cur.is-click::before { animation: ripple 520ms var(--ease-out); }

  .engine__ring { animation: spin 1.4s linear infinite; }
  .film[data-scene="5"] .engine__ring { animation: none; }
  li.now .jc__n::after { animation: spin 0.9s linear infinite; }
  .jc__bar i.now::after { animation: seg 1.6s var(--ease) infinite alternate; }
  li.on .jc__n svg { animation: pop 380ms var(--bounce); }

  [data-scene="0"] .site__type { animation: type-ltr 900ms steps(11) 250ms both; }
  [data-scene="0"] .site__body { animation: rise 520ms var(--ease-out) 1.1s both; }
  [data-scene="0"] .site__logo::after { animation: box-in 460ms var(--bounce) 1.9s both; }
  [data-scene="0"] .found { animation: pop-in 460ms var(--bounce) 2.2s both; }

  [data-scene="1"] .pg { animation: pg-in 540ms var(--spring) calc(var(--k) * 260ms) both; }
  [data-scene="1"] .pg__ok { animation: pop 380ms var(--bounce) calc(var(--k) * 260ms + 520ms) both; }
  [data-scene="1"] .pages__beam { animation: beam 2.4s var(--ease) 200ms both; }
  [data-scene="1"] .ask { animation: rise 520ms var(--ease-out) 1.7s both; }

  [data-scene="2"] .brief { animation: rise 520ms var(--ease-out) 100ms both; }
  [data-scene="2"] .brief__row { animation: rise 480ms var(--ease-out) calc(300ms + var(--k) * 380ms) both; }
  [data-scene="2"] .ask--2 { animation: rise 520ms var(--ease-out) 1.6s both; }

  [data-scene="3"] .team-note { animation: pop-in 460ms var(--bounce) 100ms both; }
  [data-scene="3"] .mate { animation: mate-in 600ms var(--bounce) calc(260ms + var(--k) * 420ms) both; }

  [data-scene="4"] .draft__t span { animation: wipe-rtl 1.6s steps(30) 300ms both; }
  [data-scene="4"] .draft__body i { animation: grow 620ms var(--ease-out) calc(1.6s + var(--k) * 400ms) both; }
  [data-scene="4"] .seo li { animation: seo-on 420ms var(--ease) calc(2.3s + var(--k) * 620ms) both; }
  [data-scene="4"] .seo li svg { animation: seo-ck 460ms var(--bounce) calc(2.3s + var(--k) * 620ms) both; }

  [data-scene="5"] .done__cover > svg { animation: develop 2.7s linear both; }
  [data-scene="5"] .done__by { animation: by 2.9s linear both; }
  [data-scene="5"] .done__ck { animation: pop 520ms var(--bounce) 2.6s both; }
  [data-scene="5"] .done__ck .burst i { animation: burst 640ms var(--ease-out) 2.75s both; }
  [data-scene="5"] .done__txt > :not(.done__ck) { animation: rise 520ms var(--ease-out) 2.8s both; }

  .mq__track { animation: mq 52s linear infinite; }
  .mq--rev .mq__track { animation-direction: reverse; animation-duration: 58s; }
  .mq:hover .mq__track { animation-play-state: paused; }

  .how.in .how__steps::after { animation: travel 5.5s var(--ease) 1s infinite; }
  .how.in .how__steps li:not(:last-child)::before { animation: travel-down 2.4s var(--ease) calc(1s + var(--k, 0) * 1.2s) infinite; }
  .how__steps li:nth-child(2) { --k: 1; }

  .tabs:not(.is-manual) .tab[aria-selected="true"] .tab__bar i { animation: tab-fill 7s linear both; }
  .tabs:hover .tab__bar i, .tabs:focus-within .tab__bar i { animation-play-state: paused; }
  .tp:not([hidden]) .trail li { animation: rise 520ms var(--ease-out) calc(400ms + var(--k) * 480ms) both; }
  .tp:not([hidden]) .tchip { animation: pop-in 520ms var(--bounce) 2s both; }
  .tp:not([hidden]) .doc__t { animation: wipe-rtl 1.2s steps(24) 300ms both; }
  .tp:not([hidden]) .doc i { animation: grow 620ms var(--ease-out) calc(1.1s + var(--k) * 420ms) both; }
  .tp:not([hidden]) .edit del { animation: strike 500ms var(--ease) 900ms both; }
  .tp:not([hidden]) .edit ins { animation: rise 520ms var(--ease-out) 1.5s both; }
  .tp:not([hidden]) .edit__fix { animation: rise 520ms var(--ease-out) 2.3s both; }
  .tp:not([hidden]) .paint > svg { animation: develop 3.2s linear 300ms both; }

  .pf.on { animation: drop-in 560ms var(--bounce) both; }
  .pub[data-scene="1"] .pq[data-k="0"], .pub[data-scene="3"] .pq[data-k="1"] { animation: send 720ms var(--ease) both; }
  .msg.on, .msg.now { animation: msg-in 460ms var(--bounce) both; }
  .chat[data-scene="1"] .typed { animation: wipe-rtl 1.5s steps(30) 200ms both; }
  .send[data-picked] { animation: press 320ms var(--ease); }

  .opt[data-state="applied"] .opt__ok { animation: pop 520ms var(--bounce) both; }
  .opt[data-state="applied"] .opt__ok .burst i { animation: burst 640ms var(--ease-out) 120ms both; }
  .opt__preview:not([hidden]) { animation: rise 360ms var(--ease-out) both; }
  .faq details[open] p { animation: rise 360ms var(--ease-out) both; }
  .ctrl.in .shield { animation: draw 1s var(--ease-out) calc(300ms + var(--i, 0) * 90ms) both; }
}

/* Off screen or in a hidden tab: hold every loop where it is. */
.is-off *, .is-off *::before, .is-off *::after,
.is-hidden *, .is-hidden *::before, .is-hidden *::after { animation-play-state: paused !important; }

@keyframes rv { from { opacity: 0; transform: translateY(14px); filter: blur(5px); } to { opacity: 1; transform: none; filter: none; } }
@keyframes rise { from { opacity: 0; transform: translateY(10px); } }
@keyframes pop { from { transform: scale(0); } }
@keyframes pop-in { from { opacity: 0; transform: translateY(-6px) scale(0.85); } to { opacity: 1; transform: none; } }
@keyframes mark-sweep { from { background-size: 0% 100%; } }
@keyframes live { 0% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.5); } 70%, 100% { box-shadow: 0 0 0 8px rgba(34, 197, 94, 0); } }
@keyframes dot { 0%, 60%, 100% { opacity: 0.35; transform: none; } 30% { opacity: 1; transform: translateY(-3px); } }
@keyframes blink { 50% { transform: scaleY(0.08); } }
@keyframes speak { 0%, 40%, 80%, 100% { transform: scaleY(1); } 20%, 60% { transform: scaleY(0.84); } }
@keyframes mk-a { from { opacity: 0; transform: translate(-6px, -8px) rotate(-70deg) scale(0.5); } }
@keyframes mk-b { from { opacity: 0; transform: translate(6px, 8px) rotate(70deg) scale(0.5); } }
@keyframes mk-core { 0% { opacity: 0; transform: translateY(-16px) scale(0); } 60% { opacity: 1; transform: translateY(1px) scale(1.4); } 100% { transform: none; } }
@keyframes pc-in { from { opacity: 0; translate: 0 24px; scale: 0.8; } }
@keyframes float { to { transform: translate(var(--fx), var(--fy)); } }
@keyframes bob { 50% { transform: translateY(-6px); } }
@keyframes press { 50% { transform: scale(0.8); } }
@keyframes ripple { from { opacity: 0.9; transform: scale(0.4); } to { opacity: 0; transform: scale(1.6); } }
@keyframes spin { to { transform: rotate(1turn); } }
@keyframes seg { from { opacity: 1; } to { opacity: 0.45; } }
@keyframes type-ltr { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes wipe-rtl { from { clip-path: inset(0 0 0 100%); } to { clip-path: inset(0 0 0 0); } }
@keyframes box-in { from { opacity: 0; transform: scale(1.18); } to { opacity: 1; transform: none; } }
@keyframes pg-in { from { opacity: 0; transform: perspective(600px) rotateX(-50deg) translateY(10px); } }
@keyframes beam { 0% { opacity: 0; background-position: 100% 0; } 15%, 85% { opacity: 1; } 100% { opacity: 0; background-position: 0% 0; } }
@keyframes mate-in { from { opacity: 0; transform: translateY(16px) scale(0.8); } }
@keyframes grow { from { transform: scaleX(0); } }
@keyframes seo-on { from { opacity: 0.4; } }
@keyframes seo-ck { from { background-color: var(--paper-3); transform: scale(0.4); } }
@keyframes develop { 0%, 33% { filter: blur(14px) saturate(0.3); transform: scale(1.08); } 34%, 66% { filter: blur(6px) saturate(0.7); transform: scale(1.08); } 67%, 100% { filter: none; transform: none; } }
@keyframes by { 0%, 86% { opacity: 1; } 100% { opacity: 0; } }
@keyframes burst { 0% { opacity: 1; transform: rotate(var(--r)) translateY(-14px) scaleY(1); } 100% { opacity: 0; transform: rotate(var(--r)) translateY(-32px) scaleY(0.4); } }
@keyframes mq { to { transform: translateX(50%); } }
@keyframes travel { 0% { opacity: 0; inset-inline-start: calc(var(--col) / 2); } 12% { opacity: 1; } 88% { opacity: 1; } 100% { opacity: 0; inset-inline-start: calc(100% - var(--col) / 2); } }
@keyframes travel-down { 0% { opacity: 0; top: 48px; } 15% { opacity: 1; } 85% { opacity: 1; } 100% { opacity: 0; top: calc(100% + 2px); } }
@keyframes tab-fill { to { transform: none; } }
@keyframes strike { from { text-decoration-color: transparent; } }
@keyframes drop-in { from { opacity: 0; transform: translateY(-14px) scale(0.96); } }
@keyframes send { 45% { transform: translateX(-16px) scale(0.98); } }
@keyframes msg-in { from { opacity: 0; transform: translateY(12px) scale(0.96); } }
@keyframes draw { to { stroke-dashoffset: 0; } }

/* Layout steps */
@media (max-width: 1080px) {
  .nums__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .nums__grid li:nth-child(4) { border-inline-start: 0; padding-inline-start: 0; }
  .nums__grid li:nth-child(n + 4) { border-top: 1px solid var(--line); }
  .ctrl__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero__cursors { display: none; }
}

@media (max-width: 980px) {
  .navtoggle { display: inline-flex; }
  .nav { position: absolute; top: 100%; inset-inline: 0; display: none; flex-direction: column; gap: 2px; margin: 0; padding: 10px var(--gutter) 16px; border-bottom: 1px solid var(--line); background: var(--paper); box-shadow: 0 24px 40px -24px rgba(14, 14, 16, 0.3); }
  .bar.is-open .nav { display: flex; }
  .nav a { min-height: 48px; font-size: 17px; }
  .bar__actions { margin-inline-start: auto; }
  .feat__grid { grid-template-columns: minmax(0, 1fr); }
  .feat--flip .feat__copy { order: 0; }
  .feat__vis { max-width: 640px; width: 100%; margin-inline: auto; }
  .tp { grid-template-columns: minmax(0, 1fr); }
  .tab { gap: 10px; padding-inline: 12px; }
  .how__card { padding: 20px; }
  .how__card h3 { font-size: 19px; }
  .how__card p { font-size: 15.5px; }
  .foot__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .foot__brand { grid-column: 1 / -1; }
  .pc--a, .pc--b, .pc--c, .pc--d { display: none; }
}

@media (max-width: 860px) {
  .win__body { grid-template-columns: minmax(0, 1fr); }
  .jc { border-inline-end: 0; border-bottom: 1px solid var(--line); }
  .jc__foot { display: none; }
  .stage { min-height: 400px; }
}

@media (max-width: 720px) {
  .how__steps { --gap: 16px; grid-template-columns: minmax(0, 1fr); }
  .how__steps::before, .how__steps::after { display: none; }
  .how__steps li { display: grid; grid-template-columns: 44px minmax(0, 1fr); align-items: start; gap: 14px; text-align: start; }
  .how__steps li:not(:last-child)::after { content: ""; position: absolute; top: 50px; bottom: -12px; inset-inline-start: 21px; width: 2px; background: repeating-linear-gradient(180deg, var(--line-2) 0 6px, transparent 6px 12px); }
  .how__steps li:not(:last-child)::before { content: ""; position: absolute; top: 48px; inset-inline-start: 17px; z-index: 1; width: 10px; height: 10px; border-radius: 50%; background: var(--editor-ink); box-shadow: 0 0 0 4px var(--editor-tint); opacity: 0; }
  .how__n { box-shadow: none; }
  .how__card { padding: 18px 20px; }
  .how__card h3 { font-size: 19px; }
  .how__card p { font-size: 15.5px; }
}

@media (max-width: 640px) {
  body { font-size: 16.5px; }
  .bar__login { display: none; }
  .nav a.nav__login { display: inline-flex; }
  .bar__in { min-height: 64px; gap: 10px; }
  .bar__actions .btn { min-height: 42px; padding-inline: 16px; }
  .logo { font-size: 16px; }
  .start { padding-inline-start: 14px; }
  .start__ic { display: none; }
  .start .btn { padding-inline: 16px; }
  .stage { min-height: 440px; }
  /* The journey card shows the step in progress; all five once the launch is done. */
  .jc { gap: 12px; padding: 16px; }
  .jc__steps li:not(.now) { display: none; }
  .film[data-scene="5"] .jc__steps li, .film.is-still .jc__steps li { display: grid; }
  .pages { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pg:nth-child(n + 5):not(.pages__beam) { display: none; }
  .pages__beam { display: block; }
  .mates { gap: 8px; }
  .mate { padding-inline: 6px; }
  .mate .face { --fs: 44px; }
  .mate span { font-size: 11px; }
  .sc--write { grid-template-columns: minmax(0, 1fr); }
  .seo { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .seo li { padding: 5px 8px; font-size: 11.5px; }
  .done { grid-template-columns: minmax(0, 1fr); gap: 12px; padding: 12px; }
  .done__cover { aspect-ratio: 16 / 8; }
  .tabs__list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .tab { padding: 10px 10px 14px; }
  .tab .face { --fs: 30px; }
  .tab__txt b { font-size: 15px; }
  .tab__txt small { font-size: 12.5px; }
  .tab__bar { inset-inline: 10px; bottom: 6px; }
  .tp__demo { min-height: 260px; padding: 16px; }
  .opt__page { width: 92%; }
  .opt__card { margin-inline-start: 4%; padding: 14px; }
  .opt__diff > div { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .nums__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nums__grid li, .nums__grid li:nth-child(4) { border-inline-start: 1px solid var(--line); padding-inline-start: 16px; }
  .nums__grid li:nth-child(odd) { border-inline-start: 0; padding-inline-start: 0; }
  .nums__grid li:nth-child(n + 3) { border-top: 1px solid var(--line); }
  .nums__grid li:last-child { grid-column: 1 / -1; }
  .ctrl__grid { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .ctrl__grid li { display: grid; grid-template-columns: 28px minmax(0, 1fr); column-gap: 14px; padding: 20px; }
  .ctrl__grid .shield { grid-row: span 2; }
  .ctrl__grid h3 { margin-top: 0; font-size: 18px; }
  .foot__grid { gap: 24px 16px; padding-block: 44px 16px; }
  .foot__base { flex-direction: column; }
}

/* Reduced motion: no loops, cursors or reveals; every scene shows its end state. */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-delay: 0s !important; animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; transition-delay: 0s !important; }
  .js [data-rv] .rv-i { opacity: 1; animation: none !important; }
  .hero__cursors, .cta__cursors, .cur { display: none !important; }
  .mq { -webkit-mask-image: none; mask-image: none; }
  .mq__track { width: auto; padding-inline: var(--gutter); }
  .mq__list { flex-wrap: wrap; justify-content: center; padding: 0; }
  .mq__list[aria-hidden="true"] { display: none; }
  .js .shield { stroke-dashoffset: 0; }
}
