/* ============================================================================
   Chivua — brand stylesheet
   Palette from the official brand sheet:
     deep green #0d2a22 · gold #b7914d · stone #ded6cb · cream #f5f2eb · charcoal #353332
   Display: Playfair Display · Body: Montserrat
   "Built for a brighter tomorrow." Organic, elegant, growth-led.
   All on-color pairings checked for WCAG AA.
   ========================================================================== */

:root {
  color-scheme: light;

  /* Brand green */
  --green: #0f3b30;          /* primary — cream text ~11:1 */
  --green-dark: #0a2a22;     /* hover / pressed */
  --green-deep: #0d2a22;     /* brand deep green — dark panels & footer */
  --green-deeper: #081d17;   /* deepest */
  --green-tint: #e4ebe6;     /* soft fill */
  --green-glass: rgba(15, 59, 48, 0.08);

  /* Gold */
  --gold: #8c6d26;           /* AA-safe gold for small text on light (~4.6:1) */
  --gold-bright: #c6a04a;    /* vivid gold for dark backgrounds */
  --gold-tint: #efe7d6;
  --gold-fg: #ffffff;

  /* Surfaces — brand cream canvas */
  --canvas: #f5f2eb;
  --canvas-2: #efebe0;
  --surface: #ffffff;
  --surface-sunk: #f1eee6;

  /* Text — charcoal-green */
  --ink: #1e241f;            /* ~14:1 on cream */
  --ink-2: #585d53;          /* ~5.3:1 */
  --ink-3: #868a7e;          /* hints / placeholders */
  --on-dark: #f3f1ea;        /* cream text on green */
  --on-dark-2: #bdc7bd;      /* muted on green */

  /* Lines — stone */
  --line: #e4ded2;
  --line-strong: #cec7b7;

  /* Semantic */
  --success: #15803d;
  --danger: #b4452f;

  /* Shadows — soft, warm, layered */
  --sh-sm: 0 1px 2px rgba(45,40,24,.06), 0 1px 3px rgba(45,40,24,.08);
  --sh-md: 0 2px 4px rgba(45,40,24,.06), 0 4px 10px -2px rgba(45,40,24,.10);
  --sh-lg: 0 4px 6px -2px rgba(45,40,24,.05), 0 16px 28px -6px rgba(45,40,24,.13);
  --sh-xl: 0 10px 20px rgba(45,40,24,.10), 0 28px 56px -8px rgba(45,40,24,.18);

  /* Geometry */
  --r-sm: 6px; --r-md: 10px; --r-lg: 16px; --r-xl: 24px; --r-pill: 999px;
  --maxw: 1200px;
  --pad: clamp(20px, 5vw, 64px);
  --ease: cubic-bezier(.22,.61,.36,1);

  --font-display: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-body: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-label: 'Montserrat', sans-serif;
}

:root.dark {
  color-scheme: dark;
  --green: #86c2a6;          /* sage accent — readable on dark */
  --green-dark: #74b093;
  --green-deep: #0c110b;
  --green-deeper: #080d07;
  --green-tint: rgba(134,194,166,.14);
  --green-glass: rgba(134,194,166,.10);

  --gold: #d4ad5f;
  --gold-bright: #e0bd72;
  --gold-tint: rgba(212,173,95,.14);
  --gold-fg: #241a06;

  --canvas: #11150f;
  --canvas-2: #0c0f0a;
  --surface: #191e16;
  --surface-sunk: #1f251c;

  --ink: #e9ece3;
  --ink-2: #a2ab9c;
  --ink-3: #7e867a;
  --on-dark: #e9ece3;
  --on-dark-2: #a2ab9c;

  --line: #2c332a;
  --line-strong: #3c443a;

  --sh-sm: 0 1px 2px rgba(0,0,0,.35);
  --sh-md: 0 2px 12px rgba(0,0,0,.4);
  --sh-lg: 0 8px 24px rgba(0,0,0,.45);
  --sh-xl: 0 16px 48px rgba(0,0,0,.5);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  font-family: var(--font-body);
  background: var(--canvas);
  color: var(--ink);
  line-height: 1.65;
  font-size: 16px;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  transition: background .4s var(--ease), color .4s var(--ease);
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul { list-style: none; }
:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; border-radius: 3px; }

/* Skip link (a11y) */
.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 200;
  background: var(--green-deep); color: #fff; padding: .7rem 1.1rem; border-radius: 0 0 var(--r-md) 0;
  font-size: .9rem; font-weight: 600;
}
.skip-link:focus { left: 0; }

/* ---------- Typography ---------- */
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; line-height: 1.1; letter-spacing: -0.01em; color: var(--ink); }
h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); line-height: 1.04; }
h2 { font-size: clamp(2rem, 4vw, 3.1rem); }
h3 { font-size: clamp(1.3rem, 2vw, 1.65rem); }
.eyebrow {
  font-family: var(--font-label);
  font-size: .72rem; font-weight: 600;
  letter-spacing: .22em; text-transform: uppercase;
  color: var(--green);
  display: inline-flex; align-items: center; gap: .6rem;
}
:root.dark .eyebrow { color: var(--gold-bright); }
.eyebrow::before { content: ""; width: 26px; height: 1px; background: var(--gold); }
:root.dark .eyebrow::before { background: var(--gold-bright); }
.lead { font-size: clamp(1.02rem, 1.5vw, 1.22rem); color: var(--ink-2); max-width: 58ch; line-height: 1.7; }

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--pad); }
section { padding-block: clamp(72px, 11vw, 140px); position: relative; }
.section-head { max-width: 64ch; margin-bottom: clamp(40px, 6vw, 72px); }
.section-head .lead { margin-top: 1.25rem; }

/* ---------- Logo lockup ---------- */
.brand { display: inline-flex; align-items: center; gap: .6rem; }
.brand img { width: 36px; height: auto; }
.brand .wordmark {
  font-family: var(--font-display); font-weight: 600; font-size: 1.5rem;
  letter-spacing: .14em; color: var(--green-deep); text-transform: uppercase;
  padding-left: .08em;
}
:root.dark .brand .wordmark { color: var(--on-dark); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .55rem;
  padding: .85rem 1.6rem; border-radius: var(--r-pill);
  font-family: var(--font-label); font-weight: 600; font-size: .92rem; letter-spacing: .01em;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
  will-change: transform;
}
.btn svg { width: 17px; height: 17px; transition: transform .25s var(--ease); }
.btn-primary { background: var(--green); color: #fff; box-shadow: var(--sh-md); }
:root.dark .btn-primary { color: #0a1f19; }
.btn-primary:hover { transform: translateY(-2px); box-shadow: var(--sh-lg); background: var(--green-dark); }
.btn-primary:hover svg { transform: translateX(3px); }
.btn-ghost { background: transparent; color: var(--ink); border: 1px solid var(--line-strong); }
.btn-ghost:hover { border-color: var(--green); color: var(--green); transform: translateY(-2px); }
.btn-lg { padding: 1rem 1.9rem; font-size: 1rem; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  transition: background .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: color-mix(in srgb, var(--canvas) 85%, transparent);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom-color: var(--line);
  box-shadow: var(--sh-sm);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 78px; }
.nav-links { display: flex; align-items: center; gap: 2rem; }
.nav-links a { font-family: var(--font-label); font-size: .9rem; font-weight: 500; color: var(--ink-2); position: relative; transition: color .2s; }
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: -6px; height: 2px; width: 0;
  background: var(--gold); transition: width .3s var(--ease);
}
.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after { width: 100%; }
.nav-right { display: flex; align-items: center; gap: 1.1rem; }
.theme-toggle {
  width: 40px; height: 40px; border-radius: var(--r-pill);
  display: grid; place-items: center; color: var(--ink-2);
  border: 1px solid var(--line-strong); transition: all .25s var(--ease);
}
.theme-toggle:hover { color: var(--green); border-color: var(--green); transform: rotate(-15deg); }
.theme-toggle svg { width: 18px; height: 18px; }
.theme-toggle .moon { display: none; }
:root.dark .theme-toggle .sun { display: none; }
:root.dark .theme-toggle .moon { display: block; }
.nav-mobile { display: none; }
.hamburger { display: none; width: 40px; height: 40px; border-radius: var(--r-md); place-items: center; }
.hamburger span { display: block; width: 20px; height: 2px; background: var(--ink); border-radius: 2px; transition: .3s var(--ease); }
.hamburger span + span { margin-top: 5px; }

/* ---------- Hero ---------- */
.hero { padding-top: clamp(140px, 18vh, 200px); padding-bottom: clamp(60px, 9vw, 110px); overflow: hidden; }
.hero-bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.hero-bg::before {
  content: ""; position: absolute; width: 760px; height: 760px; right: -180px; top: -260px;
  background: radial-gradient(circle, var(--green-glass), transparent 68%); border-radius: 50%;
}
.hero-bg::after {
  content: ""; position: absolute; width: 520px; height: 520px; left: -160px; bottom: -220px;
  background: radial-gradient(circle, var(--gold-tint), transparent 70%); border-radius: 50%;
}
.hero-grid {
  position: absolute; inset: 0; z-index: -1; opacity: .5;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, #000 20%, transparent 75%);
}
.hero-inner { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 { margin: 1.4rem 0; }
.hero h1 em { font-style: italic; color: var(--green); }
:root.dark .hero h1 em { color: var(--gold-bright); }
.hero .lead { margin-bottom: 2.2rem; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; }
.hero-trust { display: flex; gap: 1.6rem; margin-top: 2.6rem; flex-wrap: wrap; }
.hero-trust div { display: flex; align-items: center; gap: .5rem; font-size: .82rem; color: var(--ink-2); font-weight: 500; }
.hero-trust svg { width: 16px; height: 16px; color: var(--green); }
:root.dark .hero-trust svg { color: var(--gold-bright); }

/* Hero visual — layered product card */
.hero-visual { position: relative; }
.device {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-xl); box-shadow: var(--sh-xl); padding: 1.4rem; position: relative; z-index: 2;
}
.device-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.1rem; }
.device-top .dot-row { display: flex; gap: .4rem; }
.device-top .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--line-strong); }
.device-top .tag { font-family: var(--font-label); font-size: .64rem; font-weight: 600; color: var(--ink-3); letter-spacing: .14em; }
.balance-card {
  background: linear-gradient(135deg, var(--green), var(--green-deep)); color: #fff;
  border-radius: var(--r-lg); padding: 1.3rem 1.4rem; margin-bottom: 1rem;
}
.balance-card .label { font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; opacity: .85; font-weight: 600; }
.balance-card .amt { font-family: var(--font-display); font-size: 2.1rem; font-weight: 600; margin-top: .3rem; }
.balance-card .amt small { font-size: .9rem; opacity: .75; font-family: var(--font-label); }
.balance-card .meta { display: flex; justify-content: space-between; margin-top: .9rem; font-size: .74rem; opacity: .9; }
.row-item { display: flex; align-items: center; gap: .8rem; padding: .7rem 0; border-top: 1px solid var(--line); }
.row-item:first-of-type { border-top: none; }
.row-ic { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; flex: none; background: var(--green-tint); color: var(--green); }
.row-ic.gold { background: var(--gold-tint); color: var(--gold); }
.row-ic svg { width: 17px; height: 17px; }
.row-meta { flex: 1; min-width: 0; }
.row-meta b { font-size: .88rem; font-weight: 600; display: block; }
.row-meta span { font-size: .74rem; color: var(--ink-3); }
.row-amt { font-family: var(--font-label); font-size: .84rem; font-weight: 600; }
.row-amt.pos { color: var(--success); }
.float-chip {
  position: absolute; z-index: 3; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-md); box-shadow: var(--sh-lg); padding: .7rem .9rem;
  display: flex; align-items: center; gap: .6rem; font-size: .78rem; font-weight: 600;
}
.float-chip svg { width: 18px; height: 18px; color: var(--green); }
.float-chip.tl { top: -22px; left: -26px; }
.float-chip.br { bottom: 28px; right: -34px; }
.float-chip small { color: var(--ink-3); font-weight: 400; display: block; font-size: .66rem; }

/* ---------- Trust ticker ---------- */
.ticker { border-block: 1px solid var(--line); background: var(--surface); padding-block: 2.2rem; }
.ticker .wrap { display: flex; align-items: center; gap: clamp(24px,5vw,64px); flex-wrap: wrap; justify-content: center; }
.ticker p { font-family: var(--font-label); font-size: .68rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-3); }
.ticker .items { display: flex; gap: clamp(28px,5vw,60px); flex-wrap: wrap; align-items: center; }
.ticker .items span { font-family: var(--font-display); font-weight: 600; font-size: 1.2rem; color: var(--ink-2); opacity: .75; }

/* ---------- Card grid ---------- */
.grid { display: grid; gap: clamp(18px, 2.4vw, 28px); }
.cols-2 { grid-template-columns: repeat(2, 1fr); }
.cols-3 { grid-template-columns: repeat(3, 1fr); }
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: clamp(1.5rem, 2.4vw, 2.1rem);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
  position: relative; overflow: hidden;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--sh-lg); border-color: var(--line-strong); }
.card-ic { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: var(--green-tint); color: var(--green); margin-bottom: 1.3rem; }
.card-ic svg { width: 24px; height: 24px; }
.card h3 { margin-bottom: .6rem; }
.card p { color: var(--ink-2); font-size: .95rem; }
.card .num { font-family: var(--font-label); font-size: .72rem; font-weight: 600; color: var(--gold); letter-spacing: .08em; position: absolute; top: 1.4rem; right: 1.5rem; }

/* ---------- Product (AlphaGLS) ---------- */
.product { background: var(--surface); border-block: 1px solid var(--line); }
.product-head { display: grid; grid-template-columns: 1fr auto; gap: 2rem; align-items: end; margin-bottom: clamp(40px,6vw,64px); }
.pill {
  display: inline-flex; align-items: center; gap: .5rem; padding: .4rem .9rem;
  background: var(--green-tint); color: var(--green); border-radius: var(--r-pill);
  font-family: var(--font-label); font-size: .68rem; font-weight: 600; letter-spacing: .1em; margin-bottom: 1rem;
}
.pill b { color: var(--gold); }
.feature-list { display: grid; gap: 0; }
.feature-row {
  display: grid; grid-template-columns: auto 1fr auto; gap: 1.4rem; align-items: center;
  padding: 1.5rem 0; border-top: 1px solid var(--line); transition: padding-left .3s var(--ease);
}
.feature-row:hover { padding-left: .6rem; }
.feature-row .fi { width: 48px; height: 48px; border-radius: 13px; display: grid; place-items: center; background: var(--surface-sunk); color: var(--green); flex: none; }
.feature-row:hover .fi { background: var(--green); color: #fff; }
:root.dark .feature-row:hover .fi { color: #0a1f19; }
.feature-row .fi svg { width: 22px; height: 22px; }
.feature-row h4 { font-family: var(--font-body); font-weight: 600; font-size: 1.1rem; letter-spacing: 0; }
.feature-row p { color: var(--ink-2); font-size: .9rem; margin-top: .2rem; }
.feature-row .arrow { color: var(--ink-3); opacity: 0; transform: translateX(-8px); transition: .3s var(--ease); }
.feature-row:hover .arrow { opacity: 1; transform: translateX(0); color: var(--green); }

/* ---------- Audience split ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(18px,2.4vw,28px); }
.aud { border-radius: var(--r-xl); padding: clamp(1.8rem, 3vw, 2.8rem); position: relative; overflow: hidden; border: 1px solid var(--line); }
.aud.banks { background: linear-gradient(160deg, var(--green-deep), var(--green-deeper)); color: var(--on-dark); border-color: transparent; }
.aud.saccos { background: var(--surface); }
.aud .k { font-family: var(--font-label); font-size: .68rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; opacity: .9; }
.aud.banks .k { color: var(--gold-bright); }
.aud.saccos .k { color: var(--green); }
.aud h3 { font-size: clamp(1.5rem,2.6vw,2.05rem); margin: .8rem 0 1rem; }
.aud.banks h3 { color: #fff; }
.aud > p { max-width: 42ch; margin-bottom: 1.6rem; }
.aud.banks > p { color: var(--on-dark-2); }
.aud.saccos > p { color: var(--ink-2); }
.aud ul { display: grid; gap: .85rem; }
.aud li { display: flex; gap: .7rem; font-size: .93rem; align-items: flex-start; }
.aud li svg { width: 18px; height: 18px; flex: none; margin-top: 3px; }
.aud.banks li svg { color: var(--gold-bright); }
.aud.saccos li svg { color: var(--green); }
.aud.banks li { color: var(--on-dark); }
.aud-glow { position: absolute; width: 300px; height: 300px; border-radius: 50%; right: -120px; top: -120px; background: radial-gradient(circle, rgba(198,160,74,.3), transparent 70%); }

/* ---------- Security strip ---------- */
.security { background: linear-gradient(165deg, var(--green-deep), var(--green-deeper)); color: var(--on-dark); }
.security h2, .security h3 { color: #fff; }
.security .lead { color: var(--on-dark-2); }
.security .eyebrow { color: var(--gold-bright); }
.security .eyebrow::before { background: var(--gold-bright); }
.sec-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.08); border-radius: var(--r-lg); overflow: hidden; margin-top: 3rem; }
.sec-item { background: var(--green-deep); padding: clamp(1.6rem,2.6vw,2.2rem); transition: background .3s var(--ease); }
.sec-item:hover { background: var(--green-deeper); }
.sec-item .ci { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: rgba(198,160,74,.16); color: var(--gold-bright); margin-bottom: 1rem; }
.sec-item .ci svg { width: 21px; height: 21px; }
.sec-item h3 { font-family: var(--font-body); font-size: 1.06rem; font-weight: 600; letter-spacing: 0; margin-bottom: .4rem; }
.sec-item p { color: var(--on-dark-2); font-size: .89rem; }

/* ---------- Architecture ---------- */
.arch-stack { display: grid; gap: 1.2rem; margin-top: 3rem; }
.arch-layer {
  border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface);
  padding: clamp(1.3rem,2.4vw,1.8rem) clamp(1.4rem,2.6vw,2rem);
  display: grid; grid-template-columns: 220px 1fr; gap: 1.5rem; align-items: center; position: relative;
}
.arch-layer .lk { font-family: var(--font-label); font-size: .68rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--green); }
.arch-layer h3 { font-family: var(--font-body); font-size: 1.15rem; font-weight: 600; letter-spacing: 0; margin-top: .3rem; }
.arch-layer .chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.arch-layer .chips span { font-family: var(--font-label); font-size: .76rem; font-weight: 500; padding: .35rem .8rem; background: var(--surface-sunk); border: 1px solid var(--line); border-radius: var(--r-pill); color: var(--ink-2); }
.arch-connect { height: 20px; display: grid; place-items: center; }
.arch-connect svg { width: 20px; height: 20px; color: var(--line-strong); }
.arch-layer.accent { background: linear-gradient(135deg, var(--green), var(--green-dark)); border-color: transparent; }
.arch-layer.accent .lk { color: rgba(255,255,255,.8); }
:root.dark .arch-layer.accent .lk { color: rgba(10,31,25,.75); }
.arch-layer.accent h3 { color: #fff; }
:root.dark .arch-layer.accent h3 { color: #0a1f19; }
.arch-layer.accent .chips span { background: rgba(255,255,255,.14); border-color: rgba(255,255,255,.2); color: #fff; }
:root.dark .arch-layer.accent .chips span { color: #0a1f19; background: rgba(10,31,25,.12); border-color: rgba(10,31,25,.2); }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4,1fr); gap: clamp(18px,2.4vw,28px); }
.stat .n { font-family: var(--font-display); font-size: clamp(2.5rem,4.5vw,3.5rem); font-weight: 600; color: var(--green); line-height: 1; letter-spacing: -.02em; }
:root.dark .stat .n { color: var(--gold-bright); }
.stat .n small { font-size: .5em; color: var(--gold); }
:root.dark .stat .n small { color: var(--on-dark-2); }
.stat .l { color: var(--ink-2); font-size: .9rem; margin-top: .6rem; }

/* ---------- CTA band ---------- */
.cta-box {
  background: linear-gradient(135deg, var(--green-deep), var(--green-deeper));
  border-radius: var(--r-xl); padding: clamp(2.4rem,6vw,4.5rem); text-align: center; position: relative; overflow: hidden;
}
.cta-box::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.04) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.04) 1px,transparent 1px); background-size: 40px 40px; mask-image: radial-gradient(ellipse 70% 100% at 50% 0,#000,transparent 70%); }
.cta-box h2 { color: #fff; position: relative; }
.cta-box p { color: var(--on-dark-2); max-width: 52ch; margin: 1.2rem auto 2rem; position: relative; }
.cta-box .hero-cta { justify-content: center; position: relative; }
.cta-box .btn-ghost { color: #fff; border-color: rgba(255,255,255,.3); }
.cta-box .btn-ghost:hover { border-color: var(--gold-bright); color: var(--gold-bright); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px,5vw,64px); }
.contact-info .ci-item { display: flex; gap: 1rem; padding: 1.1rem 0; border-top: 1px solid var(--line); }
.contact-info .ci-item:first-child { border-top: none; }
.contact-info .ci-ic { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--green-tint); color: var(--green); flex: none; }
.contact-info .ci-ic svg { width: 20px; height: 20px; }
.contact-info b { display: block; font-family: var(--font-label); font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; color: var(--ink-3); font-weight: 600; margin-bottom: .25rem; }
.contact-info a, .contact-info p { color: var(--ink); font-size: 1rem; }
.contact-info a:hover { color: var(--green); }
form.card { padding: clamp(1.6rem,3vw,2.4rem); }
.field { margin-bottom: 1.1rem; }
.field label { display: block; font-family: var(--font-label); font-size: .8rem; font-weight: 600; margin-bottom: .45rem; color: var(--ink-2); }
.field input, .field textarea, .field select {
  width: 100%; padding: .85rem 1rem; border-radius: var(--r-md);
  border: 1px solid var(--line-strong); background: var(--surface-sunk); color: var(--ink);
  font: inherit; font-size: .94rem; transition: border-color .2s, box-shadow .2s, background .2s;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 3px var(--green-glass); background: var(--surface); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.form-note { font-size: .8rem; color: var(--ink-3); margin-top: 1rem; }
.form-ok { display: none; padding: 1rem 1.2rem; background: var(--green-tint); color: var(--green); border-radius: var(--r-md); font-weight: 600; font-size: .92rem; margin-top: 1rem; }
.form-ok.show { display: block; }
.form-ok.err { background: rgba(180,69,47,.12); color: var(--danger); }
:root.dark .form-ok.err { background: rgba(242,139,130,.14); }

/* ---------- Footer ---------- */
.site-footer { background: var(--green-deep); color: var(--on-dark-2); padding-block: clamp(56px,7vw,80px) 2rem; }
.footer-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: clamp(24px,4vw,48px); padding-bottom: 3rem; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer-brand .brand { padding: .5rem .8rem .5rem .5rem; background: var(--canvas); border-radius: var(--r-pill); }
.footer-brand .brand .wordmark { color: var(--green-deep); }
.footer-brand .tagline { font-family: var(--font-display); font-style: italic; color: var(--gold-bright); margin: 1.1rem 0 .4rem; font-size: 1.02rem; }
.footer-brand p { max-width: 34ch; margin-bottom: 1.6rem; font-size: .92rem; }
.footer-social { display: flex; gap: .7rem; }
.footer-social a { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.15); transition: .25s var(--ease); }
.footer-social a:hover { background: var(--gold-bright); border-color: var(--gold-bright); color: var(--green-deep); transform: translateY(-3px); }
.footer-social svg { width: 17px; height: 17px; }
.footer-col h4 { font-family: var(--font-label); font-size: .78rem; text-transform: uppercase; letter-spacing: .12em; color: #fff; margin-bottom: 1.2rem; font-weight: 600; }
.footer-col ul { display: grid; gap: .7rem; }
.footer-col a { font-size: .91rem; transition: color .2s; }
.footer-col a:hover { color: var(--gold-bright); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 2rem; font-size: .84rem; flex-wrap: wrap; gap: 1rem; }
.footer-bottom .made { font-family: var(--font-label); font-size: .76rem; letter-spacing: .03em; }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-d="1"] { transition-delay: .08s; }
.reveal[data-d="2"] { transition-delay: .16s; }
.reveal[data-d="3"] { transition-delay: .24s; }
.reveal[data-d="4"] { transition-delay: .32s; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { max-width: 440px; margin-top: 1rem; }
  .arch-layer { grid-template-columns: 1fr; gap: .8rem; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 820px) {
  .cols-3, .sec-grid, .stats { grid-template-columns: 1fr 1fr; }
  .split, .cols-2, .contact-grid, .product-head { grid-template-columns: 1fr; }
  .product-head { align-items: start; }
  .nav-links, .nav .btn-primary { display: none; }
  .hamburger { display: grid; }
  .nav-mobile {
    position: fixed; inset: 78px 0 auto 0; background: var(--canvas);
    border-bottom: 1px solid var(--line); box-shadow: var(--sh-lg);
    display: grid; gap: .3rem; padding: 1.2rem var(--pad) 1.8rem;
    transform: translateY(-120%); transition: transform .4s var(--ease); z-index: 90;
  }
  .nav-mobile.open { transform: translateY(0); }
  .nav-mobile a { padding: .8rem 0; border-bottom: 1px solid var(--line); font-weight: 500; font-family: var(--font-label); }
  .nav-mobile .btn { margin-top: 1rem; justify-content: center; }
  body.nav-open .hamburger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  body.nav-open .hamburger span:nth-child(2) { opacity: 0; }
  body.nav-open .hamburger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}
@media (max-width: 560px) {
  .cols-3, .sec-grid, .stats, .field-row { grid-template-columns: 1fr; }
  .float-chip { display: none; }
  .footer-top, .footer-bottom { grid-template-columns: 1fr; text-align: left; }
  .hero-trust { gap: 1rem; }
}
