/* ==========================================================================
   Avuru Vision — static landing (faithful port of the valife-nextjs-front
   "Quiet Authority" landing). Shared by index.html (FR) and en.html (EN).
   ========================================================================== */

/* Self-hosted Inter (same file next/font serves in valife) — no CDN dependency.
   NOTE: the real valife landing renders its "Fraunces" headings in Inter (the
   --font-fraunces var resolves to the Inter stack in the running app), so the
   whole landing is Inter; no serif font is loaded. */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 300 600;
  font-display: swap;
  src: url('fonts/inter-normal-latinext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 300 600;
  font-display: swap;
  src: url('fonts/inter-normal-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --font-inter: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  /* valife's headings render in Inter (its --font-fraunces resolves to Inter),
     so map "fraunces" usages to the Inter stack to match the real app. */
  --font-fraunces: var(--font-inter);

  --bg: #050B17;
  --surface: #0C1426;
  --surface-2: #0F1A2E;
  --border: #1B243A;
  --border-2: #243049;
  --cream: #F4EFE6;
  --gold: #C9A96A;
  --gold-2: #B89858;
  --gold-3: #A8854A;
  --gold-dark: #8B6F3A;
  --light: #F5F5F4;
  --light-card: #FAFAF7;
  --ink: #0A0F1C;
  --footer: #03060F;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-inter);
  background: var(--bg);
  color: var(--cream);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-optical-sizing: auto;
  text-rendering: optimizeLegibility;
}

a { color: inherit; text-decoration: none; }
button { font-family: inherit; }
img, svg { display: block; max-width: 100%; }
ul { list-style: none; }

/* Ambient aurora behind everything (fixed) */
.bg-aurora {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 70% 55% at 50% 0%, rgba(30, 52, 110, 0.32), transparent 60%),
    radial-gradient(ellipse 55% 45% at 85% 100%, rgba(56, 38, 120, 0.20), transparent 55%),
    radial-gradient(ellipse 40% 30% at 50% 15%, rgba(201, 169, 106, 0.06), transparent 60%);
}
.page { position: relative; z-index: 10; }

/* ── Layout helpers ──────────────────────────────────────────────────── */
.section-container {
  max-width: min(1440px, 95vw);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 3.8vw, 4rem);
}

.section { position: relative; padding: 5rem 1rem; }
@media (min-width: 640px) { .section { padding: 7rem 2rem; } }
@media (min-width: 768px) { .section { padding: 8rem 2rem; } }
@media (min-width: 1024px) { .section { padding: 10rem 4rem; } }

.section--light { background: var(--light); }
.section--dark-solid { background: var(--bg); }

.wrap { max-width: 80rem; margin-inline: auto; width: 100%; }
.wrap-5xl { max-width: 64rem; margin-inline: auto; width: 100%; }
.maxw-3xl { max-width: 48rem; }
.maxw-md { max-width: 28rem; }
.maxw-sm { max-width: 24rem; }
.maxw-xl { max-width: 36rem; }
.maxw-2xl { max-width: 42rem; }

.grid12 { display: grid; gap: 3rem; }
@media (min-width: 1024px) {
  .grid12 { grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 5rem; }
  .col-5 { grid-column: span 5 / span 5; }
  .col-7 { grid-column: span 7 / span 7; }
  .items-start { align-items: start; }
  .items-center { align-items: center; }
}

/* ── Typography ──────────────────────────────────────────────────────── */
.eyebrow {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.4em;
  color: rgba(244, 239, 230, 0.6);
}
.section--light .eyebrow { color: rgba(10, 15, 28, 0.55); }

.h-section {
  font-family: var(--font-fraunces);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.05;
  color: var(--cream);
  font-size: 2.25rem;
}
@media (min-width: 640px) { .h-section { font-size: 3rem; } }
@media (min-width: 768px) { .h-section { font-size: 3.75rem; } }
@media (min-width: 1024px) { .h-section { font-size: 4.5rem; } }
.section--light .h-section { color: var(--ink); }

.body-muted {
  font-size: 1rem;
  line-height: 1.7;
  color: rgba(244, 239, 230, 0.7);
}
@media (min-width: 640px) { .body-muted { font-size: 1.125rem; } }
.section--light .body-muted { color: rgba(10, 15, 28, 0.7); }
.body-muted.is-base { font-size: 1rem; }

.serif { font-family: var(--font-fraunces); }
.italic { font-style: italic; }
.tnum { font-variant-numeric: tabular-nums; }

/* ── Buttons ─────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  white-space: nowrap;
  border-radius: 9999px;
  border: 1px solid transparent;
  font-family: var(--font-inter);
  font-weight: 500;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: all 0.3s var(--ease);
}
.btn:active { transform: scale(0.98); }
.btn .ico { width: 1rem; height: 1rem; transition: transform 0.3s var(--ease); }

.btn-sm { height: 2.25rem; padding: 0 1.25rem; font-size: 0.75rem; }
.btn-md { height: 2.75rem; padding: 0 1.5rem; font-size: 0.875rem; }
.btn-lg { height: 3.5rem; padding: 0 2.5rem; font-size: 1rem; }

.btn-primary {
  background: linear-gradient(to bottom right, #C9A96A, #B89858, #A8854A);
  color: #050B17;
  box-shadow: 0 0 18px rgba(201, 169, 106, 0.28);
}
.btn-primary:hover { filter: brightness(1.05); }
.btn-primary:hover .ico { transform: translateX(2px); }

.btn-outline { border-color: rgba(201, 169, 106, 0.4); color: var(--cream); background: transparent; }
.btn-outline:hover { border-color: var(--gold); background: rgba(201, 169, 106, 0.05); }
.btn-outline:hover .ico { transform: translate(2px, -2px); }
.section--light .btn-outline { border-color: rgba(10, 15, 28, 0.25); color: var(--ink); }
.section--light .btn-outline:hover { border-color: var(--ink); background: rgba(10, 15, 28, 0.05); }

.link-quiet {
  font-size: 0.875rem;
  color: rgba(244, 239, 230, 0.6);
  text-underline-offset: 4px;
  transition: color 0.3s var(--ease);
}
.link-quiet:hover { color: var(--gold); text-decoration: underline; }
.section--light .link-quiet { color: rgba(10, 15, 28, 0.6); }
.section--light .link-quiet:hover { color: var(--gold-dark); }

/* ── Header ──────────────────────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}
.site-header .nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4rem;
  position: relative;
}
@media (min-width: 1024px) { .site-header .nav { height: 5rem; } }

.nav-center {
  display: none;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  gap: 2rem;
  align-items: center;
}
@media (min-width: 1024px) { .nav-center { display: flex; } }
.nav-center a {
  font-size: 14px;
  font-weight: 500;
  color: rgba(244, 239, 230, 0.8);
  transition: color 0.2s;
}
.nav-center a:hover { color: var(--cream); }

.nav-actions { display: none; align-items: center; gap: 1rem; }
@media (min-width: 1024px) { .nav-actions { display: flex; } }
.nav-mobile-actions { display: flex; align-items: center; gap: 0.5rem; }
@media (min-width: 1024px) { .nav-mobile-actions { display: none; } }

.nav-login {
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(244, 239, 230, 0.85);
  transition: color 0.3s var(--ease);
}
.nav-login:hover { color: var(--cream); }

.lang-switch { display: inline-flex; align-items: center; gap: 0.35rem; font-size: 11px; letter-spacing: 0.5px; }
.lang-switch a { color: rgba(244, 239, 230, 0.45); padding: 2px 5px; border-radius: 4px; transition: color 0.2s; }
.lang-switch a:hover { color: var(--cream); }
.lang-switch a.active { color: var(--gold); }
.lang-switch .sep { color: rgba(244, 239, 230, 0.2); }

.hamburger {
  display: inline-flex; align-items: center; justify-content: center;
  height: 2.25rem; width: 2.25rem; border-radius: 9999px;
  border: 1px solid rgba(244, 239, 230, 0.15);
  color: var(--cream); background: transparent; cursor: pointer;
  transition: background 0.2s;
}
.hamburger:hover { background: rgba(244, 239, 230, 0.1); }
.hamburger .x { display: none; }
.site-header.menu-open .hamburger .x { display: block; }
.site-header.menu-open .hamburger .bars { display: none; }

.mobile-menu { overflow: hidden; max-height: 0; border-top: 1px solid rgba(244, 239, 230, 0.08); transition: max-height 0.3s ease-out; }
.site-header.menu-open .mobile-menu { max-height: 480px; }
@media (min-width: 1024px) { .mobile-menu { display: none; } }
.mobile-menu .inner { display: flex; flex-direction: column; gap: 0.25rem; padding: 1rem 0; }
.mobile-menu .inner > a.m-link {
  padding: 0.75rem 1rem; font-size: 0.875rem; font-weight: 500;
  color: rgba(244, 239, 230, 0.75); border-radius: 0.75rem; transition: all 0.2s;
}
.mobile-menu .inner > a.m-link:hover { color: var(--cream); background: rgba(244, 239, 230, 0.05); }
.mobile-menu .cta-stack { display: flex; flex-direction: column; gap: 0.75rem; margin-top: 0.75rem; padding: 0 0.25rem; }

/* ── Logo ────────────────────────────────────────────────────────────── */
.logo { display: inline-flex; align-items: center; gap: 0.75rem; }
.logo-badge {
  position: relative; display: flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 1rem; flex: none;
  background: linear-gradient(to bottom right, #C9A96A, #B89858, #A8854A);
  box-shadow: 0 0 24px rgba(201, 169, 106, 0.22);
  color: #0f172a; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em;
  font-size: 21px; font-family: var(--font-inter);
}
.logo-badge::after {
  content: ''; position: absolute; inset: 0; border-radius: 1rem;
  border: 1px solid rgba(244, 239, 230, 0.25); pointer-events: none;
}
.logo-text { display: flex; flex-direction: column; line-height: 1.1; }
.logo-name { font-weight: 600; text-transform: uppercase; letter-spacing: 0.3em; font-size: 1rem; color: var(--cream); }
.logo-tag { font-size: 0.75rem; font-weight: 500; text-transform: uppercase; letter-spacing: 0.4em; color: rgba(244, 239, 230, 0.75); }
.logo-text.hide-sm .logo-tag { display: none; }
@media (max-width: 639px) { .logo .logo-text { display: none; } }

/* ── Hero ────────────────────────────────────────────────────────────── */
.hero { position: relative; overflow: hidden; }
.hero .inner { position: relative; z-index: 10; max-width: 80rem; margin-inline: auto;
  padding: 8rem 1rem 5rem; }
@media (min-width: 640px) { .hero .inner { padding: 10rem 2rem 7rem; } }
@media (min-width: 1024px) { .hero .inner { padding: 11rem 4rem 8rem; } }

.hero-eyebrow-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 4rem; }

.hero-grid { display: grid; gap: 3rem; align-items: start; }
@media (min-width: 1024px) { .hero-grid { grid-template-columns: repeat(12, 1fr); gap: 4rem; } .hero-grid .h-left { grid-column: span 7 / span 7; } .hero-grid .h-right { grid-column: span 5 / span 5; } }

.h-hero {
  font-family: var(--font-fraunces); font-weight: 400; letter-spacing: -0.02em; line-height: 1.05;
  color: var(--cream); font-size: 3rem;
}
@media (min-width: 640px) { .h-hero { font-size: 3.75rem; } }
@media (min-width: 768px) { .h-hero { font-size: 4.5rem; } }
@media (min-width: 1024px) { .h-hero { font-size: 5.5rem; } }
.h-hero .muted { display: block; color: rgba(244, 239, 230, 0.6); }
.h-hero .row1 { display: block; }

.hero-sub { margin-top: 2rem; max-width: 36rem; }
.hero-cta { margin-top: 3rem; display: flex; flex-direction: column; gap: 1.25rem; }
.hero-cta .row { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; }
.hero-login { align-self: flex-start; }

/* Hero mockup card */
.mock-persp { position: relative; perspective: 1400px; }
.mock-card {
  position: relative; border-radius: 1.5rem; border: 1px solid var(--border-2);
  background: var(--surface); overflow: hidden;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.5);
  transform: rotateY(-6deg) rotateX(4deg); transform-style: preserve-3d;
}
.mock-inner { position: relative; aspect-ratio: 4 / 5; width: 100%; padding: 2rem; }
.mock-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.5rem; }
.mock-dots { display: flex; align-items: center; gap: 0.5rem; }
.mock-dots i { width: 0.5rem; height: 0.5rem; border-radius: 9999px; background: var(--border-2); }
.mock-cap { font-size: 0.6rem; text-transform: uppercase; letter-spacing: 0.4em; color: rgba(244, 239, 230, 0.3); }
.mock-label { font-size: 0.6rem; text-transform: uppercase; letter-spacing: 0.4em; color: rgba(244, 239, 230, 0.4); margin-bottom: 0.5rem; }
.mock-total { font-family: var(--font-fraunces); font-size: 2.25rem; color: var(--cream); font-variant-numeric: tabular-nums; }
.mock-delta { margin-top: 0.25rem; font-size: 0.75rem; color: var(--gold); }
.mock-chart { margin-top: 2rem; }
.mock-rows { margin-top: 2rem; display: flex; flex-direction: column; gap: 0.75rem; }
.mock-row { display: flex; align-items: baseline; justify-content: space-between; border-top: 1px solid var(--border); padding-top: 0.75rem; }
.mock-row .l { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.3em; color: rgba(244, 239, 230, 0.4); }
.mock-row .v { font-family: var(--font-fraunces); color: var(--cream); font-variant-numeric: tabular-nums; }

/* ── AI Intelligence (light) ─────────────────────────────────────────── */
.prompt-list { margin-top: 2.5rem; display: flex; flex-direction: column; gap: 0.75rem; }
.prompt-tab {
  display: flex; align-items: center; width: 100%; text-align: left; gap: 0;
  background: none; border: none; cursor: pointer; font-size: 0.875rem;
  color: rgba(10, 15, 28, 0.5); transition: color 0.3s var(--ease); padding: 0;
}
.prompt-tab .bar { display: inline-block; height: 2px; width: 0.75rem; margin-right: 0.75rem;
  background: rgba(10, 15, 28, 0.15); transition: all 0.5s var(--ease); flex: none; }
.prompt-tab:hover { color: rgba(10, 15, 28, 0.75); }
.prompt-tab.active { color: rgba(10, 15, 28, 0.95); }
.prompt-tab.active .bar { width: 2rem; background: var(--gold-dark); }

.assistant-card {
  position: relative; border-radius: 1.5rem; border: 1px solid rgba(10, 15, 28, 0.08);
  background: var(--light-card); padding: 2.5rem; overflow: hidden;
  box-shadow: 0 4px 24px rgba(10, 15, 28, 0.05);
}
@media (min-width: 640px) { .assistant-card { padding: 3.5rem; } }
.assistant-card .glow {
  position: absolute; top: -8rem; right: -6rem; height: 16rem; width: 16rem;
  border-radius: 9999px; background: rgba(139, 111, 58, 0.1); filter: blur(100px); pointer-events: none;
}
.assistant-head { position: relative; display: flex; align-items: center; gap: 0.75rem;
  font-size: 0.65rem; text-transform: uppercase; letter-spacing: 0.4em; color: rgba(10, 15, 28, 0.5); }
.assistant-head svg { width: 0.875rem; height: 0.875rem; color: var(--gold-dark); }
.assistant-q { position: relative; margin-top: 2.5rem; }
.assistant-a { position: relative; margin-top: 2.5rem; border-top: 1px solid rgba(10, 15, 28, 0.1); padding-top: 2.5rem; }
.assistant-tag { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.35em; margin-bottom: 1rem; }
.assistant-q .assistant-tag { color: rgba(10, 15, 28, 0.5); }
.assistant-a .assistant-tag { color: var(--gold-dark); }
.assistant-question { font-family: var(--font-fraunces); font-style: italic; font-size: 1.5rem;
  color: rgba(10, 15, 28, 0.85); line-height: 1.35; }
@media (min-width: 640px) { .assistant-question { font-size: 1.875rem; } }
.assistant-answer { font-family: var(--font-fraunces); font-size: 2.25rem; color: var(--gold-dark);
  font-variant-numeric: tabular-nums; letter-spacing: -0.02em; line-height: 1.15; }
@media (min-width: 640px) { .assistant-answer { font-size: 3rem; } }
@media (min-width: 768px) { .assistant-answer { font-size: 3.75rem; } }
.assistant-context { margin-top: 1.5rem; max-width: 36rem; color: rgba(10, 15, 28, 0.7); font-size: 1rem; line-height: 1.7; }
.qfade { animation: quietFade 0.6s var(--ease) both; }
.afade { animation: quietFade 0.8s var(--ease) 0.15s both; }

/* ── Product beauty (dark tiles) ─────────────────────────────────────── */
.product-grid { margin-top: 6rem; display: grid; gap: 2.5rem; }
@media (min-width: 1024px) {
  .product-grid { grid-template-columns: repeat(12, 1fr); gap: 3.5rem; grid-auto-rows: minmax(0, auto); }
  .tile-0 { grid-column: span 6 / span 6; margin-top: 6rem; }
  .tile-1 { grid-column: span 6 / span 6; margin-top: -2rem; }
  .tile-2 { grid-column: span 7 / span 7; grid-column-start: 4; margin-top: 4rem; }
}
.dark-tile { position: relative; aspect-ratio: 4 / 3; border-radius: 1.5rem;
  border: 1px solid var(--border); background: var(--surface); padding: 2rem; overflow: hidden; }
.figcap { margin-top: 1.5rem; max-width: 24rem; }
.figcap .lbl { font-size: 0.65rem; font-weight: 500; text-transform: uppercase; letter-spacing: 0.4em; color: var(--gold); }
.figcap p { margin-top: 0.75rem; font-size: 1rem; line-height: 1.7; color: rgba(244, 239, 230, 0.7); }

.tile-eyebrow { font-size: 0.6rem; text-transform: uppercase; letter-spacing: 0.4em; color: rgba(244, 239, 230, 0.3); }
.tile-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 1.5rem; }
.tile-head .when { font-size: 0.75rem; color: rgba(244, 239, 230, 0.4); }
.tile-total { font-family: var(--font-fraunces); font-size: 3rem; color: var(--cream); font-variant-numeric: tabular-nums; }
.tile-delta { margin-top: 0.5rem; font-size: 0.875rem; color: var(--gold); }
.alloc { margin-top: 2rem; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.75rem; }
.alloc .cell { border-radius: 1rem; border: 1px solid var(--border); background: var(--surface-2); padding: 1rem 0.75rem; }
.alloc .cell .k { font-size: 0.6rem; text-transform: uppercase; letter-spacing: 0.3em; color: rgba(244, 239, 230, 0.4); }
.alloc .cell .v { margin-top: 0.5rem; font-family: var(--font-fraunces); color: var(--cream); }

.txn-list { display: flex; flex-direction: column; gap: 0.75rem; }
.txn { display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--border); padding-bottom: 0.75rem; }
.txn:last-child { border-bottom: none; }
.txn .name { font-size: 0.875rem; color: var(--cream); }
.txn .cat { font-size: 0.65rem; text-transform: uppercase; letter-spacing: 0.3em; color: rgba(244, 239, 230, 0.4); margin-top: 0.25rem; }
.txn .amt { font-family: var(--font-fraunces); font-variant-numeric: tabular-nums; color: var(--cream); }
.txn .amt.pos { color: var(--gold); }

.env-list { display: flex; flex-direction: column; gap: 1.25rem; }
.env .top { display: flex; align-items: baseline; justify-content: space-between; }
.env .top .k { font-size: 0.875rem; color: rgba(244, 239, 230, 0.8); }
.env .top .v { font-family: var(--font-fraunces); font-variant-numeric: tabular-nums; color: var(--cream); }
.env .track { margin-top: 0.5rem; height: 2px; width: 100%; background: var(--border); overflow: hidden; border-radius: 9999px; }
.env .fill { height: 100%; background: var(--gold); }

/* ── Benchmark (light) ───────────────────────────────────────────────── */
.chart-card { border-radius: 1.5rem; border: 1px solid var(--border); background: var(--surface); padding: 2rem; }
@media (min-width: 640px) { .chart-card { padding: 2.5rem; } }
.bench-meta { margin-top: 1.5rem; display: flex; flex-direction: column; align-items: flex-start; gap: 0.25rem; }
.bench-meta .k { font-size: 0.65rem; font-weight: 500; text-transform: uppercase; letter-spacing: 0.4em; color: rgba(244, 239, 230, 0.5); }
.bench-meta .v { font-family: var(--font-fraunces); font-size: 1.25rem; color: var(--cream); }
.metric-grid { margin-top: 2rem; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.metric { border-radius: 1rem; border: 1px solid var(--border); background: var(--surface-2); padding: 1.25rem; }
.metric .m { font-family: var(--font-fraunces); font-size: 1.875rem; color: var(--gold); font-variant-numeric: tabular-nums; }
@media (min-width: 640px) { .metric .m { font-size: 2.25rem; } }
.metric .l { margin-top: 0.5rem; font-size: 0.65rem; text-transform: uppercase; letter-spacing: 0.3em; color: rgba(244, 239, 230, 0.5); }
.note-faint { margin-top: 0.75rem; font-size: 0.75rem; color: rgba(10, 15, 28, 0.5); }

/* bell marker animation */
.bell-marker { transform: translate(-288px, -175.3px); transition: transform 1200ms var(--ease); }
[data-in-view="true"] .bell-marker { transform: translate(0, 0); }
@media (prefers-reduced-motion: reduce) { .bell-marker { transform: translate(0, 0); } }

/* ── Compound simulator (dark) ───────────────────────────────────────── */
.sim-card { margin-top: 5rem; border-radius: 1.5rem; border: 1px solid var(--border); background: var(--surface); padding: 2rem; }
@media (min-width: 640px) { .sim-card { padding: 3rem; } }
.sim-result-wrap { display: flex; flex-direction: column; align-items: center; gap: 1rem; }
.sim-result-label { font-size: 0.65rem; font-weight: 500; text-transform: uppercase; letter-spacing: 0.4em; color: rgba(244, 239, 230, 0.5); }
.sim-result { font-family: var(--font-fraunces); color: var(--gold); font-size: 3.75rem; font-variant-numeric: tabular-nums; letter-spacing: -0.03em; line-height: 1; }
@media (min-width: 640px) { .sim-result { font-size: 4.5rem; } }
@media (min-width: 768px) { .sim-result { font-size: 6rem; } }
.sim-chart { margin-top: 3rem; width: 100%; }
.sim-controls { margin-top: 2.5rem; display: grid; gap: 2rem; }
@media (min-width: 768px) { .sim-controls { grid-template-columns: 1fr 1fr; } }
.sim-ctrl { display: flex; flex-direction: column; gap: 0.75rem; }
.sim-ctrl .top { display: flex; align-items: baseline; justify-content: space-between; }
.sim-ctrl .top .k { font-size: 0.65rem; font-weight: 500; text-transform: uppercase; letter-spacing: 0.4em; color: rgba(244, 239, 230, 0.5); }
.sim-ctrl .top .v { font-family: var(--font-fraunces); font-size: 1.25rem; color: var(--gold); font-variant-numeric: tabular-nums; }
.sim-presets { margin-top: 2rem; display: flex; flex-wrap: wrap; gap: 0.75rem; }
.preset {
  cursor: pointer; border-radius: 9999px; border: 1px solid var(--border-2); background: var(--surface-2);
  padding: 0.5rem 1rem; font-size: 0.875rem; color: rgba(244, 239, 230, 0.8); transition: all 0.3s var(--ease);
}
.preset:hover { border-color: rgba(201, 169, 106, 0.4); color: var(--cream); }
.sim-disclaimer { margin-top: 1.5rem; font-size: 0.75rem; color: rgba(244, 239, 230, 0.4); line-height: 1.7; max-width: 42rem; }
.sim-cta { margin-top: 3rem; display: flex; justify-content: center; }

.avuru-range {
  -webkit-appearance: none; appearance: none; width: 100%; height: 2px;
  border-radius: 9999px; outline: none; cursor: pointer; background: var(--border-2);
}
.avuru-range::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none; width: 18px; height: 18px; border-radius: 9999px;
  background: #F4EFE6; border: 2px solid #C9A96A; box-shadow: 0 0 0 4px rgba(201, 169, 106, 0.12);
  cursor: grab; transition: box-shadow 200ms var(--ease);
}
.avuru-range::-webkit-slider-thumb:hover { box-shadow: 0 0 0 6px rgba(201, 169, 106, 0.22); }
.avuru-range::-webkit-slider-thumb:active { cursor: grabbing; }
.avuru-range::-moz-range-thumb { width: 18px; height: 18px; border-radius: 9999px; background: #F4EFE6; border: 2px solid #C9A96A; cursor: grab; }
.avuru-range:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 6px rgba(201, 169, 106, 0.35); }

/* ── Legacy / Security (light shared) ────────────────────────────────── */
.pillars { margin-top: 5rem; display: grid; gap: 2rem; }
@media (min-width: 768px) { .pillars { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .pillars { grid-template-columns: repeat(4, 1fr); } }
.pillar { display: flex; flex-direction: column; gap: 1.25rem; border-top: 1px solid rgba(10, 15, 28, 0.12); padding-top: 2rem; }
.pillar svg { width: 1.5rem; height: 1.5rem; color: var(--gold-dark); }
.pillar h3 { font-family: var(--font-fraunces); font-weight: 400; font-size: 1.25rem; color: var(--ink); line-height: 1.35; }
.pillar p { font-size: 0.875rem; line-height: 1.7; color: rgba(10, 15, 28, 0.7); }
.compliance { margin-top: 5rem; display: flex; flex-wrap: wrap; align-items: center; gap: 2.5rem; border-top: 1px solid rgba(10, 15, 28, 0.12); padding-top: 2.5rem; }
.compliance .lead { font-size: 0.65rem; text-transform: uppercase; letter-spacing: 0.4em; color: rgba(10, 15, 28, 0.55); }
.compliance .badges { display: flex; flex-wrap: wrap; align-items: center; gap: 2rem; opacity: 0.7; }
.compliance .badges span { font-family: var(--font-fraunces); font-size: 0.875rem; text-transform: uppercase; letter-spacing: 0.3em; color: rgba(10, 15, 28, 0.7); }

/* ── Social proof (dark) ─────────────────────────────────────────────── */
.quotes { margin-top: 4rem; display: grid; gap: 3rem; }
@media (min-width: 768px) { .quotes { grid-template-columns: repeat(3, 1fr); gap: 4rem; } }
.quote blockquote { font-family: var(--font-fraunces); font-style: italic; font-size: 1.25rem; color: var(--cream); line-height: 1.35; }
@media (min-width: 1024px) { .quote blockquote { font-size: 1.5rem; } }
.quote figcaption { margin-top: 2rem; font-size: 0.875rem; color: rgba(244, 239, 230, 0.6); line-height: 1.6; }
.quote .name { color: var(--cream); }
.quote .role { display: block; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.3em; color: rgba(244, 239, 230, 0.4); margin-top: 0.25rem; }

/* ── Final CTA (light) ───────────────────────────────────────────────── */
.final { position: relative; min-height: 100vh; display: flex; flex-direction: column; justify-content: center; overflow: hidden; background: var(--light); }
.final .inner { position: relative; z-index: 10; max-width: 72rem; margin-inline: auto; padding: 6rem 1rem; width: 100%; }
@media (min-width: 640px) { .final .inner { padding: 6rem 2rem; } }
@media (min-width: 1024px) { .final .inner { padding: 6rem 4rem; } }
.final .eyebrow { color: rgba(10, 15, 28, 0.55); }
.h-final { margin-top: 2.5rem; font-family: var(--font-fraunces); font-weight: 400; letter-spacing: -0.02em; line-height: 1.05; color: var(--ink); font-size: 3rem; }
@media (min-width: 640px) { .h-final { font-size: 4.5rem; } }
@media (min-width: 768px) { .h-final { font-size: 6rem; } }
@media (min-width: 1024px) { .h-final { font-size: 8rem; } }
@media (min-width: 1280px) { .h-final { font-size: 9rem; } }
.final-cta { margin-top: 4rem; display: flex; flex-direction: column; align-items: flex-start; gap: 1.5rem; }

/* ── Early access form (hybrid addition, matches aesthetic) ──────────── */
.early { background: var(--bg); }
.early .inner { max-width: 48rem; margin-inline: auto; text-align: center; }
.early .h-section { font-size: 2.25rem; }
@media (min-width: 768px) { .early .h-section { font-size: 3rem; } }
.early p.lead { margin-top: 1rem; color: rgba(244, 239, 230, 0.7); }
.early-form { margin-top: 2.5rem; display: flex; flex-wrap: wrap; gap: 0.75rem; justify-content: center; }
.early-form input[type="email"] {
  flex: 1; min-width: 260px; background: var(--surface); border: 1px solid var(--border-2);
  color: var(--cream); padding: 0 1.25rem; height: 3.5rem; border-radius: 9999px; font-size: 1rem;
  font-family: inherit; outline: none; transition: border-color 0.2s;
}
.early-form input[type="email"]:focus { border-color: var(--gold); }
.early-form input[type="email"]::placeholder { color: rgba(244, 239, 230, 0.4); }
.honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form-note { margin-top: 1rem; font-size: 0.75rem; color: rgba(244, 239, 230, 0.4); }
.form-success, .form-error { margin-top: 1rem; font-size: 0.875rem; display: none; }
.form-success { color: var(--gold); }
.form-error { color: #EF4444; }
.form-success.show, .form-error.show { display: block; }

/* ── Footer ──────────────────────────────────────────────────────────── */
.site-footer { position: relative; border-top: 1px solid var(--border); background: var(--footer); }
.site-footer .inner { padding: 5rem 0; }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 3rem; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: repeat(4, 1fr); } }
.footer-brand { display: flex; flex-direction: column; gap: 1.25rem; }
.footer-tag { font-size: 0.875rem; color: rgba(244, 239, 230, 0.7); max-width: 20rem; }
.footer-mail { font-size: 0.75rem; color: rgba(244, 239, 230, 0.5); transition: color 0.3s; }
.footer-mail:hover { color: var(--gold); }
.footer-col h3 { font-size: 0.65rem; font-weight: 500; text-transform: uppercase; letter-spacing: 0.4em; color: rgba(244, 239, 230, 0.5); }
.footer-col ul { margin-top: 1.25rem; display: flex; flex-direction: column; gap: 0.75rem; }
.footer-col a { font-size: 0.875rem; color: rgba(244, 239, 230, 0.7); transition: color 0.3s; }
.footer-col a:hover { color: var(--gold); }
.footer-bottom { margin-top: 4rem; display: flex; flex-direction: column; gap: 1rem; border-top: 1px solid var(--border); padding-top: 2rem; font-size: 0.75rem; color: rgba(244, 239, 230, 0.4); }
@media (min-width: 768px) { .footer-bottom { flex-direction: row; align-items: center; justify-content: space-between; } }
.footer-bottom .certs { display: flex; gap: 0.75rem; text-transform: uppercase; letter-spacing: 0.3em; }

/* ── Scroll reveal + draw animations ─────────────────────────────────── */
.reveal { opacity: 0; transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); will-change: opacity, transform; }
.reveal.up { transform: translateY(2rem); }
.reveal.left { transform: translateX(2rem); }
.reveal.right { transform: translateX(-2rem); }
.reveal.scale { transform: scale(0.95); }
.reveal.is-visible { opacity: 1; transform: none; }
.d-100 { transition-delay: 0.1s; }
.d-200 { transition-delay: 0.2s; }
.d-300 { transition-delay: 0.3s; }
.d-400 { transition-delay: 0.4s; }
.d-500 { transition-delay: 0.5s; }

@keyframes draw-path { from { stroke-dashoffset: var(--draw-length, 1000); } to { stroke-dashoffset: 0; } }
.draw-on-view { stroke-dasharray: var(--draw-length, 1000); stroke-dashoffset: var(--draw-length, 1000);
  animation: draw-path 1.6s var(--ease) forwards; animation-play-state: paused; }
[data-in-view="true"] .draw-on-view { animation-play-state: running; }

@keyframes quietFade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1 !important; transform: none !important; transition: none; }
  .draw-on-view { animation: none; stroke-dashoffset: 0; }
  .qfade, .afade { animation: none; }
}
