/* ravioleads — landing page
   Tokens mirror the "Ravioleads" design system. */

@font-face {
  font-family: "Manrope";
  src: url("fonts/manrope-var.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --tomato: #B8321F;
  --tomato-deep: #8E2416;
  --cream: #F3E9DA;
  --paper: #FBF6EE;
  --ink: #2A1D17;
  --ink-muted: #6B5A4E;
  --semolina: #E9B949;
  --line: #E2D4C0;
  --green: #2F7D4F;

  --space-1: 4px;
  --space-2: 8px;
  --space-3: 16px;
  --space-4: 24px;
  --space-5: 40px;
  --space-6: 64px;
  --space-7: 96px;

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-pill: 999px;

  --font: "Manrope", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1160px;
  --gutter: 20px;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 26px;
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }
h1, h2, h3, p, ul { margin: 0; }
ul { padding: 0; list-style: none; }
a { color: var(--tomato); }
b, strong { font-weight: 800; }

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

.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin: 0 auto; padding-inline: var(--gutter); }

.skip { position: absolute; left: -9999px; }
.skip:focus { left: var(--gutter); top: var(--space-2); background: var(--paper); padding: var(--space-2) var(--space-3); z-index: 100; }

/* ---------- type ---------- */
.eyebrow {
  font-size: 12px; line-height: 16px; font-weight: 800;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--tomato);
}
.display {
  font-size: clamp(40px, 6vw, 64px); line-height: 1.06; font-weight: 800;
  letter-spacing: -0.04em; text-wrap: balance;
}
.display .light { font-weight: 400; display: block; }
.h1 {
  font-size: clamp(32px, 4.4vw, 44px); line-height: 1.14; font-weight: 800;
  letter-spacing: -0.03em; text-wrap: balance;
}
.h1 .light { font-weight: 400; }
.h2 { font-size: 22px; line-height: 28px; font-weight: 800; letter-spacing: -0.02em; }
.lead { font-size: clamp(18px, 2vw, 20px); line-height: 1.5; color: var(--ink); }
.muted { color: var(--ink-muted); }
.small { font-size: 14px; line-height: 20px; font-weight: 500; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2);
  min-height: 52px; padding: var(--space-3) var(--space-4);
  border-radius: var(--radius-md); border: 1.5px solid transparent;
  font: 700 16px/20px var(--font); text-decoration: none; cursor: pointer;
  transition: background-color .15s ease, color .15s ease, transform .15s ease;
}
.btn:active { transform: translateY(1px); }
.btn svg { width: 18px; height: 18px; transition: transform .15s ease; }
.btn:hover svg { transform: translateX(3px); }
.btn-primary { background: var(--tomato); color: var(--paper); }
.btn-primary:hover { background: var(--tomato-deep); }
.btn-light { background: var(--paper); color: var(--tomato); }
.btn-light:hover { background: var(--cream); }
.btn-small { min-height: 44px; padding: 10px 18px; font-size: 15px; }
.btn-note {
  margin-top: var(--space-2); font-size: 12px; line-height: 16px; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-muted);
}
.cta-block { display: flex; flex-direction: column; align-items: center; text-align: center; margin-top: var(--space-5); }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: color-mix(in srgb, var(--cream) 88%, transparent);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: var(--space-3); min-height: 76px; }
.logo img { width: 168px; height: auto; }

/* ---------- hero ---------- */
.hero { padding-block: var(--space-6) var(--space-7); }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: var(--space-6); align-items: center; }
.hero-copy { display: flex; flex-direction: column; gap: var(--space-4); }
.hero .lead { max-width: 34ch; }

.checks { display: flex; flex-direction: column; gap: var(--space-3); }
.checks li { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: var(--space-3); align-items: start; }
.checks .ic { margin-top: 1px; }
.checks b { display: block; font-size: 17px; line-height: 24px; }
.checks span { color: var(--ink-muted); }

.ic { width: 24px; height: 24px; flex: none; }
.ic-yes { color: var(--tomato); }
.ic-no { color: var(--tomato); }

.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-3) var(--space-4); margin-top: var(--space-2); }
.social-proof { font-size: 14px; line-height: 20px; font-weight: 600; color: var(--ink-muted); }
.social-proof b { color: var(--ink); }

/* hero visual: leads arriving */
.feed {
  position: relative; background: var(--ink); color: var(--paper);
  border-radius: var(--radius-lg); padding: var(--space-4);
  display: flex; flex-direction: column; gap: var(--space-3);
  box-shadow: 0 30px 60px -30px rgba(42, 29, 23, 0.55);
}
.feed-head { display: flex; align-items: center; justify-content: space-between; gap: var(--space-3); }
.feed-title { font-size: 14px; font-weight: 700; color: var(--paper); }
.live { display: inline-flex; align-items: center; gap: var(--space-2); font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--semolina); }
.live::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--semolina); animation: pulse 1.8s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .35; } }
@media (prefers-reduced-motion: reduce) { .live::before { animation: none; } }

.lead-card {
  background: var(--paper); color: var(--ink); border-radius: var(--radius-md);
  padding: var(--space-3); display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; gap: var(--space-3); align-items: center;
}
.avatar {
  width: 44px; height: 44px; border-radius: 50%; background: var(--cream); color: var(--tomato);
  display: grid; place-items: center; font-weight: 800; font-size: 15px;
}
.lead-card .who { font-weight: 800; font-size: 15px; line-height: 20px; }
.lead-card .what { font-size: 13px; line-height: 18px; color: var(--ink-muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pill {
  display: inline-flex; align-items: center; gap: 4px; padding: 4px 10px; border-radius: var(--radius-pill);
  font-size: 11px; line-height: 16px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; white-space: nowrap;
}
.pill-ok { background: #E3EFE6; color: var(--green); }
.feed-foot { display: flex; justify-content: space-between; gap: var(--space-3); padding-top: var(--space-2); border-top: 1px solid rgba(251, 246, 238, .14); font-size: 13px; color: rgba(251, 246, 238, .78); }
.feed-foot b { color: var(--semolina); font-weight: 800; white-space: nowrap; }
.feed-caption { margin-top: var(--space-2); font-size: 12px; line-height: 16px; color: var(--ink-muted); text-align: center; }

/* ---------- strip ---------- */
.strip { background: var(--tomato); color: var(--paper); }
.strip .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: var(--space-3) var(--space-4); padding-block: var(--space-4); text-align: center; }
.strip p { font-size: 18px; line-height: 24px; font-weight: 700; }

/* ---------- sections ---------- */
.section { padding-block: var(--space-7); }
.section-head { display: flex; flex-direction: column; align-items: center; gap: var(--space-3); text-align: center; max-width: 780px; margin: 0 auto var(--space-6); }
.section-head .lead { color: var(--ink-muted); }
.section-head .lead b { color: var(--ink); }

/* benefits */
.benefits { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: var(--space-3); }
.benefits > li { grid-column: span 2; }
.benefits > li:nth-child(n+4) { grid-column: span 3; }
.benefit {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: var(--space-4); display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: var(--space-3); align-items: start;
}
.benefit b { color: var(--ink); }
.benefit p { color: var(--ink-muted); }

.no-box {
  margin-top: var(--space-5);
  background: var(--ink); color: var(--paper); border-radius: var(--radius-lg);
  display: grid; grid-template-columns: auto minmax(0, 1fr); gap: var(--space-5); align-items: center;
  padding: var(--space-5) var(--space-6);
}
.no-word { font-size: clamp(72px, 12vw, 128px); line-height: .9; font-weight: 800; letter-spacing: -0.05em; color: var(--paper); }
.no-word span { color: var(--semolina); }
.no-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-4); }
.no-list li { display: flex; flex-direction: column; gap: var(--space-2); font-size: 18px; line-height: 24px; font-weight: 700; }
.no-list .ic { color: var(--semolina); }
.no-list small { font-size: 14px; line-height: 20px; font-weight: 500; color: rgba(251, 246, 238, .72); }

/* testimonial */
.testimonial { background: var(--ink); color: var(--paper); }
.testimonial .wrap { padding-block: var(--space-7); }
.quote { max-width: 820px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; gap: var(--space-4); text-align: center; }
.quote-mark { width: 44px; height: 44px; color: var(--semolina); }
.quote blockquote { margin: 0; font-size: clamp(20px, 2.6vw, 28px); line-height: 1.35; font-weight: 500; letter-spacing: -0.01em; }
.quote figcaption { display: flex; align-items: center; gap: var(--space-3); text-align: left; }
.quote .avatar { width: 56px; height: 56px; background: rgba(251, 246, 238, .12); color: var(--paper); font-size: 12px; }
.quote .name { font-weight: 800; }
.quote .avatar-logo { background: var(--paper); object-fit: cover; }
.quote .role { font-size: 14px; line-height: 20px; color: rgba(251, 246, 238, .72); }

/* steps */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-3); counter-reset: step; }
.step {
  position: relative; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: var(--space-5) var(--space-4) var(--space-4); display: flex; flex-direction: column; gap: var(--space-2);
}
.step-num { font-size: 72px; line-height: 1; font-weight: 800; letter-spacing: -0.05em; color: var(--tomato); margin-bottom: var(--space-3); font-variant-numeric: tabular-nums; }
.step p { color: var(--ink-muted); }
.step p b { color: var(--ink); }
.step:not(:last-child)::after {
  content: ""; position: absolute; top: 72px; right: -13px; width: 10px; height: 10px;
  border-top: 2px solid var(--tomato); border-right: 2px solid var(--tomato); transform: rotate(45deg);
}

/* comparison */
.compare-wrap { position: relative; overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: var(--radius-lg); border: 1px solid var(--line); background: var(--paper); }
.compare { width: 100%; min-width: 760px; border-collapse: collapse; font-size: 15px; line-height: 20px; }
.compare th, .compare td { padding: 18px var(--space-3); text-align: center; border-bottom: 1px solid var(--line); vertical-align: middle; }
.compare thead > tr > * { border-bottom: 1px solid var(--line); }
.compare thead th { font-size: 14px; font-weight: 700; color: var(--ink-muted); }
.compare tbody th { text-align: left; font-weight: 700; color: var(--ink); width: 22%; }
.compare tr:last-child > * { border-bottom: 0; }
.compare .us { background: var(--tomato); color: var(--paper); }
.compare thead .us { border-radius: var(--radius-md) var(--radius-md) 0 0; }
.compare thead .us img { width: 128px; margin: 0 auto; }
.compare tbody .us { font-weight: 800; border-bottom-color: rgba(251, 246, 238, .22); }
.compare .big { font-size: 20px; font-weight: 800; letter-spacing: -0.02em; }
.compare .bad { color: var(--tomato); font-weight: 700; }
.compare .ok { color: var(--green); font-weight: 700; }
.compare .ic { margin: 0 auto; }
.compare .yes { color: var(--green); }
.compare .no { color: var(--tomato); }
.compare .us .ic { color: var(--paper); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* faq */
.faq-grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: var(--space-6); align-items: start; }
.faq-grid .section-head { text-align: left; align-items: flex-start; margin: 0; position: sticky; top: 110px; }
.faq { display: flex; flex-direction: column; gap: var(--space-2); }
.faq details { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: var(--space-3);
  padding: 20px var(--space-4); font-size: 18px; line-height: 24px; font-weight: 800; letter-spacing: -0.01em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .plus { flex: none; width: 32px; height: 32px; border-radius: 50%; background: var(--cream); color: var(--tomato); display: grid; place-items: center; transition: transform .2s ease, background-color .2s ease; }
.faq details[open] summary .plus { transform: rotate(45deg); background: var(--tomato); color: var(--paper); }
.faq .answer { padding: 0 var(--space-4) var(--space-4); display: flex; flex-direction: column; gap: var(--space-3); color: var(--ink-muted); max-width: 65ch; }
.faq .answer b { color: var(--ink); }

/* final cta */
.final { background: var(--tomato); color: var(--paper); }
.final .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-5); padding-block: var(--space-7); }
.final h2 { font-size: clamp(34px, 5vw, 56px); line-height: 1.05; font-weight: 800; letter-spacing: -0.04em; max-width: 14ch; }
.final h2 .light { font-weight: 400; }
.final .btn { min-height: 64px; padding-inline: var(--space-5); font-size: 18px; }

/* footer */
.site-footer { padding-block: var(--space-6); }
.site-footer .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-4); }
.site-footer img { width: 132px; }
.foot-meta { font-size: 14px; line-height: 20px; color: var(--ink-muted); text-align: right; }
.foot-links { display: flex; gap: var(--space-4); justify-content: flex-end; margin-top: var(--space-1); }
.foot-links a { color: var(--ink-muted); text-underline-offset: 3px; }
.foot-links a:hover { color: var(--tomato); }

/* mobile helpers */
.swipe-hint { display: none; }
.strip p { text-wrap: balance; }
.logo { display: inline-flex; align-items: center; min-height: 44px; }
.foot-links a { display: inline-flex; align-items: center; min-height: 32px; }

/* ---------- responsive ---------- */
@media (max-width: 960px) {
  .hero .wrap { grid-template-columns: minmax(0, 1fr); gap: var(--space-5); }
  .hero { padding-block: var(--space-5) var(--space-6); }
  .no-box { grid-template-columns: minmax(0, 1fr); padding: var(--space-5) var(--space-4); gap: var(--space-4); }
  .steps { grid-template-columns: minmax(0, 1fr); }
  .benefits { grid-template-columns: minmax(0, 1fr); }
  .benefits > li, .benefits > li:nth-child(n+4) { grid-column: auto; }
  .step:not(:last-child)::after { display: none; }
  .faq-grid { grid-template-columns: minmax(0, 1fr); gap: var(--space-4); }
  .faq-grid .section-head { position: static; }
}
@media (max-width: 640px) {
  :root { --gutter: 16px; }
  .section, .testimonial .wrap, .final .wrap { padding-block: var(--space-6); }
  .section-head { margin-bottom: var(--space-5); }
  .logo img { width: 136px; }
  .no-list { grid-template-columns: minmax(0, 1fr); gap: var(--space-3); }
  .no-list li { flex-direction: row; align-items: center; }
  .no-list small { display: none; }
  .final .btn { width: 100%; }
  .foot-meta { text-align: left; }
  .foot-links { justify-content: flex-start; }
  .hero-actions .btn { width: 100%; }
  .swipe-hint { display: flex; align-items: center; justify-content: flex-end; gap: 6px; margin-bottom: var(--space-2); font-size: 13px; font-weight: 700; color: var(--ink-muted); }
  .swipe-hint svg { width: 16px; height: 16px; }
  .compare { min-width: 620px; font-size: 14px; }
  .compare th, .compare td { padding: 14px 10px; }
  .compare tbody th, .compare thead td { position: sticky; left: 0; z-index: 1; background: var(--paper); width: 118px; min-width: 118px; box-shadow: 1px 0 0 var(--line); }
  .compare .big { font-size: 17px; }
  .compare thead .us img { width: 100px; }
  .display { font-size: clamp(36px, 10.5vw, 44px); }
  .lead-card .what { white-space: normal; }
  .lead-card { grid-template-columns: 40px minmax(0, 1fr); }
  .lead-card .pill { grid-column: 2; justify-self: start; }
  .avatar { width: 40px; height: 40px; }
  .step { padding-top: var(--space-4); }
  .step-num { font-size: 48px; margin-bottom: var(--space-1); }
}

/* ---------- legal pages ---------- */
.foot-legal { font-size: 13px; line-height: 18px; }
.legal { padding-block: var(--space-6) var(--space-7); }
.legal-head { display: flex; flex-direction: column; gap: var(--space-3); max-width: 780px; padding-bottom: var(--space-5); margin-bottom: var(--space-5); border-bottom: 1px solid var(--line); }
.legal-grid { display: grid; grid-template-columns: minmax(0, 260px) minmax(0, 1fr); gap: var(--space-6); align-items: start; }
.legal-toc { position: sticky; top: 100px; max-height: calc(100vh - 120px); overflow-y: auto; }
.toc-title { font-size: 12px; line-height: 16px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-muted); margin-bottom: var(--space-3); }
.legal-toc ol { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2px; }
.legal-toc a { display: flex; gap: var(--space-2); padding: 6px 10px; border-radius: var(--radius-sm); font-size: 14px; line-height: 20px; font-weight: 600; color: var(--ink-muted); text-decoration: none; }
.legal-toc a:hover { background: var(--paper); color: var(--tomato); }
.legal-toc .num { min-width: 20px; color: var(--tomato); font-variant-numeric: tabular-nums; }
.legal-body { max-width: 70ch; display: flex; flex-direction: column; gap: var(--space-5); }
.legal-intro, .legal-body section { display: flex; flex-direction: column; gap: var(--space-3); scroll-margin-top: 100px; }
.legal-body h2 { display: flex; gap: var(--space-3); align-items: baseline; font-size: 24px; line-height: 30px; font-weight: 800; letter-spacing: -0.02em; }
.legal-body h2 .num { color: var(--tomato); font-variant-numeric: tabular-nums; min-width: 1.4em; }
.legal-body h3 { font-size: 17px; line-height: 24px; font-weight: 800; margin-top: var(--space-2); }
.legal-body p, .legal-body li { color: var(--ink); }
.legal-body ul { display: flex; flex-direction: column; gap: 6px; padding-left: 0; }
.legal-body li { position: relative; padding-left: 22px; }
.legal-body li::before { content: ""; position: absolute; left: 4px; top: 11px; width: 6px; height: 6px; border-radius: 50%; background: var(--tomato); }
.legal-body a { text-underline-offset: 3px; }
.legal-body .card { font-style: normal; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: var(--space-4); line-height: 26px; }
@media (max-width: 960px) {
  .legal-grid { grid-template-columns: minmax(0, 1fr); gap: var(--space-4); }
  .legal-toc { position: static; max-height: none; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: var(--space-4); }
}

/* ---------- case studies ---------- */
.nav { display: flex; align-items: center; gap: var(--space-4); }
.nav-link { font-size: 15px; font-weight: 700; color: var(--ink); text-decoration: none; padding: 10px 2px; }
.nav-link:hover, .nav-link[aria-current="page"] { color: var(--tomato); }

.cs-hero { padding-block: var(--space-6) var(--space-5); }
.cs-hero .wrap { display: flex; flex-direction: column; gap: var(--space-4); }
.cs-hero .lead { max-width: 62ch; color: var(--ink-muted); }
.cs-hero .lead b { color: var(--ink); }
.headline-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-3); margin-top: var(--space-3); }
.headline-stats li { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: var(--space-4); display: flex; flex-direction: column; gap: 2px; }
.headline-stats .n { font-size: clamp(30px, 3.4vw, 40px); line-height: 1.1; font-weight: 800; letter-spacing: -0.03em; color: var(--tomato); font-variant-numeric: tabular-nums; }
.headline-stats .l { font-size: 14px; line-height: 20px; font-weight: 600; color: var(--ink-muted); }
.cs-actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-3) var(--space-4); margin-top: var(--space-2); }

.jump { display: flex; flex-wrap: wrap; gap: var(--space-2); padding-block: var(--space-4) 0; }
.jump a {
  display: inline-flex; align-items: center; min-height: 40px; padding: 8px 16px;
  border: 1px solid var(--line); border-radius: var(--radius-pill); background: var(--paper);
  font-size: 14px; font-weight: 700; color: var(--ink); text-decoration: none;
}
.jump a:hover { border-color: var(--tomato); color: var(--tomato); }

.cases { display: flex; flex-direction: column; }
.case { padding-block: var(--space-7); border-top: 1px solid var(--line); scroll-margin-top: 92px; }
.case:first-child { border-top: 0; }
.case .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.85fr); gap: var(--space-6); align-items: start; }
.case.flip .case-copy { order: 2; }
.case-copy { display: flex; flex-direction: column; gap: var(--space-3); }
.case-copy h2 { font-size: clamp(26px, 3.2vw, 36px); line-height: 1.15; font-weight: 800; letter-spacing: -0.03em; text-wrap: balance; }
.case-copy p { color: var(--ink-muted); max-width: 60ch; }
.case-copy p b { color: var(--ink); }
.case-meta { display: flex; flex-wrap: wrap; gap: var(--space-2) var(--space-3); font-size: 13px; line-height: 18px; font-weight: 700; color: var(--ink-muted); }
.case-meta span { display: inline-flex; align-items: center; gap: 6px; }
.case-meta span::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--tomato); }

.stat-card { background: var(--ink); color: var(--paper); border-radius: var(--radius-lg); padding: var(--space-4); position: sticky; top: 100px; }
.stat-card .sc-head { display: flex; align-items: center; justify-content: space-between; gap: var(--space-3); padding-bottom: var(--space-3); border-bottom: 1px solid rgba(251, 246, 238, .14); font-size: 13px; font-weight: 700; color: rgba(251, 246, 238, .78); }
.stat-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-3); padding-top: var(--space-3); }
.stat-grid div { display: flex; flex-direction: column; gap: 2px; }
.stat-grid .n { font-size: 26px; line-height: 1.15; font-weight: 800; letter-spacing: -0.02em; color: var(--semolina); font-variant-numeric: tabular-nums; }
.stat-grid .l { font-size: 13px; line-height: 18px; font-weight: 600; color: rgba(251, 246, 238, .78); }
.sc-note { margin-top: var(--space-3); padding-top: var(--space-3); border-top: 1px solid rgba(251, 246, 238, .14); font-size: 12px; line-height: 17px; color: rgba(251, 246, 238, .62); }

.work { display: flex; flex-direction: column; gap: var(--space-2); margin-top: var(--space-2); }
.work p { font-size: 12px; line-height: 16px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-muted); }
.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tags li { font-size: 13px; line-height: 18px; font-weight: 600; color: var(--ink); background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-pill); padding: 5px 12px; }

.focus { background: var(--ink); color: var(--paper); }
.focus .wrap { padding-block: var(--space-7); display: flex; flex-direction: column; gap: var(--space-5); }
.focus h2 { font-size: clamp(30px, 4vw, 44px); line-height: 1.1; font-weight: 800; letter-spacing: -0.03em; max-width: 18ch; }
.focus h2 .light { font-weight: 400; }
.focus .lead { color: rgba(251, 246, 238, .82); max-width: 68ch; }
.focus .lead b { color: var(--paper); }
.pillars { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-4); }
.pillars li { display: flex; flex-direction: column; gap: var(--space-2); padding-top: var(--space-3); border-top: 2px solid var(--semolina); }
.pillars b { font-size: 18px; line-height: 24px; font-weight: 800; }
.pillars span { font-size: 15px; line-height: 22px; color: rgba(251, 246, 238, .78); }

@media (max-width: 960px) {
  .headline-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .case .wrap { grid-template-columns: minmax(0, 1fr); gap: var(--space-4); }
  .case.flip .case-copy { order: 0; }
  .stat-card { position: static; }
  .pillars { grid-template-columns: minmax(0, 1fr); gap: var(--space-3); }
  .nav { gap: var(--space-3); }
}
@media (max-width: 640px) {
  .case { padding-block: var(--space-6); }
  .nav-link { font-size: 14px; }
  .stat-grid .n { font-size: 22px; }
}
