/* Kiolabs — high-fidelity design system
   Brand: cyan #00A5CF · deep blue #29428B · ink #333332
   Type: Space Grotesk (display) · IBM Plex Sans (body) · IBM Plex Mono (labels)
   Built to translate cleanly into Django templates + plain CSS. */

:root {
  --cyan: #00A5CF;
  --cyan-700: #0089ab;
  --cyan-050: #e6f6fb;
  --blue: #29428B;
  --blue-900: #1d2f63;
  --ink: #333332;
  --ink-700: #55554f;
  --muted: #76787c;
  --line: #e5e8ed;
  --line-2: #eef1f5;
  --paper: #ffffff;
  --wash: #f6f8fa;
  --wash-cyan: #f1fafd;

  --maxw: 1200px;
  --r: 12px;
  --r-sm: 8px;
  --shadow: 0 1px 2px rgba(31,47,99,.04), 0 8px 24px rgba(31,47,99,.06);
  --shadow-lg: 0 2px 6px rgba(31,47,99,.06), 0 18px 50px rgba(31,47,99,.10);

  --f-display: "Space Grotesk", system-ui, sans-serif;
  --f-body: "IBM Plex Sans", system-ui, sans-serif;
  --f-mono: "IBM Plex Mono", ui-monospace, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--f-body);
  color: var(--ink);
  background: var(--paper);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 { font-family: var(--f-display); font-weight: 600; color: var(--ink); margin: 0; line-height: 1.12; letter-spacing: -.01em; }
p { margin: 0; }
.accent { color: var(--cyan); }

/* ---------- layout ---------- */
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }
.section { padding: 92px 0; }
.section--alt { background: var(--wash); }
.section--dark { background: var(--ink); color: #f4f4f3; }
.section--tight { padding: 64px 0; }

.section-head { max-width: 680px; margin-bottom: 44px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { font-size: clamp(28px, 3.4vw, 40px); margin-top: 12px; }
.section-head p { color: var(--muted); margin-top: 14px; font-size: 18px; }
.section-head--row { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; max-width: none; }

/* ---------- eyebrow (brand tick + mono label) ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--f-mono); font-size: 13px; font-weight: 500;
  letter-spacing: .14em; text-transform: uppercase; color: var(--cyan);
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--cyan); display: block; }
.section--dark .eyebrow { color: #4cc6e8; }
.section--dark .eyebrow::before { background: #4cc6e8; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: var(--f-body); font-weight: 600; font-size: 16px; line-height: 1;
  padding: 13px 22px; border-radius: var(--r-sm); border: 1px solid transparent;
  cursor: pointer; transition: background .16s, color .16s, border-color .16s, transform .16s, box-shadow .16s;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn--primary { background: var(--cyan); color: #fff; }
.btn--primary:hover { background: var(--cyan-700); transform: translateY(-1px); box-shadow: 0 8px 20px rgba(0,165,207,.28); }
.btn--ghost { background: #fff; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--ink); }
.section--dark .btn--ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.3); }
.section--dark .btn--ghost:hover { border-color: #fff; }
.btn--lg { padding: 16px 28px; font-size: 17px; }
.btn--sm { padding: 10px 16px; font-size: 15px; }
.btn--block { width: 100%; }

/* ---------- header / nav ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.88); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.site-header::before { content: ""; display: block; height: 3px; background: var(--cyan); }
.nav { display: flex; align-items: center; gap: 28px; height: 72px; }
.nav__logo { display: flex; align-items: center; }
.nav__logo img { height: 26px; width: auto; }
.nav__links { display: flex; align-items: center; gap: 28px; margin-left: 8px; }
.nav__links a { font-size: 15.5px; font-weight: 500; color: var(--ink-700); position: relative; padding: 6px 0; }
.nav__links a:hover { color: var(--ink); }
.nav__links a.is-active { color: var(--ink); font-weight: 600; }
.nav__links a.is-active::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; background: var(--cyan); border-radius: 2px; }
.nav__right { margin-left: auto; display: flex; align-items: center; gap: 14px; }
.nav__toggle { display: none; background: none; border: 1px solid var(--line); border-radius: 8px; width: 42px; height: 42px; align-items: center; justify-content: center; cursor: pointer; color: var(--ink); }
.nav__toggle svg { width: 22px; height: 22px; }
.lang { display: inline-flex; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; flex: 0 0 auto; }
.lang__btn { border: none; background: #fff; font-family: var(--f-mono); font-size: 12.5px; font-weight: 500; letter-spacing: .04em; color: var(--muted); padding: 9px 11px; cursor: pointer; transition: background .16s, color .16s; line-height: 1; }
.lang__btn + .lang__btn { border-left: 1px solid var(--line); }
.lang__btn.is-active { background: var(--cyan); color: #fff; }
.lang__btn:hover:not(.is-active) { color: var(--ink); }

/* ---------- hero (Variant A: centered) ---------- */
.hero { padding: 80px 0 56px; text-align: center; position: relative; overflow: hidden; }
.hero::after { /* faint brand grid wash */
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image: radial-gradient(circle at 1px 1px, rgba(41,66,139,.06) 1px, transparent 0);
  background-size: 28px 28px; mask-image: radial-gradient(ellipse 70% 60% at 50% 0%, #000 30%, transparent 75%);
}
.hero__inner { position: relative; z-index: 1; max-width: 800px; margin: 0 auto; }
.hero h1 { font-size: clamp(38px, 5.4vw, 60px); letter-spacing: -.025em; margin-top: 22px; }
.hero p.lead { font-size: 20px; color: var(--ink-700); margin: 22px auto 0; max-width: 600px; }
.hero__cta { display: flex; gap: 14px; justify-content: center; margin-top: 32px; flex-wrap: wrap; }
.hero__media { position: relative; z-index: 1; max-width: 1000px; margin: 56px auto 0; }

/* ---------- placeholder media (sober, premium) ---------- */
.ph {
  position: relative; background: var(--wash);
  border: 1px solid var(--line); border-radius: var(--r);
  background-image: radial-gradient(circle at 1px 1px, rgba(41,66,139,.08) 1px, transparent 0);
  background-size: 22px 22px;
  display: flex; align-items: center; justify-content: center;
  min-height: 160px; overflow: hidden;
}
.ph__cap { display: inline-flex; align-items: center; gap: 8px; font-family: var(--f-mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); background: #fff; border: 1px solid var(--line); padding: 7px 12px; border-radius: 100px; }
.ph__cap svg { width: 15px; height: 15px; color: var(--cyan); }
/* browser-chrome variant for the hero shot */
.ph--browser { padding-top: 40px; min-height: 360px; background-color: #fff; }
.ph--browser::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 40px; background: #fff; border-bottom: 1px solid var(--line); }
.ph--browser::after { content: ""; position: absolute; top: 15px; left: 16px; width: 10px; height: 10px; border-radius: 50%; background: var(--line); box-shadow: 18px 0 0 var(--line), 36px 0 0 var(--line); }

/* ---------- trust / logos strip ---------- */
.logos { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.logos__label { font-family: var(--f-mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.logos__row { display: flex; align-items: center; gap: 40px; flex-wrap: wrap; flex: 1; justify-content: flex-end; }
.logos__item { width: 112px; height: 30px; border-radius: 6px; background: var(--line-2); border: 1px dashed var(--line); }

/* ---------- grids ---------- */
.grid { display: grid; gap: 22px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

/* ---------- cards ---------- */
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 26px; transition: border-color .16s, box-shadow .16s, transform .16s; }
.card:hover { border-color: #d4dae2; box-shadow: var(--shadow); transform: translateY(-2px); }
.card__icon { width: 46px; height: 46px; border-radius: 10px; background: var(--cyan-050); color: var(--cyan); display: flex; align-items: center; justify-content: center; margin-bottom: 18px; }
.card__icon svg { width: 23px; height: 23px; }
.card__title { font-size: 20px; margin-bottom: 8px; }
.card__text { color: var(--muted); font-size: 16px; }
.card__link { display: inline-flex; align-items: center; gap: 6px; margin-top: 16px; font-weight: 600; font-size: 15px; color: var(--cyan); }
.card__link svg { width: 16px; height: 16px; transition: transform .16s; }
.card:hover .card__link svg { transform: translateX(3px); }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--cyan); font-size: 15.5px; }
.link-arrow svg { width: 16px; height: 16px; }

/* ---------- use-case cards (row) ---------- */
.usecase { display: flex; gap: 24px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 22px; transition: border-color .16s, box-shadow .16s; }
.usecase:hover { border-color: #d4dae2; box-shadow: var(--shadow); }
.usecase__media { flex: 0 0 150px; height: 112px; }
.usecase__body { flex: 1; min-width: 0; }
.usecase__body h3 { font-size: 20px; margin-bottom: 6px; }
.usecase__body p { color: var(--muted); font-size: 15.5px; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 14px; }
.chip { font-family: var(--f-mono); font-size: 12px; letter-spacing: .04em; padding: 5px 11px; border-radius: 100px; background: var(--wash); border: 1px solid var(--line); color: var(--ink-700); }
.chip--cyan { background: var(--cyan-050); border-color: #bfe9f4; color: var(--cyan-700); }

/* ---------- process steps ---------- */
.process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.step { position: relative; }
.step__num { width: 46px; height: 46px; border-radius: 50%; border: 1.5px solid var(--cyan); color: var(--cyan); font-family: var(--f-display); font-weight: 600; font-size: 18px; display: flex; align-items: center; justify-content: center; margin-bottom: 16px; background: #fff; }
.step h3 { font-size: 19px; margin-bottom: 6px; }
.step p { color: var(--muted); font-size: 15.5px; }
.process .step:not(:last-child)::before { content: ""; position: absolute; top: 23px; left: 58px; right: -12px; height: 1.5px; background: linear-gradient(90deg, var(--line) 60%, transparent); }
.section--dark .step__num { background: transparent; border-color: #4cc6e8; color: #4cc6e8; }
.section--dark .step p { color: rgba(255,255,255,.66); }
.section--dark .process .step:not(:last-child)::before { background: linear-gradient(90deg, rgba(255,255,255,.18) 60%, transparent); }

/* ---------- CTA band ---------- */
.cta-band { background: var(--blue); color: #fff; border-radius: 18px; padding: 56px; text-align: center; position: relative; overflow: hidden; }
.cta-band::after { content: ""; position: absolute; inset: 0; background-image: radial-gradient(circle at 1px 1px, rgba(255,255,255,.10) 1px, transparent 0); background-size: 26px 26px; mask-image: radial-gradient(ellipse 80% 100% at 50% 0%, #000, transparent 70%); }
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 { color: #fff; font-size: clamp(26px, 3.2vw, 38px); }
.cta-band p { color: rgba(255,255,255,.8); margin: 14px auto 0; max-width: 520px; font-size: 18px; }
.cta-band .hero__cta { margin-top: 28px; }
.cta-band .btn--primary { background: var(--cyan); }
.cta-band .btn--ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.35); }
.cta-band .btn--ghost:hover { border-color: #fff; }
.cta-band--row { display: flex; align-items: center; justify-content: space-between; text-align: left; gap: 28px; }
.cta-band--row .hero__cta { margin-top: 0; }

/* ---------- footer ---------- */
.footer { background: var(--ink); color: #cfcfce; padding: 64px 0 28px; }
.footer__top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.footer__brand img { height: 26px; margin-bottom: 18px; }
.footer__brand p { color: #9c9c99; font-size: 15px; max-width: 280px; }
.footer__social { display: flex; gap: 10px; margin-top: 18px; }
.footer__social a { width: 38px; height: 38px; border-radius: 8px; border: 1px solid rgba(255,255,255,.16); display: flex; align-items: center; justify-content: center; color: #cfcfce; transition: background .16s, border-color .16s; }
.footer__social a:hover { background: rgba(255,255,255,.08); border-color: var(--cyan); color: #fff; }
.footer__social svg { width: 18px; height: 18px; }
.footer__col h4 { color: #fff; font-size: 14px; font-family: var(--f-mono); font-weight: 500; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 16px; }
.footer__col a { display: block; color: #9c9c99; font-size: 15px; padding: 5px 0; transition: color .16s; }
.footer__col a:hover { color: var(--cyan); }
.footer__bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 48px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.12); font-family: var(--f-mono); font-size: 12.5px; letter-spacing: .04em; color: #8a8a87; flex-wrap: wrap; }

/* ---------- page hero (inner pages) ---------- */
.pagehero { padding: 64px 0 56px; background: var(--wash); border-bottom: 1px solid var(--line); }
.pagehero__inner { max-width: 720px; }
.pagehero h1 { font-size: clamp(34px, 4.4vw, 50px); margin-top: 14px; letter-spacing: -.02em; }
.pagehero p { color: var(--ink-700); font-size: 19px; margin-top: 16px; }

/* ---------- forms ---------- */
.field { display: flex; flex-direction: column; gap: 7px; }
.field label { font-size: 14.5px; font-weight: 600; }
.field input, .field select, .field textarea {
  font-family: var(--f-body); font-size: 16px; color: var(--ink);
  border: 1px solid var(--line); border-radius: var(--r-sm); padding: 12px 14px; background: #fff;
  transition: border-color .16s, box-shadow .16s; width: 100%;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--cyan); box-shadow: 0 0 0 3px var(--cyan-050); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }

/* ---------- info / contact list ---------- */
.infocard { background: var(--wash); border: 1px solid var(--line); border-radius: var(--r); padding: 26px; }
.infocard h3 { font-size: 18px; margin-bottom: 18px; }
.infoitem { display: flex; gap: 14px; align-items: center; padding: 11px 0; }
.infoitem + .infoitem { border-top: 1px solid var(--line); }
.infoitem__ico { width: 42px; height: 42px; border-radius: 10px; background: #fff; border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; color: var(--cyan); flex: 0 0 auto; }
.infoitem__ico svg { width: 19px; height: 19px; }
.infoitem b { display: block; font-size: 15.5px; }
.infoitem span { font-family: var(--f-mono); font-size: 13px; color: var(--muted); }

/* ---------- blog ---------- */
.cat-bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 32px; }
.cat-list { display: flex; gap: 10px; flex-wrap: wrap; }
.cat { font-size: 14.5px; font-weight: 500; padding: 8px 15px; border-radius: 100px; border: 1px solid var(--line); color: var(--ink-700); cursor: pointer; transition: all .16s; }
.cat:hover { border-color: var(--ink); }
.cat.is-active { background: var(--cyan); border-color: var(--cyan); color: #fff; }
.search { display: flex; align-items: center; gap: 8px; border: 1px solid var(--line); border-radius: 100px; padding: 8px 16px; color: var(--muted); font-family: var(--f-mono); font-size: 13px; min-width: 220px; }
.search svg { width: 16px; height: 16px; }

.blog-featured { display: grid; grid-template-columns: 1.1fr 1fr; gap: 32px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; padding: 22px; }
.blog-featured .ph { height: 280px; }
.post-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; transition: border-color .16s, box-shadow .16s, transform .16s; display: flex; flex-direction: column; }
.post-card:hover { border-color: #d4dae2; box-shadow: var(--shadow); transform: translateY(-2px); }
.post-card .ph { border: none; border-bottom: 1px solid var(--line); border-radius: 0; height: 168px; }
.post-card__body { padding: 20px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.post-card__body h3 { font-size: 19px; line-height: 1.25; }
.post-meta { font-family: var(--f-mono); font-size: 12.5px; color: var(--muted); letter-spacing: .03em; display: flex; align-items: center; gap: 10px; margin-top: auto; }
.byline { display: flex; align-items: center; gap: 10px; }
.byline__av { width: 34px; height: 34px; border-radius: 50%; background: var(--line-2); border: 1px solid var(--line); flex: 0 0 auto; }

.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 40px; }
.pagination a { min-width: 40px; height: 40px; padding: 0 6px; border-radius: 8px; border: 1px solid var(--line); display: inline-flex; align-items: center; justify-content: center; font-weight: 600; color: var(--ink-700); }
.pagination a.is-active { background: var(--cyan); border-color: var(--cyan); color: #fff; }
.pagination a:hover:not(.is-active) { border-color: var(--ink); }

/* ---------- article ---------- */
.article-head { max-width: 760px; margin: 0 auto; text-align: center; padding: 56px 0 32px; }
.article-head h1 { font-size: clamp(32px, 4.2vw, 48px); margin: 18px 0; letter-spacing: -.02em; }
.crumbs { font-family: var(--f-mono); font-size: 12.5px; color: var(--muted); letter-spacing: .05em; }
.article-hero { max-width: 920px; margin: 0 auto 8px; }
.article-hero .ph { height: 360px; }
.article-wrap { display: grid; grid-template-columns: 200px 1fr; gap: 48px; max-width: 1040px; margin: 0 auto; align-items: start; }
.toc { position: sticky; top: 96px; }
.toc h5 { font-family: var(--f-mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin: 0 0 14px; }
.toc a { display: block; font-size: 15px; color: var(--muted); padding: 6px 0; border-left: 2px solid var(--line); padding-left: 14px; margin-left: -2px; }
.toc a.is-active, .toc a:hover { color: var(--ink); border-color: var(--cyan); }
.prose { max-width: 680px; }
.prose > * + * { margin-top: 22px; }
.prose h2 { font-size: 28px; margin-top: 40px; }
.prose p { color: var(--ink-700); }
.prose .callout { background: var(--wash-cyan); border-left: 3px solid var(--cyan); border-radius: 0 var(--r-sm) var(--r-sm) 0; padding: 20px 24px; font-size: 18px; }
.prose .ph { height: 240px; }

/* ---------- feature rows (services / about) ---------- */
.feature { display: grid; grid-template-columns: .9fr 1.1fr; gap: 48px; align-items: center; }
.feature + .feature { margin-top: 60px; }
.feature__media .ph { height: 300px; }
.feature--reverse .feature__media { order: 2; }
.feature__head { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.feature__head .card__icon { margin: 0; }
.feature__head h3 { font-size: 26px; }
.feature__body > p { color: var(--ink-700); font-size: 17px; }

/* ---------- engagement tiers ---------- */
.card--feature { border-color: var(--cyan); box-shadow: 0 0 0 1px var(--cyan), var(--shadow); position: relative; }
.card--feature .tier__badge { position: absolute; top: -12px; left: 26px; background: var(--cyan); color: #fff; font-family: var(--f-mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; padding: 5px 11px; border-radius: 100px; }
.tier h3 { font-size: 21px; margin-bottom: 10px; }
.tier ul { list-style: none; padding: 0; margin: 16px 0 22px; display: flex; flex-direction: column; gap: 11px; }
.tier li { display: flex; gap: 10px; align-items: flex-start; font-size: 15.5px; color: var(--ink-700); }
.tier li svg { width: 18px; height: 18px; color: var(--cyan); flex: 0 0 auto; margin-top: 2px; }

/* ---------- use-case detail cards ---------- */
.uc-case { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 24px; display: grid; grid-template-columns: 260px 1fr; gap: 30px; align-items: center; }
.uc-case + .uc-case { margin-top: 22px; }
.uc-case__media .ph { height: 180px; }
.uc-case h3 { font-size: 23px; margin-bottom: 16px; }
.uc-split { display: grid; grid-template-columns: 1fr 1px 1fr; gap: 22px; }
.uc-split__line { background: var(--line); }
.uc-split h5 { font-family: var(--f-mono); font-size: 12px; letter-spacing: .07em; text-transform: uppercase; margin: 0 0 7px; }
.uc-split .problem h5 { color: var(--ink); }
.uc-split .solution h5 { color: var(--cyan); }
.uc-split p { font-size: 15.5px; color: var(--ink-700); }

/* ---------- principles + team ---------- */
.principle { display: flex; gap: 16px; }
.principle__num { width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--cyan); color: var(--cyan); font-family: var(--f-display); font-weight: 600; display: flex; align-items: center; justify-content: center; flex: 0 0 auto; }
.principle h3 { font-size: 20px; margin-bottom: 5px; }
.principle p { color: var(--muted); font-size: 15.5px; }
.team-card .ph { height: 220px; margin-bottom: 14px; }
.team-card h3 { font-size: 18px; }
.team-card span { font-family: var(--f-mono); font-size: 12.5px; color: var(--muted); letter-spacing: .04em; }

@media (max-width: 760px) {
  .feature { grid-template-columns: 1fr; gap: 24px; }
  .feature--reverse .feature__media { order: 0; }
  .feature__media .ph { height: 220px; }
  .uc-case { grid-template-columns: 1fr; gap: 18px; }
  .uc-split { grid-template-columns: 1fr; }
  .uc-split__line { display: none; }
}

/* ---------- helpers ---------- */
.stat-row { display: flex; gap: 36px; flex-wrap: wrap; }
.stat b { font-family: var(--f-display); font-size: 30px; display: block; }
.stat span { font-family: var(--f-mono); font-size: 12.5px; color: var(--muted); letter-spacing: .06em; text-transform: uppercase; }
.muted { color: var(--muted); }
.center { text-align: center; }
.mt-s { margin-top: 14px; } .mt-m { margin-top: 24px; } .mt-l { margin-top: 40px; }

/* ============ RESPONSIVE ============ */
@media (max-width: 1024px) {
  .section { padding: 72px 0; }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .process { grid-template-columns: repeat(2, 1fr); row-gap: 36px; }
  .process .step:not(:last-child)::before { display: none; }
  .footer__top { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer__brand { grid-column: 1 / -1; }
  .article-wrap { grid-template-columns: 1fr; gap: 28px; }
  .toc { position: static; display: none; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .nav__links, .nav__right .btn { display: none; }
  .nav__toggle { display: inline-flex; }
  .nav.is-open .nav__links { display: flex; position: absolute; top: 75px; left: 0; right: 0; flex-direction: column; gap: 0; background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow-lg); padding: 8px 0; }
  .nav.is-open .nav__links a { padding: 14px 28px; border-bottom: 1px solid var(--line-2); }
  .nav.is-open .nav__links a.is-active::after { display: none; }
  .grid--3, .grid--2, .grid--4 { grid-template-columns: 1fr; }
  .process { grid-template-columns: 1fr; }
  .blog-featured { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .usecase { flex-direction: column; align-items: stretch; }
  .usecase__media { flex-basis: auto; height: 150px; }
  .cta-band { padding: 36px 24px; }
  .cta-band--row { flex-direction: column; text-align: center; }
  .section-head--row { flex-direction: column; align-items: flex-start; }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
  .hero__cta { flex-direction: column; }
  .hero__cta .btn { width: 100%; }
}
@media (max-width: 460px) {
  .footer__top { grid-template-columns: 1fr; }
}
