/* dznir landing — "centered calm". Warm paper, ink, one vermilion accent.
   Instrument Sans for everything, Instrument Serif italic for the human touch. 8px grid. */

:root {
  --paper: #FAF9F6;
  --paper-2: #FFF1EA;
  --card: #FFFFFF;
  --ink: #111110;
  --ink-2: #3A3936;
  --muted: #6B675F;
  --line: rgba(17, 17, 16, 0.09);
  --accent: #FF4D1F;
  --accent-ink: #C2300A;
  --ok: #1E8A4C;
  --zl: var(--accent);

  --sans: 'Instrument Sans', system-ui, -apple-system, sans-serif;
  --serif: 'Instrument Serif', Georgia, serif;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --wrap: 1200px;
  --gutter: 32px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; overflow-x: clip; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 17px/1.55 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: clip; }
img, svg { display: block; }
a { color: inherit; }
em { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -0.01em; }
::selection { background: var(--accent); color: var(--ink); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.skip { position: fixed; left: 16px; top: -64px; z-index: 100; padding: 8px 16px; border-radius: 8px; background: var(--ink); color: var(--paper); }
.skip:focus { top: 16px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Barely-there paper grain */
.paper {
  position: fixed; inset: 0; z-index: 90; pointer-events: none; opacity: 0.035; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- Logo ---------- */
.logo { display: inline-flex; text-decoration: none; }
.wm { display: inline-flex; align-items: baseline; font: 800 26px/1 'Bricolage Grotesque', var(--sans); letter-spacing: -0.045em; color: var(--ink); white-space: nowrap; }
.wm__z { width: 0.52em; height: 0.56em; margin: 0 0.03em 0 0.02em; overflow: visible; transition: transform 0.6s var(--ease-out); }
/* "dznir/": the product's own slash (the orange bar tilted -22°, as in the menus' current-page marker) after the
   wordmark, with the spacing of a typed slash. Same rule in dznir-landing/styles.css, hq/admin.css and app.css. */
.wm::after { content: ''; flex: none; width: 0.14em; height: 0.72em; margin-left: 0.1em; border-radius: 0.07em; background: var(--accent); transform: skewX(-22deg); }
.logo:hover .wm__z { transform: rotate(-10deg); }
.wm--sm { font-size: 18px; }

/* ---------- Buttons ---------- */
.btn {
  position: relative; overflow: hidden; isolation: isolate;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 48px; padding: 0 24px; border: 0; border-radius: 999px;
  background: var(--ink); color: #FFFFFF; font: 600 15px/1 var(--sans); text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: transform 0.25s var(--ease-out), color 0.35s, box-shadow 0.25s;
}
.btn::before { content: ''; position: absolute; inset: 0; z-index: -1; border-radius: inherit; background: var(--accent); transform: translateY(101%); transition: transform 0.45s var(--ease-out); }
.btn:hover::before, .btn:focus-visible::before { transform: none; }
.btn:hover, .btn:focus-visible { color: var(--ink); transform: translateY(-1px); box-shadow: 0 12px 26px -14px rgba(255, 77, 31, 0.7); }
.btn:active { transform: translateY(0); }
.btn--small { height: 40px; padding: 0 16px; font-size: 14px; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: 0.6; cursor: wait; }
.btn[hidden] { display: none; }

/* ---------- Nav ---------- */
.nav { position: sticky; top: 12px; z-index: 50; padding: 0 var(--gutter); }
.nav__inner {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  max-width: calc(var(--wrap) - 2 * var(--gutter)); height: 64px; margin: 0 auto; padding: 0 8px 0 24px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.72); border: 1px solid rgba(17, 17, 16, 0.08);
  -webkit-backdrop-filter: blur(16px) saturate(1.4); backdrop-filter: blur(16px) saturate(1.4);
  transition: box-shadow 0.3s, background 0.3s;
}
.nav.is-scrolled .nav__inner { background: rgba(255, 255, 255, 0.88); box-shadow: 0 16px 36px -24px rgba(17, 17, 16, 0.45); }
.nav__links { display: flex; margin-left: auto; } /* menu sits on the right, next to the main button */
/* One rhythm: 32px between every link, Log in and the button (12px right + 20px left padding; Log in's 12px + 8px gap + 12px margin) */
@media (min-width: 961px) { .nav__inner { gap: 8px; } .nav__inner > .nav__login { margin-right: 12px; } } /* Log in to the button: 32px, the same as between links (owner, 28 Oct) */
.nav__links a { position: relative; padding: 8px 12px 8px 20px; border-radius: 999px; font-size: 15px; font-weight: 500; color: var(--muted); text-decoration: none; transition: color 0.2s; }
/* Current section gets the "/" from dznir.com/you, same skewed bar as the Slash mark.
   Its space is always reserved (20px left padding), so text never moves. */
.nav__links a::before {
  content: ''; position: absolute; left: 8px; top: 50%; width: 4px; height: 16px; margin-top: -8px; border-radius: 2px;
  background: var(--accent); transform: skewX(-22deg) scaleY(0); transform-origin: bottom; transition: transform 0.35s var(--ease-out);
}
.nav__links a:hover { color: var(--ink); }
.nav__links a.is-active { color: var(--ink); }
.nav__links a.is-active::before { background: var(--accent); transform: skewX(-22deg) scaleY(1); }
.nav__links a:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.nav .wm { font-size: 24px; }
.nav .btn--small { height: 40px; padding: 0 16px; }

/* ---------- Type ---------- */
.kicker { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 16px; font-size: 13px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.kicker::before { content: ''; width: 18px; height: 2px; border-radius: 2px; background: var(--accent); }
.sec-title { margin: 0; font-weight: 600; font-size: clamp(36px, 4.4vw, 60px); line-height: 1.04; letter-spacing: -0.04em; }
.sec-title em { letter-spacing: -0.02em; color: var(--accent); }
.hero__title em { color: var(--accent); padding-right: 0.03em; }
.sec-head { text-align: center; margin-bottom: 64px; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 48px 0 64px; overflow: hidden; }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 40px; align-items: center; min-height: calc(100svh - 72px - 104px); }
.hero__copy { display: flex; flex-direction: column; align-items: flex-start; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; margin: 0; padding: 8px 16px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); font-size: 13px; font-weight: 600; color: var(--ink-2); }
.eyebrow i { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 3px rgba(255, 77, 31, 0.2); }
.hero__title { margin: 24px 0 20px; font-weight: 600; font-size: clamp(48px, 6vw, 88px); line-height: 0.98; letter-spacing: -0.05em; }
.line { display: block; overflow: hidden; padding-bottom: 0.08em; margin-bottom: -0.08em; }
.line__inner { display: block; }
.hero__lede { max-width: 28em; margin: 0 0 24px; font-size: clamp(18px, 1.4vw, 20px); color: var(--muted); }
.hero__claim { width: min(500px, 100%); }
.hero__note { margin: 12px 0 0; font-size: 13px; color: var(--muted); }

/* Claim form (two steps: name, then details) */
.claim { text-align: left; }
.claim__label { display: block; margin: 0 0 8px 20px; font-size: 13px; font-weight: 600; color: var(--ink-2); }
.claim__field {
  display: flex; align-items: center; gap: 8px; height: 64px; padding: 8px 8px 8px 20px;
  border-radius: 999px; background: var(--card); border: 1px solid rgba(17, 17, 16, 0.12);
  box-shadow: 0 1px 0 rgba(17, 17, 16, 0.04), 0 16px 36px -24px rgba(17, 17, 16, 0.35);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.claim__field:focus-within { border-color: var(--accent); box-shadow: 0 0 0 4px rgba(255, 77, 31, 0.14); }
.claim__icon { display: grid; place-items: center; color: var(--accent); }
.claim__icon svg { width: 18px; height: 18px; }
.claim__prefix { color: var(--muted); font-weight: 500; white-space: nowrap; }
.claim__field input { flex: 1; min-width: 0; height: 100%; border: 0; outline: 0; background: none; font: 600 17px var(--sans); color: var(--ink); }
.claim__field input::placeholder { color: rgba(17, 17, 16, 0.3); }
.claim__field .btn { height: 48px; }
.claim__hint { margin: 12px 0 0; font-size: 13px; color: var(--muted); }
.claim__hint:empty { margin-top: 0; }
/* Once there's a name status ("is free", "taken"…), it takes the note's place instead of stacking under it */
.hero__claim:has(.claim__hint:not(:empty)) + .hero__note { display: none; }
.claim__hint.is-error { color: #C8350C; }
.claim__hint.is-ok { color: var(--ok); }
.claim__hint.is-warn { color: #7A4F00; }
.claim__modal-hint.is-warn { padding: 12px 16px; border-radius: 12px; background: #FFF4D6; border: 1px solid #F2D68A; }
.claim__input input.is-dup, .phone-row input.is-dup { border-color: #D99A00; box-shadow: 0 0 0 3px rgba(217, 154, 0, 0.18); }
.claim__suggest { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.claim__suggest[hidden] { display: none; }
.claim__chip { height: 32px; padding: 0 12px; border: 1px solid rgba(17, 17, 16, 0.14); border-radius: 999px; background: #FFFFFF; font: 600 13px var(--sans); color: var(--ink); cursor: pointer; transition: border-color 0.2s, background 0.2s; }
.claim__chip::before { content: 'dznir.com/'; font-weight: 500; color: var(--muted); }
.claim__chip:hover { border-color: var(--accent); background: var(--paper-2); }
/* Step 2 popup: name, email, phone. A native <dialog>, so Esc, focus trap and the dimmed page come built in */
.claim__modal {
  box-sizing: border-box; width: min(560px, calc(100% - 32px)); max-width: none; max-height: calc(100dvh - 32px); margin: auto; padding: 32px; overflow: auto;
  border: 0; border-radius: 24px; background: #FFFFFF; color: var(--ink); box-shadow: 0 40px 80px -32px rgba(17, 17, 16, 0.5);
}
.claim__modal[open] { animation: modal-in 0.4s var(--ease-out); }
.claim__modal::backdrop { background: rgba(17, 17, 16, 0.45); animation: modal-fade 0.3s ease; }
@keyframes modal-in { from { opacity: 0; transform: translateY(16px) scale(0.98); } }
@keyframes modal-fade { from { opacity: 0; } }
.claim__modal-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 32px; }
.claim__modal-title { margin: 0; font: 600 30px/1.15 var(--sans); letter-spacing: -0.03em; overflow-wrap: break-word; }
.claim__modal-title b { color: var(--accent-ink); font-weight: 600; }
.claim__modal-text { margin: 8px 0 0; font-size: 16px; line-height: 1.5; color: var(--muted); }
.claim__modal-close { display: grid; place-items: center; flex: none; width: 40px; height: 40px; padding: 0; border: 0; border-radius: 50%; background: var(--paper); color: var(--ink-2); cursor: pointer; transition: background 0.2s, color 0.2s; }
.claim__modal-close:hover { background: var(--paper-2); color: var(--ink); }
.claim__modal-close:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.claim__modal-close svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.claim__modal-hint { margin: 0 0 16px; }
.claim__modal-hint:empty { margin: 0; }
/* reCAPTCHA v3's floating badge is hidden; the popup carries Google's required notice instead */
.grecaptcha-badge { visibility: hidden !important; }
.claim__legal a { color: inherit; }
.claim__grid { display: grid; grid-template-columns: 1fr; gap: 16px; margin-bottom: 24px; } /* one field per row: long emails stay readable */
.claim__input { display: grid; gap: 8px; font-size: 13px; font-weight: 600; color: var(--ink-2); }
.claim__input--wide { grid-column: 1 / -1; }
.claim__input small { font-weight: 500; color: var(--muted); }
.claim__input input, .phone-row select { width: 100%; height: 48px; padding: 0 16px; border: 1px solid rgba(17, 17, 16, 0.14); border-radius: 999px; background: var(--paper); font: 500 16px var(--sans); color: var(--ink); outline: 0; transition: border-color 0.2s, box-shadow 0.2s; }
.claim__input input:focus, .phone-row select:focus { border-color: var(--ink); box-shadow: 0 0 0 3px rgba(17, 17, 16, 0.06); background: #fff; }
/* Browser autofill (saved email, name, password): keep the field's own colours, not the browser's blue-grey fill.
   The fill can't be restyled, so a large inset shadow in the field's colour covers it; the text keeps our ink. */
input:-webkit-autofill, input:-webkit-autofill:hover, input:-webkit-autofill:active {
  -webkit-text-fill-color: var(--ink); caret-color: var(--ink);
  -webkit-box-shadow: 0 0 0 1000px var(--af-bg, var(--paper)) inset; box-shadow: 0 0 0 1000px var(--af-bg, var(--paper)) inset;
  transition: background-color 600000s 0s, color 600000s 0s;
}
input:-webkit-autofill:focus { -webkit-text-fill-color: var(--ink); -webkit-box-shadow: 0 0 0 1000px var(--af-bg, var(--paper)) inset, 0 0 0 3px rgba(17, 17, 16, 0.06); box-shadow: 0 0 0 1000px var(--af-bg, var(--paper)) inset, 0 0 0 3px rgba(17, 17, 16, 0.06); }
input:autofill { filter: none; } /* Firefox tints autofilled fields with a filter */
.claim__input input:-webkit-autofill:focus { --af-bg: #FFFFFF; } /* this field turns white while typing */
.claim__field input, .st-field input { --af-bg: var(--card); } /* fields inside a white pill */
.phone-row { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 8px; }
.phone-row select { padding-right: 8px; text-overflow: ellipsis; cursor: pointer; }
/* Country code: the real <select> sits on top, invisible, so clicks, keyboard and autofill still work */
.dial { position: relative; }
.dial select { position: absolute; inset: 0; opacity: 0; }
.dial__face { display: flex; align-items: center; justify-content: space-between; gap: 8px; height: 48px; padding: 0 12px 0 16px; border: 1px solid rgba(17, 17, 16, 0.14); border-radius: 12px; background: var(--paper); font: 500 16px var(--sans); color: var(--ink); white-space: nowrap; transition: border-color 0.2s, box-shadow 0.2s, background 0.2s; }
.dial__face svg { flex: none; width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; color: var(--muted); }
.dial:focus-within .dial__face { border-color: var(--ink); box-shadow: 0 0 0 3px rgba(17, 17, 16, 0.06); background: #fff; }
.claim__legal { margin: 12px 0 0; font-size: 12px; color: var(--muted); text-align: center; }
.claim__done { display: flex; align-items: center; gap: 16px; padding: 16px 20px 16px 16px; border-radius: 22px; background: var(--card); border: 1px solid var(--line); box-shadow: 0 24px 48px -32px rgba(17, 17, 16, 0.35); }
.claim__done[hidden] { display: none; }
.claim__done:focus { outline: none; }
.claim__done-icon { display: grid; place-items: center; flex: none; width: 48px; height: 48px; border-radius: 14px; background: #E3F6E8; color: var(--ok); }
.claim__done-icon svg { width: 22px; height: 22px; }
.claim__done-title { margin: 0; font: 600 18px/1.2 var(--sans); }
.claim__done-text { margin: 4px 0 0; font-size: 14px; color: var(--muted); }
.claim__done-text b { color: var(--ink); }

/* Hero stage: the phone on a desk, with real product fragments around it */
.hero__stage { position: relative; height: 680px; }
.desk {
  position: absolute; inset: 24px 0 24px; border-radius: 36px; background-color: #FFF1EA;
  background-image: radial-gradient(rgba(255, 77, 31, 0.22) 1px, transparent 1.4px), radial-gradient(120% 80% at 80% 0%, rgba(255, 138, 92, 0.18), transparent 60%);
  background-size: 22px 22px, 100% 100%;
}
.hero__phone { --pw: 290px; position: absolute; left: 50%; top: 50%; margin: -306px 0 0 -145px; z-index: 3; box-shadow: 0 50px 90px -40px rgba(17, 17, 16, 0.55), 0 0 0 1px rgba(17, 17, 16, 0.06); }
.hero__phone .phone__screen, .play__phone .phone__screen, .story__phone .phone__screen, .compare__phone .phone__screen { position: relative; }
.hero__who { position: absolute; left: 50%; bottom: 0; translate: -50% 0; z-index: 4; margin: 0; padding: 8px 16px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); font-size: 13px; font-weight: 600; color: var(--ink-2); white-space: nowrap; box-shadow: 0 10px 24px -16px rgba(17, 17, 16, 0.4); }
.mini__url {
  display: inline-flex; align-items: center; gap: 4px; margin-top: auto; padding: 8px 12px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.94); color: #5E5A54; font: 600 10.5px/1 'Instrument Sans', sans-serif !important; letter-spacing: 0 !important; text-transform: none !important;
  box-shadow: 0 4px 14px -6px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(17, 17, 16, 0.06); -webkit-text-fill-color: currentColor; filter: none !important;
}
.mini__url b { color: #111110; font-weight: 700; }
.mini__url .wm__z { width: 9px; height: 10px; color: #111110; }
.mini__url.is-typing b { color: var(--accent-ink); }


.sw { width: 22px; height: 22px; border-radius: 50%; background: var(--c); border: 1px solid rgba(17, 17, 16, 0.15); }

/* ---------- Works with ---------- */
.works { padding: 64px 0; border-block: 1px solid var(--line); background: var(--paper); position: relative; z-index: 2; overflow: hidden; }
.works__head { margin-bottom: 32px; text-align: center; }
.works__head .kicker { margin-bottom: 8px; }
.works__title { margin: 0; font-size: clamp(24px, 3vw, 32px); font-weight: 700; letter-spacing: -0.02em; }
.works__sub { max-width: 520px; margin: 8px auto 0; color: var(--muted); }
/* Logo marquee: each row holds its list twice and slides by half its width, so the loop never shows a seam */
.marquee { display: grid; gap: 16px; padding: 8px 0 16px; /* room for a chip's hover lift and shadow: the edge fade (mask) clips anything outside */ -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee__row { display: flex; width: max-content; animation: marquee 56s linear infinite; }
.marquee__row--rev { animation-direction: reverse; animation-duration: 64s; }
.marquee:hover .marquee__row { animation-play-state: paused; }
.marquee ul { display: flex; gap: 16px; margin: 0; padding: 0 16px 0 0; list-style: none; }
.marquee li { display: flex; align-items: center; gap: 12px; height: 56px; padding: 0 24px 0 16px; border: 1px solid var(--line); border-radius: 999px; background: #FFFFFF; font-size: 16px; font-weight: 600; letter-spacing: -0.01em; color: var(--ink); white-space: nowrap; transition: transform 0.3s var(--ease-out), box-shadow 0.3s, border-color 0.3s; }
.marquee li svg { flex: none; width: 32px; height: 32px; color: var(--brand); }
.marquee li:hover { transform: translateY(-4px); border-color: var(--brand); box-shadow: 0 8px 16px -10px var(--brand); }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .marquee { -webkit-mask-image: none; mask-image: none; }
  .marquee__row { width: auto; animation: none; }
  .marquee ul { flex-wrap: wrap; justify-content: center; width: 100%; padding: 0 16px; }
  .marquee ul[aria-hidden] { display: none; }
  .marquee li { height: 48px; font-size: 15px; }
  .marquee li svg { width: 24px; height: 24px; }
}

/* ---------- Story: sticky phone, steps scroll past ---------- */
/* One section rhythm for the whole page: 80px on small laptops, up to 128px on big screens */
:root { --sec: clamp(80px, 9vw, 128px); }
.story { padding: var(--sec) 0; }
/* Text and phone sit together in the middle (not at opposite edges), with a gap that scales with the screen */
.story__grid { display: grid; grid-template-columns: minmax(0, 560px) auto; justify-content: center; gap: clamp(48px, 8vw, 128px); align-items: start; }
.story__steps { padding: 4vh 0 12vh; }
/* Tall enough for one step to be "current" while scrolling, never so tall that steps float apart */
.story__step { min-height: clamp(320px, 46vh, 480px); display: flex; flex-direction: column; justify-content: center; opacity: 0.28; transition: opacity 0.5s var(--ease-out); }
.story__step.is-on { opacity: 1; }
.story__num { font: italic 400 22px var(--serif); color: var(--accent-ink); }
.story__step h3 { margin: 8px 0 12px; font-weight: 600; font-size: clamp(28px, 3vw, 40px); letter-spacing: -0.035em; line-height: 1.1; }
.story__step p { margin: 0; max-width: 26em; font-size: 18px; color: var(--muted); }
/* Centred on screen, but never tucked under the floating header */
.story__sticky { position: sticky; top: max(96px, calc(50vh - 280px)); }
.story__phone { --pw: 290px; box-shadow: 0 50px 90px -40px rgba(17, 17, 16, 0.5), 0 0 0 1px rgba(17, 17, 16, 0.06); }
.story__phone .phone__screen { position: relative; background: #F6F4EF; }
/* Short laptop screens: a smaller phone so it fits between the header and the bottom edge */
@media (min-width: 961px) and (max-height: 760px) { .story__phone { --pw: 250px; } }
.ss { position: absolute; inset: 0; opacity: 0; transform: translateY(14px) scale(0.98); transition: opacity 0.5s var(--ease-out), transform 0.6s var(--ease-out); }
.story__phone[data-step='0'] .ss--claim, .story__phone[data-step='1'] .ss--links, .story__phone[data-step='2'] .ss--theme, .story__phone[data-step='3'] .ss--stats { opacity: 1; transform: none; }
.ss .mini { height: 100%; }
.ss--claim { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; padding: 24px; background: #FFFFFF; text-align: center; }
.ss__h { margin: 12px 0 0; font-size: 20px; font-weight: 600; letter-spacing: -0.02em; }
.ss__field { display: flex; align-items: center; width: 100%; height: 46px; padding: 0 16px; border-radius: 999px; border: 1.5px solid var(--ink); font-size: 14px; color: var(--muted); }
.ss__field b { color: var(--ink); }
.ss__caret { width: 1.5px; height: 18px; margin-left: 1px; background: var(--accent); animation: blink 1s steps(2) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.ss__ok { display: inline-flex; align-items: center; gap: 6px; margin: 0; font-size: 13px; font-weight: 600; color: var(--ok); }
.ss__ok svg { width: 16px; height: 16px; }
.ss__btn { display: grid; place-items: center; width: 100%; height: 44px; margin-top: 8px; border-radius: 999px; background: var(--ink); color: #fff; font-size: 14px; font-weight: 600; }
.story__phone[data-step='1'] .ss__in { animation: slide-in 0.6s var(--ease-out) both; }
.story__phone[data-step='1'] .ss__in:nth-of-type(2) { animation-delay: 0.12s; }
.story__phone[data-step='1'] .ss__in:nth-of-type(3) { animation-delay: 0.24s; }
@keyframes slide-in { from { opacity: 0; transform: translateX(-16px); } }

.ss--stats { padding: 64px 18px 18px; background: #FFFFFF; }
.ss__k { margin: 0; font-size: 12px; color: var(--muted); }
.ss__big { margin: 2px 0 14px; font-size: 38px; font-weight: 600; letter-spacing: -0.04em; }
.ss__big small { font-size: 14px; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.ss__bars { display: flex; align-items: flex-end; gap: 6px; height: 110px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.ss__bars i { flex: 1; height: var(--h); border-radius: 6px 6px 2px 2px; background: #E9E6DF; }
.ss__bars i:last-child { background: var(--ink); }
.ss__list { margin: 12px 0 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.ss__list li { display: flex; justify-content: space-between; font-size: 13px; }
.ss__list b { font-weight: 600; }
.ss__src { margin: 14px 0 0; padding: 10px 12px; border-radius: 10px; background: var(--paper-2); font-size: 12px; color: var(--ink-2); }

/* ---------- Example profile ---------- */
.example { padding: var(--sec) 0; background: var(--card); border-block: 1px solid var(--line); }
.example__grid { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: 64px; align-items: center; }
.example__lede { margin: 20px 0 24px; font-size: 18px; color: var(--muted); max-width: 26em; }
.example__list { margin: 0 0 32px; padding: 0; list-style: none; counter-reset: ex; display: grid; gap: 16px; }
.example__list li { position: relative; padding-left: 40px; counter-increment: ex; }
.example__list li::before { content: counter(ex); position: absolute; left: 0; top: 0; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; border: 1px solid var(--line); font: italic 400 15px var(--serif); color: var(--accent); }
.example__list b { display: block; font-size: 16px; }
.example__list span { font-size: 15px; color: var(--muted); }
.browser { display: block; overflow: hidden; border-radius: 18px; background: #FFF6F1; border: 1px solid var(--line); box-shadow: 0 50px 90px -50px rgba(17, 17, 16, 0.55); text-decoration: none; transition: transform 0.4s var(--ease-out); }
.browser:hover { transform: translateY(-4px); }
.browser__bar { display: flex; align-items: center; gap: 6px; height: 40px; padding: 0 14px; background: #FBEAE1; border-bottom: 1px solid var(--line); }
.browser__bar > i { width: 10px; height: 10px; border-radius: 50%; background: #D6D2CA; }
.browser__url { display: inline-flex; align-items: center; gap: 4px; margin: 0 auto; padding: 4px 14px; border-radius: 8px; background: #F8F7F4; font-size: 12px; font-weight: 600; color: var(--ink-2); }
.browser__url .wm__z { width: 9px; height: 10px; }
.browser__view { position: relative; display: block; height: 560px; overflow: hidden; }
.browser__view iframe { position: absolute; left: 0; top: 0; width: 166.67%; height: 166.67%; border: 0; transform: scale(0.6); transform-origin: 0 0; pointer-events: none; }

/* ---------- Themes gallery (light) ---------- */

/* ---------- Designers ---------- */
.designers { padding: 120px 0; background: var(--paper-2); }

.switch { position: relative; width: 52px; height: 30px; border: 0; border-radius: 999px; background: #D7D3CB; cursor: pointer; transition: background 0.3s; }
.switch i { position: absolute; left: 3px; top: 3px; width: 24px; height: 24px; border-radius: 50%; background: #fff; box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2); transition: transform 0.35s var(--ease-out); }
.switch[aria-checked='true'] { background: #22C55E; }
.switch[aria-checked='true'] i { transform: translateX(22px); }
.avail.is-off { background: #EFEDE8; color: #6B665D; }
.avail.is-off i { background: #A8A39A; animation: none; }
.avail.is-off i::after { display: none; }

/* ---------- Compare ---------- */
.compare { padding: var(--sec) 0; }
.compare__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: center; }
.compare__lede { margin: 20px 0 0; font-size: 18px; color: var(--muted); max-width: 24em; }
.compare__stage { position: relative; display: grid; justify-items: center; padding-top: 40px; }
.compare__tags { position: absolute; top: 0; left: 50%; translate: -50% 0; width: min(340px, 100%); display: flex; justify-content: space-between; font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.compare__tags span:last-child { color: var(--ink); }
.compare__phone { --pw: 300px; box-shadow: 0 50px 90px -40px rgba(17, 17, 16, 0.5), 0 0 0 1px rgba(17, 17, 16, 0.06); }
.compare__phone .phone__screen { position: relative; cursor: ew-resize; touch-action: pan-y; user-select: none; }
.cmp { position: absolute; inset: 0; overflow: hidden; }
.cmp .mini { height: 100%; }
.cmp--before { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 60px 18px 20px; background: #EDEDED; color: #222; font-family: Arial, Helvetica, sans-serif; text-align: center; }
.cmp__av { display: grid; place-items: center; width: 64px; height: 64px; margin-bottom: 4px; border-radius: 50%; background: #C9C9C9; color: #fff; font-weight: 700; font-size: 20px; }
.cmp__n { margin: 0; font-weight: 700; font-size: 16px; }
.cmp__b { margin: 0 0 8px; font-size: 12px; color: #777; }
.cmp__l { display: block; width: 100%; padding: 12px 8px; border-radius: 4px; background: #DADADA; color: #333; font-size: 12.5px; }
.cmp__foot { margin-top: auto; font-size: 11px; color: #999; }
.cmp--after { clip-path: inset(0 0 0 var(--pos)); }
.compare__handle { position: absolute; top: 0; bottom: 0; left: var(--pos); z-index: 6; width: 2px; margin-left: -1px; background: var(--accent); outline: none; }
.compare__handle span { position: absolute; top: 50%; left: 50%; translate: -50% -50%; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--accent); color: var(--ink); box-shadow: 0 8px 20px rgba(255, 77, 31, 0.4); }
.compare__handle svg { width: 18px; height: 18px; }
.compare__handle:focus-visible span { box-shadow: 0 0 0 4px rgba(255, 77, 31, 0.35); }

/* ---------- FAQ ---------- */
.faq { padding: var(--sec) 0; border-top: 1px solid var(--line); }
/* FAQ as numbered cards, every answer visible (owner picked option A, 28 Oct 2026) */
.faq__grid { display: grid; grid-template-columns: minmax(0, 0.62fr) minmax(0, 1.38fr); gap: 56px; align-items: start; }
.faq__side { position: sticky; top: 120px; display: grid; gap: 16px; align-content: start; }
.faq__side .sec-title { margin: 0; }
.faq__say { display: inline-flex; flex-wrap: wrap; align-items: baseline; justify-self: start; gap: 8px; margin: 8px 0 0; padding: 12px 20px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); font-size: 15px; color: var(--muted); }
.faq__say b { color: var(--accent); font: italic 400 24px/1 var(--serif); letter-spacing: 0; }
.faq__more { margin: 0; max-width: 32ch; color: var(--muted); font-size: 15px; }
.faq__more a { color: var(--ink); font-weight: 600; text-underline-offset: 3px; }
.faq__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; counter-reset: faq; }
.faq-card { position: relative; display: grid; gap: 8px; align-content: start; padding: 24px; border-radius: 24px; background: var(--card); border: 1px solid var(--line); counter-increment: faq; transition: transform 0.4s var(--ease-out), border-color 0.2s, box-shadow 0.4s var(--ease-out); }
.faq-card::before { content: counter(faq, decimal-leading-zero); color: var(--accent); font: 600 13px/1 var(--sans); letter-spacing: 0.04em; }
.faq-card h3 { margin: 0; font-size: 18px; font-weight: 600; line-height: 1.3; letter-spacing: -0.015em; }
.faq-card p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.55; }
.faq-card p a { color: var(--ink); text-underline-offset: 3px; }
.faq-card:hover { transform: translateY(-2px); border-color: rgba(17, 17, 16, 0.16); box-shadow: 0 24px 48px -32px rgba(17, 17, 16, 0.35); }
.faq-card--hl { border-color: var(--accent); box-shadow: 0 16px 40px -28px var(--accent); }
.faq-card:last-child:nth-child(odd) { grid-column: 1 / -1; } /* an odd one out takes the whole row, no gap beside it */
@media (prefers-reduced-motion: reduce) { .faq-card { transition: none; } .faq-card:hover { transform: none; } }

/* ---------- CTA + footer ---------- */
.cta { position: relative; overflow: hidden; padding: var(--sec) 0 0; text-align: center; border-top: 1px solid var(--line); }
.cta__inner { display: flex; flex-direction: column; align-items: center; gap: 16px; }
.cta p { margin: 0 0 8px; font-size: 18px; color: var(--muted); }

.cta { padding-bottom: var(--sec); }
.footer { padding: 64px 0 24px; border-top: 1px solid var(--line); background: var(--card); font-size: 15px; color: var(--muted); }
.footer__top { display: flex; justify-content: space-between; gap: 48px; flex-wrap: wrap; padding-bottom: 48px; }
.footer__brand p { margin: 12px 0 0; max-width: 18em; }
.footer__brand .wm { font-size: 26px; }
.footer__social { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.footer__social a { display: inline-grid; place-items: center; width: 40px; height: 40px; border: 1px solid var(--line); border-radius: 12px; color: var(--ink); text-decoration: none; transition: color 0.2s, border-color 0.2s, transform 0.2s; }
.footer__social a:hover, .footer__social a:focus-visible { color: var(--accent); border-color: var(--accent); transform: translateY(-2px); }
.footer__social svg { width: 20px; height: 20px; }
/* Product Hunt badge (live upvote count from api.producthunt.com, allowed in the CSP img-src) */
.footer__ph { display: block; width: 250px; max-width: 100%; margin-top: 16px; }
.footer__ph img { display: block; width: 100%; height: auto; transition: transform 0.2s; }
.footer__ph:hover img, .footer__ph:focus-visible img { transform: translateY(-2px); }
.footer__cols { display: grid; grid-template-columns: repeat(3, minmax(140px, auto)); gap: 48px; }
.footer__label { margin: 0 0 16px; font-size: 13px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink); }
.footer__cols a { display: block; padding: 4px 0; margin-bottom: 8px; text-decoration: none; transition: color 0.2s; }
.footer__cols a:hover, .footer__bottom a:hover { color: var(--accent); }
.footer__bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 24px; border-top: 1px solid var(--line); font-size: 14px; }
.footer__bottom p { margin: 0; }
.footer__bottom a { display: inline-flex; align-items: center; min-height: 24px; text-decoration: none; }
@media (max-width: 720px) { .footer__cols { grid-template-columns: 1fr 1fr; gap: 24px; } }

/* ---------- Real-claim toast ---------- */
.toast { position: fixed; left: 24px; bottom: 24px; z-index: 60; display: flex; align-items: center; gap: 12px; padding: 12px 16px 12px 12px; border-radius: 14px; background: var(--card); border: 1px solid var(--line); box-shadow: 0 20px 40px -24px rgba(17, 17, 16, 0.45); font-size: 13px; transform: translateY(140%); opacity: 0; transition: transform 0.6s var(--ease-out), opacity 0.4s; }
.toast[hidden] { display: none; }
.toast.is-in { transform: none; opacity: 1; }
.toast__dot { width: 8px; height: 8px; border-radius: 50%; background: #22C55E; box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.18); }

/* ---------- Hero: one phone in focus, a wall of pages behind ---------- */
/* Other creators' pages scroll slowly behind the main phone, half faded */
.wall { position: absolute; inset: 0 0 56px; z-index: 1; pointer-events: none; }
.wall__col {
  position: absolute; top: 0; bottom: 0; width: 152px; overflow: hidden; opacity: 0.5;
  -webkit-mask-image: linear-gradient(transparent, #000 20%, #000 80%, transparent);
  mask-image: linear-gradient(transparent, #000 20%, #000 80%, transparent);
}
.wall__col--l { left: 16px; }
.wall__col--r { right: 16px; }
/* Columns glide up and down in opposite directions: eased, ~40px/s, with a soft turn at each end */
.wall__track { display: flex; flex-direction: column; gap: 16px; align-items: center; animation: wall-drift 20s cubic-bezier(0.45, 0, 0.55, 1) infinite alternate; }
.wall__track--rev { animation-direction: alternate-reverse; }
@keyframes wall-drift { from { transform: translateY(-8%); } to { transform: translateY(-38%); } }
.wall__ph { --pw: 144px; flex-shrink: 0; padding: 8px; border-radius: 28px; box-shadow: none; }
.wall__ph .phone__screen { border-radius: 20px; }
.wall__ph::before { height: 12px; top: 12px; }
.wall.is-paused *, .wall.is-paused *::before, .wall.is-paused *::after { animation-play-state: paused !important; }
.hero__phone-btn { position: absolute; left: 50%; top: calc(50% - 22px); z-index: 3; margin: 0; padding: 0; border: 0; background: none; cursor: pointer; translate: -50% -50%; border-radius: 48px; }
.hero__phone-btn:focus-visible { outline: 3px solid var(--accent); outline-offset: 6px; }
.hero__phone-btn .hero__phone { position: relative; left: auto; top: auto; margin: 0; transition: transform 0.5s var(--ease-out); }
.hero__phone-btn:hover .hero__phone { transform: translateY(-6px) rotate(-1.5deg); }
.hero__bar { position: absolute; left: 50%; bottom: 0; translate: -50% 0; z-index: 4; display: flex; align-items: center; gap: 8px; white-space: nowrap; }
.hero__bar .hero__who { position: static; translate: none; }
.hero__next { height: 40px; padding: 0 16px; border: 0; border-radius: 999px; background: var(--ink); color: #FFFFFF; font: 600 13px var(--sans); cursor: pointer; transition: background 0.25s, color 0.25s, transform 0.25s var(--ease-out); }
.hero__next:hover { background: var(--accent); color: var(--ink); transform: translateX(2px); }

/* ---------- Interactive story ---------- */
.story__steps { position: relative; padding-left: 40px; }
.story__rail { position: absolute; left: 8px; top: 4vh; bottom: 12vh; width: 2px; border-radius: 2px; background: var(--line); }
.story__rail i { position: absolute; left: 0; top: 0; width: 100%; height: var(--p, 0%); border-radius: inherit; background: var(--accent); }
.story__rail i::after { content: ''; position: absolute; left: 50%; bottom: -6px; width: 12px; height: 12px; margin-left: -6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 5px rgba(255, 77, 31, 0.18); }
.story__step { opacity: 0.35; }
.story__step .st-field, .story__step .st-row, .story__step .st-swatches, .story__step .st-fonts { margin-top: 20px; }
.st-field { display: inline-flex; align-items: center; height: 48px; padding: 0 16px; border-radius: 999px; background: var(--card); border: 1.5px solid var(--ink); font-weight: 600; color: var(--muted); }
.st-field input { width: 150px; min-height: 24px; border: 0; outline: 0; background: none; font: 700 17px var(--sans); color: var(--ink); }
.st-field:focus-within { border-color: var(--accent); box-shadow: 0 0 0 4px rgba(255, 77, 31, 0.14); }
.st-row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.st-btn { height: 48px; padding: 0 20px; border-radius: 999px; border: 1.5px solid var(--ink); background: var(--card); color: var(--ink); font: 600 15px var(--sans); cursor: pointer; transition: transform 0.2s var(--ease-out), background 0.2s, color 0.2s; }
.st-btn:hover { transform: translateY(-2px); }
.st-btn:active { transform: scale(0.96); }
.st-btn--hot { background: var(--accent); border-color: var(--accent); color: var(--ink); box-shadow: 0 12px 24px -12px rgba(255, 77, 31, 0.8); }
.st-btn--ghost { border-color: rgba(17, 17, 16, 0.2); }
.st-hint { font: italic 400 18px var(--serif); color: var(--muted); }
.st-swatches { display: flex; flex-wrap: wrap; gap: 12px; }
.st-sw { width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(17, 17, 16, 0.15); background: var(--c); cursor: pointer; transition: transform 0.25s var(--ease-out), box-shadow 0.25s; }
.st-sw:hover { transform: scale(1.1); }
.st-sw.is-on { box-shadow: 0 0 0 3px var(--paper), 0 0 0 5px var(--accent); }
.st-fonts { margin-top: 16px; }
.story__phone[data-step='1'] .ss--live, .story__phone[data-step='2'] .ss--live { opacity: 1; transform: none; }
.ss--live .mini__links { cursor: grab; }
.ss--live .mini__link { cursor: grab; transition: box-shadow 0.2s; }
.ss--live .mini__link.sortable-chosen { box-shadow: 0 14px 24px -10px rgba(0, 0, 0, 0.45); transform: scale(1.03); }
.ss--live .mini__link.sortable-ghost { opacity: 0.35; }
.ss--live .mini__link.is-new { animation: link-pop 0.7s var(--ease-out); }
@keyframes link-pop { 0% { transform: translateX(-30px) scale(0.9); opacity: 0; } 60% { transform: translateX(4px) scale(1.02); opacity: 1; } 100% { transform: none; } }
.story__phone .phone__screen { overflow: hidden; }
.ss__burst { position: absolute; inset: 0; z-index: 8; pointer-events: none; }
.ss__burst b { position: absolute; left: var(--x); top: var(--y); padding: 4px 9px; border-radius: 999px; background: var(--accent); color: var(--ink); font: 700 12px var(--sans); animation: tap-fly 1.2s var(--ease-out) forwards; }
@keyframes tap-fly { 0% { transform: translate(-50%, 0) scale(0.6); opacity: 0; } 15% { opacity: 1; transform: translate(-50%, -10px) scale(1.1); } 100% { transform: translate(calc(-50% + var(--dx)), -140px) scale(0.9); opacity: 0; } }
.ss__bars i { transition: height 0.6s var(--ease-out); }
.ss__big.is-bump { animation: bump 0.4s var(--ease-out); }
@keyframes bump { 40% { transform: scale(1.08); color: var(--accent); } }

/* ---------- Playground ---------- */
.play { padding: var(--sec) 0; background: var(--card); border-block: 1px solid var(--line); }
.sec-sub { margin: 16px auto 0; max-width: 30em; font-size: 18px; color: var(--muted); }
.play__grid { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 48px; align-items: center; }
.play__label { margin: 24px 0 12px; font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.play__label:first-child { margin-top: 0; }
.seg { display: flex; flex-wrap: wrap; gap: 8px; }
.seg__btn { height: 40px; padding: 0 16px; border-radius: 999px; border: 1px solid rgba(17, 17, 16, 0.14); background: var(--paper); color: var(--ink); font: 600 14px var(--sans); cursor: pointer; transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.2s; }
.seg__btn:hover { border-color: var(--ink); }
.seg__btn.is-on { background: var(--ink); color: #FFFFFF; border-color: var(--ink); }
.seg--stack { display: grid; grid-template-columns: repeat(3, 1fr); }
.seg--stack .seg__btn { height: 48px; border-radius: 999px; padding: 0 8px; font-size: 14px; }
.play__stage { position: relative; display: grid; justify-items: center; gap: 20px; }
.play__phone { --pw: 300px; box-shadow: 0 50px 90px -40px rgba(17, 17, 16, 0.5), 0 0 0 1px rgba(17, 17, 16, 0.06); }
.play__shuffle { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px; border-radius: 999px; border: 1px dashed rgba(17, 17, 16, 0.3); background: transparent; color: var(--ink); font: 600 14px var(--sans); cursor: pointer; transition: background 0.2s; }
.play__shuffle:hover { background: var(--paper-2); }
.play__shuffle svg { width: 16px; height: 16px; }
.tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.tile { display: flex; align-items: center; gap: 12px; height: 48px; padding: 0 16px 0 8px; border-radius: 999px; border: 1px solid rgba(17, 17, 16, 0.12); background: var(--paper); color: var(--ink); font: 600 14px var(--sans); text-align: left; cursor: pointer; transition: border-color 0.2s, transform 0.25s var(--ease-out), box-shadow 0.25s; }
.tile:hover { transform: translateY(-2px); border-color: var(--ink); }
.tile.is-on { border-color: var(--accent); box-shadow: 0 0 0 2px var(--accent); background: #FFFFFF; }
.tile__sw { flex: none; width: 32px; height: 32px; border-radius: 50%; border: 1px solid rgba(17, 17, 16, 0.12); }
.tile__sw--film { position: relative; }
.tile__sw--film::after { content: '▶'; position: absolute; inset: 0; display: grid; place-items: center; color: #FFFFFF; font-size: 12px; text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5); }
.tile__name small { display: block; color: var(--muted); font-size: 11px; font-weight: 500; }

.ss[data-story-render], .cmp[data-compare-render] { overflow: hidden; }

/* ---------- Reveal ---------- */
.js [data-rise] { opacity: 0; transform: translateY(18px); transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out); }
.js [data-rise].is-in { opacity: 1; transform: none; }
/* Hero: CSS-only entrance, so the first screen paints without waiting for scripts */
.js .hero [data-rise] { opacity: 1; transform: none; transition: none; animation: rise-move 0.7s var(--ease-out) both; }
.js .hero .hero__lede { animation-delay: 0.12s; }
.js .hero .hero__claim { animation-delay: 0.2s; }
.js .hero .hero__note { animation-delay: 0.26s; }
.js .hero__title .line__inner { animation: line-in 1s var(--ease-out) both; }
.js .hero__title .line:nth-child(2) .line__inner { animation-delay: 0.08s; }
.js .hero__title .line:nth-child(3) .line__inner { animation-delay: 0.16s; }
.js .hero__stage { animation: stage-in 1.2s var(--ease-out) 0.3s both; }
@keyframes rise-in { from { opacity: 0; transform: translateY(18px); } }
/* Hero text slides up but is never invisible, so it counts as painted at once (LCP, SEO audit 29 Oct 2026) */
@keyframes rise-move { from { transform: translateY(18px); } }
@keyframes line-in { from { transform: translateY(105%); } }
@keyframes stage-in { from { opacity: 0; transform: translateY(40px); } }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .play__grid { grid-template-columns: 1fr auto; }
  .play__panel--right { grid-column: 1 / -1; }
  .tiles { grid-template-columns: repeat(5, 1fr); }
}
@media (max-width: 960px) {
  .nav__links { display: none; }
  .hero__grid { grid-template-columns: 1fr; min-height: 0; gap: 24px; }
  .hero__copy { align-items: center; text-align: center; }
  .hero__claim { margin-inline: auto; }
  .play__grid { grid-template-columns: 1fr; gap: 32px; }
  .play__stage { order: -1; }
  .tiles { grid-template-columns: repeat(2, 1fr); }
  .story__grid { grid-template-columns: 1fr; gap: 0; }
  .story__sticky { position: sticky; top: 80px; z-index: 2; order: -1; display: grid; justify-items: center; padding: 8px 0 16px; background: linear-gradient(var(--paper) 85%, transparent); }
  .story__phone { --pw: 200px; }
  .story__steps { padding: 0 0 10vh; }
  .story__step { min-height: 46vh; text-align: center; align-items: center; }
  .example__grid, .compare__grid, .faq__grid { grid-template-columns: 1fr; gap: 48px; }
  .faq__side { position: static; }
  .browser__view { height: 460px; }
}
@media (max-width: 720px) {
  :root { --gutter: 16px; }
  body { font-size: 16px; }
  .nav { top: 8px; padding: 0 12px; }
  .nav__inner { height: 56px; padding: 0 8px 0 16px; }
  .nav .btn--small { height: 40px; padding: 0 16px; }
  .hero { padding-top: 32px; }
  .claim__field { height: auto; flex-wrap: wrap; padding: 8px; border-radius: 24px; }
  .claim__icon { margin-left: 8px; }
  .claim__field input { height: 44px; }
  .claim__field .btn { width: 100%; }
  .claim__modal { padding: 24px; }
  .claim__modal-title { font-size: 24px; }
  .claim__modal-title b { display: block; font-size: 22px; overflow-wrap: anywhere; } /* the link gets its own full-width line */
  .claim__modal-head { display: block; margin-bottom: 24px; }
  .claim__modal-close { position: absolute; top: 12px; right: 12px; }
  .hero__stage { height: 600px; }
  .hero__phone { --pw: 250px; margin: -264px 0 0 -125px; }
  .wall__col { opacity: 0.4; }
  .wall__col--l { left: -88px; }
  .wall__col--r { right: -88px; }
  .play__phone { --pw: 260px; }
  .seg--stack { grid-template-columns: repeat(3, 1fr); }
  .seg--stack .seg__btn { padding: 0 12px; font-size: 14px; text-align: center; }

  .works { padding: 48px 0; }
  .marquee, .marquee ul { gap: 8px; }
  .marquee ul { padding-right: 8px; }
  .marquee li { height: 44px; gap: 8px; padding: 0 16px 0 12px; font-size: 14px; } /* still a pill: radius comes from the base rule */
  .marquee li svg { width: 24px; height: 24px; }
  .story, .example, .play, .compare, .faq { padding: 88px 0; }
  .sec-head { margin-bottom: 32px; }
  .browser__view { height: 380px; }

  .cta { padding-top: 96px; padding-bottom: 96px; }
  /* Small screens: a slim pill that covers less of the page */
  .toast { left: 16px; right: 16px; bottom: 16px; gap: 8px; padding: 8px 16px; border-radius: 999px; font-size: 12px; }
  .toast { left: 16px; right: 16px; bottom: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js [data-rise], .js .hero__title .line__inner, .js .hero__stage { opacity: 1; transform: none; }
}

/* Only the visible story screen takes pointer input (hidden ones sit on top otherwise) */
.story__phone .ss { pointer-events: none; }
.story__phone[data-step='0'] .ss--claim, .story__phone[data-step='1'] .ss--live, .story__phone[data-step='2'] .ss--live, .story__phone[data-step='3'] .ss--stats { pointer-events: auto; }
.story__sticky [aria-hidden='true'] .mini__links { touch-action: none; }

/* Very narrow phones (folded Galaxy Fold, 280px): theme controls wrap to two columns */
@media (max-width: 340px) {
  .seg--stack { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .play__panel, .play__label { min-width: 0; }
  .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tile { min-width: 0; }
  /* single-column sections: let grid children shrink instead of pushing past the edge */
  section [class*="__grid"] { grid-template-columns: minmax(0, 1fr) !important; }
  section [class*="__grid"] > *, .story__steps, .story__step, .story__sticky, .compare__copy, .compare__stage { min-width: 0; }
}

/* ---------- Pricing page (pricing.php): plans from HQ → Plans ---------- */
.pricing-page .nav { margin-bottom: 0; }
.pr-hero { padding: 64px 0 40px; text-align: center; }
.pr-hero .kicker { justify-content: center; }
.pr-hero .sec-title { max-width: 14em; margin: 0 auto; }
.pr-hero__lede { max-width: 32em; margin: 16px auto 0; font-size: clamp(18px, 1.4vw, 20px); color: var(--muted); }
.pr-controls { display: none; flex-wrap: wrap; justify-content: center; gap: 8px 16px; margin-top: 32px; }
.js .pr-controls { display: flex; }
/* Monthly ⇄ Yearly: a switch in a soft pill (same as the app's Plan tab), yearly first */
.pr-toggle { display: inline-flex; align-items: center; gap: 12px; height: 48px; padding: 0 8px 0 16px; border: 1px solid var(--line); border-radius: 999px; background: var(--card); box-shadow: 0 8px 24px -18px rgba(17, 17, 16, 0.25); }
.pr-toggle__word { padding: 4px 0; border: 0; background: none; color: var(--muted); font: 600 14px var(--sans); cursor: pointer; transition: color 0.15s; }
.pr-toggle__word[aria-pressed="true"] { color: var(--ink); }
.pr-toggle__sw { position: relative; flex: none; width: 40px; height: 24px; padding: 0; border: 0; border-radius: 999px; background: #D9D5CC; cursor: pointer; transition: background 0.2s; }
.pr-toggle__sw[aria-checked="true"] { background: var(--accent); }
.pr-toggle__sw i { position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #FFFFFF; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25); transition: transform 0.2s cubic-bezier(0.2, 0.8, 0.2, 1); }
.pr-toggle__sw[aria-checked="true"] i { transform: translateX(16px); }
.pr-toggle__sw:focus-visible, .pr-toggle__word:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.pr-controls { align-items: center; gap: 12px; }
/* Currency picker: the same 44px pill as the Monthly / Yearly switch beside it. The browser's own select styling is
   off (it made the height and arrow differ by device): globe 16px in, label, our chevron 16px in from the right. */
.pr-cur { position: relative; display: inline-flex; align-items: center; }
.pr-cur svg { position: absolute; left: 16px; width: 16px; height: 16px; color: var(--muted); pointer-events: none; }
.pr-cur::after { content: ""; position: absolute; right: 16px; width: 16px; height: 16px; background: var(--muted); pointer-events: none;
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; -webkit-mask-position: center; mask-position: center;
  -webkit-mask-size: 16px 16px; mask-size: 16px 16px; } /* long-hand: some phone browsers ignore the shorthand and tile the arrow */
.pr-cur select { -webkit-appearance: none; appearance: none; height: 48px; min-height: 0; margin: 0; padding: 0 40px; border: 1px solid var(--line); border-radius: 999px; background: var(--card); color: var(--ink); font: 600 14px/1 var(--sans); cursor: pointer; box-shadow: 0 8px 24px -18px rgba(17, 17, 16, 0.25); }
.pr-cur select:hover { border-color: var(--line-2, var(--line)); }
.pr-cur select:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
/* Phones: the two controls stack at one width, so both pills line up (16px text stops iPhones zooming in) */
@media (max-width: 560px) {
  .pr-controls { flex-direction: column; align-items: stretch; width: min(100%, 360px); margin-inline: auto; }
  .pr-toggle { justify-content: center; }
  .pr-cur select { width: 100%; font-size: 16px; }
}
.pr-save { padding: 4px 8px; border-radius: 999px; background: #E4F4EA; color: #1E7A45; font-size: 12px; font-weight: 700; line-height: 16px; }
.pr-early { display: inline-flex; align-items: center; gap: 8px; margin: 24px 0 0; padding: 8px 16px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); font-size: 14px; color: var(--ink-2); }
.pr-early i { width: 8px; height: 8px; flex: none; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(255, 77, 31, 0.18); }

.pr-plans { padding: 16px 0 96px; }
.pr-grid { display: grid; grid-template-columns: repeat(var(--plans, 3), minmax(0, 1fr)); gap: 16px; align-items: stretch; max-width: 1080px; margin: 0 auto; }
.pr-card { position: relative; display: flex; flex-direction: column; padding: 32px 24px 24px; border-radius: 28px; background: var(--card); border: 1px solid var(--line); }
.pr-card--top { border: 2px solid var(--ink); box-shadow: 0 32px 64px -40px rgba(17, 17, 16, 0.45); }
.pr-card__tag { position: absolute; top: -14px; left: 24px; padding: 4px 12px; border-radius: 999px; background: var(--accent); color: var(--ink); font-size: 12px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; }
.pr-card__name { margin: 0; font-size: 24px; font-weight: 600; letter-spacing: -0.02em; }
.pr-card__tagline { margin: 8px 0 0; min-height: 3em; color: var(--muted); font-size: 15px; line-height: 1.5; }
.pr-price { display: flex; align-items: baseline; gap: 8px; margin: 24px 0 0; }
.pr-price b { font-size: 48px; font-weight: 600; line-height: 1; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
.pr-price span { color: var(--muted); font-size: 15px; }
.pr-price s { color: var(--muted); font-size: 18px; font-weight: 600; }
.pr-price__note { margin: 8px 0 0; min-height: 3em; color: var(--muted); font-size: 14px; line-height: 1.5; } /* two lines kept free: the note changes with the currency, without moving the card */
.pr-trial { margin: 8px 0 0; color: var(--ok); font-size: 14px; font-weight: 600; }
.pr-card .btn { margin-top: 24px; }
.btn--ghost { background: var(--card); color: var(--ink); box-shadow: inset 0 0 0 1px rgba(17, 17, 16, 0.18); }
.pr-card__trial { display: block; margin: 8px 0 0; color: var(--ink); font-size: 14px; font-weight: 600; text-align: center; text-underline-offset: 3px; }
.pr-card__later { margin: 8px 0 0; color: var(--muted); font-size: 13px; text-align: center; }
.pr-card__plus { margin: 24px 0 0; padding-top: 24px; border-top: 1px solid var(--line); font-size: 14px; font-weight: 600; }
.pr-list { display: grid; gap: 8px; margin: 16px 0 0; padding: 0; list-style: none; font-size: 15px; }
.pr-list li { display: flex; align-items: flex-start; gap: 8px; }
.pr-list svg { width: 16px; height: 16px; flex: none; margin-top: 4px; color: var(--ok); }
.pr-list__more a { margin-left: 24px; color: var(--accent-ink); font-weight: 600; text-decoration: none; }
.pr-list__more a:hover { text-decoration: underline; }
.pr-soon { display: inline-block; margin-left: 4px; padding: 0 8px; border-radius: 999px; background: var(--paper-2); color: var(--accent-ink); font-size: 11px; font-weight: 700; line-height: 20px; vertical-align: 1px; }
.pr-tax { margin: 24px 0 0; color: var(--muted); font-size: 14px; text-align: center; }
.pr-sum { max-width: 760px; margin: 32px auto 0; color: var(--ink-2); font-size: 15px; line-height: 1.6; text-align: center; }

.pr-compare { padding: var(--sec) 0; background: var(--card); border-block: 1px solid var(--line); }
.pr-compare__title { margin-bottom: 48px; text-align: center; }
.pr-table-wrap { max-width: 1080px; margin: 0 auto; overflow-x: auto; border-radius: 16px; }
.pr-table-wrap:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.pr-table { width: 100%; min-width: 640px; border-collapse: collapse; font-size: 15px; }
.pr-table th, .pr-table td { padding: 16px; border-bottom: 1px solid var(--line); text-align: center; vertical-align: middle; }
.pr-table thead th { position: sticky; top: 0; z-index: 1; background: var(--card); font-size: 16px; font-weight: 600; }
.pr-table tbody th { width: 40%; font-weight: 600; text-align: left; }
.pr-table tbody th small:not(.pr-soon) { display: block; margin-top: 4px; color: var(--muted); font-size: 13px; font-weight: 400; }
.pr-table .is-top { background: rgba(255, 77, 31, 0.05); }
.pr-table thead th.is-top { background: #FFF6F2; }
.pr-table__group th { padding: 32px 16px 8px; border-bottom: 1px solid var(--line); background: var(--card); font-size: 13px; font-weight: 700; letter-spacing: 0.06em; text-align: left; text-transform: uppercase; color: var(--muted); }
.pr-yes { width: 20px; height: 20px; margin: 0 auto; color: var(--ok); }
.pr-no { color: rgba(17, 17, 16, 0.3); }
.pr-faq { border-top: 0; }

@media (max-width: 960px) {
  .pr-grid { grid-template-columns: minmax(0, 1fr); max-width: 520px; gap: 32px; }
  .pr-card__tagline { min-height: 0; }
}
@media (max-width: 720px) {
  .pr-hero { padding: 48px 0 32px; }
  .pr-price b { font-size: 40px; }
  /* Phones: each feature on its own, the plans side by side underneath with their names */
  .pr-table { min-width: 0; }
  .pr-table thead { display: none; }
  .pr-table tr.pr-table__group, .pr-table__group th { display: block; width: 100%; }
  .pr-table__group th { padding: 32px 0 8px; }
  .pr-table tbody tr:not(.pr-table__group) { display: grid; grid-template-columns: repeat(var(--plans, 3), minmax(0, 1fr)); gap: 8px; padding: 16px 0; border-bottom: 1px solid var(--line); }
  .pr-table tbody th[scope="row"] { grid-column: 1 / -1; width: auto; padding: 0; border: 0; }
  .pr-table td { display: flex; flex-direction: column; align-items: center; justify-content: flex-start; gap: 4px; padding: 8px 4px; border: 0; border-radius: 12px; font-size: 14px; }
  .pr-table td::before { content: attr(data-plan); color: var(--muted); font-size: 12px; font-weight: 600; }
  .pr-table-wrap { overflow: visible; }
}
[data-pricing-link][hidden] { display: none; }

/* "Log in" in the header (HQ → Site settings → dznir.com; shown only while the app answers) */
/* Log in reads like the menu links beside it (same weight and grey), not like a second button */
.nav__login { display: inline-flex; align-items: center; height: 44px; padding: 0 12px; border-radius: 999px; font-size: 15px; font-weight: 500; color: var(--muted); text-decoration: none; transition: color 0.2s; }
.nav__login:hover { color: var(--ink); }
.nav__login[hidden] { display: none; }
@media (max-width: 720px) { .nav__login, .nav__links + .nav__login { height: 42px; margin-left: auto; padding: 0 12px; font-size: 14px; } .nav__inner { gap: 4px; } }

/* Phone menu (site.js): every header link in one panel under the bar */
.nav__menu { display: none; place-items: center; width: 40px; height: 40px; padding: 0; border: 0; border-radius: 50%; background: none; color: var(--ink); cursor: pointer; }
.nav__menu svg { width: 22px; height: 22px; }
.nav__menu:hover { background: rgba(17, 17, 16, 0.05); }
.nav__panel { display: grid; gap: 4px; max-width: calc(var(--wrap) - 2 * var(--gutter)); margin: 8px auto 0; padding: 8px; border-radius: 24px; background: rgba(255, 255, 255, 0.96); border: 1px solid rgba(17, 17, 16, 0.08); box-shadow: 0 24px 48px -24px rgba(17, 17, 16, 0.4); }
.nav__panel[hidden] { display: none; }
.nav__panel a { display: flex; align-items: center; min-height: 48px; padding: 0 16px; border-radius: 16px; color: var(--ink); font-weight: 600; text-decoration: none; }
.nav__panel a:hover, .nav__panel a[aria-current="page"] { background: var(--paper); }
@media (max-width: 960px) {
  .nav__menu { display: grid; }
  .nav__inner > .nav__login { display: none; }
  .nav__inner > .btn--small { margin-left: auto; } /* with the links in the menu, the button sits right, by the menu */
}

/* Text pages (privacy, terms, refunds, linktree-alternative): the page lines up with the header (the same .wrap,
   owner 3 Nov 2026: "should be aligned to header"); the text keeps a readable 760 px measure from that left edge and
   the right-hand side holds "On this page" + the other pages, kept in view (owner: "fix this right area") */
.legal { padding: 64px 0 96px; }
.legal__wrap { display: grid; grid-template-columns: minmax(0, 760px) minmax(240px, 288px); justify-content: space-between; gap: 64px; align-items: start; }
.legal__main { min-width: 0; }
.legal__side { position: sticky; top: 112px; display: grid; gap: 16px; max-height: calc(100vh - 136px); overflow-y: auto; overscroll-behavior: contain; padding-top: 8px; }
.legal__card { padding: 20px; border-radius: 24px; background: var(--card); border: 1px solid var(--line); }
.legal__sum { background: var(--paper-2); border-color: transparent; }
.legal .legal__sum ul { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.legal .legal__sum li { margin: 0; position: relative; padding-left: 24px; color: var(--ink-2); font-size: 14px; line-height: 1.5; }
.legal__sum li::before { content: ''; position: absolute; left: 0; top: 4px; width: 14px; height: 14px; border-radius: 50%; background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 9px no-repeat; }
.legal__sum b { color: var(--ink); }
.legal__sum--top { display: none; } /* phones and tablets: the summary sits under the date instead of on the right */
.legal__side-h { margin: 0 0 8px; color: var(--muted); font-size: 12px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; }
.legal__side ol, .legal__side ul { display: grid; gap: 4px; margin: 0; padding: 0; list-style: none; }
.legal__side li { margin: 0; }
.legal .legal__side a { display: block; padding: 4px 0; color: var(--ink-2); font-size: 14px; line-height: 1.4; text-decoration: none; }
.legal .legal__side a:hover, .legal .legal__side a:focus-visible { color: var(--accent-ink); }
.legal__side a.is-here { color: var(--ink); font-weight: 600; }
.legal__ask { margin: 0; padding: 0 20px; color: var(--muted); font-size: 14px; }
.legal .legal__ask a { display: inline; padding: 0; color: var(--accent-ink); font-weight: 600; }
.legal__main h2[id] { scroll-margin-top: 104px; }
@media (max-width: 1100px) {
  .legal__wrap { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .legal__main { max-width: 760px; }
  .legal__side { display: none; }
  .legal__sum--top { display: block; margin: -16px 0 32px; }
}
.legal .sec-title { margin-bottom: 8px; }
.legal__updated { margin: 0 0 40px; color: var(--muted); }
.legal h2 { margin: 40px 0 8px; font-size: 22px; letter-spacing: -0.02em; }
.legal p, .legal li { color: var(--ink-2); }
.legal ul { padding-left: 20px; }
.legal li { margin-bottom: 8px; }
.legal a { color: var(--accent-ink); }

/* ---------- Blog (dznir.com/blog, _private/blog.php) ---------- */
.blog { padding: 64px 0 96px; }
.blog__head { max-width: 760px; margin: 0 auto 48px; text-align: center; }
.blog__head .kicker { justify-content: center; }
.blog__lede { margin: 16px auto 0; max-width: 34em; font-size: clamp(17px, 1.3vw, 19px); color: var(--muted); }
.blog__about { max-width: 760px; margin: 64px auto 0; }
.blog__about h2 { margin: 0 0 8px; font-size: 22px; letter-spacing: -0.02em; }
.blog__about p { color: var(--ink-2); }
.blog__about a { color: var(--accent-ink); }
.blog__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.blog__grid--two { margin-top: 24px; }
.bcard { min-width: 0; }
.bcard--big { grid-column: 1 / -1; }
.bcard__link { display: grid; height: 100%; overflow: hidden; border: 1px solid var(--line); border-radius: 24px; background: var(--card); color: var(--ink); text-decoration: none; transition: transform 0.3s var(--ease-out), box-shadow 0.3s; }
.bcard__link:hover, .bcard__link:focus-visible { transform: translateY(-2px); box-shadow: 0 24px 48px -32px rgba(17, 17, 16, 0.45); }
.bcard__img { width: 100%; height: auto; aspect-ratio: 1200 / 630; object-fit: cover; background: var(--paper-2); }
.bcard__body { display: grid; align-content: start; gap: 8px; padding: 24px; }
.bcard--big .bcard__link { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); align-items: center; }
.bcard--big .bcard__img { height: 100%; }
.bcard--big .bcard__body { padding: 40px; }
.bcard__meta, .post__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0; font-size: 13px; color: var(--muted); }
.btag { padding: 4px 12px; border-radius: 999px; background: var(--paper-2); color: var(--accent-ink); font-size: 12px; font-weight: 700; }
.bcard__title { font-size: 22px; font-weight: 600; line-height: 1.2; letter-spacing: -0.02em; }
.bcard--big .bcard__title { font-size: clamp(26px, 2.6vw, 36px); line-height: 1.1; letter-spacing: -0.03em; }
.bcard__text { color: var(--ink-2); font-size: 15px; }

/* the "Claim your name" box: opens the home page's sign-up with the name filled in */
.bcta { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); align-items: center; gap: 24px 40px; margin: 48px 0; padding: 32px; border-radius: 24px; background: var(--paper-2); border: 1px solid rgba(255, 77, 31, 0.18); }
.bcta__title { margin: 0 0 8px; font-size: 24px; font-weight: 600; line-height: 1.15; letter-spacing: -0.02em; color: var(--ink); }
.bcta__text { margin: 0; color: var(--ink-2); font-size: 16px; }
.bcta__form .claim__field { height: 64px; }
.bcta__note { margin: 8px 0 0 20px; font-size: 13px; color: var(--muted); }
.prose .bcta { grid-template-columns: minmax(0, 1fr); gap: 16px; margin: 40px 0; } /* the article column is narrow: text above the field */

/* a post */
.post { padding: 32px 0 96px; }
.post__wrap { max-width: var(--wrap); } /* lines up with the header, like every other page */
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 32px; font-size: 14px; color: var(--muted); }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--ink); text-decoration: underline; }
.crumbs [aria-current] { color: var(--ink-2); font-weight: 600; }
.post__head { max-width: 760px; }
.post__title { margin: 16px 0; font-weight: 600; font-size: clamp(36px, 4.6vw, 56px); line-height: 1.04; letter-spacing: -0.04em; }
.post__lede { margin: 0; font-size: clamp(18px, 1.4vw, 21px); color: var(--ink-2); }
.post__by { margin: 16px 0 0; font-size: 14px; color: var(--muted); }
.post__cover { width: 100%; height: auto; margin: 40px 0; border-radius: 24px; border: 1px solid var(--line); background: var(--paper-2); }
.post__grid { display: grid; grid-template-columns: 216px minmax(0, 720px); gap: 64px; }
.post__toc { position: sticky; top: 104px; align-self: start; }
.post__toc p { margin: 0 0 8px; font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.post__toc ol { display: grid; gap: 4px; margin: 0; padding: 0; list-style: none; }
.post__toc a { display: block; padding: 8px 12px; border-radius: 12px; color: var(--ink-2); font-size: 14px; line-height: 1.35; text-decoration: none; }
.post__toc a:hover { background: var(--card); color: var(--ink); }
.post__more { margin-top: 64px; padding-top: 48px; border-top: 1px solid var(--line); }
.post__more h2 { margin: 0; font-size: 28px; letter-spacing: -0.03em; }

/* the article's text */
.prose { min-width: 0; font-size: 18px; line-height: 1.7; color: var(--ink-2); }
.prose > :first-child { margin-top: 0; }
.prose p { margin: 0 0 24px; }
.prose blockquote { margin: 0 0 24px; padding: 16px 24px; border-left: 4px solid var(--accent); border-radius: 0 12px 12px 0; background: var(--card); }
.prose blockquote p { margin: 0; }
.prose h2 { margin: 56px 0 16px; scroll-margin-top: 104px; color: var(--ink); font-size: clamp(26px, 2.4vw, 32px); line-height: 1.15; letter-spacing: -0.03em; }
.prose h3 { margin: 32px 0 8px; color: var(--ink); font-size: 21px; line-height: 1.25; letter-spacing: -0.02em; }
.prose strong { color: var(--ink); font-weight: 600; }
.prose a { color: var(--accent-ink); text-underline-offset: 3px; }
.prose ul, .prose ol { margin: 0 0 24px; padding-left: 24px; }
.prose li { margin-bottom: 8px; padding-left: 4px; }
.prose li::marker { color: var(--accent); font-weight: 700; }
.prose pre { margin: 0 0 24px; padding: 16px 20px; overflow-x: auto; border-radius: 16px; background: var(--ink); color: #F3F1EC; font-size: 14px; line-height: 1.6; }
.prose code { font-family: ui-monospace, 'SFMono-Regular', Menlo, monospace; font-size: 0.88em; }
.prose :not(pre) > code { padding: 2px 6px; border-radius: 6px; background: var(--card); border: 1px solid var(--line); color: var(--ink); }
.prose ul.check { padding: 24px; border-radius: 20px; background: var(--card); border: 1px solid var(--line); list-style: none; }
.prose ul.check li { position: relative; padding-left: 32px; }
.prose ul.check li::before { content: ''; position: absolute; left: 0; top: 6px; width: 18px; height: 18px; border-radius: 6px; background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 12px no-repeat; }
.table-wrap { margin: 0 0 24px; overflow-x: auto; border: 1px solid var(--line); border-radius: 20px; background: var(--card); }
.prose table { width: 100%; min-width: 560px; border-collapse: collapse; font-size: 15px; line-height: 1.45; }
.prose caption { padding: 16px 20px 8px; caption-side: top; color: var(--muted); font-size: 13px; text-align: left; }
.prose th, .prose td { padding: 12px 20px; border-top: 1px solid var(--line); text-align: left; vertical-align: top; }
.prose thead th { border-top: 0; color: var(--ink); font-size: 13px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; }
.prose tbody th { color: var(--ink); font-weight: 600; }
.prose td:last-child { color: var(--ink); }
.bfaq { display: grid; gap: 8px; margin-bottom: 24px; }
.bfaq details { border: 1px solid var(--line); border-radius: 16px; background: var(--card); }
.bfaq summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 56px; padding: 8px 20px; color: var(--ink); font-weight: 600; cursor: pointer; list-style: none; }
.bfaq summary::-webkit-details-marker { display: none; }
.bfaq summary::after { content: '+'; flex: none; font-size: 22px; font-weight: 400; color: var(--accent); transition: transform 0.2s; }
.bfaq details[open] summary::after { transform: rotate(45deg); }
.bfaq details p { margin: 0; padding: 0 20px 16px; font-size: 16px; }

@media (max-width: 960px) {
  .post__grid { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .post__toc { position: static; margin-bottom: 32px; padding: 16px; border-radius: 20px; background: var(--card); border: 1px solid var(--line); }
  .bcard--big .bcard__link { grid-template-columns: minmax(0, 1fr); }
  .bcard--big .bcard__body { padding: 24px; }
  .bcta { grid-template-columns: minmax(0, 1fr); padding: 24px; }
}
@media (max-width: 640px) {
  .blog, .legal { padding-top: 40px; }
  .blog__grid { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .post__cover { margin: 24px 0; border-radius: 16px; }
  .prose { font-size: 17px; }
  .bcta__form .claim__field { height: auto; }
}

/* 404 (static 404.html) */
.nf { padding: 96px 0 128px; text-align: center; }
.nf__card { display: grid; justify-items: center; gap: 16px; max-width: 640px; }
.nf__card p { margin: 0; max-width: 30em; color: var(--muted); font-size: 18px; }
.nf__tag { padding: 4px 12px; border-radius: 999px; background: var(--paper-2); color: var(--accent-ink); font-size: 13px; font-weight: 700; }
.nf .nf__help { margin-top: 8px; font-size: 14px; }
.nf__help a { color: var(--ink); font-weight: 600; }
/* Pricing on phones: the comparison opens with its first two groups (UX-6 in the IA & UX audit) */
.pr-more { display: none; margin: 24px 0 0; text-align: center; }
@media (max-width: 720px) {
  .js .pr-table.is-folded tbody:nth-of-type(n+3) { display: none; }
  .js .pr-more { display: block; }
}
@media (max-width: 640px) { .faq__list { grid-template-columns: 1fr; gap: 12px; } .faq-card { padding: 20px; border-radius: 20px; } .faq__grid { gap: 32px; } }
