/* Clarkworks Studio — site styles
   Brand: Ink #151B2C · Signal #FF6A3D · Paper #F5F3EE · Slate #5A6072
   Rule: Signal is never used for small text on Paper (contrast). */

:root {
  --ink: #151B2C;
  --ink-2: #1E2639;
  --ink-3: #2A3349;
  --signal: #FF6A3D;
  --signal-deep: #C2410C; /* AA-safe orange for small text/links on Paper */
  --paper: #F5F3EE;
  --paper-2: #ECE9E1;
  --slate: #5A6072;
  --line: #D9D5CB;
  --line-dark: #2F3850;
  --white: #FFFFFF;

  --font-sans: "Space Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  --wrap: 1160px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 1px 2px rgba(21, 27, 44, .06), 0 8px 24px rgba(21, 27, 44, .06);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; animation: none !important; } }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { line-height: 1.12; margin: 0 0 .5em; letter-spacing: -0.02em; font-weight: 700; }
h1 { font-size: clamp(2.4rem, 6vw, 4.4rem); letter-spacing: -0.035em; }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.7rem); }
h3 { font-size: 1.3rem; letter-spacing: -0.01em; }
ul { padding-left: 1.2em; }

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

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--signal); color: var(--ink); padding: 10px 14px; border-radius: var(--radius-sm);
  font-weight: 700; text-decoration: none;
}
.skip-link:focus { top: 12px; }

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

.mono { font-family: var(--font-mono); }
.label {
  font-family: var(--font-mono); font-size: .8rem; letter-spacing: .02em;
  color: var(--slate); display: inline-block; margin-bottom: 1rem;
}
.label::before { content: "// "; color: var(--signal-deep); }
.on-ink .label { color: #A9B0C2; }
.on-ink .label::before { color: var(--signal); }

.lede { font-size: clamp(1.1rem, 1.6vw, 1.3rem); color: var(--slate); max-width: 46ch; }
.on-ink .lede { color: #C3C8D4; }

.cursor { color: var(--signal); animation: blink 1.1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .5em;
  font: 600 1rem/1 var(--font-sans);
  padding: .95em 1.4em; border-radius: 999px; text-decoration: none;
  border: 2px solid transparent; cursor: pointer; transition: transform .15s ease, background .15s ease, color .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--signal); color: var(--ink); }
.btn-primary:hover { background: #FF7F59; }
.btn-ghost { border-color: currentColor; color: inherit; background: transparent; }
.btn-ghost:hover { background: rgba(255,255,255,.06); }
.on-paper .btn-ghost:hover { background: rgba(21,27,44,.05); }
.btn .arrow { font-family: var(--font-mono); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 2rem; }

.text-link {
  color: var(--signal-deep); font-weight: 600; text-decoration: none;
  border-bottom: 2px solid currentColor; padding-bottom: 1px;
}
.on-ink .text-link { color: var(--signal); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: rgba(21, 27, 44, .96); color: var(--paper);
  backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid var(--line-dark);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 16px; }
.brand { display: flex; align-items: baseline; gap: .6rem; text-decoration: none; color: var(--paper); }
.brand-mark { font-family: var(--font-mono); font-weight: 700; font-size: 1.25rem; letter-spacing: -0.04em; }
.brand-mark .slash { color: var(--signal); }
.brand-word { font-weight: 700; font-size: 1.1rem; letter-spacing: -0.02em; }
.brand-word span { font-family: var(--font-mono); font-weight: 400; color: #A9B0C2; font-size: .85em; }

.nav-links { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  display: block; padding: .5em .85em; border-radius: 999px; text-decoration: none;
  color: #C3C8D4; font-weight: 500; font-size: .98rem;
}
.nav-links a:hover { color: var(--paper); background: rgba(255,255,255,.06); }
.nav-links a[aria-current="page"] { color: var(--paper); }
.nav-links a[aria-current="page"]::before { content: "/"; color: var(--signal); font-family: var(--font-mono); margin-right: 2px; }
.nav-links .btn { margin-left: 8px; padding: .7em 1.1em; color: var(--ink); }
.nav-links .btn:hover { background: #FF7F59; color: var(--ink); }

.nav-toggle {
  display: none; background: none; border: 1px solid var(--line-dark); color: var(--paper);
  border-radius: var(--radius-sm); padding: 8px 12px; font: 500 .9rem var(--font-mono); cursor: pointer;
}

@media (max-width: 860px) {
  .nav-toggle { display: inline-block; }
  .nav-links {
    position: absolute; top: 68px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--ink); border-bottom: 1px solid var(--line-dark);
    padding: 8px var(--gutter) 20px; display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: .9em .25em; border-radius: 0; border-bottom: 1px solid var(--line-dark); }
  .nav-links .btn { margin: 16px 0 0; justify-content: center; border-radius: 999px; border-bottom: 0; }
}

/* ---------- Sections ---------- */
.section { padding: clamp(64px, 9vw, 120px) 0; }
.section-tight { padding: clamp(48px, 6vw, 80px) 0; }
.on-ink { background: var(--ink); color: var(--paper); }
.on-paper-2 { background: var(--paper-2); }
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 16px 32px; margin-bottom: 48px; }
.section-head h2 { margin: 0; max-width: 18ch; }
.section-head p { margin: 0; max-width: 42ch; color: var(--slate); }

/* ---------- Hero ---------- */
.hero { padding: clamp(64px, 10vw, 128px) 0 clamp(64px, 9vw, 112px); position: relative; overflow: hidden; }
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(var(--line-dark) 1px, transparent 1px), linear-gradient(90deg, var(--line-dark) 1px, transparent 1px);
  background-size: 48px 48px; opacity: .25;
  mask-image: radial-gradient(ellipse at 70% 40%, #000 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at 70% 40%, #000 0%, transparent 70%);
}
.hero .wrap { position: relative; z-index: 1; }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }
.hero h1 .accent { color: var(--signal); }
@media (max-width: 920px) { .hero-grid { grid-template-columns: 1fr; } }

.page-hero { padding: clamp(56px, 8vw, 104px) 0 clamp(48px, 6vw, 80px); }
.page-hero h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); max-width: 18ch; }

/* Code panel */
.code-panel {
  background: var(--ink-2); border: 1px solid var(--line-dark); border-radius: var(--radius);
  font-family: var(--font-mono); font-size: .9rem; line-height: 1.75; color: #C3C8D4;
  box-shadow: 0 30px 60px rgba(0,0,0,.35); overflow: hidden;
}
.code-panel .bar { display: flex; gap: 7px; padding: 12px 16px; border-bottom: 1px solid var(--line-dark); align-items: center; }
.code-panel .bar i { width: 11px; height: 11px; border-radius: 50%; background: var(--ink-3); display: block; }
.code-panel .bar i:first-child { background: var(--signal); }
.code-panel .bar span { margin-left: auto; font-size: .75rem; color: #7F879B; }
.code-panel pre { margin: 0; padding: 20px 22px; white-space: pre; overflow-x: auto; }
.tk-tag { color: var(--signal); }
.tk-attr { color: #8FB3FF; }
.tk-str { color: #B8E0A8; }
.tk-com { color: #6E7790; }

/* ---------- Cards / grids ---------- */
.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 980px) { .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; box-shadow: var(--shadow); display: flex; flex-direction: column;
}
.card h3 { margin-bottom: .4em; }
.card p { color: var(--slate); }
.card .card-foot { margin-top: auto; padding-top: 12px; }
.card .card-foot.text-link { align-self: flex-start; padding-top: 0; margin-top: auto; }
.on-ink .card { background: var(--ink-2); border-color: var(--line-dark); box-shadow: none; }
.on-ink .card p { color: #A9B0C2; }

.icon-tag {
  font-family: var(--font-mono); font-weight: 700; font-size: .95rem;
  width: 52px; height: 52px; border-radius: 12px; display: flex; align-items: center; justify-content: center;
  background: var(--ink); color: var(--paper); margin-bottom: 20px; letter-spacing: -0.04em;
  white-space: nowrap; min-width: 52px; width: auto; padding: 0 12px; align-self: flex-start;
}
.icon-tag b { color: var(--signal); font-weight: 700; }

.chips { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; padding: 0; margin: 0 0 1rem; }
.chips li {
  font-family: var(--font-mono); font-size: .75rem; padding: .3em .7em; border-radius: 999px;
  background: var(--paper); border: 1px solid var(--line); color: var(--slate);
}
.on-ink .chips li { background: transparent; border-color: var(--line-dark); color: #A9B0C2; }

/* ---------- Work ---------- */
.work-card { padding: 0; overflow: hidden; text-decoration: none; color: inherit; transition: transform .2s ease, box-shadow .2s ease; }
a.work-card:hover { transform: translateY(-3px); box-shadow: 0 2px 4px rgba(21,27,44,.06), 0 16px 40px rgba(21,27,44,.12); }
.work-card .body { padding: 24px 26px 28px; display: flex; flex-direction: column; flex: 1; }
.work-card .meta { font-family: var(--font-mono); font-size: .78rem; color: var(--slate); margin-bottom: .6rem; }
.work-card h3 { font-size: 1.4rem; }

.thumb {
  aspect-ratio: 16 / 10; background: var(--ink); color: var(--paper); position: relative; overflow: hidden;
  display: flex; flex-direction: column; justify-content: flex-end; padding: 22px 24px;
  font-family: var(--font-mono);
}
.thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; }
.thumb::before {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(var(--line-dark) 1px, transparent 1px), linear-gradient(90deg, var(--line-dark) 1px, transparent 1px);
  background-size: 28px 28px; opacity: .35;
}
.thumb > * { position: relative; }
.thumb .t-big { font-size: clamp(1.5rem, 3vw, 2.1rem); font-weight: 700; letter-spacing: -0.04em; line-height: 1.1; }
.thumb .t-big b { color: var(--signal); }
.thumb .t-small { font-size: .78rem; color: #A9B0C2; margin-top: 6px; }
.thumb .t-status {
  position: absolute; top: 18px; left: 20px; font-size: .72rem; padding: .3em .7em; border-radius: 999px;
  border: 1px solid var(--line-dark); color: #C3C8D4; background: rgba(21,27,44,.7);
}
.thumb .t-status .dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: #4ADE80; margin-right: 6px; vertical-align: 1px; }
.thumb .t-status .dot.amber { background: var(--signal); }
.thumb.thumb-signal { background: var(--signal); color: var(--ink); }
.thumb.thumb-signal::before { background-image: linear-gradient(rgba(21,27,44,.12) 1px, transparent 1px), linear-gradient(90deg, rgba(21,27,44,.12) 1px, transparent 1px); opacity: 1; }
.thumb.thumb-signal .t-big b { color: var(--paper); }
.thumb.thumb-signal .t-small { color: var(--ink-2); }
.thumb.thumb-signal .t-status { background: rgba(245,243,238,.85); color: var(--ink); border-color: transparent; }
.thumb.thumb-paper { background: var(--paper-2); color: var(--ink); }
.thumb.thumb-paper::before { background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); opacity: 1; }
.thumb.thumb-paper .t-small { color: var(--slate); }
.thumb.thumb-paper .t-status { background: var(--white); color: var(--ink); border-color: var(--line); }

.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
.filter-btn {
  font: 500 .85rem var(--font-mono); padding: .55em 1em; border-radius: 999px; cursor: pointer;
  border: 1px solid var(--line); background: var(--white); color: var(--ink);
}
.filter-btn[aria-pressed="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }

/* Case study rows */
.case { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; padding: 56px 0; border-top: 1px solid var(--line); }
.case:first-of-type { border-top: 0; padding-top: 0; }
.case .thumb { border-radius: var(--radius); }
.case h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
.case dl { display: grid; grid-template-columns: max-content 1fr; gap: 6px 20px; margin: 1.4rem 0; font-size: .95rem; }
.case dt { font-family: var(--font-mono); font-size: .8rem; color: var(--slate); padding-top: 2px; }
.case dd { margin: 0; }
.case ul.features { margin: 0 0 1.4rem; }
.case ul.features li { margin-bottom: .3em; }
.case[hidden] { display: none; }
@media (max-width: 860px) { .case { grid-template-columns: 1fr; gap: 28px; } }

/* ---------- Process ---------- */
.steps { counter-reset: step; list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.steps li { counter-increment: step; border-top: 2px solid var(--line-dark); padding-top: 20px; }
.on-paper .steps li, .on-paper-2 .steps li { border-color: var(--ink); }
.steps li::before {
  content: "0" counter(step); font-family: var(--font-mono); font-size: .85rem; color: var(--signal);
  display: block; margin-bottom: 12px;
}
.on-paper .steps li::before, .on-paper-2 .steps li::before { color: var(--signal-deep); }
.steps h3 { font-size: 1.15rem; }
.steps p { color: #A9B0C2; font-size: .98rem; margin: 0; }
.on-paper .steps p, .on-paper-2 .steps p { color: var(--slate); }
@media (max-width: 860px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

/* ---------- Services detail ---------- */
.service { display: grid; grid-template-columns: 280px 1fr; gap: 40px; padding: 48px 0; border-top: 1px solid var(--line); }
.service:first-of-type { border-top: 0; padding-top: 0; }
.service .icon-tag { width: 64px; height: 64px; font-size: 1.1rem; }
.service h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); }
.service .cols { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.service h4 { font-family: var(--font-mono); font-size: .8rem; font-weight: 500; color: var(--slate); letter-spacing: .02em; margin-bottom: .6em; }
.service ul { margin: 0; }
.service li { margin-bottom: .35em; }
@media (max-width: 860px) { .service { grid-template-columns: 1fr; gap: 16px; } .service .cols { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; }
.faq details { border-top: 1px solid var(--line); padding: 4px 0; }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer; list-style: none; padding: 20px 40px 20px 0; font-weight: 600; font-size: 1.1rem; position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 16px; font-family: var(--font-mono); font-size: 1.4rem; color: var(--signal-deep); }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--slate); padding-right: 40px; }

/* ---------- CTA band ---------- */
.cta-band { text-align: left; }
.cta-band .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 24px 48px; }
.cta-band h2 { margin: 0; max-width: 20ch; }
.cta-band .btn-row { margin-top: 0; }

/* ---------- Forms ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }
.field label, .field legend { display: block; font-weight: 600; margin-bottom: 8px; font-size: .98rem; }
.field .hint { font-weight: 400; color: var(--slate); font-size: .88rem; }
.field input[type="text"], .field input[type="email"], .field input[type="url"], .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink);
  background: var(--white); border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  padding: .8em .9em; transition: border-color .15s ease, box-shadow .15s ease;
}
.field textarea { min-height: 160px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(255,106,61,.35); }
.field fieldset { border: 0; padding: 0; margin: 0; }
.option-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.option-pills label { margin: 0; font-weight: 500; }
.option-pills input { position: absolute; opacity: 0; pointer-events: none; }
.option-pills span {
  display: inline-block; padding: .55em 1em; border-radius: 999px; border: 1.5px solid var(--line);
  background: var(--white); cursor: pointer; font-size: .95rem;
}
.option-pills input:checked + span { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.option-pills input:focus-visible + span { outline: 3px solid var(--signal); outline-offset: 2px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .95rem; color: var(--slate); }
.check input { margin-top: 5px; width: 18px; height: 18px; accent-color: var(--ink); flex: none; }
.hidden-field { position: absolute; left: -9999px; }

.contact-layout { display: grid; grid-template-columns: 1.5fr 1fr; gap: 56px; align-items: start; }
@media (max-width: 920px) { .contact-layout { grid-template-columns: 1fr; } }
.aside-card { background: var(--ink); color: var(--paper); border-radius: var(--radius); padding: 32px; position: sticky; top: 96px; }
.aside-card p, .aside-card li { color: #C3C8D4; }
.aside-card h3 { color: var(--paper); }
.aside-card a { color: var(--signal); }
.aside-card ul { list-style: none; padding: 0; margin: 0 0 1.4rem; }
.aside-card li { padding: 8px 0; border-bottom: 1px solid var(--line-dark); display: flex; justify-content: space-between; gap: 12px; }
.aside-card li span:first-child { font-family: var(--font-mono); font-size: .8rem; color: #8B93A7; padding-top: 3px; }

/* ---------- Prose (legal pages) ---------- */
.prose { max-width: 720px; }
.prose h2 { font-size: 1.5rem; margin-top: 2.2em; }
.prose p, .prose li { color: #343B4E; }
.prose a { color: var(--signal-deep); }

/* ---------- Values list ---------- */
.values { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 40px; }
.values li { padding: 22px 0; border-top: 1px solid var(--line); }
.values strong { display: block; font-size: 1.15rem; margin-bottom: 4px; }
.values span { color: var(--slate); }
@media (max-width: 720px) { .values { grid-template-columns: 1fr; } }

.stack { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0; }
.stack li { font-family: var(--font-mono); font-size: .85rem; padding: .5em .9em; border: 1px solid var(--line-dark); border-radius: var(--radius-sm); color: #C3C8D4; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; gap: 32px; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #A9B0C2; padding: 64px 0 32px; border-top: 1px solid var(--line-dark); font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-grid > :first-child { grid-column: 1 / -1; } }
.site-footer h4 { font-family: var(--font-mono); font-size: .78rem; font-weight: 500; color: #7F879B; margin-bottom: 14px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 8px; }
.site-footer a { text-decoration: none; color: #C3C8D4; }
.site-footer a:hover { color: var(--paper); }
.site-footer .brand { margin-bottom: 14px; }
.footer-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line-dark); font-family: var(--font-mono); font-size: .78rem; color: #7F879B; }

/* ---------- Utilities ---------- */
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; }
.center { text-align: center; }
.muted { color: var(--slate); }
.note {
  font-family: var(--font-mono); font-size: .82rem; color: var(--slate);
  border-left: 3px solid var(--signal); padding: 10px 14px; background: var(--white); border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}
.reveal { transform: translateY(10px); transition: transform .6s ease; }
.reveal.in { transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }
.no-js .reveal { opacity: 1; transform: none; }

/* Warden case study extras */
.stats { list-style: none; padding: 0; margin: 0 0 1.6rem; display: flex; flex-wrap: wrap; gap: 12px; }
.stats li { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 12px 16px; min-width: 120px; flex: 1; }
.stats b { display: block; font-family: var(--font-mono); font-size: 1.6rem; line-height: 1.1; color: var(--ink); }
.stats span { font-size: .85rem; color: var(--slate); }
.feature-groups { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px 32px; padding-top: 8px; }
.feature-groups > div { border-top: 2px solid var(--ink); padding-top: 16px; }
.feature-groups h3 { font-size: 1.1rem; }
.feature-groups p { color: var(--slate); font-size: .97rem; margin: 0; }
@media (max-width: 980px) { .feature-groups { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .feature-groups { grid-template-columns: 1fr; } }
