:root {
  --bg: #0a0d12;
  --bg-elev: #0f1319;
  --bg-hi: #141923;
  --line: #1f2632;
  --line-hi: #2a3344;
  --ink: #e8eaed;
  --ink-dim: #9098a8;
  --ink-mute: #5c6577;
  --accent: #4ad3c8;
  --accent-glow: rgba(74, 211, 200, 0.15);
  --accent-warm: #ff7a45;
  --serif: 'Sora', system-ui, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, monospace;
  --sans: 'Geist', -apple-system, system-ui, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 400;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 80px 80px;
  background-position: -1px -1px;
  opacity: 0.25;
  pointer-events: none;
  z-index: 0;
  mask-image: radial-gradient(ellipse at 50% 30%, #000 30%, transparent 80%);
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.04 0'/></filter><rect width='200' height='200' filter='url(%23n)'/></svg>");
  pointer-events: none;
  z-index: 1;
  opacity: 0.6;
  mix-blend-mode: overlay;
}

.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 32px;
  position: relative;
  z-index: 2;
}

.container-narrow {
  max-width: 880px;
  margin: 0 auto;
  padding: 0 32px;
  position: relative;
  z-index: 2;
}

/* ============ NAV ============ */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  background: rgba(10, 13, 18, 0.7);
  border-bottom: 1px solid var(--line);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 32px;
  max-width: 1240px;
  margin: 0 auto;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -0.02em;
  color: var(--ink);
  text-decoration: none;
}

.logo-mark {
  width: 24px;
  height: 24px;
  position: relative;
  display: inline-block;
}
.logo-mark svg { display: block; }

.logo-pronounce {
  font-family: var(--mono);
  font-size: 9px;
  color: var(--ink-mute);
  letter-spacing: 0.04em;
  margin-left: 8px;
  opacity: 0.7;
  font-weight: 400;
  vertical-align: middle;
}

.hero-pronounce {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--ink-mute);
  letter-spacing: 0.04em;
  margin-top: -20px;
  margin-bottom: 36px;
}
.hero-pronounce em { font-style: italic; color: var(--ink-dim); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
  list-style: none;
}

.nav-links a {
  color: var(--ink-dim);
  text-decoration: none;
  font-size: 14px;
  font-weight: 400;
  transition: color 0.2s ease;
}
.nav-links a:hover { color: var(--ink); }
.nav-links a.active { color: var(--ink); }

.nav-cta {
  background: var(--ink);
  color: var(--bg) !important;
  padding: 9px 18px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.2s ease;
}
.nav-cta:hover { background: var(--accent); }

@media (max-width: 800px) {
  .nav-links li:not(:last-child) { display: none; }
}

/* ============ TYPE & UTILITIES ============ */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--accent);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 6px 14px;
  border: 1px solid var(--line-hi);
  border-radius: 100px;
  background: var(--bg-elev);
  margin-bottom: 32px;
}

.eyebrow::before {
  content: "";
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--accent);
}

h1.page-title {
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(40px, 6vw, 72px);
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 32px;
}
h1.page-title em { font-style: normal; color: var(--accent); }

.lead {
  font-size: 18px;
  line-height: 1.6;
  color: var(--ink-dim);
  max-width: 60ch;
  margin-bottom: 48px;
}

h2 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(28px, 3.5vw, 48px);
  line-height: 1.15;
  letter-spacing: -0.025em;
  margin-bottom: 24px;
}
h2 em { font-style: normal; color: var(--accent); }

h3 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 22px;
  line-height: 1.3;
  letter-spacing: -0.015em;
}

.section-tag {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--accent);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.section-tag::before {
  content: "";
  width: 24px;
  height: 1px;
  background: var(--accent);
}

.section-header {
  margin-bottom: 80px;
  max-width: 720px;
}

.section-lead {
  font-size: 18px;
  color: var(--ink-dim);
  line-height: 1.6;
  max-width: 60ch;
}

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.2s ease;
  border: 1px solid transparent;
  cursor: pointer;
  font-family: var(--sans);
}
.btn-primary {
  background: var(--ink);
  color: var(--bg);
}
.btn-primary:hover {
  background: var(--accent);
  transform: translateY(-1px);
  box-shadow: 0 10px 30px -10px var(--accent-glow);
}
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-hi);
}
.btn-ghost:hover {
  border-color: var(--ink-dim);
  background: var(--bg-elev);
}
.btn .arrow { transition: transform 0.2s ease; display: inline-block; }
.btn:hover .arrow { transform: translateX(3px); }

/* ============ PAGE HEADERS ============ */
.page-hero {
  padding: 180px 0 80px;
  position: relative;
  border-bottom: 1px solid var(--line);
}

.page-hero-glow {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 500px;
  background: radial-gradient(ellipse at center, var(--accent-glow), transparent 70%);
  pointer-events: none;
  filter: blur(40px);
}

/* ============ FEATURE LISTS ============ */
.feature-list {
  list-style: none;
  border-top: 1px solid var(--line);
}
.feature-list li {
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  display: flex;
  gap: 16px;
  font-size: 14px;
  color: var(--ink);
}
.feature-list li::before {
  content: "→";
  color: var(--accent);
  font-family: var(--mono);
  flex-shrink: 0;
}

/* ============ CTA ============ */
.cta-block {
  padding: 120px 0;
  text-align: center;
  border-top: 1px solid var(--line);
  background: radial-gradient(ellipse at center top, var(--accent-glow), transparent 60%);
}
.cta-block h2 { margin: 0 auto 24px; max-width: 18ch; }
.cta-block p {
  color: var(--ink-dim);
  font-size: 18px;
  max-width: 50ch;
  margin: 0 auto 40px;
}
.ctas-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

/* ============ TRUSTED BY ============ */
.trusted-by {
  padding: 56px 0;
  border-bottom: 1px solid var(--line);
}
.trusted-label {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--ink-mute);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: center;
  margin-bottom: 36px;
}
.logo-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
  row-gap: 24px;
}
.client-logo {
  padding: 0 40px;
  color: var(--ink-mute);
  opacity: 0.6;
  transition: opacity 0.2s;
  display: flex;
  align-items: center;
}
.client-logo:hover { opacity: 1; }
.client-logo svg { height: 36px; width: auto; display: block; }
.logo-divider {
  width: 1px;
  height: 32px;
  background: var(--line);
  flex-shrink: 0;
}
@media (max-width: 720px) {
  .logo-strip { gap: 0; }
  .client-logo { padding: 0 24px; }
  .logo-divider { display: none; }
}

/* ============ FOOTER ============ */
footer {
  border-top: 1px solid var(--line);
  padding: 60px 0 40px;
  background: var(--bg-elev);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
@media (max-width: 720px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
.footer-brand p {
  color: var(--ink-mute);
  font-size: 14px;
  margin-top: 16px;
  max-width: 32ch;
  line-height: 1.6;
}
.footer-col h4 {
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-mute);
  margin-bottom: 16px;
  font-weight: 500;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 10px; }
.footer-col a {
  color: var(--ink-dim);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.2s ease;
}
.footer-col a:hover { color: var(--accent); }
.footer-bottom {
  padding-top: 28px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--ink-mute);
}

/* ============ SHARED BLOCKS ============ */
section.block {
  padding: 140px 0;
  position: relative;
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
.fadeup { animation: fadeUp 0.9s both ease-out; }
.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.25s; }
.delay-3 { animation-delay: 0.4s; }
.delay-4 { animation-delay: 0.55s; }
