:root {
  --bg-primary: #0a0a0b;
  --bg-secondary: #111113;
  --bg-card: #161618;
  --text-primary: #f0efe9;
  --text-secondary: #8a8a8e;
  --text-muted: #7a7a80;
  --accent: #c8a55c;
  --accent-dim: #c8a55c33;
  --green: #4ade80;
  --red: #f87171;
  --border: #222225;
  --serif: 'Instrument Serif', Georgia, serif;
  --sans: 'DM Sans', system-ui, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, monospace;
  --max-w: 1100px;
  --pad: clamp(20px, 4vw, 48px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }

.container { max-width: var(--max-w); margin: 0 auto; padding: 0 var(--pad); }
.eyebrow {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--accent);
  text-transform: none;
  font-weight: 500;
}
.eyebrow::before { content: "// "; color: var(--accent); }

h1, h2, h3, h4 { font-family: var(--serif); font-weight: 400; line-height: 1.05; letter-spacing: -0.01em; margin: 0; }
h1 { font-size: clamp(48px, 7vw, 92px); }
h2 { font-size: clamp(36px, 5vw, 60px); }
h3 { font-size: clamp(22px, 2.4vw, 28px); }
h1 em, h2 em, h3 em, .compounding em, .final-cta em, .included-callout em { font-style: italic; color: var(--accent); }

p { margin: 0; color: var(--text-secondary); }

/* Nav */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px var(--pad);
  background: rgba(10,10,11,0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease, background 0.3s ease;
  gap: 16px;
}
.nav.scrolled { border-bottom-color: var(--border); background: rgba(10,10,11,0.9); }
.nav-links { display: flex; align-items: center; gap: 24px; }
.nav-link {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--text-secondary);
  transition: color 0.3s ease;
  padding: 10px 2px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}
.nav-link:hover, .nav-link[aria-current="page"] { color: var(--accent); }
.logo {
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--text-primary);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  line-height: 1;
}
.logo img { height: 88px; width: auto; display: block; }
.logo .logo-sub {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--text-secondary);
  letter-spacing: 0.04em;
}
.footer .footer-logo {
  height: 72px;
  width: auto;
  display: block;
}

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 20px;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 500;
  border-radius: 2px;
  transition: transform 0.2s ease, background 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}
.btn-primary { background: var(--accent); color: #0a0a0b; }
.btn-primary:hover { background: #d6b673; transform: translateY(-1px); }
.btn-ghost { color: var(--text-primary); border: 1px solid var(--border); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn-link { color: var(--text-secondary); padding: 12px 4px; }
.btn-link:hover { color: var(--accent); }
.btn-link::after { content: " →"; transition: margin 0.2s ease; }
.btn-link:hover::after { margin-left: 4px; }

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  min-height: 100svh;
  display: flex; align-items: center;
  padding: 170px 0 80px;
}
.hero-video-wrapper {
  position: absolute; inset: 0; z-index: 0;
  background: linear-gradient(135deg, var(--bg-primary) 0%, #12110f 50%, var(--bg-primary) 100%);
}
.hero-video {
  width: 100%; height: 100%; object-fit: cover; opacity: 0.35;
}
.hero-video-overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(to bottom, var(--bg-primary) 0%, transparent 25%, transparent 75%, var(--bg-primary) 100%),
    radial-gradient(ellipse at center, transparent 35%, rgba(10,10,11,0.85) 100%);
}
.hero-content { position: relative; z-index: 2; width: 100%; }

.hero h1 {
  margin-top: 24px;
  max-width: 14ch;
}
.hero-sub {
  margin-top: 28px;
  max-width: 56ch;
  font-size: clamp(16px, 1.5vw, 18px);
  color: var(--text-secondary);
}
.hero-ctas { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }

.role-selector {
  margin-top: 64px;
  padding-top: 36px;
  border-top: 1px solid var(--border);
  max-width: 720px;
}
.role-selector-label {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 16px;
  letter-spacing: 0.04em;
}
.role-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: 1px solid var(--border);
}
.role-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.role-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.role-grid a {
  padding: 18px 16px;
  text-align: center;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 500;
  color: var(--text-primary);
  border-right: 1px solid var(--border);
  transition: background 0.3s ease, color 0.3s ease;
}
.role-grid a:last-child { border-right: 0; }
.role-grid a:hover { background: var(--accent-dim); color: var(--accent); }

.stats-bar {
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.stat {
  padding: 24px 20px;
  border-right: 1px solid var(--border);
}
.stat:last-child { border-right: 0; }
.stat-num {
  font-family: var(--serif);
  font-size: 28px;
  color: var(--text-primary);
  line-height: 1;
}
.stat-label {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 8px;
  letter-spacing: 0.04em;
}

/* Section base */
.section { padding: 120px 0; border-top: 1px solid var(--border); }
.section.alt { background: var(--bg-secondary); }
.section-head { max-width: 720px; margin-bottom: 64px; }
.section-head h2 { margin-top: 18px; }
.section-head p { margin-top: 20px; max-width: 60ch; }

/* Trust bar */
.trust-bar {
  padding: 40px 0;
  border-top: 1px solid var(--border);
  text-align: center;
}
.trust-bar p {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--text-primary);
  opacity: 0.75;
}

/* Card grid (1px border style) */
.card-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border: 1px solid var(--border);
}
.card-grid > * {
  padding: 36px;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.card-grid > *:nth-child(2n) { border-right: 0; }
.card-grid > *:nth-last-child(-n+2) { border-bottom: 0; }
.card-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.card-grid.cols-3 > *:nth-child(2n) { border-right: 1px solid var(--border); }
.card-grid.cols-3 > *:nth-child(3n) { border-right: 0; }
.card-grid.cols-3 > *:nth-last-child(-n+3) { border-bottom: 0; }
.card-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
.card-grid.cols-4 > *:nth-child(2n) { border-right: 1px solid var(--border); }
.card-grid.cols-4 > *:nth-child(4n) { border-right: 0; }
.card-grid.cols-4 > *:nth-last-child(-n+4) { border-bottom: 0; }

.pain-num {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--accent);
  letter-spacing: 0.06em;
  margin-bottom: 18px;
}
.pain-title { font-size: 22px; line-height: 1.2; margin-bottom: 10px; }

/* How it works */
.step-num {
  font-family: var(--serif);
  font-size: 60px;
  color: var(--text-muted);
  line-height: 1;
  margin-bottom: 12px;
}
.step-title { font-family: var(--sans); font-weight: 500; font-size: 18px; color: var(--text-primary); margin-bottom: 10px; }

/* Tool stack */
.stack-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--border);
}
.stack-col {
  padding: 32px 28px;
  border-right: 1px solid var(--border);
}
.stack-col:last-child { border-right: 0; }
.stack-vertical {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--accent);
  letter-spacing: 0.06em;
  margin-bottom: 20px;
}
.stack-list { list-style: none; padding: 0; margin: 0; }
.stack-list li {
  font-size: 15px;
  color: var(--text-primary);
  padding: 8px 0;
  border-bottom: 1px dashed var(--border);
}
.stack-list li:last-child { border-bottom: 0; }
.stack-note {
  margin-top: 32px;
  text-align: center;
  font-family: var(--mono);
  font-size: 13px;
  color: var(--accent);
}

/* Use cases */
.usecase {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 60px;
  padding: 56px 0;
  border-bottom: 1px solid var(--border);
}
.usecase:last-child { border-bottom: 0; }
.usecase-vertical {
  font-family: var(--serif);
  font-size: 32px;
  color: var(--text-primary);
}
.usecase-vertical em { display: block; font-size: 12px; font-family: var(--mono); color: var(--text-muted); margin-top: 10px; font-style: normal; letter-spacing: 0.06em; }

.usecase-roles {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
}
.usecase-role-label {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--accent);
  letter-spacing: 0.06em;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
}
.usecase-list { list-style: none; padding: 0; margin: 0; }
.usecase-list li {
  font-size: 16px;
  color: var(--text-primary);
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  gap: 16px;
}
.usecase-list li:last-child { border-bottom: 0; }
.usecase-list li::before {
  content: "+";
  color: var(--accent);
  font-family: var(--mono);
  flex-shrink: 0;
}

/* Included */
.included-callout {
  margin: 0 auto 56px;
  max-width: 600px;
  padding: 28px 36px;
  border: 1px solid var(--accent-dim);
  text-align: center;
  background: linear-gradient(180deg, rgba(200,165,92,0.04) 0%, transparent 100%);
}
.included-callout .price {
  font-family: var(--serif);
  font-size: 36px;
  color: var(--text-primary);
}
.included-callout .price em { color: var(--accent); }
.included-callout .terms {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--accent);
  margin-top: 12px;
  letter-spacing: 0.04em;
}
.included-callout .refund-note {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 10px;
  letter-spacing: 0.04em;
}
.included-callout .refund-note a {
  color: var(--text-secondary);
  border-bottom: 1px dotted var(--text-muted);
  display: inline-block;
  padding: 4px 2px;
}
.included-callout .refund-note a:hover {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

.included-callout .alt-link {
  display: block;
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
  font-family: var(--mono);
  font-size: 12px;
  color: var(--text-secondary);
  letter-spacing: 0.04em;
}
.included-callout .alt-link a { color: var(--accent); }
.included-callout .alt-link a:hover { text-decoration: underline; }

.included-callout .callout-tier {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--accent);
  margin-bottom: 14px;
}

/* Pricing stack: primary callout + divider + secondary callout */
.pricing-stack { max-width: 600px; margin: 0 auto 56px; }
.pricing-stack .included-callout { margin: 0 auto; }

.pricing-divider {
  position: relative;
  text-align: center;
  margin: 20px auto;
  max-width: 600px;
}
.pricing-divider span {
  position: relative;
  z-index: 1;
  display: inline-block;
  padding: 0 14px;
  background: var(--bg-primary);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--text-muted);
  text-transform: lowercase;
}
.section.alt .pricing-divider span { background: var(--bg-secondary); }
.pricing-divider::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0; right: 0;
  height: 1px;
  background: var(--border);
}

.included-callout.secondary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 28px;
  background: transparent;
  border: 1px solid var(--border);
  text-align: left;
  cursor: pointer;
  transition: border-color 0.3s ease, background 0.3s ease, transform 0.2s ease;
}
.included-callout.secondary:hover {
  border-color: var(--accent);
  background: rgba(200,165,92,0.04);
  transform: translateY(-1px);
}
.included-callout.secondary .secondary-left { display: flex; flex-direction: column; gap: 6px; flex: 1; min-width: 0; }
.included-callout.secondary .callout-tier { color: var(--text-muted); margin-bottom: 4px; }
.included-callout.secondary .secondary-price {
  font-family: var(--serif);
  font-size: 26px;
  color: var(--text-primary);
  line-height: 1.05;
}
.included-callout.secondary .secondary-terms {
  display: inline-block;
  margin-left: 10px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  vertical-align: middle;
}
.included-callout.secondary .secondary-meta {
  font-family: var(--sans);
  font-size: 13px;
  color: var(--text-secondary);
}
.included-callout.secondary .secondary-cta {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--accent);
  white-space: nowrap;
  flex-shrink: 0;
}
.included-callout.secondary .secondary-cta .arrow {
  display: inline-block;
  margin-left: 6px;
  transition: margin 0.2s ease;
}
.included-callout.secondary:hover .secondary-cta .arrow { margin-left: 12px; }

.included-card {
  display: flex; gap: 16px; align-items: flex-start;
  padding: 32px;
}
.included-card .plus {
  font-family: var(--mono);
  color: var(--accent);
  font-size: 20px;
  line-height: 1;
}
.included-card h3 { font-family: var(--sans); font-weight: 500; font-size: 17px; margin-bottom: 6px; }
.included-card p { font-size: 14px; }

/* Cost comparison */
.cost-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 0;
  border: 1px solid var(--border);
}
.cost-col {
  padding: 40px 32px;
  border-right: 1px solid var(--border);
}
.cost-col:last-child { border-right: 0; }
.cost-col.savings { background: rgba(74,222,128,0.04); }
.cost-label {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--text-muted);
  letter-spacing: 0.06em;
  margin-bottom: 18px;
}
.cost-col.savings .cost-label { color: var(--green); }
.cost-line { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px dashed var(--border); font-size: 14px; }
.cost-line span:first-child { color: var(--text-secondary); }
.cost-line span:last-child { color: var(--text-primary); font-family: var(--mono); font-size: 13px; }
.cost-total {
  margin-top: 16px;
  font-family: var(--serif);
  font-size: 32px;
  color: var(--text-primary);
}
.cost-col.savings .cost-total { color: var(--green); }

/* For / Not for */
.fornotfor {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 1px solid var(--border);
}
.fornotfor-col { padding: 40px 36px; }
.fornotfor-col:first-child { border-right: 1px solid var(--border); }
.fornotfor-label {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  margin-bottom: 24px;
}
.fornotfor-col.for .fornotfor-label { color: var(--green); }
.fornotfor-col.not .fornotfor-label { color: var(--red); }
.fornotfor-list { list-style: none; padding: 0; margin: 0; }
.fornotfor-list li {
  padding: 12px 0;
  font-size: 15px;
  color: var(--text-primary);
  display: flex;
  gap: 12px;
  align-items: flex-start;
  border-bottom: 1px solid var(--border);
}
.fornotfor-list li:last-child { border-bottom: 0; }
.fornotfor-col.for .fornotfor-list li::before { content: "✓"; color: var(--green); flex-shrink: 0; font-family: var(--mono); }
.fornotfor-col.not .fornotfor-list li::before { content: "×"; color: var(--red); flex-shrink: 0; font-family: var(--mono); }

/* About */
.about-layout {
  max-width: 720px;
  margin: 0 auto;
}
.identity-card {
  border: 1px solid var(--border);
  padding: 32px;
  background: var(--bg-card);
}
.identity-name {
  font-family: var(--serif);
  font-size: 28px;
  margin-bottom: 4px;
}
.identity-role { font-family: var(--mono); font-size: 12px; color: var(--accent); letter-spacing: 0.04em; margin-bottom: 24px; }
.identity-row {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 4px 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  font-size: 13px;
}
.identity-row:last-child { border-bottom: 0; }
.identity-row span:first-child { color: var(--text-muted); font-family: var(--mono); font-size: 11px; letter-spacing: 0.04em; }
.identity-row span:last-child { color: var(--text-primary); }

.about-prose p {
  font-size: 17px;
  line-height: 1.7;
  color: var(--text-primary);
  margin-bottom: 18px;
}
.about-prose p:first-child::first-letter {
  font-family: var(--serif);
  font-size: 56px;
  float: left;
  line-height: 0.85;
  margin-right: 10px;
  margin-top: 8px;
  color: var(--text-primary);
}

/* Compounding */
.compounding {
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}
.compounding p {
  font-size: 18px;
  margin-top: 28px;
  color: var(--text-secondary);
}

/* Final CTA */
.final-cta { text-align: center; padding: 160px 0; }
.final-cta h2 { max-width: 18ch; margin: 0 auto; }
.final-cta p { margin-top: 24px; max-width: 60ch; margin-left: auto; margin-right: auto; }
.final-cta .btn { margin-top: 40px; padding: 18px 32px; font-size: 15px; }
.capacity-note {
  margin-top: 32px;
  font-family: var(--mono);
  font-size: 13px;
  color: var(--accent);
  letter-spacing: 0.04em;
  opacity: 0.9;
}

/* Footer */
.footer {
  padding: 48px var(--pad);
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--text-muted);
  letter-spacing: 0.04em;
}

/* Reveal animation */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.8s ease, transform 0.8s ease; }
.reveal.in { opacity: 1; transform: translateY(0); }

.fade-stagger > * { opacity: 0; transform: translateY(16px); animation: fadeUp 0.9s ease forwards; }
.fade-stagger > *:nth-child(1) { animation-delay: 0.1s; }
.fade-stagger > *:nth-child(2) { animation-delay: 0.25s; }
.fade-stagger > *:nth-child(3) { animation-delay: 0.4s; }
.fade-stagger > *:nth-child(4) { animation-delay: 0.55s; }
.fade-stagger > *:nth-child(5) { animation-delay: 0.7s; }
.fade-stagger > *:nth-child(6) { animation-delay: 0.85s; }
@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0); }
}

/* Responsive */
@media (max-width: 880px) {
  .section { padding: 72px 0; }
  .section-head { margin-bottom: 40px; }
  .hero { padding: 140px 0 56px; }
  .logo img { height: 72px; }
  .hero h1 { max-width: 100%; }
  .hero-sub { margin-top: 20px; font-size: 16px; }
  .hero-ctas { margin-top: 28px; gap: 12px; }
  .role-selector { margin-top: 44px; padding-top: 28px; }
  .stats-bar { margin-top: 40px; grid-template-columns: repeat(2, 1fr); }
  .stat { padding: 20px 16px; }
  .stat-num { font-size: 24px; }
  .role-grid { grid-template-columns: repeat(2, 1fr); }
  .role-grid.cols-3 { grid-template-columns: 1fr; }
  .role-grid.cols-3 a { border-right: 0 !important; border-bottom: 1px solid var(--border); }
  .role-grid.cols-3 a:last-child { border-bottom: 0; }
  .role-grid:not(.cols-3) a:nth-child(2) { border-right: 0; }
  .role-grid:not(.cols-3) a:nth-child(1), .role-grid:not(.cols-3) a:nth-child(2) { border-bottom: 1px solid var(--border); }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(1), .stat:nth-child(2) { border-bottom: 1px solid var(--border); }
  .card-grid, .card-grid.cols-3, .card-grid.cols-4 { grid-template-columns: 1fr; }
  .card-grid > *, .card-grid.cols-3 > *, .card-grid.cols-4 > * { padding: 28px; border-right: 0 !important; border-bottom: 1px solid var(--border) !important; }
  .card-grid > *:last-child, .card-grid.cols-3 > *:last-child, .card-grid.cols-4 > *:last-child { border-bottom: 0 !important; }
  .stack-grid { grid-template-columns: 1fr; }
  .stack-col { border-right: 0; border-bottom: 1px solid var(--border); padding: 28px 24px; }
  .stack-col:last-child { border-bottom: 0; }
  .usecase { grid-template-columns: 1fr; gap: 20px; padding: 32px 0; }
  .usecase-vertical { font-size: 26px; }
  .usecase-roles { grid-template-columns: 1fr; gap: 24px; }
  .usecase-roles > div + div {
    padding-top: 24px;
    border-top: 1px dashed var(--border);
  }
  .cost-grid { grid-template-columns: 1fr; }
  .cost-col { border-right: 0; border-bottom: 1px solid var(--border); padding: 32px 24px; }
  .cost-col:last-child { border-bottom: 0; }
  .fornotfor { grid-template-columns: 1fr; }
  .fornotfor-col { padding: 32px 24px; }
  .fornotfor-col:first-child { border-right: 0; border-bottom: 1px solid var(--border); }
  .about-layout { padding: 0; }
  .about-prose p { font-size: 16px; }
  .about-prose p:first-child::first-letter { font-size: 52px; }
  .identity-card { padding: 24px; }
  .included-callout { padding: 24px; }
  .included-callout .price { font-size: 30px; }
  .step-num { font-size: 48px; }
  .final-cta { padding: 100px 0; }
  .nav-links { gap: 16px; }
}

@media (max-width: 640px) {
  .nav-links { gap: 12px; }
  .nav-link { font-size: 11px; }
  .nav { gap: 10px; }
  .nav .btn { padding: 10px 12px; font-size: 12px; }

  .included-callout.secondary {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding: 20px;
  }
  .included-callout.secondary .secondary-cta { align-self: flex-end; }
  .included-callout.secondary .secondary-price { font-size: 22px; }
  .included-callout.secondary .secondary-terms {
    display: block;
    margin-left: 0;
    margin-top: 4px;
  }
}

@media (max-width: 480px) {
  .nav-link[aria-current="page"] { display: none; }
  .nav-link { font-size: 11px; padding: 10px 0; }

  .footer a {
    display: inline-block;
    padding: 6px 0;
    min-height: 44px;
    line-height: 32px;
  }
  .included-callout .alt-link a {
    display: inline-block;
    padding: 6px 0;
    line-height: 28px;
  }
}

@media (max-width: 480px) {
  :root { --pad: 18px; }
  .nav { padding: 14px var(--pad); }
  .nav .btn { padding: 12px 18px; min-height: 44px; }
  .logo { font-size: 12px; }
  .btn { padding: 10px 16px; font-size: 13px; }
  .section { padding: 60px 0; }
  .hero { padding: 110px 0 48px; }
  .hero h1 { font-size: 44px; line-height: 1.05; word-break: normal; overflow-wrap: break-word; }
  .logo img { height: 56px; }
  .logo .logo-sub { font-size: 11px; }
  .footer .footer-logo { height: 56px; }
  .role-selector-label { font-size: 11px; }
  .role-grid a { padding: 16px 10px; font-size: 13px; min-height: 48px; display: flex; align-items: center; justify-content: center; }
  .stat { padding: 16px 12px; }
  .stat-num { font-size: 20px; }
  .stat-label { font-size: 11px; line-height: 1.3; }
  .card-grid > *, .card-grid.cols-3 > *, .card-grid.cols-4 > * { padding: 24px 20px; }
  .pain-title { font-size: 19px; }
  .stack-list li { font-size: 14px; }
  .usecase-list li { font-size: 15px; padding: 12px 0; }
  .cost-line { font-size: 13px; flex-direction: column; align-items: flex-start; gap: 4px; }
  .cost-line span:last-child { font-size: 14px; }
  .cost-total { font-size: 26px; }
  .included-callout .price { font-size: 26px; }
  .about-prose p:first-child::first-letter { font-size: 44px; margin-right: 8px; margin-top: 4px; }
  .final-cta { padding: 80px 0; }
  .final-cta .btn { display: flex; width: 100%; justify-content: center; padding: 18px 24px; }
  .footer { padding: 32px var(--pad); flex-direction: column; align-items: flex-start; gap: 12px; font-size: 11px; line-height: 1.5; }
}

@media (max-width: 380px) {
  .hero h1 { font-size: 38px; }
  .logo img { height: 48px; }
  .hero { padding: 100px 0 40px; }
  .nav-links { display: none; }
}
