:root {
  --paper: #f8f4e9;
  --paper-deep: #efe8d8;
  --card: #fffdf7;
  --line: #ddd4c1;
  --ink: #141414;
  --ink-soft: #2a2826;
  --muted: #5a554d;
  --red: #e53a36;
  --red-ink: #c4282a;
  --red-hover: #cf2e2a;
  --on-dark: #f8f4e9;
  --on-dark-muted: #b9b2a3;
  --dark-line: #34312d;
  --radius: 14px;
  --wrap: 1120px;
  --sans: "Helvetica Neue", Helvetica, Arial, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: ui-monospace, "SFMono-Regular", Menlo, Consolas, "Liberation Mono", monospace;
  color-scheme: light;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { margin: 0; line-height: 1.1; letter-spacing: -0.025em; text-wrap: balance; }
p { margin: 0; }
a { color: inherit; }
img { display: block; max-width: 100%; height: auto; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }

.skip {
  position: absolute; left: 16px; top: -48px; z-index: 20;
  background: var(--ink); color: var(--paper);
  padding: 8px 14px; border-radius: 8px; font-weight: 700; text-decoration: none;
}
.skip:focus { top: 12px; }

:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; border-radius: 6px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: color-mix(in srgb, var(--paper) 90%, transparent);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-row { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 16px; }

.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.brand-mark { width: 44px; height: 44px; border-radius: 8px; }
.brand-name { font-weight: 800; font-size: 22px; letter-spacing: -0.03em; }

.nav { display: flex; align-items: center; gap: 28px; font-size: 15px; font-weight: 500; }
.nav a { text-decoration: none; color: var(--ink-soft); transition: color .15s; }
.nav a:hover { color: var(--red-ink); }
.nav .nav-cta {
  color: var(--paper); background: var(--ink);
  padding: 9px 16px; border-radius: 999px; font-weight: 700;
}
.nav .nav-cta:hover { background: var(--red); color: #fff; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 50px; padding: 0 24px; border-radius: 999px;
  font-weight: 700; font-size: 16px; text-decoration: none;
  transition: transform .15s, background-color .15s, border-color .15s, color .15s;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--ink); color: var(--paper); }
.btn-primary:hover { background: var(--red); color: #fff; }
.btn-ghost { border: 1.5px solid var(--ink); color: var(--ink); }
.btn-ghost:hover { border-color: var(--red); color: var(--red-ink); }

/* Hero */
.hero { padding: 72px 0 88px; border-bottom: 1px solid var(--line); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); align-items: center; gap: 48px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--mono); font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--red-ink); font-weight: 600;
}
.chev { width: 24px; height: 16px; flex: none; }
.chev path { fill: none; stroke: var(--red); stroke-width: 3.2; stroke-linecap: square; }
.hero h1 { margin-top: 22px; font-size: clamp(32px, 5.6vw, 66px); font-weight: 800; overflow-wrap: break-word; }
.lede { margin-top: 24px; max-width: 54ch; font-size: clamp(17px, 1.6vw, 20px); color: var(--muted); }
.hero-actions { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 12px; }
.hero-mark { width: 100%; max-width: 400px; justify-self: end; }

.flow {
  margin: 64px 0 0; padding: 20px;
  display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; align-items: center; gap: 12px;
  background: var(--paper-deep); border: 1px solid var(--line); border-radius: var(--radius);
}
.flow-step {
  display: flex; flex-direction: column; gap: 6px;
  padding: 16px 18px; background: var(--card); border: 1px solid var(--line); border-radius: 10px;
}
.flow-tag { font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--red-ink); font-weight: 600; }
.flow-text { font-size: 15px; font-weight: 600; }
.flow-line { width: 32px; height: 2px; background: repeating-linear-gradient(90deg, var(--red) 0 5px, transparent 5px 10px); }

/* Sections */
.section { padding: 104px 0; border-bottom: 1px solid var(--line); }
.kicker {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--mono); font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--red-ink); font-weight: 600;
}
.kicker::before { content: ""; width: 18px; height: 3px; background: var(--red); }
.section h2 { margin-top: 14px; max-width: 22ch; font-size: clamp(30px, 4vw, 46px); font-weight: 800; }

.cards { margin-top: 52px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card {
  display: flex; flex-direction: column;
  padding: 30px 28px; background: var(--card);
  border: 1px solid var(--line); border-top: 3px solid var(--ink); border-radius: var(--radius);
  transition: border-color .2s, transform .2s;
}
.card:hover { border-top-color: var(--red); transform: translateY(-2px); }
.card-num { font-family: var(--mono); font-size: 13px; font-weight: 600; color: var(--red-ink); }
.card h3 { margin-top: 16px; font-size: 25px; font-weight: 800; }
.card p { margin-top: 12px; color: var(--muted); font-size: 16px; }
.card ul { margin: 22px 0 0; padding: 20px 0 0; list-style: none; border-top: 1px solid var(--line); display: grid; gap: 10px; font-size: 15px; font-weight: 500; }
.card li { display: flex; gap: 10px; align-items: baseline; }
.card li::before { content: ""; flex: none; width: 7px; height: 7px; background: var(--red); transform: translateY(-2px); }

/* Dark band */
.dark { background: var(--ink); color: var(--on-dark); border-bottom-color: var(--ink); }
.dark .kicker { color: #ff6b66; }
.split-grid { margin-top: 48px; display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.split-col { padding: 30px 28px; background: #1d1c1a; border: 1px solid var(--dark-line); border-radius: var(--radius); }
.split-col h3 { font-size: 23px; font-weight: 800; }
.checks { margin: 20px 0 0; padding: 0; list-style: none; display: grid; gap: 14px; color: var(--on-dark-muted); }
.checks li { position: relative; padding-left: 30px; }
.checks li::before {
  content: ""; position: absolute; left: 0; top: 5px; width: 18px; height: 18px; border-radius: 4px;
  background: var(--red) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M5 9.5l2.6 2.5L13 6.5' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 18px no-repeat;
}

.steps { margin: 52px 0 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 2px solid var(--ink); }
.steps li { padding: 28px 24px 0 0; }
.steps li + li { padding-left: 24px; border-left: 1px solid var(--line); }
.step-num { font-family: var(--mono); font-size: 13px; font-weight: 600; color: var(--red-ink); }
.steps h3 { margin-top: 14px; font-size: 22px; font-weight: 800; }
.steps p { margin-top: 10px; color: var(--muted); font-size: 16px; }

/* Contact */
.contact { padding: 96px 0; background: var(--red); color: var(--ink); }
.contact-box { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); align-items: center; gap: 48px; }
.contact h2 { font-size: clamp(30px, 4vw, 48px); font-weight: 800; }
.contact p { margin-top: 16px; max-width: 52ch; font-size: 18px; color: #2b0d0c; }
.contact-links { display: grid; gap: 12px; }
.contact-link {
  display: flex; flex-direction: column; gap: 2px;
  padding: 18px 22px; border-radius: var(--radius);
  background: var(--ink); color: var(--paper); text-decoration: none;
  transition: transform .15s, background-color .15s;
}
.contact-link:hover { transform: translateY(-2px); background: #000; }
.contact-label { font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: #ff8a86; font-weight: 600; }
.contact-value { font-size: 19px; font-weight: 700; overflow-wrap: anywhere; }

/* Footer */
.site-footer { background: var(--paper); border-top: 1px solid var(--line); padding: 28px 0; }
.footer-row { display: flex; align-items: center; justify-content: space-between; gap: 16px 28px; flex-wrap: wrap; }
.brand-sm .brand-mark { width: 36px; height: 36px; }
.brand-sm .brand-name { font-size: 18px; }
.site-footer p { color: var(--muted); font-size: 14px; }
.footer-contact { display: flex; flex-wrap: wrap; gap: 6px 20px; }
.footer-contact a { text-decoration: none; color: var(--ink-soft); font-weight: 500; }
.footer-contact a:hover { color: var(--red-ink); text-decoration: underline; }

/* Responsive */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 8px; }
  .hero-mark { order: -1; justify-self: start; max-width: 160px; margin-left: -12px; }
  .cards, .split-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .steps li:nth-child(3) { padding-left: 0; border-left: 0; }
  .steps li:nth-child(n+3) { margin-top: 28px; }
  .contact-box { grid-template-columns: 1fr; gap: 32px; }
}

@media (max-width: 720px) {
  .flow { grid-template-columns: 1fr; }
  .flow-line { width: 2px; height: 18px; margin-left: 28px; background: repeating-linear-gradient(180deg, var(--red) 0 5px, transparent 5px 10px); }
}

@media (max-width: 600px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .header-row { height: 64px; }
  .brand-mark { width: 38px; height: 38px; }
  .brand-name { font-size: 20px; }
  .nav a:not(.nav-cta) { display: none; }
  .hero { padding: 40px 0 56px; }
  .hero-mark { max-width: 128px; }
  .flow { margin-top: 44px; padding: 14px; }
  .section { padding: 72px 0; }
  .contact { padding: 72px 0; }
  .cards { margin-top: 36px; }
  .card, .split-col { padding: 24px 20px; }
  .steps { grid-template-columns: 1fr; }
  .steps li, .steps li + li { padding: 22px 0 0; border-left: 0; margin-top: 0; }
  .steps li + li { margin-top: 22px; border-top: 1px solid var(--line); }
  .hero-actions .btn { width: 100%; }
  .contact-value { font-size: 17px; }
  .footer-row { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .card, .nav a, .contact-link { transition: none; }
  .btn:hover, .card:hover, .contact-link:hover { transform: none; }
}
