/* Showroom floor: off-white canvas, white plinths, one dark product case, one orange price tag.
   Colours are Anamazing's own Theme.qml values (true neutrals, signal orange). */
:root {
  --canvas: #f5f5f5;
  --plinth: #ffffff;
  --ink: #141414;
  --ink-2: #555555;
  --ink-3: #5e5e5e;
  --line: #d6d6d6;
  --tag: #ff6a2b;
  --tag-hover: #ff8350;
  --tag-ink: #0c0c0c;
  --primary: #141414;
  --primary-hover: #2b2b2b;
  --primary-ink: #ffffff;
  --sel: #c2410c;
  --sel-fill: #fbe6da;
  --ok: #0b6b4f;
  --focus: #000000;
  --shadow: 0 2px 3px -2px rgba(20, 20, 20, 0.14), 0 0 0 1px rgba(20, 20, 20, 0.03);

  /* Light editor theme, for the small product fragments */
  --mini-canvas: #e4e4e4;
  --mini-panel: #f5f5f5;
  --mini-raised: #ffffff;
  --mini-video: #dcdcdc;
  --mini-audio: #d5e8e1;
  --mini-title: #ede2cf;
  --mini-caption: #e4def0;

  /* The product case: always the editor's default dark theme */
  --case-canvas: #0c0c0c;
  --case-panel: #141414;
  --case-raised: #1c1c1c;
  --case-hover: #262626;
  --case-border: #2a2a2a;
  --case-text: #ededed;
  --case-2: #a3a3a3;
  --case-3: #8f8f8f;
  --case-accent: #ff6a2b;
  --case-sel: #2e211a;
  --case-video: #2a2a2a;
  --case-audio: #1f3530;
  --case-wave: #5ccb9a;
  --case-title: #40362a;
  --case-caption: #352f45;
  --case-outline: transparent;

  --font-display: "Albert Sans", "Segoe UI", system-ui, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, sans-serif;
  --radius-card: 24px;
  --radius-pill: 28px;
  --radius-inner: 12px;

  /* Hero text, over the dark projector background in both themes */
  --on-glow: #f5f5f5;
  --on-glow-2: #dedede;

  /* Header pills */
  --nav-line: rgba(20, 20, 20, 0.07);
  --nav-drop-filter: drop-shadow(0 1px 1px rgba(20, 20, 20, 0.12));
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --canvas: #0c0c0c; --plinth: #141414; --ink: #ededed; --ink-2: #a3a3a3; --ink-3: #8f8f8f;
    --line: #2a2a2a; --primary: #ededed; --primary-hover: #ffffff; --primary-ink: #0c0c0c;
    --sel: #ff6a2b; --sel-fill: #2e211a; --ok: #5ccb9a; --focus: #ffffff;
    --shadow: 0 0 0 1px #262626;
    --mini-canvas: #0c0c0c; --mini-panel: #141414; --mini-raised: #1c1c1c;
    --mini-video: #2a2a2a; --mini-audio: #1f3530; --mini-title: #40362a; --mini-caption: #352f45;
    --case-outline: #2a2a2a;
    --nav-line: #2a2a2a; --nav-drop-filter: none;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --canvas: #0c0c0c; --plinth: #141414; --ink: #ededed; --ink-2: #a3a3a3; --ink-3: #8f8f8f;
  --line: #2a2a2a; --primary: #ededed; --primary-hover: #ffffff; --primary-ink: #0c0c0c;
  --sel: #ff6a2b; --sel-fill: #2e211a; --ok: #5ccb9a; --focus: #ffffff;
  --shadow: 0 0 0 1px #262626;
  --mini-canvas: #0c0c0c; --mini-panel: #141414; --mini-raised: #1c1c1c;
  --mini-video: #2a2a2a; --mini-audio: #1f3530; --mini-title: #40362a; --mini-caption: #352f45;
  --case-outline: #2a2a2a;
  --nav-line: #2a2a2a; --nav-drop-filter: none;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font: 400 16px/1.6 var(--font-body);
  letter-spacing: -0.011em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 10; background: var(--canvas); }
a { color: inherit; }
img { max-width: 100%; }
[hidden] { display: none !important; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 6px; }

.wrap {
  width: 100%;
  max-width: 1264px;
  margin-inline: auto;
  padding-left: max(24px, env(safe-area-inset-left, 0px));
  padding-right: max(24px, env(safe-area-inset-right, 0px));
}
.band { padding-block: clamp(72px, 10vw, 120px); }
.band--white { background: var(--plinth); }
.band--closing { padding-top: 0; }

h1, h2, h3 { font-family: var(--font-display); font-weight: 300; margin: 0; text-wrap: balance; color: var(--ink); }
h1 { font-size: clamp(42px, 7.2vw, 72px); line-height: 1.08; letter-spacing: -0.02em; }
h2 { font-size: clamp(32px, 4.6vw, 50px); line-height: 1.15; letter-spacing: -0.015em; }
h3 { font-size: 24px; line-height: 1.3; letter-spacing: -0.01em; }
p { margin: 0; }
.lede { font-size: clamp(17px, 1.6vw, 19px); line-height: 1.55; color: var(--ink-2); max-width: 36em; }
.body { color: var(--ink-2); max-width: 34em; }
.num { font-variant-numeric: tabular-nums; }

/* Buttons: the only rounded controls on the page */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 24px; border-radius: var(--radius-pill); border: 0;
  font: 500 15px/1 var(--font-body); letter-spacing: -0.01em; text-decoration: none; cursor: pointer;
  transition: background-color .15s ease, color .15s ease;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn--tag { background: var(--tag); color: var(--tag-ink); box-shadow: 0 1px 2px rgba(0,0,0,.06), 0 4px 8px rgba(0,0,0,.04); }
.btn--tag:hover { background: var(--tag-hover); }
.btn--ghost { background: var(--plinth); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); }
.btn--ghost:hover { background: var(--canvas); }
.btn--quiet { background: transparent; color: var(--ink); }
.btn--quiet:hover { background: var(--canvas); }
.btn--primary { background: var(--primary); color: var(--primary-ink); }
.btn--primary:hover { background: var(--primary-hover); }
.btn--sm { min-height: 40px; padding: 10px 18px; font-size: 14px; }

.label {
  display: inline-flex; align-items: center; gap: 8px; padding: 5px 12px; border-radius: 100px;
  background: var(--canvas); color: var(--ink-2); font: 500 13px/1.3 var(--font-body);
}
.band--white .label { background: var(--canvas); }
.band:not(.band--white) .label { background: var(--plinth); box-shadow: var(--shadow); }

/* Navigation: one frosted shape behind two content boxes (the name and the menu). At the top of
   the page it is a single bar; once the page scrolls it splits like a drop of water into a pill
   around each box. js/header-drop.js draws the shape every frame as a path: .nav-surface is
   clipped to it for the fill and blur, and .nav-outline traces its outer edge. The 4 px above
   and below give the liquid neck room to swell. */
.nav-shell { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; padding-top: 14px; pointer-events: none; }
.nav { position: relative; display: flex; align-items: stretch; justify-content: space-between; height: 60px; pointer-events: none; }
.nav-surface, .nav-outline { position: absolute; left: 0; top: -4px; width: 100%; height: calc(100% + 8px); pointer-events: none; }
.nav-surface {
  background: var(--plinth);
  background: color-mix(in srgb, var(--plinth) 50%, transparent);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  backdrop-filter: blur(14px) saturate(1.2);
  clip-path: inset(4px 0 round 30px);
}
.nav-outline { overflow: visible; filter: var(--nav-drop-filter); }
.nav-edge-colour { flood-color: var(--nav-line); }
.nav-piece { position: relative; display: flex; align-items: center; flex: none; white-space: nowrap; pointer-events: auto; }
.nav-brand { padding: 0 24px; }
.nav-menu { gap: 16px; padding: 0 7px 0 12px; }
.wordmark { font: 500 19px/1 var(--font-display); letter-spacing: -0.02em; text-decoration: none; color: var(--ink); }
.nav-links { display: flex; gap: 4px; list-style: none; padding: 0; margin: 0; }
.nav-links a { display: block; padding: 8px 12px; border-radius: 20px; font-size: 14px; color: var(--ink-2); text-decoration: none; }
.nav-links a:hover { color: var(--ink); background: var(--canvas); }
@media (max-width: 760px) { .nav-links { display: none; } .nav-menu { padding-left: 7px; } }
@media (max-width: 420px) { .nav-brand { padding: 0 16px; } .wordmark { font-size: 17px; } }

/* Hero */
.hero-glow {
  position: absolute; top: 0; left: 0; right: 0; height: var(--glow-h, 820px); z-index: 0;
  pointer-events: none; overflow: hidden; opacity: 0; transition: opacity 1.4s ease;
}
.hero-glow {
  -webkit-mask-image: linear-gradient(to bottom, #000 calc(100% - 160px), transparent);
  mask-image: linear-gradient(to bottom, #000 calc(100% - 160px), transparent);
}
.hero-glow.is-on { opacity: 1; }
.hero-glow > * { position: absolute; inset: 0; display: block; width: 100%; height: 100%; }
/* Without WebGL the hero keeps a plain dark background. */
.hero-glow.is-static { background: #0c0c0c; }
main { position: relative; z-index: 1; }
.hero { padding-block: clamp(64px, 10vw, 112px) 0; text-align: center; }
.hero-copy { display: grid; justify-items: center; gap: 24px; }
.hero h1 { color: var(--on-glow); }
.hero .lede { margin-inline: auto; color: var(--on-glow-2); }
.hero .label { background: var(--plinth); color: var(--ink-2); box-shadow: var(--shadow); }
.hero-actions {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 4px; margin-top: 8px; padding: 6px;
  background: var(--plinth); border-radius: 34px; box-shadow: 0 8px 24px -12px rgba(0, 0, 0, 0.25), var(--shadow);
}
.hero-meta { font-size: 13px; color: var(--ink-3); }
.hero .hero-meta { color: var(--on-glow-2); }
@media (max-width: 480px) {
  .hero-actions { flex-direction: column; justify-self: stretch; border-radius: 30px; }
}
.facts { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 28px; list-style: none; padding: 0; margin: 8px 0 0; font-size: 14px; color: var(--ink-2); }
.facts li { display: inline-flex; align-items: center; gap: 8px; }
.facts svg { width: 16px; height: 16px; color: var(--ok); flex: none; }

/* The product case */
.stage { position: relative; margin-top: clamp(48px, 7vw, 80px); }
.stage::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 22%;
  background: linear-gradient(to bottom, transparent, var(--canvas));
  pointer-events: none;
}
.case {
  margin: 0; max-width: 100%; border-radius: var(--radius-card) var(--radius-card) 0 0; overflow: hidden;
  background: var(--case-panel); color: var(--case-text); text-align: left;
  box-shadow: 0 0 0 1px var(--case-outline), 0 30px 60px -30px rgba(0,0,0,.35);
  font-size: 12px; line-height: 1.3; letter-spacing: 0;
  display: grid; grid-template-rows: 40px minmax(0, 1fr) 34px auto 26px;
  height: clamp(420px, 52vw, 640px);
}
.case-top, .case-tools, .case-status { display: flex; align-items: center; gap: 16px; padding: 0 14px; border-bottom: 1px solid var(--case-border); }
.case-top b { font-weight: 500; font-size: 13px; }
.case-top .file { color: var(--case-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.case-top .acts { margin-left: auto; display: flex; gap: 18px; align-items: center; color: var(--case-2); white-space: nowrap; }
.case-top .export { background: var(--case-text); color: var(--case-canvas); padding: 5px 12px; border-radius: 4px; font-weight: 500; }
.case-main { display: grid; grid-template-columns: 21% minmax(0, 1fr) 22%; min-height: 0; border-bottom: 1px solid var(--case-border); }
.case-media, .case-insp { padding: 12px 0; min-width: 0; overflow: hidden; }
.case-media { border-right: 1px solid var(--case-border); }
.case-insp { border-left: 1px solid var(--case-border); }
.ph { padding: 0 12px 10px; font-weight: 500; font-size: 12.5px; }
.tabs { display: flex; gap: 14px; padding: 0 12px 10px; color: var(--case-2); }
.tabs .on { color: var(--case-text); box-shadow: inset 0 -2px 0 var(--case-text); padding-bottom: 4px; }
.src { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 10px; align-items: center; padding: 7px 12px; position: relative; }
.src.on { background: var(--case-sel); }
.src.on::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 2px; background: var(--case-accent); }
.thumb { aspect-ratio: 16 / 9; border-radius: 2px; background: var(--case-video); position: relative; overflow: hidden; }
.thumb::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 40%; background: var(--case-hover); }
.src .n { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.src .m { color: var(--case-3); font-size: 11px; }
.viewer { display: grid; grid-template-rows: auto minmax(0, 1fr) 40px; min-width: 0; }
.viewer .ph { padding: 12px 12px 8px; }
.screen { margin: 0 10px; background: #000; display: grid; place-items: center; min-height: 0; overflow: hidden; }
.frame { height: 92%; aspect-ratio: 9 / 16; position: relative; outline: 1px solid var(--case-accent); outline-offset: 3px; display: grid; grid-template-rows: 32% 1fr; background: var(--case-video); }
.frame .cam { background: var(--case-raised); display: grid; place-items: end center; overflow: hidden; }
.frame .cam i { display: block; width: 34%; aspect-ratio: 1; border-radius: 50% 50% 0 0; background: var(--case-hover); margin-bottom: -6%; }
.frame .game { position: relative; background: var(--case-video); overflow: hidden; }
.frame .game::before { content: ""; position: absolute; left: -10%; right: -10%; bottom: 0; height: 46%; background: var(--case-audio); transform: skewY(-6deg); transform-origin: left bottom; }
.frame .cap {
  position: absolute; left: 8%; right: 8%; top: 34%; text-align: center; z-index: 1;
  font: 600 clamp(9px, 1.25vw, 15px)/1.15 var(--font-body); color: #fff; letter-spacing: -0.01em;
  text-shadow: 0 1px 0 #000, 0 0 3px #000;
}
.frame .cap em { font-style: normal; color: #ffd84d; }
.frame .h { position: absolute; width: 7px; height: 7px; background: var(--case-panel); border: 1px solid var(--case-accent); }
.frame .h1 { top: -7px; left: -7px; } .frame .h2 { top: -7px; right: -7px; } .frame .h3 { bottom: -7px; left: -7px; } .frame .h4 { bottom: -7px; right: -7px; }
.transport { display: flex; align-items: center; gap: 14px; padding: 0 12px; color: var(--case-2); }
.transport .tc { color: var(--case-text); font-size: 13px; }
.transport .ctl { margin-inline: auto; display: flex; gap: 14px; color: var(--case-text); }
.transport svg { width: 14px; height: 14px; display: block; }
.prop { display: grid; grid-template-columns: minmax(0, 1fr) 46%; align-items: center; gap: 8px; padding: 5px 12px; color: var(--case-2); }
.prop span:last-child { background: var(--case-raised); color: var(--case-text); padding: 4px 8px; text-align: right; border-bottom: 1px solid var(--case-3); }
.sect { padding: 10px 12px 6px; font-weight: 500; display: flex; justify-content: space-between; }
.case-tools { color: var(--case-2); gap: 10px; }
.case-tools .seg { display: flex; border: 1px solid var(--case-border); }
.case-tools .seg span { padding: 3px 9px; }
.case-tools .seg .on { background: var(--case-hover); color: var(--case-text); }
.case-tools .io { margin-left: auto; display: flex; gap: 12px; white-space: nowrap; }
.case-tools i { display: inline-block; width: 13px; height: 13px; border: 1.5px solid var(--case-2); border-radius: 2px; }
.tl { display: grid; grid-template-columns: 96px minmax(0, 1fr); position: relative; min-height: 0; }
.tl-heads { border-right: 1px solid var(--case-border); }
.tl-heads div, .lane { height: 34px; border-bottom: 1px solid var(--case-border); }
.tl-heads div { display: flex; align-items: center; padding: 0 12px; color: var(--case-2); white-space: nowrap; }
.tl-heads .rul, .ruler { height: 24px; }
.tl-body { position: relative; min-width: 0; overflow: hidden; }
.ruler { position: relative; border-bottom: 1px solid var(--case-border); color: var(--case-3); font-size: 10.5px; }
.ruler span { position: absolute; top: 5px; padding-left: 5px; border-left: 1px solid var(--case-border); height: 18px; line-height: 14px; white-space: nowrap; }
.lane { position: relative; }
.clip { position: absolute; top: 4px; bottom: 4px; border-radius: 3px; padding: 4px 6px; font-size: 10.5px; white-space: nowrap; overflow: hidden; color: var(--case-text); }
.clip.v { background: var(--case-video); }
.clip.a { background: var(--case-audio); padding: 0; }
.clip.t { background: var(--case-title); }
.clip.c { background: var(--case-caption); }
.clip.sel { box-shadow: inset 0 0 0 1.5px var(--case-accent); }
.clip.a svg { position: absolute; inset: 3px 0; width: 100%; height: calc(100% - 6px); color: var(--case-wave); opacity: .7; }
.playhead { position: absolute; top: 0; bottom: 0; left: 47%; width: 1px; background: var(--case-accent); z-index: 2; }
.playhead::before { content: ""; position: absolute; top: 0; left: -5px; width: 11px; height: 11px; background: var(--case-accent); clip-path: polygon(0 0, 100% 0, 100% 55%, 50% 100%, 0 55%); }
.case-status { border-bottom: 0; color: var(--case-3); font-size: 11px; }
.case-status .ok { color: var(--case-wave); }
.case-status .r { margin-left: auto; display: flex; gap: 16px; }
.stage-note { margin-top: 14px; font-size: 13px; color: var(--ink-3); text-align: center; position: relative; z-index: 1; }

@media (max-width: 860px) {
  .case-main { grid-template-columns: minmax(0, 1fr); }
  .case-media, .case-insp, .case-top .acts span:not(.export), .case-tools .io { display: none; }
  .case { height: clamp(460px, 120vw, 560px); }
  .tl { grid-template-columns: 64px minmax(0, 1fr); }
}

/* Feature rows */
.feature { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.feature + .feature { margin-top: clamp(80px, 11vw, 136px); }
.feature:nth-child(even) .feature-copy { order: 2; }
.feature-copy { display: grid; gap: 18px; justify-items: start; min-width: 0; }
.feature-copy ul { margin: 6px 0 0; padding: 0; list-style: none; display: grid; gap: 10px; color: var(--ink-2); font-size: 15px; }
.feature-copy li { display: flex; gap: 10px; align-items: baseline; }
.feature-copy li::before { content: ""; flex: none; width: 5px; height: 5px; border-radius: 50%; background: var(--ink-3); transform: translateY(-3px); }
@media (max-width: 900px) {
  .feature { grid-template-columns: minmax(0, 1fr); }
  .feature:nth-child(even) .feature-copy { order: 0; }
}
.plinth { background: var(--plinth); border-radius: var(--radius-card); padding: clamp(16px, 3vw, 28px); box-shadow: var(--shadow); min-width: 0; }
.band--white .plinth { background: var(--canvas); box-shadow: none; }
.mini { background: var(--mini-panel); border-radius: var(--radius-inner); overflow: hidden; font-size: 13px; line-height: 1.35; box-shadow: 0 0 0 1px var(--line); }
.mini-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--line); font-weight: 500; }
.mini-head small { font-weight: 400; color: var(--ink-3); font-size: 12px; }
.example { font: 500 11px/1 var(--font-body); letter-spacing: .04em; text-transform: uppercase; color: var(--ink-3); }

/* Mini timeline */
.mtl { display: grid; grid-template-columns: 74px minmax(0, 1fr); background: var(--mini-canvas); }
.mtl .hd div, .mtl .ln { height: 38px; border-bottom: 1px solid var(--line); }
.mtl .hd { background: var(--mini-panel); border-right: 1px solid var(--line); }
.mtl .hd div { display: flex; align-items: center; padding: 0 12px; font-size: 12px; color: var(--ink-2); }
.mtl .hd .r, .mtl .rl { height: 26px; }
.mtl .bd { position: relative; overflow: hidden; }
.mtl .rl { position: relative; border-bottom: 1px solid var(--line); background: var(--mini-panel); font-size: 11px; color: var(--ink-3); }
.mtl .rl span { position: absolute; top: 6px; padding-left: 5px; border-left: 1px solid var(--line); line-height: 14px; }
.mtl .ln { position: relative; }
.mclip { position: absolute; top: 5px; bottom: 5px; border-radius: 3px; padding: 5px 7px; font-size: 11px; color: var(--ink); white-space: nowrap; overflow: hidden; }
.mclip.v { background: var(--mini-video); } .mclip.t { background: var(--mini-title); } .mclip.c { background: var(--mini-caption); } .mclip.a { background: var(--mini-audio); padding: 0; }
.mclip.a svg { position: absolute; inset: 4px 0; width: 100%; height: calc(100% - 8px); color: var(--ok); opacity: .55; }
.mclip.sel { box-shadow: inset 0 0 0 1.5px var(--sel); }
.mph { position: absolute; top: 0; bottom: 0; left: 62%; width: 1px; background: var(--sel); }
.mph::before { content: ""; position: absolute; top: 0; left: -5px; width: 11px; height: 11px; background: var(--sel); clip-path: polygon(0 0, 100% 0, 100% 55%, 50% 100%, 0 55%); }
.mtl-foot { display: flex; flex-wrap: wrap; gap: 6px 16px; padding: 10px 16px; font-size: 12px; color: var(--ink-3); background: var(--mini-panel); }
.mtl-foot kbd { font: 500 11px/1 var(--font-body); padding: 3px 6px; border-radius: 4px; background: var(--mini-raised); box-shadow: inset 0 0 0 1px var(--line); color: var(--ink-2); }

/* Mini stories */
.story { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 16px; padding: 12px 16px; border-bottom: 1px solid var(--line); position: relative; }
.story:last-child { border-bottom: 0; }
.story.on { background: var(--sel-fill); }
.story.on::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--sel); }
.story b { font-weight: 500; }
.story .t { color: var(--ink-3); font-size: 12px; }
.story .why { grid-column: 1 / -1; color: var(--ink-2); font-size: 12px; }
.beats { grid-column: 1 / -1; display: grid; grid-template-columns: 1.2fr 1fr 2fr 1.6fr 1.4fr; gap: 3px; margin-top: 6px; }
.beats span { height: 4px; border-radius: 2px; background: var(--line); }
.story.on .beats span { background: var(--ink-2); }

/* Mini privacy */
.check { display: grid; grid-template-columns: 18px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.box { width: 18px; height: 18px; border-radius: 4px; box-shadow: inset 0 0 0 1.5px var(--ink-3); display: grid; place-items: center; }
.box.on { background: var(--ink); box-shadow: none; color: var(--primary-ink); }
.box svg { width: 12px; height: 12px; }
.check .sz { color: var(--ink-3); font-size: 12px; }
.check.never { color: var(--ink-3); }
.check.never svg.lock { width: 16px; height: 16px; }
.mini-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px; }
.mini-foot p { font-size: 12px; color: var(--ink-3); max-width: 26em; }
.fake-btn { padding: 8px 14px; border-radius: 4px; background: var(--primary); color: var(--primary-ink); font-weight: 500; font-size: 12.5px; white-space: nowrap; }

/* Mini export */
.spec { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 0; }
.spec div { padding: 11px 16px; border-bottom: 1px solid var(--line); }
.spec div:nth-child(odd) { color: var(--ink-2); }
.spec div:nth-child(even) { text-align: right; font-weight: 500; }
.bar { padding: 14px 16px 16px; display: grid; gap: 8px; font-size: 12px; color: var(--ink-2); }
.bar .row { display: flex; justify-content: space-between; }
.track { height: 4px; border-radius: 2px; background: var(--line); overflow: hidden; }
.track i { display: block; height: 100%; width: 64%; background: var(--ink); }

/* Pricing */
.pricing-head { display: grid; gap: 18px; justify-items: center; text-align: center; }
.billing { display: inline-flex; padding: 4px; border-radius: var(--radius-pill); background: var(--canvas); box-shadow: inset 0 0 0 1px var(--line); margin-top: 8px; }
.billing button { border: 0; background: transparent; color: var(--ink-2); font: 500 14px/1 var(--font-body); padding: 10px 18px; border-radius: var(--radius-pill); cursor: pointer; }
.billing button[aria-pressed="true"] { background: var(--plinth); color: var(--ink); box-shadow: var(--shadow); }
.billing small { color: var(--sel); font-weight: 500; margin-left: 4px; }
.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; max-width: 920px; margin: clamp(40px, 6vw, 64px) auto 0; }
@media (max-width: 760px) { .plans { grid-template-columns: minmax(0, 1fr); } }
.plan { border-radius: var(--radius-card); padding: clamp(24px, 4vw, 36px); display: grid; gap: 22px; align-content: start; background: var(--canvas); }
.plan--pro { background: var(--case-panel); color: var(--case-text); box-shadow: 0 0 0 1px var(--case-outline); }
.plan--pro h3, .plan--pro .price b { color: var(--case-text); }
.plan-top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.plan .who { color: var(--ink-2); font-size: 15px; margin-top: -10px; }
.plan--pro .who { color: var(--case-2); }
.price { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.price b { font: 300 52px/1 var(--font-display); letter-spacing: -0.02em; color: var(--ink); }
.price span { color: var(--ink-3); font-size: 14px; }
.plan--pro .price span { color: var(--case-3); }
.plan ul { list-style: none; margin: 0; padding: 22px 0 0; display: grid; gap: 12px; border-top: 1px solid var(--line); font-size: 15px; }
.plan--pro ul { border-color: var(--case-border); }
.plan li { display: grid; grid-template-columns: 18px minmax(0, 1fr); gap: 12px; align-items: start; }
.plan li svg { width: 18px; height: 18px; margin-top: 3px; color: var(--ok); }
.plan--pro li svg { color: var(--case-accent); }
.plan .btn { width: 100%; }
.plan--pro .btn--ghost { background: var(--case-raised); color: var(--case-text); box-shadow: none; }
.draft { font: 500 12px/1 var(--font-body); padding: 6px 10px; border-radius: 100px; box-shadow: inset 0 0 0 1px var(--line); color: var(--ink-3); }
.plan--pro .draft { box-shadow: inset 0 0 0 1px var(--case-border); color: var(--case-3); }
.fine { margin-top: 20px; text-align: center; font-size: 13px; color: var(--ink-3); }

/* FAQ */
.faq { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
@media (max-width: 860px) { .faq { grid-template-columns: minmax(0, 1fr); } }
.faq-list { border-top: 1px solid var(--line); }
details { border-bottom: 1px solid var(--line); }
summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 24px; padding: 22px 0; font: 400 19px/1.35 var(--font-display); letter-spacing: -0.01em; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font: 300 24px/1 var(--font-display); color: var(--ink-3); transition: transform .2s ease; }
details[open] summary::after { transform: rotate(45deg); }
details p { padding: 0 0 22px; color: var(--ink-2); max-width: 40em; }

/* Closing call */
.closing { background: var(--plinth); border-radius: var(--radius-card); padding: clamp(32px, 7vw, 80px) clamp(20px, 6vw, 72px); display: grid; gap: 24px; justify-items: center; text-align: center; box-shadow: var(--shadow); }
.notify { display: grid; gap: 12px; justify-items: center; width: 100%; max-width: 520px; padding-top: 32px; margin-top: 8px; border-top: 1px solid var(--line); }
.notify p { color: var(--ink-2); font-size: 15px; }
.notify form { display: flex; gap: 12px; width: 100%; align-items: center; }
.notify input {
  flex: 1; min-width: 0; height: 48px; border: 0; border-bottom: 1px solid var(--ink-2); border-radius: 0;
  background: transparent; color: var(--ink); font: 400 16px var(--font-body); padding: 0 2px;
}
.notify input::placeholder { color: var(--ink-3); }
.notify input:focus-visible { outline: none; border-bottom: 2px solid var(--focus); }
.notify .status { font-size: 13px; color: var(--ink-3); min-height: 1.4em; }
@media (max-width: 480px) { .notify form { flex-direction: column; align-items: stretch; } }

footer { padding-block: 48px 56px; color: var(--ink-3); font-size: 14px; }
.foot { display: flex; flex-wrap: wrap; gap: 16px 32px; align-items: center; }
.foot nav { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-left: auto; }
.foot a { text-decoration: none; color: var(--ink-2); }
.foot a:hover { color: var(--ink); }
@media (max-width: 640px) { .foot nav { margin-left: 0; } }
