/* ── TOKENS ──────────────────────────────────────────── */
:root {
  --ground:     #0D0B1E;
  --surface:    #171430;
  --surface-2:  #1F1C3D;
  --border:     #2B2750;
  --text:       #EEE9FF;
  --muted:      #9692C0;
  --accent:     #F5A523;
  --accent-dim: rgba(245,165,35,0.10);
  --brand:      #7C6FFF;
  --brand-dim:  rgba(124,111,255,0.12);
  --green:      #4ADE80;
  --green-dim:  rgba(74,222,128,0.10);
  --red:        #F87171;
  --mono:       'JetBrains Mono', monospace;
  --body:       'Inter', system-ui, sans-serif;
  --r:          10px;
}

/* ── RESET ───────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  scroll-behavior: smooth;
  scroll-padding-top: 72px;          /* anchors clear the sticky nav */
  -webkit-text-size-adjust: 100%;    /* stop iOS auto-inflating text */
  text-size-adjust: 100%;
}
body {
  background: var(--ground);
  color: var(--text);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  -webkit-tap-highlight-color: rgba(124,111,255,0.18);
}
a { color: inherit; text-decoration: none; }
img, svg { max-width: 100%; }

/* ── LAYOUT ──────────────────────────────────────────── */
.wrap { max-width: 1100px; margin: 0 auto; padding: 0 24px; }
/* respect notch / rounded-corner safe areas in landscape */
@supports (padding: max(0px)) {
  .wrap {
    padding-left: max(24px, env(safe-area-inset-left));
    padding-right: max(24px, env(safe-area-inset-right));
  }
}
.section { padding: 96px 0; }

/* ── NAV ─────────────────────────────────────────────── */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(13,11,30,0.80);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s;
}
.nav.scrolled { border-bottom-color: var(--border); }
.nav-inner {
  display: flex; align-items: center;
  justify-content: space-between; height: 58px;
}
.nav-logo {
  font-family: var(--mono); font-weight: 800; font-size: 17px;
  letter-spacing: -0.5px;
}
.nav-logo b { color: var(--brand); font-weight: 800; }
.nav-links { display: flex; align-items: center; gap: 28px; list-style: none; }
.nav-links a {
  font-size: 14px; font-weight: 500; color: var(--muted);
  transition: color 0.15s;
}
.nav-links a:hover { color: var(--text); }
.nav-links .nav-gh {
  display: inline-flex; align-items: center; gap: 7px;
  background: var(--brand); color: #fff;
  font-size: 13px; font-weight: 600;
  padding: 7px 16px; border-radius: 7px;
  transition: opacity 0.15s, transform 0.15s;
}
.nav-links .nav-gh:hover { opacity: 0.88; transform: translateY(-1px); }

/* hamburger — hidden on desktop, shown on mobile */
.nav-toggle {
  display: none;
  align-items: center; justify-content: center;
  width: 42px; height: 42px; margin-right: -9px;
  background: none; border: none; cursor: pointer;
  color: var(--text);
  -webkit-tap-highlight-color: transparent;
}
.nav-toggle .ic-close { display: none; }

@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; }
  .nav.open .nav-toggle .ic-open { display: none; }
  .nav.open .nav-toggle .ic-close { display: inline; }

  .nav-links {
    position: absolute;
    top: 58px; left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 6px 24px 18px;
    background: rgba(13,11,30,0.97);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border);
    /* hidden by default; slide/fade in when open */
    display: none;
    opacity: 0; transform: translateY(-8px);
    transition: opacity 0.2s ease, transform 0.2s ease;
  }
  .nav.open .nav-links { display: flex; opacity: 1; transform: translateY(0); }
  .nav-links li { width: 100%; }
  .nav-links a {
    display: block;
    padding: 14px 2px;
    font-size: 15px;
    color: var(--text);
    border-bottom: 1px solid var(--border);
  }
  .nav-links li:last-child a { border-bottom: none; }
  .nav-links .nav-gh {
    justify-content: center;
    margin-top: 14px;
    padding: 13px 16px;
    font-size: 14px;
  }
}

/* ── HERO ────────────────────────────────────────────── */
.hero {
  position: relative; padding: 108px 0 88px;
  overflow: hidden;
}
/* barcode-stripe texture — vertical thin lines */
.hero::before {
  content: '';
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    repeating-linear-gradient(90deg,
      transparent 0px, transparent 3px,
      rgba(124,111,255,0.035) 3px, rgba(124,111,255,0.035) 4px,
      transparent 4px, transparent 8px,
      rgba(124,111,255,0.025) 8px, rgba(124,111,255,0.025) 10px,
      transparent 10px, transparent 16px,
      rgba(124,111,255,0.04) 16px, rgba(124,111,255,0.04) 17px,
      transparent 17px, transparent 24px,
      rgba(124,111,255,0.03) 24px, rgba(124,111,255,0.03) 26px,
      transparent 26px, transparent 34px,
      rgba(124,111,255,0.02) 34px, rgba(124,111,255,0.02) 35px,
      transparent 35px, transparent 44px
    );
}
/* bottom glow */
.hero::after {
  content: '';
  position: absolute; bottom: -100px; left: 50%;
  transform: translateX(-50%);
  width: 900px; height: 500px;
  background: radial-gradient(ellipse at center, rgba(124,111,255,0.15) 0%, transparent 68%);
  pointer-events: none;
}
.hero-eyebrow {
  font-family: var(--mono); font-size: 11px; font-weight: 400;
  color: var(--accent); letter-spacing: 0.18em; text-transform: uppercase;
  margin-bottom: 30px;
  opacity: 0; animation: up 0.5s 0.05s ease-out forwards;
}
.hero-hl {
  font-family: var(--mono); font-weight: 800;
  font-size: clamp(52px, 9.5vw, 100px);
  line-height: 1.0; letter-spacing: -0.035em;
  margin-bottom: 30px;
}
.hero-hl .ln {
  display: block;
  opacity: 0; transform: translateY(18px);
}
.hero-hl .ln:nth-child(1) { animation: up 0.45s 0.15s ease-out forwards; }
.hero-hl .ln:nth-child(2) { animation: up 0.45s 0.28s ease-out forwards; }
.hero-hl .ln:nth-child(3) { animation: up 0.45s 0.42s ease-out forwards; }
.hero-hl .kw { color: var(--accent); }
.hero-hl .cursor {
  display: inline-block;
  width: 0.52em; height: 0.82em;
  background: var(--accent);
  vertical-align: text-bottom;
  margin-left: 3px;
  opacity: 0;
  animation: blink 1s 0.9s step-end infinite;
}
@keyframes blink {
  0%,100% { opacity: 1; } 50% { opacity: 0; }
}
.hero-sub {
  max-width: 500px; color: var(--muted);
  font-size: 18px; line-height: 1.68; margin-bottom: 40px;
  opacity: 0; animation: up 0.45s 0.58s ease-out forwards;
}
.hero-sub strong { color: var(--text); font-weight: 600; }
.hero-actions {
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
  margin-bottom: 64px;
  opacity: 0; animation: up 0.45s 0.72s ease-out forwards;
}
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 15px; font-weight: 600; border-radius: var(--r);
  padding: 13px 26px; transition: opacity 0.15s, transform 0.15s;
}
.btn:hover { transform: translateY(-1px); }
.btn--primary { background: var(--brand); color: #fff; }
.btn--primary:hover { opacity: 0.88; }
.btn--ghost {
  background: transparent; color: var(--muted);
  padding: 13px 0; font-weight: 500; border-radius: 0;
  transition: color 0.15s;
}
.btn--ghost:hover { color: var(--text); transform: none; }

/* stat cards */
.stats {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px;
  opacity: 0; animation: up 0.45s 0.9s ease-out forwards;
}
.stat {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r); padding: 18px 22px;
}
.stat-num {
  font-family: var(--mono); font-size: 28px; font-weight: 700;
  line-height: 1.1; margin-bottom: 4px;
}
.stat-num .cur { color: var(--accent); }
.stat-lbl { font-size: 13px; color: var(--muted); }
.stat-pill {
  display: inline-flex; align-items: center; gap: 4px;
  margin-top: 8px; font-size: 11px; font-family: var(--mono);
  color: var(--green);
  background: var(--green-dim); border: 1px solid rgba(74,222,128,0.2);
  border-radius: 4px; padding: 2px 7px;
}
.stat-note {
  margin-top: 14px; font-size: 12px; color: #4D4880;
  font-family: var(--mono);
  opacity: 0; animation: up 0.3s 1.4s ease-out forwards;
}

@keyframes up {
  to { opacity: 1; transform: translateY(0); }
}
@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ── DIVIDER ─────────────────────────────────────────── */
hr { border: none; border-top: 1px solid var(--border); }

/* ── SECTION HEADER ──────────────────────────────────── */
.eyebrow {
  font-family: var(--mono); font-size: 11px; font-weight: 700;
  color: var(--accent); letter-spacing: 0.17em; text-transform: uppercase;
  margin-bottom: 14px;
}
.sh { font-size: clamp(30px, 5vw, 46px); font-weight: 700; line-height: 1.14; letter-spacing: -0.025em; margin-bottom: 14px; }
.sh em { font-style: normal; color: var(--brand); }
.sd { font-size: 17px; color: var(--muted); max-width: 540px; line-height: 1.68; }
.hdr { margin-bottom: 52px; }
.hdr--c { text-align: center; }
.hdr--c .sd { margin: 0 auto; }

/* ── FEATURES GRID ───────────────────────────────────── */
.grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.fcard {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r); padding: 26px;
  transition: border-color 0.2s, background 0.2s;
}
.fcard:hover { border-color: var(--brand); background: var(--surface-2); }
.fcard:focus-within { outline: 2px solid var(--brand); outline-offset: 2px; }
.fcard-icon {
  width: 42px; height: 42px; border-radius: 9px;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; margin-bottom: 18px;
}
.ic-brand { background: var(--brand-dim); }
.ic-accent { background: var(--accent-dim); }
.ic-green { background: var(--green-dim); }
.fcard h3 { font-size: 16px; font-weight: 700; margin-bottom: 9px; letter-spacing: -0.01em; }
.fcard p { font-size: 13.5px; color: var(--muted); line-height: 1.65; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.tag {
  font-family: var(--mono); font-size: 10.5px; color: var(--muted);
  background: var(--ground); border: 1px solid var(--border);
  border-radius: 4px; padding: 2px 7px;
}

/* ── FEATURE DETAIL ROWS ─────────────────────────────── */
.fd {
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px;
  align-items: center;
}
.fd--r { direction: rtl; }
.fd--r > * { direction: ltr; }
.fd .sh { font-size: clamp(26px, 4vw, 38px); }
.fd p { color: var(--muted); line-height: 1.72; margin-bottom: 26px; font-size: 15px; }
.checks { list-style: none; display: flex; flex-direction: column; gap: 9px; }
.checks li {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 14px; color: var(--text);
}
.checks li::before {
  content: '';
  flex-shrink: 0;
  width: 18px; height: 18px; margin-top: 2px;
  border-radius: 50%;
  background: var(--green-dim) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 10 10'%3E%3Cpath d='M2 5l2.5 2.5L8 3' stroke='%234ADE80' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center;
  border: 1px solid rgba(74,222,128,0.25);
}

/* ── SCREEN MOCKS ────────────────────────────────────── */
.mock {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 14px; overflow: hidden;
  box-shadow: 0 28px 72px rgba(0,0,0,0.55), 0 0 0 1px rgba(124,111,255,0.07);
}
.mock-bar {
  background: var(--surface-2); padding: 10px 14px;
  display: flex; align-items: center; gap: 6px;
  border-bottom: 1px solid var(--border);
}
.dot { width: 10px; height: 10px; border-radius: 50%; }
.mock-body { padding: 18px 20px; }
.mock-label {
  font-family: var(--mono); font-size: 10px; font-weight: 700;
  color: var(--muted); letter-spacing: 0.12em; text-transform: uppercase;
  margin-bottom: 10px;
}

/* POS mock */
.pos-row {
  display: flex; justify-content: space-between; align-items: baseline;
  padding: 8px 0; border-bottom: 1px solid var(--border);
  font-size: 13px;
}
.pos-row:last-of-type { border: none; }
.pos-row strong { font-weight: 600; }
.pos-row .dim { color: var(--muted); font-size: 12px; }
.pos-total {
  display: flex; justify-content: space-between; align-items: baseline;
  padding-top: 12px; font-family: var(--mono); font-weight: 700; font-size: 15px;
}
.pos-total .amt { color: var(--accent); }
.pmethods { display: flex; gap: 6px; margin-top: 12px; flex-wrap: wrap; }
.pm {
  font-family: var(--mono); font-size: 11px;
  padding: 3px 10px; border-radius: 5px;
  border: 1px solid var(--border); color: var(--muted);
}
.pm--on {
  border-color: var(--brand); color: var(--brand);
  background: var(--brand-dim);
}
.paid-row {
  margin-top: 12px; display: flex;
  align-items: center; justify-content: space-between;
}
.paid-badge {
  display: inline-flex; align-items: center; gap: 4px;
  font-family: var(--mono); font-size: 11px;
  color: var(--green); background: var(--green-dim);
  border: 1px solid rgba(74,222,128,0.25); border-radius: 4px;
  padding: 3px 9px;
}

/* ── PHONE MOCK ──────────────────────────────────────── */
.phone-wrap {
  display: flex; justify-content: center; align-items: flex-start;
}
.phone {
  width: 260px;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 36px; padding: 16px 12px 20px;
  box-shadow: 0 28px 72px rgba(0,0,0,0.55), 0 0 0 1px rgba(124,111,255,0.07);
}
.phone::before {
  content: ''; display: block;
  width: 56px; height: 5px;
  background: var(--border); border-radius: 3px;
  margin: 0 auto 14px;
}
.phone-screen {
  background: var(--ground); border-radius: 22px; overflow: hidden;
}
.phone-hd {
  background: var(--surface-2); padding: 10px 14px;
  border-bottom: 1px solid var(--border);
  display: flex; align-items: center; gap: 8px;
}
.phone-hd-label {
  font-family: var(--mono); font-size: 10px; font-weight: 700;
  color: var(--brand); letter-spacing: 0.12em; text-transform: uppercase;
}
.phone-body { padding: 14px 14px 16px; }
.phone-product { font-weight: 700; font-size: 15px; color: var(--text); margin-bottom: 2px; }
.phone-sku { font-family: var(--mono); font-size: 10px; color: var(--muted); margin-bottom: 12px; }
.phone-divider { height: 1px; background: var(--border); margin-bottom: 12px; }
.scan-row {
  display: flex; justify-content: space-between; align-items: baseline;
  font-size: 12px; padding: 5px 0; border-bottom: 1px solid rgba(43,39,80,0.6);
}
.scan-row:last-of-type { border: none; }
.scan-row span:first-child { color: var(--muted); }
.scan-row span:last-child { font-weight: 600; color: var(--text); }
.scan-stock { color: var(--green) !important; }
.phone-alert {
  margin-top: 12px; padding: 8px 10px; border-radius: 8px;
  background: rgba(245,165,35,0.10); border: 1px solid rgba(245,165,35,0.25);
  font-size: 11px; color: var(--accent);
}

/* inventory mock */
.inv-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 8px 0; border-bottom: 1px solid var(--border); font-size: 13px;
}
.inv-row:last-of-type { border: none; }
.sbadge {
  font-family: var(--mono); font-size: 10.5px;
  padding: 2px 8px; border-radius: 4px;
}
.sb-ok { color: var(--green); background: var(--green-dim); border: 1px solid rgba(74,222,128,0.22); }
.sb-low { color: var(--accent); background: var(--accent-dim); border: 1px solid rgba(245,165,35,0.25); }
.sb-crit { color: var(--red); background: rgba(248,113,113,0.10); border: 1px solid rgba(248,113,113,0.22); }
.inv-summary {
  display: flex; gap: 14px; margin-top: 12px;
  font-family: var(--mono); font-size: 11.5px;
}

/* dashboard/reports mock */
.dash-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.dc {
  background: var(--ground); border: 1px solid var(--border);
  border-radius: 8px; padding: 13px 15px;
}
.dc-lbl { font-size: 11px; color: var(--muted); margin-bottom: 5px; }
.dc-val {
  font-family: var(--mono); font-size: 21px; font-weight: 700;
}
.dc-val--a { color: var(--accent); }
.dc-val--b { color: var(--brand); }
.dc-val--g { color: var(--green); }
.dc-chg { font-size: 11px; color: var(--green); margin-top: 3px; }
.mini-chart {
  margin-top: 12px; background: var(--ground); border: 1px solid var(--border);
  border-radius: 8px; padding: 12px 14px;
}
.bars {
  display: flex; align-items: flex-end; gap: 5px; height: 56px; margin-top: 8px;
}
.bar-col { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 3px; }
.bar-fill { width: 100%; border-radius: 3px 3px 0 0; }
.bar-lbl { font-size: 9px; color: var(--muted); font-family: var(--mono); }

/* command block */
.cmd {
  background: #08071A; border: 1px solid var(--border);
  border-radius: var(--r); padding: 26px 28px;
  font-family: var(--mono); font-size: 13.5px; line-height: 1.95;
}
.c-comment { color: #3A3660; }
.c-prompt { color: var(--muted); }
.c-cmd { color: var(--accent); }
.c-flag { color: var(--brand); }
.c-ok { color: var(--green); }
.c-dim { color: var(--muted); }
.built-with {
  margin-top: 14px; padding: 14px 18px;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r);
}
.bw-lbl { font-family: var(--mono); font-size: 10px; color: var(--muted); letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 9px; }

/* ── ROLES ───────────────────────────────────────────── */
.roles-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.rcard {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r); padding: 26px;
}
.rtitle {
  font-family: var(--mono); font-size: 12px; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 6px;
}
.rt-o { color: var(--accent); }
.rt-m { color: var(--brand); }
.rt-c { color: var(--green); }
.rdesc { font-size: 13px; color: var(--muted); line-height: 1.6; margin-bottom: 18px; }
.perms { list-style: none; display: flex; flex-direction: column; gap: 5px; }
.perms li {
  font-family: var(--mono); font-size: 11.5px;
  padding: 4px 0; border-bottom: 1px solid var(--border); color: var(--muted);
}
.perms li:last-child { border: none; }
.perms li.y { color: var(--text); }
.ck { color: var(--green); margin-right: 5px; }
.cx { color: #3A3660; margin-right: 5px; }

/* ── BADGES ──────────────────────────────────────────── */
.badge-stack { display: flex; flex-direction: column; gap: 9px; margin-top: 26px; }
.badge {
  display: flex; align-items: center; gap: 8px;
  font-size: 13px; color: var(--muted);
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 7px; padding: 9px 14px;
}
.badge .ico { font-size: 16px; }

/* ── VS EXCEL ───────────────────────────────────────────── */
.excel-vs {
  display: grid; grid-template-columns: 1fr 1fr; gap: 20px;
}
.evc { border-radius: var(--r); overflow: hidden; }
.evc-hdr { padding: 16px 22px; }
.evc--bad .evc-hdr {
  background: rgba(248,113,113,0.07);
  border: 1px solid rgba(248,113,113,0.20);
  border-bottom: none;
  border-radius: var(--r) var(--r) 0 0;
}
.evc--good .evc-hdr {
  background: rgba(74,222,128,0.07);
  border: 1px solid rgba(74,222,128,0.20);
  border-bottom: none;
  border-radius: var(--r) var(--r) 0 0;
}
.evc-title {
  font-family: var(--mono); font-size: 12px; font-weight: 700;
  letter-spacing: 0.10em; text-transform: uppercase;
}
.evc--bad .evc-title { color: var(--red); }
.evc--good .evc-title { color: var(--green); }
.evc-body { border-radius: 0 0 var(--r) var(--r); }
.evc--bad .evc-body {
  background: rgba(248,113,113,0.03);
  border: 1px solid rgba(248,113,113,0.12); border-top: none;
}
.evc--good .evc-body {
  background: rgba(74,222,128,0.03);
  border: 1px solid rgba(74,222,128,0.12); border-top: none;
}
.ev-row { padding: 14px 22px; border-bottom: 1px solid var(--border); }
.ev-row:last-child { border-bottom: none; }
.ev-lbl {
  font-family: var(--mono); font-size: 10px; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  margin-bottom: 5px; color: var(--muted);
}
.evc--bad .ev-text { color: var(--muted); font-size: 13.5px; line-height: 1.58; }
.evc--good .ev-text { color: var(--text); font-size: 13.5px; line-height: 1.58; }
.ev-gains {
  display: grid; grid-template-columns: repeat(4,1fr);
  gap: 14px; margin-top: 24px;
  padding: 26px 32px;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r); text-align: center;
}
.ev-gain-num {
  font-family: var(--mono); font-size: 26px; font-weight: 700;
  color: var(--accent); line-height: 1.1; margin-bottom: 5px;
}
.ev-gain-lbl { font-size: 12.5px; color: var(--muted); }
@media (max-width: 900px) {
  .excel-vs { grid-template-columns: 1fr; }
  .ev-gains { grid-template-columns: repeat(2,1fr); }
}

/* ── CTA ─────────────────────────────────────────────── */
.cta-wrap {
  padding: 112px 0; text-align: center; position: relative;
}
.cta-wrap::before {
  content: '';
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 640px; height: 420px; pointer-events: none;
  background: radial-gradient(ellipse, rgba(245,165,35,0.07) 0%, transparent 68%);
}
.cta-actions {
  display: flex; align-items: center; justify-content: center;
  gap: 16px; flex-wrap: wrap; margin-top: 38px;
}
.cta-note { margin-top: 18px; font-size: 12.5px; color: #4D4880; font-family: var(--mono); }

/* ── CONTACT ─────────────────────────────────────────── */
.contact-form {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r); padding: 36px;
  max-width: 620px; margin: 0 auto;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-group { display: flex; flex-direction: column; gap: 7px; margin-bottom: 16px; }
.form-group:last-of-type { margin-bottom: 0; }
.form-label {
  font-family: var(--mono); font-size: 10.5px; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted);
}
.form-input, .form-textarea {
  background: var(--ground); border: 1px solid var(--border);
  border-radius: 7px; padding: 11px 14px;
  font-family: var(--body); font-size: 14px; color: var(--text);
  outline: none; transition: border-color 0.18s, box-shadow 0.18s;
  width: 100%;
}
.form-input::placeholder, .form-textarea::placeholder { color: #3A3660; }
.form-input:focus, .form-textarea:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(124,111,255,0.14);
}
.form-textarea { resize: vertical; min-height: 110px; line-height: 1.6; }
.form-submit {
  width: 100%; margin-top: 22px;
  padding: 13px 24px; border: none; cursor: pointer;
  background: var(--brand); color: #fff;
  font-family: var(--body); font-size: 15px; font-weight: 600;
  border-radius: var(--r); transition: opacity 0.15s, transform 0.15s;
  display: flex; align-items: center; justify-content: center; gap: 8px;
}
.form-submit:hover:not(:disabled) { opacity: 0.88; transform: translateY(-1px); }
.form-submit:disabled { opacity: 0.5; cursor: not-allowed; transform: none; }
.form-status {
  margin-top: 14px; padding: 11px 14px; border-radius: 7px;
  font-size: 13.5px; text-align: center; display: none;
}
.form-status--ok {
  display: block; color: var(--green);
  background: var(--green-dim); border: 1px solid rgba(74,222,128,0.25);
}
.form-status--err {
  display: block; color: var(--red);
  background: rgba(248,113,113,0.10); border: 1px solid rgba(248,113,113,0.22);
}
.contact-info {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 16px; max-width: 620px; margin: 32px auto 0;
}
.cinfo-item {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r); padding: 20px 22px;
}
.cinfo-icon { font-size: 20px; margin-bottom: 8px; }
.cinfo-lbl {
  font-family: var(--mono); font-size: 10px; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 5px;
}
.cinfo-val { font-size: 13px; color: var(--text); line-height: 1.6; }
@media (max-width: 900px) {
  .form-row { grid-template-columns: 1fr; }
  .contact-info { grid-template-columns: 1fr; }
}

/* ── FOOTER ──────────────────────────────────────────── */
.footer { border-top: 1px solid var(--border); padding: 38px 0 56px; }
.footer-inner {
  display: flex; align-items: center;
  justify-content: space-between; flex-wrap: wrap; gap: 16px;
}
.footer-logo { font-family: var(--mono); font-weight: 800; font-size: 15px; }
.footer-logo b { color: var(--brand); }
.footer-copy { font-size: 13px; color: var(--muted); }
.footer-links { display: flex; gap: 22px; list-style: none; }
.footer-links a { font-size: 13px; color: var(--muted); transition: color 0.15s; }
.footer-links a:hover { color: var(--text); }

/* ── REVEAL ──────────────────────────────────────────── */
.rev {
  opacity: 0; transform: translateY(22px);
  transition: opacity 0.55s ease-out, transform 0.55s ease-out;
}
.rev.on { opacity: 1; transform: translateY(0); }
.rev-d1 { transition-delay: 0.08s; }
.rev-d2 { transition-delay: 0.16s; }
.rev-d3 { transition-delay: 0.24s; }
.rev-d4 { transition-delay: 0.32s; }
.rev-d5 { transition-delay: 0.40s; }
.rev-d6 { transition-delay: 0.48s; }

/* ── RESPONSIVE ──────────────────────────────────────── */
@media (max-width: 900px) {
  .grid-3 { grid-template-columns: repeat(2,1fr); }
  .fd { grid-template-columns: 1fr; gap: 40px; }
  .fd--r { direction: ltr; }
  .roles-grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr; }
  .dash-grid { grid-template-columns: 1fr 1fr; }
}
/* tablet / large phone */
@media (max-width: 860px) {
  /* 16px inputs stop iOS Safari auto-zooming on focus */
  .form-input, .form-textarea { font-size: 16px; }
}
@media (max-width: 560px) {
  .grid-3 { grid-template-columns: 1fr; }
  .section { padding: 64px 0; }
  .hero { padding: 84px 0 64px; }
  .hero-sub { font-size: 16px; }
  /* full-width primary action is easier to tap one-handed */
  .hero-actions .btn--primary { width: 100%; justify-content: center; }
  .contact-form { padding: 24px 20px; }
  .ev-gains { padding: 22px 20px; }
  .cta-wrap { padding: 80px 0; }
}
@media (max-width: 400px) {
  /* keep the mono headline from overflowing on narrow phones */
  .hero-hl { font-size: clamp(38px, 13vw, 52px); }
  .dash-grid { grid-template-columns: 1fr; }
  .ev-gains { grid-template-columns: 1fr 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}
