/* ===============================================
   invest.yocoge.com — Investment landing styles
   Brand DNA: YOCO Your Coffee dark theme
   =============================================== */

@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@400;500;600;700;800;900&family=JetBrains+Mono:wght@400;500;700&display=swap');

:root {
  /* Brand */
  --bg: #0a0a0a;
  --surface: #141414;
  --surface-elev: #1e1e1e;
  --surface-2: #252525;
  --primary: #f9c700;
  --primary-dark: #d4a800;
  --primary-glow: rgba(249, 199, 0, 0.18);
  --accent: #7c3ebe;
  --accent-glow: rgba(124, 62, 190, 0.25);
  --ink: #ffffff;
  --ink-muted: #888;
  --ink-soft: #c0c0c0;
  --border: #2a2a2a;
  --border-strong: #3a3a3a;
  --success: #2ecc71;

  /* Shape */
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 10px;

  /* Motion */
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);

  /* Type */
  --font-display: 'Nunito', 'Helvetica Neue', Arial, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, monospace;
}

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

html { scroll-behavior: smooth; overflow-x: hidden; }

body {
  font-family: var(--font-display);
  background: var(--bg);
  color: var(--ink);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  font-weight: 500;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

/* ---------- TYPOGRAPHY ---------- */
h1, h2, h3, h4 {
  font-weight: 900;
  line-height: 1.04;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
h1 { font-size: clamp(40px, 6vw, 88px); letter-spacing: -0.035em; }
h2 { font-size: clamp(30px, 4vw, 60px); letter-spacing: -0.025em; }
h3 { font-size: clamp(20px, 1.8vw, 28px); letter-spacing: -0.015em; }
h4 { font-size: 18px; }
p {
  line-height: 1.6;
  color: var(--ink-soft);
  font-size: 16px;
  font-weight: 500;
}

.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 40px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 24px;
  font-family: var(--font-mono);
}
.eyebrow::before {
  content: '';
  width: 24px;
  height: 1px;
  background: var(--primary);
}

.mono { font-family: var(--font-mono); }
.yellow { color: var(--primary); }
.muted { color: var(--ink-muted); }

/* ---------- NAV ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 900;
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
  background: rgba(10, 10, 10, 0.72);
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  border-bottom: 1px solid var(--border);
  transition: background 240ms var(--ease);
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 14px;
}
.nav-logo {
  height: 30px;
  width: auto;
  filter: invert(84%) sepia(68%) saturate(629%) hue-rotate(1deg) brightness(103%) contrast(103%);
}
.nav-divider {
  width: 1px;
  height: 22px;
  background: var(--border-strong);
}
.nav-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-muted);
}
.nav-tag b { color: var(--ink); font-weight: 800; }
.nav-links {
  display: flex;
  gap: 28px;
  list-style: none;
}
.nav-links a {
  font-size: 13px;
  font-weight: 700;
  color: var(--ink-muted);
  transition: color 160ms var(--ease);
}
.nav-links a:hover { color: var(--ink); }
.nav-right { display: flex; align-items: center; gap: 14px; }

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: var(--radius-xl);
  font-weight: 800;
  font-size: 14px;
  border: 1px solid transparent;
  transition: all 200ms var(--ease);
  white-space: nowrap;
  letter-spacing: -0.01em;
}
.btn-primary {
  background: var(--primary);
  color: #000;
  box-shadow: 0 0 0 0 var(--primary-glow);
}
.btn-primary:hover {
  background: #ffd740;
  box-shadow: 0 0 36px var(--primary-glow);
  transform: translateY(-1px);
}
.btn-primary:active { background: var(--primary-dark); transform: scale(0.97); }
.btn-ghost {
  background: rgba(255,255,255,0.03);
  color: var(--ink);
  border-color: var(--border-strong);
}
.btn-ghost:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: rgba(249, 199, 0, 0.04);
}
.btn-lg { padding: 18px 32px; font-size: 15px; }

.btn .arrow {
  display: inline-block;
  transition: transform 200ms var(--ease);
}
.btn:hover .arrow { transform: translateX(3px); }

/* ---------- SECTIONS ---------- */
section { padding: 110px 0; position: relative; }
.section-head {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 60px;
  max-width: 800px;
}
.section-head p { font-size: 18px; max-width: 640px; }

/* ---------- HERO ---------- */
#hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 140px 0 80px;
  position: relative;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 90% 60% at 80% 30%, rgba(249, 199, 0, 0.10) 0%, transparent 55%),
    radial-gradient(ellipse 60% 50% at 10% 80%, rgba(124, 62, 190, 0.10) 0%, transparent 55%);
}
.hero-grid {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse 70% 80% at 50% 40%, black 0%, transparent 90%);
}
.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 80px;
  align-items: center;
  width: 100%;
}
.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(249, 199, 0, 0.08);
  border: 1px solid rgba(249, 199, 0, 0.28);
  border-radius: 999px;
  padding: 8px 16px 8px 12px;
  font-size: 12px;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-family: var(--font-mono);
  margin-bottom: 28px;
}
.hero-tag::before {
  content: '';
  width: 8px; height: 8px;
  background: var(--primary);
  border-radius: 50%;
  box-shadow: 0 0 12px var(--primary);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.45; transform: scale(1.5); }
}

.hero-headline {
  font-size: clamp(44px, 6vw, 88px);
  font-weight: 900;
  line-height: 0.98;
  letter-spacing: -0.04em;
  margin-bottom: 28px;
}
.hero-headline .line { display: block; }
.hero-headline .line-sub {
  font-size: clamp(22px, 2.7vw, 40px);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-top: 10px;
  line-height: 1.05;
}
.hero-headline .yellow-underline {
  position: relative;
  display: inline-block;
}
.hero-headline .yellow-underline::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 8px;
  height: 14px;
  background: var(--primary);
  opacity: 0.22;
  border-radius: 2px;
  z-index: -1;
}

.hero-sub {
  font-size: 19px;
  line-height: 1.55;
  max-width: 540px;
  margin-bottom: 40px;
  color: var(--ink-soft);
}

.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-meta {
  margin-top: 56px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.hero-meta-item .v {
  font-size: 36px;
  font-weight: 900;
  color: var(--primary);
  line-height: 1;
  letter-spacing: -0.04em;
  font-feature-settings: 'tnum';
}
.hero-meta-item .l {
  font-size: 12px;
  color: var(--ink-muted);
  margin-top: 8px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-family: var(--font-mono);
}

/* Hero visual — number card */
.hero-visual {
  position: relative;
}
.hero-card {
  position: relative;
  background: linear-gradient(160deg, var(--surface-elev) 0%, var(--surface) 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 36px;
  box-shadow: 0 40px 80px rgba(0,0,0,0.5), 0 0 80px rgba(249,199,0,0.06);
  overflow: hidden;
}
.hero-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--primary), transparent);
  opacity: 0.5;
}
.hero-card-label {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.hero-card-label .live {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--success);
}
.hero-card-label .live::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--success);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--success);
  animation: pulse 1.6s infinite;
}
.hero-card-big {
  font-size: 88px;
  font-weight: 900;
  color: var(--primary);
  line-height: 0.92;
  letter-spacing: -0.05em;
  margin-bottom: 4px;
  font-feature-settings: 'tnum';
}
.hero-card-big sup {
  font-size: 32px;
  vertical-align: top;
  margin-left: 4px;
  margin-top: 12px;
  display: inline-block;
}
.hero-card-sub {
  font-size: 15px;
  color: var(--ink-soft);
  margin-bottom: 28px;
}
.hero-card-rows {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}
.hero-card-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 14px;
}
.hero-card-row .k {
  color: var(--ink-muted);
  font-weight: 600;
}
.hero-card-row .v {
  font-weight: 800;
  color: var(--ink);
  font-family: var(--font-mono);
}
.hero-card-row .v.success { color: var(--success); }

.hero-pill {
  position: absolute;
  background: var(--surface-elev);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 16px 40px rgba(0,0,0,0.5);
}
.hero-pill-1 { top: -16px; left: -28px; }
.hero-pill-2 { bottom: 36px; right: -32px; }
.hero-pill-ico {
  width: 32px; height: 32px;
  border-radius: 8px;
  background: rgba(249, 199, 0, 0.12);
  display: flex; align-items: center; justify-content: center;
  color: var(--primary);
}
.hero-pill-text {
  font-size: 12px;
  line-height: 1.3;
}
.hero-pill-text strong {
  display: block;
  font-weight: 800;
  color: var(--ink);
  font-size: 13px;
}
.hero-pill-text span {
  color: var(--ink-muted);
  font-weight: 600;
}

/* ---------- STATS BAR ---------- */
.stats-bar {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--surface);
  padding: 28px 0;
  position: relative;
  overflow: hidden;
}
.stats-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.stat-cell {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 0 8px;
  border-left: 1px solid var(--border);
}
.stat-cell:first-child { border-left: none; padding-left: 0; }
.stat-cell .v {
  font-size: 44px;
  font-weight: 900;
  color: var(--ink);
  line-height: 1;
  letter-spacing: -0.04em;
  font-feature-settings: 'tnum';
}
.stat-cell .v .accent { color: var(--primary); }
.stat-cell .l {
  font-size: 12px;
  color: var(--ink-muted);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-family: var(--font-mono);
}

/* ---------- TRACTION ---------- */
.traction-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 60px;
  align-items: center;
}
.traction-body p { font-size: 17px; margin-bottom: 18px; }
.traction-body p:last-child { margin-bottom: 0; }
.traction-body strong { color: var(--ink); font-weight: 800; }

.traction-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  position: relative;
  overflow: hidden;
}
.traction-card-title {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 24px;
}
.timeline {
  display: flex;
  flex-direction: column;
  gap: 24px;
  position: relative;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 11px; top: 8px; bottom: 8px;
  width: 1px;
  background: var(--border-strong);
}
.timeline-item {
  display: grid;
  grid-template-columns: 36px 1fr auto;
  gap: 16px;
  align-items: start;
  position: relative;
}
.timeline-dot {
  width: 24px; height: 24px;
  border-radius: 50%;
  border: 2px solid var(--border-strong);
  background: var(--surface);
  position: relative;
  z-index: 1;
}
.timeline-item.done .timeline-dot {
  background: var(--primary);
  border-color: var(--primary);
  box-shadow: 0 0 12px var(--primary-glow);
}
.timeline-item.now .timeline-dot {
  background: var(--surface);
  border-color: var(--primary);
}
.timeline-item.now .timeline-dot::after {
  content: '';
  position: absolute;
  inset: 4px;
  background: var(--primary);
  border-radius: 50%;
  animation: pulse 2s infinite;
}
.timeline-content .t { font-size: 15px; font-weight: 700; color: var(--ink); margin-bottom: 2px; }
.timeline-content .d { font-size: 13px; color: var(--ink-muted); }
.timeline-date {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  color: var(--ink-muted);
  letter-spacing: 0.05em;
  padding-top: 4px;
}

/* ---------- USE OF FUNDS ---------- */
#funds { background: var(--surface); }
.funds-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.fund-card {
  background: var(--surface-elev);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  position: relative;
  overflow: hidden;
  transition: transform 280ms var(--ease), border-color 280ms var(--ease);
}
.fund-card:hover {
  transform: translateY(-4px);
  border-color: rgba(249, 199, 0, 0.3);
}
.fund-num {
  position: absolute;
  bottom: -20px; right: 0;
  font-size: 180px;
  font-weight: 900;
  line-height: 0.7;
  color: var(--primary);
  opacity: 0.06;
  pointer-events: none;
  letter-spacing: -0.06em;
}
.fund-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: rgba(249, 199, 0, 0.1);
  border: 1px solid rgba(249, 199, 0, 0.2);
  display: flex; align-items: center; justify-content: center;
  color: var(--primary);
  margin-bottom: 24px;
}
.fund-card h3 { margin-bottom: 12px; font-size: 22px; }
.fund-card p { font-size: 14px; line-height: 1.6; }

/* ---------- CONDITIONS + CALCULATOR ---------- */
.cond-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 48px;
  align-items: start;
}

.cond-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.cond-item {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 20px;
  padding: 24px 0;
  border-bottom: 1px solid var(--border);
  align-items: start;
}
.cond-item:last-child { border-bottom: none; }
.cond-num {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  color: var(--ink-muted);
  letter-spacing: 0.04em;
  padding-top: 4px;
}
.cond-body .t {
  font-size: 18px;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 6px;
  letter-spacing: -0.01em;
}
.cond-body .t .big {
  font-size: 22px;
  color: var(--primary);
}
.cond-body .d {
  font-size: 14px;
  color: var(--ink-muted);
  line-height: 1.55;
}

/* Calculator */
.calc {
  background: linear-gradient(170deg, var(--surface-elev) 0%, var(--surface) 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 36px;
  position: sticky;
  top: 100px;
  box-shadow: 0 40px 80px rgba(0,0,0,0.4);
}
.calc-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
}
.calc-head h3 { font-size: 22px; }
.calc-head .tag {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--primary);
  background: rgba(249, 199, 0, 0.1);
  padding: 6px 10px;
  border-radius: 6px;
}
.calc-display {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px;
  margin-bottom: 24px;
  position: relative;
  overflow: hidden;
}
.calc-display::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--primary), transparent);
}
.calc-input-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 8px;
}
.calc-input {
  font-family: var(--font-display);
  font-size: 56px;
  font-weight: 900;
  letter-spacing: -0.04em;
  background: none;
  border: none;
  color: var(--ink);
  width: 100%;
  outline: none;
  font-feature-settings: 'tnum';
}
.calc-input::-webkit-outer-spin-button,
.calc-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.calc-input[type=number] { -moz-appearance: textfield; }
.calc-currency {
  font-size: 28px;
  font-weight: 800;
  color: var(--ink-muted);
}
.calc-label {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-muted);
}
.calc-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 6px;
  background: var(--border);
  border-radius: 999px;
  outline: none;
  margin: 24px 0 10px;
}
.calc-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 22px; height: 22px;
  background: var(--primary);
  border-radius: 50%;
  cursor: pointer;
  border: 3px solid var(--bg);
  box-shadow: 0 0 0 1px var(--primary), 0 0 16px var(--primary-glow);
  transition: transform 140ms var(--ease);
}
.calc-slider::-webkit-slider-thumb:hover { transform: scale(1.15); }
.calc-slider::-moz-range-thumb {
  width: 22px; height: 22px;
  background: var(--primary);
  border-radius: 50%;
  cursor: pointer;
  border: 3px solid var(--bg);
  box-shadow: 0 0 0 1px var(--primary), 0 0 16px var(--primary-glow);
}
.calc-slider-marks {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--ink-muted);
  font-weight: 700;
}
.calc-presets {
  display: flex;
  gap: 8px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}
.calc-preset {
  flex: 1;
  min-width: 70px;
  padding: 10px 12px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  color: var(--ink-soft);
  transition: all 160ms var(--ease);
}
.calc-preset:hover { border-color: var(--border-strong); color: var(--ink); }
.calc-preset.active {
  background: rgba(249, 199, 0, 0.08);
  border-color: var(--primary);
  color: var(--primary);
}

.calc-results {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.calc-result {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
}
.calc-result.primary {
  background: rgba(249, 199, 0, 0.06);
  border-color: rgba(249, 199, 0, 0.3);
}
.calc-result .k {
  font-size: 13px;
  font-weight: 700;
  color: var(--ink-muted);
}
.calc-result .v {
  font-family: var(--font-mono);
  font-weight: 800;
  font-size: 18px;
  color: var(--ink);
  font-feature-settings: 'tnum';
}
.calc-result.primary .v {
  color: var(--primary);
  font-size: 22px;
}
.calc-formula {
  margin-top: 18px;
  padding: 14px 16px;
  background: var(--bg);
  border-radius: 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ink-muted);
  border: 1px dashed var(--border-strong);
  text-align: center;
}
.calc-formula b { color: var(--primary); font-weight: 700; }
.calc-note {
  margin-top: 16px;
  font-size: 12px;
  color: var(--ink-muted);
  text-align: center;
  line-height: 1.55;
}

/* ---------- SAFETY ---------- */
#safety { background: var(--surface); position: relative; overflow: hidden; }
#safety::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 50% at 80% 20%, rgba(124, 62, 190, 0.08) 0%, transparent 60%);
  pointer-events: none;
}
.safety-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.safety-card {
  background: var(--surface-elev);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: border-color 280ms var(--ease);
  position: relative;
  overflow: hidden;
}
.safety-card:hover { border-color: var(--border-strong); }
.safety-card.featured {
  grid-column: span 2;
  background: linear-gradient(135deg, rgba(249, 199, 0, 0.08) 0%, rgba(124, 62, 190, 0.06) 100%);
  border-color: rgba(249, 199, 0, 0.3);
}
.safety-card.featured::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--primary), transparent);
}
.safety-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: rgba(249, 199, 0, 0.1);
  border: 1px solid rgba(249, 199, 0, 0.2);
  display: flex; align-items: center; justify-content: center;
  color: var(--primary);
  flex-shrink: 0;
}
.safety-card.featured .safety-icon {
  background: rgba(249, 199, 0, 0.15);
  width: 56px; height: 56px;
}
.safety-card h3 { font-size: 22px; margin-bottom: 0; }
.safety-card.featured h3 { font-size: 28px; }
.safety-card p { font-size: 14px; line-height: 1.6; }
.safety-card.featured p { font-size: 16px; max-width: 600px; }
.signatures {
  display: flex;
  gap: 20px;
  margin-top: 8px;
  flex-wrap: wrap;
}
.signature {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
}
.signature .name {
  font-weight: 800;
  color: var(--ink);
}
.signature .role {
  color: var(--ink-muted);
  font-size: 12px;
}
.signature-mark {
  font-family: 'Brush Script MT', cursive;
  font-style: italic;
  font-size: 24px;
  color: var(--primary);
  border-bottom: 1px solid var(--border-strong);
  padding-bottom: 2px;
}

/* ---------- TECH / FRONTFLOW ---------- */
.tech-inner {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 72px;
  align-items: center;
}
.tech-features {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 36px;
}
.tech-feat {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 16px;
  padding: 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  align-items: start;
}
.tech-feat-icon {
  width: 44px; height: 44px;
  border-radius: 10px;
  background: rgba(249, 199, 0, 0.08);
  display: flex; align-items: center; justify-content: center;
  color: var(--primary);
}
.tech-feat h4 { font-size: 15px; font-weight: 800; margin-bottom: 4px; }
.tech-feat p { font-size: 13px; line-height: 1.55; }

/* Dashboard mock */
.dashboard {
  background: #0d1117;
  border: 1px solid #21262d;
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: 0 40px 80px rgba(0,0,0,0.5);
  position: relative;
  overflow: hidden;
}
.dash-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 16px;
  border-bottom: 1px solid #21262d;
  margin-bottom: 20px;
}
.dash-bar-l { display: flex; align-items: center; gap: 10px; }
.dash-logo {
  width: 28px; height: 28px;
  background: var(--primary);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-weight: 900;
  font-size: 12px;
  color: #000;
}
.dash-title {
  font-size: 13px;
  font-weight: 800;
  color: #c9d1d9;
}
.dash-status {
  display: flex; align-items: center; gap: 6px;
  font-size: 11px;
  font-family: var(--font-mono);
  color: var(--success);
  font-weight: 700;
}
.dash-status::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--success);
  border-radius: 50%;
  box-shadow: 0 0 6px var(--success);
  animation: pulse 1.6s infinite;
}
.dash-kpis {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 20px;
}
.dash-kpi {
  padding: 14px;
  background: #161b22;
  border: 1px solid #21262d;
  border-radius: 10px;
}
.dash-kpi .kpi-l {
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #6e7681;
  font-family: var(--font-mono);
  margin-bottom: 6px;
  font-weight: 700;
}
.dash-kpi .kpi-v {
  font-size: 22px;
  font-weight: 900;
  color: #fff;
  letter-spacing: -0.02em;
  font-feature-settings: 'tnum';
}
.dash-kpi .kpi-d {
  font-size: 10px;
  color: var(--success);
  font-weight: 700;
  margin-top: 4px;
  font-family: var(--font-mono);
}
.dash-chart {
  height: 120px;
  background: #161b22;
  border: 1px solid #21262d;
  border-radius: 10px;
  padding: 12px;
  position: relative;
  display: flex;
  align-items: flex-end;
  gap: 4px;
  margin-bottom: 16px;
}
.dash-bar-col {
  flex: 1;
  background: linear-gradient(to top, var(--primary), rgba(249,199,0,0.3));
  border-radius: 3px 3px 0 0;
  min-height: 8px;
  transition: opacity 200ms;
}
.dash-bar-col:hover { opacity: 0.8; }
.dash-feed {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.dash-feed-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  background: #161b22;
  border-radius: 6px;
  font-size: 11px;
  font-family: var(--font-mono);
}
.dash-feed-item .dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--success);
  flex-shrink: 0;
}
.dash-feed-item .time { color: #6e7681; }
.dash-feed-item .msg { color: #c9d1d9; flex: 1; }
.dash-feed-item .amt { color: var(--primary); font-weight: 700; }

/* ---------- PARTNERS ---------- */
.partners-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 16px;
  margin-bottom: 24px;
}
.partner-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: border-color 280ms var(--ease);
}
.partner-card.featured { grid-column: span 1; }
.partner-card:hover { border-color: var(--border-strong); }
/* legacy .partner-logo rules removed — replaced by .partners-wall below */
.partner-name {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.01em;
}
.partner-role {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--primary);
}
.partner-desc {
  font-size: 13px;
  color: var(--ink-muted);
  line-height: 1.55;
}

/* Vendor row */
.vendors {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.vendor {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.vendor .label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-muted);
  font-weight: 700;
}
.vendor .name {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.01em;
}
.vendor .desc {
  font-size: 12px;
  color: var(--ink-muted);
  line-height: 1.5;
}

/* ---------- TEAM ---------- */
#team { background: var(--surface); }
.team-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.team-card {
  background: var(--surface-elev);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  transition: border-color 280ms var(--ease);
}
.team-card:hover { border-color: rgba(249, 199, 0, 0.3); }
.team-photo {
  aspect-ratio: 4 / 5;
  background:
    repeating-linear-gradient(45deg, rgba(249,199,0,0.04) 0 8px, transparent 8px 16px),
    linear-gradient(160deg, var(--surface-2), var(--surface));
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-muted);
}
.team-photo .ph-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-muted);
  text-align: center;
  padding: 8px 12px;
  background: rgba(0,0,0,0.6);
  border-radius: 6px;
}
.team-body {
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.team-name {
  font-size: 26px;
  font-weight: 900;
  letter-spacing: -0.02em;
}
.team-role {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary);
  font-weight: 700;
}
.team-quote {
  font-size: 14px;
  line-height: 1.55;
  color: var(--ink-soft);
  font-style: italic;
  padding-left: 16px;
  border-left: 2px solid var(--primary);
}
.team-contact {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}
.team-contact a {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--ink);
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: color 160ms var(--ease);
}
.team-contact a:hover { color: var(--primary); }
.team-contact a span:first-child { color: var(--ink-muted); }
.guarantor-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  background: rgba(46, 204, 113, 0.1);
  border: 1px solid rgba(46, 204, 113, 0.3);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--success);
  width: fit-content;
}

/* ---------- LOCATIONS GALLERY ---------- */
.gallery {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 12px;
  height: 640px;
}
.gal-item {
  border-radius: var(--radius-lg);
  background:
    repeating-linear-gradient(135deg, rgba(255,255,255,0.02) 0 12px, transparent 12px 24px),
    linear-gradient(160deg, var(--surface-elev), var(--surface));
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  padding: 24px;
  transition: transform 360ms var(--ease);
}
.gal-item:hover { transform: scale(1.005); }
.gal-item.large { grid-column: span 1; grid-row: span 2; }
.gal-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0,0,0,0.5) 0%, transparent 50%);
  pointer-events: none;
}
.gal-content {
  position: relative;
  z-index: 1;
}
.gal-content .label {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 4px;
}
.gal-content .name {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.01em;
}
.gal-item.large .gal-content .name { font-size: 28px; }
.gal-ph {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--ink-muted);
  background: rgba(0,0,0,0.5);
  padding: 6px 10px;
  border-radius: 6px;
}

/* ---------- PROCESS ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 40px;
}
.step {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  position: relative;
  transition: all 280ms var(--ease);
}
.step:hover {
  border-color: rgba(249, 199, 0, 0.3);
  background: var(--surface-elev);
}
.step-num {
  font-size: 64px;
  font-weight: 900;
  color: var(--primary);
  line-height: 0.9;
  letter-spacing: -0.05em;
  margin-bottom: 24px;
  display: block;
  opacity: 0.95;
}
.step h3 { font-size: 18px; margin-bottom: 8px; }
.step p { font-size: 13px; line-height: 1.6; }
.step-line {
  position: absolute;
  top: 60px; right: -12px;
  width: 24px; height: 1px;
  background: var(--border-strong);
  z-index: 1;
}
.step:last-child .step-line { display: none; }

/* ---------- CTA / FORM ---------- */
#contact {
  background: var(--surface);
  position: relative;
  overflow: hidden;
}
#contact::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 30% 30%, rgba(249,199,0,0.08) 0%, transparent 55%),
    radial-gradient(ellipse 60% 50% at 70% 70%, rgba(124,62,190,0.08) 0%, transparent 55%);
  pointer-events: none;
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 60px;
  align-items: start;
  position: relative;
}
.contact-info h2 { margin-bottom: 24px; }
.contact-info p { font-size: 17px; margin-bottom: 32px; }
.contact-points { list-style: none; display: flex; flex-direction: column; gap: 14px; }
.contact-points li { position: relative; padding-left: 32px; font-size: 15px; font-weight: 600; color: var(--ink-soft); }
.contact-points li::before { content: ''; position: absolute; left: 0; top: 0; width: 20px; height: 20px; border-radius: 50%; background: rgba(249,199,0,0.12); border: 1px solid rgba(249,199,0,0.4); }
.contact-points li::after { content: ''; position: absolute; left: 6px; top: 6px; width: 7px; height: 4px; border-left: 2px solid var(--primary); border-bottom: 2px solid var(--primary); transform: rotate(-45deg); }
.contact-channels {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
}
.contact-channel {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
  background: var(--surface-elev);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  transition: all 200ms var(--ease);
}
.contact-channel:hover {
  border-color: var(--primary);
  transform: translateX(4px);
}
.contact-channel .ico {
  width: 36px; height: 36px;
  border-radius: 8px;
  background: rgba(249, 199, 0, 0.08);
  display: flex; align-items: center; justify-content: center;
  color: var(--primary);
}
.contact-channel .info {
  display: flex;
  flex-direction: column;
}
.contact-channel .l {
  font-size: 11px;
  font-family: var(--font-mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-muted);
  font-weight: 700;
}
.contact-channel .v {
  font-size: 15px;
  font-weight: 800;
  color: var(--ink);
}

.contact-form {
  background: var(--surface-elev);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 40px;
  position: relative;
  overflow: hidden;
}
.contact-form::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--primary), transparent);
}
.form-head { margin-bottom: 28px; }
.form-head h3 { font-size: 26px; margin-bottom: 8px; }
.form-head p { font-size: 14px; }
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.field.full { grid-column: span 2; }
.field label {
  font-size: 11px;
  font-family: var(--font-mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-muted);
  font-weight: 700;
}
.field input,
.field select,
.field textarea {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  color: var(--ink);
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  outline: none;
  transition: border-color 160ms var(--ease), box-shadow 160ms var(--ease);
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(249,199,0,0.1);
}
.field textarea { resize: vertical; min-height: 90px; }
.field select { cursor: pointer; appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path fill='%23888' d='M6 8L0 0h12z'/></svg>");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}
.channels-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.channel-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  color: var(--ink-soft);
  cursor: pointer;
  transition: all 160ms var(--ease);
  background: var(--bg);
  user-select: none;
}
.channel-chip:hover { border-color: var(--border-strong); color: var(--ink); }
.channel-chip.checked {
  background: rgba(249, 199, 0, 0.1);
  border-color: var(--primary);
  color: var(--primary);
}
.channel-chip input { display: none; }

.form-submit {
  margin-top: 28px;
  width: 100%;
}
.form-legal {
  margin-top: 18px;
  font-size: 12px;
  color: var(--ink-muted);
  line-height: 1.5;
  text-align: center;
}
.form-legal a { color: var(--ink-soft); border-bottom: 1px dotted var(--border-strong); }

.form-success {
  display: none;
  text-align: center;
  padding: 24px 0;
}
.form-success.show { display: block; }
.form-success .check {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: rgba(46, 204, 113, 0.12);
  border: 2px solid var(--success);
  display: flex; align-items: center; justify-content: center;
  color: var(--success);
  margin: 0 auto 20px;
}
.form-success h3 { margin-bottom: 12px; }
.form-success p { font-size: 15px; }

/* ---------- FOOTER ---------- */
footer {
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding: 60px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-brand .nav-logo { height: 32px; margin-bottom: 16px; }
.footer-brand p {
  font-size: 13px;
  line-height: 1.6;
  margin-bottom: 16px;
  max-width: 320px;
}
.footer-col h5 {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-muted);
  font-weight: 700;
  margin-bottom: 16px;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col ul a, .footer-col ul li {
  font-size: 13px;
  color: var(--ink-soft);
  transition: color 160ms var(--ease);
  font-weight: 600;
}
.footer-col ul a:hover { color: var(--primary); }
.footer-legal {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  font-size: 11px;
  color: var(--ink-muted);
  line-height: 1.7;
}
.footer-legal .row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  grid-column: span 2;
  font-family: var(--font-mono);
  letter-spacing: 0.04em;
  margin-bottom: 16px;
}
.footer-legal .disclaimer {
  grid-column: span 2;
  padding: 16px;
  background: var(--surface);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  font-style: italic;
}

/* ---------- ANIMATIONS ---------- */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 700ms var(--ease), transform 700ms var(--ease);
}
.fade-up.in {
  opacity: 1;
  transform: translateY(0);
}
.fade-up.delay-1 { transition-delay: 80ms; }
.fade-up.delay-2 { transition-delay: 160ms; }
.fade-up.delay-3 { transition-delay: 240ms; }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; gap: 60px; }
  .hero-pill-1, .hero-pill-2 { display: none; }
  .stats-inner { grid-template-columns: repeat(2, 1fr); }
  .stat-cell:nth-child(3) { border-left: none; padding-left: 0; }
  .traction-grid, .cond-grid, .tech-inner, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .calc { position: static; }
  .funds-grid, .safety-grid, .partners-grid, .team-grid, .steps { grid-template-columns: 1fr 1fr; }
  .vendors { grid-template-columns: 1fr 1fr; }
  .safety-card.featured { grid-column: span 2; }
  .gallery { height: auto; grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
  .gal-item { aspect-ratio: 4/3; }
  .gal-item.large { grid-row: span 1; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .nav-links { display: none; }
}

@media (max-width: 720px) {
  .container { padding: 0 24px; }
  .nav { padding: 0 24px; height: 64px; }
  .nav-tag { display: none; }
  section { padding: 70px 0; }
  .hero-headline { font-size: clamp(36px, 9vw, 56px); }
  .hero-meta { grid-template-columns: 1fr 1fr; }
  .hero-meta-item:last-child { grid-column: span 2; }
  .stats-inner { grid-template-columns: 1fr 1fr; gap: 20px; }
  .stat-cell .v { font-size: 32px; }
  .funds-grid, .safety-grid, .partners-grid, .team-grid, .steps, .vendors {
    grid-template-columns: 1fr;
  }
  .safety-card.featured { grid-column: span 1; }
  .gallery { grid-template-columns: 1fr; }
  .team-card { grid-template-columns: 1fr; }
  .team-photo { aspect-ratio: 16/10; }
  .form-grid { grid-template-columns: 1fr; }
  .field.full { grid-column: span 1; }
  .calc { padding: 24px; }
  .calc-input { font-size: 40px; }
  .calc-head h3 { font-size: 18px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-legal { grid-template-columns: 1fr; }
  .footer-legal .row { grid-column: span 1; flex-direction: column; align-items: flex-start; gap: 8px; }
  .footer-legal .disclaimer { grid-column: span 1; }
  .contact-form { padding: 28px 24px; }
}

/* Tweaks panel hidden by default */
#tweaks-panel { display: none; }

/* ===============================================
   REDESIGN 2026 — new visual-first sections
   =============================================== */

/* ---------- decorative ✕○ pattern ---------- */
.bg-symbols {
  position: absolute; inset: 0;
  background-image: url('assets/pattern-symbols.svg');
  background-size: 240px;
  opacity: 0.05;
  pointer-events: none;
}

/* ---------- HERO photo (replaces number card) ---------- */
.hero-shot {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 40px 80px rgba(0,0,0,0.55), 0 0 80px rgba(249,199,0,0.06);
  aspect-ratio: 4 / 3;
}
.hero-shot::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px; z-index: 2;
  background: linear-gradient(90deg, transparent, var(--primary), transparent); opacity: 0.6;
}
.hero-shot img { width: 100%; height: 100%; object-fit: cover; animation: heroZoom 18s var(--ease) infinite alternate; }
@keyframes heroZoom { from { transform: scale(1); } to { transform: scale(1.06); } }

/* ---------- PRODUCT ---------- */
.product-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 48px; align-items: center; }
.product-photo {
  position: relative; aspect-ratio: 4 / 3; border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--border); box-shadow: 0 30px 70px rgba(0,0,0,0.5);
}
.product-photo img { width: 100%; height: 100%; object-fit: cover; }
.product-badge {
  position: absolute; left: 18px; bottom: 18px;
  background: rgba(10,10,10,0.7); backdrop-filter: blur(8px);
  border: 1px solid rgba(249,199,0,0.35); color: var(--primary);
  font-weight: 900; font-size: 15px; padding: 8px 14px; border-radius: 999px;
}
.feature-chips { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.feat-chip {
  display: flex; gap: 14px; align-items: center; padding: 16px 18px;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-md);
  transition: border-color 240ms var(--ease), transform 240ms var(--ease);
}
.feat-chip:hover { border-color: rgba(249,199,0,0.3); transform: translateX(4px); }
.feat-ico {
  width: 40px; height: 40px; border-radius: 10px; flex-shrink: 0;
  background: rgba(249,199,0,0.1); border: 1px solid rgba(249,199,0,0.2);
  display: flex; align-items: center; justify-content: center; color: var(--primary);
}
.feat-chip div { display: flex; flex-direction: column; }
.feat-chip b { font-size: 15px; font-weight: 800; color: var(--ink); }
.feat-chip span { font-size: 13px; color: var(--ink-muted); }
.product-strip { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; margin-top: 28px; }
.product-strip img {
  width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: var(--radius-sm);
  border: 1px solid var(--border); opacity: 0.82; transition: opacity 240ms var(--ease), transform 240ms var(--ease);
}
.product-strip img:hover { opacity: 1; transform: scale(1.03); }
.section-head .head-note { font-size: 15px; color: var(--ink-soft); margin-top: 4px; }

/* ---------- LOCATIONS CAROUSEL (horizontal scroll) ---------- */
.loc-carousel-head { margin-top: 40px; margin-bottom: 14px; }
.loc-hint { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-muted); }
.loc-carousel {
  display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x proximity;
  padding: 2px 40px 8px; -webkit-overflow-scrolling: touch; scrollbar-width: none;
}
.loc-carousel::-webkit-scrollbar { display: none; }
.loc-carousel img {
  scroll-snap-align: start; flex: 0 0 auto; width: clamp(150px, 19vw, 210px);
  aspect-ratio: 3 / 4; object-fit: cover; border-radius: var(--radius-md);
  border: 1px solid var(--border); transition: transform 300ms var(--ease);
}
.loc-carousel img:hover { transform: scale(1.03); }

/* timeline 2024 relaunch highlight */
.timeline-item.highlight .timeline-content .t { color: var(--primary); }
.timeline-item.highlight .timeline-dot { background: var(--primary); border-color: var(--primary); box-shadow: 0 0 16px var(--primary-glow); }

/* ---------- IM30 CHECKOUT ---------- */
#checkout { background: var(--surface); }
.checkout-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 56px; align-items: center; }
.im30 { display: flex; justify-content: center; }
.im30-frame {
  width: 320px; max-width: 100%; position: relative;
  background: linear-gradient(160deg, var(--surface-elev), var(--surface));
  border: 1px solid var(--border-strong); border-radius: var(--radius-xl); padding: 18px;
  box-shadow: 0 40px 80px rgba(0,0,0,0.55), 0 0 70px rgba(249,199,0,0.05);
}
.im30-frame::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--primary), transparent);
}
.im30-screen {
  position: relative; aspect-ratio: 3 / 4; border-radius: var(--radius-md);
  overflow: hidden; background: #000; border: 1px solid var(--border);
}
.im30-screen .screen { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 320ms var(--ease); }
.im30-screen .screen.s4 { display: flex; align-items: center; justify-content: center; background: radial-gradient(circle at 50% 40%, rgba(46,204,113,0.18), var(--bg)); }
.im30-done { display: flex; flex-direction: column; align-items: center; gap: 12px; color: var(--success); }
.im30-done svg { background: rgba(46,204,113,0.12); border: 2px solid var(--success); border-radius: 50%; padding: 14px; box-sizing: content-box; }
.im30-done span { font-weight: 900; font-size: 18px; color: var(--ink); }
#im30[data-active="1"] .s1,
#im30[data-active="2"] .s2,
#im30[data-active="3"] .s3,
#im30[data-active="4"] .s4 { opacity: 1; }
.nfc-tap {
  position: absolute; right: 14px; bottom: 14px; width: 44px; height: 44px; border-radius: 50%;
  background: var(--primary); color: #000; display: flex; align-items: center; justify-content: center;
  opacity: 0; transform: scale(0.6); transition: opacity 200ms var(--ease);
}
#im30[data-active="3"] .nfc-tap { opacity: 1; transform: scale(1); animation: nfcPulse 1.2s var(--ease) infinite; }
@keyframes nfcPulse {
  0% { box-shadow: 0 0 0 0 var(--primary-glow); transform: scale(1); }
  70% { box-shadow: 0 0 0 16px rgba(249,199,0,0); transform: scale(1.06); }
  100% { box-shadow: 0 0 0 0 rgba(249,199,0,0); transform: scale(1); }
}
.im30-base { margin-top: 14px; text-align: center; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-muted); }
.flow-steps { list-style: none; display: flex; flex-direction: column; gap: 14px; }
.flow-step {
  display: flex; gap: 16px; align-items: center; padding: 18px 20px;
  background: var(--surface-elev); border: 1px solid var(--border); border-radius: var(--radius-md);
  transition: border-color 240ms var(--ease), background 240ms var(--ease);
}
.flow-num {
  width: 38px; height: 38px; border-radius: 50%; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center; font-weight: 900; font-size: 16px;
  background: var(--bg); border: 1px solid var(--border-strong); color: var(--ink-muted);
  transition: all 240ms var(--ease);
}
.flow-step div { display: flex; flex-direction: column; }
.flow-step b { font-size: 16px; color: var(--ink); font-weight: 800; }
.flow-step span { font-size: 13px; color: var(--ink-muted); }
.flow-step.is-active { border-color: rgba(249,199,0,0.4); background: rgba(249,199,0,0.05); }
.flow-step.is-active .flow-num { background: var(--primary); color: #000; border-color: var(--primary); box-shadow: 0 0 16px var(--primary-glow); }

/* ---------- OPS MAP ---------- */
#ops { position: relative; overflow: hidden; }
.ops-grid { position: relative; display: grid; grid-template-columns: 1.25fr 0.75fr; gap: 48px; align-items: center; }
.ops-map-wrap {
  background: linear-gradient(160deg, var(--surface-elev), var(--surface));
  border: 1px solid var(--border); border-radius: var(--radius-xl); padding: 20px;
  box-shadow: 0 40px 80px rgba(0,0,0,0.4);
}
#ops-map { width: 100%; height: auto; display: block; }
.route-main { fill: none; stroke: var(--primary); stroke-width: 2.5; stroke-linejoin: round; stroke-linecap: round; stroke-dasharray: 8 10; opacity: 0.45; }
.truck { fill: var(--primary); stroke: #0a0a0a; stroke-width: 3; filter: drop-shadow(0 0 8px var(--primary)); opacity: 0; }
#ops-map.is-drawn .truck { opacity: 1; transition: opacity 500ms var(--ease); }
.pin { fill: var(--primary); opacity: 0.9; transform: scale(0); transform-box: fill-box; transform-origin: center; }
#ops-map.is-drawn .pin { animation: pinPop 420ms var(--ease) forwards; }
.pin:nth-child(1) { animation-delay: 0.55s; } .pin:nth-child(2) { animation-delay: 0.66s; }
.pin:nth-child(3) { animation-delay: 0.77s; } .pin:nth-child(4) { animation-delay: 0.88s; }
.pin:nth-child(5) { animation-delay: 0.99s; } .pin:nth-child(6) { animation-delay: 1.10s; }
.pin:nth-child(7) { animation-delay: 1.21s; }
@keyframes pinPop { 0% { transform: scale(0); } 70% { transform: scale(1.3); } 100% { transform: scale(1); } }
.hub-halo { fill: var(--primary); opacity: 0.16; transform-box: fill-box; transform-origin: center; animation: pulse 2.4s infinite; }
.hub-dot { fill: var(--primary); stroke: #000; stroke-width: 3; }
.hub-label rect { fill: rgba(10,10,10,0.82); stroke: var(--border-strong); }
.hub-t { fill: var(--primary); font-weight: 900; font-size: 15px; font-family: var(--font-display); }
.hub-d { fill: var(--ink-soft); font-size: 12px; font-family: var(--font-mono); }
.ops-process { list-style: none; position: relative; display: flex; flex-direction: column; gap: 4px; }
.ops-step { display: flex; gap: 16px; align-items: flex-start; padding: 16px 0; position: relative; }
.ops-step:not(:last-child)::after {
  content: ''; position: absolute; left: 19px; top: 48px; bottom: -4px; width: 2px;
  background: linear-gradient(var(--primary), transparent); opacity: 0.35;
}
.ops-ico {
  width: 40px; height: 40px; border-radius: 10px; flex-shrink: 0; z-index: 1;
  background: rgba(249,199,0,0.1); border: 1px solid rgba(249,199,0,0.25);
  display: flex; align-items: center; justify-content: center; color: var(--primary);
}
.ops-step b { display: block; font-size: 16px; font-weight: 800; color: var(--ink); }
.ops-step span { font-size: 13px; color: var(--ink-muted); }
.office-row { display: flex; align-items: center; gap: 28px; margin-top: 40px; padding: 22px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); }
.office-clip { flex-shrink: 0; width: 150px; margin: 0; border-radius: var(--radius-md); overflow: hidden; border: 1px solid var(--border-strong); box-shadow: 0 16px 36px rgba(0,0,0,0.45); }
.office-clip video { display: block; width: 100%; height: auto; aspect-ratio: 406 / 720; object-fit: cover; }
.office-info { display: flex; flex-direction: column; gap: 12px; }
.office-title { font-size: 20px; font-weight: 900; letter-spacing: -0.02em; color: var(--ink); }
.office-info p { font-size: 14px; color: var(--ink-soft); max-width: 460px; }
.office-info .btn { width: fit-content; }

/* ---------- TRACTION (compact) ---------- */
.traction-stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-bottom: 40px;
  padding: 32px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg);
}
.timeline-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; position: relative; }
.timeline-row::before { content: ''; position: absolute; left: 12px; right: 12px; top: 11px; height: 2px; background: var(--border-strong); }
.timeline-row .timeline-item { grid-template-columns: 1fr; gap: 8px; align-items: start; position: relative; z-index: 1; }
.timeline-row .timeline-date { padding-top: 0; }

/* ---------- CTA BAND ---------- */
.cta-band { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 36px 0; }
.cta-band-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.cta-band-inner span { font-size: 22px; font-weight: 800; color: var(--ink); letter-spacing: -0.02em; }

/* ---------- LOYALTY / YOCO CLUB ---------- */
#loyalty { position: relative; overflow: hidden; background: var(--surface); }
.loyalty-grid { position: relative; display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 48px; align-items: center; }
.club-embed {
  position: relative; width: 100%; max-width: 300px; aspect-ratio: 9 / 16; margin: 0 auto;
  border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border-strong);
  box-shadow: 0 40px 80px rgba(0,0,0,0.5), 0 0 60px rgba(249,199,0,0.06); background: #faf9f5;
}
.club-embed iframe { display: block; width: 100%; height: 100%; border: 0; }
.club-card {
  position: relative; overflow: hidden; padding: 32px;
  background: linear-gradient(150deg, #1d1707 0%, var(--surface-elev) 60%);
  border: 1px solid rgba(249,199,0,0.3); border-radius: var(--radius-xl);
  box-shadow: 0 40px 80px rgba(0,0,0,0.5), 0 0 60px rgba(249,199,0,0.06);
}
.club-card::before { content: ''; position: absolute; inset: 0; background-image: url('assets/pattern-symbols.svg'); background-size: 200px; opacity: 0.06; pointer-events: none; }
.club-card-top { position: relative; display: flex; align-items: center; justify-content: space-between; margin-bottom: 28px; }
.club-logo { font-weight: 900; font-size: 18px; letter-spacing: 0.06em; color: var(--ink); }
.club-logo b { color: var(--primary); }
.club-disc { font-family: var(--font-mono); font-weight: 800; font-size: 14px; color: #000; background: var(--primary); padding: 6px 12px; border-radius: 999px; }
.club-points-v { font-size: 56px; font-weight: 900; color: var(--primary); letter-spacing: -0.04em; line-height: 1; font-feature-settings: 'tnum'; }
.club-points-l { font-size: 13px; color: var(--ink-muted); margin-top: 6px; }
.club-bar { height: 10px; background: var(--bg); border: 1px solid var(--border); border-radius: 999px; margin: 24px 0 14px; overflow: hidden; }
.club-bar-fill { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--primary-dark), var(--primary)); border-radius: 999px; }
.fade-up.in .club-bar-fill { animation: clubFill 1500ms var(--ease) 300ms forwards; }
@keyframes clubFill { to { width: 55.4%; } }
.club-foot { display: flex; justify-content: space-between; align-items: center; font-family: var(--font-mono); font-size: 11px; color: var(--ink-muted); text-transform: uppercase; letter-spacing: 0.06em; }
.club-foot-v { color: var(--primary); font-weight: 700; }
.loyalty-stats { display: grid; grid-template-columns: 1fr; gap: 14px; }
.lstat { display: flex; align-items: baseline; gap: 20px; padding: 20px 24px; background: var(--surface-elev); border: 1px solid var(--border); border-radius: var(--radius-md); }
.lstat-v { flex-shrink: 0; min-width: 150px; font-size: 40px; font-weight: 900; color: var(--primary); letter-spacing: -0.03em; line-height: 1; font-feature-settings: 'tnum'; }
.lstat-l { font-size: 14px; color: var(--ink-soft); line-height: 1.45; }

/* ---------- COND TILES ---------- */
.cond-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; align-content: start; }
.cond-tile { background: var(--surface-elev); border: 1px solid var(--border); border-radius: var(--radius-md); padding: 24px; transition: border-color 240ms var(--ease); }
.cond-tile:hover { border-color: rgba(249,199,0,0.3); }
.ct-v { font-size: 30px; font-weight: 900; color: var(--primary); letter-spacing: -0.03em; line-height: 1; }
.ct-v span { font-size: 16px; color: var(--ink-muted); font-weight: 800; }
.ct-l { margin-top: 8px; font-size: 13px; color: var(--ink-soft); }

/* ---------- DASH SHOT (real FrontFlow screenshot in safety) ---------- */
.dash-host { grid-column: span 2; }
.dash-shot { margin-top: 12px; border-radius: var(--radius-md); overflow: hidden; border: 1px solid var(--border); box-shadow: 0 16px 40px rgba(0,0,0,0.4); }
.dash-shot img { display: block; width: 100%; height: auto; }

/* ---------- PARTNERS WALL (horizontal scroll) ---------- */
.partners-wall {
  display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x proximity;
  justify-content: safe center;
  padding: 6px 40px 18px; -webkit-overflow-scrolling: touch; scrollbar-width: none;
}
.partners-wall::-webkit-scrollbar { display: none; }
.partners-wall .partner-logo {
  scroll-snap-align: start; flex: 0 0 auto; width: 210px;
  display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 22px 20px; text-align: center;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg);
  transition: border-color 240ms var(--ease), transform 240ms var(--ease);
}
.partners-wall .partner-logo:hover { border-color: rgba(249,199,0,0.35); transform: translateY(-3px); }
.pl-img {
  width: 100%; height: 72px; display: flex; align-items: center; justify-content: center;
  background: #fff; border-radius: var(--radius-md); padding: 12px;
}
.pl-img img { max-height: 100%; max-width: 100%; width: auto; object-fit: contain; filter: none; opacity: 1; }
.partners-wall .partner-role { font-size: 11px; opacity: 0.9; }

/* ---------- TEAM FOUNDERS ---------- */
.founders { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 44px; align-items: stretch; background: var(--surface-elev); border: 1px solid var(--border); border-radius: var(--radius-xl); overflow: hidden; }
.founders-photo { position: relative; min-height: 100%; }
.founders-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 28%; }
.founders-meta { padding: 44px 44px 44px 8px; display: flex; flex-direction: column; gap: 18px; justify-content: center; }
.founders-names { display: flex; flex-direction: column; gap: 6px; }
.fname { font-size: 24px; font-weight: 900; letter-spacing: -0.02em; color: var(--ink); }
.fname span { font-size: 14px; color: var(--ink-muted); font-weight: 700; }
.founders-line { font-size: 18px; font-style: italic; line-height: 1.5; color: var(--ink-soft); border-left: 2px solid var(--primary); padding-left: 18px; }
.founders-contact { display: flex; gap: 24px; flex-wrap: wrap; }
.founders-contact a { font-family: var(--font-mono); font-size: 13px; font-weight: 700; color: var(--ink); transition: color 160ms var(--ease); }
.founders-contact a span { color: var(--ink-muted); }
.founders-contact a:hover { color: var(--primary); }

/* ---------- FORM: honeypot + error ---------- */
.hp-field { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; opacity: 0; pointer-events: none; }
.form-error { margin-top: 14px; padding: 12px 14px; background: rgba(231,76,60,0.1); border: 1px solid rgba(231,76,60,0.3); border-radius: var(--radius-sm); color: #ff8a80; font-size: 13px; font-weight: 700; text-align: center; }
.form-error a { color: #fff; text-decoration: underline; }

/* ---------- mobile sticky CTA ---------- */
.cta-sticky-mobile { display: none; }

/* ---------- RESPONSIVE (redesign) ---------- */
@media (max-width: 1024px) {
  .product-grid, .checkout-grid, .ops-grid, .founders, .loyalty-grid { grid-template-columns: 1fr; gap: 36px; }
  .club-embed { max-width: 280px; }
  .traction-stats { grid-template-columns: repeat(2, 1fr); }
  .timeline-row { grid-template-columns: repeat(2, 1fr); }
  .timeline-row::before { display: none; }
  .founders-meta { padding: 28px; }
  .founders-photo { min-height: 360px; }
}
@media (max-width: 720px) {
  body { padding-bottom: 84px; }
  .cond-tiles { grid-template-columns: 1fr 1fr; }
  .traction-stats { grid-template-columns: 1fr 1fr; gap: 16px; padding: 20px; }
  .timeline-row { grid-template-columns: 1fr; }
  .cta-band-inner { flex-direction: column; align-items: flex-start; }
  .cta-band-inner span { font-size: 18px; }
  .loc-carousel, .partners-wall { padding-left: 24px; padding-right: 24px; }
  .office-row { flex-direction: column; align-items: flex-start; }
  .dash-host, .safety-card.featured { grid-column: span 1; }
  .lstat { gap: 14px; padding: 16px 18px; }
  .lstat-v { min-width: 86px; font-size: 30px; }
  .cond-tiles, .calc, .cond-tile { min-width: 0; }
  .calc-input { min-width: 0; }
  .ct-v { font-size: 26px; }
  .cta-sticky-mobile {
    display: flex; position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 800;
    align-items: center; justify-content: center; gap: 8px; padding: 16px;
    background: var(--primary); color: #000; font-weight: 900; border-radius: var(--radius-xl);
    box-shadow: 0 12px 30px rgba(0,0,0,0.5), 0 0 30px var(--primary-glow);
  }
}

/* ---------- REDUCED MOTION ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important; animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important; scroll-behavior: auto !important;
  }
  .hero-shot img { animation: none; transform: none; }
  .fade-up { opacity: 1 !important; transform: none !important; }
  .route { stroke-dashoffset: 0 !important; }
  .route-flow { display: none !important; }
  .pin { transform: none !important; }
  .faq-mark::before, .faq-mark::after { transition: none !important; }
  .calc-get-docs.is-hot { animation: none !important; }
}

/* ===============================================
   REWORK 2026 — conversion-first reorder
   New blocks reuse existing tokens & component look.
   =============================================== */

/* ---------- HERO: compact (don't fill the screen) ---------- */
#hero { min-height: auto; }
.section-head-center { align-items: center; text-align: center; max-width: 640px; margin-left: auto; margin-right: auto; }
.hero-meta-item .v { line-height: 1.04; }
.hero-meta-item .v-text { font-size: 24px; }

/* ---------- CONDITIONS IN 30s ---------- */
#cond30 { background: var(--surface); }
.snap-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.snap-cta { text-align: center; margin-top: 28px; }

/* ---------- CALCULATOR (centered, with action buttons) ---------- */
.calc-wrap { max-width: 560px; margin: 0 auto; }
.calc-wrap .calc { position: static; top: auto; margin-bottom: 18px; }
.calc-actions { display: flex; gap: 12px; }
.calc-actions .btn { flex: 1; }
.calc-get-docs.is-hot {
  animation: ctaHot 1.3s var(--ease) 2;
  box-shadow: 0 0 34px var(--primary-glow);
}
@keyframes ctaHot {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-3px); box-shadow: 0 8px 34px var(--primary-glow); }
}

/* ---------- DOCS (lead-gate) ---------- */
#docs { position: relative; }
.docs-card {
  max-width: 760px; margin: 0 auto;
  background: var(--surface-elev); border: 1px solid var(--border);
  border-radius: var(--radius-xl); padding: 32px;
  box-shadow: 0 30px 70px rgba(0,0,0,0.4); position: relative; overflow: hidden;
}
.docs-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--primary), transparent);
}
.docs-list { list-style: none; display: flex; flex-direction: column; gap: 10px; margin-bottom: 24px; }
.doc-row {
  display: flex; align-items: center; gap: 14px; padding: 16px 18px;
  background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius-md);
}
.doc-ico {
  width: 40px; height: 40px; border-radius: 10px; flex-shrink: 0;
  background: rgba(249,199,0,0.1); border: 1px solid rgba(249,199,0,0.2);
  display: flex; align-items: center; justify-content: center; color: var(--primary);
}
.doc-info { flex: 1; display: flex; flex-direction: column; }
.doc-info b { font-size: 15px; font-weight: 800; color: var(--ink); }
.doc-info span { font-size: 13px; color: var(--ink-muted); }
.doc-state { font-size: 15px; opacity: 0.85; }
.docs-gate { text-align: center; }
.docs-gate .btn { width: 100%; max-width: 440px; }
.docs-gate-note { font-size: 13px; color: var(--ink-muted); margin-top: 14px; }
.docs-downloads { border-top: 1px solid var(--border); margin-top: 8px; padding-top: 24px; }
.docs-downloads[hidden] { display: none; }
.docs-downloads-head { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 15px; color: var(--success); margin-bottom: 16px; }
.docs-dl-row { display: flex; gap: 10px; }
.docs-downloads .docs-dl-row { flex-wrap: wrap; }
.docs-downloads .doc-dl { flex: 1; min-width: 150px; }

/* ---------- FAQ accordion (native <details>) ---------- */
#faq .faq-list { max-width: 820px; }
.faq-item {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-md); margin-bottom: 12px; overflow: hidden;
  transition: border-color 200ms var(--ease);
}
.faq-item[open] { border-color: rgba(249,199,0,0.3); }
.faq-q {
  list-style: none; cursor: pointer; display: flex; align-items: center;
  justify-content: space-between; gap: 16px; padding: 22px 24px;
  font-size: 17px; font-weight: 800; color: var(--ink); letter-spacing: -0.01em;
}
.faq-q::-webkit-details-marker { display: none; }
.faq-item[open] .faq-q { color: var(--primary); }
.faq-mark { position: relative; width: 16px; height: 16px; flex-shrink: 0; }
.faq-mark::before, .faq-mark::after {
  content: ''; position: absolute; background: var(--primary); border-radius: 2px;
  transition: transform 240ms var(--ease);
}
.faq-mark::before { left: 0; right: 0; top: 7px; height: 2px; }
.faq-mark::after { top: 0; bottom: 0; left: 7px; width: 2px; }
.faq-item[open] .faq-mark::after { transform: scaleY(0); }
.faq-a { padding: 0 24px 22px; font-size: 15px; line-height: 1.6; color: var(--ink-soft); }
.faq-a b { color: var(--ink); font-weight: 800; }
.faq-a a { color: var(--primary); border-bottom: 1px dotted var(--primary); }

/* ---------- SAFETY: public self-check ---------- */
.selfcheck {
  position: relative; display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 32px;
  align-items: center; margin-bottom: 24px; padding: 32px; border-radius: var(--radius-xl);
  background: linear-gradient(135deg, rgba(124,62,190,0.12) 0%, rgba(249,199,0,0.06) 100%);
  border: 1px solid rgba(124,62,190,0.28); overflow: hidden;
}
.selfcheck-main, .selfcheck-owners { min-width: 0; }
.selfcheck-main h3 { font-size: 26px; margin: 14px 0 12px; }
.selfcheck-main p { font-size: 15px; overflow-wrap: anywhere; }
.selfcheck-id { display: flex; flex-direction: column; gap: 2px; margin: 18px 0; }
.selfcheck-id span { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-muted); font-weight: 700; }
.selfcheck-id b { font-family: var(--font-mono); font-size: 26px; color: var(--primary); letter-spacing: 0.02em; }
.selfcheck-owners { display: flex; flex-direction: column; gap: 12px; }
.owner-chip {
  display: flex; align-items: center; gap: 12px; padding: 14px 16px;
  background: var(--surface-elev); border: 1px solid var(--border); border-radius: var(--radius-md);
}
.owner-mark {
  font-family: 'Brush Script MT', cursive; font-style: italic; font-size: 22px; color: var(--primary);
  width: 56px; flex-shrink: 0; text-align: center; border-right: 1px solid var(--border-strong); padding-right: 10px;
}
.owner-info { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.owner-info b { font-size: 15px; color: var(--ink); }
.owner-info span { font-size: 12px; color: var(--ink-muted); }
.owner-badge {
  font-family: var(--font-mono); font-size: 10px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase;
  color: var(--success); background: rgba(46,204,113,0.1); border: 1px solid rgba(46,204,113,0.3);
  padding: 5px 9px; border-radius: 999px; white-space: nowrap;
}

/* ---------- DOCS modal ---------- */
body.modal-open { overflow: hidden; }
.modal { position: fixed; inset: 0; z-index: 1000; display: flex; align-items: center; justify-content: center; padding: 20px; }
.modal[hidden] { display: none; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(0,0,0,0.72); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.modal-card {
  position: relative; z-index: 1; width: 100%; max-width: 460px; max-height: calc(100vh - 40px); overflow-y: auto;
  background: var(--surface-elev); border: 1px solid var(--border-strong); border-radius: var(--radius-xl);
  padding: 32px; box-shadow: 0 40px 100px rgba(0,0,0,0.6);
}
.modal-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--primary), transparent);
}
.modal-close {
  position: absolute; top: 16px; right: 16px; width: 36px; height: 36px; border-radius: 50%;
  background: var(--bg); border: 1px solid var(--border); color: var(--ink-muted);
  display: flex; align-items: center; justify-content: center; transition: all 160ms var(--ease);
}
.modal-close:hover { color: var(--ink); border-color: var(--border-strong); }
.modal-card h3 { font-size: 24px; margin-bottom: 10px; padding-right: 36px; }
.modal-lead { font-size: 14px; color: var(--ink-soft); margin-bottom: 22px; line-height: 1.55; }
.modal-card .field { margin-bottom: 14px; }
.modal-card .form-submit { margin-top: 22px; }
.modal-card .check {
  width: 64px; height: 64px; border-radius: 50%; background: rgba(46,204,113,0.12);
  border: 2px solid var(--success); display: flex; align-items: center; justify-content: center;
  color: var(--success); margin: 0 auto 20px;
}
#docs-modal-success { text-align: center; }
#docs-modal-success .docs-dl-row { flex-direction: column; gap: 10px; margin-top: 18px; }
#docs-modal-success .docs-dl-row .btn { width: 100%; }

/* ---------- mobile sticky action bar (2 buttons) ---------- */
.cta-bar-mobile { display: none; }

@media (max-width: 720px) {
  body { padding-bottom: 90px; }
  #hero { padding: 96px 0 36px; }
  .hero-visual { display: none; }
  .hero-meta { margin-top: 36px; padding-top: 24px; }
  .snap-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .docs-card { padding: 22px 18px; }
  .docs-downloads .doc-dl { min-width: 0; flex-basis: 100%; }
  .selfcheck { grid-template-columns: 1fr; gap: 24px; padding: 24px 20px; }
  .faq-q { font-size: 15px; padding: 18px 18px; }
  .faq-a { padding: 0 18px 18px; }
  .calc-actions { flex-direction: column; }
  .modal { padding: 12px; align-items: flex-end; }
  .modal-card { max-width: 100%; padding: 24px 20px; border-radius: var(--radius-lg); }

  .cta-bar-mobile {
    display: flex; position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 850; gap: 10px;
    padding: 10px; background: rgba(10,10,10,0.92); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
    border: 1px solid var(--border-strong); border-radius: var(--radius-xl); box-shadow: 0 16px 40px rgba(0,0,0,0.55);
  }
  .cta-bar-mobile .btn { flex: 1; padding: 14px 10px; font-size: 14px; }
}

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