/* Dancify — "Studio Night", the look of the app and its App Store set (appstore/marketing/BRAND.md).
   A near-black stage under one soft stage light and a violet wash, sparse lavender specks, lavender as the one accent,
   camera red only for recording, and a flat strip of spike tape as the recurring mark. Dark only, like the marketing:
   the light look is the app's option, not the brand's face. Tokens mirror Dancify/DesignSystem/Theme.swift. */

@font-face { font-family: "Geist"; src: url("/assets/fonts/geist-regular.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Geist"; src: url("/assets/fonts/geist-medium.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Geist"; src: url("/assets/fonts/geist-semibold.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Geist"; src: url("/assets/fonts/geist-bold.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }

:root {
  color-scheme: dark;
  --bg: #0a0a0b;
  --bg-deep: #08070c;
  --surface: #19181c;
  --surface-2: #1f1d24;
  --well: #28252f;
  --rim: #2a2830;
  --hairline: #26242b;
  --ink: #f5f2fb;
  --text: #c9c3d6;
  --muted: #a9a2b8;
  --faint: #8a8398;
  --accent: #a98bff;
  --accent-deep: #7c5cfa;
  --lilac: #cdbdff;
  --record: #ff3b3b;
  --amber: #f7c873;
  --green: #7ee3c1;
  --pink: #f48fd0;
  --blue: #8cc8ff;
    --card-light: rgba(255, 255, 255, 0.055);
  --rim-light: rgba(255, 255, 255, 0.13);
  --glass: rgba(14, 12, 18, 0.72);

  --font-display: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", system-ui, Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, monospace;

  --nav-h: 76px;
  --gutter: clamp(20px, 5vw, 40px);
  --max: 1200px;
  --section-y: clamp(72px, 9vw, 136px);
  --r-s: 12px;
  --r-m: 18px;
  --r-l: 24px;
  --r-xl: 32px;
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  --settle: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--nav-h) + 16px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  position: relative;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font: 400 1.0625rem/1.6 var(--font-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
/* The stage: the wash from the App Store set (StudioBackdrop), a violet haze from the top-leading corner over near-black. */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    radial-gradient(90% 62% at 0% 0%, rgba(72, 40, 122, 0.58), rgba(72, 40, 122, 0) 72%),
    radial-gradient(70% 50% at 62% 34%, rgba(62, 40, 120, 0.3), rgba(62, 40, 120, 0) 76%),
    linear-gradient(to bottom, #120f1b, var(--bg) 72%);
}
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: url("/assets/img/grain.png") 0 0 / 96px 96px repeat;
  opacity: 0.45;
}
main { overflow-x: clip; }
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
svg { width: 1em; height: 1em; flex: none; }
a { color: inherit; }
button { font: inherit; color: inherit; }
ul[class], ol[class] { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { color: var(--ink); font-family: var(--font-display); font-weight: 600; letter-spacing: -0.025em; line-height: 1.1; text-wrap: balance; }
p { text-wrap: pretty; }
strong { color: var(--ink); font-weight: 600; }
::selection { background: rgba(169, 139, 255, 0.4); color: #fff; }
:focus-visible { outline: 2.5px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.container { width: min(100% - var(--gutter) * 2, var(--max)); margin-inline: auto; }
.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-link { position: fixed; top: 12px; left: 12px; z-index: 100; padding: 10px 16px; border-radius: 999px; background: var(--ink); color: var(--bg); font-weight: 600; text-decoration: none; transform: translateY(-160%); transition: transform 0.2s ease; }
.skip-link:focus { transform: none; }

/* ---------- Spike tape ---------- */

/* A strip of lavender gaffer tape laid flat on the floor, with hand-torn ends. Matte, no glow: it lies flat. */
.tape {
  --tape: var(--accent);
  --tape-h: 14px;
  position: relative;
  display: block;
  height: var(--tape-h);
  pointer-events: none;
}
.tape::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--tape);
  clip-path: polygon(3px 0, calc(100% - 2px) 0, calc(100% - 6px) 22%, calc(100% - 1px) 46%, calc(100% - 5px) 70%, 100% 100%, 2px 100%, 6px 78%, 0 54%, 5px 30%);
}

/* The tape on the stage: it runs in from the edge of the page, behind the phones, and stops with a torn end, as it runs
   on from shot to shot in the App Store set. */
.tape.floor { position: absolute; z-index: -1; top: 66%; --tape-h: clamp(16px, 1.6vw, 24px); transform: rotate(-8deg); }
.tape.floor.from-right { left: -6%; right: -50vw; }
.tape.floor.from-left { left: -50vw; right: -6%; }
.tape.floor.across { left: -50vw; right: -50vw; top: 44%; transform: rotate(-2.5deg); }

/* The stamp's dot, as on the screenshots: a small lavender point before a sentence-case label. */
.mark {
  position: relative;
  display: inline-block;
  flex: none;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font: 500 0.92rem/1.3 var(--font-display);
}

/* ---------- Brand ---------- */

.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font: 600 1.3rem/1 var(--font-display); letter-spacing: -0.03em; text-decoration: none; }
.brand-mark { width: 30px; height: 30px; border-radius: 8px; box-shadow: 0 0 0 1px var(--rim-light); }

/* ---------- Buttons ---------- */

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 24px;
  border: 0;
  border-radius: 999px;
  font: 600 1rem/1 var(--font-body);
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: transform 0.24s var(--ease), box-shadow 0.3s ease, background-color 0.2s ease, color 0.2s ease;
}
.btn:active { transform: scale(0.97); }
.btn svg { width: 18px; height: 18px; }
/* Lavender-tinted glass, the app's primary button. No hand-made gradients. */
.btn-primary {
  background: rgba(169, 139, 255, 0.24);
  color: var(--ink);
  box-shadow: inset 0 0 0 1px rgba(205, 189, 255, 0.42), inset 0 1px 0 rgba(255, 255, 255, 0.2);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  backdrop-filter: blur(14px) saturate(160%);
}
.btn-primary:hover { background: rgba(169, 139, 255, 0.34); box-shadow: inset 0 0 0 1px rgba(205, 189, 255, 0.62), inset 0 1px 0 rgba(255, 255, 255, 0.26); transform: translateY(-1px); }
.btn-ghost { background: rgba(255, 255, 255, 0.05); color: var(--ink); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14), inset 0 1px 0 rgba(255, 255, 255, 0.08); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.08); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.2); }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: 0.92rem; }
.btn-sm svg { width: 15px; height: 15px; }
/* The App Store badge: black with a light rim, the way Apple draws it on dark backgrounds. */
.btn-store { min-height: 56px; padding: 0 22px 0 18px; border-radius: 14px; background: #000; color: #fff; text-shadow: none; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.5); }
.btn-store:hover { transform: translateY(-1px); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.8); }
.btn-store svg { width: 26px; height: 26px; margin-top: -3px; }
.btn-label { display: grid; gap: 3px; text-align: left; }
.btn-label small { font: 500 0.7rem/1 var(--font-body); letter-spacing: 0.01em; opacity: 0.9; }
.btn-label strong { color: inherit; font: 600 1.32rem/1 var(--font-display); letter-spacing: -0.02em; }

/* ---------- Nav ---------- */

/* A floating glass bar, like the app's: clear over the hero, a capsule of glass once the page has moved. */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; height: var(--nav-h); padding-top: 10px; pointer-events: none; }
.nav-inner { display: flex; align-items: center; gap: 28px; height: 56px; padding: 0 8px 0 14px; border-radius: 999px; pointer-events: auto; box-shadow: inset 0 0 0 1px transparent; transition: background-color 0.3s ease, box-shadow 0.3s ease; }
.nav.is-scrolled .nav-inner { background: rgba(20, 17, 28, 0.72); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.11), inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 18px 40px -22px rgba(0, 0, 0, 0.9); -webkit-backdrop-filter: saturate(170%) blur(20px); backdrop-filter: saturate(170%) blur(20px); }
.nav-links { display: flex; align-items: center; gap: 4px; margin-left: auto !important; }
.nav-links a { display: block; padding: 8px 12px; border-radius: 999px; color: var(--muted); font-size: 0.93rem; font-weight: 500; text-decoration: none; transition: color 0.2s ease, background-color 0.2s ease; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--ink); background: rgba(255, 255, 255, 0.05); }
.nav-end { display: flex; align-items: center; gap: 10px; }
.nav-sentinel { position: absolute; top: 0; left: 0; width: 1px; height: 24px; pointer-events: none; }

/* ---------- Language menu ---------- */

.lang { position: relative; }
.lang summary { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 12px; border-radius: 999px; color: var(--muted); font: 600 0.82rem/1 var(--font-display); letter-spacing: 0.04em; list-style: none; cursor: pointer; box-shadow: inset 0 0 0 1px var(--rim); transition: color 0.2s ease, box-shadow 0.2s ease; }
.lang summary::-webkit-details-marker { display: none; }
.lang summary:hover, .lang[open] summary { color: var(--ink); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.22); }
.lang summary svg { width: 16px; height: 16px; }
.lang-menu { position: absolute; top: calc(100% + 8px); right: 0; z-index: 2; min-width: 180px; padding: 6px !important; border-radius: 16px; background: #16151a; box-shadow: inset 0 0 0 1px var(--rim), 0 24px 50px -16px rgba(0, 0, 0, 0.8); }
.lang-menu a { display: flex; justify-content: space-between; gap: 16px; padding: 10px 12px; border-radius: 10px; color: var(--text); font-size: 0.95rem; text-decoration: none; }
.lang-menu a small { color: var(--faint); font: 600 0.75rem/1.6 var(--font-display); letter-spacing: 0.05em; }
.lang-menu a:hover { background: rgba(255, 255, 255, 0.06); color: var(--ink); }
.lang-menu a[aria-current="page"] { color: var(--ink); font-weight: 600; }
.lang-menu a[aria-current="page"] small { color: var(--accent); }

.lang-hint {
  position: fixed;
  left: 50%;
  bottom: max(16px, env(safe-area-inset-bottom));
  z-index: 60;
  display: flex;
  align-items: center;
  gap: 14px;
  width: max-content;
  max-width: calc(100% - 24px);
  padding: 10px 10px 10px 20px;
  border-radius: 999px;
  background: rgba(22, 21, 26, 0.92);
  box-shadow: inset 0 0 0 1px var(--rim), 0 20px 50px -14px rgba(0, 0, 0, 0.8);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  color: var(--ink);
  font-size: 0.93rem;
  transform: translateX(-50%);
  animation: hint-in 0.5s var(--settle) both 0.6s;
}
.lang-hint .btn { min-height: 38px; padding: 0 16px; font-size: 0.88rem; }
.lang-hint button:not(.btn) { display: grid; place-items: center; width: 34px; height: 34px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, 0.06); color: var(--muted); font-size: 1.2rem; line-height: 1; cursor: pointer; }
.lang-hint button:not(.btn):hover { color: var(--ink); background: rgba(255, 255, 255, 0.12); }
@keyframes hint-in { from { opacity: 0; transform: translate(-50%, 16px); } }

/* ---------- Phone ---------- */

/* The device from the App Store set: a lavender-grey metal band, black glass, the Dynamic Island. Always whole: --fit
   keeps a phone shorter than the window, so nothing here ever needs cropping. */
.phone {
  --fit: calc((100svh - var(--nav-h) - 48px) / 2.2);
  --w: 300px;
  --wall: 0 0 0 0 transparent;
  position: relative;
  z-index: 0;
  flex: none;
  width: var(--w);
  padding: calc(var(--w) * 0.034);
  border-radius: calc(var(--w) * 0.168);
  background: linear-gradient(140deg, #f5f4f9 0%, #c8c5d2 24%, #8f8ba0 52%, #d5d2de 74%, #7d798d 100%);
  box-shadow: var(--wall), 0 50px 90px -38px rgba(0, 0, 0, 0.95), 0 30px 110px -44px rgba(124, 92, 250, 0.55);
}
.phone::before { content: ""; position: absolute; inset: calc(var(--w) * 0.011); z-index: -1; border-radius: calc(var(--w) * 0.158); background: #040406; }
.phone img { width: 100%; aspect-ratio: 1320 / 2868; border-radius: calc(var(--w) * 0.134); background: #0b0a0f; object-fit: cover; }
.phone::after { content: ""; position: absolute; top: calc(var(--w) * 0.058); left: 50%; width: 28%; height: calc(var(--w) * 0.08); border-radius: 999px; background: #000; transform: translateX(-50%); }

/* The poses from the App Store set (poses.ts), calm, a few degrees at most. The wall is the metal side the turn shows. */
@media (min-width: 720px) {
  .pose-left { --wall: 5px 2px 0 -1px #6d697d; transform: perspective(1900px) rotateX(3deg) rotateY(-11deg) rotateZ(-1.2deg); }
  .pose-right { --wall: -5px 2px 0 -1px #a5a1b2; transform: perspective(1900px) rotateX(3deg) rotateY(11deg) rotateZ(1.2deg); }
  .pose-tilt { transform: rotate(2deg); }
}

/* A stage light from above, widening to the floor. A cone of gradient, so it costs no blur. */
.beam {
  position: absolute;
  inset: -16% -22% -6%;
  z-index: -2;
  background: conic-gradient(from 146deg at 50% -28%, rgba(169, 139, 255, 0) 0deg, rgba(169, 139, 255, 0.17) 15deg, rgba(169, 139, 255, 0.17) 53deg, rgba(169, 139, 255, 0) 68deg, rgba(169, 139, 255, 0) 360deg);
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 24%, #000 42%, transparent 96%);
  mask-image: linear-gradient(to bottom, transparent 0%, #000 24%, #000 42%, transparent 96%);
  pointer-events: none;
}

/* ---------- Hero ---------- */

.hero { position: relative; padding: calc(var(--nav-h) + clamp(24px, 3.4vw, 48px)) 0 clamp(48px, 6vw, 88px); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); align-items: center; gap: clamp(32px, 5vw, 64px); }
.hero-hook { margin-bottom: 22px; }
.hero h1 { font-size: clamp(3rem, 1.6rem + 5.2vw, 5.8rem); letter-spacing: -0.045em; line-height: 0.98; }
.hero-lead { max-width: 34rem; margin-top: 26px; font-size: clamp(1.08rem, 1rem + 0.4vw, 1.28rem); line-height: 1.6; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 34px; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 30px !important; color: var(--muted); font-size: 0.92rem; }
.hero-meta li { display: inline-flex; align-items: center; gap: 8px; }
.hero-meta svg { width: 16px; height: 16px; color: var(--accent); }

/* In a headline, one phrase takes the accent colour, as on the screenshots. */
.marked { color: var(--accent); }

/* The hero's stage: two whole phones side by side under the light, the tape running in behind them. */
.stage { position: relative; display: flex; justify-content: center; align-items: center; gap: clamp(14px, 1.8vw, 26px); isolation: isolate; }
.stage .p-main { --w: min(22vw, 312px, var(--fit)); }
.stage .p-side { --w: min(17.5vw, 248px, calc(var(--fit) * 0.8)); margin-top: 8%; }

/* The styles, straight under the hero: this is for people who dance. */
.styles-band { padding-block: clamp(8px, 2vw, 24px) 0; }
.styles { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px 10px; max-width: 980px; margin: 0 auto !important; }
.styles li { padding: 7px 14px; border-radius: 999px; background: rgba(255, 255, 255, 0.04); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.09); color: var(--ink); font: 500 0.95rem/1.2 var(--font-display); }
.styles-note { max-width: 40rem; margin: 18px auto 0; color: var(--muted); font-size: 0.95rem; text-align: center; }

/* ---------- Sections ---------- */

.section { position: relative; padding-block: var(--section-y); }
.section-head { max-width: 46rem; margin-bottom: clamp(40px, 5vw, 64px); }
.section-head.is-center { margin-inline: auto; text-align: center; }
.section-head.is-center .eyebrow { justify-content: center; }
.section-head h2, .feature-copy h2 { margin-top: 16px; font-size: clamp(2.2rem, 1.3rem + 3vw, 3.8rem); letter-spacing: -0.04em; line-height: 1.02; }
.section-head p:not(.eyebrow), .feature-copy > p:not(.eyebrow) { margin-top: 20px; font-size: clamp(1.05rem, 1rem + 0.3vw, 1.2rem); line-height: 1.65; }
.tag { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px; background: rgba(169, 139, 255, 0.14); color: var(--lilac); font: 600 0.75rem/1.4 var(--font-display); letter-spacing: 0.02em; vertical-align: middle; }
.eyebrow .tag { margin-left: 2px; }
.tag-premium { background: rgba(169, 139, 255, 0.22); box-shadow: inset 0 0 0 1px rgba(169, 139, 255, 0.35); color: #e4dbff; }
.tag-free { background: rgba(255, 255, 255, 0.07); color: var(--text); }

/* How it works: words above, the whole phone below, like a screenshot in the set. */
.how-wrap { position: relative; isolation: isolate; }
.how-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 40px); }
.how-step { display: flex; flex-direction: column; align-items: center; text-align: center; }
.step-no { color: var(--accent); font: 500 0.9rem/1 var(--font-mono); letter-spacing: 0.04em; }
.how-step h3 { margin-top: 12px; font-size: clamp(1.35rem, 1.2rem + 0.6vw, 1.7rem); }
.how-step p { max-width: 21rem; margin: 10px 0 30px; color: var(--text); font-size: 1rem; line-height: 1.6; }
.how-step .phone { --w: min(26vw, 310px, var(--fit)); margin-top: auto; }

/* Card stock: a dark surface with a faint top light and a rim brighter at the top. Content sits on cards, never glass. */
.card {
  position: relative;
  background: linear-gradient(180deg, var(--card-light), rgba(255, 255, 255, 0) 50%), rgba(25, 24, 28, 0.88);
  box-shadow: inset 0 0 0 1px var(--rim), inset 0 1px 0 var(--rim-light);
}

/* Feature sections: copy beside one or two whole phones */
.feature { display: grid; grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr); align-items: center; gap: clamp(40px, 5vw, 72px); }
.feature.is-flip { grid-template-columns: minmax(0, 1.14fr) minmax(0, 0.86fr); }
.feature.is-flip .feature-visual { order: -1; }
.feature-visual { position: relative; display: flex; justify-content: center; align-items: center; gap: clamp(18px, 2.6vw, 36px); isolation: isolate; }
.feature-visual .phone { --w: min(26vw, 340px, var(--fit)); }
.feature-visual.is-pair .phone { --w: min(20vw, 284px, var(--fit)); }

.points { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 26px; margin-top: 34px !important; }
.points li { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 4px 12px; align-content: start; font-size: 0.95rem; line-height: 1.55; }
.points .ico { grid-row: span 2; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 11px; background: rgba(169, 139, 255, 0.12); color: var(--accent); }
.points .ico svg { width: 18px; height: 18px; }
.points b { color: var(--ink); font: 600 1rem/1.35 var(--font-display); letter-spacing: -0.01em; }
.points p { color: var(--muted); }

/* Three phones with captions, swiping on small screens */
.screens-wrap { position: relative; isolation: isolate; }
.screens { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 40px); }
.screen { display: flex; flex-direction: column; align-items: center; gap: 26px; }
.screen .phone { --w: min(27vw, 320px, var(--fit)); }
.screen figcaption { max-width: 22rem; color: var(--muted); font-size: 0.97rem; line-height: 1.55; text-align: center; }
.screen figcaption b { display: block; margin-bottom: 6px; color: var(--ink); font: 600 1.2rem/1.25 var(--font-display); letter-spacing: -0.015em; }
.screens-note { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 26px; margin-top: clamp(40px, 5vw, 56px); color: var(--muted); font-size: 0.95rem; }
.screens-note span { display: inline-flex; align-items: center; gap: 9px; }

.editor-after { margin-top: 14px !important; color: var(--muted); font-size: 1rem !important; }
.privacy-more { color: var(--lilac); font-weight: 600; text-decoration: none; }
.privacy-more:hover { text-decoration: underline; text-underline-offset: 3px; }

/* The editor's tools, a quiet list under the phones */
.bento { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 30px clamp(20px, 2.4vw, 32px); margin-top: clamp(48px, 6vw, 80px) !important; }
.bento li { padding-top: 20px; border-top: 1px solid var(--hairline); font-size: 0.95rem; line-height: 1.55; }
.bento .ico { display: block; margin-bottom: 12px; color: var(--accent); }
.bento .ico svg { width: 22px; height: 22px; }
.bento b { display: block; margin-bottom: 4px; color: var(--ink); font: 600 1.05rem/1.3 var(--font-display); letter-spacing: -0.01em; }
.bento p { color: var(--muted); }

/* Privacy */
.privacy-card { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(32px, 5vw, 72px); padding: clamp(32px, 5vw, 64px); border-radius: var(--r-xl); overflow: hidden; }
.privacy-card h2 { margin-top: 16px; font-size: clamp(2.1rem, 1.3rem + 2.6vw, 3.4rem); letter-spacing: -0.04em; line-height: 1.02; }
.privacy-card > div > p { margin-top: 20px; font-size: 1.08rem; line-height: 1.65; }
.label-badge { display: inline-grid; grid-template-columns: auto 1fr; align-items: center; gap: 4px 14px; margin-top: 30px; padding: 16px 20px; border-radius: 18px; background: rgba(0, 0, 0, 0.35); box-shadow: inset 0 0 0 1px var(--rim); }
.label-badge svg { grid-row: span 2; width: 30px; height: 30px; color: var(--accent); }
.label-badge small { color: var(--muted); font-size: 0.8rem; }
.label-badge b { color: var(--ink); font: 600 1.15rem/1.2 var(--font-display); }
.privacy-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 28px; align-content: center; }
.privacy-list li { display: grid; gap: 8px; padding-top: 18px; border-top: 1px solid var(--hairline); font-size: 0.97rem; line-height: 1.6; }
.privacy-list b { display: flex; align-items: center; gap: 10px; color: var(--ink); font: 600 1.08rem/1.3 var(--font-display); }
.privacy-list b svg { width: 19px; height: 19px; color: var(--accent); }
.privacy-list p { color: var(--muted); }

/* Pricing */
.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 2vw, 24px); max-width: 1000px; margin-inline: auto; }
.plan { display: flex; flex-direction: column; padding: clamp(28px, 3.4vw, 40px); border-radius: var(--r-xl); }
.plan.is-premium { box-shadow: inset 0 0 0 1.5px rgba(169, 139, 255, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.18), 0 40px 90px -50px rgba(124, 92, 250, 0.75); background: linear-gradient(180deg, rgba(169, 139, 255, 0.12), rgba(169, 139, 255, 0) 45%), rgba(25, 24, 28, 0.92); }
.plan h3 { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; font-size: clamp(1.5rem, 1.3rem + 0.8vw, 1.9rem); }
.plan-price { margin-top: 12px; color: var(--ink); font: 500 1.05rem/1.45 var(--font-display); }
.plan-price small { display: block; margin-top: 4px; color: var(--muted); font: 400 0.9rem/1.5 var(--font-body); }
.plan ul { display: grid; gap: 12px; margin: 26px 0 0 !important; padding: 24px 0 0 !important; list-style: none; border-top: 1px solid var(--hairline); }
.plan li { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 12px; font-size: 0.98rem; line-height: 1.5; }
.plan li svg { width: 18px; height: 18px; margin-top: 2px; color: var(--accent); }
.plan .btn { align-self: flex-start; margin-top: auto; }
.plan ul { margin-bottom: 30px !important; }
.plans-note { max-width: 44rem; margin: 28px auto 0; color: var(--muted); font-size: 0.9rem; line-height: 1.6; text-align: center; }

/* FAQ */
.faq-wrap { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.faq-wrap .section-head { position: sticky; top: calc(var(--nav-h) + 32px); margin: 0; }
.faq { display: grid; gap: 10px; }
.faq details { border-radius: var(--r-m); background: rgba(25, 24, 28, 0.82); box-shadow: inset 0 0 0 1px var(--rim); transition: box-shadow 0.25s ease, background-color 0.25s ease; }
.faq details[open] { background: rgba(31, 29, 36, 0.92); box-shadow: inset 0 0 0 1px rgba(169, 139, 255, 0.3); }
.faq summary { position: relative; display: block; padding: 22px 60px 22px 24px; color: var(--ink); font: 600 1.05rem/1.4 var(--font-display); letter-spacing: -0.01em; list-style: none; cursor: pointer; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 24px; top: 50%; width: 10px; height: 10px; margin-top: -7px; border: solid var(--muted); border-width: 0 2px 2px 0; transform: rotate(45deg); transition: transform 0.3s var(--ease), border-color 0.2s ease; }
.faq details[open] summary::after { margin-top: -2px; transform: rotate(-135deg); border-color: var(--accent); }
.faq details > p, .faq details > div { padding: 0 24px 24px; color: var(--text); font-size: 1rem; line-height: 1.65; }
.faq details a { color: var(--lilac); }
@supports (interpolate-size: allow-keywords) {
  .faq details { interpolate-size: allow-keywords; }
  .faq details::details-content { height: 0; overflow: clip; transition: height 0.35s var(--ease), content-visibility 0.35s allow-discrete; }
  .faq details[open]::details-content { height: auto; }
}

/* CTA */
.cta-card { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); align-items: center; gap: 32px; padding: clamp(36px, 6vw, 80px); border-radius: var(--r-xl); overflow: hidden; isolation: isolate; }
.cta-card::before { content: ""; position: absolute; inset: -40% 20% 10% -20%; z-index: -1; background: radial-gradient(closest-side, rgba(124, 92, 250, 0.22), rgba(124, 92, 250, 0)); }
.cta-icon { width: 76px; height: 76px; margin-bottom: 26px; border-radius: 18px; box-shadow: 0 0 0 1px var(--rim-light), 0 18px 40px -14px rgba(124, 92, 250, 0.7); }
.cta-card h2 { font-size: clamp(2.1rem, 1.3rem + 2.8vw, 3.5rem); letter-spacing: -0.04em; line-height: 1.02; }
.cta-card p { max-width: 30rem; margin-top: 18px; font-size: 1.1rem; }
.cta-card .btn { margin-top: 32px; }
.cta-phone { position: relative; display: flex; justify-content: center; align-self: stretch; align-items: flex-start; height: 100%; min-height: 300px; margin-bottom: calc(clamp(36px, 6vw, 80px) * -1); }
.cta-phone .phone { --w: clamp(230px, 22vw, 280px); }
.cta-phone::after { content: ""; position: absolute; inset: auto -40px 0; height: 40%; background: linear-gradient(180deg, transparent, rgba(22, 21, 26, 0.95)); }
.cta-contained { padding-bottom: clamp(36px, 6vw, 80px); }
.cta-contained .cta-phone { margin-bottom: 0; align-items: center; }
.cta-contained .cta-phone::after { display: none; }
.cta-contained .cta-phone .phone { --w: clamp(190px, 18vw, 230px); }

/* The last shot: the icon's dancer leaping the tape under the light, then the title, like the app preview's ending. */
.finale { position: relative; padding-block: clamp(40px, 6vw, 72px) var(--section-y); text-align: center; isolation: isolate; overflow: clip; }
.finale > .beam { inset: 0; }
.finale-inner { display: flex; flex-direction: column; align-items: center; }
.finale-mark { position: relative; width: min(74vw, 480px); margin-bottom: clamp(56px, 7vw, 88px); }
.finale-dancer { position: relative; z-index: 1; width: 100%; }
.floor-strip { position: absolute; left: 4%; right: 2%; bottom: -8%; --tape-h: clamp(12px, 1.6vw, 20px); transform: rotate(-7deg); }
.finale h2 { font-size: clamp(2.6rem, 1.4rem + 4vw, 4.8rem); letter-spacing: -0.045em; line-height: 1; }
.finale p { max-width: 32rem; margin-top: 18px; font-size: clamp(1.05rem, 1rem + 0.3vw, 1.2rem); }
.finale .btn { margin-top: 32px; }

/* ---------- Footer ---------- */

.footer { position: relative; padding: clamp(56px, 7vw, 88px) 0 40px; border-top: 1px solid var(--hairline); color: var(--muted); font-size: 0.92rem; }
.footer-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 32px; padding-bottom: 36px; }
.footer-tagline { margin-top: 14px; color: var(--muted); }
.footer-links { display: flex; flex-wrap: wrap; gap: 10px 28px; align-items: center; }
.footer-links a, .footer-langs a { color: var(--muted); text-decoration: none; transition: color 0.2s ease; }
.footer-links a:hover, .footer-langs a:hover { color: var(--ink); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px 28px; padding-top: 28px; border-top: 1px solid var(--hairline); color: var(--faint); font-size: 0.85rem; }
.footer-langs { display: flex; flex-wrap: wrap; gap: 4px 18px; }
.footer-langs a[aria-current="page"] { color: var(--ink); font-weight: 600; }

/* ---------- Legal and not-found ---------- */

.legal { padding: calc(var(--nav-h) + clamp(40px, 6vw, 80px)) 0 var(--section-y); }
.legal .container { max-width: 760px; }
.legal h1 { margin-top: 18px; font-size: clamp(2.4rem, 1.6rem + 3vw, 3.8rem); letter-spacing: -0.04em; }
.legal .updated { margin-top: 14px; color: var(--muted); font-size: 0.95rem; }
.legal h2 { margin-top: 2.4em; font-size: clamp(1.35rem, 1.2rem + 0.6vw, 1.7rem); scroll-margin-top: calc(var(--nav-h) + 20px); }
.legal h3 { margin-top: 1.6em; font-size: 1.15rem; }
.legal p, .legal ul, .legal ol, .legal table { margin-top: 1em; }
.legal ul:not([class]), .legal ol:not([class]) { padding-left: 1.3em; }
.legal li + li { margin-top: 0.45em; }
.legal li::marker { color: var(--accent); }
.legal a { color: var(--lilac); text-underline-offset: 3px; }
.legal table { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
.legal th, .legal td { padding: 12px 10px; border-bottom: 1px solid var(--hairline); text-align: left; vertical-align: top; }
.legal th { color: var(--ink); font-family: var(--font-display); font-weight: 600; }
.legal-summary { margin-top: 32px; padding: 26px 28px; border-radius: var(--r-l); }
.legal-summary h2 { margin-top: 0; font-size: 1.2rem; }
.legal-summary ul { display: grid; gap: 10px; margin-top: 14px; }
.legal-summary li { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 12px; }
.legal-summary li svg { width: 18px; height: 18px; margin-top: 3px; color: var(--accent); }
.table-scroll { overflow-x: auto; }

.not-found { display: grid; place-items: center; min-height: 100vh; padding: calc(var(--nav-h) + 40px) var(--gutter) 80px; text-align: center; }
.not-found > div { display: grid; justify-items: center; max-width: 36rem; }
.not-found .tape { width: 160px; margin-bottom: 36px; transform: rotate(-5deg); }
.not-found h1 { font-size: clamp(2.6rem, 1.6rem + 4vw, 4.6rem); letter-spacing: -0.045em; }
.not-found p { margin-top: 18px; font-size: 1.1rem; }
.not-found .hero-actions { justify-content: center; }

/* ---------- Reveal ---------- */

.js [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity 0.8s var(--settle), transform 0.9s var(--settle); transition-delay: var(--delay, 0s); }
.js [data-reveal].is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
  .js .marked::after, .js .stage-tape.tape::before { transform: rotate(-1.6deg); }
  .js .stage-tape.tape::before { transform: none; }
}

/* ---------- Blog: shared ---------- */

.kicker { display: inline-flex; align-items: center; gap: 10px; color: var(--accent); font: 500 0.88rem/1.3 var(--font-display); }
.kicker::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }

.crumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; margin: 0; padding: 0; list-style: none; color: var(--muted); font-size: 0.875rem; }
.crumbs li { min-width: 0; }
.crumbs li + li::before { content: "/"; margin-right: 8px; color: var(--faint); }
.crumbs a { color: var(--text); text-decoration: none; }
.crumbs a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.crumbs [aria-current] { overflow: hidden; max-width: 34ch; color: var(--muted); text-overflow: ellipsis; white-space: nowrap; }

.avatar { display: inline-grid; place-items: center; flex: none; width: 44px; height: 44px; border-radius: 50%; background: linear-gradient(180deg, var(--btn-top), var(--btn-bottom)); color: #fff; font: 600 0.95rem/1 var(--font-display); letter-spacing: 0.02em; }
.avatar-lg { width: 56px; height: 56px; font-size: 1.1rem; }

/* ---------- Blog: cards ---------- */

.post-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 2vw, 24px); margin: 0; padding: 0; list-style: none; }
.post-card {
  position: relative;
  display: flex;
  flex-direction: column;
  border-radius: var(--r-l);
  background: linear-gradient(180deg, var(--card-light), rgba(255, 255, 255, 0) 40%), rgba(25, 24, 28, 0.9);
  box-shadow: inset 0 0 0 1px var(--rim), inset 0 1px 0 var(--rim-light);
  overflow: hidden;
  transition: box-shadow 0.3s ease, transform 0.35s var(--ease);
}
.post-card:hover { transform: translateY(-3px); box-shadow: inset 0 0 0 1px rgba(169, 139, 255, 0.4), inset 0 1px 0 var(--rim-light), 0 30px 60px -30px rgba(124, 92, 250, 0.5); }
.post-card-media { aspect-ratio: 2 / 1; overflow: hidden; background: var(--bg-deep); }
.post-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease); }
.post-card:hover .post-card-media img { transform: scale(1.03); }
.post-card-body { display: flex; flex: 1; flex-direction: column; gap: 12px; padding: clamp(20px, 2.4vw, 28px); }
.post-card-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 16px; color: var(--muted); font-size: 0.86rem; }
.post-card h2, .post-card h3 { font-size: clamp(1.2rem, 1.1rem + 0.5vw, 1.45rem); letter-spacing: -0.02em; line-height: 1.22; }
.post-card h2 a, .post-card h3 a { color: inherit; text-decoration: none; }
.post-card h2 a::after, .post-card h3 a::after { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: inherit; }
.post-card h2 a:focus-visible, .post-card h3 a:focus-visible { outline: none; }
.post-card:has(a:focus-visible) { outline: 2.5px solid var(--accent); outline-offset: 3px; }
.post-card-text { color: var(--muted); font-size: 0.97rem; line-height: 1.6; }
.post-card-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: auto; padding-top: 6px; color: var(--faint); font-size: 0.86rem; }
.read-more { display: inline-flex; align-items: center; gap: 6px; color: var(--accent); font-weight: 600; }
.read-more::after { content: "→"; transition: transform 0.25s ease; }
.post-card:hover .read-more::after { transform: translateX(3px); }
.post-card.is-featured { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); }
.post-card.is-featured .post-card-media { aspect-ratio: auto; min-height: 100%; }
.post-card.is-featured .post-card-body { justify-content: center; gap: 16px; padding: clamp(28px, 4vw, 52px); }
.post-card.is-featured h2 { font-size: clamp(1.6rem, 1.25rem + 1.3vw, 2.3rem); line-height: 1.1; }
.post-cards-home { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.post-cards-home .post-card-text { display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 3; }
.blog-more { display: flex; justify-content: center; margin-top: 36px; }
.blog-empty { padding: 40px; border-radius: var(--r-l); color: var(--muted); text-align: center; }

/* ---------- Blog: index ---------- */

.blog-hero { padding: calc(var(--nav-h) + clamp(40px, 6vw, 80px)) 0 clamp(32px, 4vw, 48px); }
.blog-hero .crumbs { margin-bottom: clamp(28px, 4vw, 40px); }
.blog-hero h1 { max-width: 16ch; font-size: clamp(2.6rem, 1.5rem + 3.8vw, 4.6rem); letter-spacing: -0.045em; line-height: 1.02; }
.blog-hero .lead { max-width: 38rem; margin-top: 22px; color: var(--text); font-size: clamp(1.08rem, 1rem + 0.35vw, 1.25rem); line-height: 1.6; }
.blog-hero .kicker { margin-bottom: 18px; }
.post-list { padding-block: clamp(32px, 4vw, 48px) var(--section-y); }

/* ---------- Blog: post head ---------- */

.post-hero { padding-top: calc(var(--nav-h) + clamp(28px, 5vw, 64px)); }
.post-head { max-width: min(860px, 100% - var(--gutter) * 2); margin-inline: max(var(--gutter), (100% - var(--max)) / 2); }
.post-head .crumbs { margin-bottom: clamp(28px, 4vw, 44px); }
.post-kicker { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 18px; color: var(--muted); font-size: 0.9rem; }
.post-hero h1 { margin-top: 16px; font-size: clamp(2.3rem, 1.35rem + 3.4vw, 4.1rem); letter-spacing: -0.045em; line-height: 1.03; }
.post-hero h1 .accent, .blog-hero h1 .accent { color: var(--accent); }
.post-dek { max-width: 40rem; margin-top: 22px; color: var(--text); font-size: clamp(1.1rem, 1rem + 0.4vw, 1.3rem); line-height: 1.55; }
.byline { display: flex; align-items: center; gap: 14px; margin-top: 32px; }
.byline-text { display: grid; gap: 2px; color: var(--muted); font-size: 0.9rem; line-height: 1.4; }
.byline-text strong { color: var(--ink); font-size: 1rem; font-weight: 600; }
.post-figure { margin: clamp(36px, 5vw, 56px) auto 0; }
.post-figure img { width: 100%; aspect-ratio: 2 / 1; border-radius: clamp(18px, 2.4vw, 28px); background: var(--bg-deep); box-shadow: inset 0 0 0 1px var(--rim), 0 40px 90px -50px rgba(124, 92, 250, 0.6); }

/* ---------- Blog: layout and contents ---------- */

.post-wrap { display: grid; grid-template-columns: 200px minmax(0, 700px); justify-content: center; gap: clamp(40px, 6vw, 96px); padding-block: clamp(48px, 6vw, 80px) clamp(56px, 8vw, 104px); }
.post-toc { position: sticky; top: calc(var(--nav-h) + 28px); align-self: start; font-size: 0.9rem; }
.post-toc summary { margin-bottom: 14px; color: var(--ink); font: 600 0.95rem/1.3 var(--font-display); list-style: none; pointer-events: none; }
.post-toc summary::-webkit-details-marker { display: none; }
.post-toc ol { display: grid; margin: 0; padding: 0; list-style: none; border-left: 1px solid var(--hairline); }
.post-toc a { position: relative; display: block; padding: 7px 0 7px 16px; color: var(--muted); line-height: 1.4; text-decoration: none; transition: color 0.2s ease; }
.post-toc a::before { content: ""; position: absolute; left: -1px; top: 6px; bottom: 6px; width: 2px; border-radius: 2px; background: transparent; transition: background-color 0.2s ease, box-shadow 0.2s ease; }
.post-toc a:hover { color: var(--ink); }
.post-toc a.is-current { color: var(--ink); font-weight: 500; }
.post-toc a.is-current::before { background: var(--accent); box-shadow: 0 0 8px var(--accent); }

/* ---------- Blog: article typography ---------- */

.article { color: var(--text); font-size: 1.125rem; line-height: 1.75; }
.article > * + * { margin-top: 1.2em; }
.article h2 { margin-top: 2.6em; font-size: clamp(1.6rem, 1.3rem + 1.1vw, 2.15rem); letter-spacing: -0.035em; line-height: 1.15; scroll-margin-top: calc(var(--nav-h) + 24px); }
.article h3 { margin-top: 2em; font-size: clamp(1.2rem, 1.1rem + 0.4vw, 1.4rem); letter-spacing: -0.02em; line-height: 1.25; scroll-margin-top: calc(var(--nav-h) + 24px); }
.article h2 + *, .article h3 + * { margin-top: 0.75em; }
.article > :first-child { margin-top: 0; }
.article a { color: var(--lilac); text-decoration-thickness: 1px; text-underline-offset: 3px; text-decoration-color: rgba(205, 189, 255, 0.45); }
.article a:hover { text-decoration-color: currentColor; }
.article a.btn { color: var(--ink); text-decoration: none; }
.article strong { color: var(--ink); font-weight: 600; }
.article em { color: var(--ink); }
:where(.article ul:not([class]), .article ol:not([class])) { padding-left: 1.2em; }
:where(.article ul:not([class]) > li, .article ol:not([class]) > li) { padding-left: 0.2em; }
:where(.article ul:not([class]) > li + li, .article ol:not([class]) > li + li) { margin-top: 0.5em; }
.article li::marker { color: var(--accent); }
.article .lede { color: var(--ink); font-size: clamp(1.18rem, 1.08rem + 0.4vw, 1.32rem); line-height: 1.6; }
.article sup { line-height: 0; }
.article sup a { padding: 0 1px; font-size: 0.72em; font-weight: 600; text-decoration: none; }
.article .tag { padding: 3px 10px; font-size: 0.78rem; }
.article blockquote:not([class]) { padding-left: 20px; border-left: 3px solid var(--accent); color: var(--ink); }
.article code { padding: 1px 6px; border-radius: 6px; background: var(--surface-2); font: 0.9em var(--font-mono); }
.article hr { height: 1px; border: 0; background: var(--hairline); }
.article table:not(.cmp table) { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
.article > table th, .article > table td { padding: 10px 12px; border-bottom: 1px solid var(--hairline); text-align: left; vertical-align: top; }
.article > table th { color: var(--ink); font-family: var(--font-display); font-weight: 600; }
.article > figure:not([class]) { margin: 2.4em 0; }
.article > figure:not([class]) img { margin-inline: auto; border-radius: var(--r-l); }
.article > figure:not([class]) figcaption, .article figure > figcaption:only-of-type { color: var(--muted); font-size: 0.92rem; line-height: 1.55; }
.article > figure:not([class]) figcaption { margin-top: 14px; text-align: center; }
/* A plain screenshot in an article: shown in the device frame, at a readable size. */
.article > figure:not([class]) > img[src*="/assets/img/app/"] { width: min(100%, 300px); padding: 8px; border-radius: 44px; background: #050507; box-shadow: inset 0 0 0 1.5px #5c5868, inset 0 0 0 3px #1b1a20, 0 30px 70px -30px rgba(124, 92, 250, 0.5); }

/* Summary */
.answer { display: grid; grid-template-columns: 9rem minmax(0, 1fr); gap: 6px 32px; margin-top: 2.2em; padding: 26px 0 8px; border-top: 2px solid var(--accent); }
.answer-label { grid-row: span 2; color: var(--ink); font: 600 1rem/1.5 var(--font-display); letter-spacing: -0.01em; }
.answer-label svg { display: none; }
.answer > p { margin: 0; color: var(--ink); font-size: 1.1rem; line-height: 1.65; }
.answer ul, .answer ol { margin: 14px 0 0; padding: 0; list-style: none; counter-reset: answer; }
.answer li { display: grid; grid-template-columns: 2.2rem minmax(0, 1fr); margin: 0; padding: 12px 0; border-top: 1px solid var(--hairline); color: var(--text); font-size: 1rem; line-height: 1.55; counter-increment: answer; }
.answer li::before { content: counter(answer, decimal-leading-zero); padding-top: 2px; color: var(--accent); font: 500 0.82rem/1.6 var(--font-mono); }
.answer li > svg { display: none; }

/* Feature figure: phone + copy */
.fig { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr); align-items: center; gap: clamp(24px, 4vw, 48px); margin: 2.4em 0; padding: clamp(12px, 1.5vw, 16px); border-radius: var(--r-xl); background: rgba(25, 24, 28, 0.88); box-shadow: inset 0 0 0 1px var(--rim), inset 0 1px 0 var(--rim-light); }
.fig.is-flip { grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr); }
.fig.is-flip .fig-media { order: 2; }
.fig-media { display: grid; place-items: center; padding: clamp(24px, 3vw, 36px) 16px; border-radius: calc(var(--r-xl) - 10px); background: radial-gradient(80% 70% at 50% 20%, rgba(124, 92, 250, 0.28), rgba(124, 92, 250, 0) 70%), #0e0c13; }
.fig-media .phone { --w: clamp(170px, 18vw, 214px); }
.fig figcaption { display: grid; align-content: center; gap: 12px; padding: 8px clamp(4px, 2vw, 20px) 8px 0; font-size: 1rem; line-height: 1.65; }
.fig.is-flip figcaption { padding: 8px 0 8px clamp(4px, 2vw, 20px); }
.fig figcaption strong { color: var(--ink); font: 600 clamp(1.25rem, 1.1rem + 0.6vw, 1.55rem)/1.2 var(--font-display); letter-spacing: -0.02em; }
.fig figcaption .tag { justify-self: start; }
.fig figcaption ul { display: grid; gap: 8px; margin: 4px 0 0; padding: 0; list-style: none; }
.fig figcaption li { position: relative; margin: 0; padding-left: 18px; color: var(--ink); font-size: 0.95rem; font-weight: 500; line-height: 1.5; }
.fig figcaption li::before { content: ""; position: absolute; left: 2px; top: 0.6em; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.fig figcaption li > svg { display: none; }

.fig-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 2.4em 0; padding: 0; list-style: none; }
.fig-row.is-two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.fig-row > li, .fig-row > figure { display: grid; align-content: start; gap: 18px; margin: 0; padding: 22px 18px 20px; border-radius: var(--r-l); background: radial-gradient(90% 60% at 50% 15%, rgba(124, 92, 250, 0.22), rgba(124, 92, 250, 0) 70%), rgba(25, 24, 28, 0.9); box-shadow: inset 0 0 0 1px var(--rim); }
.fig-row .phone { --w: min(100%, 176px); justify-self: center; }
.fig-row figcaption, .fig-row p { color: var(--muted); font-size: 0.9rem; line-height: 1.5; text-align: left; }
.fig-row figcaption b, .fig-row p b { display: block; margin-bottom: 4px; color: var(--ink); font: 600 1rem/1.3 var(--font-display); }

/* Comparison table */
.cmp { position: relative; margin: 2.4em 0; border-radius: var(--r-l); background: var(--surface); box-shadow: inset 0 0 0 1px var(--rim); overflow: hidden; }
.cmp-scroll { position: relative; overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: thin; }
.cmp::after { content: ""; position: absolute; top: 0; right: 0; bottom: var(--cmp-foot, 0px); z-index: 3; width: 64px; background: linear-gradient(to left, var(--surface) 10%, rgba(25, 24, 28, 0)); opacity: 0; pointer-events: none; transition: opacity 0.25s ease; }
.cmp.can-scroll::after { opacity: 1; }
.cmp table { width: 100%; min-width: 600px; border-collapse: separate; border-spacing: 0; font-size: 0.9rem; line-height: 1.4; }
.cmp caption { padding: 14px 18px 16px; color: var(--muted); font-size: 0.82rem; text-align: left; caption-side: bottom; }
.cmp th, .cmp td { padding: 13px 14px; border-bottom: 1px solid var(--hairline); text-align: center; vertical-align: middle; }
.cmp thead th { padding-block: 18px 14px; border-bottom: 1px solid var(--rim); background: var(--surface); color: var(--ink); font: 600 0.92rem/1.25 var(--font-display); }
.cmp thead th small { display: block; width: max-content; margin: 0 auto 6px; padding: 2px 8px; border-radius: 999px; background: #6a49f2; color: #fff; font: 600 0.68rem/1.4 var(--font-body); white-space: nowrap; }
.cmp thead th:first-child { color: var(--muted); font: 500 0.82rem/1.25 var(--font-body); text-align: left; }
.cmp tbody th { position: sticky; left: 0; z-index: 1; min-width: 148px; background: var(--surface); color: var(--ink); font-weight: 500; text-align: left; box-shadow: 1px 0 0 var(--hairline); }
.cmp thead th:first-child { position: sticky; left: 0; z-index: 2; box-shadow: 1px 0 0 var(--hairline); }
.cmp tbody tr:last-child > * { border-bottom: 0; }
.cmp tbody tr:hover > td { background: rgba(169, 139, 255, 0.03); }
.cmp .is-dancify, .cmp tbody tr:hover > td.is-dancify { background: rgba(169, 139, 255, 0.08); }
.cmp thead .is-dancify { color: var(--lilac); }
.cmp .y, .cmp .n, .cmp .p { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; vertical-align: middle; }
.cmp .y { background: rgba(169, 139, 255, 0.16); color: var(--lilac); }
.cmp .is-dancify .y { background: var(--accent-deep); color: #fff; }
.cmp .n { color: var(--faint); }
.cmp .p { background: rgba(247, 200, 115, 0.14); color: var(--amber); }
.cmp .y svg, .cmp .n svg, .cmp .p svg { width: 12px; height: 12px; }
.cmp td small { display: block; margin-top: 4px; color: var(--muted); font-size: 0.75rem; line-height: 1.35; }
.cmp-legend { display: flex; flex-wrap: wrap; gap: 8px 20px; padding: 14px 18px 16px; border-top: 1px solid var(--hairline); color: var(--muted); font-size: 0.8rem; }
.cmp-legend span { display: inline-flex; align-items: center; gap: 8px; }
.cmp-legend p { margin: 0; }
.cmp-legend i { display: inline-grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; }
.cmp-legend svg { width: 10px; height: 10px; }

/* Picks */
.picks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 2.2em 0; padding: 0; list-style: none; }
.pick { display: grid; grid-template-rows: auto auto 1fr auto; gap: 6px; margin: 0; padding: 22px 22px 20px; border-radius: var(--r-m); background: rgba(25, 24, 28, 0.9); box-shadow: inset 0 0 0 1px var(--rim); font-size: 0.96rem; line-height: 1.6; }
.pick h3 { order: -1; margin: 0; font-size: 1.2rem; }
.pick .pick-for { color: var(--accent); font-size: 0.88rem; font-weight: 600; }
.pick > p:not([class]) { margin-top: 4px; }
.pick .pick-watch { margin-top: 10px; padding-top: 12px; border-top: 1px solid var(--hairline); color: var(--muted); font-size: 0.88rem; line-height: 1.55; }
.pick .pick-watch b { color: var(--ink); font-weight: 600; }
.picks > .pick:not(.is-dancify):nth-last-child(2):nth-child(odd) { grid-column: 1 / -1; }
.pick.is-dancify { grid-column: 1 / -1; padding: 26px 26px 24px; background: linear-gradient(160deg, rgba(169, 139, 255, 0.14), rgba(169, 139, 255, 0.02)), rgba(25, 24, 28, 0.9); box-shadow: inset 0 0 0 1.5px rgba(169, 139, 255, 0.6); }

/* Verdict panel */
.verdict { position: relative; isolation: isolate; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: clamp(24px, 4vw, 48px); margin: 2.8em 0; padding: clamp(28px, 4.5vw, 52px); border-radius: var(--r-xl); background: linear-gradient(160deg, #2a1d52 0%, #1a1330 55%, #120f1c 100%); box-shadow: inset 0 0 0 1px rgba(169, 139, 255, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.12); color: rgba(245, 242, 251, 0.86); font-size: 1.02rem; line-height: 1.65; overflow: hidden; }
.verdict .eyebrow { margin-bottom: 10px; color: var(--lilac); font-size: 0.9rem; }
.verdict h3, .verdict h2 { margin: 0 0 12px; color: #fff; font-size: clamp(1.5rem, 1.2rem + 1.1vw, 2.05rem); }
.verdict ul { display: grid; gap: 8px; margin: 18px 0 0; padding: 0; list-style: none; }
.verdict li { position: relative; margin: 0; padding-left: 18px; color: #fff; font-weight: 500; }
.verdict li::before { content: ""; position: absolute; left: 2px; top: 0.62em; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.verdict li > svg { display: none; }
.verdict .btn { margin-top: 26px; }
.verdict a:not(.btn) { color: #fff; }
.verdict .phone { --w: clamp(150px, 15vw, 184px); }

/* Callouts and quotes */
.callout { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 14px; margin: 2em 0; padding: 20px 22px; border-radius: var(--r-m); background: rgba(25, 24, 28, 0.9); box-shadow: inset 0 0 0 1px var(--rim); font-size: 0.97rem; line-height: 1.65; }
.callout > span { display: block; padding-top: 3px; color: var(--accent); }
.callout > span svg { width: 20px; height: 20px; }
.callout p + p { margin-top: 0.6em; }
.callout-care { background: rgba(247, 200, 115, 0.06); box-shadow: inset 0 0 0 1px rgba(247, 200, 115, 0.22); }
.callout-care > span { color: var(--amber); }
.pull { position: relative; margin: 2.4em 0; padding: 0; border: 0; color: var(--ink); font: 600 clamp(1.4rem, 1.15rem + 1vw, 1.85rem)/1.3 var(--font-display); letter-spacing: -0.025em; text-wrap: balance; }
.pull::before { content: ""; display: block; width: 44px; height: 8px; margin-bottom: 18px; transform: rotate(-6deg); background: var(--accent); clip-path: polygon(2px 0, 100% 0, calc(100% - 3px) 50%, 100% 100%, 0 100%, 3px 50%); box-shadow: 0 0 14px var(--accent); }
.pull cite { display: block; margin-top: 12px; color: var(--muted); font: 500 0.92rem/1.4 var(--font-body); font-style: normal; letter-spacing: 0; }

/* Counts strip (eight-counts) */
.counts { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 4px; margin: 2.2em 0; padding: 0; list-style: none; }
.counts li { display: grid; place-items: center; height: 48px; margin: 0; border-radius: 10px; background: var(--surface-2); color: var(--ink); font: 600 1.05rem/1 var(--font-display); }
.counts li:nth-child(1), .counts li:nth-child(5) { background: rgba(169, 139, 255, 0.2); color: var(--lilac); }

/* Side-by-side cards */
.vs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 2.2em 0; }
.vs-card { padding: 24px; border-radius: var(--r-l); background: rgba(25, 24, 28, 0.9); box-shadow: inset 0 0 0 1px var(--rim); }
.vs-card h3 { display: flex; align-items: center; gap: 12px; margin: 0 0 18px; font-size: 1.15rem; }
.vs-card h3 span { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: rgba(169, 139, 255, 0.14); color: var(--accent); }
.vs-card h3 svg { width: 18px; height: 18px; }
.vs-card.is-warm { background: rgba(247, 200, 115, 0.05); box-shadow: inset 0 0 0 1px rgba(247, 200, 115, 0.2); }
.vs-card.is-warm h3 span { background: rgba(247, 200, 115, 0.14); color: var(--amber); }
.vs-card dl { display: grid; gap: 14px; margin: 0; }
.vs-card dt { color: var(--ink); font-size: 0.95rem; font-weight: 600; }
.vs-card dd { margin: 2px 0 0; color: var(--text); font-size: 0.95rem; line-height: 1.55; }

/* Numbered steps */
.steps { display: grid; margin: 2.2em 0; padding: 0; list-style: none; counter-reset: step; border-top: 1px solid var(--hairline); }
.steps > li { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 12px; margin: 0; padding: 18px 0; border-bottom: 1px solid var(--hairline); counter-increment: step; font-size: 1rem; line-height: 1.6; }
.steps > li::before { content: counter(step); display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: rgba(169, 139, 255, 0.14); color: var(--lilac); font: 600 1rem/1 var(--font-display); }
.steps > li strong { display: block; margin-bottom: 2px; color: var(--ink); font: 600 1.08rem/1.35 var(--font-display); letter-spacing: -0.01em; }

/* Loop diagram */
.loop { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 44px; margin: 2.4em 0; padding: 0; list-style: none; counter-reset: loop; }
.loop li { position: relative; display: grid; align-content: start; gap: 8px; margin: 0; padding: 24px 22px 26px; border-radius: var(--r-l); background: rgba(25, 24, 28, 0.9); box-shadow: inset 0 0 0 1px var(--rim); font-size: 0.95rem; line-height: 1.55; counter-increment: loop; }
.loop li::before { content: counter(loop, decimal-leading-zero); color: var(--accent); font: 500 0.82rem/1.4 var(--font-mono); }
.loop li:not(:last-child)::after { content: "→"; position: absolute; top: 50%; right: -32px; z-index: 1; color: var(--accent); font-size: 1.2rem; transform: translateY(-50%); }
.loop strong { color: var(--ink); font: 600 1.3rem/1.15 var(--font-display); letter-spacing: -0.02em; }
.loop li:last-child { background: linear-gradient(160deg, #2a1d52 0%, #1a1330 100%); box-shadow: inset 0 0 0 1px rgba(169, 139, 255, 0.35); }

/* Principles */
.principles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 2.2em 0; padding: 0; list-style: none; }
.principles li { display: grid; align-content: start; gap: 8px; margin: 0; padding: 24px 22px; border-radius: var(--r-l); background: rgba(25, 24, 28, 0.9); box-shadow: inset 0 0 0 1px var(--rim); font-size: 0.96rem; line-height: 1.6; }
.principles li:last-child:nth-child(odd) { grid-column: 1 / -1; }
.principles strong { color: var(--ink); font: 600 1.12rem/1.3 var(--font-display); letter-spacing: -0.01em; }
.icon-bubble { display: grid; place-items: center; width: 40px; height: 40px; margin-bottom: 6px; border-radius: 12px; background: rgba(169, 139, 255, 0.12); color: var(--accent); }
.icon-bubble svg { width: 20px; height: 20px; }

/* Sources, author, FAQ */
.sources { margin-top: 2.8em; padding-top: 22px; border-top: 1px solid var(--hairline); color: var(--muted); font-size: 0.86rem; line-height: 1.55; }
.sources h2 { margin: 0 0 12px; font-size: 1rem; letter-spacing: -0.01em; }
.sources ol { margin: 0; padding-left: 1.4em; }
.sources li + li { margin-top: 0.45em; }
.sources li::marker { color: var(--muted); font-variant-numeric: tabular-nums; }
.sources li:target { color: var(--ink); }
.sources a { overflow-wrap: anywhere; }
.author-card { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 18px; margin-top: 2.4em; padding: 24px; border-radius: var(--r-l); background: rgba(25, 24, 28, 0.9); box-shadow: inset 0 0 0 1px var(--rim); font-size: 0.96rem; line-height: 1.6; }
.author-card p { margin: 0; }
.author-card .author-name { color: var(--ink); font: 600 1.08rem/1.3 var(--font-display); }
.author-card .author-role { margin: 2px 0 8px; color: var(--muted); font-size: 0.88rem; }
.article .faq { gap: 10px; margin-top: 1.2em; }
.article .faq summary { padding: 20px 56px 20px 22px; font-size: 1.04rem; }
.article .faq details p { padding: 0 22px 22px; font-size: 1rem; line-height: 1.65; }
.related { padding-bottom: clamp(56px, 8vw, 104px); }
.related h2 { margin-bottom: clamp(20px, 3vw, 32px); font-size: clamp(1.6rem, 1.3rem + 1.1vw, 2.15rem); }

/* ---------- Responsive ---------- */

@media (max-width: 1080px) {
  .nav-opt { display: none; }
  .post-wrap { grid-template-columns: minmax(0, 700px); gap: 32px; }
  .post-toc { position: static; padding: 4px 20px; border-radius: var(--r-m); background: rgba(25, 24, 28, 0.9); box-shadow: inset 0 0 0 1px var(--rim); }
  .post-toc summary { display: flex; align-items: center; justify-content: space-between; margin: 0; padding: 14px 0; pointer-events: auto; cursor: pointer; }
  .post-toc summary::after { content: ""; width: 8px; height: 8px; margin-right: 4px; border: solid var(--muted); border-width: 0 1.8px 1.8px 0; transform: rotate(45deg); transition: transform 0.2s ease; }
  .post-toc[open] summary::after { transform: rotate(-135deg); }
  .post-toc ol { margin-bottom: 16px; }
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 959px) {
  .nav-links { display: none; }
  .nav-end { margin-left: auto; }
  .hero-grid, .feature, .feature.is-flip, .privacy-card, .cta-card, .faq-wrap { grid-template-columns: minmax(0, 1fr); }
  .hero { text-align: left; }
  .stage { padding-block: 8px 20px; }
  .stage .p-main { --w: min(50vw, 312px, var(--fit)); }
  .stage .p-side { --w: min(37vw, 248px, calc(var(--fit) * 0.8)); }
  .feature.is-flip .feature-visual { order: 0; }
  .feature-visual .phone { --w: min(58vw, 340px, var(--fit)); }
  .feature-visual.is-pair .phone { --w: min(42vw, 296px, var(--fit)); }
  .faq-wrap .section-head { position: static; }
  .post-cards, .post-cards-home { grid-template-columns: 1fr; }
  .post-card.is-featured { display: flex; flex-direction: column; }
  .post-card.is-featured .post-card-media { aspect-ratio: 2 / 1; min-height: 0; }
  .fig, .fig.is-flip { grid-template-columns: 1fr; }
  .fig.is-flip .fig-media { order: 0; }
  .fig figcaption, .fig.is-flip figcaption { padding: 8px clamp(8px, 2vw, 16px) 12px; }
  .verdict { grid-template-columns: 1fr; }
  .verdict .phone { display: none; }
  .cta-phone { min-height: 260px; max-height: 340px; overflow: hidden; }
  .cta-contained .cta-phone { display: none; }
  .plans { grid-template-columns: 1fr; max-width: 560px; }
}

@media (min-width: 600px) and (max-width: 959px) {
  .post-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .post-cards-home { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; }
}

@media (max-width: 719px) {
  .points, .privacy-list { grid-template-columns: minmax(0, 1fr); }
  .bento { grid-template-columns: minmax(0, 1fr); }
  /* Phones keep their size and swipe; each one is whole when it stops. */
  .screens, .how-steps, .feature-visual.is-pair { display: flex; align-items: flex-start; justify-content: flex-start; gap: 18px; margin-inline: calc(var(--gutter) * -1); padding: 8px max(var(--gutter), 14vw) 56px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .screens::-webkit-scrollbar, .how-steps::-webkit-scrollbar, .feature-visual.is-pair::-webkit-scrollbar { display: none; }
  .screen, .how-step { flex: 0 0 72vw; scroll-snap-align: center; }
  .screen .phone, .how-step .phone { --w: min(66vw, var(--fit)); }
  .feature-visual.is-pair .phone { --w: min(66vw, var(--fit)); scroll-snap-align: center; }
  .feature-visual.is-pair > .beam, .feature-visual.is-pair > .tape { display: none; }
  .feature-visual .phone { --w: min(70vw, var(--fit)); }
  .article { font-size: 1.0625rem; }
  .answer { grid-template-columns: 1fr; gap: 10px; }
  .answer-label { grid-row: auto; }
  .picks, .vs, .principles { grid-template-columns: 1fr; }
  .loop { grid-template-columns: 1fr; gap: 40px; }
  .loop li:not(:last-child)::after { top: auto; right: auto; bottom: -32px; left: 50%; transform: translateX(-50%) rotate(90deg); }
  .fig-row, .fig-row.is-two { grid-template-columns: repeat(3, 72%); margin-inline: calc(var(--gutter) * -1); padding: 0 var(--gutter) 4px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); scrollbar-width: none; }
  .fig-row.is-two { grid-template-columns: repeat(2, 72%); }
  .fig-row::-webkit-scrollbar { display: none; }
  .fig-row > li, .fig-row > figure { scroll-snap-align: start; }
  .counts li { height: 40px; font-size: 0.92rem; }
  .crumbs [aria-current] { display: none; }
  .byline { margin-top: 26px; }
  .post-figure img { aspect-ratio: 4 / 3; object-fit: cover; }
  .footer-bottom { flex-direction: column; }
}

@media (max-width: 479px) {
  .nav-inner { gap: 12px; }
  .nav .btn-sm span { display: none; }
  .nav .btn-sm { width: 40px; padding: 0; }
  .brand { font-size: 1.15rem; }
  .brand-mark { width: 26px; height: 26px; }
  .hero-actions .btn { width: 100%; }
  .hero-actions .btn-store { justify-content: center; }
  .post-card-foot time { display: none; }
  .post-card-foot { justify-content: flex-end; }
  .steps > li { grid-template-columns: 44px minmax(0, 1fr); }
  .steps > li::before { width: 34px; height: 34px; font-size: 0.92rem; }
  .cmp tbody th { min-width: 124px; }
  .lang-hint { flex-wrap: wrap; justify-content: center; border-radius: 22px; padding: 12px 14px; text-align: center; }
}
