:root {
  --bg: #0c0c0f;
  --surface: #141417;
  --surface-2: #1c1c21;
  --accent: #e8930a;
  --accent-dim: rgba(232, 147, 10, 0.12);
  --text: #f5f0e8;
  --text-dim: rgba(245, 240, 232, 0.5);
  --text-faint: rgba(245, 240, 232, 0.2);
  --border: rgba(245, 240, 232, 0.08);
  --font-display: 'Syne', sans-serif;
  --font-body: 'DM Sans', sans-serif;
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 2rem;
  --space-lg: 4rem;
  --space-xl: 8rem;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* NAV */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.75rem 3rem;
  border-bottom: 1px solid var(--border);
}
.nav-brand { display: flex; align-items: baseline; gap: 0.5rem; }
.nav-logo { font-family: var(--font-display); font-weight: 800; font-size: 1.25rem; letter-spacing: 0.12em; color: var(--text); }
.nav-tagline { font-family: var(--font-body); font-size: 0.8rem; color: var(--text-dim); font-weight: 300; }
.nav-meta { font-size: 0.75rem; color: var(--text-dim); letter-spacing: 0.06em; text-transform: uppercase; }

/* HERO */
.hero {
  padding: 8rem 3rem 6rem;
  max-width: 900px;
}
.hero-eyebrow {
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 2rem;
  font-family: var(--font-body);
  font-weight: 500;
}
.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 8vw, 6.5rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 2rem;
}
.hero-lede {
  font-size: 1.25rem;
  color: var(--text-dim);
  font-weight: 300;
  line-height: 1.7;
  max-width: 560px;
  margin-bottom: 3rem;
}
.hero-device-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
}
.hero-device-tag {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--text-dim);
  font-weight: 400;
}
.tag-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}

/* MANIFESTO */
.manifesto {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 6rem 3rem;
}
.manifesto-inner { max-width: 900px; }
.manifesto-label {
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 2rem;
}
.manifesto-statement {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5.5vw, 4.5rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--text);
}

/* SYSTEM */
.system {
  padding: 6rem 3rem;
  max-width: 1100px;
}
.section-label {
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 1.5rem;
}
.system-header { margin-bottom: 4rem; }
.system-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.05;
  color: var(--text);
  margin-bottom: 0.75rem;
}
.system-subtitle {
  font-size: 1rem;
  color: var(--text-dim);
  font-weight: 300;
}
.system-phases {
  display: flex;
  align-items: stretch;
  gap: 0;
}
.phase {
  flex: 1;
  padding: 2.5rem 2rem;
  border: 1px solid var(--border);
  background: var(--surface);
}
.phase-number {
  font-family: var(--font-display);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  color: var(--accent);
  margin-bottom: 1.25rem;
  font-weight: 600;
}
.phase-label {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.75rem;
  letter-spacing: -0.01em;
}
.phase-desc {
  font-size: 0.9rem;
  color: var(--text-dim);
  line-height: 1.6;
  font-weight: 300;
}
.phase-divider {
  width: 1px;
  background: var(--border);
  flex-shrink: 0;
}

/* DEVICE */
.device {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 6rem 3rem;
}
.device-inner {
  max-width: 1100px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.device-headline {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--text);
  margin-bottom: 1.5rem;
}
.device-body {
  font-size: 1rem;
  color: var(--text-dim);
  line-height: 1.7;
  font-weight: 300;
}
.device-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}
.device-ring {
  position: relative;
  width: 220px;
  height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.device-ring-inner {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  border: 1px solid rgba(232, 147, 10, 0.3);
  background: radial-gradient(circle at 40% 40%, rgba(232, 147, 10, 0.08), transparent 60%);
}
.device-ring-glow {
  position: absolute;
  inset: -20px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(232, 147, 10, 0.06) 0%, transparent 70%);
}
.device-label {
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-faint);
}

/* ARCHITECTURE */
.arch {
  padding: 6rem 3rem;
  max-width: 1100px;
}
.arch-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border: 1px solid var(--border);
}
.arch-item {
  padding: 2.5rem;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.arch-item:nth-child(2n) { border-right: none; }
.arch-item:nth-last-child(-n+2) { border-bottom: none; }
.arch-icon {
  color: var(--accent);
  margin-bottom: 1.25rem;
}
.arch-name {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.5rem;
}
.arch-desc {
  font-size: 0.85rem;
  color: var(--text-dim);
  line-height: 1.6;
  font-weight: 300;
}

/* CLOSING */
.closing {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 8rem 3rem;
}
.closing-headline {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--text);
  margin-bottom: 2rem;
}
.closing-body {
  font-size: 1.1rem;
  color: var(--text-dim);
  line-height: 1.7;
  max-width: 600px;
  font-weight: 300;
}

/* FOOTER */
.footer {
  padding: 3rem;
  border-top: 1px solid var(--border);
}
.footer-brand {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.9rem;
  letter-spacing: 0.1em;
  color: var(--text);
  margin-bottom: 0.5rem;
}
.footer-copy {
  font-size: 0.8rem;
  color: var(--text-faint);
  font-weight: 300;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .nav { padding: 1.25rem 1.5rem; }
  .hero { padding: 5rem 1.5rem 4rem; }
  .manifesto, .system, .arch { padding: 4rem 1.5rem; }
  .device { padding: 4rem 1.5rem; }
  .closing { padding: 5rem 1.5rem; }
  .footer { padding: 2rem 1.5rem; }

  .system-phases {
    flex-direction: column;
    gap: 1px;
  }
  .phase-divider { display: none; }
  .phase { border: 1px solid var(--border); border-bottom: none; }
  .phase:last-child { border-bottom: 1px solid var(--border); }

  .device-inner { grid-template-columns: 1fr; gap: 3rem; }
  .device-visual { order: -1; }

  .arch-grid { grid-template-columns: 1fr; }
  .arch-item { border-right: none; border-bottom: 1px solid var(--border); }
  .arch-item:last-child { border-bottom: none; }

  .hero-device-row { gap: 1rem; }
}

@media (max-width: 480px) {
  .hero-headline { font-size: 2.8rem; }
  .nav-meta { display: none; }
}