/* ==========================================================================
   Paradyn Systems — design system (2026 redesign)
   One stylesheet for every page. Components are documented with markup in
   en/mako/COMPONENTS.md. No framework; no build step.
   ========================================================================== */

:root {
  --ink: #101514;
  --ink-2: #2b3230;
  --muted: #5b6360;
  --muted-2: #7a807d;
  --paper: #f3f1eb;
  --white: #fff;
  --dark: #0d1715;
  --dark-2: #15241f;
  --green: #173a33;
  --green-2: #14342d;
  --orange: #ec6b2d;
  --orange-2: #ff8c4e;
  --orange-ink: #b44d18;          /* orange that passes AA as text on light surfaces */
  --line: #d9d7d1;
  --line-2: #e3e2de;
  --soft: #e9e6de;
  --sand: #e7e4dc;
  --sage: #dce6e0;
  --on-dark: #fff;
  --on-dark-muted: #a3b2ad;
  --on-dark-line: rgba(255, 255, 255, .11);

  --font: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --radius: 22px;
  --radius-sm: 14px;
  --radius-lg: 28px;
  --shadow: 0 26px 70px rgba(13, 23, 21, .11);
  --shadow-sm: 0 10px 30px rgba(13, 23, 21, .07);

  --wrap: 1180px;
  --gutter: 24px;
  --section-y: clamp(64px, 9vw, 104px);
  --nav-h: 76px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 16px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.55;
  background: var(--paper);
  color: var(--ink);
  overflow-wrap: anywhere;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg, video, iframe { max-width: 100%; }
img { height: auto; display: block; }
a { color: inherit; text-decoration: none; }
p a, .prose li a, .card li a, figcaption a { color: var(--orange-ink); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
p a:hover, .prose li a:hover, .prose a:hover { color: var(--ink); }
h1, h2, h3, h4, h5, h6 { margin: 0; line-height: 1.1; letter-spacing: -.03em; font-weight: 800; overflow-wrap: normal; word-break: normal; hyphens: manual; }
p { margin: 0 0 1em; }
ul, ol { padding-left: 1.2em; }
strong, b { font-weight: 750; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 6px; }
::selection { background: rgba(236, 107, 45, .25); }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--dark); color: #fff; padding: 12px 18px; border-radius: 999px; font-weight: 700;
}
.skip-link:focus { top: 12px; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}

/* ---------- Layout ---------- */
.wrap { width: min(var(--wrap), calc(100% - 2 * var(--gutter))); margin-inline: auto; }
.wrap--narrow { width: min(820px, calc(100% - 2 * var(--gutter))); margin-inline: auto; }
.section { padding: var(--section-y) 0; }
.section--white { background: var(--white); }
.section--paper { background: var(--paper); }
.section--sand { background: var(--sand); }
.section--dark { background: var(--dark); color: var(--on-dark); }
.section--green { background: var(--green); color: var(--on-dark); }
.section--tight { padding: clamp(40px, 6vw, 64px) 0; }
.section + .section--paper.section--flush-top,
.section--flush-top { padding-top: 0; }

.grid { display: grid; gap: 16px; }
.grid-2 { display: grid; gap: 16px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { display: grid; gap: 16px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { display: grid; gap: 16px; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid-auto { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr)); }
.split { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(36px, 6vw, 78px); align-items: center; }
.split--top { align-items: start; }
.stack > * + * { margin-top: 16px; }

/* ---------- Type helpers ---------- */
.eyebrow {
  display: inline-block;
  font-size: 12px; letter-spacing: .15em; text-transform: uppercase; font-weight: 800;
  color: var(--orange-ink);
}
.section--dark .eyebrow, .section--green .eyebrow, .system-card .eyebrow, .dark .eyebrow { color: var(--orange-2); }
.lead { font-size: clamp(17px, 1.6vw, 19px); line-height: 1.6; color: var(--muted); max-width: 62ch; }
.section--dark .lead, .section--green .lead { color: var(--on-dark-muted); }
.muted { color: var(--muted); }
.mono { font-family: var(--mono); }
.index {
  font: 600 12px/1.2 var(--mono); letter-spacing: .06em; color: var(--muted-2); text-transform: uppercase;
}

/* Section heading row */
.head { display: flex; align-items: end; justify-content: space-between; gap: 60px; margin-bottom: 44px; }
.head h2 { font-size: clamp(32px, 4.2vw, 46px); line-height: 1.04; letter-spacing: -.045em; margin-top: 10px; max-width: 22ch; }
.head > p, .head .head-intro { max-width: 46ch; color: var(--muted); margin: 0; font-size: 17px; }
.section--dark .head > p, .section--green .head > p { color: var(--on-dark-muted); }
.head--stack { display: block; }
.head--stack > p { margin-top: 18px; max-width: 62ch; }
.h2 { font-size: clamp(30px, 4vw, 44px); line-height: 1.05; letter-spacing: -.045em; }
.h3 { font-size: clamp(22px, 2.2vw, 26px); letter-spacing: -.03em; }

/* ---------- Buttons & links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  min-height: 48px; padding: 13px 20px; border-radius: 999px;
  font: 750 15px/1.2 var(--font); border: 1px solid transparent; cursor: pointer;
  transition: transform .2s, background-color .2s, border-color .2s, color .2s;
  text-decoration: none; white-space: normal; text-align: center;
}
.btn:hover { transform: translateY(-1px); }
.btn--primary { background: var(--orange); color: #fff; }
.btn--primary:hover { background: #d95c20; }
.btn--outline { border-color: #b7b9b5; background: transparent; color: var(--ink); }
.btn--outline:hover { border-color: var(--ink); }
.btn--dark { background: var(--dark); color: #fff; }
.btn--light { background: #fff; color: var(--ink); }
.section--dark .btn--outline, .section--green .btn--outline { color: #fff; border-color: rgba(255, 255, 255, .3); }
.actions { display: flex; gap: 12px; flex-wrap: wrap; }
.link {
  display: inline-flex; align-items: center; gap: 6px; min-height: 44px;
  font-size: 14px; font-weight: 800; color: var(--orange-ink); text-decoration: none;
}
.link:hover { color: var(--ink); }
.section--dark .link, .section--green .link, .dark .link, .engcard.featured .link { color: var(--orange-2); }
.section--dark .link:hover, .dark .link:hover, .engcard.featured .link:hover { color: #fff; }

/* ---------- Tags ---------- */
.tags, .card .tags { display: flex; gap: 7px; flex-wrap: wrap; margin-top: 22px; padding: 0; list-style: none; }
.card .tags li + li { margin-top: 0; }
.tag {
  display: inline-flex; align-items: center; min-height: 30px; padding: 5px 11px; border-radius: 999px;
  background: #f5f3ee; border: 1px solid #dfddd6; font-size: 13px; color: var(--muted); line-height: 1.2;
}
.section--dark .tag { background: rgba(255, 255, 255, .05); border-color: var(--on-dark-line); color: var(--on-dark-muted); }

/* ---------- Brand / logo ---------- */
.brand { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-weight: 850; font-size: 25px; letter-spacing: -.05em; color: var(--ink); white-space: nowrap; }
.brand__mark { width: 36px; height: 24px; flex: none; color: var(--orange); }
.brand__dot { color: var(--orange); }
.brand--light { color: #fff; }

/* ---------- Site header / nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(243, 241, 235, .92);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(16, 21, 20, .08);
  transition: box-shadow .2s;
}
.site-header.is-scrolled { box-shadow: 0 8px 30px rgba(13, 23, 21, .06); }
.navin { height: var(--nav-h); display: flex; align-items: center; justify-content: space-between; gap: 22px; }
.navlinks { display: flex; align-items: center; gap: 4px; margin: 0; padding: 0; list-style: none; }
.navlinks a:not(.btn) {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 11px; border-radius: 999px;
  font-size: 14px; font-weight: 650; color: #3f4644;
}
.navlinks a:not(.btn):hover { color: var(--ink); background: rgba(16, 21, 20, .05); }
.navlinks a[aria-current] { color: var(--ink); box-shadow: inset 0 -2px 0 var(--orange); border-radius: 0; }
.navlinks .btn { margin-left: 10px; min-height: 44px; padding: 11px 18px; font-size: 14px; }
.nav-toggle {
  display: none; align-items: center; justify-content: center; width: 48px; height: 48px;
  border: 1px solid #c9c7c0; border-radius: 999px; background: transparent; color: var(--ink); cursor: pointer;
}
.nav-toggle svg { width: 22px; height: 22px; }
.nav-toggle .icon-close { display: none; }
.nav-open .nav-toggle .icon-close { display: block; }
.nav-open .nav-toggle .icon-menu { display: none; }

@media (max-width: 1040px) {
  .nav-toggle { display: inline-flex; }
  .site-nav {
    position: fixed; inset: var(--nav-h) 0 auto 0; max-height: calc(100dvh - var(--nav-h)); overflow-y: auto;
    background: var(--paper); border-bottom: 1px solid var(--line);
    box-shadow: 0 30px 60px rgba(13, 23, 21, .12);
    display: none;
  }
  .nav-open .site-nav { display: block; }
  /* Without JS the menu button can't work, so show the links inline. */
  .no-js .nav-toggle { display: none; }
  .no-js .navin { height: auto; min-height: var(--nav-h); flex-wrap: wrap; padding: 10px 0; }
  .no-js .site-nav { display: block; position: static; max-height: none; box-shadow: none; border: 0; background: transparent; width: 100%; }
  .no-js .navlinks { flex-direction: row; flex-wrap: wrap; padding: 0; }
  .no-js .navlinks a:not(.btn) { min-height: 44px; font-size: 15px; border-bottom: 0; padding: 0 10px; }
  .no-js .navlinks .btn { margin: 0 0 0 10px; min-height: 44px; }
  .navlinks { flex-direction: column; align-items: stretch; gap: 0; padding: 12px var(--gutter) 24px; }
  .navlinks a:not(.btn) { min-height: 52px; font-size: 17px; border-bottom: 1px solid var(--line-2); border-radius: 0; padding: 0 4px; }
  .navlinks a[aria-current] { box-shadow: inset 3px 0 0 var(--orange); padding-left: 14px; }
  .navlinks .btn { margin: 18px 0 0; min-height: 52px; font-size: 16px; }
}

/* ---------- Home hero ---------- */
.hero { padding: clamp(56px, 8vw, 88px) 0 clamp(56px, 7vw, 78px); position: relative; overflow: hidden; }
.hero::before, .page-hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(20, 59, 51, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(20, 59, 51, .045) 1px, transparent 1px);
  background-size: 54px 54px;
  -webkit-mask-image: linear-gradient(to bottom, #000, transparent 82%);
  mask-image: linear-gradient(to bottom, #000, transparent 82%);
}
.hero::after, .page-hero::after {
  content: ""; position: absolute; width: 700px; height: 700px; border-radius: 50%; right: -340px; top: -300px; pointer-events: none;
  background: radial-gradient(circle, rgba(236, 107, 45, .22), rgba(236, 107, 45, 0) 67%);
}
.hero-grid { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: clamp(40px, 6vw, 70px); align-items: center; }
.hero h1 { font-size: clamp(40px, 5.4vw, 74px); line-height: .99; letter-spacing: -.055em; margin: 15px 0 24px; font-weight: 850; max-width: 15ch; }
.hero .lead { margin-bottom: 30px; }
.underhero { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; margin-top: 38px; padding-top: 26px; border-top: 1px solid #d1cec7; color: var(--muted); font-size: 14px; }
.underhero b, .underhero strong { display: block; color: var(--ink); font-size: 15px; margin-bottom: 3px; }

/* System card (dark illustrative panel) */
.system-card {
  background: var(--dark); color: #fff; border-radius: var(--radius-lg); padding: clamp(20px, 3vw, 28px);
  box-shadow: var(--shadow); position: relative; overflow: hidden; border: 1px solid rgba(255, 255, 255, .08);
}
.system-card::after {
  content: ""; position: absolute; right: -180px; bottom: -170px; width: 430px; height: 430px;
  border: 80px solid rgba(236, 107, 45, .1); border-radius: 50%; pointer-events: none;
}
.system-card > * { position: relative; z-index: 2; }
.cardtop { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.cardtop small, .card-label { display: block; color: #93a39f; text-transform: uppercase; letter-spacing: .12em; font-size: 12px; font-weight: 700; }
.cardtop b { display: block; font-size: 20px; margin-top: 5px; letter-spacing: -.02em; }
.pill { padding: 6px 12px; border: 1px solid rgba(255, 255, 255, .16); border-radius: 999px; font-size: 12px; color: #c3cdca; white-space: nowrap; }
.chain { margin-top: 40px; }
.chainrow { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; position: relative; padding: 0; margin: 0; list-style: none; }
.chainrow::before {
  content: ""; position: absolute; left: 10%; right: 10%; top: 32px; height: 1px;
  background: linear-gradient(90deg, var(--orange), #d6ae7c, #8eb2a7, #fff); opacity: .7;
}
.node { text-align: center; position: relative; }
.node__icon {
  width: 64px; height: 64px; border-radius: 18px; background: #172521; border: 1px solid rgba(255, 255, 255, .11);
  display: flex; align-items: center; justify-content: center; margin: 0 auto 10px; color: var(--orange-2);
}
.node__icon svg { width: 26px; height: 26px; }
.node b { display: block; font-size: 14px; }
.node > span:not(.node__icon) { display: block; font-size: 12px; color: #8d9c98; line-height: 1.3; }
.objective { margin-top: 32px; background: rgba(255, 255, 255, .045); border: 1px solid rgba(255, 255, 255, .08); border-radius: 18px; padding: 18px; }
.objective strong { font-size: clamp(22px, 2.3vw, 26px); display: block; letter-spacing: -.03em; margin-top: 4px; }
.objective p { margin: 6px 0 0; color: #a3b0ac; font-size: 14px; }
.metrics { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 12px; }
.metric { padding: 13px 14px; border-radius: 14px; border: 1px solid rgba(255, 255, 255, .08); background: rgba(255, 255, 255, .035); }
.metric b { font-size: 15px; display: block; }
.metric span { display: block; color: #8d9c98; font-size: 12px; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 3px; }
.cardfoot { margin-top: 16px; display: flex; justify-content: space-between; gap: 12px; color: #7f8f8b; font-size: 12px; }

/* ---------- Proof bar ---------- */
.proofbar { background: #fff; border-top: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2); }
.proofinner { display: grid; grid-template-columns: minmax(0, 1.2fr) repeat(4, minmax(0, 1fr)); align-items: stretch; margin-block: 0; padding: 0; list-style: none; }
.proofitem { padding: 22px 22px; border-right: 1px solid var(--line-2); }
.proofitem:last-child { border-right: 0; }
.proofitem:first-child { padding-left: 0; }
.proofitem small { display: block; color: var(--muted-2); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; font-weight: 700; }
.proofitem b { font-size: clamp(19px, 2vw, 24px); display: block; margin-top: 4px; letter-spacing: -.03em; }
.proofitem a { display: block; }
.proofitem a:hover b { color: var(--orange-ink); }
.proofintro { font-size: 15px; color: var(--muted); display: flex; align-items: center; }

/* ---------- Quote carousel ---------- */
.quotes { background: var(--green); color: #fff; padding: clamp(44px, 6vw, 64px) 0; position: relative; overflow: hidden; }
.quotes::after { content: ""; position: absolute; left: -160px; bottom: -220px; width: 420px; height: 420px; border: 80px solid rgba(236, 107, 45, .1); border-radius: 50%; pointer-events: none; }
.quotes__inner { display: grid; grid-template-columns: minmax(0, 220px) minmax(0, 1fr); gap: clamp(24px, 5vw, 64px); align-items: center; position: relative; z-index: 2; }
.quotes__label h2 { font-size: 22px; letter-spacing: -.02em; margin-top: 10px; color: #fff; }
.quote-track { display: grid; }
.quote {
  grid-area: 1 / 1; margin: 0; opacity: 0; visibility: hidden; transform: translateX(24px);
  transition: opacity .6s ease, transform .6s ease, visibility 0s linear .6s;
}
.quote.is-active { opacity: 1; visibility: visible; transform: none; transition: opacity .6s ease .15s, transform .6s ease .15s, visibility 0s; }
.quote.is-leaving { opacity: 0; transform: translateX(-24px); visibility: visible; }
.quote p { font-size: clamp(19px, 2.2vw, 26px); line-height: 1.4; letter-spacing: -.02em; font-weight: 600; margin: 0; max-width: 60ch; }
.quote footer, .quote cite { display: block; margin-top: 16px; color: var(--on-dark-muted); font-size: 14px; font-style: normal; }
.quote-controls { display: flex; align-items: center; gap: 6px; margin-top: 26px; flex-wrap: wrap; }
.quote-dot {
  width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer; padding: 0; position: relative;
}
.quote-dot::before { content: ""; position: absolute; left: 12px; right: 12px; top: 20px; height: 4px; border-radius: 4px; background: rgba(255, 255, 255, .25); transition: background .2s; }
.quote-dot[aria-current="true"]::before { background: var(--orange-2); }
.quote-btn { width: 44px; height: 44px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .25); background: transparent; color: #fff; cursor: pointer; font-size: 18px; }
.quote-btn:hover { border-color: #fff; }
.no-js .quote { opacity: 1; visibility: visible; transform: none; grid-area: auto; margin-bottom: 24px; }

/* ---------- Cards ---------- */
.card {
  background: #fff; border: 1px solid var(--line-2); border-radius: 20px; padding: clamp(22px, 2.6vw, 28px);
  display: flex; flex-direction: column; min-width: 0;
}
.section--white .card { background: #fff; }
.section--paper .card, .section--sand .card { background: #f9f8f4; border-color: #dcd9d1; }
.card h3 { font-size: clamp(20px, 2vw, 24px); letter-spacing: -.03em; margin: 0 0 10px; }
.card p { color: var(--muted); margin: 0; }
.card p + p { margin-top: 10px; }
.card ul { color: var(--muted); margin: 8px 0 0; padding-left: 1.1em; }
.card li + li { margin-top: 4px; }
.card .link { margin-top: auto; padding-top: 16px; }
.card { color: var(--ink); }
.card.card--dark, .section .card.card--dark { background: var(--green-2); border-color: var(--green-2); color: #fff; }
.card.card--dark p, .card.card--dark ul { color: #aebdb8; }
.card--dark .eyebrow, .card--dark .index { color: var(--orange-2); }
.card--dark .link { color: var(--orange-2); }
.card--dark .link:hover { color: #fff; }
.section--dark .card:not(.card--dark), .section--green .card:not(.card--dark) { background: rgba(255, 255, 255, .04); border-color: var(--on-dark-line); color: #fff; }
.section--dark .card:not(.card--dark) p, .section--green .card:not(.card--dark) p, .section--dark .card ul, .section--green .card ul { color: var(--on-dark-muted); }
.card--link { transition: border-color .2s, transform .2s, box-shadow .2s; }
.card--link:hover { border-color: #c2bfb6; transform: translateY(-2px); box-shadow: var(--shadow-sm); }

/* Numbered solution card */
.solution { min-height: 260px; justify-content: space-between; }
.solution h3 { font-size: clamp(22px, 2.3vw, 26px); margin: 32px 0 10px; }
.solution p { max-width: 52ch; }
.solution .links { display: flex; flex-wrap: wrap; gap: 4px 18px; margin-top: 16px; }

/* Feature card (icon + title + text) */
.feature { gap: 0; }
.feature__icon {
  width: 46px; height: 46px; border-radius: 13px; display: flex; align-items: center; justify-content: center;
  background: rgba(236, 107, 45, .1); color: var(--orange-ink); margin-bottom: 18px; flex: none;
}
.feature__icon svg { width: 22px; height: 22px; }
.feature .index { margin-bottom: 18px; }

/* Stat card */
.stat {
  display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line-2); border-radius: 20px;
  padding: 24px; min-width: 0; transition: border-color .2s, transform .2s;
}
a.stat:hover { border-color: #c2bfb6; transform: translateY(-2px); }
.stat__value { font-size: clamp(28px, 3.2vw, 38px); font-weight: 850; letter-spacing: -.045em; line-height: 1.05; }
.stat__label { color: var(--muted); font-size: 15px; margin-top: 10px; }
.stat__link { margin-top: auto; padding-top: 16px; font-size: 14px; font-weight: 800; color: var(--orange-ink); }
.stat--dark { background: var(--green-2); border-color: var(--green-2); color: #fff; }
.stat--dark .stat__label { color: #aebdb8; }
.stat--dark .stat__link { color: var(--orange-2); }
.section--dark .stat { background: rgba(255, 255, 255, .04); border-color: var(--on-dark-line); color: #fff; }
.section--dark .stat__label { color: var(--on-dark-muted); }
.section--dark .stat__link { color: var(--orange-2); }

/* ---------- Dark platform band ---------- */
.blendopt h2 { font-size: clamp(34px, 5vw, 55px); line-height: 1.02; letter-spacing: -.05em; margin: 12px 0 22px; }
.blendopt .intro { font-size: 17px; color: #b2bfbb; max-width: 60ch; }
.numlist { margin: 30px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--on-dark-line); }
.numlist li { display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 14px; padding: 17px 0; border-bottom: 1px solid var(--on-dark-line); }
.numlist .n { color: var(--orange-2); font-weight: 850; font-size: 14px; }
.numlist b { display: block; margin-bottom: 3px; }
.numlist span { font-size: 15px; color: #9fb0ab; }
.numlist--light { border-top-color: var(--line); }
.numlist--light li { border-bottom-color: var(--line); }
.numlist--light .n { color: var(--orange-ink); }
.numlist--light span { color: var(--muted); }

.platform { background: var(--dark-2); border: 1px solid rgba(255, 255, 255, .09); border-radius: 24px; padding: clamp(18px, 2.5vw, 26px); position: relative; overflow: hidden; }
.platform::before {
  content: "BlendOpt"; position: absolute; right: -8px; bottom: -6px; font-weight: 900; font-size: 94px;
  letter-spacing: -.07em; color: rgba(255, 255, 255, .03); pointer-events: none; line-height: 1;
}
.platformtop { display: flex; justify-content: space-between; gap: 12px; color: #8b9d98; font-size: 12px; text-transform: uppercase; letter-spacing: .1em; font-weight: 700; }
.map { margin-top: 22px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 11px; padding: 0; list-style: none; }
.mod { border-radius: 16px; padding: 17px; border: 1px solid rgba(255, 255, 255, .08); background: rgba(255, 255, 255, .035); min-height: 116px; }
.mod.accent { border-color: rgba(236, 107, 45, .45); background: linear-gradient(135deg, rgba(236, 107, 45, .18), rgba(236, 107, 45, .04)); }
.mod small { color: #8b9d98; font-size: 12px; text-transform: uppercase; letter-spacing: .09em; font-weight: 700; }
.mod b { display: block; font-size: 16px; margin: 7px 0 4px; }
.mod p { font-size: 14px; color: #9fb0ab; margin: 0; }
.mod a { color: #fff; text-decoration: none; }
.mod a:hover { color: var(--orange-2); }
a.mod { display: block; transition: border-color .2s, background-color .2s; }
a.mod:hover { border-color: rgba(236, 107, 45, .45); background: rgba(255, 255, 255, .06); }
.numlist a { color: var(--orange-2); text-decoration: underline; text-underline-offset: 3px; }
.numlist--light a { color: var(--orange-ink); }
.platformfoot { margin-top: 22px; border-top: 1px solid rgba(255, 255, 255, .09); padding-top: 17px; color: #96a6a1; font-size: 13px; display: flex; justify-content: space-between; gap: 12px; position: relative; z-index: 1; }

/* ---------- Steps / approach ---------- */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid #cfcdc6; border-bottom: 1px solid #cfcdc6; margin: 0; padding: 0; list-style: none; }
.step { padding: 30px 24px 34px; border-right: 1px solid #cfcdc6; }
.step:first-child { padding-left: 0; }
.step:last-child { border-right: 0; }
.step h3 { font-size: 21px; margin: 26px 0 9px; letter-spacing: -.025em; }
.step p { margin: 0; color: var(--muted); font-size: 15px; }
.section--dark .steps, .section--dark .step { border-color: var(--on-dark-line); }
.section--dark .step p { color: var(--on-dark-muted); }
.steps--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

/* ---------- Case hero / facts ---------- */
.casegrid { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); gap: 18px; }
.casehero {
  border-radius: var(--radius); background: #eeece6; padding: clamp(24px, 3vw, 32px);
  display: flex; flex-direction: column; justify-content: space-between; gap: 28px; position: relative; overflow: hidden;
}
.casegrid .casehero { min-height: 445px; }
.casehero::after { content: ""; position: absolute; width: 400px; height: 400px; border: 90px solid rgba(236, 107, 45, .1); border-radius: 50%; right: -220px; top: -220px; pointer-events: none; }
.casehero > * { position: relative; z-index: 2; }
.casehero h3, .casehero .casehero__title { font-size: clamp(26px, 3.2vw, 38px); line-height: 1.07; letter-spacing: -.04em; margin: 12px 0; max-width: 24ch; }
.casehero p { color: var(--muted); max-width: 60ch; }
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; }
.fact { border-top: 1px solid #c9c6bd; padding-top: 15px; }
.fact b { display: block; font-size: clamp(24px, 2.6vw, 29px); letter-spacing: -.04em; line-height: 1.1; }
.fact span { display: block; font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; margin-top: 4px; }
.section--dark .fact, .dark .fact { border-top-color: var(--on-dark-line); }
.section--dark .fact span, .dark .fact span { color: var(--on-dark-muted); }
.sidecases { display: grid; grid-template-rows: 1fr 1fr; gap: 16px; }
.smallcase { border-radius: var(--radius); padding: 27px; border: 1px solid var(--line-2); display: flex; flex-direction: column; justify-content: space-between; background: #fff; }
.smallcase.dark { background: var(--green-2); color: #fff; border-color: var(--green-2); }
.smallcase .big { font-size: clamp(28px, 3vw, 36px); font-weight: 840; letter-spacing: -.04em; margin: 8px 0; line-height: 1.05; }
.smallcase p { font-size: 15px; color: var(--muted); margin: 0; }
.smallcase.dark p { color: #aebdb8; }

/* ---------- Engagement cards ---------- */
.engcard { background: #f7f5f0; border: 1px solid #d6d3cc; border-radius: 20px; padding: 26px; min-height: 320px; display: flex; flex-direction: column; justify-content: space-between; }
.engcard.featured { background: var(--green); color: #fff; border-color: var(--green); }
.engcard small { font-size: 12px; text-transform: uppercase; letter-spacing: .11em; color: var(--muted-2); font-weight: 700; }
.engcard.featured small { color: #a7bab4; }
.engcard h3 { font-size: clamp(22px, 2.3vw, 25px); letter-spacing: -.03em; margin: 18px 0 10px; }
.engcard p { color: var(--muted); margin: 0; }
.engcard ul { color: var(--muted); margin: 14px 0 0; padding-left: 1.1em; font-size: 15px; }
.engcard.featured p, .engcard.featured ul { color: #b9c6c2; }
.engcard .link { margin-top: 22px; }

/* ---------- Tiles (image cards) ---------- */
.tile { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line-2); border-radius: 20px; overflow: hidden; min-width: 0; transition: transform .2s, box-shadow .2s, border-color .2s; }
.tile:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm); border-color: #c9c6bd; }
.tile__media { aspect-ratio: 16 / 10; background: var(--soft); overflow: hidden; }
.tile__media img, .tile__media iframe { width: 100%; height: 100%; object-fit: cover; border: 0; }
.tile__body { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.tile__body .eyebrow { margin-bottom: 8px; }
.tile__body h3 { font-size: 20px; letter-spacing: -.025em; line-height: 1.2; }
.tile__body p { color: var(--muted); font-size: 15px; margin: 10px 0 18px; }
.tile__stat { margin-top: auto; padding-top: 16px; display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; border-top: 1px solid var(--line-2); }
.tile__links { margin-top: auto; padding-top: 14px; display: flex; flex-wrap: wrap; gap: 0 16px; }
.tile__stat b { font-size: 22px; letter-spacing: -.03em; }
.tile__stat span { font-size: 14px; color: var(--muted); }
.tile__meta { font-size: 14px; color: var(--muted-2); margin-top: auto; padding-top: 14px; }

/* ---------- Inner page hero ---------- */
.page-hero { position: relative; overflow: hidden; padding: clamp(14px, 2vw, 22px) 0 clamp(52px, 7vw, 80px); }
.page-hero .wrap { position: relative; z-index: 2; }
.page-hero h1 { font-size: clamp(36px, 5.2vw, 66px); line-height: 1.0; letter-spacing: -.055em; font-weight: 850; margin: 14px 0 22px; max-width: 20ch; }
.page-hero .lead { margin-bottom: 28px; }
.page-hero__grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(36px, 5vw, 64px); align-items: center; }
.page-hero--dark { background: var(--dark); color: #fff; }
.page-hero--dark::before { opacity: .35; }
.page-hero--dark .lead { color: var(--on-dark-muted); }
.page-hero--dark .breadcrumbs a, .page-hero--dark .breadcrumbs li { color: var(--on-dark-muted); }

/* Breadcrumbs (markup: section.breadcrumbs > ... ol > li — parsed by structured_data.py) */
.breadcrumbs { position: relative; z-index: 3; padding: 0 0 clamp(18px, 3vw, 34px); background: transparent; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: 0; margin: 0; padding: 0; list-style: none; font-size: 14px; color: var(--muted); }
.breadcrumbs li { display: inline-flex; align-items: center; }
.breadcrumbs li + li::before { content: "/"; margin: 0 8px; color: #b3b1aa; }
.breadcrumbs a { display: inline-flex; align-items: center; min-height: 44px; color: var(--muted); text-decoration: none; }
.breadcrumbs a:hover { color: var(--orange-ink); }
.breadcrumbs li:last-child { color: var(--ink); font-weight: 600; }

/* Media frame (screenshots, figures in split layouts) */
.frame { border-radius: var(--radius); overflow: hidden; background: #fff; border: 1px solid var(--line-2); box-shadow: var(--shadow); }
.frame img { width: 100%; }
.frame--pad { padding: clamp(14px, 2vw, 22px); }
.frame--dark { background: var(--dark-2); border-color: rgba(255, 255, 255, .09); }

/* Video (responsive iframe) */
.video { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: var(--dark); box-shadow: var(--shadow); }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ---------- Prose (articles, white papers, write-ups) ---------- */
.prose { font-size: 17px; line-height: 1.72; color: var(--ink-2); max-width: 70ch; }
.prose > * { margin-top: 0; margin-bottom: 0; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { font-size: clamp(26px, 3vw, 34px); letter-spacing: -.04em; line-height: 1.1; margin-top: 2em; color: var(--ink); }
.prose h3 { font-size: clamp(20px, 2.2vw, 24px); letter-spacing: -.03em; line-height: 1.2; margin-top: 1.8em; color: var(--ink); }
.prose h4 { font-size: 18px; letter-spacing: -.02em; margin-top: 1.6em; color: var(--ink); }
.prose h2 + *, .prose h3 + *, .prose h4 + * { margin-top: .6em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: .4em; }
.prose li::marker { color: var(--orange); }
.prose blockquote { margin: 1.6em 0; padding: 4px 0 4px 22px; border-left: 3px solid var(--orange); font-size: 19px; color: var(--ink); }
.prose figure, .figure { margin: 2em 0; }
.prose figure img, .figure img { max-width: 100%; height: auto; margin-inline: auto; border-radius: 14px; background: #fff; }
.split > figure, .split > div > figure:only-child, .grid-2 > figure, .grid-3 > figure, .page-hero__grid figure, .highlights figure { margin: 0; }
figure.figure--frame, .figure--frame { margin-inline: 0; background: #fff; border: 1px solid var(--line-2); border-radius: var(--radius); padding: clamp(12px, 2vw, 22px); }
.prose figcaption, .figure figcaption { font-size: 14px; color: var(--muted); margin-top: 12px; text-align: center; line-height: 1.5; }
.prose .references, .references { font-size: 15px; color: var(--muted); }
.prose .references li + li { margin-top: .6em; }
.prose > h2:first-child, .prose > h3:first-child { margin-top: 0; }
.prose--wide { max-width: none; }
.prose table { width: 100%; border-collapse: collapse; font-size: 15px; }
.prose th, .prose td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.table-scroll { overflow-x: auto; }

/* Article layout: prose + sticky aside */
.article { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 300px); gap: clamp(32px, 5vw, 72px); align-items: start; }
.article__aside { position: sticky; top: calc(var(--nav-h) + 24px); display: grid; gap: 16px; }
.aside-card { background: #fff; border: 1px solid var(--line-2); border-radius: 20px; padding: 22px; }
.aside-card h2, .aside-card h3 { font-size: 18px; letter-spacing: -.02em; margin-bottom: 10px; }
.aside-card p { color: var(--muted); font-size: 15px; margin: 0 0 12px; }
.aside-card ul { list-style: none; padding: 0; margin: 0; }
.aside-card li a { display: flex; align-items: center; min-height: 44px; font-size: 15px; color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--line-2); }
.aside-card li:last-child a { border-bottom: 0; }
.aside-card li a:hover { color: var(--orange-ink); }
.aside-card--dark { background: var(--green); border-color: var(--green); color: #fff; }
.aside-card--dark p { color: #b9c6c2; }

/* Case study write-up (challenge / solution / value) */
.writeup { display: grid; gap: 16px; }
.writeup__block { display: grid; grid-template-columns: minmax(0, 220px) minmax(0, 1fr); gap: clamp(20px, 4vw, 48px); padding: clamp(24px, 3vw, 34px) 0; border-top: 1px solid var(--line); }
.writeup__block:last-child { border-bottom: 1px solid var(--line); }
.writeup__block h3 { font-size: clamp(22px, 2.4vw, 28px); letter-spacing: -.035em; }
.writeup__block .index { display: block; margin-bottom: 10px; }
.writeup__block--value { background: var(--green); color: #fff; border-radius: var(--radius); padding: clamp(24px, 3vw, 34px); border: 0; }
.writeup__block--value .prose { color: #d4dedb; }
.writeup__block--value .prose a { color: var(--orange-2); }
.writeup__block--value .index { color: #a7bab4; }

/* Highlight tiles (case-study key points) */
.highlights { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; }
.highlight { background: #fff; border: 1px solid var(--line-2); border-radius: 18px; padding: 20px; display: flex; gap: 14px; align-items: flex-start; font-weight: 650; font-size: 16px; line-height: 1.35; }
.highlight::before { content: ""; flex: none; width: 10px; height: 10px; margin-top: 6px; border-radius: 3px; background: var(--orange); transform: skewX(-18deg); }
.highlight img { border-radius: 12px; }

/* PDF download */
.pdf-link {
  display: flex; align-items: center; gap: 16px; padding: 18px 22px; min-height: 72px;
  background: #fff; border: 1px solid var(--line-2); border-radius: 18px; text-decoration: none; color: var(--ink);
  transition: border-color .2s, transform .2s; max-width: 560px;
}
.pdf-link:hover { border-color: var(--orange); transform: translateY(-1px); }
.pdf-link__icon { width: 44px; height: 44px; flex: none; border-radius: 12px; display: flex; align-items: center; justify-content: center; background: rgba(236, 107, 45, .1); color: var(--orange-ink); font: 800 12px/1 var(--mono); }
.pdf-link b { display: block; font-size: 16px; color: var(--ink); }
.pdf-link > span:last-child > span { display: block; font-size: 14px; color: var(--muted); }

/* ---------- FAQ (markup: div.vc-faq-item > h3 + p — parsed by structured_data.py) ---------- */
.faq { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.faq__head h2 { font-size: clamp(30px, 4vw, 44px); line-height: 1.05; letter-spacing: -.045em; margin-top: 10px; }
.faq__head p { color: var(--muted); margin-top: 16px; }
.faq__list { border-top: 1px solid var(--line); }
.vc-faq-item { padding: 24px 0; border-bottom: 1px solid var(--line); }
.vc-faq-item h3 { font-size: 19px; letter-spacing: -.02em; line-height: 1.3; margin: 0 0 8px; }
.vc-faq-item p { color: var(--muted); margin: 0; max-width: 68ch; }
.section--dark .faq__list, .section--dark .vc-faq-item { border-color: var(--on-dark-line); }
.section--dark .vc-faq-item p { color: var(--on-dark-muted); }

/* ---------- Client logos ---------- */
.logos { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; }
.logos li { background: #fff; border: 1px solid var(--line-2); border-radius: 16px; aspect-ratio: 1 / 1; display: flex; align-items: center; justify-content: center; padding: 14px; }
.logos img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; filter: grayscale(1); opacity: .8; transition: filter .25s, opacity .25s; }
.logos li:hover img { filter: none; opacity: 1; }

/* ---------- Contact ---------- */
.contact { background: var(--white); }
.contact-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.contact h2 { font-size: clamp(30px, 4vw, 46px); line-height: 1.04; letter-spacing: -.045em; margin: 10px 0 18px; }
.contact h2 span { color: var(--orange-ink); }
.questions { list-style: none; padding: 0; margin: 26px 0 0; border-top: 1px solid var(--line); }
.questions li { padding: 13px 0 13px 28px; border-bottom: 1px solid var(--line); position: relative; color: var(--ink-2); font-size: 15px; }
.questions li::before { content: "?"; position: absolute; left: 0; top: 12px; width: 18px; height: 18px; border-radius: 50%; background: rgba(236, 107, 45, .12); color: var(--orange-ink); font-size: 12px; font-weight: 800; display: flex; align-items: center; justify-content: center; }
.form { background: var(--paper); border: 1px solid var(--line-2); border-radius: var(--radius); padding: clamp(20px, 3vw, 32px); }
.form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.field label { font-size: 14px; font-weight: 700; color: var(--ink-2); }
.field input, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 14px; border-radius: 12px; border: 1px solid #cfccc4; background: #fff;
  font: 400 16px/1.4 var(--font); color: var(--ink);
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--orange); box-shadow: 0 0 0 3px rgba(236, 107, 45, .18); }
.field [aria-invalid="true"] { border-color: #c0392b; }
.field .validate { font-size: 14px; color: #b3261e; min-height: 0; }
.field .validate:empty { display: none; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.form-status { font-size: 15px; margin: 4px 0 14px; padding: 12px 14px; border-radius: 12px; display: none; }
.form-status.is-loading { display: block; background: #fff; color: var(--muted); }
.form-status.is-error { display: block; background: #fbe9e7; color: #8c1d18; }
.form-status.is-sent { display: block; background: var(--sage); color: var(--green-2); }
.form .btn { width: 100%; }
.form-note { font-size: 14px; color: var(--muted); margin: 12px 0 0; text-align: center; }

/* ---------- CTA band ---------- */
.cta { background: var(--orange); padding: clamp(52px, 7vw, 72px) 0; color: var(--ink); }
.ctagrid { display: flex; justify-content: space-between; align-items: center; gap: 50px; }
.cta h2 { font-size: clamp(32px, 4.4vw, 48px); line-height: 1.02; letter-spacing: -.045em; margin: 0; max-width: 20ch; }
.cta p { margin: 12px 0 0; max-width: 60ch; color: #3d1a0b; font-size: 17px; }
.cta .btn { background: #111a18; color: #fff; flex: none; }

/* ---------- Related resources ---------- */
.related-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr)); gap: 16px; }
.related-card { background: #fff; border: 1px solid var(--line-2); border-radius: 20px; padding: 24px; }
.related-card h3 { font-size: 13px; text-transform: uppercase; letter-spacing: .12em; color: var(--orange-ink); margin-bottom: 8px; font-weight: 800; }
.related-card ul { list-style: none; margin: 0; padding: 0; }
.related-card li a { display: flex; align-items: center; min-height: 48px; padding: 8px 0; border-bottom: 1px solid var(--line-2); font-weight: 650; font-size: 15px; line-height: 1.35; color: var(--ink); text-decoration: none; }
.related-card li:last-child a { border-bottom: 0; }
.related-card li a:hover { color: var(--orange-ink); }

/* ---------- Footer ---------- */
.site-footer { background: #0c1513; color: #94a29e; padding: clamp(52px, 7vw, 72px) 0 28px; font-size: 15px; }
.footgrid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: clamp(28px, 4vw, 48px); }
.site-footer .brand { color: #fff; }
.site-footer p { margin: 14px 0 0; max-width: 40ch; }
.site-footer .footer-title { font-size: 13px; text-transform: uppercase; letter-spacing: .12em; color: #fff; font-weight: 800; margin-bottom: 8px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li a { display: inline-flex; align-items: center; min-height: 40px; color: #b3c0bc; }
.site-footer li a:hover { color: #fff; }
.site-footer .contact-lines { margin-top: 18px; display: grid; gap: 4px; color: #b3c0bc; }
.footbottom { margin-top: 44px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .08); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 14px; color: #7f8f8b; }
.footbottom a { color: #b3c0bc; }

/* Byline / meta line under a hero heading */
.byline { display: flex; flex-wrap: wrap; gap: 6px 18px; color: var(--muted); font-size: 15px; margin: -8px 0 22px; }

/* Data table */
.table-scroll { overflow-x: auto; border: 1px solid var(--line-2); border-radius: 16px; background: #fff; }
.table-scroll table { width: 100%; min-width: 520px; border-collapse: collapse; font-size: 15px; }
.table-scroll th, .table-scroll td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line-2); vertical-align: top; }
.table-scroll th { font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); background: #faf9f6; }
.table-scroll tr:last-child td { border-bottom: 0; }

/* ---------- Utilities ---------- */
.mt-0 { margin-top: 0 !important; }
.mt-s { margin-top: 16px; }
.mt-m { margin-top: 32px; }
.mt-l { margin-top: 56px; }
.mb-0 { margin-bottom: 0 !important; }
.mb-s { margin-bottom: 16px; }
.mb-m { margin-bottom: 32px; }
.center { text-align: center; }
.max-60 { max-width: 60ch; }

/* ---------- Reveal on scroll (progressive; no-JS shows everything) ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
.js [data-reveal].is-visible { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .proofinner { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .proofintro { grid-column: 1 / -1; padding: 22px 0 !important; border-right: 0 !important; border-bottom: 1px solid var(--line-2); }
  .proofitem:nth-child(2) { padding-left: 0; }
  .proofitem:nth-child(3) { border-right: 0; }
  .proofitem:nth-child(4) { padding-left: 0; border-top: 1px solid var(--line-2); }
  .proofitem:nth-child(5) { border-top: 1px solid var(--line-2); }
  .footgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footgrid > :first-child { grid-column: 1 / -1; }
  .article { grid-template-columns: minmax(0, 1fr); }
  .article__aside { position: static; grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr)); }
}
@media (max-width: 900px) {
  .hero-grid, .split, .page-hero__grid, .casegrid, .contact-grid, .faq, .quotes__inner { grid-template-columns: minmax(0, 1fr); }
  .grid-2, .grid-3 { grid-template-columns: minmax(0, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps, .steps--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .step:nth-child(2n) { border-right: 0; }
  .step:nth-child(2n+1) { padding-left: 0; }
  .step:nth-child(-n+2) { border-bottom: 1px solid #cfcdc6; }
  .steps--3 .step:nth-child(3) { border-right: 0; }
  .head { display: block; }
  .head > p, .head .head-intro { margin-top: 18px; }
  .ctagrid { display: block; }
  .ctagrid .btn { margin-top: 24px; }
  .sidecases { grid-template-rows: none; }
  .writeup__block { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .casegrid .casehero { min-height: 0; }
  .logos { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 620px) {
  :root { --gutter: 16px; --nav-h: 68px; }
  .brand { font-size: 23px; }
  .underhero { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .chainrow { gap: 4px; }
  .chainrow::before { top: 23px; }
  .node__icon { width: 46px; height: 46px; border-radius: 13px; }
  .node__icon svg { width: 20px; height: 20px; }
  .node b { font-size: 13px; }
  .node > span:not(.node__icon) { display: none; }
  .metrics { grid-template-columns: minmax(0, 1fr); }
  .proofinner { grid-template-columns: minmax(0, 1fr); }
  .proofitem { border-right: 0 !important; border-top: 0 !important; border-bottom: 1px solid var(--line-2); padding-left: 0 !important; padding-right: 0; }
  .proofitem:last-child { border-bottom: 0; }
  .grid-4, .steps, .steps--3 { grid-template-columns: minmax(0, 1fr); }
  .step { border-right: 0 !important; border-bottom: 1px solid #cfcdc6 !important; padding-left: 0; padding-right: 0; }
  .step:last-child { border-bottom: 0 !important; }
  .map { grid-template-columns: minmax(0, 1fr); }
  .facts { grid-template-columns: minmax(0, 1fr); }
  .form-row { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .footgrid { grid-template-columns: minmax(0, 1fr); }
  .footbottom { display: block; }
  .footbottom > * + * { margin-top: 8px; }
  .logos { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .cardtop { flex-direction: column; }
  .platform::before { font-size: 64px; }
  .quote-dots { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
}

@media print {
  .site-header, .site-footer, .cta, .contact, .quotes, .related { display: none; }
  body { background: #fff; }
}
