/* ═══════════════════════════════════════════════════════════
   EMA Labs — Kurumsal site
   Marka paleti Kasam'dan türetildi: yeşil / krem / altın, Geist tipografi
   ═══════════════════════════════════════════════════════════ */

:root {
  /* Brand */
  --green:       #3E7A58;
  --green-deep:  #2D5940;
  --green-900:   #1B3328;
  --green-950:   #122319;
  --gold:        #D4A017;
  --gold-bright: #E5B533;
  --gold-soft:   rgba(212, 160, 23, 0.14);

  /* Surfaces */
  --cream:    #FDFAF5;
  --cream-2:  #F4EFE2;
  --sand:     #EBE0CB;
  --surface:  #FFFFFF;
  --surface-2:#FAF6EC;

  /* Ink */
  --ink:    #1F3328;
  --ink-2:  #4A5F52;
  --ink-3:  #8B9A91;
  --on-green: #FDFAF5;

  /* Lines */
  --line:   rgba(45, 89, 64, 0.10);
  --line-2: rgba(45, 89, 64, 0.18);

  /* Up / down */
  --up:   #3E7A58;
  --up-bright: #A8DCBD;
  --down: #B0533A;

  /* Radii */
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-xl: 32px;

  /* Type */
  --font: 'Geist', system-ui, -apple-system, sans-serif;
  --mono: 'Geist Mono', ui-monospace, monospace;

  /* Layout */
  --maxw: 1200px;
  --gutter: clamp(20px, 5vw, 64px);

  /* Shadow */
  --shadow-card: 0 1px 2px rgba(20,40,25,0.04), 0 12px 32px rgba(20,40,25,0.06);
  --shadow-phone: 0 40px 80px -20px rgba(18,35,25,0.45), 0 20px 40px -16px rgba(18,35,25,0.30);
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font);
  background: var(--cream);
  color: var(--ink);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

.num { font-family: var(--mono); font-feature-settings: 'tnum' 1; letter-spacing: -0.02em; }

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

::selection { background: var(--gold-soft); color: var(--green-900); }

/* ─── Layout helpers ─────────────────────────────────────── */
.wrap { max-width: var(--maxw); margin: 0 auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(72px, 11vw, 140px); position: relative; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 12px; font-weight: 600; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--green);
}
.eyebrow::before {
  content: ''; width: 7px; height: 7px; border-radius: 999px;
  background: var(--gold); flex-shrink: 0;
}
.eyebrow.on-dark { color: var(--gold); }

h1, h2, h3 { line-height: 1.08; letter-spacing: -0.03em; font-weight: 600; text-wrap: balance; }

.section-title {
  font-size: clamp(30px, 4.6vw, 52px);
  margin-top: 18px;
  letter-spacing: -0.035em;
}
.section-lead {
  font-size: clamp(16px, 1.6vw, 19px);
  color: var(--ink-2);
  margin-top: 18px;
  max-width: 56ch;
  text-wrap: pretty;
  line-height: 1.6;
}

/* ─── Buttons ────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: inherit; font-size: 15px; font-weight: 600;
  padding: 14px 22px; border-radius: 999px; border: none;
  cursor: pointer; transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-gold { background: var(--gold); color: #1A1408; box-shadow: 0 8px 20px -6px rgba(212,160,23,0.5); }
.btn-gold:hover { background: var(--gold-bright); }
.btn-green { background: var(--green-deep); color: var(--on-green); }
.btn-green:hover { background: var(--green-900); }
.btn-ghost { background: transparent; color: var(--ink); border: 1px solid var(--line-2); }
.btn-ghost:hover { background: var(--surface-2); transform: none; border-color: var(--green); }
.btn-light { background: var(--cream); color: var(--green-900); }

/* App store badges */
.stores { display: flex; gap: 12px; flex-wrap: wrap; }
.store-badge {
  display: inline-flex; align-items: center; gap: 11px;
  padding: 11px 20px 11px 16px; border-radius: 14px;
  background: var(--green-900); color: var(--cream);
  transition: transform .18s ease, background .18s ease;
}
.store-badge:hover { transform: translateY(-2px); background: var(--green-950); }
.store-badge svg { width: 24px; height: 24px; flex-shrink: 0; }
.store-badge .sb-top { font-size: 10px; opacity: 0.75; letter-spacing: 0.04em; }
.store-badge .sb-main { font-size: 16px; font-weight: 600; letter-spacing: -0.01em; margin-top: -1px; }
.store-badge.on-cream { background: var(--green-deep); }

/* ═══════════════════════════════════════════════════════════
   NAVBAR
   ═══════════════════════════════════════════════════════════ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: background .3s ease, box-shadow .3s ease, border-color .3s ease;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(253, 250, 245, 0.82);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom-color: var(--line);
}
.nav-inner {
  max-width: var(--maxw); margin: 0 auto; padding: 16px var(--gutter);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.brand { display: flex; align-items: center; gap: 11px; font-weight: 600; }
.brand-mark {
  width: 36px; height: 36px; border-radius: 11px;
  background: var(--green-deep);
  display: grid; place-items: center;
  position: relative; overflow: hidden; flex-shrink: 0;
}
.brand-mark span {
  font-size: 17px; font-weight: 700; color: var(--cream); letter-spacing: -0.02em;
  position: relative; z-index: 1;
}
.brand-mark::after {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at 70% 20%, rgba(212,160,23,0.55), transparent 60%);
}
.brand-name { font-size: 17px; letter-spacing: -0.02em; }
.brand-name b { font-weight: 600; }
.brand-name .sub { color: var(--ink-3); font-weight: 500; }

.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a {
  font-size: 14px; font-weight: 500; color: var(--ink-2);
  padding: 9px 14px; border-radius: 999px; transition: color .15s, background .15s;
}
.nav-links a:hover { color: var(--ink); background: var(--surface-2); }
.nav-cta { display: flex; align-items: center; gap: 10px; }
.nav-toggle { display: none; }

/* ═══════════════════════════════════════════════════════════
   HERO
   ═══════════════════════════════════════════════════════════ */
.hero {
  position: relative;
  padding-top: clamp(130px, 16vw, 190px);
  padding-bottom: clamp(60px, 8vw, 110px);
  overflow: hidden;
}
.hero-bg-glow {
  position: absolute; top: -200px; right: -150px; width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(212,160,23,0.16) 0%, transparent 55%);
  pointer-events: none; z-index: 0;
}
.hero-grid {
  display: grid; grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(32px, 6vw, 72px); align-items: center;
  position: relative; z-index: 1;
}
.hero h1 {
  font-size: clamp(38px, 6.2vw, 76px);
  letter-spacing: -0.04em;
  line-height: 1.02;
}
.hero h1 .accent {
  background: linear-gradient(120deg, var(--green) 0%, var(--gold) 130%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-lead {
  font-size: clamp(17px, 1.9vw, 21px); color: var(--ink-2);
  margin-top: 26px; max-width: 50ch; line-height: 1.55; text-wrap: pretty;
}
.hero-actions { display: flex; align-items: center; gap: 14px; margin-top: 36px; flex-wrap: wrap; }
.hero-trust {
  display: flex; align-items: center; gap: 22px; margin-top: 38px;
  flex-wrap: wrap;
}
.hero-trust .ht-item { display: flex; flex-direction: column; }
.hero-trust .ht-num { font-size: 24px; font-weight: 600; letter-spacing: -0.03em; }
.hero-trust .ht-label { font-size: 12.5px; color: var(--ink-3); margin-top: 2px; }
.hero-trust .ht-div { width: 1px; height: 34px; background: var(--line-2); }
.hero-stars { display: flex; gap: 2px; color: var(--gold); }

.hero-phone-stage {
  position: relative;
  display: flex; justify-content: center; align-items: center;
  min-height: 560px;
}
.hero-phone-stage .phone { transform: rotate(-3deg); }
.hero-orbit {
  position: absolute; z-index: 3;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: 16px; padding: 12px 14px;
  box-shadow: var(--shadow-card);
  display: flex; align-items: center; gap: 10px;
}
.hero-orbit .oi-icon {
  width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; flex-shrink: 0;
}
.hero-orbit .oi-label { font-size: 11px; color: var(--ink-3); font-weight: 500; }
.hero-orbit .oi-val { font-size: 15px; font-weight: 600; margin-top: 1px; }
.orbit-1 { top: 8%; left: -4%; animation: floaty 6s ease-in-out infinite; }
.orbit-2 { bottom: 14%; right: -6%; animation: floaty 7s ease-in-out infinite 0.5s; }
.orbit-3 { top: 46%; right: -2%; animation: floaty 5.5s ease-in-out infinite 1s; }

@keyframes floaty {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

/* ═══════════════════════════════════════════════════════════
   STATS STRIP
   ═══════════════════════════════════════════════════════════ */
.stats {
  background: var(--green-deep);
  color: var(--on-green);
  position: relative; overflow: hidden;
}
.stats::before {
  content: ''; position: absolute; top: -120px; left: 10%; width: 460px; height: 460px;
  background: radial-gradient(circle, rgba(212,160,23,0.20), transparent 60%);
}
.stats-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: clamp(20px, 4vw, 48px); position: relative; z-index: 1;
}
.stat { text-align: left; }
.stat .stat-num {
  font-size: clamp(34px, 5vw, 58px); font-weight: 600; letter-spacing: -0.04em;
  line-height: 1; font-family: var(--mono);
}
.stat .stat-num .suffix { color: var(--gold); }
.stat .stat-label { font-size: 14px; opacity: 0.72; margin-top: 12px; line-height: 1.4; }

/* ═══════════════════════════════════════════════════════════
   FEATURES
   ═══════════════════════════════════════════════════════════ */
.features-head { max-width: 640px; }
.feature-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 18px; margin-top: 56px;
}
.feature-card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 30px 28px;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-card); border-color: var(--line-2); }
.feature-card.span-2 { grid-column: span 2; }
.fc-icon {
  width: 52px; height: 52px; border-radius: 15px;
  background: var(--gold-soft); border: 1px solid rgba(212,160,23,0.25);
  display: grid; place-items: center; color: var(--gold);
  margin-bottom: 22px;
}
.fc-icon.green { background: rgba(62,122,88,0.10); border-color: rgba(62,122,88,0.22); color: var(--green); }
.fc-title { font-size: 19px; font-weight: 600; letter-spacing: -0.02em; }
.fc-body { font-size: 14.5px; color: var(--ink-2); margin-top: 10px; line-height: 1.6; text-wrap: pretty; }
.fc-live {
  display: inline-flex; align-items: center; gap: 7px; margin-top: 18px;
  font-size: 11px; font-weight: 700; letter-spacing: 0.1em; color: var(--green-deep);
  background: rgba(62,122,88,0.08); padding: 5px 11px; border-radius: 999px;
}
.fc-live .dot {
  width: 7px; height: 7px; border-radius: 999px; background: var(--gold);
  animation: pulse 1.6s ease-out infinite;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(212,160,23,0.6); }
  70% { box-shadow: 0 0 0 6px rgba(212,160,23,0); }
  100% { box-shadow: 0 0 0 0 rgba(212,160,23,0); }
}

/* ═══════════════════════════════════════════════════════════
   SHOWCASE (telefon vitrini)
   ═══════════════════════════════════════════════════════════ */
.showcase { background: var(--cream-2); }
.showcase-head { text-align: center; max-width: 640px; margin: 0 auto; }
.showcase-head .section-lead { margin-inline: auto; }
.showcase-rail {
  display: flex; gap: clamp(28px, 5vw, 56px); justify-content: center;
  align-items: flex-end; margin-top: 64px; flex-wrap: wrap;
}
.showcase-item { display: flex; flex-direction: column; align-items: center; max-width: 300px; }
.showcase-item .phone { margin-bottom: 0; }
.showcase-item.raised { margin-bottom: 36px; }
.showcase-caption { text-align: center; margin-top: 28px; }
.showcase-caption .sc-title { font-size: 17px; font-weight: 600; }
.showcase-caption .sc-body { font-size: 13.5px; color: var(--ink-2); margin-top: 6px; line-height: 1.5; }

/* ═══════════════════════════════════════════════════════════
   PROCESS
   ═══════════════════════════════════════════════════════════ */
.process-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 56px;
}
.proc-step { position: relative; padding-top: 28px; }
.proc-step::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: var(--line); border-radius: 2px;
}
.proc-step.active::before { background: var(--gold); }
.proc-num {
  font-family: var(--mono); font-size: 13px; font-weight: 600; color: var(--green);
  letter-spacing: 0.05em;
}
.proc-title { font-size: 20px; font-weight: 600; margin-top: 14px; letter-spacing: -0.02em; }
.proc-body { font-size: 14.5px; color: var(--ink-2); margin-top: 10px; line-height: 1.6; }

/* ═══════════════════════════════════════════════════════════
   ABOUT
   ═══════════════════════════════════════════════════════════ */
.about { background: var(--green-900); color: var(--on-green); position: relative; overflow: hidden; }
.about::before {
  content: ''; position: absolute; bottom: -200px; right: -100px; width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(62,122,88,0.35), transparent 60%);
}
.about-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 90px);
  align-items: center; position: relative; z-index: 1;
}
.about h2 { font-size: clamp(30px, 4.4vw, 50px); letter-spacing: -0.035em; }
.about-lead { font-size: clamp(16px, 1.7vw, 19px); opacity: 0.78; margin-top: 22px; line-height: 1.65; text-wrap: pretty; }
.about-values { display: flex; flex-direction: column; gap: 2px; margin-top: 36px; }
.av-item {
  display: flex; gap: 18px; padding: 20px 0; border-top: 1px solid rgba(253,250,245,0.12);
}
.av-item:last-child { border-bottom: 1px solid rgba(253,250,245,0.12); }
.av-icon { color: var(--gold); flex-shrink: 0; margin-top: 2px; }
.av-title { font-size: 16px; font-weight: 600; }
.av-body { font-size: 14px; opacity: 0.7; margin-top: 5px; line-height: 1.55; }

/* Team */
.team { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.team-card {
  background: rgba(253,250,245,0.04); border: 1px solid rgba(253,250,245,0.10);
  border-radius: var(--r-md); padding: 22px;
}
.team-avatar {
  width: 52px; height: 52px; border-radius: 14px;
  display: grid; place-items: center; font-size: 18px; font-weight: 600;
  color: var(--green-900); margin-bottom: 16px;
}
.team-name { font-size: 16px; font-weight: 600; }
.team-role { font-size: 13px; opacity: 0.65; margin-top: 3px; }

/* ═══════════════════════════════════════════════════════════
   TESTIMONIALS
   ═══════════════════════════════════════════════════════════ */
.testi-grid {
  columns: 3; column-gap: 18px; margin-top: 56px;
}
.testi-card {
  break-inside: avoid; margin-bottom: 18px;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 26px 26px 22px;
}
.testi-stars { display: flex; gap: 2px; color: var(--gold); margin-bottom: 16px; }
.testi-quote { font-size: 15.5px; line-height: 1.6; color: var(--ink); text-wrap: pretty; }
.testi-who { display: flex; align-items: center; gap: 12px; margin-top: 20px; }
.testi-av {
  width: 38px; height: 38px; border-radius: 999px; display: grid; place-items: center;
  font-size: 14px; font-weight: 600; color: var(--cream); flex-shrink: 0;
}
.testi-name { font-size: 14px; font-weight: 600; }
.testi-meta { font-size: 12px; color: var(--ink-3); margin-top: 1px; }

/* ═══════════════════════════════════════════════════════════
   CTA / CONTACT
   ═══════════════════════════════════════════════════════════ */
.cta {
  background: linear-gradient(155deg, var(--green-deep) 0%, var(--green-950) 100%);
  color: var(--on-green); border-radius: var(--r-xl);
  padding: clamp(48px, 7vw, 88px) clamp(32px, 6vw, 80px);
  position: relative; overflow: hidden; text-align: center;
}
.cta::before {
  content: ''; position: absolute; top: -150px; left: 50%; transform: translateX(-50%);
  width: 600px; height: 400px;
  background: radial-gradient(circle, rgba(212,160,23,0.22), transparent 60%);
}
.cta-inner { position: relative; z-index: 1; }
.cta h2 { font-size: clamp(30px, 4.8vw, 56px); letter-spacing: -0.035em; }
.cta-lead { font-size: clamp(16px, 1.7vw, 19px); opacity: 0.8; margin-top: 20px; max-width: 48ch; margin-inline: auto; line-height: 1.6; }
.cta-actions { display: flex; justify-content: center; gap: 14px; margin-top: 36px; flex-wrap: wrap; }
.cta-contact {
  margin-top: 40px; padding-top: 28px;
  border-top: 1px solid rgba(253,250,245,0.14);
  display: flex; justify-content: center; align-items: center; gap: 10px;
  font-size: 15px; opacity: 0.85; flex-wrap: wrap;
}
.cta-contact a { color: var(--gold); font-weight: 600; }
.cta-contact a:hover { text-decoration: underline; }

/* ═══════════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════════ */
.footer { padding-block: 56px; border-top: 1px solid var(--line); }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.footer-links { display: flex; gap: 24px; flex-wrap: wrap; }
.footer-links a { font-size: 14px; color: var(--ink-2); }
.footer-links a:hover { color: var(--ink); }
.footer-copy { font-size: 13px; color: var(--ink-3); }

/* ═══════════════════════════════════════════════════════════
   PHONE MOCKUP  (Kasam ekranı)
   ═══════════════════════════════════════════════════════════ */
.phone {
  width: 286px; flex-shrink: 0;
  background: #0E1A14; border-radius: 44px; padding: 11px;
  box-shadow: var(--shadow-phone);
  position: relative;
}
.phone-screen {
  background: var(--cream); border-radius: 34px; overflow: hidden;
  position: relative; height: 600px;
  display: flex; flex-direction: column;
}
.phone-notch {
  position: absolute; top: 11px; left: 50%; transform: translateX(-50%);
  width: 96px; height: 26px; background: #0E1A14; border-radius: 999px; z-index: 30;
}

/* Kasam screen — scoped */
.ks { font-family: var(--font); color: var(--ink); display: flex; flex-direction: column; height: 100%; background: var(--cream); }
.ks * { box-sizing: border-box; }
.ks-status {
  display: flex; justify-content: space-between; align-items: center;
  padding: 14px 22px 4px; font-size: 12px; font-weight: 600; color: var(--ink);
}
.ks-status .sr { display: flex; align-items: center; gap: 5px; }
.ks-top {
  display: flex; justify-content: space-between; align-items: center;
  padding: 10px 16px 12px; flex-shrink: 0;
}
.ks-ava {
  width: 36px; height: 36px; border-radius: 11px; background: var(--green);
  border: 1.5px solid var(--green-deep); color: var(--cream);
  display: grid; place-items: center; font-weight: 700; font-size: 14px;
}
.ks-date { font-size: 9.5px; color: var(--ink-3); letter-spacing: 0.06em; text-transform: uppercase; font-weight: 600; }
.ks-hi { font-size: 14px; font-weight: 600; margin-top: 1px; }
.ks-editbtn {
  width: 32px; height: 32px; border-radius: 999px; border: 1px solid var(--line-2);
  display: grid; place-items: center; color: var(--ink-2); background: transparent;
}
.ks-scroll { flex: 1; overflow: hidden; padding: 2px 14px 14px; display: flex; flex-direction: column; gap: 11px; }

/* Hero card */
.ks-hero {
  background: var(--green-deep); color: var(--cream);
  border-radius: 20px; padding: 18px 18px 16px; position: relative; overflow: hidden;
}
.ks-hero .glow {
  position: absolute; top: -50px; right: -50px; width: 160px; height: 160px;
  background: radial-gradient(circle, rgba(212,160,23,0.30), transparent 62%);
}
.ks-eye { display: flex; align-items: center; gap: 7px; font-size: 9.5px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; opacity: 0.78; }
.ks-eye::before { content: ''; width: 5px; height: 5px; border-radius: 999px; background: var(--gold); }
.ks-total { font-size: 30px; font-weight: 600; letter-spacing: -0.03em; margin-top: 7px; line-height: 1; }
.ks-total .dec { opacity: 0.5; }
.ks-hdiv { height: 1px; background: rgba(253,250,245,0.13); margin: 14px 0 11px; }
.ks-stats3 { display: grid; grid-template-columns: 1.1fr .95fr .95fr; gap: 8px; }
.ks-st-l { font-size: 8.5px; opacity: 0.62; text-transform: uppercase; letter-spacing: 0.06em; font-weight: 600; }
.ks-st-v { font-size: 14px; font-weight: 600; margin-top: 3px; letter-spacing: -0.02em; }
.ks-st-v.pos { color: var(--up-bright); }
.ks-st-s { font-size: 9.5px; margin-top: 1px; opacity: 0.55; }
.ks-st-s.pos { color: var(--up-bright); opacity: 0.9; }
.ks-spark-wrap { margin: 11px -6px 0; }

/* Period chips */
.ks-periods { display: flex; gap: 3px; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 5px; }
.ks-periods button {
  flex: 1; padding: 8px 0; border-radius: 11px; border: none; background: transparent;
  font-size: 11px; font-weight: 600; color: var(--ink-2); font-family: inherit; cursor: pointer;
}
.ks-periods button.on { background: var(--green-deep); color: var(--cream); }

/* Top performer (gold) */
.ks-card { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; }
.ks-gold { background: linear-gradient(135deg, rgba(212,160,23,0.16), rgba(212,160,23,0.05)); border: 1px solid rgba(212,160,23,0.28); border-radius: 18px; padding: 14px 15px; }
.ks-tp-row { display: flex; align-items: center; gap: 11px; }
.ks-tp-badge { width: 40px; height: 40px; border-radius: 13px; background: var(--gold); display: grid; place-items: center; flex-shrink: 0; }
.ks-tp-eye { font-size: 9px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--gold); }
.ks-tp-name { font-size: 14px; font-weight: 600; margin-top: 2px; }
.ks-tp-pct { font-size: 17px; font-weight: 600; color: var(--up); letter-spacing: -0.02em; font-family: var(--mono); }
.ks-tp-val { font-size: 10px; color: var(--ink-3); }

/* Allocation */
.ks-sec-head { display: flex; justify-content: space-between; align-items: baseline; }
.ks-sec-title { font-size: 13px; font-weight: 600; }
.ks-sec-link { font-size: 11px; color: var(--green); font-weight: 600; }
.ks-alloc-pad { padding: 14px 15px; }
.ks-bar { display: flex; height: 9px; border-radius: 5px; overflow: hidden; gap: 2px; margin-top: 12px; }
.ks-legend { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 13px; }
.ks-chip { display: flex; align-items: center; gap: 5px; padding: 4px 9px; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--line); }
.ks-chip .sw { width: 6px; height: 6px; border-radius: 2px; }
.ks-chip .nm { font-size: 10px; color: var(--ink-2); }
.ks-chip .pc { font-size: 10px; font-weight: 600; font-family: var(--mono); }

/* Holdings */
.ks-hold-head { padding: 12px 15px 8px; display: flex; justify-content: space-between; align-items: baseline; }
.ks-hold-row { display: flex; align-items: center; gap: 10px; padding: 10px 15px; border-top: 1px solid var(--line); }
.ks-hold-ic { width: 30px; height: 30px; border-radius: 9px; background: var(--surface-2); border: 1px solid var(--line); display: grid; place-items: center; flex-shrink: 0; }
.ks-hold-ic .sw { width: 7px; height: 7px; border-radius: 2px; }
.ks-hold-nm { font-size: 12px; font-weight: 600; }
.ks-hold-qty { font-size: 10px; color: var(--ink-3); margin-top: 1px; }
.ks-hold-val { font-size: 12px; font-weight: 600; font-family: var(--mono); text-align: right; }
.ks-hold-ch { font-size: 10px; font-weight: 600; font-family: var(--mono); text-align: right; }

/* Empty welcome hero */
.ks-welcome-cta {
  margin-top: 14px; width: 100%; background: var(--gold); color: #1A1408;
  border: none; border-radius: 13px; padding: 13px; font-size: 13px; font-weight: 700;
  font-family: inherit; display: flex; align-items: center; justify-content: center; gap: 7px;
}
.ks-quick-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; }
.ks-quick {
  background: var(--surface); border: 1px solid var(--line); border-radius: 13px;
  padding: 11px; display: flex; align-items: center; gap: 9px;
}
.ks-quick .qi { width: 28px; height: 28px; border-radius: 9px; background: var(--surface-2); border: 1px solid var(--line); display: grid; place-items: center; flex-shrink: 0; }
.ks-quick .qi .sw { width: 9px; height: 9px; border-radius: 3px; }
.ks-quick .qn { font-size: 11px; font-weight: 600; }
.ks-quick .qh { font-size: 10px; color: var(--ink-3); font-family: var(--mono); margin-top: 1px; }
.ks-quick .qadd { margin-left: auto; width: 20px; height: 20px; border-radius: 999px; background: var(--green-deep); color: var(--cream); display: grid; place-items: center; flex-shrink: 0; }

/* live badge inside screen */
.ks-live { display: inline-flex; align-items: center; gap: 5px; font-size: 9px; font-weight: 700; letter-spacing: 0.1em; color: var(--green-deep); background: rgba(62,122,88,0.08); padding: 3px 8px; border-radius: 999px; }
.ks-live .d { width: 5px; height: 5px; border-radius: 999px; background: var(--gold); animation: pulse 1.6s ease-out infinite; }

/* Bottom nav */
.ks-nav {
  display: flex; justify-content: space-around; align-items: center;
  padding: 9px 8px 14px; border-top: 1px solid var(--line); background: var(--cream); flex-shrink: 0;
}
.ks-nav-item { display: flex; flex-direction: column; align-items: center; gap: 4px; color: var(--ink-3); }
.ks-nav-item.on { color: var(--green); }
.ks-nav-item .lbl { font-size: 9px; font-weight: 600; }
.ks-nav-item.on .ic { background: rgba(62,122,88,0.12); }
.ks-nav-item .ic { width: 34px; height: 26px; border-radius: 9px; display: grid; place-items: center; }

/* ═══════════════════════════════════════════════════════════
   LEGAL + CONTACT SUBPAGES
   ═══════════════════════════════════════════════════════════ */
.subhead {
  padding-top: clamp(120px, 15vw, 170px);
  padding-bottom: clamp(36px, 5vw, 56px);
  position: relative; overflow: hidden;
}
.subhead::before {
  content: ''; position: absolute; top: -180px; right: -120px; width: 560px; height: 560px;
  background: radial-gradient(circle, rgba(212,160,23,0.13), transparent 58%);
  pointer-events: none;
}
.subhead .crumb {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; color: var(--ink-3); font-weight: 500; margin-bottom: 18px;
}
.subhead .crumb a { color: var(--green); font-weight: 600; }
.subhead .crumb a:hover { text-decoration: underline; }
.subhead h1 { font-size: clamp(34px, 5.4vw, 60px); letter-spacing: -0.04em; }
.subhead .sub-meta {
  display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 22px;
  font-size: 14px; color: var(--ink-2);
}
.subhead .sub-meta b { color: var(--ink); font-weight: 600; }
.subhead .sub-meta .sep { color: var(--line-2); }

/* Legal body */
.legal { padding-bottom: clamp(72px, 10vw, 130px); }
.legal-doc {
  max-width: 760px;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: clamp(28px, 5vw, 56px);
  box-shadow: var(--shadow-card);
}
.legal-doc h2 {
  font-size: clamp(19px, 2.4vw, 24px); font-weight: 600; letter-spacing: -0.025em;
  margin-top: 40px; padding-top: 28px; border-top: 1px solid var(--line);
  display: flex; align-items: baseline; gap: 12px;
}
.legal-doc h2:first-child { margin-top: 0; padding-top: 0; border-top: none; }
.legal-doc h2 .n {
  font-family: var(--mono); font-size: 14px; font-weight: 600; color: var(--gold);
  letter-spacing: 0; flex-shrink: 0;
}
.legal-doc h3 {
  font-size: 15.5px; font-weight: 600; color: var(--green-deep);
  margin-top: 24px; letter-spacing: -0.01em;
}
.legal-doc p { font-size: 15.5px; line-height: 1.7; color: var(--ink-2); margin-top: 14px; text-wrap: pretty; }
.legal-doc p strong, .legal-doc li strong { color: var(--ink); font-weight: 600; }
.legal-doc ul { margin-top: 14px; padding-left: 4px; list-style: none; display: flex; flex-direction: column; gap: 9px; }
.legal-doc li {
  font-size: 15.5px; line-height: 1.6; color: var(--ink-2);
  position: relative; padding-left: 24px;
}
.legal-doc li::before {
  content: ''; position: absolute; left: 4px; top: 10px;
  width: 6px; height: 6px; border-radius: 2px; background: var(--gold);
}
.legal-doc .callout {
  background: var(--gold-soft); border: 1px solid rgba(212,160,23,0.28);
  border-radius: var(--r-md); padding: 16px 20px; margin-top: 18px;
  font-size: 15px; line-height: 1.6; color: var(--green-900);
}
.legal-doc .callout strong { color: var(--green-900); }
.legal-doc .contact-block {
  background: var(--surface-2); border: 1px solid var(--line);
  border-radius: var(--r-md); padding: 18px 22px; margin-top: 16px;
  font-size: 15.5px; line-height: 1.8;
}
.legal-doc .contact-block a { color: var(--green); font-weight: 600; }
.legal-doc .contact-block a:hover { text-decoration: underline; }

/* Contact page */
.contact-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 48px);
  align-items: start;
}
.contact-cards { display: flex; flex-direction: column; gap: 16px; }
.contact-card {
  display: flex; gap: 18px; align-items: flex-start;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 26px 28px;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.contact-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-card); border-color: var(--line-2); }
.contact-card .cc-icon {
  width: 50px; height: 50px; border-radius: 14px; flex-shrink: 0;
  background: var(--gold-soft); border: 1px solid rgba(212,160,23,0.25);
  display: grid; place-items: center; color: var(--gold);
}
.contact-card .cc-icon.green { background: rgba(62,122,88,0.10); border-color: rgba(62,122,88,0.22); color: var(--green); }
.contact-card .cc-label { font-size: 12.5px; color: var(--ink-3); font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; }
.contact-card .cc-main { font-size: 18px; font-weight: 600; margin-top: 4px; letter-spacing: -0.02em; }
.contact-card .cc-main a { color: var(--green); }
.contact-card .cc-main a:hover { text-decoration: underline; }
.contact-card .cc-sub { font-size: 14px; color: var(--ink-2); margin-top: 6px; line-height: 1.55; }

.contact-aside {
  background: var(--green-900); color: var(--on-green);
  border-radius: var(--r-lg); padding: clamp(28px, 4vw, 40px);
  position: relative; overflow: hidden;
}
.contact-aside::before {
  content: ''; position: absolute; bottom: -160px; right: -90px; width: 420px; height: 420px;
  background: radial-gradient(circle, rgba(212,160,23,0.22), transparent 60%);
}
.contact-aside > * { position: relative; z-index: 1; }
.contact-aside h2 { font-size: clamp(22px, 3vw, 30px); letter-spacing: -0.03em; }
.contact-aside p { font-size: 15.5px; opacity: 0.8; margin-top: 16px; line-height: 1.65; }
.contact-aside .ca-list { display: flex; flex-direction: column; gap: 2px; margin-top: 26px; }
.contact-aside .ca-row {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 16px 0; border-top: 1px solid rgba(253,250,245,0.12); font-size: 14.5px;
}
.contact-aside .ca-row:last-child { border-bottom: 1px solid rgba(253,250,245,0.12); }
.contact-aside .ca-row .k { opacity: 0.7; }
.contact-aside .ca-row .v { font-weight: 600; }
.contact-aside .ca-links { display: flex; gap: 12px; margin-top: 28px; flex-wrap: wrap; }

@media (max-width: 860px) {
  .contact-grid { grid-template-columns: 1fr; }
}

/* ─── Scroll reveal ─────────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s cubic-bezier(.16,1,.3,1), transform .7s cubic-bezier(.16,1,.3,1); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; }
.reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .orbit-1, .orbit-2, .orbit-3 { animation: none; }
  html { scroll-behavior: auto; }
}

/* ═══════════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════════ */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-phone-stage { min-height: 520px; margin-top: 16px; }
  .about-grid { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-card.span-2 { grid-column: span 2; }
  .testi-grid { columns: 2; }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); row-gap: 36px; }
}
@media (max-width: 720px) {
  .nav-links { display: none; }
  .nav-links.open {
    display: flex; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0;
    background: var(--cream); border-bottom: 1px solid var(--line); padding: 12px var(--gutter) 20px; gap: 4px;
  }
  .nav-links.open a { padding: 12px 14px; }
  .nav-toggle { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--line-2); background: transparent; cursor: pointer; }
  .nav .nav-cta .btn:not(.nav-toggle) { display: none; }
}
@media (max-width: 600px) {
  .feature-grid { grid-template-columns: 1fr; }
  .feature-card.span-2 { grid-column: span 1; }
  .testi-grid { columns: 1; }
  .process-grid { grid-template-columns: 1fr; }
  .hero-trust { gap: 16px; }
  .hero-trust .ht-div { display: none; }
}
