:root {
  --bg: #faf9f6;
  --bg-alt: #f0ede8;
  --fg: #1a1714;
  --fg-muted: #6b6560;
  --accent: #c75000;
  --accent-warm: #e8875a;
  --border: #e2ddd8;
  --white: #ffffff;
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  background: var(--bg);
  color: var(--fg);
  font-family: 'Figtree', sans-serif;
  font-size: 16px;
  line-height: 1.6;
}

/* ─── Header ─── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 249, 246, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 32px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.wordmark {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.02em;
  color: var(--fg);
}

.site-header nav {
  display: flex;
  gap: 32px;
}

.site-header nav a {
  font-size: 14px;
  font-weight: 500;
  color: var(--fg-muted);
  text-decoration: none;
  transition: color 0.15s;
}

.site-header nav a:hover { color: var(--fg); }

/* ─── Hero ─── */
.hero {
  padding: 100px 32px 80px;
  border-bottom: 1px solid var(--border);
}

.hero-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.hero-badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(199, 80, 0, 0.08);
  padding: 6px 12px;
  border-radius: 3px;
  margin-bottom: 28px;
}

.hero-headline {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: clamp(52px, 8vw, 96px);
  line-height: 0.96;
  letter-spacing: -0.04em;
  color: var(--fg);
  margin-bottom: 32px;
}

.hero-sub {
  font-size: 20px;
  font-weight: 400;
  line-height: 1.5;
  color: var(--fg-muted);
  max-width: 560px;
  margin-bottom: 64px;
}

.hero-stats {
  display: flex;
  gap: 64px;
}

.hero-stat {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.stat-number {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 56px;
  letter-spacing: -0.04em;
  color: var(--fg);
  line-height: 1;
}

.stat-label {
  font-size: 15px;
  font-weight: 400;
  color: var(--fg-muted);
  max-width: 220px;
  line-height: 1.4;
}

/* ─── Features ─── */
.features {
  padding: 100px 32px;
  border-bottom: 1px solid var(--border);
}

.features-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.section-title {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: clamp(32px, 4vw, 48px);
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--fg);
  margin-bottom: 64px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
}

.feature-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.feature-card::before {
  content: '';
  display: block;
  width: 40px;
  height: 3px;
  background: var(--accent);
  border-radius: 2px;
}

.feature-card h3 {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 20px;
  letter-spacing: -0.02em;
  color: var(--fg);
}

.feature-card p {
  font-size: 16px;
  font-weight: 400;
  color: var(--fg-muted);
  line-height: 1.6;
}

/* ─── Sample ─── */
.sample {
  padding: 100px 32px;
  background: var(--bg-alt);
  border-bottom: 1px solid var(--border);
}

.sample-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.sample-intro {
  font-size: 20px;
  font-weight: 400;
  color: var(--fg-muted);
  max-width: 560px;
  margin-bottom: 48px;
  line-height: 1.5;
}

.sample-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--white);
}

.sample-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.sample-table thead {
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}

.sample-table th {
  text-align: left;
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--fg-muted);
  padding: 14px 20px;
}

.sample-table td {
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
  color: var(--fg);
  font-size: 14px;
}

.sample-table tbody tr:last-child td {
  border-bottom: none;
}

.sample-table td:nth-child(2) {
  font-weight: 500;
}

.sample-table td:last-child {
  font-family: 'SF Mono', 'Fira Code', 'Cascadia Code', monospace;
  font-size: 13px;
  color: var(--accent);
}

/* ─── Closing ─── */
.closing {
  padding: 100px 32px;
}

.closing-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.closing-statement {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: clamp(28px, 4vw, 48px);
  letter-spacing: -0.03em;
  color: var(--fg);
  line-height: 1.2;
  max-width: 700px;
}

/* ─── Footer ─── */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 48px 32px;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 48px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-brand .wordmark {
  font-size: 20px;
}

.footer-brand p {
  font-size: 14px;
  color: var(--fg-muted);
  max-width: 300px;
}

.footer-links {
  display: flex;
  gap: 32px;
}

.footer-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--fg-muted);
  text-decoration: none;
  transition: color 0.15s;
}

.footer-links a:hover { color: var(--fg); }

/* ─── Mobile ─── */
@media (max-width: 768px) {
  .hero { padding: 72px 24px 60px; }
  .hero-stats { flex-direction: column; gap: 40px; }
  .stat-number { font-size: 48px; }

  .features { padding: 72px 24px; }
  .feature-grid { grid-template-columns: 1fr; gap: 40px; }

  .sample { padding: 72px 24px; }

  .closing { padding: 72px 24px; }

  .header-inner { padding: 0 24px; }
  .site-header nav { gap: 20px; }

  .footer-inner { flex-direction: column; align-items: flex-start; }
  .footer-links { flex-wrap: wrap; gap: 20px; }
}

@media (max-width: 480px) {
  .site-header nav a:nth-child(n+2) { display: none; }
  .hero-headline { font-size: 48px; }
}