:root {
  --ink: #26231F;
  --paper: #F2EFE8;
  --paper-warm: #ECE3D1;
  --paper-deep: #E0D3B8;
  --paper-blush: #EDD9C7;
  --line: rgba(38,35,31,0.14);
  --line-soft: rgba(38,35,31,0.08);
  --mute: rgba(38,35,31,0.58);
  --body: rgba(38,35,31,0.78);
  --ochre: #C98A3C;
  --terracotta: #B9562E;
  --clay: #8B4C2E;
  --rust: #A63A1E;
  --mono: "JetBrains Mono", ui-monospace, Menlo, monospace;
  --sans: "Inter", system-ui, -apple-system, Segoe UI, sans-serif;
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button { cursor: pointer; font-family: inherit; border: none; background: none; color: inherit; }
img { display: block; max-width: 100%; }
h1, h2, h3, h4 { font-weight: 500; letter-spacing: -0.02em; margin: 0; }

.wrap { max-width: 1440px; margin: 0 auto; padding: 0 72px; }
.eyebrow {
  font-family: var(--mono); font-size: 12px; color: var(--mute);
  letter-spacing: 0.14em; text-transform: uppercase;
}
.eyebrow .dot {
  display: inline-block; width: 8px; height: 8px; border-radius: 4px;
  background: var(--terracotta); margin-right: 10px; vertical-align: middle;
}

.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 16px 26px; border-radius: 999px;
  font-size: 14px; font-weight: 500; transition: transform .2s ease, background .2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--ink); color: var(--paper); }
.btn-primary:hover { background: #000; }
.btn-ghost { border: 1px solid var(--line); color: var(--ink); }
.btn-ghost:hover { background: var(--paper-warm); }

/* Nav */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(242,239,232,0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line-soft);
}
.nav-inner {
  display: flex; align-items: center; padding: 20px 72px;
  max-width: 1440px; margin: 0 auto;
}
.nav-logo img { height: 26px; }
.nav-links { display: flex; gap: 36px; font-size: 14px; margin-left: auto; margin-right: 40px; }
.nav-links a:hover { color: var(--terracotta); }

/* Breadcrumb */
.crumbs {
  padding: 20px 72px; max-width: 1440px; margin: 0 auto;
  font-family: var(--mono); font-size: 12px; color: var(--mute);
  letter-spacing: 0.08em;
}
.crumbs a:hover { color: var(--terracotta); }

/* Service hero */
.service-hero {
  padding: 48px 0 96px;
  border-bottom: 1px solid var(--line);
}
.service-hero .wrap { max-width: 1100px; }
.service-hero h1 {
  font-size: 80px; line-height: 1; letter-spacing: -0.03em;
  margin-top: 20px;
}
.service-hero h1 .accent { color: var(--terracotta); font-style: italic; }
.service-hero .lede {
  font-size: 22px; line-height: 1.55; color: var(--body);
  margin-top: 32px; max-width: 780px;
}
.service-hero .ctas {
  display: flex; gap: 14px; margin-top: 40px; flex-wrap: wrap;
}

/* Section shell */
section { scroll-margin-top: 80px; }
.section { padding: 96px 0; }
.section-head {
  display: flex; align-items: flex-end; margin-bottom: 56px; gap: 32px;
}
.section-head-left { flex: 1; }
.section-head h2 {
  font-size: 52px; line-height: 1; letter-spacing: -0.03em; margin-top: 18px;
}
.section-head-right {
  max-width: 400px; font-size: 16px; line-height: 1.55; color: var(--mute);
}

/* Feature grid (what we build) */
.feature-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 0;
  border-top: 1px solid var(--line); border-left: 1px solid var(--line);
}
.feature-card {
  padding: 48px 40px;
  border-right: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.feature-n {
  font-family: var(--mono); font-size: 11px; color: var(--terracotta);
  letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 18px;
}
.feature-title { font-size: 24px; font-weight: 500; line-height: 1.2; letter-spacing: -0.02em; margin-bottom: 12px; }
.feature-body { font-size: 15px; line-height: 1.6; color: var(--body); }

/* Stack (pill row) */
.stack-wrap {
  background: var(--paper-warm);
  padding: 64px 0;
}
.stack-wrap h3 { font-size: 16px; font-weight: 500; color: var(--mute); margin-bottom: 20px; font-family: var(--mono); text-transform: uppercase; letter-spacing: 0.12em; }
.stack-pills { display: flex; flex-wrap: wrap; gap: 10px; }
.pill {
  font-size: 13px; font-family: var(--mono); padding: 6px 14px;
  border: 1px solid var(--line); border-radius: 999px; background: var(--paper);
}

/* Process */
.process {
  background: var(--paper);
}
.process-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
  border-top: 1px solid var(--line);
}
.process-step {
  padding: 40px 32px; border-right: 1px solid var(--line);
  position: relative;
}
.process-step:last-child { border-right: none; }
.process-n {
  font-family: var(--mono); font-size: 14px; color: var(--terracotta);
  margin-bottom: 16px;
}
.process-step h3 { font-size: 22px; font-weight: 500; margin-bottom: 10px; letter-spacing: -0.02em; }
.process-step p { font-size: 14px; line-height: 1.55; color: var(--body); margin: 0; }

/* Who it's for */
.who {
  background: var(--paper-warm);
}
.who-list {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px;
  max-width: 1100px;
}
.who-item {
  padding: 28px; background: var(--paper); border: 1px solid var(--line);
  border-radius: 4px;
}
.who-item strong { display: block; font-weight: 500; font-size: 18px; margin-bottom: 8px; letter-spacing: -0.01em; }
.who-item p { font-size: 14px; color: var(--body); margin: 0; line-height: 1.55; }

/* FAQ */
.faq { background: var(--paper); }
.faq-list { max-width: 880px; margin: 0 auto; }
.faq-item {
  border-top: 1px solid var(--line);
  padding: 28px 0;
}
.faq-item:last-child { border-bottom: 1px solid var(--line); }
.faq-q {
  font-size: 22px; font-weight: 500; letter-spacing: -0.015em; margin-bottom: 14px;
}
.faq-a { font-size: 16px; line-height: 1.65; color: var(--body); }
.faq-a a { color: var(--terracotta); border-bottom: 1px solid var(--terracotta); }

/* Final CTA */
.final-cta {
  padding: 96px 0; background: var(--ochre); text-align: center;
  position: relative; overflow: hidden;
}
.final-cta::before {
  content: ''; position: absolute; top: -120px; left: -120px;
  width: 320px; height: 320px; border-radius: 50%;
  background: var(--terracotta); opacity: 0.55;
}
.final-cta::after {
  content: ''; position: absolute; bottom: -100px; right: -80px;
  width: 260px; height: 260px; border-radius: 50%;
  background: var(--clay); opacity: 0.45;
}
.final-cta-inner { position: relative; max-width: 900px; margin: 0 auto; padding: 0 72px; }
.final-cta h2 {
  font-size: 64px; font-weight: 500; letter-spacing: -0.03em; line-height: 1;
  margin: 18px 0 24px;
}
.final-cta p { font-size: 18px; line-height: 1.55; margin: 0 auto 32px; max-width: 620px; }

/* Footer */
footer {
  padding: 48px 0 28px; background: var(--paper);
  border-top: 1px solid var(--line);
}
.footer-simple {
  display: flex; gap: 32px; padding: 0 72px; max-width: 1440px; margin: 0 auto;
  font-family: var(--mono); font-size: 12px; color: var(--mute);
  letter-spacing: 0.04em; flex-wrap: wrap;
}
.footer-simple a:hover { color: var(--terracotta); }
.footer-simple .spacer { flex: 1; }

@media (max-width: 1100px) {
  .wrap, .nav-inner, .crumbs, .footer-simple, .final-cta-inner { padding-left: 40px; padding-right: 40px; }
  .service-hero h1 { font-size: 56px; }
  .section { padding: 72px 0; }
  .section-head h2 { font-size: 40px; }
  .final-cta h2 { font-size: 44px; }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .process-step:nth-child(2) { border-right: none; }
  .process-step:nth-child(1), .process-step:nth-child(2) { border-bottom: 1px solid var(--line); }
}
@media (max-width: 720px) {
  .nav-inner, .wrap, .crumbs, .footer-simple, .final-cta-inner { padding-left: 24px; padding-right: 24px; }
  .nav-links { display: none; }
  .service-hero { padding: 32px 0 64px; }
  .service-hero h1 { font-size: 38px; }
  .service-hero .lede { font-size: 17px; }
  .section { padding: 56px 0; }
  .section-head { flex-direction: column; align-items: flex-start; margin-bottom: 36px; }
  .section-head h2 { font-size: 30px; }
  .feature-grid { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: 1fr; }
  .process-step { border-right: none; border-bottom: 1px solid var(--line); }
  .process-step:last-child { border-bottom: none; }
  .who-list { grid-template-columns: 1fr; }
  .faq-q { font-size: 18px; }
  .final-cta h2 { font-size: 30px; }
  .footer-simple { flex-direction: column; gap: 8px; }
}
