/* ============================================================
   PCAITECH — Design System v2 (UI/UX Pro Max Compliant)
   Style: Dark Mode OLED + Trust & Authority
   Pattern: Palantir-Cinematic + Waitlist Conversion
   Accessibility: WCAG AA (4.5:1 contrast minimum)
   Animation: prefers-reduced-motion compliant
   Typography: Inter (Google Fonts)
   ============================================================ */

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

/* ── Design Tokens ── */
:root {
  /* Backgrounds — OLED black scale */
  --bg-0:           #000000;
  --bg-1:           #080808;
  --bg-2:           #0f0f0f;
  --bg-3:           #141414;
  --bg-card:        #111111;
  --bg-card-hover:  #181818;

  /* Text — WCAG AA compliant on black */
  --text-primary:   #ffffff;          /* 21:1 on #000 */
  --text-secondary: #a3a3a3;          /* 5.0:1 on #000 — AA ✓ */
  --text-muted:     #525252;          /* 3.5:1 on #000 */
  --text-label:     #737373;          /* 4.6:1 on #000 — AA ✓ */

  /* Brand accent — red */
  --accent:         #cc0000;
  --accent-light:   #e60000;
  --accent-hover:   #ff1a1a;
  --accent-subtle:  rgba(204, 0, 0, 0.10);
  --accent-glow:    rgba(204, 0, 0, 0.20);

  /* Borders */
  --border:         rgba(255, 255, 255, 0.08);
  --border-strong:  rgba(255, 255, 255, 0.14);
  --border-accent:  rgba(204, 0, 0, 0.25);

  /* Typography */
  --font:           'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Spacing — 4pt grid */
  --sp-1:  4px;
  --sp-2:  8px;
  --sp-3:  12px;
  --sp-4:  16px;
  --sp-5:  20px;
  --sp-6:  24px;
  --sp-8:  32px;
  --sp-10: 40px;
  --sp-12: 48px;
  --sp-16: 64px;
  --sp-20: 80px;
  --sp-24: 96px;
  --sp-32: 128px;

  /* Layout */
  --nav-h:      72px;
  --max-w:      1280px;
  --max-w-text: 720px;

  /* Motion — 150-300ms per UI Pro Max */
  --ease-out:   cubic-bezier(0.0, 0.0, 0.2, 1);
  --ease-in:    cubic-bezier(0.4, 0.0, 1, 1);
  --ease:       cubic-bezier(0.4, 0.0, 0.2, 1);
  --dur-fast:   150ms;
  --dur-base:   200ms;
  --dur-slow:   300ms;
  --dur-reveal: 600ms;

  /* Z-index scale */
  --z-base:    0;
  --z-raised:  10;
  --z-overlay: 40;
  --z-nav:     100;
  --z-modal:   1000;
}

/* ── Reset ── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  color-scheme: dark;
  /* Prevent iOS auto-zoom on focus */
  -webkit-text-size-adjust: 100%;
}

/* Respect prefers-reduced-motion — UI Pro Max §7 */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

body {
  background: var(--bg-0);
  color: var(--text-primary);
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a  { color: inherit; text-decoration: none; }
ul { list-style: none; }
img, svg { display: block; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* Scrollbar */
::-webkit-scrollbar              { width: 3px; }
::-webkit-scrollbar-track        { background: var(--bg-0); }
::-webkit-scrollbar-thumb        { background: var(--accent); border-radius: 2px; }
::selection                       { background: var(--accent); color: #fff; }

/* ── Skip Link (Accessibility — §1) ── */
.skip-link {
  position: absolute;
  top: -100%;
  left: var(--sp-4);
  z-index: var(--z-modal);
  padding: var(--sp-3) var(--sp-6);
  background: var(--accent);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  transition: top var(--dur-fast) var(--ease-out);
}
.skip-link:focus { top: var(--sp-4); outline: 2px solid #fff; outline-offset: 2px; }

/* ── Focus States (Accessibility — §1) ── */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 2px;
}
:focus:not(:focus-visible) { outline: none; }

/* ============================================================
   NAVIGATION
   ============================================================ */
.nav {
  position: fixed;
  inset-block-start: 0;
  inset-inline: 0;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-inline: var(--sp-12);
  z-index: var(--z-nav);
  background: rgba(0, 0, 0, 0.80);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--border);
  transition:
    border-color var(--dur-base) var(--ease),
    background var(--dur-base) var(--ease);
}
.nav.scrolled { border-bottom-color: var(--border-strong); }

/* Logo */
.nav-logo {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-3);
  cursor: pointer;
}
.nav-logo:focus-visible { outline-offset: 6px; }

.nav-logo-mark {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.nav-logo-mark svg { width: 28px; height: 28px; }

.nav-logo-text {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-primary);
}

/* Links */
.nav-links {
  display: flex;
  align-items: center;
  gap: var(--sp-8);
}
.nav-links a {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-label);
  transition: color var(--dur-fast) var(--ease-out);
  cursor: pointer;
  position: relative;
  padding-block: var(--sp-2);
}
.nav-links a::after {
  content: '';
  position: absolute;
  inset-block-end: -2px;
  inset-inline: 0;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--dur-base) var(--ease-out);
}
.nav-links a:hover,
.nav-links a.active { color: var(--text-primary); }
.nav-links a:hover::after,
.nav-links a.active::after { transform: scaleX(1); }

/* CTA button */
.btn-nav {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-primary);
  background: var(--accent);
  border: 1px solid var(--accent);
  padding: 10px var(--sp-6);
  cursor: pointer;
  transition:
    background var(--dur-fast) var(--ease-out),
    color var(--dur-fast) var(--ease-out),
    box-shadow var(--dur-base) var(--ease-out);
  /* Min touch target: extend if needed — §2 */
  min-height: 40px;
}
.btn-nav:hover {
  background: transparent;
  color: var(--accent);
  box-shadow: 0 0 20px var(--accent-glow);
}

/* Mobile toggle */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: var(--sp-3);
  cursor: pointer;
}
.nav-hamburger span {
  width: 22px;
  height: 1.5px;
  background: var(--text-primary);
  border-radius: 1px;
  transition: transform var(--dur-base) var(--ease), opacity var(--dur-fast) var(--ease);
}

/* Mobile drawer */
.nav-drawer {
  display: none;
  position: fixed;
  inset: var(--nav-h) 0 0 0;
  background: var(--bg-0);
  z-index: calc(var(--z-nav) - 1);
  flex-direction: column;
  padding: var(--sp-8) var(--sp-8);
  gap: var(--sp-2);
  border-top: 1px solid var(--border);
  transform: translateY(-8px);
  opacity: 0;
  transition:
    opacity var(--dur-base) var(--ease-out),
    transform var(--dur-base) var(--ease-out);
  pointer-events: none;
}
.nav-drawer.open {
  display: flex;
  opacity: 1;
  transform: translateY(0);
  pointer-events: all;
}
.nav-drawer a {
  font-size: 16px;
  font-weight: 500;
  color: var(--text-secondary);
  letter-spacing: 0.04em;
  padding: var(--sp-4) 0;
  border-bottom: 1px solid var(--border);
  transition: color var(--dur-fast) var(--ease-out);
}
.nav-drawer a:hover { color: var(--text-primary); }
.nav-drawer .btn-nav {
  margin-top: var(--sp-6);
  justify-content: center;
  width: 100%;
  padding-block: 14px;
}

/* ============================================================
   HERO — HOME
   ============================================================ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-block-start: var(--nav-h);
  padding-inline: var(--sp-8);
  overflow: hidden;
  isolation: isolate;
}

/* Neural canvas — decorative, behind content */
#hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.35;
  z-index: -2;
  pointer-events: none;
  aria-hidden: true;
}

/* Grid overlay */
.hero-grid {
  position: absolute;
  inset: 0;
  z-index: -1;
  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: 72px 72px;
  -webkit-mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, black 30%, transparent 100%);
  mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, black 30%, transparent 100%);
  pointer-events: none;
}

/* Radial vignette */
.hero-vignette {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(ellipse 90% 80% at 50% 0%, rgba(204, 0, 0, 0.04) 0%, transparent 70%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 880px;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-3);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: var(--sp-8);
}
.hero-eyebrow-line {
  width: 32px;
  height: 1px;
  background: var(--accent);
  opacity: 0.6;
}

/* Big headline — Palantir-style */
.hero-title {
  font-size: clamp(44px, 8vw, 96px);
  font-weight: 800;
  line-height: 1.0;
  letter-spacing: -0.03em;
  color: var(--text-primary);
  margin-bottom: var(--sp-8);
}
.hero-title .dim { color: var(--text-secondary); font-weight: 300; }
.hero-title .red { color: var(--accent); }

.hero-sub {
  font-size: clamp(16px, 2vw, 20px);
  font-weight: 400;
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 560px;
  margin: 0 auto var(--sp-12);
}

/* CTA row */
.hero-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-4);
  flex-wrap: wrap;
}

/* Primary button */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--text-primary);
  background: var(--accent);
  border: 1px solid var(--accent);
  padding: 15px var(--sp-10);
  cursor: pointer;
  transition:
    background var(--dur-fast) var(--ease-out),
    color var(--dur-fast) var(--ease-out),
    box-shadow var(--dur-base) var(--ease-out),
    transform var(--dur-fast) var(--ease-out);
  min-height: 48px; /* touch target §2 */
  position: relative;
}
.btn-primary:hover {
  background: transparent;
  color: var(--accent);
  box-shadow: 0 0 32px var(--accent-glow), inset 0 0 16px var(--accent-subtle);
  transform: translateY(-1px);
}
.btn-primary:active { transform: translateY(0); }

/* Ghost button */
.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--text-secondary);
  background: transparent;
  border: 1px solid var(--border-strong);
  padding: 15px var(--sp-10);
  cursor: pointer;
  transition:
    color var(--dur-fast) var(--ease-out),
    border-color var(--dur-fast) var(--ease-out),
    transform var(--dur-fast) var(--ease-out);
  min-height: 48px;
}
.btn-ghost:hover {
  color: var(--text-primary);
  border-color: rgba(255, 255, 255, 0.28);
  transform: translateY(-1px);
}
.btn-ghost:active { transform: translateY(0); }

/* Scroll cue */
.hero-scroll {
  position: absolute;
  bottom: var(--sp-10);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-2);
  color: var(--text-muted);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  pointer-events: none;
}
.hero-scroll-bar {
  width: 1px;
  height: 44px;
  background: linear-gradient(to bottom, var(--accent), transparent);
  animation: scrollbar-drop 2.4s var(--ease-out) infinite;
}
@keyframes scrollbar-drop {
  0%   { opacity: 0; transform: scaleY(0); transform-origin: top; }
  40%  { opacity: 1; transform: scaleY(1); transform-origin: top; }
  60%  { opacity: 1; transform: scaleY(1); transform-origin: bottom; }
  100% { opacity: 0; transform: scaleY(0); transform-origin: bottom; }
}

/* ============================================================
   TICKER / MARQUEE
   ============================================================ */
.ticker {
  border-block: 1px solid var(--border);
  background: var(--bg-1);
  padding-block: 14px;
  overflow: hidden;
  position: relative;
}
.ticker::before,
.ticker::after {
  content: '';
  position: absolute;
  inset-block: 0;
  width: 100px;
  z-index: 2;
  pointer-events: none;
}
.ticker::before { left: 0;  background: linear-gradient(to right, var(--bg-1), transparent); }
.ticker::after  { right: 0; background: linear-gradient(to left,  var(--bg-1), transparent); }

.ticker-track {
  display: flex;
  gap: 0;
  width: max-content;
  animation: ticker-move 28s linear infinite;
}
.ticker-track:hover { animation-play-state: paused; }

@keyframes ticker-move {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.ticker-item {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  padding-inline: var(--sp-10);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
  white-space: nowrap;
}
.ticker-dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}

/* ============================================================
   SECTION SYSTEM
   ============================================================ */
.section {
  padding-block: var(--sp-32);
  padding-inline: var(--sp-12);
}
.section-inner {
  max-width: var(--max-w);
  margin-inline: auto;
}

/* Section eyebrow */
.label {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-3);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: var(--sp-5);
}
.label::before {
  content: '';
  width: 20px;
  height: 1px;
  background: var(--accent);
  opacity: 0.7;
  flex-shrink: 0;
}

/* Headings */
.h1 {
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.025em;
  color: var(--text-primary);
}
.h2 {
  font-size: clamp(28px, 4vw, 52px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}
.h3 {
  font-size: clamp(18px, 2.5vw, 28px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.015em;
  color: var(--text-primary);
}
.h4 {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--text-primary);
}

/* Body text */
.body-lg {
  font-size: 18px;
  font-weight: 400;
  line-height: 1.75;
  color: var(--text-secondary);
}
.body-md {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.7;
  color: var(--text-secondary);
}
.body-sm {
  font-size: 14px;
  font-weight: 400;
  line-height: 1.65;
  color: var(--text-secondary);
}
.text-accent  { color: var(--accent); }
.text-muted   { color: var(--text-muted); }

/* ============================================================
   SPLIT LAYOUT (2-col feature block)
   ============================================================ */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-20);
  align-items: start;
}
.split.center { align-items: center; }
.split.reverse { direction: rtl; }
.split.reverse > * { direction: ltr; }

/* ============================================================
   VERTICALS GRID (Home)
   ============================================================ */
.verticals {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--border);
  margin-top: var(--sp-12);
}

.vcard {
  background: var(--bg-0);
  padding: var(--sp-12) var(--sp-12);
  display: block;
  position: relative;
  overflow: hidden;
  transition: background var(--dur-fast) var(--ease-out);
  cursor: pointer;
  min-height: 280px;
}
.vcard::before {
  content: '';
  position: absolute;
  inset-block-start: 0;
  inset-inline: 0;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--dur-slow) var(--ease-out);
}
.vcard:hover { background: var(--bg-card-hover); }
.vcard:hover::before { transform: scaleX(1); }

.vcard-num {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--accent);
  margin-bottom: var(--sp-8);
}
.vcard-icon {
  width: 40px;
  height: 40px;
  margin-bottom: var(--sp-6);
  color: var(--text-muted);
  transition: color var(--dur-base) var(--ease-out);
}
.vcard:hover .vcard-icon { color: var(--accent); }
.vcard-title {
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.015em;
  color: var(--text-primary);
  margin-bottom: var(--sp-3);
}
.vcard-desc {
  font-size: 14px;
  line-height: 1.65;
  color: var(--text-secondary);
  margin-bottom: var(--sp-8);
  max-width: 380px;
}
.vcard-arrow {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  transition: gap var(--dur-base) var(--ease-out);
}
.vcard:hover .vcard-arrow { gap: var(--sp-3); }
.vcard-arrow svg { width: 14px; height: 14px; flex-shrink: 0; }

/* ============================================================
   STATS ROW
   ============================================================ */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-block: 1px solid var(--border);
}
.stat {
  padding: var(--sp-12) var(--sp-10);
  border-right: 1px solid var(--border);
}
.stat:last-child { border-right: none; }
.stat-number {
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--text-primary);
  margin-bottom: var(--sp-2);
}
.stat-number .accent { color: var(--accent); }
.stat-label {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: var(--text-muted);
}

/* ============================================================
   FEATURE LIST (Vertical pages)
   ============================================================ */
.feature-list {
  display: flex;
  flex-direction: column;
}
.feature-item {
  display: flex;
  gap: var(--sp-5);
  padding-block: var(--sp-6);
  border-bottom: 1px solid var(--border);
}
.feature-item:first-child { border-top: 1px solid var(--border); }
.feature-item-icon {
  width: 36px;
  height: 36px;
  min-width: 36px;
  border: 1px solid var(--border-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  margin-top: 2px;
  flex-shrink: 0;
}
.feature-item-icon svg { width: 16px; height: 16px; }
.feature-item-body h4 { margin-bottom: var(--sp-1); }
.feature-item-body p { font-size: 14px; }

/* ============================================================
   CALLOUT / PULLQUOTE
   ============================================================ */
.callout {
  border-left: 3px solid var(--accent);
  padding: var(--sp-8) var(--sp-10);
  background: var(--bg-card);
  position: relative;
}
.callout-text {
  font-size: clamp(17px, 2.2vw, 24px);
  font-weight: 500;
  line-height: 1.55;
  color: var(--text-primary);
  letter-spacing: -0.01em;
}
.callout-text em { color: var(--accent); font-style: normal; }

/* ============================================================
   LAYERS STACK (3-layer mechanism)
   ============================================================ */
.layers {
  display: flex;
  flex-direction: column;
  gap: 1px;
  background: var(--border);
}
.layer-item {
  background: var(--bg-card);
  padding: var(--sp-8) var(--sp-8);
  transition: background var(--dur-fast) var(--ease-out);
}
.layer-item:hover { background: var(--bg-card-hover); }
.layer-badge {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: var(--sp-3);
}

/* ============================================================
   GRID CARDS (small info cards)
   ============================================================ */
.grid-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--border);
}
.grid-card {
  background: var(--bg-card);
  padding: var(--sp-8) var(--sp-6);
  transition: background var(--dur-fast) var(--ease-out);
}
.grid-card:hover { background: var(--bg-card-hover); }
.grid-card-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: var(--sp-2);
  letter-spacing: -0.02em;
}
.grid-card-body { font-size: 13px; color: var(--text-secondary); line-height: 1.6; }

/* ============================================================
   WAITLIST SECTION
   ============================================================ */
.waitlist-section {
  position: relative;
  overflow: hidden;
  background: var(--bg-1);
  border-block: 1px solid var(--border);
}
.waitlist-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 80% at 50% 50%, rgba(204, 0, 0, 0.05) 0%, transparent 65%);
  pointer-events: none;
}
.waitlist-inner {
  position: relative;
  max-width: var(--max-w);
  margin-inline: auto;
  padding: var(--sp-32) var(--sp-12);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-20);
  align-items: center;
}

/* Email form */
.email-form {
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
}
.email-row {
  display: flex;
  gap: 0;
}
.email-input {
  flex: 1;
  background: var(--bg-2);
  border: 1px solid var(--border-strong);
  border-right: none;
  color: var(--text-primary);
  font-family: var(--font);
  font-size: 15px;
  padding: 15px var(--sp-5);
  outline: none;
  transition: border-color var(--dur-fast) var(--ease-out);
  /* touch-friendly: §2 */
  min-height: 52px;
}
.email-input::placeholder { color: var(--text-muted); }
.email-input:focus { border-color: var(--accent); }
.email-input:focus + .email-submit { border-color: var(--accent); }

.email-submit {
  font-family: var(--font);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-primary);
  background: var(--accent);
  border: 1px solid var(--accent);
  padding-inline: var(--sp-8);
  cursor: pointer;
  white-space: nowrap;
  min-height: 52px;
  transition:
    background var(--dur-fast) var(--ease-out),
    color var(--dur-fast) var(--ease-out);
}
.email-submit:hover {
  background: transparent;
  color: var(--accent);
}
.email-submit:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.email-note {
  font-size: 12px;
  color: var(--text-muted);
  letter-spacing: 0.03em;
}
.email-note .hi { color: var(--accent); }

/* Success state */
.success-msg {
  display: none;
  align-items: center;
  gap: var(--sp-3);
  background: var(--accent-subtle);
  border: 1px solid var(--border-accent);
  padding: var(--sp-4) var(--sp-5);
  font-size: 14px;
  font-weight: 500;
  color: var(--accent-hover);
}
.success-msg.show { display: flex; }
.success-msg svg { width: 18px; height: 18px; flex-shrink: 0; }

/* ============================================================
   PAGE HERO (Inner pages)
   ============================================================ */
.page-hero {
  padding-block-start: calc(var(--nav-h) + var(--sp-20));
  padding-block-end: var(--sp-20);
  padding-inline: var(--sp-12);
  max-width: var(--max-w);
  margin-inline: auto;
  border-bottom: 1px solid var(--border);
}

/* ============================================================
   VALUES GRID (About page)
   ============================================================ */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  margin-top: var(--sp-12);
}
.value-card {
  background: var(--bg-0);
  padding: var(--sp-12) var(--sp-8);
  transition: background var(--dur-fast) var(--ease-out);
}
.value-card:hover { background: var(--bg-card-hover); }
.value-num {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: var(--accent);
  margin-bottom: var(--sp-6);
}

/* ============================================================
   CONTACT FORM (Full page)
   ============================================================ */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-4);
}
.form-field {
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
}
.form-field.full { grid-column: 1 / -1; }
.form-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.form-required { color: var(--accent); margin-left: 2px; }
.form-input,
.form-select,
.form-textarea {
  background: var(--bg-2);
  border: 1px solid var(--border-strong);
  color: var(--text-primary);
  font-family: var(--font);
  font-size: 15px;
  padding: 14px var(--sp-5);
  outline: none;
  width: 100%;
  transition: border-color var(--dur-fast) var(--ease-out);
  min-height: 52px;
}
.form-input::placeholder,
.form-textarea::placeholder { color: var(--text-muted); }
.form-input:focus,
.form-select:focus,
.form-textarea:focus { border-color: var(--accent); }
.form-textarea { resize: vertical; min-height: 140px; }
.form-select {
  appearance: none;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23737373' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}
.form-select option { background: var(--bg-2); }

/* Contact info column */
.contact-info-block {
  display: flex;
  flex-direction: column;
  gap: var(--sp-8);
}
.contact-info-item h4 {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: var(--sp-2);
}
.contact-info-item p,
.contact-info-item a {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.65;
  transition: color var(--dur-fast) var(--ease-out);
}
.contact-info-item a:hover { color: var(--text-primary); }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  border-top: 1px solid var(--border);
  background: var(--bg-0);
}
.footer-inner {
  max-width: var(--max-w);
  margin-inline: auto;
  padding: var(--sp-20) var(--sp-12) var(--sp-10);
}
.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--sp-16);
  padding-bottom: var(--sp-16);
  border-bottom: 1px solid var(--border);
}
.footer-brand-desc {
  margin-top: var(--sp-4);
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 260px;
}
.footer-col-heading {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: var(--sp-5);
}
.footer-col a {
  display: block;
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: var(--sp-3);
  transition: color var(--dur-fast) var(--ease-out);
  cursor: pointer;
}
.footer-col a:hover { color: var(--text-primary); }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: var(--sp-8);
  flex-wrap: wrap;
  gap: var(--sp-4);
}
.footer-copy {
  font-size: 12px;
  color: var(--text-muted);
  letter-spacing: 0.04em;
}
.footer-copy span { color: var(--accent); }
.footer-legal {
  display: flex;
  gap: var(--sp-6);
}
.footer-legal a {
  font-size: 12px;
  color: var(--text-muted);
  transition: color var(--dur-fast) var(--ease-out);
}
.footer-legal a:hover { color: var(--text-primary); }

/* ============================================================
   FADE-IN REVEAL
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity var(--dur-reveal) var(--ease-out),
    transform var(--dur-reveal) var(--ease-out);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 100ms; }
.reveal-delay-2 { transition-delay: 200ms; }
.reveal-delay-3 { transition-delay: 300ms; }

/* ============================================================
   DIVIDER
   ============================================================ */
.divider { width: 100%; height: 1px; background: var(--border); }

/* ============================================================
   RESPONSIVE — Mobile First Breakpoints
   UI Pro Max §5: 375 / 768 / 1024 / 1440
   ============================================================ */

/* 1024px — Tablet */
@media (max-width: 1024px) {
  :root { --sp-12: 32px; }
  .nav { padding-inline: var(--sp-8); }
  .nav-links { gap: var(--sp-6); }
  .split { grid-template-columns: 1fr; gap: var(--sp-10); }
  .split.reverse { direction: ltr; }
  .verticals { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: none; }
  .values-grid { grid-template-columns: 1fr 1fr; }
  .waitlist-inner { grid-template-columns: 1fr; gap: var(--sp-12); }
  .footer-top { grid-template-columns: 1fr 1fr; gap: var(--sp-10); }
}

/* 768px — Mobile landscape / tablet portrait */
@media (max-width: 768px) {
  :root { --sp-12: 24px; --sp-32: 64px; }
  .nav-links  { display: none; }
  .btn-nav    { display: none; }
  .nav-hamburger { display: flex; }
  .hero-title { font-size: clamp(38px, 10vw, 56px); }
  .section    { padding-block: var(--sp-20); }
  .email-row  { flex-direction: column; }
  .email-input { border-right: 1px solid var(--border-strong); }
  .email-submit { width: 100%; justify-content: center; }
  .values-grid { grid-template-columns: 1fr; }
  .form-grid  { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: var(--sp-8); }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

/* 375px — Small phone */
@media (max-width: 420px) {
  :root { --sp-12: 20px; }
  .hero-title { font-size: 36px; }
  .vcard { padding: var(--sp-8) var(--sp-6); }
  .hero-cta { flex-direction: column; }
  .btn-primary, .btn-ghost { width: 100%; justify-content: center; }
}
