/* =====================================================================
   Clix Creator · shared base for landing variants A/B/C
   Dot-matrix system (root DESIGN.md): one orange #ff5a0a, Inter,
   one Silkscreen pixel word per headline, dots as drawing material.
   Mobile first: 360 → 480 → 760 → 1020 → 1240.
   CSP-safe: no inline styles needed; JS sets custom properties via CSSOM.
   ===================================================================== */

@font-face { font-family: "Inter"; src: url("../../fonts/inter-latin.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
/* metric-matched fallback while Inter loads (Arial sized to Inter's metrics, as next/font does): the text keeps its
   line breaks when Inter arrives, so nothing below it jumps (layout shift) */
@font-face { font-family: "Inter Fallback"; src: local("Arial"), local("ArialMT"), local("Helvetica"), local("Liberation Sans"); size-adjust: 107.06%; ascent-override: 90.49%; descent-override: 22.56%; line-gap-override: 0%; }
@font-face { font-family: "Silkscreen"; src: url("../../fonts/silkscreen-latin.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "JetBrains Mono"; src: url("../../fonts/jetbrains-mono-latin.woff2") format("woff2"); font-weight: 100 800; font-display: swap; }

:root {
  --bg: #fbfbfc; --bg-sunk: #f4f5f6; --surface: #ffffff; --surface-2: #fbfbfc; --surface-3: #f1f3f5;
  --ink: #080a0f; --ink-2: #414b5f; --muted: #5a6373; --faint: #6d7586;
  --line: #e3e6eb; --line-2: #d3d8df; --dot: #d7dbe2; --dot-strong: #b4bbc6; --particle: #111520;
  --orange: #ff5a0a; --orange-2: #ff7a33; --orange-hover: #e94a00;
  --orange-wash: #fff1e8; --orange-line: #ffe2d0;
  --success: #13833b; --success-wash: #e8f6ed;
  --inst: #0d1016; --inst-bar: #121620; --inst-line: #1c2230; --inst-text: #eef1f6; --inst-muted: #9aa3b4;
  --shadow-1: 0 1px 2px rgb(20 24 34 / .04), 0 14px 38px rgb(20 24 34 / .06);
  --shadow-2: 0 2px 4px rgb(20 24 34 / .04), 0 30px 70px -30px rgb(20 24 34 / .28);
  --shadow-3: 0 2px 6px rgb(20 24 34 / .05), 0 50px 110px -40px rgb(20 24 34 / .35);
  --shadow-orange: 0 20px 45px -18px rgb(255 90 10 / .5);
  --glow: rgb(255 90 10 / .12); --grid-dot: rgb(8 10 15 / .11);
  --font: "Inter", "Inter Fallback", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --pixel: "Silkscreen", "Inter", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --r-sm: 8px; --r-control: 11px; --r-inner: 14px; --r-card: 17px; --r-feature: 22px;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --gutter: clamp(18px, 4vw, 40px);
  --section: clamp(84px, 12vw, 168px);
  --wrap: 1180px; --nav-h: 64px;
  color-scheme: light;
}
@media (min-width: 1020px) { :root { --nav-h: 72px; } }

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 16px); }
body { margin: 0; background: var(--bg); color: var(--ink-2); font: 400 16px/1.55 var(--font); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility; overflow-x: clip; }
@media (min-width: 760px) { body { font-size: 17px; } }
img, svg, video, canvas, picture { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4, p, ul, ol, figure, blockquote, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
h1, h2, h3, h4 { color: var(--ink); text-wrap: balance; font-weight: 850; letter-spacing: -0.035em; line-height: 1.08; }
p { text-wrap: pretty; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--orange-line); color: var(--ink); }
.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; }
.skip-link { position: fixed; left: 12px; top: 12px; z-index: 100; padding: 10px 14px; border-radius: var(--r-control); background: var(--ink); color: #fff; font-weight: 700; transform: translateY(-160%); transition: transform .2s var(--ease); }
.skip-link:focus { transform: none; }

/* ---------- layout ---------- */
.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.section { position: relative; padding-block: var(--section); isolation: isolate; }
.section-tight { padding-block: clamp(56px, 7vw, 96px); }
.bg-field { background: var(--bg); }
.bg-sunk { background: var(--bg-sunk); }
.bg-panel { background: var(--surface); }
.bg-inst { background: var(--inst); color: var(--inst-text); }
.bg-inst h1, .bg-inst h2, .bg-inst h3 { color: #fff; }
.hairline-top { border-top: 1px solid var(--line); }
.hairline-bottom { border-bottom: 1px solid var(--line); }
.stack > * + * { margin-top: var(--gap, 16px); }

/* ---------- type ---------- */
.h-hero { font-size: clamp(2.45rem, 9.4vw, 4.35rem); font-weight: 900; line-height: .98; letter-spacing: -0.052em; }
@media (min-width: 760px) { .h-hero { font-size: clamp(3rem, 5.6vw, 4.6rem); } }
.h-section { font-size: clamp(2rem, 7.4vw, 4rem); font-weight: 850; line-height: 1.02; letter-spacing: -0.045em; }
@media (min-width: 760px) { .h-section { font-size: clamp(2.4rem, 4.8vw, 4rem); } }
.h-sub { font-size: clamp(1.6rem, 5vw, 2.4rem); font-weight: 850; line-height: 1.06; letter-spacing: -0.04em; }
.h-card { font-size: 19px; font-weight: 850; letter-spacing: -0.03em; line-height: 1.2; }
@media (min-width: 760px) { .h-card { font-size: 21px; } }
.lede { font-size: clamp(17px, 1.6vw, 19.5px); line-height: 1.55; color: var(--ink-2); max-width: 34em; }
.small { font-size: 13.5px; line-height: 1.45; color: var(--muted); font-weight: 500; }
.label { font-size: 12px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.mono { font-family: var(--mono); font-size: 13px; letter-spacing: 0; }
.num { font-variant-numeric: tabular-nums; }
.center { text-align: center; }
.center .lede { margin-inline: auto; }
.bg-inst .lede, .bg-inst p { color: var(--inst-muted); }

/* the pixel word: one per headline, orange, decoded once on reveal */
.px { font-family: var(--pixel); font-weight: 400; font-size: .88em; letter-spacing: .01em; text-transform: uppercase; color: var(--orange); white-space: nowrap; display: inline-block; line-height: 1; }
.px.is-scrambling { min-width: var(--px-w, auto); }

/* ---------- pill + chips ---------- */
.pill { display: inline-flex; align-items: center; gap: 9px; min-height: 34px; padding: 6px 14px 6px 10px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-1); font-size: 13.5px; font-weight: 700; color: var(--ink); }
.pill .led-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 4px rgb(255 90 10 / .14); animation: ledPulse 2.2s var(--ease) infinite; }
@keyframes ledPulse { 50% { box-shadow: 0 0 0 7px rgb(255 90 10 / 0); } }
.chip { display: inline-flex; align-items: center; gap: 8px; min-height: 38px; padding: 7px 13px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--surface); font-size: 13.5px; font-weight: 650; color: var(--ink-2); transition: border-color .2s, background-color .2s, color .2s, transform .25s var(--ease); }
.chip:hover { border-color: var(--ink-2); }
.chip[aria-pressed="true"], .chip[aria-selected="true"] { background: var(--orange-wash); border-color: var(--orange); color: var(--ink); }
.chip img { width: 18px; height: 18px; }
.facts { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 14px; font-weight: 650; color: var(--ink); }
.facts li { display: inline-flex; align-items: center; gap: 8px; }
.facts li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--orange); }
.fineprint { font-size: 13px; color: var(--muted); line-height: 1.5; }

/* ---------- buttons ---------- */
.btn {
  --h: 54px; position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  height: var(--h); padding: 0 22px; border: 0; border-radius: var(--r-control); isolation: isolate; overflow: hidden;
  font-size: 18.67px; font-weight: 800; letter-spacing: -0.015em; line-height: 1; white-space: nowrap;
  transition: transform .3s var(--ease), background-color .2s, box-shadow .3s var(--ease), color .2s;
  -webkit-tap-highlight-color: transparent;
}
.btn svg.arr { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; transition: transform .35s var(--ease); }
.btn:hover svg.arr { transform: translateX(4px); }
.btn:active { transform: translateY(0) scale(.985); transition-duration: .08s; }
.btn-primary { background: var(--orange); color: #fff; box-shadow: inset 0 -2px 0 rgb(0 0 0 / .16), inset 0 1px 0 rgb(255 255 255 / .22), var(--shadow-orange); }
.btn-primary:hover { background: var(--orange-hover); transform: translateY(-3px); box-shadow: inset 0 -2px 0 rgb(0 0 0 / .16), inset 0 1px 0 rgb(255 255 255 / .22), 0 26px 50px -18px rgb(255 90 10 / .62); }
.btn-primary:active { box-shadow: inset 0 2px 5px rgb(0 0 0 / .22); }
/* the "sending dots": three dots stream toward the arrow on hover */
.btn .send { display: inline-flex; gap: 4px; width: 0; overflow: hidden; transition: width .35s var(--ease); }
.btn .send i { width: 5px; height: 5px; border-radius: 50%; background: currentColor; opacity: 0; flex: none; }
.btn:hover .send, .btn:focus-visible .send { width: 23px; }
.btn:hover .send i, .btn:focus-visible .send i { animation: sendDot .9s var(--ease) infinite; }
.btn:hover .send i:nth-child(2), .btn:focus-visible .send i:nth-child(2) { animation-delay: .15s; }
.btn:hover .send i:nth-child(3), .btn:focus-visible .send i:nth-child(3) { animation-delay: .3s; }
@keyframes sendDot { 0% { opacity: 0; transform: translateX(-6px); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateX(8px); } }
/* press ripple (set by core.js at the pointer position) */
.btn .ripple { position: absolute; z-index: -1; width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%; background: rgb(255 255 255 / .35); pointer-events: none; animation: ripple .7s var(--ease) forwards; left: var(--rx, 50%); top: var(--ry, 50%); }
.btn-ghost .ripple, .btn-quiet .ripple { background: rgb(255 90 10 / .18); }
@keyframes ripple { to { transform: scale(26); opacity: 0; } }
.btn-ink { background: var(--ink); color: #fff; box-shadow: inset 0 -2px 0 rgb(255 255 255 / .06), var(--shadow-1); }
.btn-ink:hover { background: #1c2130; transform: translateY(-3px); box-shadow: var(--shadow-2); }
.btn-ghost { background: var(--surface); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line-2), inset 0 -2px 0 var(--line), var(--shadow-1); }
.btn-ghost:hover { transform: translateY(-3px); box-shadow: inset 0 0 0 1px var(--ink-2), inset 0 -2px 0 var(--line), var(--shadow-2); }
.btn-quiet { background: transparent; color: var(--ink); box-shadow: none; padding-inline: 12px; }
.btn-quiet:hover { background: var(--surface-3); }
.bg-inst .btn-ghost { background: transparent; color: #fff; box-shadow: inset 0 0 0 1px rgb(255 255 255 / .22); }
.bg-inst .btn-ghost:hover { box-shadow: inset 0 0 0 1px rgb(255 255 255 / .6); background: rgb(255 255 255 / .04); }
/* DESIGN.md: white on orange only at >=18.66px/800, so a small primary renders white on ink */
.btn-primary.btn-sm { background: var(--ink); box-shadow: inset 0 -2px 0 rgb(255 255 255 / .06), var(--shadow-1); }
.btn-primary.btn-sm:hover { background: #1c2130; box-shadow: var(--shadow-2); }
.btn-sm { --h: 42px; padding: 0 16px; font-size: 15px; border-radius: 10px; gap: 8px; }
.btn-lg { --h: 60px; padding: 0 26px; font-size: 19.5px; }
.btn-block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 479px) { .btn-row > .btn { flex: 1 1 100%; } }
.link { color: var(--orange); font-weight: 650; text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1.5px; }
.link:hover { color: var(--orange-hover); }

/* ---------- brand ---------- */
.brand { display: inline-flex; align-items: center; gap: 10px; flex: none; color: var(--ink); }
/* logo mark: the dot heart (assets/brand/clix-mark.svg) on sharp screens, its square-pixel twin (favicon.svg) on 1x screens, where dots this small turn pale */
.brand-symbol { width: 28px; height: 28px; display: block; flex: none; background:url(/favicon.svg) center/contain no-repeat; background-image:-webkit-image-set(url(/favicon.svg) 1x,url(/assets/brand/clix-mark.svg) 2x); background-image:image-set(url(/favicon.svg) 1x,url(/assets/brand/clix-mark.svg) 2x); transition: transform .5s var(--ease); }
.brand:hover .brand-symbol { transform: scale(1.06); }
.brand-symbol i { display: none; }
.brand-name { font-size: 21px; font-weight: 900; letter-spacing: -.075em; line-height: 1; white-space: nowrap; }
.brand-name span { color: var(--orange); }
.bg-inst .brand { color: #fff; }

/* ---------- nav ---------- */
.nav { position: sticky; top: 0; z-index: 50; height: var(--nav-h); background: rgb(251 251 252 / .78); -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid transparent; transition: border-color .3s, background-color .3s, box-shadow .3s; }
.nav.is-scrolled { border-bottom-color: var(--line); background: rgb(251 251 252 / .9); box-shadow: 0 10px 30px -24px rgb(20 24 34 / .4); }
.nav-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.nav-links { display: none; gap: 4px; }
.nav-links a { position: relative; padding: 9px 12px; border-radius: 10px; font-size: 15px; font-weight: 650; color: var(--ink-2); transition: color .2s, background-color .2s; }
.nav-links a:hover { color: var(--ink); background: var(--surface-3); }
.nav-links a[aria-current="true"] { color: var(--ink); }
.nav-links a[aria-current="true"]::after { content: ""; position: absolute; left: 50%; bottom: 3px; width: 5px; height: 5px; margin-left: -2.5px; border-radius: 50%; background: var(--orange); }
.nav-actions { display: flex; align-items: center; gap: 8px; }
.nav-actions .nav-login { display: none; }
.nav-toggle { width: 44px; height: 44px; display: inline-grid; place-items: center; border-radius: var(--r-control); border: 1px solid var(--line-2); background: var(--surface); }
.nav-toggle span { position: relative; width: 18px; height: 2px; background: var(--ink); border-radius: 2px; transition: background-color .2s; }
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; width: 18px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .35s var(--ease); }
.nav-toggle span::before { top: -6px; } .nav-toggle span::after { top: 6px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }
.nav .nav-cta { display: none; }
.mobile-menu { position: fixed; inset: var(--nav-h) 0 auto; z-index: 49; padding: 12px var(--gutter) 22px; background: var(--surface); border-bottom: 1px solid var(--line); box-shadow: var(--shadow-2); transform: translateY(-8px); opacity: 0; visibility: hidden; transition: transform .35s var(--ease), opacity .25s, visibility .35s; }
.mobile-menu.is-open { transform: none; opacity: 1; visibility: visible; }
.mobile-menu a:not(.btn) { display: flex; justify-content: space-between; align-items: center; padding: 14px 4px; border-bottom: 1px solid var(--line); font-size: 17px; font-weight: 700; color: var(--ink); }
.mobile-menu .btn { margin-top: 16px; }
@media (min-width: 760px) { .nav .nav-cta { display: inline-flex; } .nav-actions .nav-login { display: inline-flex; } }
@media (min-width: 1020px) { .nav-links { display: flex; } .nav-toggle, .mobile-menu { display: none; } }

/* ---------- depth: dot grid, glows, paper ---------- */
.dotgrid { position: relative; }
.dotgrid::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: radial-gradient(circle, var(--grid-dot) 1px, transparent 1.3px) 0 0 / 22px 22px; -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 30%, transparent 78%); mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 30%, transparent 78%); }
.dotgrid.fade-right::before { -webkit-mask-image: radial-gradient(ellipse 60% 75% at 72% 45%, #000 25%, transparent 75%); mask-image: radial-gradient(ellipse 60% 75% at 72% 45%, #000 25%, transparent 75%); }
.dotgrid.fade-left::before { -webkit-mask-image: radial-gradient(ellipse 60% 75% at 28% 45%, #000 25%, transparent 75%); mask-image: radial-gradient(ellipse 60% 75% at 28% 45%, #000 25%, transparent 75%); }
.bg-inst.dotgrid::before { background-image: radial-gradient(circle, rgb(255 255 255 / .09) 1px, transparent 1.3px); }
.glow-orb { position: absolute; z-index: -1; pointer-events: none; width: var(--s, 520px); aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgb(255 90 10 / .14), rgb(255 90 10 / 0) 68%); filter: blur(10px); }
.well-dots { background: radial-gradient(circle, var(--dot) 1.1px, transparent 1.5px) 0 0 / 12px 12px, var(--surface-3); }
.paper { position: relative; isolation: isolate; }
.paper::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; background: var(--orange-wash); border: 1px solid var(--orange-line); transform: translate(10px, 10px); box-shadow: 0 18px 40px -26px rgb(255 90 10 / .5); }

/* ---------- cards ---------- */
.card { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card); box-shadow: var(--shadow-1); padding: 22px; }
.card-feature { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-feature); box-shadow: var(--shadow-1); padding: 22px 24px; transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .3s; }
.card-feature:hover { transform: translateY(-4px); box-shadow: var(--shadow-2), 0 0 0 1px var(--orange-line); border-color: var(--orange-line); }
.icon-tile { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 13px; background: var(--orange-wash); color: var(--orange); border: 1px solid var(--orange-line); flex: none; }
.icon-tile .sprite { width: 22px; height: 22px; }
.icon-tile.is-ink { background: var(--inst); color: var(--orange); border-color: var(--inst-line); }
.sprite { width: 22px; height: 22px; image-rendering: pixelated; }
.sprite.s11 { width: 11px; height: 11px; }
.check-disc { width: 22px; height: 22px; flex: none; display: inline-grid; place-items: center; border-radius: 50%; background: var(--orange); }
.check-disc svg { width: 14px; height: 14px; fill: none; stroke: #fff; stroke-width: 2.8; stroke-linecap: round; stroke-linejoin: round; }
.dash-disc { width: 16px; height: 2px; border-radius: 2px; background: var(--dot-strong); display: inline-block; }

/* ---------- device frames for real screenshots ---------- */
.browser { border-radius: var(--r-feature); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-3); overflow: hidden; }
.browser-bar { display: flex; align-items: center; gap: 12px; height: 40px; padding: 0 14px; background: var(--surface-2); border-bottom: 1px solid var(--line); }
.browser-bar .dots { display: flex; gap: 6px; } .browser-bar .dots i { width: 10px; height: 10px; border-radius: 50%; background: var(--line-2); }
.browser-bar .url { flex: 1; max-width: 360px; margin-inline: auto; height: 24px; display: flex; align-items: center; justify-content: center; gap: 6px; border-radius: 999px; background: var(--surface-3); font: 500 12px/1 var(--mono); color: var(--muted); }
.browser-bar .url::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--success); }
.browser img { width: 100%; }
.phone { position: relative; width: var(--pw, 280px); aspect-ratio: 390 / 844; padding: 10px; border-radius: 46px; background: #0b0d12; box-shadow: inset 0 0 0 2px #2a2f3a, inset 0 0 0 5px #0b0d12, var(--shadow-3); }
.phone::before { content: ""; position: absolute; top: 20px; left: 50%; z-index: 2; width: 30%; height: 24px; margin-left: -15%; border-radius: 999px; background: #0b0d12; }
.phone-screen { width: 100%; height: 100%; border-radius: 37px; overflow: hidden; background: var(--bg); }
.phone-screen img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.shot { border-radius: var(--r-card); border: 1px solid var(--line); box-shadow: var(--shadow-2); background: var(--surface); overflow: hidden; }
.shot img { width: 100%; }
.photo { position: relative; overflow: hidden; border-radius: var(--r-feature); background: var(--surface-3); }
.photo > picture { display: block; height: 100%; }
.photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.photo.dotscreen::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(circle, rgb(251 251 252 / .55) 1px, transparent 1.4px) 0 0 / 6px 6px; -webkit-mask-image: linear-gradient(to var(--ds-dir, left), #000, transparent 55%); mask-image: linear-gradient(to var(--ds-dir, left), #000, transparent 55%); }
.float-chip { position: absolute; display: inline-flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-2); font-size: 13.5px; font-weight: 700; color: var(--ink); white-space: nowrap; }
.float-chip small { display: block; font-size: 12px; font-weight: 600; color: var(--muted); }
.float-chip img { width: 22px; height: 22px; }

/* ---------- platform marks ---------- */
.pf { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--ink); }
.pf img { width: 20px; height: 20px; }
.pf-tile { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 13px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-1); }
.pf-tile img { width: 22px; height: 22px; }

/* ---------- reveals (landing only) ---------- */
[data-reveal] { transition: opacity 1.1s var(--ease), transform 1.1s var(--ease), filter 1.1s var(--ease); transition-delay: calc(var(--i, 0) * 80ms); }
.js [data-reveal]:not(.in) { opacity: 0; }
.js [data-reveal="up"]:not(.in) { transform: translateY(28px); }
.js [data-reveal="blur"]:not(.in) { transform: scale(1.03); filter: blur(14px); }
.js [data-reveal="left"]:not(.in) { transform: translateX(-36px); }
.js [data-reveal="right"]:not(.in) { transform: translateX(36px); }
.js [data-reveal="scale"]:not(.in) { transform: scale(.94); }
/* start with part of the box visible: Chrome's IntersectionObserver ignores a fully clipped target, so inset(0 0 100% 0) never reveals */
.js [data-reveal="mask"]:not(.in) { clip-path: inset(0 0 55% 0); transform: translateY(18px); }
[data-reveal="mask"] { transition-property: opacity, transform, clip-path; }
/* only the mask reveal clips; a revealed element must not cut its shadows, chips or placeholder labels */
[data-reveal="mask"].in { clip-path: inset(-60px -60px -60px -60px); }
@media (max-width: 759px) { [data-reveal] { transition-duration: .55s; } .js [data-reveal="blur"]:not(.in) { filter: none; transform: translateY(16px); } }

/* ---------- LED numerals (ledHtml in icons.js) ---------- */
.led { --p: 5px; --g: 2px; display: inline-flex; align-items: flex-end; gap: calc(var(--p) + var(--g)); }
.led .dg { display: grid; gap: var(--g); }
.led .dg.c2 { grid-template-columns: repeat(2, var(--p)); } .led .dg.c3 { grid-template-columns: repeat(3, var(--p)); }
.led .dg.c4 { grid-template-columns: repeat(4, var(--p)); } .led .dg.c5 { grid-template-columns: repeat(5, var(--p)); }
.led i { width: var(--p); height: var(--p); border-radius: 50%; background: rgb(8 10 15 / .07); transition: background-color .25s, box-shadow .25s; }
.led i.on { background: var(--ink); }
.led-glow i { background: rgb(255 255 255 / .06); }
.led-glow i.on { background: var(--orange); box-shadow: 0 0 10px rgb(255 90 10 / .75); }
.led-orange i.on { background: var(--orange); }

/* ---------- placeholders (no real social proof yet) ---------- */
[data-placeholder] { position: relative; outline: 2px dashed rgb(255 90 10 / .75); outline-offset: 5px; }
[data-placeholder]::after { content: "Platzhalter · " attr(data-placeholder); position: absolute; top: -17px; left: 12px; z-index: 5; padding: 3px 9px; border-radius: 999px; background: var(--ink); color: #fff; font: 700 12px/1.3 var(--font); letter-spacing: .02em; white-space: nowrap; pointer-events: none; }
.bg-inst [data-placeholder]::after { background: var(--orange); color: var(--ink); }
:lang(en) [data-placeholder]::after { content: "Placeholder · " attr(data-placeholder); }
.ph-text { color: var(--faint); font-style: italic; }
.stars { display: inline-flex; gap: 3px; }
.stars svg { width: 16px; height: 16px; fill: none; stroke: #f5a524; stroke-width: 1.6; stroke-linejoin: round; }
.g-mark { width: 30px; height: 30px; flex: none; display: grid; place-items: center; border-radius: 50%; background: var(--surface); border: 1px solid var(--line); font: 900 16px/1 var(--font); color: #4285f4; }
.rating { display: inline-flex; align-items: center; gap: 12px; padding: 10px 16px 10px 10px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-1); }
.rating b { font-size: 20px; font-weight: 900; letter-spacing: -.03em; color: var(--ink); font-variant-numeric: tabular-nums; }
.rating .small { display: block; }
.avatar { width: 42px; height: 42px; flex: none; display: grid; place-items: center; border-radius: 50%; background: var(--surface-3); border: 1px dashed var(--dot-strong); font-size: 14px; font-weight: 800; color: var(--muted); }
.logo-slot { height: 56px; display: grid; place-items: center; border-radius: 14px; border: 1px dashed var(--line-2); background: repeating-linear-gradient(-45deg, transparent 0 8px, rgb(8 10 15 / .025) 8px 9px), var(--surface); font-size: 13px; font-weight: 700; color: var(--faint); letter-spacing: .02em; }
.example-flag { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; background: var(--surface); border: 1px dashed var(--orange); font-size: 13px; font-weight: 700; color: var(--ink); }
.example-flag::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--orange); }
.example-flag[hidden] { display: none; }

/* ---------- pricing (DOM from pricing.js) ---------- */
.pf-tabs { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 4px 2px 8px; margin: 0 -2px; -webkit-overflow-scrolling: touch; scroll-snap-type: x proximity; }
.pf-tabs::-webkit-scrollbar { display: none; }
.pf-tabs button { scroll-snap-align: start; flex: none; display: inline-flex; align-items: center; gap: 9px; min-height: 46px; padding: 8px 16px 8px 10px; border-radius: 14px; border: 1px solid var(--line-2); background: var(--surface); font-size: 15px; font-weight: 750; color: var(--ink-2); transition: border-color .2s, background-color .2s, color .2s, box-shadow .3s var(--ease), transform .3s var(--ease); }
.pf-tabs button img { width: 22px; height: 22px; }
.pf-tabs button:hover { border-color: var(--ink-2); transform: translateY(-1px); }
.pf-tabs button[aria-selected="true"] { background: var(--ink); border-color: var(--ink); color: #fff; box-shadow: var(--shadow-2); }
.pf-tabs button[aria-selected="true"] img[data-tiktok] { filter: invert(1); }
.prod-seg { display: inline-flex; padding: 4px; gap: 4px; border-radius: 13px; background: var(--surface-3); border: 1px solid var(--line); max-width: 100%; }
.prod-seg button { flex: 1; min-height: 40px; border: 0; background: none; padding: 8px 14px; border-radius: 10px; font-size: 14.5px; font-weight: 700; color: var(--muted); white-space: nowrap; transition: background-color .25s, color .25s, box-shadow .25s; }
.prod-seg button[aria-pressed="true"] { background: var(--surface); color: var(--ink); box-shadow: 0 1px 2px rgb(0 0 0 / .06), 0 0 0 1px var(--line); }
.pricing-controls { display: grid; gap: 12px; margin-bottom: 18px; }
@media (min-width: 760px) { .pricing-controls { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 20px; } }
.pricing-controls + .example-flag, .calc .example-flag { margin-bottom: 26px; }
.quote .example-flag { margin: 0; background: rgb(255 255 255 / .06); color: var(--inst-text); justify-self: start; }
.calc-selectors { display: grid; gap: 12px; }
.calc-selectors .pf-tabs { padding-bottom: 2px; }
.tiers { display: grid; gap: 16px; padding-top: 16px; }
@media (min-width: 640px) { .tiers { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .tiers { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; } }
.tier { position: relative; display: flex; flex-direction: column; gap: 12px; padding: 24px 22px 22px; border-radius: var(--r-feature); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-1); isolation: isolate; transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .3s; }
.tier:hover { transform: translateY(-4px); box-shadow: var(--shadow-2); border-color: var(--line-2); }
.tier.is-featured { border: 2px solid var(--orange); box-shadow: var(--shadow-orange), var(--shadow-2); }
.tier.is-featured::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; background: radial-gradient(ellipse 90% 50% at 50% 0%, var(--orange-wash), transparent 70%); }
@media (min-width: 1100px) { .tier.is-featured { transform: translateY(-10px); } .tier.is-featured:hover { transform: translateY(-14px); } }
.tier-flag { position: absolute; top: -14px; left: 22px; display: inline-flex; align-items: center; gap: 7px; padding: 5px 12px; border-radius: 999px; background: var(--ink); color: #fff; font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.tier-flag i { width: 7px; height: 7px; border-radius: 50%; background: var(--orange); }
.tier-top { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.tier-name { font-size: 12px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.tier-use { font-size: 13.5px; color: var(--muted); font-weight: 550; }
.tier-qty { display: flex; align-items: baseline; gap: 8px; font-size: 15px; font-weight: 700; color: var(--ink); }
.tier-qty b { font-size: 26px; font-weight: 900; letter-spacing: -.04em; color: var(--orange); font-variant-numeric: tabular-nums; }
.tier-price { display: flex; align-items: flex-start; gap: 4px; font-weight: 900; letter-spacing: -.05em; line-height: .88; color: var(--ink); font-variant-numeric: tabular-nums; }
.tier-price .amt { font-size: clamp(42px, 11vw, 56px); }
@media (min-width: 640px) { .tier-price .amt { font-size: clamp(40px, 4.2vw, 56px); } }
.tier-price .cur { font-size: 22px; margin-top: 4px; }
.tier-per { font-size: 13.5px; color: var(--muted); font-weight: 600; }
.meter { display: flex; gap: 5px; }
.meter i { width: 9px; height: 9px; border-radius: 50%; background: var(--dot); transition: background-color .35s var(--ease), transform .35s var(--ease); transition-delay: calc(var(--i, 0) * 30ms); }
.meter i.on { background: var(--orange); }
.tier-list { display: grid; gap: 9px; padding-top: 12px; margin-top: 2px; border-top: 1px solid var(--line); font-size: 14.5px; color: var(--ink-2); }
.tier-list li { display: flex; align-items: center; gap: 10px; }
.tier-list .check-disc { width: 20px; height: 20px; } .tier-list .check-disc svg { width: 12px; height: 12px; }
.tier .btn { margin-top: auto; }
.roll { display: inline-block; }
.roll.is-rolling { animation: roll .45s var(--ease); }
@keyframes roll { 0% { transform: translateY(0); opacity: 1; } 45% { transform: translateY(-40%); opacity: 0; } 55% { transform: translateY(40%); opacity: 0; } 100% { transform: translateY(0); opacity: 1; } }

/* comparison table: real <table>; phones stack one card per package */
.cmp-wrap { position: relative; border-radius: var(--r-feature); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-1); overflow: hidden; }
.cmp { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 15px; }
.cmp thead th { padding: 20px 18px 16px; text-align: left; vertical-align: bottom; background: var(--surface-2); border-bottom: 1px solid var(--line); }
.cmp thead th .tier-name { display: block; }
.cmp thead th b { display: block; margin-top: 4px; font-size: 22px; font-weight: 900; letter-spacing: -.04em; color: var(--ink); font-variant-numeric: tabular-nums; }
.cmp thead th.is-featured { background: var(--orange-wash); box-shadow: inset 0 3px 0 var(--orange); }
.cmp tbody th[scope="row"], .cmp tbody td { padding: 13px 18px; text-align: left; border-bottom: 1px solid var(--line); transition: background-color .2s; }
.cmp tbody tr:last-child th, .cmp tbody tr:last-child td { border-bottom: 0; }
.cmp tbody th[scope="row"] { font-weight: 600; color: var(--ink-2); }
.cmp tbody td { font-weight: 700; color: var(--ink); font-variant-numeric: tabular-nums; }
.cmp tbody td.is-featured { background: rgb(255 241 232 / .5); }
.cmp tbody tr:hover th, .cmp tbody tr:hover td { background: var(--surface-2); }
.cmp tbody tr:hover td.is-featured { background: var(--orange-wash); }
.cmp-note { padding: 14px 18px; font-size: 13.5px; color: var(--muted); border-top: 1px solid var(--line); background: var(--surface-2); }
@media (max-width: 759px) {
  .cmp thead { display: none; }
  .cmp, .cmp tbody, .cmp tr, .cmp th, .cmp td { display: block; }
  .cmp tbody tr { padding: 12px 16px; border-bottom: 1px solid var(--line); }
  .cmp tbody th[scope="row"] { padding: 0 0 8px; border: 0; font-size: 14px; }
  .cmp tbody td { display: flex; justify-content: space-between; padding: 7px 0; border: 0; font-size: 14.5px; }
  .cmp tbody td::before { content: attr(data-col); font-weight: 600; color: var(--muted); }
  .cmp tbody td.is-featured { background: none; }
  .cmp tbody td.is-featured::before { color: var(--orange); font-weight: 800; }
}

/* calculator */
.calc { display: grid; gap: 20px; }
.field-label { display: block; margin-bottom: 8px; font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.qty-row { display: flex; align-items: center; gap: 12px; }
.qty-input { width: 150px; height: 48px; padding: 0 14px; border-radius: var(--r-control); border: 1px solid var(--line-2); background: var(--surface-2); font-size: 18px; font-weight: 800; font-variant-numeric: tabular-nums; color: var(--ink); }
.qty-input:focus { outline: none; border-color: var(--orange); box-shadow: 0 0 0 3px rgb(255 90 10 / .16); }
.qty-unit { font-size: 15px; font-weight: 650; color: var(--muted); }
.quote { position: relative; display: grid; gap: 14px; padding: 24px; border-radius: var(--r-feature); background: var(--inst); color: var(--inst-text); box-shadow: var(--shadow-2); overflow: hidden; isolation: isolate; }
.quote::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(circle, rgb(255 255 255 / .07) 1px, transparent 1.3px) 0 0 / 14px 14px; -webkit-mask-image: linear-gradient(160deg, #000, transparent 70%); mask-image: linear-gradient(160deg, #000, transparent 70%); }
.quote .label { color: var(--inst-muted); }
.quote-total { min-height: 60px; display: flex; align-items: center; }
.quote-total .led { --p: 6px; --g: 2px; }
@media (min-width: 480px) { .quote-total .led { --p: 7px; } }
.quote-meta { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 14px; color: var(--inst-muted); }
.quote-meta b { color: #fff; font-variant-numeric: tabular-nums; }
.quote .btn { width: 100%; }
@media (max-width: 399px) { .quote .btn svg.arr, .quote .btn .send { display: none; } }

/* range slider (native input enhanced by core.js) */
.range { position: relative; --p: 50; padding-top: 34px; }
.range input[type="range"] { -webkit-appearance: none; appearance: none; display: block; width: 100%; height: 30px; margin: 0; background: transparent; cursor: pointer; touch-action: pan-y; }
.range input[type="range"]:focus-visible { outline: none; }
.range input[type="range"]::-webkit-slider-runnable-track { height: 10px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line); background: linear-gradient(90deg, var(--orange) 0 calc(var(--p) * 1%), transparent calc(var(--p) * 1%)), radial-gradient(circle, var(--dot-strong) 1.6px, transparent 2px) 0 50% / 10px 10px repeat-x, var(--surface-3); }
.range input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 28px; height: 28px; margin-top: -9px; border-radius: 50%; background: #fff; border: 3px solid var(--orange); box-shadow: 0 6px 16px -4px rgb(255 90 10 / .6); transition: box-shadow .25s var(--ease), transform .25s var(--ease); }
.range input[type="range"]:hover::-webkit-slider-thumb { box-shadow: 0 6px 16px -4px rgb(255 90 10 / .6), 0 0 0 7px rgb(255 90 10 / .14); }
.range.is-drag input[type="range"]::-webkit-slider-thumb { transform: scale(1.12); box-shadow: 0 6px 16px -4px rgb(255 90 10 / .6), 0 0 0 10px rgb(255 90 10 / .16); }
.range input[type="range"]:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 4px #fff, 0 0 0 7px var(--orange); }
.range input[type="range"]::-moz-range-track { height: 10px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line); background: radial-gradient(circle, var(--dot-strong) 1.6px, transparent 2px) 0 50% / 10px 10px repeat-x, var(--surface-3); }
.range input[type="range"]::-moz-range-progress { height: 10px; border-radius: 999px; background: var(--orange); }
.range input[type="range"]::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 3px solid var(--orange); box-shadow: 0 6px 16px -4px rgb(255 90 10 / .6); }
.range-bubble { position: absolute; top: 0; left: calc(14px + (100% - 28px) * var(--p) / 100); transform: translateX(-50%); padding: 3px 9px; border-radius: 8px; background: var(--ink); color: #fff; font-size: 13px; font-weight: 800; font-variant-numeric: tabular-nums; white-space: nowrap; pointer-events: none; transition: transform .2s var(--ease), background-color .2s; }
.range-bubble::after { content: ""; position: absolute; left: 50%; bottom: -4px; width: 8px; height: 8px; background: inherit; border-radius: 1px; transform: translateX(-50%) rotate(45deg); }
.range.is-drag .range-bubble { background: var(--orange); transform: translateX(-50%) translateY(-3px) scale(1.06); }
.range-ends { display: flex; justify-content: space-between; margin-top: 4px; font-size: 12.5px; font-weight: 600; color: var(--muted); font-variant-numeric: tabular-nums; }

/* ---------- FAQ ---------- */
.qa-list { display: grid; gap: 10px; }
.qa { border-radius: var(--r-card); background: var(--surface); border: 1px solid var(--line); transition: border-color .25s, box-shadow .25s; }
.qa[open] { border-color: var(--orange-line); box-shadow: var(--shadow-1); }
.qa summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 20px; font-size: 16.5px; font-weight: 750; letter-spacing: -.02em; color: var(--ink); cursor: pointer; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary i { position: relative; flex: none; width: 30px; height: 30px; border-radius: 9px; background: var(--surface-3); transition: background-color .2s, transform .35s var(--ease); }
.qa summary i::before, .qa summary i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; margin: -1px 0 0 -6px; background: var(--ink); border-radius: 2px; }
.qa summary i::after { transform: rotate(90deg); }
.qa summary:hover i { background: var(--orange-wash); }
.qa[open] summary i { background: var(--orange-wash); transform: rotate(45deg); }
.qa[open] summary i::before, .qa[open] summary i::after { background: var(--orange); }
.qa p { padding: 0 20px 20px; font-size: 16px; color: var(--ink-2); line-height: 1.6; max-width: 62ch; }
.qa::details-content { block-size: 0; overflow: hidden; transition: block-size .45s var(--ease), content-visibility .45s allow-discrete; }
.qa[open]::details-content { block-size: auto; }
@supports (interpolate-size: allow-keywords) { :root { interpolate-size: allow-keywords; } }

/* ---------- sticky mobile CTA ---------- */
.sticky-cta { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 45; display: flex; align-items: center; gap: 10px; padding: 10px; border-radius: 18px; background: rgb(255 255 255 / .92); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border: 1px solid var(--line); box-shadow: var(--shadow-3); transform: translateY(140%); visibility: hidden; transition: transform .5s var(--ease), visibility 0s linear .5s; }
.sticky-cta.is-visible { transform: none; visibility: visible; transition: transform .5s var(--ease), visibility 0s; }
.sticky-cta .btn { flex: 1; --h: 50px; }
.sticky-cta .btn-quiet { flex: none; font-size: 15px; }
@media (min-width: 760px) { .sticky-cta { display: none; } }

/* ---------- footer ---------- */
.footer { padding: clamp(56px, 8vw, 96px) 0 calc(28px + env(safe-area-inset-bottom)); background: var(--surface); border-top: 1px solid var(--line); }
.footer-grid { display: grid; gap: 32px 24px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.footer-brand { grid-column: 1 / -1; max-width: 320px; }
.footer-brand p { margin-top: 14px; font-size: 15px; color: var(--muted); }
.footer h3 { margin-bottom: 12px; font-size: 12px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.footer ul { display: grid; gap: 9px; }
.footer ul a { font-size: 15px; font-weight: 600; color: var(--ink-2); transition: color .2s; }
.footer ul a:hover { color: var(--orange); }
.footer-bottom { display: grid; gap: 6px; margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 1.6fr repeat(3, 1fr); } .footer-brand { grid-column: auto; } .footer-bottom { grid-template-columns: 1fr auto; } }
@media (max-width: 759px) { .footer { padding-bottom: calc(96px + env(safe-area-inset-bottom)); } }

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .js [data-reveal]:not(.in) { opacity: 1; transform: none; filter: none; clip-path: none; }
}

/* No browser defaults (checklist I17): no number arrows, no search clear cross, no autofill tint.
   An autofilled field keeps our surface and text colour; when focused it keeps the focus ring too. */
input[type="number"] { -moz-appearance: textfield; appearance: textfield; }
input[type="number"]::-webkit-inner-spin-button, input[type="number"]::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
input[type="search"] { -webkit-appearance: none; appearance: none; }
input[type="search"]::-webkit-search-cancel-button, input[type="search"]::-webkit-search-decoration { -webkit-appearance: none; display: none; }
input:-webkit-autofill, textarea:-webkit-autofill, select:-webkit-autofill { -webkit-text-fill-color: var(--ink); caret-color: var(--ink); -webkit-box-shadow: 0 0 0 1000px var(--surface) inset; box-shadow: 0 0 0 1000px var(--surface) inset; transition: background-color 9999s ease-out 0s; }
input:-webkit-autofill:focus, textarea:-webkit-autofill:focus { -webkit-box-shadow: 0 0 0 1000px var(--surface) inset, 0 0 0 3px rgb(255 90 10 / .16); box-shadow: 0 0 0 1000px var(--surface) inset, 0 0 0 3px rgb(255 90 10 / .16); }
