/* === TOKENS === */
:root {
  --bg: #0F0F0F;
  --bg-alt: #161412;
  --bg-raised: #1E1B18;
  --fg: #F5F0E8;
  --fg-muted: #A09890;
  --accent: #E8A838;
  --accent-dim: rgba(232, 168, 56, 0.12);
  --border: rgba(245, 240, 232, 0.07);
  --border-accent: rgba(232, 168, 56, 0.3);
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'Source Sans 3', system-ui, sans-serif;
  --radius: 4px;
  --max: 1100px;
}

/* === RESET === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

/* === NAV === */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 0 40px;
  border-bottom: 1px solid var(--border);
  background: rgba(15, 15, 15, 0.85);
  backdrop-filter: blur(12px);
}
.nav-inner {
  max-width: var(--max);
  margin: 0 auto;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  letter-spacing: -0.02em;
  color: var(--fg);
}
.nav-tagline {
  font-size: 13px;
  color: var(--fg-muted);
  letter-spacing: 0.02em;
}

/* === HERO === */
.hero {
  padding: 80px 40px 100px;
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(ellipse, rgba(232, 168, 56, 0.05) 0%, transparent 70%);
  pointer-events: none;
}
.hero-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.hero-eyebrow {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
}
.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 60px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--fg);
  margin-bottom: 24px;
}
.hero-lede {
  font-size: 18px;
  color: var(--fg-muted);
  line-height: 1.7;
  max-width: 480px;
  margin-bottom: 32px;
}
.hero-meta {
  display: flex;
  align-items: center;
  gap: 0;
  font-size: 13px;
  color: var(--fg-muted);
  font-weight: 500;
}
.meta-item { color: var(--fg-muted); }
.meta-sep { color: var(--fg-muted); opacity: 0.4; margin: 0 12px; }

/* === DOCUMENT FRAME === */
.doc-frame {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 40px 80px rgba(0,0,0,0.5), 0 0 0 1px rgba(232,168,56,0.06);
}
.doc-header {
  background: var(--bg-raised);
  padding: 12px 16px;
  display: flex;
  gap: 8px;
  border-bottom: 1px solid var(--border);
}
.doc-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--border);
}
.doc-body {
  padding: 28px 32px;
}
.doc-label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}
.doc-title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: var(--fg);
  margin-bottom: 8px;
}
.doc-meta {
  font-size: 11px;
  color: var(--fg-muted);
  margin-bottom: 20px;
}
.doc-rule {
  height: 1px;
  background: var(--border);
  margin-bottom: 20px;
}
.doc-line {
  height: 10px;
  background: var(--bg-raised);
  border-radius: 2px;
  margin-bottom: 10px;
}
.w-60 { width: 60%; }
.w-70 { width: 70%; }
.w-75 { width: 75%; }
.w-80 { width: 80%; }
.w-85 { width: 85%; }
.w-90 { width: 90%; }
.doc-section-head {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 16px 0 10px;
}
.doc-send {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  font-size: 12px;
  color: var(--fg-muted);
  font-weight: 500;
}
.send-icon {
  color: var(--accent);
  font-size: 16px;
}

/* === HOW === */
.how {
  padding: 100px 40px;
  background: var(--bg-alt);
  border-bottom: 1px solid var(--border);
}
.how-inner { max-width: var(--max); margin: 0 auto; }
.how-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}
.how-headline {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 60px;
  max-width: 600px;
}
.how-steps {
  display: grid;
  grid-template-columns: 1fr 48px 1fr 48px 1fr;
  align-items: start;
  gap: 0;
}
.step-num {
  font-family: var(--font-display);
  font-size: 42px;
  font-weight: 900;
  color: var(--accent);
  opacity: 0.25;
  line-height: 1;
  margin-bottom: 16px;
}
.step h3 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}
.step p {
  font-size: 15px;
  color: var(--fg-muted);
  line-height: 1.65;
}
.step-connector {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 80px;
}
.step-connector::after {
  content: '';
  width: 100%;
  height: 1px;
  background: var(--border-accent);
}

/* === FEATURES === */
.features {
  padding: 100px 40px;
  border-bottom: 1px solid var(--border);
}
.features-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
.feat-icon {
  margin-bottom: 20px;
}
.features-col h3 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}
.features-col p {
  font-size: 15px;
  color: var(--fg-muted);
  line-height: 1.65;
}

/* === WORK === */
.work {
  padding: 100px 40px;
  background: var(--bg-alt);
  border-bottom: 1px solid var(--border);
}
.work-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.work-copy h2 {
  font-family: var(--font-display);
  font-size: clamp(24px, 3vw, 38px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
}
.work-copy p {
  font-size: 16px;
  color: var(--fg-muted);
  line-height: 1.7;
  margin-bottom: 16px;
}
.work-stats {
  display: flex;
  flex-direction: column;
  gap: 40px;
}
.stat-value {
  font-family: var(--font-display);
  font-size: 56px;
  font-weight: 900;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 8px;
  letter-spacing: -0.03em;
}
.stat-label {
  font-size: 14px;
  color: var(--fg-muted);
  line-height: 1.5;
  max-width: 240px;
}

/* === OUTRO === */
.outro {
  padding: 100px 40px 120px;
  background: var(--bg);
  text-align: center;
}
.outro-inner { max-width: 700px; margin: 0 auto; }
.outro h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 52px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 28px;
}
.outro p {
  font-size: 18px;
  color: var(--fg-muted);
  line-height: 1.7;
}

/* === FOOTER === */
.site-footer {
  padding: 48px 40px;
  border-top: 1px solid var(--border);
  text-align: center;
}
.footer-brand {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}
.footer-tagline {
  font-size: 15px;
  color: var(--fg-muted);
  margin-bottom: 8px;
}
.footer-note {
  font-size: 12px;
  color: var(--fg-muted);
  opacity: 0.5;
}

/* === RESPONSIVE === */
@media (max-width: 900px) {
  .hero-inner, .work-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .how-steps {
    grid-template-columns: 1fr;
  }
  .step-connector { display: none; }
  .features-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}
@media (max-width: 600px) {
  .hero { padding: 60px 24px 80px; }
  .how, .features, .work, .outro { padding: 72px 24px; }
  .site-nav { padding: 0 24px; }
  .hero-meta { flex-wrap: wrap; gap: 8px; }
  .meta-sep { display: none; }
}