/* ============================================
   MCLOUDA — Design System
   ============================================ */

:root {
  /* Type */
  --font-sans: "Geist", "Geist Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;

  /* Brand accents — purple */
  --indigo-50:  oklch(0.97 0.02 305);
  --indigo-100: oklch(0.93 0.05 305);
  --indigo-300: oklch(0.78 0.15 305);
  --indigo-500: oklch(0.58 0.22 305);
  --indigo-600: oklch(0.50 0.24 305);
  --indigo-700: oklch(0.42 0.22 305);
  --indigo-900: oklch(0.25 0.14 305);

  --cyan-300:   oklch(0.86 0.10 330);
  --cyan-500:   oklch(0.72 0.18 330);

  --green-500:  oklch(0.72 0.16 155);
  --amber-500:  oklch(0.78 0.14 75);
  --rose-500:   oklch(0.68 0.18 25);

  /* Light theme tokens */
  --bg:         oklch(0.99 0.003 270);
  --bg-elev:    oklch(0.97 0.005 270);
  --bg-card:    #ffffff;
  --bg-mute:    oklch(0.95 0.008 270);
  --border:    oklch(0.90 0.008 270);
  --border-strong: oklch(0.82 0.012 270);
  --text:       oklch(0.18 0.015 270);
  --text-muted: oklch(0.45 0.012 270);
  --text-faint: oklch(0.62 0.010 270);
  --accent:     oklch(0.50 0.24 305);
  --accent-fg:  #ffffff;
  --accent-soft: oklch(0.95 0.04 305);

  /* Shadows */
  --shadow-xs: 0 1px 2px rgba(15, 23, 42, 0.04);
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.04), 0 2px 4px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 4px 8px -2px rgba(15, 23, 42, 0.06), 0 10px 20px -8px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 10px 30px -10px rgba(15, 23, 42, 0.18), 0 30px 60px -20px rgba(15, 23, 42, 0.15);
  --shadow-glow: 0 0 0 1px oklch(0.50 0.24 305 / 0.18), 0 20px 60px -20px oklch(0.50 0.24 305 / 0.45);

  /* Radii */
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 18px;
  --r-xl: 24px;
  --r-2xl: 32px;

  /* Layout */
  --container: 1200px;
  --pad: clamp(20px, 4vw, 40px);

  /* Spacing scale */
  --space-1:  4px;
  --space-2:  8px;
  --space-3:  12px;
  --space-4:  16px;
  --space-5:  20px;
  --space-6:  24px;
  --space-8:  32px;
  --space-10: 40px;
  --space-12: 48px;
  --space-16: 64px;
  --space-20: 80px;

  /* Semantic aliases (used by legal & article pages) */
  --text-2:    var(--text-muted);
  --text-3:    var(--text-faint);
  --surface-2: var(--bg-elev);
  --radius:    var(--r-md);

  color-scheme: light;
}

[data-theme="dark"] {
  --bg:         oklch(0.13 0.012 270);
  --bg-elev:    oklch(0.16 0.014 270);
  --bg-card:    oklch(0.18 0.016 270);
  --bg-mute:    oklch(0.20 0.018 270);
  --border:    oklch(0.26 0.020 270);
  --border-strong: oklch(0.34 0.025 270);
  --text:       oklch(0.97 0.005 270);
  --text-muted: oklch(0.72 0.012 270);
  --text-faint: oklch(0.55 0.010 270);
  --accent:     oklch(0.74 0.18 305);
  --accent-fg:  oklch(0.15 0.04 305);
  --accent-soft: oklch(0.28 0.12 305);

  --shadow-xs: 0 1px 2px rgba(0,0,0,0.4);
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.4), 0 2px 4px rgba(0,0,0,0.3);
  --shadow-md: 0 4px 12px -4px rgba(0,0,0,0.5), 0 12px 28px -10px rgba(0,0,0,0.55);
  --shadow-lg: 0 20px 50px -10px rgba(0,0,0,0.6), 0 30px 80px -20px rgba(0,0,0,0.55);
  --shadow-glow: 0 0 0 1px oklch(0.74 0.18 305 / 0.30), 0 20px 80px -20px oklch(0.74 0.18 305 / 0.55);

  color-scheme: dark;
}

/* ============================================
   Reset & base
   ============================================ */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--text);
  font-size: 16px;
  line-height: 1.55;
  font-feature-settings: "ss01", "cv11";
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  transition: background-color .3s ease, color .3s ease;
}
img, svg { display: block; max-width: 100%; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { letter-spacing: -0.02em; line-height: 1.08; font-weight: 600; text-wrap: balance; }
p { text-wrap: pretty; }

/* ============================================
   Layout primitives
   ============================================ */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--pad);
}
.section {
  padding: clamp(72px, 10vw, 140px) 0;
  position: relative;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--bg-card);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  text-transform: uppercase;
}
.eyebrow .dot {
  width: 6px; height: 6px; border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 0 3px oklch(from var(--accent) l c h / 0.18);
}
.section-title {
  font-size: clamp(32px, 4.2vw, 52px);
  font-weight: 600;
  letter-spacing: -0.025em;
}
.section-lede {
  font-size: clamp(16px, 1.4vw, 19px);
  color: var(--text-muted);
  max-width: 640px;
  margin-top: 16px;
}
.section-head {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 64px;
  align-items: flex-start;
}

/* ============================================
   Buttons
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 44px;
  padding: 0 18px;
  border-radius: 10px;
  font-weight: 500;
  font-size: 15px;
  letter-spacing: -0.005em;
  transition: transform .15s ease, background .2s ease, box-shadow .2s ease, border-color .2s ease, color .2s ease;
  white-space: nowrap;
  user-select: none;
  border: 1px solid transparent;
}
.btn:active { transform: scale(0.98); }

.btn-primary {
  background: var(--text);
  color: var(--bg);
  box-shadow: 0 1px 0 rgba(255,255,255,0.18) inset, var(--shadow-sm);
}
.btn-primary:hover {
  background: var(--accent);
  color: var(--accent-fg);
  box-shadow: var(--shadow-glow);
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--border-strong);
}
.btn-ghost:hover {
  background: var(--bg-card);
  border-color: var(--text);
}

.btn-link {
  height: auto;
  padding: 0;
  color: var(--text-muted);
  font-size: 14px;
}
.btn-link:hover { color: var(--text); }

.btn-sm { height: 36px; padding: 0 14px; font-size: 14px; border-radius: 8px; }

/* ============================================
   Nav
   ============================================ */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  background: oklch(from var(--bg) l c h / 0.72);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, background .2s ease;
}
.nav.is-scrolled { border-bottom-color: var(--border); }
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 120px;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  letter-spacing: -0.02em;
  font-size: 18px;
}
.logo-img {
  height: 88px;
  width: auto;
  display: block;
}
.logo-img-footer { height: 96px; }
[data-theme="light"] .logo-img,
:root:not([data-theme="dark"]) .logo-img {
  /* logo has light text — invert in light mode so text reads */
  filter: invert(1) hue-rotate(180deg);
}
.logo-mark {
  width: 28px; height: 28px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--accent), var(--cyan-500));
  position: relative;
  box-shadow: 0 6px 18px -6px oklch(from var(--accent) l c h / 0.6);
}
.logo-mark::after {
  content: "";
  position: absolute;
  inset: 4px 4px auto auto;
  width: 8px; height: 8px;
  border-radius: 2px;
  background: rgba(255,255,255,0.92);
}
.nav-links {
  display: flex;
  gap: 28px;
  font-size: 14px;
  color: var(--text-muted);
}
.nav-links a { transition: color .15s ease; }
.nav-links a:hover { color: var(--text); }
.nav-actions { display: flex; align-items: center; gap: 8px; }

.theme-toggle {
  width: 36px; height: 36px;
  display: inline-grid;
  place-items: center;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--bg-card);
  color: var(--text-muted);
  transition: color .15s ease, border-color .15s ease;
}
.theme-toggle:hover { color: var(--text); border-color: var(--border-strong); }
.theme-toggle .ico-moon { display: none; }
[data-theme="dark"] .theme-toggle .ico-sun { display: none; }
[data-theme="dark"] .theme-toggle .ico-moon { display: block; }

@media (max-width: 760px) {
  .nav-links { display: none; }
}

/* ============================================
   HERO
   ============================================ */
.hero {
  position: relative;
  padding: clamp(72px, 9vw, 120px) 0 clamp(40px, 6vw, 80px);
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: -10% -10% auto -10%;
  height: 820px;
  z-index: 0;
  pointer-events: none;
}
.hero-bg::before, .hero-bg::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.5;
  animation: hero-float 14s ease-in-out infinite alternate;
}
.hero-bg::before {
  width: 620px; height: 620px;
  left: 4%; top: -4%;
  background: radial-gradient(circle, var(--accent), transparent 60%);
}
.hero-bg::after {
  width: 520px; height: 520px;
  right: 2%; top: 10%;
  background: radial-gradient(circle, var(--cyan-500), transparent 60%);
  opacity: 0.4;
  animation-delay: -7s;
}
@keyframes hero-float {
  0%   { transform: translate3d(0, 0, 0) scale(1); }
  50%  { transform: translate3d(40px, -30px, 0) scale(1.08); }
  100% { transform: translate3d(-30px, 20px, 0) scale(0.96); }
}
[data-theme="dark"] .hero-bg::before { opacity: 0.40; }
[data-theme="dark"] .hero-bg::after { opacity: 0.28; }

/* Aurora ribbon */
.hero-aurora {
  position: absolute;
  left: 50%;
  top: 35%;
  width: 140%;
  height: 360px;
  transform: translateX(-50%) rotate(-6deg);
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 40% 100% at 20% 50%, oklch(0.78 0.18 305 / 0.35), transparent 70%),
    radial-gradient(ellipse 35% 100% at 50% 50%, oklch(0.82 0.16 330 / 0.30), transparent 70%),
    radial-gradient(ellipse 40% 100% at 80% 50%, oklch(0.80 0.14 260 / 0.25), transparent 70%);
  filter: blur(40px);
  opacity: 0.7;
}
[data-theme="dark"] .hero-aurora { opacity: 0.55; }

/* Dot pattern (soft, no harsh grid) */
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle, var(--border-strong) 1px, transparent 1.4px);
  background-size: 28px 28px;
  background-position: 0 0;
  mask-image:
    radial-gradient(ellipse 70% 70% at 50% 30%, #000 25%, transparent 70%);
  -webkit-mask-image:
    radial-gradient(ellipse 70% 70% at 50% 30%, #000 25%, transparent 70%);
  opacity: 0.35;
  pointer-events: none;
  z-index: 0;
}
[data-theme="dark"] .hero-grid { opacity: 0.4; }
.hero .container { position: relative; z-index: 1; }
.hero-head {
  max-width: 880px;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
}
.hero-title {
  font-size: clamp(40px, 6.4vw, 84px);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.02;
}
.hero-title .gradient {
  background: linear-gradient(120deg, var(--accent) 30%, var(--cyan-500));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-sub {
  font-size: clamp(17px, 1.5vw, 20px);
  color: var(--text-muted);
  max-width: 620px;
}
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.hero-trust {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--text-faint);
  font-family: var(--font-mono);
}
.hero-trust .trust-flag { font-size: 18px; line-height: 1; }
.hero-trust .avatars { display: inline-flex; }
.hero-trust .avatars span {
  width: 22px; height: 22px;
  border-radius: 999px;
  border: 2px solid var(--bg);
  background: var(--bg-mute);
  margin-left: -6px;
  display: inline-block;
}
.hero-trust .avatars span:first-child { margin-left: 0; background: linear-gradient(135deg, #fcd34d, #f59e0b); }
.hero-trust .avatars span:nth-child(2) { background: linear-gradient(135deg, #a5f3fc, #06b6d4); }
.hero-trust .avatars span:nth-child(3) { background: linear-gradient(135deg, #c4b5fd, #7c3aed); }
.hero-trust .avatars span:nth-child(4) { background: linear-gradient(135deg, #fda4af, #f43f5e); }

/* Hero Stats */
.hero-stats {
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.hero-stat {
  background: var(--bg-card);
  padding: 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.hero-stat .v {
  font-size: clamp(22px, 2.4vw, 30px);
  font-weight: 600;
  letter-spacing: -0.02em;
  font-feature-settings: "tnum";
}
.hero-stat .v .pct { color: var(--accent); }
.hero-stat .l {
  font-size: 13px;
  color: var(--text-muted);
}
@media (max-width: 760px) {
  .hero-stats { grid-template-columns: 1fr 1fr; }
}

/* ============================================
   Dashboard mockup
   ============================================ */
.mockup-wrap {
  margin-top: 64px;
  position: relative;
  perspective: 2000px;
}
.mockup {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  transform: rotateX(2deg);
  transform-origin: center top;
}
.mockup::after {
  content: "";
  position: absolute;
  left: 10%; right: 10%; bottom: -32px;
  height: 80px;
  background: radial-gradient(ellipse at center, oklch(from var(--accent) l c h / 0.4), transparent 70%);
  filter: blur(20px);
  z-index: -1;
}
.mockup-chrome {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 14px;
  border-bottom: 1px solid var(--border);
  background: var(--bg-mute);
}
.mockup-chrome .dots { display: flex; gap: 6px; }
.mockup-chrome .dots i { width: 10px; height: 10px; border-radius: 999px; background: var(--border-strong); }
.mockup-chrome .url {
  flex: 1;
  height: 26px;
  background: var(--bg-card);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-family: var(--font-mono);
  color: var(--text-faint);
  border: 1px solid var(--border);
  max-width: 320px;
  margin: 0 auto;
}

.mockup-body {
  display: grid;
  grid-template-columns: 220px 1fr;
  min-height: 540px;
}

/* Sidebar */
.mock-sidebar {
  border-right: 1px solid var(--border);
  background: var(--bg-elev);
  padding: 18px 12px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.mock-sidebar .ws {
  display: flex; align-items: center; gap: 10px;
  padding: 8px 8px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 12px;
}
.mock-sidebar .ws-mark {
  width: 24px; height: 24px;
  border-radius: 6px;
  background: linear-gradient(135deg, var(--accent), var(--cyan-500));
}
.mock-sidebar .ws-meta { display: flex; flex-direction: column; line-height: 1.2; }
.mock-sidebar .ws-meta small { color: var(--text-faint); font-size: 11px; font-weight: 400; }
.mock-sidebar .section-label {
  font-size: 11px;
  color: var(--text-faint);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 12px 10px 6px;
  font-family: var(--font-mono);
}
.mock-nav {
  display: flex; align-items: center; gap: 10px;
  padding: 7px 10px;
  border-radius: 7px;
  font-size: 13px;
  color: var(--text-muted);
}
.mock-nav.active {
  background: var(--bg-card);
  color: var(--text);
  box-shadow: var(--shadow-xs);
}
.mock-nav .ico { width: 14px; height: 14px; opacity: .8; }
.mock-nav .badge {
  margin-left: auto;
  font-size: 10px;
  background: var(--accent);
  color: var(--accent-fg);
  padding: 1px 6px;
  border-radius: 999px;
  font-weight: 500;
}

/* Main panel */
.mock-main { padding: 22px; display: flex; flex-direction: column; gap: 18px; }
.mock-topbar { display: flex; align-items: center; justify-content: space-between; }
.mock-h {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.mock-h small { display: block; font-weight: 400; font-size: 12px; color: var(--text-faint); margin-top: 2px; }
.mock-pill-row { display: flex; gap: 6px; }
.mock-pill {
  font-size: 11px;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid var(--border);
  color: var(--text-muted);
  background: var(--bg-card);
  font-family: var(--font-mono);
}
.mock-pill.active { background: var(--text); color: var(--bg); border-color: var(--text); }

.mock-kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.mock-kpi {
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  background: var(--bg-card);
  position: relative;
  overflow: hidden;
}
.mock-kpi .l { font-size: 11px; color: var(--text-faint); text-transform: uppercase; letter-spacing: 0.05em; font-family: var(--font-mono);}
.mock-kpi .v { font-size: 22px; font-weight: 600; margin-top: 6px; font-feature-settings: "tnum";letter-spacing: -0.02em; }
.mock-kpi .d { font-size: 11px; color: var(--green-500); margin-top: 2px; font-family: var(--font-mono); }
.mock-kpi .d.neg { color: var(--rose-500); }
.mock-kpi .spark {
  position: absolute;
  inset: auto 10px 10px auto;
  width: 60px; height: 28px;
  opacity: .9;
}

.mock-row { display: grid; grid-template-columns: 1.4fr 1fr; gap: 14px; }
.mock-card {
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  background: var(--bg-card);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 200px;
}
.mock-card-h { display: flex; align-items: center; justify-content: space-between; }
.mock-card-h h4 { font-size: 13px; font-weight: 600; }
.mock-card-h .mock-pill { font-size: 10px; }

/* Bar chart */
.chart {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  height: 140px;
  padding: 8px 0 0;
  position: relative;
}
.chart::before {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  border-bottom: 1px dashed var(--border);
}
.chart .bar {
  flex: 1;
  background: linear-gradient(180deg, var(--accent), oklch(from var(--accent) l c h / 0.3));
  border-radius: 4px 4px 2px 2px;
  position: relative;
  min-height: 6px;
  animation: bar-rise 1.2s cubic-bezier(.2,.7,.2,1) both;
}
.chart .bar.muted {
  background: linear-gradient(180deg, var(--border-strong), var(--border));
}
@keyframes bar-rise {
  from { transform: scaleY(0.05); transform-origin: bottom; }
  to { transform: scaleY(1); transform-origin: bottom; }
}

/* Activity feed */
.feed { display: flex; flex-direction: column; gap: 10px; font-size: 12px; }
.feed-item {
  display: flex; gap: 10px;
  padding: 8px 0;
  border-bottom: 1px dashed var(--border);
}
.feed-item:last-child { border-bottom: 0; }
.feed-ico {
  width: 26px; height: 26px;
  border-radius: 7px;
  background: var(--bg-mute);
  display: inline-grid; place-items: center;
  flex-shrink: 0;
}
.feed-meta { flex: 1; line-height: 1.4; }
.feed-meta .who { font-weight: 500; color: var(--text); }
.feed-meta .when { color: var(--text-faint); font-size: 11px; font-family: var(--font-mono); }
.feed-status {
  font-size: 10px;
  padding: 2px 8px;
  border-radius: 999px;
  background: oklch(from var(--green-500) l c h / 0.15);
  color: var(--green-500);
  align-self: flex-start;
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.feed-status.warn { background: oklch(from var(--amber-500) l c h / 0.15); color: var(--amber-500); }

@media (max-width: 900px) {
  .mockup-body { grid-template-columns: 1fr; min-height: 0; }
  .mock-sidebar { display: none; }
  .mock-kpis { grid-template-columns: 1fr 1fr; }
  .mock-row { grid-template-columns: 1fr; }
}

/* ============================================
   Logo strip
   ============================================ */
.logo-strip {
  padding: 48px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin-top: 80px;
}
.logo-strip-label {
  text-align: center;
  font-size: 12px;
  color: var(--text-faint);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-family: var(--font-mono);
  margin-bottom: 24px;
}
.logo-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
  opacity: 0.8;
}
.logo-row .l-item {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

/* ============================================
   Benefits
   ============================================ */
.benefit-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.benefit {
  border: 1px solid var(--border);
  background: var(--bg-card);
  border-radius: var(--r-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
  overflow: hidden;
  transition: border-color .25s ease, transform .25s ease, box-shadow .25s ease;
}
.benefit:hover {
  border-color: var(--border-strong);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.benefit-ico {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: var(--accent-soft);
  color: var(--accent);
  display: inline-grid; place-items: center;
  border: 1px solid oklch(from var(--accent) l c h / 0.15);
}
.benefit h3 {
  font-size: 18px;
  letter-spacing: -0.015em;
}
.benefit p {
  color: var(--text-muted);
  font-size: 15px;
}
.benefit .pain {
  margin-top: auto;
  font-size: 12px;
  font-family: var(--font-mono);
  color: var(--text-faint);
  display: flex;
  align-items: center;
  gap: 6px;
}
.benefit .pain s { color: var(--rose-500); opacity: .7; }
@media (max-width: 900px) { .benefit-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .benefit-grid { grid-template-columns: 1fr; } }

/* ============================================
   Experience (ecosystem)
   ============================================ */
.experience {
  background: var(--bg-elev);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.exp-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: 200px;
  gap: 16px;
}
.exp-card {
  border: 1px solid var(--border);
  background: var(--bg-card);
  border-radius: var(--r-lg);
  padding: 22px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.exp-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); border-color: var(--border-strong);}
.exp-card h3 { font-size: 17px; letter-spacing: -0.015em; }
.exp-card p { color: var(--text-muted); font-size: 14px; margin-top: 4px; }
.exp-card .exp-tag {
  font-size: 11px;
  color: var(--text-faint);
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.exp-a { grid-column: span 3; grid-row: span 2; }
.exp-b { grid-column: span 3; }
.exp-c { grid-column: span 3; }
.exp-d { grid-column: span 2; }
.exp-e { grid-column: span 2; }
.exp-f { grid-column: span 2; }

@media (max-width: 900px) {
  .exp-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: auto; }
  .exp-a, .exp-b, .exp-c, .exp-d, .exp-e, .exp-f { grid-column: span 1; grid-row: auto; }
  .exp-a { grid-column: span 2; }
}
@media (max-width: 600px) {
  .exp-grid { grid-template-columns: 1fr; }
  .exp-a { grid-column: span 1; }
}

/* Mini visuals inside exp cards */
.exp-visual { flex: 1; display: flex; align-items: center; justify-content: center; margin: 12px 0; }
.chat-bubble {
  background: var(--bg-mute);
  border: 1px solid var(--border);
  border-radius: 12px 12px 12px 4px;
  padding: 8px 12px;
  font-size: 12px;
  max-width: 80%;
  align-self: flex-start;
  margin-bottom: 6px;
}
.chat-bubble.you {
  background: var(--accent);
  color: var(--accent-fg);
  border-color: transparent;
  align-self: flex-end;
  border-radius: 12px 12px 4px 12px;
}
.chat-stack { display: flex; flex-direction: column; gap: 4px; width: 100%; }

.qr-box {
  width: 84px; height: 84px;
  border-radius: 10px;
  background:
    radial-gradient(circle at 20% 20%, var(--text) 0 6px, transparent 7px),
    radial-gradient(circle at 80% 20%, var(--text) 0 6px, transparent 7px),
    radial-gradient(circle at 20% 80%, var(--text) 0 6px, transparent 7px),
    repeating-linear-gradient(45deg, var(--text) 0 2px, transparent 2px 6px),
    var(--bg-mute);
  border: 1px solid var(--border);
}

.pay-stack { display: flex; flex-direction: column; gap: 6px; width: 100%; }
.pay-line { display: flex; align-items: center; justify-content: space-between; padding: 8px 10px; border-radius: 8px; background: var(--bg-mute); font-size: 12px; }
.pay-line .ok { color: var(--green-500); font-family: var(--font-mono); font-size: 11px; }

.calendar { display: grid; grid-template-columns: repeat(7, 1fr); gap: 3px; width: 100%; }
.calendar .c {
  aspect-ratio: 1; border-radius: 4px;
  background: var(--bg-mute);
  font-size: 9px;
  display: grid; place-items: center;
  color: var(--text-faint);
  font-family: var(--font-mono);
}
.calendar .c.on { background: var(--accent); color: var(--accent-fg); }
.calendar .c.now { outline: 2px solid var(--accent); }

/* ============================================
   Modules
   ============================================ */
.modules-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
@media (max-width: 900px) { .modules-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .modules-grid { grid-template-columns: 1fr; } }
.module {
  border: 1px solid var(--border);
  background: var(--bg-card);
  border-radius: var(--r-lg);
  padding: 22px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
  isolation: isolate;
}
.module::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 0%), oklch(from var(--accent) l c h / 0.10), transparent 50%);
  opacity: 0;
  transition: opacity .3s ease;
  pointer-events: none;
  z-index: -1;
}
.module:hover { border-color: var(--border-strong); transform: translateY(-2px); }
.module:hover::before { opacity: 1; }
.module-cat {
  font-size: 11px;
  font-family: var(--font-mono);
  color: var(--text-faint);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 4px;
}
.module-ico {
  width: 36px; height: 36px;
  border-radius: 9px;
  background: var(--bg-mute);
  display: inline-grid; place-items: center;
  border: 1px solid var(--border);
  color: var(--text);
}
.module h4 { font-size: 16px; letter-spacing: -0.01em; }
.module p { font-size: 13.5px; color: var(--text-muted); }

/* Module categories */
.mod-cat-row {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}
.mod-cat-pill {
  font-size: 12px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--bg-card);
  color: var(--text-muted);
  font-family: var(--font-mono);
  transition: all .2s ease;
}
.mod-cat-pill.active {
  background: var(--text);
  color: var(--bg);
  border-color: var(--text);
}
.mod-cat-pill:hover:not(.active) { color: var(--text); border-color: var(--border-strong); }

/* ============================================
   Pricing
   ============================================ */
.pricing-toggle-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin-bottom: 56px;
}
.pricing-toggle {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--bg-card);
  position: relative;
}
.pricing-toggle button {
  padding: 8px 18px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  transition: color .2s ease;
  position: relative;
  z-index: 1;
}
.pricing-toggle button.active { color: var(--text); }
.pricing-toggle .pill {
  position: absolute;
  top: 4px; left: 4px;
  height: calc(100% - 8px);
  background: var(--bg-mute);
  border-radius: 999px;
  transition: transform .25s cubic-bezier(.4,.2,.2,1), width .25s cubic-bezier(.4,.2,.2,1);
  border: 1px solid var(--border);
  z-index: 0;
}
.pricing-toggle .save {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--green-500);
  padding: 1px 6px;
  border-radius: 4px;
  background: oklch(from var(--green-500) l c h / 0.15);
  margin-left: 4px;
}
.pricing-toggle-note {
  font-size: 12px;
  color: var(--text-faint);
  font-family: var(--font-mono);
  height: 18px;
  transition: opacity .2s;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(218px, 1fr));
  gap: 14px;
  align-items: stretch;
}
@media (max-width: 640px) { .pricing-grid { grid-template-columns: 1fr; } }

/* Trial highlight card */
.trial-card {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  align-items: center;
  margin: 0 auto 22px;
  padding: 30px 34px;
  border-radius: var(--r-lg);
  border: 1px solid var(--border);
  background:
    radial-gradient(130% 150% at 0% 0%, color-mix(in srgb, var(--accent) 13%, transparent), transparent 58%),
    var(--bg-card);
  overflow: hidden;
}
.trial-card-main h3 {
  font-size: clamp(20px, 2.4vw, 26px);
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 12px 0 8px;
}
.trial-card-main p {
  color: var(--text-muted);
  max-width: 62ch;
  line-height: 1.55;
  font-size: 14.5px;
}
.trial-points {
  display: flex;
  gap: 8px 20px;
  flex-wrap: wrap;
  list-style: none;
  margin: 16px 0 0;
  padding: 0;
}
.trial-points li {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  color: var(--text-muted);
}
.trial-points .ico { color: var(--accent); flex-shrink: 0; }
.trial-card-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
  padding-left: 32px;
  border-left: 1px solid var(--border);
}
.trial-big {
  font-size: 54px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.03em;
  background: linear-gradient(135deg, var(--accent), color-mix(in srgb, var(--accent) 55%, #a855f7));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.trial-big span {
  display: block;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-faint);
  -webkit-text-fill-color: var(--text-faint);
  margin-top: 6px;
}
.trial-fineprint { font-size: 12px; color: var(--text-faint); }
@media (max-width: 720px) {
  .trial-card { grid-template-columns: 1fr; gap: 22px; padding: 26px 22px; text-align: center; }
  .trial-card-main .eyebrow { margin: 0 auto; }
  .trial-points { justify-content: center; }
  .trial-card-cta { padding-left: 0; border-left: 0; border-top: 1px solid var(--border); padding-top: 22px; }
}


.plan {
  border: 1px solid var(--border);
  background: var(--bg-card);
  border-radius: var(--r-lg);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.plan:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.plan-head { display: flex; flex-direction: column; gap: 6px; }
.plan-name { font-size: 13px; font-weight: 600; color: var(--accent); text-transform: uppercase; letter-spacing: 0.06em; font-family: var(--font-mono); }
.plan-tag { font-size: 13px; color: var(--text-muted); }
.plan-price { display: flex; align-items: baseline; gap: 4px; margin-top: 8px; }
.plan-price .amount {
  font-size: 36px;
  font-weight: 600;
  letter-spacing: -0.025em;
  font-feature-settings: "tnum";
}
.plan-price .cur { font-size: 14px; color: var(--text-faint); font-family: var(--font-mono); }
.plan-price .per { font-size: 13px; color: var(--text-muted); margin-left: 2px; }
.plan-price-sub { font-size: 11px; color: var(--text-faint); font-family: var(--font-mono); min-height: 14px; }
.plan-units {
  font-size: 12px;
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 8px;
  background: var(--bg-mute);
  border: 1px solid var(--border);
  width: fit-content;
  font-family: var(--font-mono);
}
.plan-cta { width: 100%; justify-content: center; }
.plan-features-label {
  font-size: 11px;
  font-family: var(--font-mono);
  color: var(--text-faint);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-top: 4px;
}
.plan ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.plan ul li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13.5px;
  color: var(--text);
}
.plan ul li .check {
  width: 16px; height: 16px;
  flex-shrink: 0;
  border-radius: 4px;
  background: var(--accent-soft);
  color: var(--accent);
  display: inline-grid; place-items: center;
  margin-top: 2px;
}
.plan ul li.new .check { background: oklch(from var(--green-500) l c h / 0.15); color: var(--green-500); }
.plan ul li small { color: var(--text-faint); font-size: 11px; display: block; }

.plan-pop {
  background: linear-gradient(180deg, var(--bg-card), var(--bg-card)) padding-box,
              linear-gradient(180deg, var(--accent), var(--cyan-500)) border-box;
  border: 1px solid transparent;
  box-shadow: var(--shadow-glow);
  position: relative;
}
.plan-pop::before {
  content: "";
  position: absolute;
  inset: -40% -20%;
  background: radial-gradient(closest-side at 50% 0%, oklch(from var(--accent) l c h / 0.18), transparent 70%);
  z-index: -1;
  pointer-events: none;
}
.plan-pop .plan-name { color: var(--accent); }
.plan-pop .badge-pop {
  position: absolute;
  top: -10px;
  right: 16px;
  font-size: 11px;
  font-family: var(--font-mono);
  background: linear-gradient(135deg, var(--accent), var(--cyan-500));
  color: white;
  padding: 4px 10px;
  border-radius: 999px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: 500;
  box-shadow: var(--shadow-sm);
}

.plan-pop .btn-primary { background: var(--accent); color: var(--accent-fg); }
.plan-pop .btn-primary:hover { background: var(--text); color: var(--bg); }

/* Tooltip */
.tip { position: relative; display: inline-flex; align-items: center; gap: 4px; cursor: help; }
.tip-ico {
  width: 13px; height: 13px;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  color: var(--text-faint);
  font-size: 9px;
  display: inline-grid; place-items: center;
  font-family: var(--font-mono);
}
.tip:hover .tip-bubble { opacity: 1; transform: translate(-50%, -8px); pointer-events: auto; }
.tip-bubble {
  position: absolute;
  bottom: 100%; left: 50%;
  transform: translate(-50%, 0);
  background: var(--text);
  color: var(--bg);
  font-size: 11px;
  padding: 6px 10px;
  border-radius: 6px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease, transform .2s ease;
  font-family: var(--font-mono);
  z-index: 5;
}

/* ============================================
   Testimonials
   ============================================ */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
@media (max-width: 900px) { .testimonials-grid { grid-template-columns: 1fr; } }
.testimonial {
  border: 1px solid var(--border);
  background: var(--bg-card);
  border-radius: var(--r-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.testimonial .quote {
  font-size: 17px;
  letter-spacing: -0.01em;
  line-height: 1.5;
  text-wrap: pretty;
}
.testimonial .who {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px dashed var(--border);
}
.testimonial .av {
  width: 40px; height: 40px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), var(--cyan-500));
  display: inline-grid; place-items: center;
  color: white;
  font-weight: 600;
  font-size: 14px;
}
.testimonial .who-meta { display: flex; flex-direction: column; line-height: 1.2; }
.testimonial .who-name { font-size: 14px; font-weight: 500; }
.testimonial .who-role { font-size: 12px; color: var(--text-faint); }
.testimonial .stat {
  font-size: 12px;
  font-family: var(--font-mono);
  color: var(--accent);
  background: var(--accent-soft);
  padding: 4px 10px;
  border-radius: 999px;
  align-self: flex-start;
  border: 1px solid oklch(from var(--accent) l c h / 0.18);
}

/* ============================================
   Final CTA
   ============================================ */
.final-cta {
  position: relative;
  padding: clamp(72px, 9vw, 120px) 0;
  overflow: hidden;
}
.final-cta-card {
  position: relative;
  background: linear-gradient(135deg, oklch(0.22 0.07 305), oklch(0.15 0.03 305));
  border-radius: var(--r-2xl);
  padding: clamp(48px, 7vw, 88px);
  text-align: center;
  color: #fff;
  isolation: isolate;
  overflow: hidden;
  border: 1px solid oklch(0.32 0.10 305 / 0.4);
}
.final-cta-card::before {
  content: "";
  position: absolute;
  inset: -50%;
  background:
    radial-gradient(circle at 20% 20%, oklch(0.7 0.22 305 / 0.50), transparent 40%),
    radial-gradient(circle at 80% 80%, oklch(0.75 0.18 330 / 0.35), transparent 45%);
  z-index: -1;
}
.final-cta-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, #000 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, #000 30%, transparent 80%);
  z-index: -1;
  opacity: 0.5;
}
.final-cta-card h2 {
  font-size: clamp(34px, 5vw, 56px);
  font-weight: 600;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}
.final-cta-card p {
  font-size: 18px;
  color: oklch(0.85 0.01 270);
  max-width: 580px;
  margin: 0 auto 32px;
}
.final-cta-card .btn-primary {
  background: #fff; color: oklch(0.15 0.02 270);
}
.final-cta-card .btn-primary:hover { background: var(--cyan-300); color: oklch(0.15 0.05 305); box-shadow: 0 0 0 4px rgba(255,255,255,0.1); }
.final-cta-card .btn-ghost { color: #fff; border-color: rgba(255,255,255,0.25); }
.final-cta-card .btn-ghost:hover { background: rgba(255,255,255,0.1); border-color: #fff; }

.final-cta-foot {
  margin-top: 28px;
  font-size: 12px;
  color: oklch(0.7 0.01 270);
  font-family: var(--font-mono);
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}
.final-cta-foot span { display: inline-flex; align-items: center; gap: 6px; }

/* ============================================
   Footer
   ============================================ */
.footer {
  border-top: 1px solid var(--border);
  padding: 64px 0 32px;
  background: var(--bg);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(4, 1fr);
  gap: 40px;
  margin-bottom: 48px;
}
@media (max-width: 760px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: span 2; }
}
.footer-brand p { color: var(--text-muted); font-size: 14px; margin-top: 12px; max-width: 280px; }
.footer-col h5 { font-size: 12px; text-transform: uppercase; letter-spacing: 0.06em; font-family: var(--font-mono); color: var(--text-faint); margin-bottom: 16px; font-weight: 500; }
.footer-col ul { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-col a { font-size: 14px; color: var(--text-muted); transition: color .15s; }
.footer-col a:hover { color: var(--text); }
.footer-bar {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: var(--text-faint);
  font-family: var(--font-mono);
  flex-wrap: wrap;
  gap: 12px;
}

/* ============================================
   Reveal on scroll
   ============================================ */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ============================================
   Icon helper
   ============================================ */
.ico {
  width: 18px; height: 18px;
  stroke: currentColor;
  stroke-width: 1.6;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.ico-sm { width: 14px; height: 14px; }
.ico-lg { width: 22px; height: 22px; }

/* hidden util */
[hidden] { display: none !important; }

/* App badges */
.app-badges {
  display: inline-flex;
  gap: 10px;
  margin-top: 4px;
  flex-wrap: wrap;
  justify-content: center;
}
.app-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px 8px 14px;
  border-radius: 12px;
  border: 1px solid var(--border-strong);
  background: var(--text);
  color: var(--bg);
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
  text-decoration: none;
}
.app-badge:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  background: var(--accent);
  color: var(--accent-fg);
  border-color: transparent;
}
.app-badge-ico {
  width: 22px;
  height: 22px;
  fill: currentColor;
  flex-shrink: 0;
}
.app-badge span {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.01em;
  text-align: left;
}
.app-badge small {
  font-size: 9px;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  opacity: 0.75;
  font-family: var(--font-mono);
  margin-bottom: 1px;
}

/* CTA form */
.cta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: start;
  text-align: left;
}
.cta-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: relative;
  z-index: 1;
}
.cta-left h2 {
  font-size: clamp(30px, 4vw, 48px) !important;
  margin-bottom: 0 !important;
  text-align: left !important;
}
.cta-bullets {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.cta-bullets li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: oklch(0.88 0.01 270);
}
.cta-bullets li svg {
  color: var(--cyan-300);
  flex-shrink: 0;
}

.cta-form {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: var(--r-xl);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
  box-shadow: 0 30px 80px -20px rgba(0,0,0,0.4);
}
.cta-form-head h3 {
  color: #fff;
  font-size: 22px;
  letter-spacing: -0.02em;
  text-align: left;
}
.cta-form-head p {
  color: oklch(0.75 0.01 270);
  font-size: 13px;
  margin-top: 4px;
  text-align: left;
}
.cta-form-row.two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.field-label {
  font-size: 11px;
  font-family: var(--font-mono);
  color: oklch(0.78 0.01 270);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  text-align: left;
}
.field-label.optional span {
  color: oklch(0.55 0.01 270);
  text-transform: none;
  font-size: 10px;
  letter-spacing: 0;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  font: inherit;
  font-size: 14px;
  padding: 10px 12px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #fff;
  transition: border-color .2s ease, background .2s ease, box-shadow .2s ease;
  font-family: inherit;
}
.field textarea { resize: vertical; min-height: 56px; font-family: inherit; }
.field input::placeholder,
.field textarea::placeholder {
  color: oklch(0.55 0.01 270);
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--cyan-300);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 0 0 3px oklch(0.86 0.10 330 / 0.18);
}
.field input:invalid:not(:placeholder-shown),
.field select:invalid:not([data-empty="true"]) {
  border-color: oklch(0.68 0.18 25 / 0.6);
}
.field select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='none' stroke='%23a89dbb' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 32px;
  color: #fff;
}
.field select option {
  background: oklch(0.16 0.02 305);
  color: #fff;
}
.field-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 12px;
  color: oklch(0.78 0.01 270);
  line-height: 1.4;
  text-align: left;
  margin-top: 2px;
}
.field-check input[type="checkbox"] {
  width: 16px; height: 16px;
  flex-shrink: 0;
  accent-color: var(--accent);
  margin-top: 1px;
}
.field-check a { color: var(--cyan-300); text-decoration: underline; }

.cta-form-submit {
  margin-top: 8px;
  width: 100%;
  justify-content: center;
  height: 48px;
  background: #fff;
  color: oklch(0.15 0.04 305);
}
.cta-form-submit:hover {
  background: var(--cyan-300);
  color: oklch(0.15 0.05 305);
  box-shadow: 0 8px 24px -6px oklch(0.86 0.10 330 / 0.4);
}

.cta-form-foot {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 11px;
  color: oklch(0.65 0.01 270);
  font-family: var(--font-mono);
  margin-top: 4px;
}

/* Success */
.cta-form-success {
  position: absolute;
  inset: 0;
  background: rgba(18, 12, 30, 0.92);
  backdrop-filter: blur(8px);
  border-radius: var(--r-xl);
  padding: 36px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 12px;
}
.success-ico {
  width: 64px; height: 64px;
  border-radius: 999px;
  background: oklch(from var(--green-500) l c h / 0.18);
  color: var(--green-500);
  display: grid;
  place-items: center;
  margin-bottom: 8px;
}
.success-ico svg { width: 28px; height: 28px; }
.cta-form-success h4 { color: #fff; font-size: 20px; letter-spacing: -0.02em; }
.cta-form-success p { color: oklch(0.78 0.01 270); font-size: 14px; max-width: 320px; }

@media (max-width: 900px) {
  .cta-grid { grid-template-columns: 1fr; }
  .cta-left { text-align: center; align-items: center; }
  .cta-left h2, .cta-left p { text-align: center !important; }
  .cta-bullets li { justify-content: flex-start; }
}
@media (max-width: 480px) {
  .cta-form-row.two { grid-template-columns: 1fr; }
  .cta-form { padding: 22px; }
}

/* Selection */
::selection { background: oklch(from var(--accent) l c h / 0.25); color: var(--text); }

/* Cookie consent banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9000;
  background: var(--bg-elev);
  border-top: 1px solid var(--border);
  padding: 16px var(--pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  box-shadow: 0 -4px 24px rgba(0,0,0,0.08);
  transform: translateY(0);
  transition: transform .3s ease, opacity .3s ease;
}
.cookie-banner.is-hidden {
  transform: translateY(110%);
  opacity: 0;
  pointer-events: none;
}
.cookie-banner p {
  font-size: 14px;
  color: var(--text-muted);
  margin: 0;
  max-width: 680px;
  line-height: 1.6;
}
.cookie-banner p a { color: var(--accent); }
.cookie-banner-actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
  flex-wrap: wrap;
}
.cookie-accept {
  padding: 8px 20px;
  border-radius: var(--r-md);
  background: var(--accent);
  color: var(--accent-fg);
  font-size: 14px;
  font-weight: 500;
  border: none;
  cursor: pointer;
  white-space: nowrap;
}
.cookie-accept:hover { opacity: 0.88; }
.cookie-info {
  padding: 8px 16px;
  border-radius: var(--r-md);
  background: transparent;
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 500;
  border: 1px solid var(--border);
  cursor: pointer;
  white-space: nowrap;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}
.cookie-info:hover { border-color: var(--border-strong); color: var(--text); }
@media (max-width: 600px) {
  .cookie-banner { flex-direction: column; align-items: flex-start; }
  .cookie-banner-actions { width: 100%; }
  .cookie-accept, .cookie-info { flex: 1; text-align: center; justify-content: center; }
}
