/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   OrganicAI — Glass & Steel
   Premium tech aesthetic. Dark. Restrained. Refined.
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */

:root {
  /* Background system — near-black with subtle warmth */
  --bg:         #08090C;
  --bg-elev:    #0E1014;
  --bg-elev-2:  #131520;

  /* Glass surfaces */
  --glass:        rgba(255, 255, 255, .035);
  --glass-hover:  rgba(255, 255, 255, .055);
  --glass-strong: rgba(255, 255, 255, .075);

  /* Borders */
  --border:        rgba(255, 255, 255, .08);
  --border-hover:  rgba(255, 255, 255, .14);
  --border-strong: rgba(255, 255, 255, .20);

  /* Text — refined neutrals */
  --text:        #EDEFF5;
  --text-mute:   #9BA0AA;
  --text-dim:    #5B606B;

  /* The single brand accent — emerald (used sparingly) */
  --emerald:        #10B981;
  --emerald-soft:   #34D399;
  --emerald-glow:   rgba(16, 185, 129, .35);
  --emerald-line:   rgba(16, 185, 129, .25);

  /* The aurora — ambient backdrop */
  --aurora-1:  rgba(16, 185, 129, .12);
  --aurora-2:  rgba(99, 102, 241, .08);
  --aurora-3:  rgba(56, 189, 248, .06);

  /* Fonts */
  --sans: "Heebo", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;

  /* Type scale */
  --t-hero:  clamp(44px, 7.4vw, 116px);
  --t-h2:    clamp(32px, 4.2vw, 60px);
  --t-h3:    clamp(20px, 1.6vw, 24px);
  --t-body:  16px;
  --t-small: 13px;

  /* Spacing */
  --pad: clamp(20px, 5vw, 64px);
  --max: 1200px;

  /* Motion */
  --ease:    cubic-bezier(.22, .61, .36, 1);
  --ease-2:  cubic-bezier(.65, 0, .35, 1);

  --radius:    14px;
  --radius-lg: 20px;

  /* gradient tokens (theme-aware) */
  --grad-metal:    linear-gradient(180deg, #FFFFFF 0%, #B8BCC4 50%, #6E7280 100%);
  --grad-number:   linear-gradient(180deg, #FFFFFF 0%, #C8CCD4 100%);
  --grad-primary:  linear-gradient(180deg, #FFFFFF 0%, #E6E8ED 100%);
  --grad-primary-h: linear-gradient(180deg, #FFFFFF 0%, #EFF1F5 100%);
  --primary-text:  #0A0B0E;
  --grid-line-1:   rgba(255, 255, 255, .025);
  --grid-line-2:   rgba(255, 255, 255, .015);

  --font-display: var(--sans);
}

/* ── LIGHT THEME ─────────────────────────────────────── */
[data-theme="light"] {
  --bg:         #FAFAF9;
  --bg-elev:    #FFFFFF;
  --bg-elev-2:  #F4F5F7;

  --glass:        rgba(0, 0, 0, .025);
  --glass-hover:  rgba(0, 0, 0, .045);
  --glass-strong: rgba(0, 0, 0, .06);

  --border:        rgba(15, 23, 30, .08);
  --border-hover:  rgba(15, 23, 30, .14);
  --border-strong: rgba(15, 23, 30, .22);

  --text:        #0A0B0E;
  --text-mute:   #5B606B;
  --text-dim:    #8B8F99;

  --emerald-glow: rgba(16, 185, 129, .22);
  --emerald-line: rgba(16, 185, 129, .35);

  --aurora-1:  rgba(16, 185, 129, .10);
  --aurora-2:  rgba(99, 102, 241, .06);
  --aurora-3:  rgba(56, 189, 248, .05);

  /* light steel buttons = inverted: dark pill on light bg */
  --grad-metal:     linear-gradient(180deg, #2A2D34 0%, #5B606B 50%, #9EA2AA 100%);
  --grad-number:    linear-gradient(180deg, #0A0B0E 0%, #5B606B 100%);
  --grad-primary:   linear-gradient(180deg, #16181E 0%, #08090C 100%);
  --grad-primary-h: linear-gradient(180deg, #1E2128 0%, #0E1015 100%);
  --primary-text:   #FAFAF9;

  --grid-line-1: rgba(15, 23, 30, .04);
  --grid-line-2: rgba(15, 23, 30, .025);
}
/* English uses Inter as display */
[lang="en"] {
  --font-display: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: var(--t-body);
  line-height: 1.6;
  transition: background .35s var(--ease), color .35s var(--ease);
  font-feature-settings: "ss01", "cv11";
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body {
  background: var(--bg);
  overflow-x: hidden;
  min-height: 100vh;
  position: relative;
  isolation: isolate;
}

/* Background hairline grid — engineering precision (very subtle) */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image:
    linear-gradient(to right, var(--grid-line-1) 1px, transparent 1px),
    linear-gradient(to bottom, var(--grid-line-2) 1px, transparent 1px);
  background-size: 80px 80px, 80px 80px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, black 0%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, black 0%, transparent 80%);
}

/* Subtle film grain — adds depth, fights banding */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 100;
  opacity: .06;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.85'/%3E%3C/svg%3E");
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
h1, h2, h3, h4 { margin: 0; font-weight: 700; letter-spacing: -.025em; }
p { margin: 0; color: var(--text-mute); }
ul { margin: 0; padding: 0; list-style: none; }

::selection { background: var(--emerald); color: var(--bg); }

code {
  font-family: var(--mono);
  font-size: .9em;
  padding: 2px 6px;
  background: var(--glass);
  border: 1px solid var(--border);
  border-radius: 4px;
  color: var(--text);
}

.container {
  max-width: var(--max);
  margin: 0 auto;
  padding-inline: var(--pad);
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ AURORA BG (Apple-style ambient) */

.aurora {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}
.aurora__glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: .85;
  will-change: transform;
}
.aurora__glow--a {
  top: -10%; inset-inline-end: -10%;
  width: 60vw; height: 60vw;
  background: var(--aurora-1);
  animation: floatA 22s var(--ease) infinite;
}
.aurora__glow--b {
  top: 30%; inset-inline-start: -20%;
  width: 50vw; height: 50vw;
  background: var(--aurora-2);
  animation: floatB 28s var(--ease) infinite;
}
.aurora__glow--c {
  bottom: -20%; inset-inline-end: -10%;
  width: 50vw; height: 50vw;
  background: var(--aurora-3);
  animation: floatC 26s var(--ease) infinite;
}
@keyframes floatA { 50% { transform: translate(-5%, 8%); } }
@keyframes floatB { 50% { transform: translate(8%, -4%); } }
@keyframes floatC { 50% { transform: translate(-6%, -6%); } }

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ BRAND */

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  direction: ltr;
  color: var(--text);
}
.brand__mark { width: 26px; height: 26px; }
.brand__name {
  font-family: var(--sans);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -.02em;
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ NAV */

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--bg) 75%, transparent);
  backdrop-filter: saturate(1.4) blur(20px);
  -webkit-backdrop-filter: saturate(1.4) blur(20px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease), background .3s var(--ease);
}
.nav.is-scrolled {
  background: color-mix(in srgb, var(--bg) 92%, transparent);
  border-bottom-color: var(--border);
}
.nav__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 14px var(--pad);
  display: flex;
  align-items: center;
  gap: 36px;
}
.nav__links {
  display: flex;
  gap: 28px;
  margin-inline-start: auto;
}
.nav__links a {
  font-size: 14px;
  color: var(--text-mute);
  font-weight: 500;
  transition: color .2s var(--ease);
}
.nav__links a:hover { color: var(--text); }

.nav__actions {
  display: flex;
  align-items: center;
  gap: 18px;
}
.link {
  font-size: 14px;
  color: var(--text-mute);
  font-weight: 500;
  transition: color .2s var(--ease);
  padding: 6px 0;
}
.link:hover { color: var(--text); }

/* — toggles (theme + language) — */
.toggles {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px;
  background: var(--glass);
  border: 1px solid var(--border);
  border-radius: 999px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px; height: 32px;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 999px;
  color: var(--text-mute);
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .04em;
  cursor: pointer;
  transition: background .2s var(--ease), color .2s var(--ease), transform .15s var(--ease);
}
.toggle:hover { background: var(--glass-hover); color: var(--text); }
.toggle:active { transform: scale(.94); }
.toggle:focus-visible { outline: 2px solid var(--emerald); outline-offset: 2px; }
.toggle__icon { width: 16px; height: 16px; transition: opacity .25s var(--ease), transform .35s var(--ease); }
/* show sun in dark mode (clicking goes to light), moon in light mode */
.toggle__icon--sun { display: block; }
.toggle__icon--moon { display: none; }
[data-theme="light"] .toggle__icon--sun { display: none; }
[data-theme="light"] .toggle__icon--moon { display: block; }
.toggle__label { line-height: 1; }
.nav__mobile__toggles {
  display: flex;
  gap: 8px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}
.nav__mobile__toggles .toggle {
  background: var(--glass);
  border: 1px solid var(--border);
  width: 44px; height: 44px;
}

/* mobile burger */
.nav__burger {
  display: none;
  width: 44px; height: 44px;
  padding: 0;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 10px;
  margin-inline-start: auto;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  transition: border-color .25s var(--ease), background .25s var(--ease);
}
.nav__burger:hover { border-color: var(--border-hover); background: var(--glass); }
.nav__burger span {
  display: block;
  width: 16px; height: 1.25px;
  background: var(--text);
  border-radius: 1px;
  transition: transform .3s var(--ease), opacity .2s var(--ease);
}
.nav__burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(3px) rotate(45deg); }
.nav__burger[aria-expanded="true"] span:nth-child(2) { transform: translateY(-3px) rotate(-45deg); }

.nav__mobile {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 18px var(--pad) 22px;
  border-top: 1px solid var(--border);
  background: color-mix(in srgb, var(--bg) 97%, transparent);
  backdrop-filter: blur(20px);
}
.nav__mobile[data-open] { display: flex; animation: menuIn .3s var(--ease); }
.nav__mobile a {
  padding: 12px 0;
  font-size: 16px;
  color: var(--text);
  border-bottom: 1px solid var(--border);
}
.nav__mobile a.btn { border-bottom: none; margin-top: 6px; }
.nav__mobile hr { border: 0; border-top: 1px solid var(--border); margin: 8px 0 0; }
@keyframes menuIn {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}

@media (max-width: 880px) {
  .nav__links, .nav__actions { display: none; }
  .nav__burger { display: inline-flex; }
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ BUTTONS */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 9px 18px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 14px;
  line-height: 1;
  border: 1px solid transparent;
  transition: all .2s var(--ease);
  position: relative;
  isolation: isolate;
}
.btn--lg  { padding: 14px 26px; font-size: 15px; }
.btn--full { width: 100%; }
.btn svg { width: 14px; height: 14px; transition: transform .25s var(--ease); }
.btn:hover svg { transform: translateX(-3px); }

/* primary — inverted pill (white on dark, dark on light) — "steel" surface */
.btn--primary {
  background: var(--grad-primary);
  color: var(--primary-text);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .08),
    0 1px 2px rgba(0, 0, 0, .25),
    0 8px 24px -10px rgba(0, 0, 0, .25);
}
.btn--primary:hover {
  background: var(--grad-primary-h);
  transform: translateY(-1px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .10),
    0 2px 4px rgba(0, 0, 0, .30),
    0 16px 36px -12px rgba(0, 0, 0, .35);
}
.btn--primary:active { transform: translateY(0) scale(.99); }

/* ghost — transparent w/ glass border */
.btn--ghost {
  background: var(--glass);
  color: var(--text);
  border-color: var(--border);
  backdrop-filter: blur(10px);
}
.btn--ghost:hover {
  background: var(--glass-hover);
  border-color: var(--border-hover);
  transform: translateY(-1px);
}
.btn--ghost:active { transform: translateY(0) scale(.99); }

.btn:focus-visible {
  outline: 2px solid var(--emerald);
  outline-offset: 3px;
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ HERO */

.hero {
  position: relative;
  z-index: 1;
  padding-top: clamp(80px, 11vw, 160px);
  padding-bottom: clamp(60px, 8vw, 100px);
  text-align: center;
}

.hero__pill {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 10px;
  padding: 6px 14px;
  font-size: 12px;
  font-weight: 500;
  color: var(--text-mute);
  background: var(--glass);
  border: 1px solid var(--border);
  border-radius: 999px;
  backdrop-filter: blur(10px);
  letter-spacing: .02em;
}
.hero__pill__dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--emerald);
  box-shadow: 0 0 0 4px var(--emerald-glow), 0 0 12px var(--emerald-glow);
  animation: pulse 2.4s var(--ease) infinite;
}
.hero__pill__sep { color: var(--text-dim); }
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 4px var(--emerald-glow), 0 0 12px var(--emerald-glow); }
  50%      { box-shadow: 0 0 0 6px rgba(16, 185, 129, .12), 0 0 18px var(--emerald-glow); }
}

.hero__title {
  margin: 28px 0 24px;
  font-size: var(--t-hero);
  font-family: var(--font-display);
  line-height: 1.06;
  letter-spacing: -.04em;
  font-weight: 800;
}
[lang="en"] .hero__title { letter-spacing: -.045em; }
.hero__line { display: block; }

/* metallic gradient line — the "steel" moment */
.hero__line--metal {
  background: var(--grad-metal);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero__sub {
  max-width: 640px;
  margin: 0 auto;
  font-size: clamp(16px, 1.4vw, 19px);
  line-height: 1.6;
  color: var(--text-mute);
}

.hero__cta {
  display: inline-flex;
  gap: 12px;
  margin-top: 36px;
  flex-wrap: wrap;
  justify-content: center;
}

.hero__meta {
  margin-top: 18px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: .06em;
  color: var(--text-dim);
  text-transform: uppercase;
  flex-wrap: wrap;
  justify-content: center;
}
.hero__meta__sep {
  display: inline-block;
  width: 3px; height: 3px;
  border-radius: 50%;
  background: var(--text-dim);
  opacity: .6;
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ HERO PRODUCT VISUAL (glass mockup) */

.hero__product {
  position: relative;
  max-width: 1080px;
  margin: clamp(60px, 9vw, 100px) auto 0;
  padding-inline: var(--pad);
  perspective: 1800px;
}

/* Corner brackets — engineering / observability cue (Cron-style) */
.hero__product::before,
.hero__product::after,
.hero__product > .corner-tl,
.hero__product > .corner-br {
  content: "";
  position: absolute;
  width: 18px; height: 18px;
  border: 1px solid var(--border-strong);
  pointer-events: none;
  opacity: .55;
}
.hero__product::before {
  top: -8px; inset-inline-start: calc(var(--pad) - 8px);
  border-inline-end: 0; border-bottom: 0;
}
.hero__product::after {
  top: -8px; inset-inline-end: calc(var(--pad) - 8px);
  border-inline-start: 0; border-bottom: 0;
}
.hero__product .corner-tl, .hero__product .corner-br { display: block; }
.hero__product .corner-tl {
  bottom: -8px; inset-inline-start: calc(var(--pad) - 8px);
  border-inline-end: 0; border-top: 0;
}
.hero__product .corner-br {
  bottom: -8px; inset-inline-end: calc(var(--pad) - 8px);
  border-inline-start: 0; border-top: 0;
}

.mock {
  position: relative;
  background: color-mix(in srgb, var(--bg-elev) 85%, transparent);
  backdrop-filter: blur(40px) saturate(1.2);
  -webkit-backdrop-filter: blur(40px) saturate(1.2);
  border: 1px solid var(--border-hover);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .06),
    0 1px 0 rgba(0, 0, 0, .4),
    0 60px 120px -30px rgba(0, 0, 0, .6),
    0 0 0 1px rgba(0, 0, 0, .2);
  transform: rotateX(3deg);
  transform-style: preserve-3d;
  animation: mockRise 1.4s var(--ease-2) .9s backwards;
}
@keyframes mockRise {
  from { opacity: 0; transform: rotateX(8deg) translateY(60px) scale(.96); }
  to   { opacity: 1; transform: rotateX(3deg) translateY(0) scale(1); }
}
.mock::before {
  content: "";
  position: absolute;
  inset: -40%;
  background:
    radial-gradient(closest-side at 50% 0%, var(--emerald-glow), transparent 70%);
  filter: blur(60px);
  z-index: -1;
  opacity: .5;
}

.mock__chrome {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 18px;
  border-bottom: 1px solid var(--border);
  background: color-mix(in srgb, var(--bg) 40%, transparent);
  direction: ltr;
}
.mock__dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .12);
}
.mock__dot:nth-child(1) { background: #FF5F57; }
.mock__dot:nth-child(2) { background: #FEBC2E; }
.mock__dot:nth-child(3) { background: #28C840; }
.mock__url {
  margin-left: auto;
  margin-right: auto;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--text-dim);
  letter-spacing: .04em;
}

.mock__body {
  display: grid;
  grid-template-columns: 200px 1fr;
  min-height: 320px;
}
.mock__side {
  border-inline-end: 1px solid var(--border);
  padding: 22px 18px;
  background: color-mix(in srgb, var(--bg) 25%, transparent);
}
.mock__brand {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 24px;
  direction: ltr;
}
.mock__brand svg { width: 18px; height: 18px; }
.mock__brand span {
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
}
.mock__nav { display: grid; gap: 4px; }
.mock__navitem {
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 12.5px;
  color: var(--text-mute);
  transition: background .2s var(--ease), color .2s var(--ease);
}
.mock__navitem--active {
  background: var(--glass-strong);
  color: var(--text);
  box-shadow: inset 0 0 0 1px var(--border);
}

.mock__main { padding: 22px 24px 26px; }

@media (max-width: 720px) {
  .mock__body { grid-template-columns: 1fr; }
  .mock__side {
    border-inline-end: none;
    border-bottom: 1px solid var(--border);
    padding: 14px 18px;
  }
  .mock__brand { margin-bottom: 12px; }
  .mock__nav {
    display: flex;
    overflow-x: auto;
    scrollbar-width: none;
    gap: 6px;
  }
  .mock__nav::-webkit-scrollbar { display: none; }
  .mock__navitem { white-space: nowrap; flex-shrink: 0; }
  .mock__row { grid-template-columns: 1fr 1fr; }
  .mock__stat:last-child { grid-column: 1 / -1; }
  .mock__main { padding: 18px; }
  .mock__chart { height: 100px; }
}
.mock__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 20px;
}
.mock__head h4 { font-size: 15px; margin: 0 0 4px; color: var(--text); font-weight: 600; }
.mock__head p { font-size: 12px; color: var(--text-mute); }
.mock__badge {
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .12em;
  color: var(--emerald);
  background: rgba(16, 185, 129, .12);
  border: 1px solid var(--emerald-line);
  padding: 4px 8px;
  border-radius: 4px;
}
.mock__row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 20px;
}
.mock__stat {
  padding: 14px;
  background: var(--glass);
  border: 1px solid var(--border);
  border-radius: 10px;
}
.mock__stat__lbl {
  display: block;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 6px;
}
.mock__stat__val {
  display: block;
  font-size: 22px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -.02em;
  margin-bottom: 4px;
}
.mock__stat__delta {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--emerald);
}
.mock__stat__delta--ok { color: var(--text-mute); }
.mock__chart {
  width: 100%; height: 120px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--glass);
  padding: 8px;
}
.mock__chart__line {
  stroke-dasharray: 800;
  stroke-dashoffset: 800;
  animation: draw 2.6s var(--ease-2) .8s forwards;
}
@keyframes draw { to { stroke-dashoffset: 0; } }

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ PLATFORM LOGOS */

.logos {
  position: relative;
  z-index: 1;
  padding: clamp(40px, 6vw, 80px) 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.logos__label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--text-dim);
  text-align: center;
  margin-bottom: 22px;
}
.logos__grid {
  display: flex;
  gap: clamp(28px, 5vw, 60px);
  justify-content: center;
  flex-wrap: wrap;
}
.logos__name {
  font-size: clamp(18px, 1.8vw, 22px);
  font-weight: 600;
  color: var(--text-mute);
  letter-spacing: -.01em;
  transition: color .25s var(--ease);
}
.logos__name:hover { color: var(--text); }

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ SECTION HEAD */

.sec-head {
  text-align: center;
  margin-bottom: clamp(48px, 7vw, 80px);
}
.kicker {
  display: inline-block;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--emerald);
  margin-bottom: 16px;
  padding: 4px 12px;
  background: rgba(16, 185, 129, .07);
  border: 1px solid var(--emerald-line);
  border-radius: 999px;
}
.sec-head h2 {
  font-size: var(--t-h2);
  line-height: 1.05;
  letter-spacing: -.03em;
  font-weight: 700;
  max-width: 22ch;
  margin-inline: auto;
}
.sec-head__sub {
  max-width: 56ch;
  margin: 18px auto 0;
  font-size: clamp(15px, 1.2vw, 17px);
  line-height: 1.65;
  color: var(--text-mute);
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ FEATURES */

.features {
  position: relative;
  z-index: 1;
  padding: clamp(80px, 12vw, 160px) 0;
}
.features__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
@media (max-width: 880px) {
  .features__grid { grid-template-columns: 1fr; }
}
.feature {
  padding: 32px;
  background: var(--glass);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: transform .35s var(--ease), background .25s var(--ease), border-color .25s var(--ease);
}
.feature:hover {
  background: var(--glass-hover);
  border-color: var(--border-hover);
  transform: translateY(-3px);
}
.feature__icon {
  width: 44px; height: 44px;
  display: grid;
  place-items: center;
  background: var(--glass-strong);
  border: 1px solid var(--border);
  border-radius: 12px;
  color: var(--emerald);
  margin-bottom: 22px;
}
.feature__icon svg { width: 22px; height: 22px; }
.feature h3 {
  font-size: var(--t-h3);
  font-weight: 600;
  letter-spacing: -.015em;
  margin-bottom: 10px;
  color: var(--text);
}
.feature p { font-size: 15px; line-height: 1.6; margin-bottom: 18px; }
.feature ul { display: grid; gap: 8px; padding-top: 18px; border-top: 1px solid var(--border); }
.feature li {
  position: relative;
  padding-inline-start: 20px;
  font-size: 13.5px;
  color: var(--text-mute);
}
.feature li::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: .55em;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--emerald);
  box-shadow: 0 0 8px var(--emerald-glow);
  opacity: .8;
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ NUMBERS */

.numbers {
  position: relative;
  z-index: 1;
  padding: clamp(60px, 9vw, 120px) 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.numbers__grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: clamp(30px, 5vw, 60px);
  align-items: center;
}
.numbers__cell { text-align: center; }
.numbers__rule {
  width: 1px;
  height: 56px;
  background: var(--border);
}
.numbers__val {
  font-size: clamp(54px, 8vw, 96px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -.04em;
  color: var(--text);
  margin: 0 0 18px;
  background: var(--grad-number);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.numbers__lbl {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-dim);
  max-width: 26ch;
  margin: 0 auto;
  line-height: 1.5;
}
@media (max-width: 720px) {
  .numbers__grid { grid-template-columns: 1fr; gap: 40px; }
  .numbers__rule { display: none; }
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ HOW */

.how {
  position: relative;
  z-index: 1;
  padding: clamp(80px, 12vw, 160px) 0;
}
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
@media (max-width: 880px) {
  .steps { grid-template-columns: 1fr; }
}
.step {
  padding: 32px;
  background: var(--glass);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: transform .35s var(--ease), background .25s var(--ease), border-color .25s var(--ease);
}
.step:hover {
  background: var(--glass-hover);
  border-color: var(--border-hover);
  transform: translateY(-3px);
}
.step__num {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .14em;
  color: var(--emerald);
  margin-bottom: 20px;
}
.step h3 {
  font-size: var(--t-h3);
  font-weight: 600;
  letter-spacing: -.015em;
  margin-bottom: 10px;
  color: var(--text);
}
.step p { font-size: 14.5px; line-height: 1.6; color: var(--text-mute); }

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ PRICING */

.pricing {
  position: relative;
  z-index: 1;
  padding: clamp(80px, 12vw, 160px) 0;
  border-top: 1px solid var(--border);
}
.tiers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  align-items: stretch;
}
@media (max-width: 880px) {
  .tiers { grid-template-columns: 1fr; }
}
.tier {
  position: relative;
  padding: 32px;
  background: var(--glass);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  gap: 24px;
  transition: transform .35s var(--ease), background .25s var(--ease), border-color .25s var(--ease);
}
.tier:hover {
  background: var(--glass-hover);
  border-color: var(--border-hover);
  transform: translateY(-3px);
}
.tier h3 {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -.01em;
  color: var(--text);
  margin: 0 0 8px;
}
.tier__price {
  font-size: 44px;
  font-weight: 800;
  letter-spacing: -.03em;
  color: var(--text);
  line-height: 1;
  margin: 0;
}
.tier__price small {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-mute);
  margin-inline-start: 4px;
  letter-spacing: 0;
}
.tier ul { display: grid; gap: 12px; flex: 1; }
.tier li {
  position: relative;
  padding-inline-start: 22px;
  font-size: 14px;
  color: var(--text);
}
.tier li::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: .55em;
  width: 10px; height: 10px;
  background: var(--emerald);
  border-radius: 50%;
  box-shadow: 0 0 6px var(--emerald-glow);
}
.tier li.off { color: var(--text-dim); }
.tier li.off::before {
  background: transparent;
  border: 1px solid var(--text-dim);
  box-shadow: none;
}

.tier--pro {
  background: linear-gradient(180deg, rgba(16, 185, 129, .08), var(--glass));
  border-color: var(--emerald-line);
  box-shadow: 0 30px 80px -30px rgba(16, 185, 129, .35);
}
.tier--pro:hover {
  border-color: rgba(16, 185, 129, .45);
  box-shadow: 0 40px 100px -30px rgba(16, 185, 129, .5);
}
.tier__badge {
  display: inline-block;
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--emerald);
  margin: 0 0 12px;
  padding: 4px 10px;
  background: rgba(16, 185, 129, .1);
  border: 1px solid var(--emerald-line);
  border-radius: 999px;
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ FAQ */

.faq {
  position: relative;
  z-index: 1;
  padding: clamp(80px, 12vw, 160px) 0;
  border-top: 1px solid var(--border);
}
.faq__list {
  max-width: 760px;
  margin: 0 auto;
}
.faq details {
  border-bottom: 1px solid var(--border);
  padding: 22px 0;
}
.faq details:first-child { border-top: 1px solid var(--border); }
.faq summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  list-style: none;
  cursor: pointer;
  font-size: clamp(16px, 1.5vw, 18px);
  font-weight: 600;
  color: var(--text);
  letter-spacing: -.01em;
  transition: color .25s var(--ease);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  width: 12px; height: 12px;
  background:
    linear-gradient(currentColor, currentColor) center / 12px 1.25px no-repeat,
    linear-gradient(currentColor, currentColor) center / 1.25px 12px no-repeat;
  transition: transform .35s var(--ease), color .25s var(--ease);
  color: var(--text-mute);
}
.faq details[open] summary::after { transform: rotate(45deg); color: var(--emerald); }
.faq summary:hover { color: var(--emerald-soft); }
.faq details p {
  padding-top: 14px;
  font-size: 15px;
  line-height: 1.65;
  color: var(--text-mute);
  max-width: 64ch;
  animation: faqIn .35s var(--ease);
}
@keyframes faqIn {
  from { opacity: 0; transform: translateY(-4px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ FINAL CTA */

.cta {
  position: relative;
  z-index: 1;
  padding: clamp(80px, 12vw, 140px) 0;
}
.cta__card {
  text-align: center;
  padding: clamp(48px, 8vw, 80px) clamp(24px, 5vw, 60px);
  background: color-mix(in srgb, var(--bg-elev) 80%, transparent);
  border: 1px solid var(--border-hover);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  position: relative;
  overflow: hidden;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .05),
    0 40px 100px -30px rgba(0, 0, 0, .5);
}
.cta__card::before {
  content: "";
  position: absolute;
  inset: -60% -10% auto auto;
  width: 60%; height: 200%;
  background: radial-gradient(closest-side, var(--emerald-glow), transparent 70%);
  filter: blur(40px);
  pointer-events: none;
  opacity: .5;
}
.cta__card h2 {
  font-size: var(--t-h2);
  line-height: 1.05;
  letter-spacing: -.03em;
  margin: 0 0 16px;
  position: relative;
}
.cta__card > p {
  font-size: clamp(15px, 1.3vw, 17px);
  color: var(--text-mute);
  margin-bottom: 36px;
  position: relative;
}
.cta__buttons {
  display: inline-flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  position: relative;
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ FOOTER */

.footer {
  position: relative;
  z-index: 1;
  padding: 60px 0 30px;
  border-top: 1px solid var(--border);
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.2fr 2fr;
  gap: 60px;
  margin-bottom: 40px;
}
@media (max-width: 720px) {
  .footer__grid { grid-template-columns: 1fr; gap: 30px; }
}
.footer__brand p { margin-top: 12px; font-size: 13px; color: var(--text-dim); }
.footer__cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
@media (max-width: 540px) { .footer__cols { grid-template-columns: 1fr 1fr; gap: 24px; } }
.footer__cols h4 {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--text-dim);
  font-weight: 500;
  margin: 0 0 14px;
}
.footer__cols a {
  display: block;
  font-size: 14px;
  color: var(--text-mute);
  padding: 4px 0;
  transition: color .2s var(--ease);
}
.footer__cols a:hover { color: var(--text); }
.footer__legal {
  padding-top: 24px;
  border-top: 1px solid var(--border);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--text-dim);
  text-align: center;
  margin: 0;
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ REVEAL */

[data-reveal] {
  opacity: 0;
  translate: 0 24px;
  transition: opacity .9s var(--ease) var(--d, 0ms), translate .9s var(--ease) var(--d, 0ms);
}
[data-reveal].is-in {
  opacity: 1;
  translate: 0 0;
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ MOBILE FINE-TUNING */

@media (max-width: 540px) {
  /* hero CTAs stack full-width — cleaner thumb-zone */
  .hero__cta { display: flex; flex-direction: column; gap: 10px; width: 100%; max-width: 320px; margin-inline: auto; }
  .hero__cta .btn { width: 100%; }

  /* hero meta — tighter wrap */
  .hero__meta { font-size: 10px; gap: 6px 8px; }

  /* CTA card buttons stack */
  .cta__buttons { flex-direction: column; align-items: stretch; width: 100%; max-width: 320px; margin-inline: auto; }
  .cta__buttons .btn { width: 100%; }

  /* features/steps/tiers — tighter padding */
  .feature, .step, .tier { padding: 24px; }

  /* sec-head sub — tighter */
  .sec-head__sub { font-size: 14.5px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  [data-reveal] { opacity: 1; translate: 0 0; }
  .mock__chart__line { stroke-dashoffset: 0; }
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ COMPONENT POLISH */

/* — focus-visible on all interactive elements (keyboard-only) — */
.nav__links a:focus-visible,
.link:focus-visible,
.footer__cols a:focus-visible,
.logos__name:focus-visible {
  outline: 2px solid var(--emerald);
  outline-offset: 4px;
  border-radius: 4px;
}
.faq summary:focus-visible {
  outline: 2px solid var(--emerald);
  outline-offset: 6px;
  border-radius: 6px;
}
.nav__burger:focus-visible {
  outline: 2px solid var(--emerald);
  outline-offset: 2px;
}

/* — press feedback on glass cards (subtle) — */
.feature:active, .step:active, .tier:active {
  transform: translateY(-1px) scale(.998);
  transition-duration: 100ms;
}

/* — glass card hover: inner ring glow (very subtle) — */
.feature, .step, .tier {
  position: relative;
}
.feature::before, .step::before, .tier::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0);
  transition: box-shadow .35s var(--ease);
}
.feature:hover::before, .step:hover::before, .tier:hover::before {
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08);
}

/* — feature icon: gentle scale on card hover — */
.feature__icon { transition: transform .35s var(--ease), border-color .25s var(--ease), color .25s var(--ease); }
.feature:hover .feature__icon {
  transform: scale(1.04);
  border-color: var(--emerald-line);
  color: var(--emerald-soft);
}

/* — tier--pro: ambient glow pulse (very subtle) — */
.tier--pro {
  animation: tierGlow 5s var(--ease) infinite;
}
@keyframes tierGlow {
  0%, 100% { box-shadow: 0 30px 80px -30px rgba(16, 185, 129, .30); }
  50%      { box-shadow: 0 36px 96px -28px rgba(16, 185, 129, .42); }
}

/* — primary button: shimmer on hover (steel highlight sweep) — */
.btn--primary { overflow: hidden; }
.btn--primary::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 35%, rgba(255, 255, 255, .55) 50%, transparent 65%);
  translate: -120% 0;
  transition: translate .8s var(--ease);
  pointer-events: none;
  z-index: -1;
  mix-blend-mode: overlay;
}
.btn--primary:hover::after { translate: 120% 0; }

/* — ghost button: faint emerald glow on hover (almost invisible) — */
.btn--ghost {
  box-shadow: 0 0 0 0 transparent;
  transition: all .2s var(--ease), box-shadow .35s var(--ease);
}
.btn--ghost:hover {
  box-shadow: 0 8px 24px -12px rgba(16, 185, 129, .25);
}

/* — mock product: live-feel — LIVE badge pulses, chart line breathes — */
.mock__badge {
  animation: livePulse 2.2s var(--ease) infinite;
}
@keyframes livePulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); background: rgba(16, 185, 129, .12); }
  50%      { box-shadow: 0 0 0 4px rgba(16, 185, 129, 0); background: rgba(16, 185, 129, .18); }
}

/* — nav burger: refined click ripple (no third bar — minimalist with 2) — */

/* — link underline (nav links): hairline sweep — */
.nav__links a {
  position: relative;
  padding-block: 4px;
}
.nav__links a::after {
  content: "";
  position: absolute;
  bottom: 0;
  inset-inline-end: 0;
  width: 0;
  height: 1px;
  background: var(--text);
  transition: width .3s var(--ease);
}
.nav__links a:hover::after { width: 100%; }

/* — faq summary: subtle inset accent line when open — */
.faq details {
  transition: padding .25s var(--ease);
}
.faq details[open] {
  padding-block: 26px;
}

/* — selection on dark — */
::selection { background: var(--emerald); color: var(--bg); }

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ SCROLLBAR (refined dark) */

html { scrollbar-width: thin; scrollbar-color: var(--border-hover) transparent; }
html::-webkit-scrollbar { width: 10px; }
html::-webkit-scrollbar-thumb {
  background: var(--border);
  border-radius: 999px;
  border: 2px solid var(--bg);
}
html::-webkit-scrollbar-thumb:hover { background: var(--border-strong); }
