/* ==========================================================================
   Finhabit - marketing site
   Static, no build step, no third-party requests (fonts are the system's).
   ========================================================================== */

:root {
  --font: "Segoe UI Variable Display", "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, "SF Pro Display", "Helvetica Neue", Roboto, Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", "Cascadia Mono", Consolas, monospace;

  --brand: #19c2a9;
  --brand-strong: #0e9f8a;
  --brand-deep: #0b4f4f;
  --gold: #fbbf24;
  --ink: #04191a;
  --danger: #f43f5e;

  --bg: #f6f4ee;
  --bg-alt: #eeebe1;
  --surface: #ffffff;
  --surface-2: #faf8f2;
  --text: #10211f;
  --muted: #52615d;
  --line: #e4dfd0;
  --shadow: 0 28px 60px -34px rgba(11, 79, 79, 0.45);
  --shadow-sm: 0 10px 30px -18px rgba(11, 79, 79, 0.35);
  --save-fg: #047857;

  --radius: 24px;
  --gutter: clamp(20px, 4vw, 80px);
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

/* Dark theme: explicit choice, or the visitor's system setting when they haven't chosen. */
:root[data-theme="dark"] {
  --bg: #061a1a;
  --bg-alt: #081f1f;
  --surface: #0c2a29;
  --surface-2: #0f3231;
  --text: #e8f4f2;
  --muted: #9db8b4;
  --line: rgba(255, 255, 255, 0.1);
  --shadow: 0 30px 70px -34px rgba(0, 0, 0, 0.8);
  --shadow-sm: 0 12px 30px -18px rgba(0, 0, 0, 0.7);
  --save-fg: #6ee7b7;
  color-scheme: dark;
}
@media (prefers-color-scheme: dark) {
  :root[data-theme="auto"] {
    --bg: #061a1a;
    --bg-alt: #081f1f;
    --surface: #0c2a29;
    --surface-2: #0f3231;
    --text: #e8f4f2;
    --muted: #9db8b4;
    --line: rgba(255, 255, 255, 0.1);
    --shadow: 0 30px 70px -34px rgba(0, 0, 0, 0.8);
    --shadow-sm: 0 12px 30px -18px rgba(0, 0, 0, 0.7);
    --save-fg: #6ee7b7;
    color-scheme: dark;
  }
}

/* ---- base ---------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { font-size: clamp(14px, 0.12vw + 12.8px, 16px); scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 76px; }
body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; padding: 0; }
h1, h2, h3, h4, p, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; border-radius: 10px; }
::selection { background: var(--brand); color: var(--ink); }
.container { width: min(1840px, calc(100% - 2 * var(--gutter))); margin-inline: auto; }
/* The page body keeps space on the left and right; the header and footer (outside <main>) stay full width. */
main .container { width: min(1200px, calc(100% - 2 * var(--gutter))); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: 16px; top: -60px; z-index: 100; background: var(--brand); color: var(--ink); padding: 10px 16px; border-radius: 10px; font-weight: 700; transition: top 0.2s; }
.skip:focus { top: 16px; }
.ico { width: 1.25em; height: 1.25em; flex: none; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ico-fill { fill: currentColor; stroke: none; }
.num { font-variant-numeric: tabular-nums; }

/* Scroll reveal - only when JS is running, so the page is fully readable without it. */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); transition-delay: calc(var(--i, 0) * 90ms); }
.js .reveal.in { opacity: 1; transform: none; }

/* ---- type ---------------------------------------------------------------- */
.eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px; font-size: 0.8125rem; font-weight: 650; letter-spacing: 0.02em; color: var(--brand-strong); background: color-mix(in srgb, var(--brand) 14%, transparent); border: 1px solid color-mix(in srgb, var(--brand) 30%, transparent); }
:root[data-theme="dark"] .eyebrow { color: #5eead4; }
@media (prefers-color-scheme: dark) { :root[data-theme="auto"] .eyebrow { color: #5eead4; } }
.h2 { font-size: clamp(26px, 2.8vw, 48px); line-height: 1.06; letter-spacing: -0.035em; font-weight: 800; }
.lead { font-size: clamp(15.5px, 1vw, 18px); color: var(--muted); max-width: 62ch; }
.section { padding: clamp(56px, 7.5vw, 104px) 0; position: relative; }
.section-head { display: grid; gap: 16px; justify-items: center; text-align: center; margin-bottom: clamp(40px, 6vw, 72px); }
.section-head .lead { margin-inline: auto; }
.grad { background: linear-gradient(95deg, #5eead4 0%, #19c2a9 40%, #fbbf24 100%); -webkit-background-clip: text; background-clip: text; color: transparent; display: inline-block; }
.h2, .hero h1, .ty-head h1, .cta-final h2, .lead { text-wrap: balance; }

/* ---- buttons ------------------------------------------------------------- */
.btn { position: relative; overflow: hidden; display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 12px 20px; border-radius: 14px; font-weight: 700; font-size: 0.9375rem; line-height: 1.2; transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s; white-space: nowrap; }
.btn::after { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, 0.45) 50%, transparent 70%); transform: translateX(-120%); }
.btn:hover::after { transform: translateX(120%); transition: transform 0.7s var(--ease); }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-primary { color: #03211d; background: linear-gradient(135deg, #34e0c4, #12a28d); box-shadow: 0 12px 30px -10px rgba(25, 194, 169, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.4); }
.btn-primary:hover { box-shadow: 0 18px 38px -10px rgba(25, 194, 169, 0.85), inset 0 1px 0 rgba(255, 255, 255, 0.4); }
.btn-ghost { color: var(--text); border: 1px solid var(--line); background: color-mix(in srgb, var(--surface) 70%, transparent); }
.btn-ghost:hover { border-color: var(--brand); }
.btn-glass { color: #eaf7f5; background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.18); backdrop-filter: blur(6px); }
.btn-glass:hover { background: rgba(255, 255, 255, 0.14); }
.btn-gold { color: #2b1d00; background: linear-gradient(135deg, #fde68a, #f59e0b); box-shadow: 0 12px 30px -12px rgba(245, 158, 11, 0.7); }
.btn-lg { padding: 14px 24px; font-size: 1rem; border-radius: 16px; }
.btn-block { width: 100%; }
.btn .ico { width: 1.3em; height: 1.3em; }
.btn small { display: block; font-size: 0.7188rem; font-weight: 600; opacity: 0.75; letter-spacing: 0.02em; }
.btn-stack { flex-direction: row; text-align: left; }

/* ---- nav ----------------------------------------------------------------- */
.nav { --nav-fg: var(--text); position: fixed; inset: 0 0 auto 0; z-index: 50; transition: background 0.3s, border-color 0.3s, box-shadow 0.3s; border-bottom: 1px solid transparent; color: var(--nav-fg); animation: navIn 0.7s var(--ease) 0.15s both; }
@keyframes navIn { from { opacity: 0; transform: translateY(-14px); } to { opacity: 1; transform: none; } }
.nav.scrolled, .nav.solid { --nav-fg: var(--text); background: color-mix(in srgb, var(--bg) 82%, transparent); backdrop-filter: blur(16px) saturate(1.4); -webkit-backdrop-filter: blur(16px) saturate(1.4); border-bottom-color: var(--line); }
.nav-inner { display: flex; align-items: center; gap: 24px; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 12px; font-weight: 800; font-size: 1.0625rem; letter-spacing: -0.02em; }
.brand svg, .brand img { width: 30px; height: 30px; border-radius: 10px; object-fit: contain; }
.nav-links { display: flex; gap: 6px; margin-left: auto; align-items: center; }
.nav-links a:not(.btn) { padding: 8px 14px; border-radius: 10px; font-weight: 600; font-size: 0.9375rem; opacity: 0.85; transition: opacity 0.2s, background 0.2s; }
.nav-links a:not(.btn):hover, .nav-links a.active { opacity: 1; background: color-mix(in srgb, currentColor 10%, transparent); }
.nav .btn { padding: 10px 18px; font-size: 0.9375rem; border-radius: 12px; }
.nav-home { flex: 1; display: flex; align-items: center; margin-left: 0; }
.nav-mid { display: flex; gap: 6px; margin-inline: auto; }
.nav-end { display: flex; align-items: center; gap: 12px; }
.icon-btn { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 12px; opacity: 0.85; transition: background 0.2s, opacity 0.2s; }
.icon-btn:hover { opacity: 1; background: color-mix(in srgb, currentColor 12%, transparent); }
.menu-btn { display: none; }
.theme-btn .moon { display: none; }
:root[data-theme="dark"] .theme-btn .sun { display: none; }
:root[data-theme="dark"] .theme-btn .moon { display: block; }
@media (prefers-color-scheme: dark) {
  :root[data-theme="auto"] .theme-btn .sun { display: none; }
  :root[data-theme="auto"] .theme-btn .moon { display: block; }
}
@media (max-width: 900px) {
  .menu-btn { display: grid; margin-left: auto; }
  .nav-links { position: absolute; inset: 64px 0 auto 0; flex-direction: column; align-items: stretch; gap: 4px; padding: 14px var(--gutter) 22px; margin: 0; background: color-mix(in srgb, var(--bg) 96%, transparent); backdrop-filter: blur(16px); color: var(--text); border-bottom: 1px solid var(--line); transform: translateY(-12px); opacity: 0; pointer-events: none; transition: 0.3s var(--ease); }
  .nav.open .nav-links { transform: none; opacity: 1; pointer-events: auto; }
  .nav.open { background: color-mix(in srgb, var(--bg) 96%, transparent); --nav-fg: var(--text); }
  .nav-links a:not(.btn) { padding: 14px 12px; font-size: 1.0625rem; }
  .nav-links .btn { margin-top: 8px; }
  .nav-links .icon-btn { align-self: flex-start; }
  .nav-mid { flex-direction: column; margin: 0; }
  .nav-end { margin-top: 8px; justify-content: space-between; }
  .nav-end .btn { margin-top: 0; }
}

/* ---- home hero ------------------------------------------------------------------------------------ */
.hero {
  --h-text: #0f1a18; --h-muted: #4c5955; --h-card: rgba(255, 255, 255, 0.74); --h-card2: rgba(255, 255, 255, 0.9); --h-chip: rgba(255, 255, 255, 0.5);
  --h-line: rgba(255, 255, 255, 0.95); --h-rule: rgba(60, 84, 78, 0.22); --h-shadow: 0 18px 40px -24px rgba(11, 79, 79, 0.45);
  position: relative; isolation: isolate; overflow: hidden; color: var(--h-text);
  min-height: min(100svh, 940px); display: flex; align-items: center;
  padding: clamp(70px, 4.6vw, 92px) 0 clamp(20px, 2vw, 36px);
}
/* soft, bright interior: window light top right, blurred plants on the right, warm desk at the bottom */
.hero-bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; background: linear-gradient(180deg, #f9fcfb 0%, #eef6f3 58%, #f4ede4 100%); }
.hero-bg::before { content: ""; position: absolute; inset: -4%; background:
    radial-gradient(38% 46% at 6% 4%, rgba(255, 255, 255, 0.95), transparent 70%),
    radial-gradient(34% 42% at 66% 6%, rgba(158, 222, 206, 0.6), transparent 72%),
    radial-gradient(24% 46% at 99% 46%, rgba(120, 194, 118, 0.46), transparent 72%),
    radial-gradient(18% 30% at 90% 22%, rgba(150, 208, 130, 0.3), transparent 72%),
    radial-gradient(34% 30% at 84% 104%, rgba(255, 222, 186, 0.6), transparent 72%),
    radial-gradient(30% 24% at 46% 108%, rgba(238, 226, 208, 0.7), transparent 72%);
  animation: bgDrift 20s ease-in-out infinite alternate; }
@keyframes bgDrift { to { transform: scale(1.03) translate3d(-0.6%, 0.4%, 0); } }
:root[data-theme="dark"] .hero { --h-text: #eaf7f5; --h-muted: #a6c4bf; --h-card: rgba(255, 255, 255, 0.16); --h-card2: rgba(14, 44, 43, 0.86); --h-chip: rgba(255, 255, 255, 0.2); --h-line: rgba(255, 255, 255, 0.14); --h-rule: rgba(255, 255, 255, 0.16); --h-shadow: 0 18px 40px -22px rgba(0, 0, 0, 0.7); }
/* the four boxes and the five floating labels flip to white/transparent glass in dark mode, with white
   text and white icons (overriding the icons' own per-item tone/accent colour) - a plain, unified look
   (the "Download for desktop" glass button keeps the dark glass look - it uses --h-card2, not these). */
:root[data-theme="dark"] .hero-badge, :root[data-theme="dark"] .hero-card { color: #fff; }
:root[data-theme="dark"] .hero-card .txt small { color: rgba(255, 255, 255, 0.75); }
:root[data-theme="dark"] .hero-badge-ico, :root[data-theme="dark"] .hero-card .ico-box { color: #fff; }
:root[data-theme="dark"] .hero-bg { background: linear-gradient(180deg, #06201f 0%, #082625 60%, #0b2a26 100%); }
:root[data-theme="dark"] .hero-bg::before { background:
    radial-gradient(36% 44% at 8% 6%, rgba(25, 194, 169, 0.12), transparent 70%),
    radial-gradient(34% 42% at 66% 8%, rgba(25, 194, 169, 0.22), transparent 72%),
    radial-gradient(24% 46% at 99% 46%, rgba(52, 150, 96, 0.24), transparent 72%),
    radial-gradient(34% 30% at 84% 104%, rgba(190, 140, 70, 0.16), transparent 72%); }
:root[data-theme="dark"] .bokeh { opacity: 0.85; background:
    radial-gradient(16% 24% at 14% 34%, rgba(52, 150, 96, 0.4), transparent 70%),
    radial-gradient(22% 30% at 20% 64%, rgba(25, 194, 169, 0.28), transparent 70%),
    radial-gradient(30% 36% at 86% 10%, rgba(230, 150, 70, 0.4), transparent 70%),
    radial-gradient(26% 32% at 98% 38%, rgba(190, 110, 60, 0.32), transparent 70%),
    radial-gradient(20% 26% at 90% 70%, rgba(25, 194, 169, 0.22), transparent 70%); }
@media (prefers-color-scheme: dark) {
  :root[data-theme="auto"] .hero { --h-text: #eaf7f5; --h-muted: #a6c4bf; --h-card: rgba(255, 255, 255, 0.16); --h-card2: rgba(14, 44, 43, 0.86); --h-chip: rgba(255, 255, 255, 0.2); --h-line: rgba(255, 255, 255, 0.14); --h-rule: rgba(255, 255, 255, 0.16); --h-shadow: 0 18px 40px -22px rgba(0, 0, 0, 0.7); }
  :root[data-theme="auto"] .hero-badge, :root[data-theme="auto"] .hero-card { color: #fff; }
  :root[data-theme="auto"] .hero-card .txt small { color: rgba(255, 255, 255, 0.75); }
  :root[data-theme="auto"] .hero-badge-ico, :root[data-theme="auto"] .hero-card .ico-box { color: #fff; }
  :root[data-theme="auto"] .hero-bg { background: linear-gradient(180deg, #06201f 0%, #082625 60%, #0b2a26 100%); }
  :root[data-theme="auto"] .hero-bg::before { background:
      radial-gradient(36% 44% at 8% 6%, rgba(25, 194, 169, 0.12), transparent 70%),
      radial-gradient(34% 42% at 66% 8%, rgba(25, 194, 169, 0.22), transparent 72%),
      radial-gradient(24% 46% at 99% 46%, rgba(52, 150, 96, 0.24), transparent 72%),
      radial-gradient(34% 30% at 84% 104%, rgba(190, 140, 70, 0.16), transparent 72%); }
  :root[data-theme="auto"] .bokeh { opacity: 0.85; background:
      radial-gradient(16% 24% at 14% 34%, rgba(52, 150, 96, 0.4), transparent 70%),
      radial-gradient(22% 30% at 20% 64%, rgba(25, 194, 169, 0.28), transparent 70%),
      radial-gradient(30% 36% at 86% 10%, rgba(230, 150, 70, 0.4), transparent 70%),
      radial-gradient(26% 32% at 98% 38%, rgba(190, 110, 60, 0.32), transparent 70%),
      radial-gradient(20% 26% at 90% 70%, rgba(25, 194, 169, 0.22), transparent 70%); }
}

/* a faint grid, sitting behind every piece of text, every picture and every animation - purely decorative */
.hero-grid { position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(color-mix(in srgb, var(--h-text) 6%, transparent) 1px, transparent 1px), linear-gradient(90deg, color-mix(in srgb, var(--h-text) 6%, transparent) 1px, transparent 1px); background-size: 56px 56px; -webkit-mask-image: radial-gradient(75% 70% at 50% 35%, #000 20%, transparent 75%); mask-image: radial-gradient(75% 70% at 50% 35%, #000 20%, transparent 75%); animation: gridDrift 30s linear infinite; }
@keyframes gridDrift { to { background-position: 56px 56px, 56px 56px; } }

.hero .container.hero-inner { width: min(1760px, calc(100% - 2 * var(--gutter))); display: grid; grid-template-columns: minmax(460px, 0.9fr) minmax(0, 1.1fr); gap: clamp(8px, 1.5vw, 28px); align-items: start; }
/* z-index above the stage (which has its own z-index:1 laptop/phone layer), so the buttons are always
   on top rather than sitting behind the picture if the two ever overlap. */
.hero-copy { position: relative; z-index: 2; display: grid; gap: clamp(12px, 1.2vw, 20px); justify-items: start; min-width: 0; container-type: inline-size; }

.hero .eyebrow { font-size: clamp(0.8rem, 0.85vw, 0.95rem); padding: 9px 18px; color: #0d7c6f; background: rgba(25, 194, 169, 0.13); border-color: rgba(25, 194, 169, 0.22); }
.hero .eyebrow .dot { width: 9px; height: 9px; border-radius: 50%; background: #14b8a6; box-shadow: 0 0 0 0 rgba(20, 184, 166, 0.6); animation: pulse 2s infinite; }
:root[data-theme="dark"] .hero .eyebrow { color: #5eead4; }
@media (prefers-color-scheme: dark) { :root[data-theme="auto"] .hero .eyebrow { color: #5eead4; } }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(20, 184, 166, 0); } 100% { box-shadow: 0 0 0 0 rgba(20, 184, 166, 0); } }

.hero h1 { font-size: clamp(46px, 4.3vw, 86px); line-height: 0.98; letter-spacing: -0.045em; font-weight: 800; color: var(--h-text); }
.h-line { display: block; opacity: 0; filter: blur(6px); transform: translateY(25px); animation: lineIn 0.7s var(--ease) forwards; animation-delay: calc(0.45s + var(--i, 0) * 0.1s); }
@keyframes lineIn { to { opacity: 1; filter: blur(0); transform: none; } }
.hero .grad { background: linear-gradient(95deg, #0e9f8a 0%, #35b48a 38%, #98b83a 78%, #d8b93a 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lead { color: var(--h-muted); max-width: 41em; font-size: clamp(15px, 1.05vw, 20px); line-height: 1.45; }

/* always a fixed 2x2 (not auto-fit, which was letting all four stretch into one wide row on a big
   screen, big enough to reach into the stage's own space) - stays compact and inside the copy column. */
.hero-badges { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(8px, 0.8vw, 14px); width: 100%; }
.hero-badge { display: flex; flex-direction: column; align-items: center; gap: 9px; text-align: center; padding: 13px 8px 12px; border-radius: 16px; background: var(--h-card); border: 1px solid var(--h-line); box-shadow: var(--h-shadow); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); font-size: clamp(12px, 0.84vw, 15px); font-weight: 600; line-height: 1.25; transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease); }
.hero-badge:hover { transform: translateY(-4px); box-shadow: 0 22px 40px -22px rgba(11, 79, 79, 0.55); }
.hero-badge-ico { display: grid; place-items: center; width: 40px; height: 40px; color: var(--tone, #0e9f8a); }
.hero-badge-ico .ico { width: 34px; height: 34px; stroke-width: 1.7; }
.hero-badge:nth-child(1) { --tone: #0e9f8a; } .hero-badge:nth-child(2) { --tone: #0e9f8a; } .hero-badge:nth-child(3) { --tone: #16a34a; } .hero-badge:nth-child(4) { --tone: #e11d48; }

.cta-row { display: flex; flex-wrap: wrap; gap: clamp(10px, 1vw, 16px); width: 100%; }
.hero .cta-row .btn { flex: 1 1 200px; justify-content: space-between; gap: 12px; padding: 14px 24px; border-radius: 999px; font-size: clamp(0.95rem, 1vw, 1.15rem); }
.hero .cta-row .btn span { flex: 1; text-align: center; }
.hero .cta-row .btn .ico:last-child { width: 1.2em; height: 1.2em; }
.hero .btn-glass { color: var(--h-text); background: var(--h-card2); border: 1px solid var(--h-line); box-shadow: var(--h-shadow); backdrop-filter: blur(10px); }
.hero .btn-glass:hover { background: var(--h-card2); }

/* a full-width row of its own, spanning both grid columns (not breaking out with vw tricks, which
   centered against the narrow copy column instead of the page - grid-column does this reliably), with
   a little air above it as a break, so it reads as its own "available everywhere" band. */
.hero-platforms { grid-column: 1 / -1; display: grid; gap: 12px; width: 100%; max-width: 760px; margin: clamp(-71px, calc(3.2vw - 93px), -49px) auto 0; padding-top: clamp(18px, 2.6vw, 30px); }
.plat-label { display: flex; align-items: center; gap: 18px; font-size: clamp(0.66rem, 0.72vw, 0.8rem); letter-spacing: 0.22em; text-transform: uppercase; color: var(--h-muted); font-weight: 600; white-space: nowrap; }
.plat-label::before, .plat-label::after { content: ""; flex: 1; height: 1px; background: var(--h-rule); }
.plat-row { display: grid; grid-template-columns: repeat(var(--n, 5), minmax(0, 1fr)); }
.plat { display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; font-size: clamp(0.72rem, 0.78vw, 0.88rem); color: var(--h-muted); opacity: 0; animation: rise 0.6s var(--ease) forwards; animation-delay: calc(1.4s + var(--i, 0) * 0.07s); }
.plat .ico { width: clamp(24px, 1.9vw, 34px); height: clamp(24px, 1.9vw, 34px); stroke-width: 1.7; color: var(--h-text); }
.plat-windows .ico { color: #1a91e8; } .plat-android .ico { color: #3ddc84; }
.plat b { font-weight: 500; }

/* the rotating strip of short taglines under the device row - a seamless marquee (main.js doubles the
   items so translating by -50% loops without a jump), paused on hover, themed off the hero's own vars. */
.hero-ticker { grid-column: 1 / -1; position: relative; width: 100%; margin-top: clamp(14px, 2vw, 22px); overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.ticker-track { display: flex; width: max-content; gap: 40px; padding: 4px 0; animation: marquee 34s linear infinite; }
.hero-ticker:hover .ticker-track { animation-play-state: paused; }
.ticker-item { display: inline-flex; align-items: baseline; gap: 9px; font-weight: 600; letter-spacing: 0.01em; font-size: 0.8438rem; color: var(--h-muted); white-space: nowrap; }
.ticker-item::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #14b8a6; opacity: 0.85; align-self: center; flex: none; }
.ticker-item b { color: var(--h-text); font-weight: 700; }
@keyframes marquee { to { transform: translateX(var(--ticker-shift, -50%)); } }

.load-in { opacity: 0; transform: translateY(22px); animation: rise 0.7s var(--ease) forwards; animation-delay: calc(var(--d, 0) * 1s); }
@keyframes rise { to { opacity: 1; transform: none; } }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes fadeIn { to { opacity: 1; } }

/* ---- the laptop + phone scene ---------------------------------------------------------------------
   Everything is sized in the stage's own width (cqw) so it scales as one piece. Pointer movement sets
   --mx/--my on the stage (JS, eased): the whole scene tilts, and each layer drifts a little with `translate`
   (a separate property from `transform`, so it never fights the entrance/float animations). */
/* top-aligned with the copy column (not vertically centered, which let its top drift up past the
   headline). --align-shift is measured and kept in sync by main.js (initHeroLayout): a fixed vw-based
   nudge couldn't land the laptop/phone's own bottom edge on the buttons' bottom line at every width (the
   copy column's height doesn't shrink in step with the stage's), so it's measured instead of guessed;
   the clamp is only the fallback before that JS runs (and at ≤1080px, where the mobile rule below wins). */
.stage { position: relative; width: 100%; max-width: 1000px; justify-self: end; container-type: inline-size; --mx: 0; --my: 0; margin-top: var(--align-shift, clamp(20px, 3vw, 60px)); }
.scene { position: relative; width: 100%; aspect-ratio: 1000 / 760; perspective: 1500px; }
.tilt { position: absolute; inset: 0; z-index: 1; transform-style: preserve-3d; transform: rotateY(calc(var(--mx) * 6deg)) rotateX(calc(var(--my) * -4deg)); }

/* a soft, out-of-focus hint of plants and window light behind the devices - never sharp enough to read
   as anything in particular, just atmosphere, brighter and warmer (sunset) toward the right. Its own
   theme variants sit further down with the others. */
.bokeh { position: absolute; inset: -18%; z-index: 0; pointer-events: none; filter: blur(26px); opacity: 1;
  background:
    radial-gradient(18% 26% at 10% 30%, rgba(90, 176, 88, 0.75), transparent 68%),
    radial-gradient(24% 32% at 18% 66%, rgba(132, 196, 108, 0.6), transparent 68%),
    radial-gradient(34% 40% at 88% 10%, rgba(255, 200, 120, 0.95), transparent 70%),
    radial-gradient(30% 38% at 98% 40%, rgba(255, 160, 90, 0.75), transparent 70%),
    radial-gradient(24% 30% at 90% 70%, rgba(140, 216, 196, 0.6), transparent 68%),
    radial-gradient(18% 24% at 72% 94%, rgba(255, 224, 170, 0.6), transparent 68%); }

.laptop { position: absolute; z-index: 1; left: 1%; top: 15%; width: 78%; translate: calc(var(--mx) * -10px) calc(var(--my) * -6px); opacity: 0; animation: laptopIn 1.2s 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards, floatL 7s 1.8s ease-in-out infinite; }
@keyframes laptopIn { from { opacity: 0; transform: translate(30px, 70px) scale(0.9) rotate(1deg); } to { opacity: 1; transform: none; } }
@keyframes floatL { 50% { transform: translateY(-5px) rotate(0.15deg); } }
.laptop-shadow { position: absolute; left: 6%; top: 89%; width: 88%; height: 15%; border-radius: 50%; background: radial-gradient(closest-side, rgba(20, 26, 24, 0.4), transparent); filter: blur(13px); opacity: 0; animation: fadeIn 1s 0.9s forwards; }
.laptop-body { transform: perspective(1700px) rotateY(-13deg) rotateX(2deg); transform-origin: 60% 100%; }
.laptop-lid { padding: 1.05cqw; border-radius: 2cqw 2cqw 0.5cqw 0.5cqw; background: #0b0d0e; box-shadow: inset 0 0 0 1px #3a3f43, 0 3cqw 6cqw -3cqw rgba(0, 0, 0, 0.55); }
.laptop-lid img { display: block; width: 100%; height: auto; border-radius: 1.2cqw 1.2cqw 0.2cqw 0.2cqw; }
.laptop-deck { height: 2.2cqw; margin: 0 -3.4%; border-radius: 0 0 3.2cqw 3.2cqw / 0 0 1.5cqw 1.5cqw; background: linear-gradient(180deg, #eceef0 0%, #b9bec5 60%, #8f959d 100%); box-shadow: 0 1.4cqw 2.2cqw -1cqw rgba(0, 0, 0, 0.45); position: relative; }
.laptop-deck::after { content: ""; position: absolute; left: 50%; top: 0; width: 13%; height: 46%; transform: translateX(-50%); border-radius: 0 0 1cqw 1cqw; background: linear-gradient(#a3a8af, #c8ccd1); }

.phone { position: absolute; z-index: 2; left: 66%; top: 33%; width: 23%; translate: calc(var(--mx) * -16px) calc(var(--my) * -10px); opacity: 0; animation: phoneIn 0.95s 1.05s cubic-bezier(0.16, 1, 0.3, 1) forwards, floatP 5.8s 2.1s ease-in-out infinite; }
@keyframes phoneIn { from { opacity: 0; transform: translate(70px, 30px) scale(0.88) rotate(3deg); } to { opacity: 1; transform: none; } }
@keyframes floatP { 50% { transform: translate(2px, -7px); } }
.phone-shadow { position: absolute; left: 10%; top: 94%; width: 84%; height: 13%; border-radius: 50%; background: radial-gradient(closest-side, rgba(20, 26, 24, 0.38), transparent); filter: blur(10px); opacity: 0; animation: fadeIn 1s 1.3s forwards; }
.phone-body { position: relative; overflow: hidden; border: 0.7cqw solid #121416; border-radius: 4cqw; background: #000; box-shadow: inset 0 0 0 1px #3a3f43, 0 3cqw 5cqw -2.5cqw rgba(0, 0, 0, 0.6); transform: perspective(1300px) rotateY(10deg) rotateX(2deg); }
.phone-body img { display: block; width: 100%; height: auto; }
.phone-body .notch { position: absolute; top: 1.7cqw; left: 50%; z-index: 1; width: 24%; height: 1.6cqw; transform: translateX(-50%); border-radius: 999px; background: #050607; }
.phone-btn { position: absolute; z-index: 1; background: #050607; border-radius: 2px; }
.phone-btn.btn-power { right: 0; top: 20%; width: 0.5cqw; height: 9%; }
.phone-btn.btn-vol1 { left: 0; top: 14%; width: 0.5cqw; height: 5%; }
.phone-btn.btn-vol2 { left: 0; top: 21%; width: 0.5cqw; height: 5%; }

/* the five floating labels: frosted panels that drift on their own timings */
.stage-cards { position: absolute; inset: 0; pointer-events: none; }
/* its own background (--h-chip), more see-through than the badges/button glass (--h-card/--h-card2), with
   more blur behind it - a richer, frostier look for the labels floating over the picture specifically. */
.hero-card { position: absolute; z-index: 4; display: flex; align-items: center; gap: 0.9em; padding: 0.95em 1.3em 0.95em 1em; border-radius: 1.2em; font-size: clamp(9.5px, 1.3cqw, 17px); color: var(--h-text); background: var(--h-chip); border: 1px solid var(--h-line); backdrop-filter: blur(22px) saturate(1.4); -webkit-backdrop-filter: blur(22px) saturate(1.4); box-shadow: var(--h-shadow); max-width: 27cqw; opacity: 0; transform: translateY(15px) scale(0.94); pointer-events: auto; }
.hero-card .ico-box { flex: none; display: grid; place-items: center; width: 3.1em; height: 3.1em; border-radius: 0.9em; background: color-mix(in srgb, var(--accent, #14b8a6) 15%, transparent); color: var(--accent, #0e9f8a); }
.hero-card .ico-box .ico { width: 1.75em; height: 1.75em; stroke-width: 1.8; }
.hero-card .txt { display: grid; gap: 0.15em; min-width: 0; }
.hero-card .txt b { font-size: 1.02em; font-weight: 750; line-height: 1.2; }
.hero-card .txt small { font-size: 0.82em; color: var(--h-muted); line-height: 1.3; }
@keyframes cardIn { to { opacity: 1; transform: none; } }
.hero-card.c1 { left: 6%; top: -1%; --accent: #0e9f8a; translate: calc(var(--mx) * -22px) calc(var(--my) * -12px); animation: cardIn 0.6s var(--ease) 1.7s forwards, floatA 4.7s 2.3s ease-in-out infinite; }
.hero-card.c2 { left: 56%; top: 1%; --accent: #e11d48; translate: calc(var(--mx) * -26px) calc(var(--my) * -14px); animation: cardIn 0.6s var(--ease) 1.9s forwards, floatB 5.3s 2.5s ease-in-out infinite; }
.hero-card.c3 { left: 75%; top: 21%; --accent: #0e9f8a; translate: calc(var(--mx) * -30px) calc(var(--my) * -16px); animation: cardIn 0.6s var(--ease) 2.1s forwards, floatC 4.2s 2.7s ease-in-out infinite; }
.hero-card.c4 { left: 9%; top: 79%; --accent: #0e9f8a; translate: calc(var(--mx) * -20px) calc(var(--my) * -12px); animation: cardIn 0.6s var(--ease) 2.3s forwards, floatD 5.7s 2.9s ease-in-out infinite; }
.hero-card.c5 { left: 27%; top: 62%; --accent: #d97706; translate: calc(var(--mx) * -18px) calc(var(--my) * -10px); animation: cardIn 0.6s var(--ease) 2.5s forwards, floatE 5.1s 3.1s ease-in-out infinite; }
@keyframes floatA { 50% { transform: translateY(-6px); } }
@keyframes floatB { 50% { transform: translate(2px, -8px); } }
@keyframes floatC { 50% { transform: translateY(-5px); } }
@keyframes floatD { 50% { transform: translate(-2px, -7px); } }
@keyframes floatE { 50% { transform: translate(-3px, -6px); } }

/* ---- smaller screens ---------------------------------------------------------------------------- */
@media (max-width: 1080px) {
  .hero { min-height: 0; }
  .hero .container.hero-inner { grid-template-columns: 1fr; gap: 28px; }
  .hero-copy { justify-items: center; text-align: center; }
  .stage { justify-self: center; max-width: 760px; margin-top: clamp(24px, 6vw, 40px); }
  /* the stacked layout's own fixed gap, independent of the desktop clamp above (which was pulled
     increasingly negative on request and started overlapping the last floating chip here). */
  .hero-platforms { margin-top: 24px; }
}
@media (max-width: 700px) {
  .stage-cards { position: static; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 14px; pointer-events: auto; }
  .hero-card { position: static; font-size: 0.78rem; max-width: none; translate: none; }
  .hero .cta-row .btn { flex-basis: 100%; }
}
@media (max-width: 460px) { .stage-cards { grid-template-columns: 1fr; } }

/* ---- feature bento -------------------------------------------------------- */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; }
.feat { grid-column: span 2; display: flex; flex-direction: column; gap: 14px; padding: 24px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); position: relative; overflow: hidden; transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s; }
.feat:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: color-mix(in srgb, var(--brand) 45%, var(--line)); }
.feat.w3 { grid-column: span 3; }
.feat .badge { width: 40px; height: 40px; border-radius: 14px; display: grid; place-items: center; color: #03211d; background: linear-gradient(135deg, #5eead4, #19c2a9); box-shadow: 0 10px 20px -10px rgba(25, 194, 169, 0.8); }
.feat.gold .badge { background: linear-gradient(135deg, #fde68a, #f59e0b); }
.feat h3 { font-size: 1.15rem; letter-spacing: -0.02em; line-height: 1.2; }
.feat p { color: var(--muted); font-size: 0.92rem; }
.viz { margin-top: auto; padding-top: 10px; }
.mini-bars { display: flex; align-items: flex-end; gap: 8px; height: 70px; }
.mini-bars i { flex: 1; border-radius: 8px 8px 3px 3px; background: linear-gradient(180deg, var(--brand), var(--brand-deep)); height: 0; transition: height 1.2s var(--ease); transition-delay: calc(var(--k, 0) * 90ms); }
.feat.in .mini-bars i { height: var(--h); }
.mini-bars i.gold { background: linear-gradient(180deg, #fde68a, #d97706); }
.env { display: grid; gap: 10px; }
.env div { display: grid; grid-template-columns: 90px 1fr auto; gap: 12px; align-items: center; font-size: 0.875rem; font-weight: 650; }
.env .track { height: 9px; border-radius: 999px; background: var(--bg-alt); overflow: hidden; }
.env .fill { display: block; height: 100%; width: 0; border-radius: inherit; background: linear-gradient(90deg, #19c2a9, #0e9f8a); transition: width 1.3s var(--ease); }
.feat.in .env .fill { width: var(--w); }
.env em { font-style: normal; color: var(--muted); font-variant-numeric: tabular-nums; }
.line-chart { width: 100%; height: 80px; }
.line-chart path { fill: none; stroke: var(--brand); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 2s var(--ease); }
.line-chart .a { fill: url(#lcFill); stroke: none; stroke-dasharray: none; opacity: 0; transition: opacity 1.4s 1s; }
.feat.in .line-chart path { stroke-dashoffset: 0; }
.feat.in .line-chart .a { opacity: 1; }
.cal { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; max-width: 320px; }
.cal i { aspect-ratio: 1; border-radius: 8px; background: var(--bg-alt); position: relative; }
.cal i.paid { background: color-mix(in srgb, var(--brand) 28%, var(--surface)); }
.cal i.paid::after { content: ""; position: absolute; inset: 0; margin: auto; width: 45%; height: 25%; border-left: 2.5px solid var(--brand-strong); border-bottom: 2.5px solid var(--brand-strong); transform: translateY(-15%) rotate(-45deg); }
.cal i.due { background: color-mix(in srgb, var(--gold) 35%, var(--surface)); animation: pulseBg 2.4s ease-in-out infinite; }
@keyframes pulseBg { 50% { background: color-mix(in srgb, var(--gold) 65%, var(--surface)); } }
.blur-demo { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 16px 18px; border-radius: 16px; background: var(--surface-2); border: 1px solid var(--line); }
.blur-demo b { font-size: 1.5rem; letter-spacing: -0.03em; transition: filter 0.35s; font-variant-numeric: tabular-nums; }
.blur-demo.hidden b { filter: blur(9px); }
.blur-demo button { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--surface); border: 1px solid var(--line); transition: transform 0.2s, border-color 0.2s; }
.blur-demo button:hover { transform: scale(1.06); border-color: var(--brand); }
.blur-demo .off { display: none; } .blur-demo.hidden .on { display: none; } .blur-demo.hidden .off { display: block; }
.theme-split { display: grid; grid-template-columns: 1fr 1fr; border-radius: 16px; overflow: hidden; border: 1px solid var(--line); height: 76px; }
.theme-split div { padding: 12px; display: grid; gap: 7px; align-content: center; }
.theme-split i { display: block; height: 9px; border-radius: 6px; }
.theme-split .l { background: #f7f5ef; } .theme-split .l i { background: #d9d4c4; } .theme-split .l i:first-child { background: #19c2a9; width: 60%; }
.theme-split .d { background: #082322; } .theme-split .d i { background: #1f4644; } .theme-split .d i:first-child { background: #5eead4; width: 60%; }
.cur-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.cur-chips span { font-family: var(--mono); font-size: 0.7813rem; font-weight: 700; padding: 4px 9px; border-radius: 8px; background: var(--bg-alt); color: var(--muted); }
.goal-viz { display: flex; align-items: center; gap: 16px; }
.goal-photo { width: 64px; height: 64px; border-radius: 18px; flex: none; background: linear-gradient(135deg, #19c2a9, #0b4f4f); position: relative; overflow: hidden; }
.goal-photo::before { content: ""; position: absolute; width: 130%; height: 60%; left: -15%; bottom: -18%; background: #f59e0b; border-radius: 50% 50% 0 0; opacity: 0.85; }
.goal-photo::after { content: ""; position: absolute; width: 20px; height: 20px; border-radius: 50%; right: 14px; top: 12px; background: #fde68a; }
.goal-bar { flex: 1; display: grid; gap: 8px; font-size: 0.875rem; font-weight: 650; }
.goal-bar .track { height: 10px; border-radius: 999px; background: var(--bg-alt); overflow: hidden; }
.goal-bar .fill { display: block; height: 100%; width: 0; background: linear-gradient(90deg, #fbbf24, #f59e0b); border-radius: inherit; transition: width 1.5s var(--ease); }
.feat.in .goal-bar .fill { width: 62%; }
.goal-bar span { color: var(--muted); font-weight: 600; }
.also { margin-top: 28px; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.also span { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-weight: 600; font-size: 0.9063rem; }
.also .ico { color: var(--brand-strong); width: 1.1em; height: 1.1em; }
@media (max-width: 900px) { .feat, .feat.w3 { grid-column: span 6; } }
@media (min-width: 901px) and (max-width: 1100px) { .feat { grid-column: span 3; } .feat.w3 { grid-column: span 3; } }

/* ---- how it works -------------------------------------------------------- */
.steps { --n: 3; display: grid; grid-template-columns: repeat(var(--n), 1fr); gap: 28px; position: relative; counter-reset: s; }
.steps::before { content: ""; position: absolute; left: calc(50% / var(--n)); right: calc(50% / var(--n)); top: 34px; height: 2px; background: repeating-linear-gradient(90deg, var(--line) 0 8px, transparent 8px 16px); }
.steps::after { content: ""; position: absolute; left: calc(50% / var(--n)); top: 34px; height: 2px; width: 0; background: linear-gradient(90deg, var(--brand), var(--gold)); transition: width 1.8s 0.3s var(--ease); }
.steps.in::after { width: calc(100% - 100% / var(--n)); }
.step { position: relative; text-align: center; display: grid; gap: 12px; justify-items: center; align-content: start; padding: 0 8px; }
.step .n { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; font-size: 1.375rem; font-weight: 800; color: #03211d; background: linear-gradient(135deg, #5eead4, #19c2a9); box-shadow: 0 0 0 8px var(--bg), 0 16px 30px -10px rgba(25, 194, 169, 0.7); position: relative; z-index: 1; }
.step h3 { font-size: 1.3125rem; letter-spacing: -0.02em; }
.step p { color: var(--muted); max-width: 30ch; }
@media (max-width: 800px) { .steps { grid-template-columns: 1fr; gap: 40px; } .steps::before, .steps::after { display: none; } }

/* ---- privacy band -------------------------------------------------------- */
.band-dark { --surface: #0c2a29; --surface-2: #0f3231; --text: #eaf7f5; --muted: #9fbcb7; --line: rgba(255, 255, 255, 0.1); --bg-alt: #0a2423; background: radial-gradient(60% 70% at 85% 20%, rgba(25, 194, 169, 0.2), transparent 70%), #04191a; color: var(--text); overflow: hidden; }
.privacy { display: grid; grid-template-columns: 1.3fr 0.7fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.privacy .lead { color: var(--muted); }

/* device frames around a real screenshot, used only by the Privacy panels (a simpler, stationary frame -
   not the hero's own animated laptop/phone). */
.device-laptop { --rx: 3deg; --ry: -8deg; position: relative; transform: rotateY(var(--ry)) rotateX(var(--rx)); transition: transform 0.25s ease-out; transform-style: preserve-3d; will-change: transform; }
.device-laptop .screen { border-radius: 0.9em 0.9em 0.2em 0.2em; overflow: hidden; border: 0.45em solid #1c1c1c; border-bottom-width: 0.55em; background: #000; box-shadow: 0 50px 110px -30px rgba(0, 0, 0, 0.75), 0 0 90px -20px rgba(25, 194, 169, 0.35); }
.device-laptop .screen img { display: block; width: 100%; height: auto; }
.device-laptop .base { height: 0.85em; margin: 0 -0.6em; background: linear-gradient(180deg, #3a3a3a, #161616); border-radius: 0 0 0.6em 0.6em; position: relative; }
.device-laptop .base::after { content: ""; position: absolute; left: 50%; top: 0; transform: translateX(-50%); width: 14%; height: 40%; background: #000; border-radius: 0 0 0.4em 0.4em; }
.device-phone { border: 0.5em solid #161616; border-radius: 1.6em; background: #000; overflow: hidden; box-shadow: 0 30px 60px -18px rgba(0, 0, 0, 0.7); }
.device-phone .notch { position: absolute; top: 0.5em; left: 50%; transform: translateX(-50%); width: 34%; height: 0.55em; border-radius: 999px; background: #161616; z-index: 1; }
.device-phone img { display: block; width: 100%; height: auto; }
@keyframes float { 50% { transform: translateY(-8px); } }

.numbered-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 24px; }
.numbered-card { position: relative; padding: 20px 18px; border-radius: 16px; background: rgba(255, 255, 255, 0.04); border: 1px solid rgba(255, 255, 255, 0.09); transition: transform 0.3s var(--ease), border-color 0.3s; }
.numbered-card:hover { transform: translateY(-4px); border-color: rgba(52, 224, 196, 0.4); }
.numbered-card .n { position: absolute; top: 16px; right: 18px; font-size: 0.75rem; font-weight: 800; letter-spacing: 0.04em; color: rgba(255, 255, 255, 0.25); }
.numbered-card .ico-box { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; background: rgba(52, 224, 196, 0.14); color: #34e0c4; margin-bottom: 14px; }
.numbered-card .ico-box .ico { width: 19px; height: 19px; stroke-width: 2.4; }
.numbered-card h4 { font-size: 0.9375rem; letter-spacing: -0.01em; margin-bottom: 5px; padding-right: 26px; }
.numbered-card p { font-size: 0.8125rem; color: var(--muted); line-height: 1.45; }
.privacy-stage { position: relative; width: 100%; max-width: 460px; justify-self: end; padding: 34px 26px; }
.privacy-stage .device-laptop { --rx: 0deg; --ry: 0deg; }
.device-phone.standalone { position: static; margin: 0 auto; width: 62%; min-width: 0; }
.node-chip { position: absolute; z-index: 3; display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 999px; font-size: clamp(10px, 1.6cqw, 13.5px); font-weight: 700; background: rgba(255, 255, 255, 0.07); border: 1px solid rgba(255, 255, 255, 0.14); backdrop-filter: blur(6px); white-space: nowrap; animation: float 6s ease-in-out infinite; }
.node-chip .ico { width: 1.2em; height: 1.2em; color: #5eead4; }
.node-chip.no { color: #fda4af; }
.node-chip.no .ico { color: #fb7185; }
.node-chip.n1 { left: -2%; top: 6%; animation-delay: -1s; } .node-chip.n2 { right: -2%; top: 14%; animation-delay: -3s; } .node-chip.n3 { left: -4%; bottom: 16%; animation-delay: -4.5s; } .node-chip.n4 { right: -4%; bottom: 6%; animation-delay: -2s; }
.node-chip.ok { border-color: rgba(52, 224, 196, 0.5); }
@media (max-width: 900px) { .privacy { grid-template-columns: 1fr; } .privacy-stage { justify-self: center; max-width: 420px; } }
@media (max-width: 560px) { .numbered-grid { grid-template-columns: 1fr; } .node-chip { display: none; } }

/* ---- pricing ------------------------------------------------------------- */
.trial-card { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 32px; padding: 22px 28px; margin-bottom: 28px; border-radius: var(--radius); color: #eaf7f5; background: radial-gradient(60% 120% at 100% 0%, rgba(251, 191, 36, 0.2), transparent 60%), linear-gradient(120deg, #0b4f4f, #062626); border: 1px solid rgba(255, 255, 255, 0.1); box-shadow: var(--shadow); }
.trial-card h3 { font-size: 1.25rem; letter-spacing: -0.02em; }
.trial-card p { color: #a8c7c2; margin-top: 4px; }
.plans { --n: 3; display: grid; grid-template-columns: repeat(var(--n), minmax(0, 1fr)); gap: 22px; align-items: stretch; width: 100%; max-width: calc(var(--n) * 600px); margin-inline: auto; }
.plan { position: relative; display: flex; flex-direction: column; gap: 22px; padding: 28px 26px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm); transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease); }
.plan:hover { transform: translateY(-8px); box-shadow: var(--shadow); }
.plan.featured { border: 0; background: linear-gradient(var(--surface), var(--surface)) padding-box, linear-gradient(140deg, #34e0c4, #fbbf24) border-box; border: 2px solid transparent; box-shadow: 0 34px 70px -30px rgba(25, 194, 169, 0.6); }
.plan .ribbon { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); padding: 6px 16px; border-radius: 999px; font-size: 0.7813rem; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; color: #2b1d00; background: linear-gradient(135deg, #fde68a, #f59e0b); box-shadow: 0 10px 20px -8px rgba(245, 158, 11, 0.7); white-space: nowrap; }
.plan h3 { font-size: 1.25rem; letter-spacing: -0.01em; }
.plan .sub { color: var(--muted); font-size: 0.9375rem; margin-top: 2px; min-height: 2.9em; }
.price { display: flex; align-items: baseline; gap: 6px; }
.price .cur { font-size: 1rem; font-weight: 700; letter-spacing: 0.03em; color: var(--muted); align-self: flex-start; margin-top: 12px; }
.price .amt { font-size: 3.25rem; font-weight: 800; letter-spacing: -0.05em; line-height: 1; font-variant-numeric: tabular-nums; }
.price .per { color: var(--muted); font-weight: 600; }
.save { display: inline-flex; width: fit-content; padding: 5px 12px; border-radius: 999px; font-size: 0.8438rem; font-weight: 750; color: var(--save-fg); background: rgba(16, 185, 129, 0.14); }
.save.none { visibility: hidden; }
.save.neutral { color: var(--muted); background: var(--bg-alt); }
.plan ul { display: grid; gap: 12px; }
.plan li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; font-size: 0.9688rem; }
.plan li .ico { color: var(--brand-strong); width: 20px; height: 20px; stroke-width: 2.6; margin-top: 2px; }
.plan .btn { margin-top: auto; }
.assure { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 30px; margin-top: 36px; color: var(--muted); font-size: 0.9375rem; font-weight: 600; }
.assure > span { display: inline-flex; align-items: center; gap: 8px; }
.assure .ico { color: var(--brand-strong); }
.includes { margin-top: 56px; padding: 32px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.includes h3 { font-size: 1.25rem; margin-bottom: 20px; text-align: center; letter-spacing: -0.02em; }
.includes ul { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px 28px; }
.includes li { display: flex; gap: 10px; align-items: center; font-size: 0.9688rem; font-weight: 600; }
.includes .ico { color: var(--brand-strong); stroke-width: 2.6; }
.breakeven { margin-top: 20px; text-align: center; color: var(--muted); font-size: 0.9375rem; }
.breakeven b { color: var(--text); }
@media (max-width: 980px) { .plans { grid-template-columns: 1fr; max-width: 480px; margin-inline: auto; } .plan .sub { min-height: 0; } .includes ul { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .includes ul { grid-template-columns: 1fr; } .trial-card { padding: 24px; } }
/* four plan cards (web + desktop combined): 4 across, then 2x2, then stacked - narrower than the generic 980px cutoff since four half-width cards still fit two per row comfortably */
.plans.plans-4 { max-width: 1160px; }
@media (max-width: 1100px) { .plans.plans-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 720px; } }
@media (max-width: 640px) { .plans.plans-4 { grid-template-columns: 1fr; max-width: 480px; } }

/* ---- download ------------------------------------------------------------ */
.downloads { --n: 2; display: grid; grid-template-columns: repeat(var(--n), minmax(0, 1fr)); gap: 24px; max-width: calc(var(--n) * 900px); margin-inline: auto; }
.dl { position: relative; display: grid; gap: 22px; padding: 28px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm); transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s; }
.dl:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.dl.rec { border-color: color-mix(in srgb, var(--brand) 55%, var(--line)); box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand) 12%, transparent), var(--shadow); }
.dl .os { display: flex; align-items: center; gap: 16px; }
.dl .os-ico { width: 52px; height: 52px; border-radius: 18px; display: grid; place-items: center; background: linear-gradient(135deg, #0b4f4f, #04191a); color: #eaf7f5; }
.dl .os-ico svg { width: 30px; height: 30px; }
.dl h3 { font-size: 1.5rem; letter-spacing: -0.02em; line-height: 1.15; }
.dl .meta { color: var(--muted); font-size: 0.9063rem; }
.dl .rec-tag { position: absolute; top: 20px; right: 20px; padding: 5px 12px; border-radius: 999px; font-size: 0.75rem; font-weight: 800; letter-spacing: 0.05em; text-transform: uppercase; background: color-mix(in srgb, var(--brand) 18%, transparent); color: var(--brand-strong); display: none; }
.dl.rec .rec-tag { display: block; }
.dl ul { display: grid; gap: 9px; color: var(--muted); font-size: 0.9375rem; }
.dl li { display: flex; gap: 10px; align-items: center; }
.dl li .ico { color: var(--brand-strong); width: 1.1em; height: 1.1em; stroke-width: 2.6; }
.dl code { font-family: var(--mono); font-size: 0.75rem; word-break: break-all; color: var(--muted); }
.help { margin-top: 24px; }
.help details { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 4px 22px; }
.help summary { cursor: pointer; padding: 16px 0; font-weight: 700; display: flex; align-items: center; gap: 10px; list-style: none; }
.help summary::-webkit-details-marker { display: none; }
.help summary .ico { color: var(--gold); }
.help .body { padding: 0 0 20px; display: grid; gap: 14px; color: var(--muted); font-size: 0.9688rem; }
.help .body b { color: var(--text); }
.help .cols { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
@media (max-width: 900px) { .downloads, .help .cols { grid-template-columns: 1fr; } }

/* ---- FAQ ----------------------------------------------------------------- */
.faq { max-width: 1100px; margin-inline: auto; display: grid; gap: 12px; }
@media (min-width: 1100px) { .faq { max-width: none; grid-template-columns: 1fr 1fr; align-items: start; gap: 16px 20px; } }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 0 24px; transition: border-color 0.3s, box-shadow 0.3s; }
.faq details[open] { border-color: color-mix(in srgb, var(--brand) 45%, var(--line)); box-shadow: var(--shadow-sm); }
.faq summary { cursor: pointer; list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 20px 0; font-weight: 700; font-size: 1rem; letter-spacing: -0.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .plus { flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--bg-alt); transition: transform 0.35s var(--ease), background 0.3s; }
.faq details[open] .plus { transform: rotate(45deg); background: var(--brand); color: var(--ink); }
.faq .ans { padding: 0 0 22px; color: var(--muted); font-size: 1rem; max-width: 70ch; animation: fadeDown 0.4s var(--ease); }
.faq .ans a { color: var(--brand-strong); font-weight: 650; text-decoration: underline; text-underline-offset: 3px; }
@keyframes fadeDown { from { opacity: 0; transform: translateY(-6px); } }

/* ---- final CTA + footer -------------------------------------------------- */
.cta-final { text-align: center; display: grid; gap: 22px; justify-items: center; position: relative; }
.cta-final h2 { font-size: clamp(28px, 3.3vw, 56px); letter-spacing: -0.04em; line-height: 1.04; font-weight: 800; max-width: 18ch; }
.cta-final p { color: var(--muted); max-width: 52ch; font-size: 1.125rem; }
.footer { background: #03110f; color: #9db8b4; padding: 64px 0 32px; font-size: 0.9375rem; }
.footer .cols { --n: 3; display: grid; grid-template-columns: 1.6fr repeat(var(--n), 1fr); gap: 40px; }
.footer .brand { color: #eaf7f5; }
.footer p { margin-top: 14px; max-width: 34ch; }
.footer h4 { color: #eaf7f5; font-size: 0.875rem; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 14px; }
.footer li + li { margin-top: 10px; }
.footer a:hover { color: #5eead4; }
.footer .legal { margin-top: 48px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, 0.08); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 0.8438rem; color: #6f8f8a; }
@media (max-width: 800px) { .footer .cols { grid-template-columns: 1fr 1fr; } .footer .cols > :first-child { grid-column: 1 / -1; } }

/* toast */
.toast { position: fixed; left: 50%; bottom: 28px; z-index: 90; transform: translate(-50%, 30px); opacity: 0; pointer-events: none; padding: 14px 22px; border-radius: 14px; background: #062626; color: #eaf7f5; border: 1px solid rgba(94, 234, 212, 0.35); box-shadow: 0 20px 50px -12px rgba(0, 0, 0, 0.6); font-weight: 600; transition: 0.4s var(--ease); max-width: calc(100% - 32px); text-align: center; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---- thank-you page ------------------------------------------------------ */
.ty { padding: clamp(110px, 14vw, 160px) 0 clamp(60px, 8vw, 100px); position: relative; overflow: hidden; }
.ty::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(50% 40% at 50% 0%, color-mix(in srgb, var(--brand) 22%, transparent), transparent 70%); }
.ty-head { text-align: center; display: grid; gap: 18px; justify-items: center; margin-bottom: 48px; }
.ty-head h1 { font-size: clamp(30px, 3.6vw, 56px); line-height: 1.04; letter-spacing: -0.04em; font-weight: 800; max-width: 16ch; }
.check-anim { width: 88px; height: 88px; }
.check-anim circle { fill: none; stroke: var(--brand); stroke-width: 5; stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 0.9s 0.1s var(--ease) forwards; transform-origin: center; transform: rotate(-90deg); }
.check-anim .glow { fill: color-mix(in srgb, var(--brand) 14%, transparent); stroke: none; stroke-dasharray: none; stroke-dashoffset: 0; transform: none; opacity: 0; animation: fadeIn 0.6s 0.7s forwards; }
.check-anim path { fill: none; stroke: var(--brand-strong); stroke-width: 6; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 0.6s 0.85s var(--ease) forwards; }
.plan-pill { display: none; padding: 7px 16px; border-radius: 999px; font-weight: 700; font-size: 0.875rem; background: color-mix(in srgb, var(--gold) 22%, transparent); color: #92400e; border: 1px solid color-mix(in srgb, var(--gold) 50%, transparent); }
:root[data-theme="dark"] .plan-pill { color: #fde68a; }
@media (prefers-color-scheme: dark) { :root[data-theme="auto"] .plan-pill { color: #fde68a; } }
.plan-pill.show { display: inline-block; }
.timeline { max-width: 920px; margin-inline: auto; display: grid; gap: 18px; counter-reset: t; }
.t-step { display: grid; grid-template-columns: 52px 1fr; gap: 20px; padding: 26px; border-radius: 22px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.t-step .n { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; font-weight: 800; font-size: 1.375rem; color: #03211d; background: linear-gradient(135deg, #5eead4, #19c2a9); }
.t-step h3 { font-size: 1.25rem; letter-spacing: -0.02em; margin-bottom: 6px; }
.t-step p { color: var(--muted); }
.t-step .cta-row { margin-top: 16px; }
.t-step code { font-family: var(--mono); font-size: 0.92em; padding: 2px 8px; border-radius: 8px; background: var(--bg-alt); white-space: nowrap; }
.good { max-width: 920px; margin: 28px auto 0; padding: 28px; border-radius: 22px; background: var(--surface-2); border: 1px dashed var(--line); }
.good h3 { font-size: 1.125rem; margin-bottom: 14px; }
.good ul { display: grid; gap: 10px; color: var(--muted); }
.good li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; }
.good .ico { color: var(--brand-strong); width: 20px; height: 20px; margin-top: 2px; }
.help-strip { max-width: 920px; margin: 28px auto 0; text-align: center; color: var(--muted); }
.help-strip a { color: var(--brand-strong); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.confetti { position: fixed; inset: 0; pointer-events: none; z-index: 60; overflow: hidden; }
.confetti i { position: absolute; top: -20px; width: 10px; height: 16px; border-radius: 3px; opacity: 0; animation: fall var(--t, 3.2s) var(--dl, 0s) cubic-bezier(0.2, 0.6, 0.4, 1) forwards; }
@keyframes fall { 0% { opacity: 1; transform: translate3d(0, 0, 0) rotate(0); } 100% { opacity: 0; transform: translate3d(var(--x, 0), 105vh, 0) rotate(var(--r, 720deg)); } }
@media (max-width: 560px) { .t-step { grid-template-columns: 1fr; } }

/* ---- legal --------------------------------------------------------------- */
.doc { max-width: 920px; margin-inline: auto; padding: clamp(110px, 13vw, 150px) 0 80px; }
.doc h1 { font-size: clamp(32px, 5vw, 48px); letter-spacing: -0.035em; line-height: 1.1; }
.doc h2 { font-size: 1.625rem; letter-spacing: -0.02em; margin: 56px 0 14px; padding-top: 12px; }
.doc h3 { font-size: 1.125rem; margin: 26px 0 8px; }
.doc p, .doc li { color: var(--muted); }
.doc p + p, .doc ul + p { margin-top: 12px; }
.doc ul { list-style: disc; padding-left: 22px; display: grid; gap: 8px; margin-top: 10px; }
.doc .draft { margin-top: 22px; padding: 16px 20px; border-radius: 16px; font-size: 0.9375rem; color: #7c2d12; background: #ffedd5; border: 1px solid #fdba74; }
:root[data-theme="dark"] .doc .draft { color: #fed7aa; background: rgba(251, 146, 60, 0.12); border-color: rgba(251, 146, 60, 0.4); }
@media (prefers-color-scheme: dark) { :root[data-theme="auto"] .doc .draft { color: #fed7aa; background: rgba(251, 146, 60, 0.12); border-color: rgba(251, 146, 60, 0.4); } }

/* ---- reduced motion: keep everything, drop the movement ------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; animation-delay: 0s !important; transition-duration: 0.001ms !important; transition-delay: 0s !important; }
  .js .reveal, .load-in { opacity: 1; transform: none; }
  .ticker-track { animation: none; }
}

/* ---- checkout, account and thank-you key panel ------------------------------------------------- */
.co-main { padding: clamp(96px, 11vw, 140px) 0 clamp(56px, 7vw, 96px); min-height: 70vh; }
.co-card { max-width: 640px; margin-inline: auto; padding: clamp(22px, 3vw, 36px); border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); display: grid; gap: 18px; }
.co-card h1 { font-size: clamp(24px, 2.6vw, 36px); letter-spacing: -0.03em; line-height: 1.1; }
.co-card .lead { max-width: none; }
.co-form { display: grid; gap: 16px; }
.co-plans { border: 0; padding: 0; margin: 0; display: grid; gap: 10px; }
.co-plans legend { font-weight: 700; margin-bottom: 8px; padding: 0; }
.co-plan { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 16px; border: 1px solid var(--line); background: var(--surface-2); cursor: pointer; transition: border-color 0.2s, background 0.2s; }
.co-plan:hover { border-color: var(--brand); }
.co-plan:has(input:checked) { border-color: var(--brand); background: color-mix(in srgb, var(--brand) 10%, var(--surface)); box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 18%, transparent); }
.co-plan input { accent-color: var(--brand-strong); width: 18px; height: 18px; flex: none; }
.co-plan-text { flex: 1; display: grid; min-width: 0; }
.co-plan-text small, .co-plan-price small { color: var(--muted); font-size: 0.8125rem; }
.co-plan-price { font-weight: 800; font-size: 1.125rem; text-align: right; display: grid; white-space: nowrap; font-variant-numeric: tabular-nums; }
.co-plan-price small { font-weight: 600; }
.co-field { display: grid; gap: 6px; }
.co-field label { font-weight: 650; font-size: 0.9375rem; }
.co-field small { color: var(--muted); }
.co-field input { width: 100%; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line); background: var(--bg); color: var(--text); font: inherit; }
.co-field input:focus { outline: 3px solid color-mix(in srgb, var(--brand) 35%, transparent); border-color: var(--brand); }
.co-check { display: flex; gap: 10px; align-items: flex-start; font-size: 0.9375rem; color: var(--muted); }
.co-check input { margin-top: 4px; accent-color: var(--brand-strong); width: 17px; height: 17px; flex: none; }
.co-check a, .co-panel a:not(.btn) { color: var(--brand-strong); font-weight: 650; text-decoration: underline; text-underline-offset: 3px; }
.co-note { color: var(--muted); font-size: 0.875rem; text-align: center; }
.co-msg { padding: 12px 16px; border-radius: 12px; font-weight: 600; }
.co-msg.error { color: #9f1239; background: #ffe4e6; border: 1px solid #fda4af; }
.co-msg.info { color: #92400e; background: #fef3c7; border: 1px solid #fcd34d; }
:root[data-theme="dark"] .co-msg.error { color: #fecdd3; background: rgba(244, 63, 94, 0.14); border-color: rgba(244, 63, 94, 0.4); }
:root[data-theme="dark"] .co-msg.info { color: #fde68a; background: rgba(251, 191, 36, 0.12); border-color: rgba(251, 191, 36, 0.4); }
.co-key { display: grid; gap: 2px; padding: 14px 16px; border-radius: 14px; background: var(--surface-2); border: 1px dashed var(--line); }
.co-key span, .co-key small { color: var(--muted); font-size: 0.875rem; }
.co-key b { font-family: var(--mono); font-size: 1.1rem; letter-spacing: 0.04em; }
.co-fake { display: grid; gap: 10px; }
.co-inline { margin: 0; }
.co-panel { max-width: 720px; margin: 0 auto 32px; padding: 26px 28px; border-radius: 22px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); text-align: center; display: grid; gap: 12px; justify-items: center; }
.co-panel h2 { font-size: 1.5rem; letter-spacing: -0.02em; }
.co-panel p { color: var(--muted); }
.co-panel.paid { border-color: color-mix(in srgb, var(--brand) 55%, var(--line)); }
.co-panel.bad { border-color: #fda4af; }
.co-keybox { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; justify-content: center; }
.co-keybox code { font-family: var(--mono); font-size: clamp(1.15rem, 3vw, 1.6rem); font-weight: 800; letter-spacing: 0.06em; padding: 12px 18px; border-radius: 14px; background: color-mix(in srgb, var(--brand) 12%, var(--surface)); border: 1px solid color-mix(in srgb, var(--brand) 40%, var(--line)); user-select: all; }
.co-small { font-size: 0.875rem; }
.co-spin { width: 34px; height: 34px; border-radius: 50%; border: 4px solid var(--line); border-top-color: var(--brand); animation: coSpin 0.9s linear infinite; }
@keyframes coSpin { to { transform: rotate(360deg); } }

/* set from the admin page: crossed-out old price, "coming soon" buttons */
.price .was { align-self: flex-start; margin-top: 8px; font-size: 1.125rem; font-weight: 600; color: var(--muted); text-decoration: line-through; text-decoration-thickness: 2px; }
.btn.is-disabled { cursor: not-allowed; opacity: 0.6; }
.btn.is-disabled:hover { transform: none; }
.btn.is-disabled::after { display: none; }

/* privacy: two equal panels (desktop / web), each with its own animated diagram */
.privacy h3 { font-size: 1.375rem; letter-spacing: -0.01em; margin-bottom: 18px; }
.privacy + .privacy { margin-top: 64px; padding-top: 48px; border-top: 1px solid rgba(255, 255, 255, 0.08); }
.privacy.reverse { grid-template-columns: 0.7fr 1.3fr; }
.privacy.reverse > div:first-child { order: 2; }
.privacy.reverse > .diagram { order: 1; justify-self: start; }
@media (max-width: 900px) { .privacy.reverse > div:first-child, .privacy.reverse > .diagram { order: initial; } }
