/* ============================================================
   Ansareye — ansareye.com landing page
   2026 best-in-class design system
   ============================================================ */

/* ---------- Tokens ---------- */
:root {
  /* Brand */
  --brand-1: #0a1628;   /* deep navy — primary brand */
  --brand-2: #00b4d8;   /* cyan — insight */
  --brand-3: #7c3aed;   /* purple — AI */
  --brand-4: #ffb800;   /* warm gold — Lebanon sun */

  /* Light theme (default) */
  --bg: #ffffff;
  --bg-alt: #f7f9fc;
  --bg-tint: #eef4fa;
  --surface: #ffffff;
  --surface-2: #f1f5f9;
  --surface-3: #e8eef5;
  --border: #e5ebf2;
  --border-strong: #cbd5e1;
  --text: #0a1628;
  --text-2: #1f2b42;
  --text-muted: #4b5b73;
  --text-faint: #8a98ad;

  --link: #0a1628;
  --link-hover: #00b4d8;

  /* States */
  --success: #10b981;
  --warning: #f59e0b;
  --danger:  #ef4444;
  --info:    #3b82f6;

  /* Shadows */
  --shadow-xs: 0 1px 2px rgba(10, 22, 40, .04);
  --shadow-sm: 0 2px 6px rgba(10, 22, 40, .05);
  --shadow-md: 0 6px 18px rgba(10, 22, 40, .07);
  --shadow-lg: 0 14px 40px rgba(10, 22, 40, .09);
  --shadow-xl: 0 30px 80px rgba(10, 22, 40, .14);
  --shadow-glow: 0 0 80px rgba(0, 180, 216, .20);

  /* Radii */
  --r-sm: 6px;
  --r-md: 10px;
  --r-lg: 16px;
  --r-xl: 22px;
  --r-2xl: 28px;
  --r-full: 9999px;

  /* Spacing scale (4px) */
  --s-1: 4px;
  --s-2: 8px;
  --s-3: 12px;
  --s-4: 16px;
  --s-5: 20px;
  --s-6: 24px;
  --s-8: 32px;
  --s-10: 40px;
  --s-12: 48px;
  --s-16: 64px;
  --s-20: 80px;
  --s-24: 96px;
  --s-32: 128px;

  /* Type */
  --ff-display: 'Inter Tight', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  --ff-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  --ff-mono: 'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, monospace;

  --t-hero: clamp(2.5rem, 5.4vw, 4.4rem);
  --t-h1:   clamp(2.1rem, 3.8vw, 3.2rem);
  --t-h2:   clamp(1.7rem, 2.8vw, 2.4rem);
  --t-h3:   clamp(1.2rem, 1.6vw, 1.4rem);
  --t-lg:   1.125rem;
  --t-base: 1rem;
  --t-sm:   0.875rem;
  --t-xs:   0.78rem;

  --lh-tight: 1.06;
  --lh-snug: 1.18;
  --lh-base: 1.55;

  /* Layout */
  --container: 1200px;
  --nav-h: 64px;

  /* Motion */
  --ease: cubic-bezier(.22, .61, .36, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --dur: 220ms;
}

/* Dark theme */
:root[data-theme="dark"] {
  --bg: #050b14;
  --bg-alt: #0a1628;
  --bg-tint: #0d1a30;
  --surface: #0f1e36;
  --surface-2: #152540;
  --surface-3: #1a2c4b;
  --border: #1e2f4f;
  --border-strong: #2c4167;
  --text: #e6edf7;
  --text-2: #c1cce0;
  --text-muted: #94a3b8;
  --text-faint: #64748b;

  --link: #e6edf7;
  --link-hover: #00d4ff;

  --brand-2: #00d4ff;
  --brand-3: #a78bfa;

  --shadow-xs: 0 1px 2px rgba(0, 0, 0, .4);
  --shadow-sm: 0 2px 6px rgba(0, 0, 0, .35);
  --shadow-md: 0 6px 18px rgba(0, 0, 0, .35);
  --shadow-lg: 0 14px 40px rgba(0, 0, 0, .45);
  --shadow-xl: 0 30px 80px rgba(0, 0, 0, .55);
  --shadow-glow: 0 0 100px rgba(0, 212, 255, .18);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #050b14;
    --bg-alt: #0a1628;
    --bg-tint: #0d1a30;
    --surface: #0f1e36;
    --surface-2: #152540;
    --surface-3: #1a2c4b;
    --border: #1e2f4f;
    --border-strong: #2c4167;
    --text: #e6edf7;
    --text-2: #c1cce0;
    --text-muted: #94a3b8;
    --text-faint: #64748b;

    --link: #e6edf7;
    --link-hover: #00d4ff;
    --brand-2: #00d4ff;
    --brand-3: #a78bfa;
    --shadow-xs: 0 1px 2px rgba(0, 0, 0, .4);
    --shadow-sm: 0 2px 6px rgba(0, 0, 0, .35);
    --shadow-md: 0 6px 18px rgba(0, 0, 0, .35);
    --shadow-lg: 0 14px 40px rgba(0, 0, 0, .45);
    --shadow-xl: 0 30px 80px rgba(0, 0, 0, .55);
    --shadow-glow: 0 0 100px rgba(0, 212, 255, .18);
  }
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
body, h1, h2, h3, h4, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, svg, video { display: block; max-width: 100%; height: auto; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
a { color: inherit; text-decoration: none; }
input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--brand-2); outline-offset: 2px; border-radius: 4px; }

/* ---------- Base ---------- */
body {
  font-family: var(--ff-body);
  font-size: var(--t-base);
  line-height: var(--lh-base);
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease);
  overflow-x: hidden;
}

::selection { background: var(--brand-2); color: var(--brand-1); }

.skip-link {
  position: absolute; top: -100px; left: 12px; z-index: 1000;
  background: var(--brand-1); color: #fff; padding: 10px 16px;
  border-radius: var(--r-md); font-weight: 600;
}
.skip-link:focus { top: 12px; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

@media (min-width: 720px) {
  .container { padding: 0 40px; }
}

/* ---------- Typography helpers ---------- */
.eyebrow {
  display: inline-block;
  font-family: var(--ff-mono);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand-2);
  margin-bottom: var(--s-3);
}
.eyebrow--light { color: #6ee1f5; }

.section__title em {
  font-style: normal;
  background: linear-gradient(120deg, var(--brand-2) 0%, var(--brand-3) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.section__title--light { color: #fff; }

/* ---------- Nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--nav-h);
  backdrop-filter: saturate(150%) blur(14px);
  -webkit-backdrop-filter: saturate(150%) blur(14px);
  background: color-mix(in srgb, var(--bg) 78%, transparent);
  border-bottom: 1px solid color-mix(in srgb, var(--border) 70%, transparent);
  transition: background-color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: var(--s-6);
}
.brand {
  display: inline-flex; align-items: center; gap: var(--s-2);
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: 1.06rem;
  color: var(--text);
  letter-spacing: -0.01em;
}
.brand__mark { color: var(--brand-1); flex: 0 0 auto; }
:root[data-theme="dark"] .brand__mark { color: #fff; }
.brand__suffix {
  font-family: var(--ff-mono);
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--text-faint);
  letter-spacing: 0.04em;
  padding: 3px 8px;
  border: 1px solid var(--border);
  border-radius: var(--r-full);
  margin-left: 4px;
}
.nav__links {
  display: none;
  gap: var(--s-6);
  font-size: var(--t-sm);
  font-weight: 500;
  color: var(--text-muted);
}
.nav__links a {
  position: relative;
  padding: 6px 0;
  transition: color var(--dur) var(--ease);
}
.nav__links a:hover { color: var(--text); }
.nav__links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px;
  height: 2px; background: var(--brand-2);
  transform: scaleX(0); transform-origin: center;
  transition: transform var(--dur) var(--ease);
}
.nav__links a:hover::after { transform: scaleX(1); }
.nav__actions { display: flex; align-items: center; gap: var(--s-2); }
.theme-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: var(--r-md);
  color: var(--text-muted);
  transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease);
}
.theme-toggle:hover { background: var(--surface-2); color: var(--text); }
.theme-toggle__sun { display: none; }
.theme-toggle__moon { display: block; }
:root[data-theme="dark"] .theme-toggle__sun { display: block; }
:root[data-theme="dark"] .theme-toggle__moon { display: none; }

.nav__menu {
  display: inline-flex; flex-direction: column; justify-content: space-between;
  width: 36px; height: 36px; padding: 9px 8px;
  border-radius: var(--r-md);
  transition: background-color var(--dur) var(--ease);
}
.nav__menu:hover { background: var(--surface-2); }
.nav__menu span { display: block; width: 100%; height: 2px; background: var(--text); border-radius: 2px; transition: transform var(--dur) var(--ease); }
.nav__menu[aria-expanded="true"] span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.nav__menu[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__menu[aria-expanded="true"] span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

.nav__mobile {
  display: flex; flex-direction: column; gap: var(--s-3);
  padding: var(--s-4) 24px var(--s-6);
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}
.nav__mobile a { font-size: var(--t-lg); color: var(--text); padding: 8px 0; }
.nav__mobile a.btn { margin-top: var(--s-2); }

@media (min-width: 900px) {
  .nav__links { display: flex; }
  .nav__menu { display: none; }
  .nav__mobile { display: none !important; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s-2);
  padding: 10px 18px;
  font-family: var(--ff-body);
  font-size: var(--t-sm);
  font-weight: 600;
  letter-spacing: -0.005em;
  border-radius: var(--r-md);
  border: 1px solid transparent;
  cursor: pointer;
  transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease),
              border-color var(--dur) var(--ease), transform var(--dur) var(--ease),
              box-shadow var(--dur) var(--ease);
  white-space: nowrap;
  text-decoration: none;
}
.btn--sm { padding: 7px 14px; font-size: 0.82rem; }
.btn--lg { padding: 14px 24px; font-size: var(--t-base); }
.btn--full { width: 100%; }

.btn--primary {
  background: var(--brand-1);
  color: #fff;
  box-shadow: 0 1px 0 rgba(255,255,255,.1) inset, 0 4px 14px rgba(10, 22, 40, .18);
}
.btn--primary:hover { background: #1a2b46; transform: translateY(-1px); box-shadow: 0 1px 0 rgba(255,255,255,.1) inset, 0 8px 22px rgba(10, 22, 40, .25); }
.btn--primary:active { transform: translateY(0); }

.btn--ghost {
  background: var(--surface);
  color: var(--text);
  border-color: var(--border-strong);
}
.btn--ghost:hover { background: var(--surface-2); border-color: var(--text-muted); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 80px 0 96px;
  overflow: hidden;
  isolation: isolate;
}
.hero__bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hero__grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, color-mix(in srgb, var(--border) 60%, transparent) 1px, transparent 1px),
    linear-gradient(to bottom, color-mix(in srgb, var(--border) 60%, transparent) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 30%, transparent 75%);
  opacity: .6;
}
.hero__glow {
  position: absolute;
  width: 720px; height: 720px;
  border-radius: 50%;
  filter: blur(120px);
  opacity: .35;
  z-index: -1;
}
.hero__glow--1 { background: var(--brand-2); top: -200px; left: -200px; }
.hero__glow--2 { background: var(--brand-3); top: 0; right: -300px; opacity: .25; }

.hero__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-12);
  align-items: center;
}

.pill {
  display: inline-flex; align-items: center; gap: var(--s-2);
  padding: 6px 14px 6px 12px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-full);
  font-size: var(--t-sm);
  color: var(--text-2);
  font-weight: 500;
  box-shadow: var(--shadow-xs);
  margin-bottom: var(--s-6);
}
.pill__dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--success) 18%, transparent);
  animation: pulse 2.4s var(--ease) infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 4px color-mix(in srgb, var(--success) 18%, transparent); }
  50%      { box-shadow: 0 0 0 8px color-mix(in srgb, var(--success) 4%, transparent); }
}

.hero__title {
  font-family: var(--ff-display);
  font-size: var(--t-hero);
  font-weight: 700;
  line-height: var(--lh-tight);
  letter-spacing: -0.035em;
  color: var(--text);
  margin-bottom: var(--s-6);
}
.hero__title-accent {
  background: linear-gradient(110deg, var(--brand-2) 0%, var(--brand-3) 60%, var(--brand-2) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  background-size: 200% 100%;
  animation: shimmer 8s linear infinite;
}
@keyframes shimmer { 0% { background-position: 0% 0; } 100% { background-position: 200% 0; } }

.hero__sub {
  font-size: 1.18rem;
  line-height: 1.55;
  color: var(--text-muted);
  max-width: 580px;
  margin-bottom: var(--s-8);
}
.hero__sub strong { color: var(--text); font-weight: 600; }

.hero__cta {
  display: flex; flex-wrap: wrap; gap: var(--s-3);
  margin-bottom: var(--s-8);
}

.hero__bullets {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: var(--s-2) var(--s-6);
  font-size: var(--t-sm);
  color: var(--text-muted);
}
.hero__bullets li { display: flex; align-items: center; gap: var(--s-2); }
.hero__check {
  display: inline-flex; align-items: center; justify-content: center;
  width: 18px; height: 18px; border-radius: 50%;
  background: color-mix(in srgb, var(--brand-2) 18%, transparent);
  color: var(--brand-2);
  font-size: 11px; font-weight: 700;
  flex: 0 0 auto;
}

/* Hero visual — dashboard mockup */
.hero__visual {
  position: relative;
  perspective: 2000px;
}
.dash {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-xl), 0 0 0 1px color-mix(in srgb, var(--border) 60%, transparent);
  overflow: hidden;
  transform: rotateX(2deg);
  transition: transform 400ms var(--ease);
}
:root[data-theme="dark"] .dash { box-shadow: var(--shadow-xl), 0 0 0 1px var(--border), 0 0 80px rgba(0, 212, 255, .08); }
.dash:hover { transform: rotateX(0); }

.dash__chrome {
  display: flex; align-items: center; gap: var(--s-3);
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  background: var(--surface-2);
}
.dash__dots { display: flex; gap: 6px; }
.dash__dots span { width: 10px; height: 10px; border-radius: 50%; background: var(--border-strong); }
.dash__dots span:nth-child(1) { background: #ff5f57; }
.dash__dots span:nth-child(2) { background: #febc2e; }
.dash__dots span:nth-child(3) { background: #28c840; }
.dash__url {
  flex: 1; text-align: center;
  font-family: var(--ff-mono);
  font-size: 0.78rem;
  color: var(--text-muted);
  padding: 4px 12px;
  background: var(--surface);
  border-radius: var(--r-sm);
  max-width: 360px; margin: 0 auto;
  border: 1px solid var(--border);
}
.dash__live {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--ff-mono); font-size: 0.7rem; font-weight: 600;
  color: var(--success);
  padding: 3px 8px;
  background: color-mix(in srgb, var(--success) 12%, transparent);
  border-radius: var(--r-sm);
}
.dash__live .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--success); animation: pulse 1.6s var(--ease) infinite; }

.dash__body { padding: 18px; display: flex; flex-direction: column; gap: 14px; }

.dash__kpis {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px;
}
.kpi {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 12px;
}
.kpi__label { font-size: 0.7rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 4px; font-weight: 500; }
.kpi__value {
  font-family: var(--ff-display);
  font-size: 1.4rem; font-weight: 700; line-height: 1; color: var(--text);
  letter-spacing: -0.02em;
}
.kpi__unit { font-size: 0.9rem; color: var(--text-muted); margin-left: 2px; }
.kpi__delta { font-size: 0.7rem; color: var(--text-muted); margin-top: 4px; font-family: var(--ff-mono); }
.kpi__delta--up { color: var(--success); }
.kpi__delta--down { color: var(--danger); }

.dash__panel {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 14px;
}
.dash__panel-head {
  display: flex; align-items: center; justify-content: space-between; gap: var(--s-3);
  margin-bottom: 12px;
  flex-wrap: wrap;
}
.dash__panel-title { font-size: 0.82rem; font-weight: 600; color: var(--text); }
.dash__legend { display: flex; gap: var(--s-3); font-size: 0.7rem; color: var(--text-muted); flex-wrap: wrap; }
.dash__legend span { display: inline-flex; align-items: center; gap: 5px; }
.dot { width: 8px; height: 8px; border-radius: 2px; }
.dot--clean { background: #10b981; }
.dot--occ   { background: #3b82f6; }
.dot--dirty { background: #f59e0b; }
.dot--hold  { background: #a855f7; }

.bedgrid {
  display: grid; grid-template-columns: repeat(12, 1fr); gap: 5px;
  margin-bottom: 8px;
}
.bedgrid:last-child { margin-bottom: 0; }
.bed {
  aspect-ratio: 1.6 / 1;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--ff-mono); font-size: 0.62rem; font-weight: 600;
  color: #fff;
  border-radius: 4px;
  position: relative;
  cursor: default;
  letter-spacing: 0.02em;
}
.bed--clean { background: #10b981; }
.bed--occ   { background: #3b82f6; }
.bed--dirty { background: #f59e0b; }
.bed--hold  { background: #a855f7; }

.dash__panel--ai {
  background: linear-gradient(135deg,
    color-mix(in srgb, var(--brand-2) 8%, var(--surface-2)),
    color-mix(in srgb, var(--brand-3) 8%, var(--surface-2)));
  border-color: color-mix(in srgb, var(--brand-2) 25%, var(--border));
  position: relative;
}
.dash__panel--ai::before {
  content: ""; position: absolute; left: 0; top: 14px; bottom: 14px; width: 3px;
  background: linear-gradient(180deg, var(--brand-2), var(--brand-3));
  border-radius: 0 3px 3px 0;
}
.dash__ai { padding-left: 4px; }
.dash__ai-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 6px; }
.dash__ai-badge {
  display: inline-flex; align-items: center; gap: 4px;
  font-family: var(--ff-mono); font-size: 0.65rem; font-weight: 600;
  color: var(--brand-2);
  padding: 2px 8px;
  background: color-mix(in srgb, var(--brand-2) 15%, transparent);
  border-radius: var(--r-sm);
  text-transform: uppercase; letter-spacing: 0.05em;
}
.dash__ai-time { font-size: 0.7rem; color: var(--text-faint); font-family: var(--ff-mono); }
.dash__ai-title { font-size: 0.86rem; font-weight: 600; color: var(--text); margin-bottom: 4px; }
.dash__ai-body { font-size: 0.78rem; line-height: 1.5; color: var(--text-2); margin-bottom: 10px; }
.dash__ai-body strong { color: var(--text); font-weight: 600; }
.dash__ai-actions { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 8px; }
.chip {
  padding: 4px 10px;
  font-size: 0.7rem; font-weight: 600;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--r-sm);
  color: var(--text-2);
  cursor: pointer;
  transition: all var(--dur) var(--ease);
}
.chip:hover { background: var(--surface-2); }
.chip--approve { background: var(--brand-1); color: #fff; border-color: var(--brand-1); }
.chip--approve:hover { background: #1a2b46; }
.chip--ghost { background: transparent; border-color: var(--border); color: var(--text-muted); }
.dash__ai-meta {
  font-family: var(--ff-mono); font-size: 0.62rem; color: var(--text-faint);
  display: flex; gap: 6px; flex-wrap: wrap;
}

/* Floating accent cards */
.float {
  position: absolute;
  display: flex; align-items: center; gap: 10px;
  padding: 10px 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
  z-index: 2;
  animation: floatY 6s var(--ease) infinite;
}
.float__icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 32px; height: 32px; border-radius: 8px;
  background: var(--bg-tint);
  font-size: 16px;
}
.float__t { font-size: 0.78rem; font-weight: 600; color: var(--text); }
.float__s { font-size: 0.7rem; color: var(--text-muted); font-family: var(--ff-mono); }
.float--a { top: -16px; left: -22px; animation-delay: 0s; }
.float--b { bottom: 32px; right: -28px; animation-delay: 1.6s; }
@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-8px); }
}

@media (max-width: 720px) {
  .float--a, .float--b { display: none; }
  .dash { transform: none; }
  .dash__kpis { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- Trust bar ---------- */
.trustbar {
  padding: var(--s-12) 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-alt);
}
.trustbar__label {
  text-align: center;
  font-family: var(--ff-mono);
  font-size: 0.78rem; font-weight: 500;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: var(--s-8);
}
.trustbar__logos {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-4);
}
.logo-card {
  display: flex; align-items: center; gap: var(--s-4);
  padding: var(--s-5) var(--s-6);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  transition: all var(--dur) var(--ease);
}
.logo-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); border-color: var(--border-strong); }
.logo-card--muted { opacity: 0.65; }
.logo-card__mark {
  display: inline-flex; align-items: center; justify-content: center;
  width: 52px; height: 52px;
  background: var(--brand-1);
  color: #fff;
  border-radius: var(--r-md);
  font-family: var(--ff-display);
  font-size: 0.95rem; font-weight: 700;
  letter-spacing: 0.02em;
  flex: 0 0 auto;
}
.logo-card__name { font-size: 0.95rem; font-weight: 600; color: var(--text); line-height: 1.25; }
@media (min-width: 720px) { .trustbar__logos { grid-template-columns: repeat(3, 1fr); } }

/* ---------- Section base ---------- */
.section { padding: 96px 0; position: relative; }
.section--alt { background: var(--bg-alt); }
.section--dark { background: linear-gradient(180deg, var(--brand-1) 0%, #050b14 100%); color: #e6edf7; }
.section--cta {
  background:
    radial-gradient(ellipse 60% 80% at 80% 0%, color-mix(in srgb, var(--brand-3) 35%, transparent) 0%, transparent 60%),
    radial-gradient(ellipse 60% 80% at 0% 100%, color-mix(in srgb, var(--brand-2) 30%, transparent) 0%, transparent 60%),
    var(--brand-1);
  color: #e6edf7;
  padding: 120px 0;
}

.section__head {
  max-width: 760px; margin: 0 auto var(--s-12);
  text-align: center;
}
.section__head--light .eyebrow { color: #6ee1f5; }

.section__title {
  font-family: var(--ff-display);
  font-size: var(--t-h1);
  font-weight: 700;
  line-height: var(--lh-snug);
  letter-spacing: -0.03em;
  color: var(--text);
  margin-bottom: var(--s-4);
}
.section__sub {
  font-size: 1.1rem;
  line-height: 1.55;
  color: var(--text-muted);
}
.section__sub--light { color: #b8c5d8; }
.section__sub--light strong { color: #fff; font-weight: 600; }

.grid { display: grid; gap: var(--s-5); }
.grid--3 { grid-template-columns: 1fr; }

@media (min-width: 720px) {
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .hero__inner { grid-template-columns: 1.05fr 0.95fr; gap: 64px; }
}
@media (min-width: 1000px) {
  .grid--3 { grid-template-columns: repeat(3, 1fr); }
}

/* ---------- Cards ---------- */
.card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: var(--s-6);
  transition: all var(--dur) var(--ease);
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--border-strong);
}
.card__icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px;
  background: var(--bg-tint);
  color: var(--brand-2);
  border-radius: var(--r-md);
  margin-bottom: var(--s-4);
}
.card__num {
  position: absolute; top: 20px; right: 24px;
  font-family: var(--ff-mono);
  font-size: 0.72rem; font-weight: 600;
  color: var(--text-faint);
  letter-spacing: 0.04em;
}
.card h3 {
  font-family: var(--ff-display);
  font-size: var(--t-h3);
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--text);
  margin-bottom: var(--s-2);
}
.card p { color: var(--text-muted); font-size: 0.96rem; line-height: 1.6; }

/* ---------- Modules ---------- */
.modules {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-5);
}
.module {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: var(--s-6);
  transition: all var(--dur) var(--ease);
  overflow: hidden;
}
.module::after {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px;
  background: linear-gradient(90deg, var(--brand-2), var(--brand-3));
  transform: scaleX(0); transform-origin: left;
  transition: transform 400ms var(--ease);
}
.module:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--border-strong); }
.module:hover::after { transform: scaleX(1); }
.module__tag {
  display: inline-block;
  font-family: var(--ff-mono);
  font-size: 0.72rem; font-weight: 500;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--brand-2);
  margin-bottom: var(--s-3);
}
.module__title {
  font-family: var(--ff-display);
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--text);
  margin-bottom: var(--s-2);
  line-height: 1.25;
}
.module__body { color: var(--text-muted); font-size: 0.95rem; line-height: 1.55; }
.module__list { margin-top: var(--s-3); display: flex; flex-direction: column; gap: 6px; }
.module__list li {
  position: relative; padding-left: 18px;
  color: var(--text-2); font-size: 0.88rem;
}
.module__list li::before {
  content: ""; position: absolute; left: 0; top: 8px;
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--brand-2);
}

.module--lg {
  background: linear-gradient(135deg, var(--surface) 0%, var(--bg-tint) 100%);
  border-color: color-mix(in srgb, var(--brand-2) 30%, var(--border));
  grid-column: span 1;
}
.module--lg .module__title { font-size: 1.4rem; }
@media (min-width: 900px) {
  .modules { grid-template-columns: repeat(3, 1fr); }
  .module--lg { grid-column: span 2; grid-row: span 1; }
}

/* ---------- Steps ---------- */
.steps {
  display: grid; grid-template-columns: 1fr; gap: var(--s-5);
  counter-reset: step;
  position: relative;
}
.step {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: var(--s-6);
  transition: all var(--dur) var(--ease);
}
.step:hover { box-shadow: var(--shadow-md); border-color: var(--border-strong); }
.step__num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px;
  background: var(--brand-1);
  color: #fff;
  border-radius: 50%;
  font-family: var(--ff-display);
  font-size: 1.1rem; font-weight: 700;
  margin-bottom: var(--s-4);
}
.step__title { font-family: var(--ff-display); font-size: 1.25rem; font-weight: 600; margin-bottom: var(--s-2); color: var(--text); }
.step p { color: var(--text-muted); font-size: 0.95rem; line-height: 1.6; }
.step__meta {
  margin-top: var(--s-4);
  padding-top: var(--s-3);
  border-top: 1px dashed var(--border);
  font-family: var(--ff-mono);
  font-size: 0.78rem; color: var(--text-faint);
}
@media (min-width: 900px) {
  .steps { grid-template-columns: repeat(3, 1fr); gap: var(--s-6); }
  .steps::before {
    content: ""; position: absolute; top: 60px; left: 8%; right: 8%; height: 2px;
    background: repeating-linear-gradient(to right, var(--border-strong) 0 8px, transparent 8px 16px);
    z-index: 0;
  }
  .step { position: relative; z-index: 1; }
}

/* ---------- Metrics (proof section) ---------- */
.metric {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--r-lg);
  padding: var(--s-6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.metric__value {
  font-family: var(--ff-display);
  font-size: clamp(2.4rem, 4vw, 3.4rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
  color: #fff;
  background: linear-gradient(135deg, #fff 0%, #6ee1f5 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}
.metric__suffix { display: inline-block; font-family: var(--ff-display); font-size: 1.5rem; font-weight: 600; color: #6ee1f5; margin-left: 2px; }
.metric__static { display: inline-block; margin-left: 4px; }
.metric__label { font-size: 0.95rem; color: #fff; font-weight: 600; margin-top: var(--s-3); }
.metric__sub { font-size: 0.82rem; color: #94a3b8; margin-top: 4px; }

.quote {
  max-width: 900px; margin: 64px auto 0;
  text-align: center;
  padding: var(--s-8);
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--r-xl);
  position: relative;
}
.quote::before {
  content: "“";
  position: absolute;
  top: -20px; left: 24px;
  font-family: var(--ff-display);
  font-size: 7rem; line-height: 1;
  color: var(--brand-2);
  opacity: 0.4;
}
.quote blockquote p {
  font-family: var(--ff-display);
  font-size: clamp(1.2rem, 1.8vw, 1.5rem);
  line-height: 1.45;
  font-weight: 500;
  letter-spacing: -0.015em;
  color: #e6edf7;
  margin-bottom: var(--s-4);
}
.quote figcaption strong { display: block; color: #fff; font-weight: 600; }
.quote figcaption span { color: #94a3b8; font-size: 0.88rem; }

/* ---------- Differentiators ---------- */
.diff-grid {
  display: grid; grid-template-columns: 1fr; gap: var(--s-4);
  margin-bottom: var(--s-12);
}
.diff {
  padding: var(--s-5);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  transition: all var(--dur) var(--ease);
}
.diff:hover { background: var(--surface-2); }
.diff__icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px;
  background: var(--bg-tint);
  color: var(--brand-2);
  border-radius: var(--r-sm);
  margin-bottom: var(--s-3);
}
.diff h3 { font-family: var(--ff-display); font-size: 1.05rem; font-weight: 600; margin-bottom: 6px; color: var(--text); }
.diff p { color: var(--text-muted); font-size: 0.9rem; line-height: 1.55; }
@media (min-width: 720px) { .diff-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .diff-grid { grid-template-columns: repeat(3, 1fr); } }

.interop {
  padding: var(--s-8);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  text-align: center;
}
.interop__label {
  font-family: var(--ff-mono);
  font-size: 0.78rem; font-weight: 500;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: var(--s-4);
}
.interop__pills {
  display: flex; flex-wrap: wrap; gap: var(--s-2); justify-content: center;
}
.interop__pills span {
  padding: 8px 16px;
  font-family: var(--ff-mono);
  font-size: 0.82rem; font-weight: 500;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--r-full);
  color: var(--text-2);
  transition: all var(--dur) var(--ease);
}
.interop__pills span:hover { background: var(--bg-tint); color: var(--brand-2); border-color: var(--brand-2); }

/* ---------- Pricing ---------- */
.pricing { gap: var(--s-5); }
.price {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: var(--s-8) var(--s-6);
  transition: all var(--dur) var(--ease);
  display: flex; flex-direction: column;
}
.price:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.price__badge {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  padding: 4px 12px;
  background: var(--brand-2);
  color: var(--brand-1);
  font-family: var(--ff-mono);
  font-size: 0.7rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.08em;
  border-radius: var(--r-full);
  white-space: nowrap;
}
.price--featured { border-color: var(--brand-2); box-shadow: 0 0 0 1px var(--brand-2), var(--shadow-md); }
.price__tier {
  font-family: var(--ff-mono);
  font-size: 0.78rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: var(--s-3);
}
.price__amt {
  font-family: var(--ff-display);
  font-size: 3rem; font-weight: 700;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--text);
  margin-bottom: var(--s-2);
}
.price__currency { color: var(--text-muted); font-size: 1.5rem; vertical-align: top; margin-right: 2px; }
.price__per { font-size: 0.95rem; font-weight: 500; color: var(--text-muted); }
.price__sub { color: var(--text-muted); font-size: 0.88rem; margin-bottom: var(--s-5); }
.price__list { display: flex; flex-direction: column; gap: 8px; margin-bottom: var(--s-6); flex: 1; }
.price__list li {
  position: relative; padding-left: 22px;
  color: var(--text-2); font-size: 0.9rem;
}
.price__list li::before {
  content: "✓"; position: absolute; left: 0; top: 0;
  color: var(--brand-2); font-weight: 700;
}

/* ---------- Story ---------- */
.story {
  display: grid; grid-template-columns: 1fr; gap: var(--s-10);
  align-items: start;
}
.story__copy h2 { text-align: left; }
.story__copy p { color: var(--text-muted); font-size: 1.02rem; line-height: 1.65; margin-bottom: var(--s-4); }
.story__copy strong { color: var(--text); font-weight: 600; }
.story__milestones { display: flex; flex-direction: column; gap: var(--s-3); margin-top: var(--s-6); padding-left: var(--s-5); border-left: 2px solid var(--brand-2); }
.ms { display: flex; gap: var(--s-4); align-items: baseline; }
.ms__year {
  font-family: var(--ff-mono); font-size: 0.78rem; font-weight: 600;
  color: var(--brand-2);
  letter-spacing: 0.05em;
  min-width: 60px;
}
.ms__text { color: var(--text-2); font-size: 0.95rem; }

.story__card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: var(--s-6);
  position: sticky; top: 90px;
}
.story__card-title { font-family: var(--ff-display); font-size: 1.05rem; font-weight: 600; margin-bottom: var(--s-4); color: var(--text); }
.story__stats { display: flex; flex-direction: column; gap: var(--s-3); }
.story__stats div { display: flex; justify-content: space-between; gap: var(--s-3); padding: 10px 0; border-bottom: 1px dashed var(--border); }
.story__stats div:last-child { border-bottom: 0; }
.story__stats dt { color: var(--text-muted); font-size: 0.85rem; }
.story__stats dd { color: var(--text); font-size: 0.88rem; font-weight: 600; text-align: right; }
@media (min-width: 900px) { .story { grid-template-columns: 1.4fr 1fr; gap: 80px; } }

/* ---------- CTA / Contact ---------- */
.cta {
  display: grid; grid-template-columns: 1fr; gap: var(--s-10);
  align-items: start;
}
.cta__copy h2 { text-align: left; }
.cta__copy p { color: #b8c5d8; font-size: 1.05rem; line-height: 1.6; }
.cta__contact { display: flex; flex-direction: column; gap: var(--s-3); margin-top: var(--s-6); }
.cta__contact li { display: flex; align-items: center; gap: var(--s-3); color: #c1cce0; font-size: 0.98rem; }
.cta__contact a { color: #fff; font-weight: 500; transition: color var(--dur) var(--ease); }
.cta__contact a:hover { color: var(--brand-2); }
.cta__icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px;
  background: rgba(255,255,255,0.06);
  border-radius: var(--r-sm);
  color: var(--brand-2);
}

.cta__form {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--r-xl);
  padding: var(--s-8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.cta__form-title { font-family: var(--ff-display); font-size: 1.4rem; font-weight: 700; color: #fff; margin-bottom: var(--s-5); letter-spacing: -0.02em; }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: var(--s-4); }
.field-row { display: grid; grid-template-columns: 1fr; gap: var(--s-4); }
@media (min-width: 600px) { .field-row { grid-template-columns: 1fr 1fr; } }
.field label { font-size: 0.82rem; font-weight: 500; color: #c1cce0; }
.field input, .field select, .field textarea {
  padding: 12px 14px;
  background: rgba(0,0,0,0.2);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--r-md);
  color: #fff;
  font-size: 0.95rem;
  transition: border-color var(--dur) var(--ease), background-color var(--dur) var(--ease);
}
.field input::placeholder, .field textarea::placeholder { color: #64748b; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: 0;
  border-color: var(--brand-2);
  background: rgba(0,0,0,0.3);
}
.field select { appearance: none; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'><path d='M1 1l5 5 5-5' stroke='%23c1cce0' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/></svg>"); background-repeat: no-repeat; background-position: right 14px center; }
.field textarea { resize: vertical; min-height: 80px; font-family: var(--ff-body); }
.cta__form-fine { font-size: 0.78rem; color: #94a3b8; margin-top: var(--s-3); line-height: 1.5; }
.cta__form-fine a { color: var(--brand-2); }
.cta__form-success {
  margin-top: var(--s-4);
  padding: 12px 16px;
  background: color-mix(in srgb, var(--success) 18%, transparent);
  border: 1px solid color-mix(in srgb, var(--success) 40%, transparent);
  border-radius: var(--r-md);
  color: #6ee1b1;
  font-size: 0.9rem;
  text-align: center;
}

@media (min-width: 900px) { .cta { grid-template-columns: 1fr 1.05fr; gap: 80px; } }

/* ---------- Footer ---------- */
.footer { background: var(--bg-alt); border-top: 1px solid var(--border); }
.footer__inner {
  display: grid; grid-template-columns: 1fr;
  gap: var(--s-10);
  padding: 80px 24px 40px;
}
.footer__brand p { color: var(--text-muted); font-size: 0.92rem; line-height: 1.6; max-width: 320px; margin-top: var(--s-3); margin-bottom: var(--s-5); }
.footer__contact { display: flex; flex-direction: column; gap: 6px; font-size: 0.9rem; }
.footer__contact a { color: var(--text-2); transition: color var(--dur) var(--ease); }
.footer__contact a:hover { color: var(--brand-2); }
.footer__contact li { color: var(--text-muted); }

.footer__cols { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--s-8); }
.footer__cols h4 {
  font-family: var(--ff-mono);
  font-size: 0.78rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--text);
  margin-bottom: var(--s-3);
}
.footer__cols a { display: block; font-size: 0.9rem; color: var(--text-muted); padding: 4px 0; transition: color var(--dur) var(--ease); }
.footer__cols a:hover { color: var(--text); }

@media (min-width: 720px) {
  .footer__inner { grid-template-columns: 1.2fr 2fr; padding: 80px 40px 40px; }
  .footer__cols { grid-template-columns: repeat(4, 1fr); }
}

.footer__bar {
  border-top: 1px solid var(--border);
  padding: 20px 0;
}
.footer__bar-inner {
  display: flex; flex-direction: column; gap: 6px;
  font-size: 0.8rem; color: var(--text-faint);
  text-align: center;
}
.footer__compliance { font-style: italic; }
@media (min-width: 720px) {
  .footer__bar-inner { flex-direction: row; justify-content: space-between; text-align: left; }
}

/* ---------- Reveal animation ---------- */
[data-anim="rise"] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 700ms var(--ease-out), transform 700ms var(--ease-out);
}
[data-anim="rise"].is-in {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  [data-anim="rise"] { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Utility ---------- */
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
