/* ==========================================================================
   Onketing — Online Marketing Simplified
   Static site stylesheet
   Palette taken from the Onketing mark: purple "ON", blue "KETING".
   ========================================================================== */

:root {
  --purple:        #6f3473;
  --purple-deep:   #512454;
  --purple-soft:   #f4edf5;
  --blue:          #1b86c4;
  --blue-deep:     #13658f;
  --blue-soft:     #e9f4fb;

  --ink:           #1a1d24;
  --ink-soft:      #3d4450;
  --muted:         #5f6b7a;
  --muted-light:   #8a94a3;

  --line:          #e2e7ee;
  --line-strong:   #cbd3de;
  --bg:            #ffffff;
  --bg-tint:       #f6f8fb;
  --bg-deep:       #141821;

  --radius:        10px;
  --radius-lg:     16px;
  --shadow:        0 1px 2px rgba(20, 24, 33, .05), 0 8px 24px rgba(20, 24, 33, .06);
  --shadow-lift:   0 2px 4px rgba(20, 24, 33, .06), 0 16px 40px rgba(20, 24, 33, .10);

  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
          "Helvetica Neue", Arial, sans-serif;

  --wrap: 1120px;
}

/* --------------------------------------------------------------- reset -- */

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

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

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.68;
  color: var(--ink-soft);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, svg, video { max-width: 100%; height: auto; display: block; }

h1, h2, h3, h4 {
  color: var(--ink);
  font-weight: 700;
  line-height: 1.22;
  letter-spacing: -.018em;
  margin: 0 0 .6em;
}

h1 { font-size: clamp(2rem, 1.35rem + 2.6vw, 3.05rem); letter-spacing: -.03em; }
h2 { font-size: clamp(1.5rem, 1.18rem + 1.3vw, 2.1rem); letter-spacing: -.024em; }
h3 { font-size: 1.22rem; }
h4 { font-size: 1.02rem; }

p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

a { color: var(--blue-deep); text-decoration: none; }
a:hover { text-decoration: underline; }

strong { color: var(--ink); font-weight: 650; }

ul, ol { margin: 0 0 1.1em; padding-left: 1.3em; }
li { margin-bottom: .45em; }
li:last-child { margin-bottom: 0; }

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

.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ------------------------------------------------------------- layout --- */

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

.wrap--narrow { max-width: 760px; }

section { padding-block: clamp(3rem, 2rem + 4vw, 5.25rem); }
section.tint { background: var(--bg-tint); border-block: 1px solid var(--line); }

.section-head { max-width: 680px; margin-bottom: 2.75rem; }
.section-head p { color: var(--muted); font-size: 1.05rem; margin-bottom: 0; }

.eyebrow {
  display: block;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--purple);
  margin-bottom: .75rem;
}

/* The brand's own capitalisation trick — ONline marKETING — has to survive,
   so this variant opts out of the uppercase transform. */
.eyebrow--cased {
  text-transform: none;
  letter-spacing: .06em;
  font-size: .9rem;
  color: var(--muted);
}
.eyebrow--cased b {
  color: var(--purple);
  font-weight: 700;
}
.eyebrow--cased b + b { color: var(--blue-deep); }

.lede { font-size: 1.14rem; color: var(--muted); }

/* ---------------------------------------------------------- skip link --- */

.skip-link {
  position: absolute; top: -60px; left: 16px; z-index: 200;
  background: var(--ink); color: #fff;
  padding: .7rem 1.1rem; border-radius: 0 0 8px 8px;
  font-weight: 600; font-size: .9rem;
}
.skip-link:focus { top: 0; text-decoration: none; }

/* ------------------------------------------------------------- header --- */

.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, .94);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}

.site-header__inner {
  display: flex; align-items: center; gap: 1.5rem;
  min-height: 82px;
}

.brand { display: flex; align-items: center; flex-shrink: 0; }
.brand:hover { text-decoration: none; }
/* Tall enough that "Online Marketing Simplified" under the wordmark is
   actually readable — below about 40px it collapses into a grey smudge. */
.brand img { height: 48px; width: auto; }

.nav-toggle {
  margin-left: auto;
  display: none;
  align-items: center; justify-content: center;
  width: 42px; height: 42px;
  background: none; border: 1px solid var(--line-strong);
  border-radius: 8px; cursor: pointer; color: var(--ink);
}
.nav-toggle svg { width: 20px; height: 20px; }
.nav-toggle__close { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle__open { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle__close { display: block; }

.site-nav { margin-left: auto; }

.site-nav ul {
  display: flex; align-items: center; gap: .35rem;
  list-style: none; margin: 0; padding: 0;
}
.site-nav li { margin: 0; }

.site-nav a {
  display: block;
  padding: .5rem .72rem;
  border-radius: 7px;
  font-size: .945rem;
  font-weight: 550;
  color: var(--ink-soft);
  white-space: nowrap;
}
.site-nav a:hover { background: var(--bg-tint); color: var(--ink); text-decoration: none; }
.site-nav a[aria-current="page"] { color: var(--purple); background: var(--purple-soft); }

.site-nav .nav-cta {
  margin-left: .4rem;
  background: var(--ink); color: #fff;
  padding: .52rem 1rem;
}
.site-nav .nav-cta:hover { background: var(--purple); color: #fff; }

/* dropdown */
.has-sub { position: relative; }

.has-sub > button {
  display: flex; align-items: center; gap: .3rem;
  padding: .5rem .72rem;
  font: inherit; font-size: .945rem; font-weight: 550;
  color: var(--ink-soft);
  background: none; border: 0; border-radius: 7px; cursor: pointer;
}
.has-sub > button:hover { background: var(--bg-tint); color: var(--ink); }
.has-sub > button svg { width: 11px; height: 11px; transition: transform .18s ease; }
.has-sub > button[aria-expanded="true"] svg { transform: rotate(180deg); }

.subnav {
  position: absolute; top: calc(100% + 8px); left: 0;
  min-width: 260px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lift);
  padding: .45rem;
  display: none;
  flex-direction: column; gap: 1px;
}
.subnav.is-open { display: flex; }
.subnav a { padding: .55rem .7rem; font-weight: 500; }

/* Bridges the 8px gap between the button and the menu. Without it the pointer
   leaves .has-sub on the way down and the menu shuts under the cursor. */
.subnav::before {
  content: "";
  position: absolute;
  left: 0; right: 0;
  top: -10px;
  height: 10px;
}

/* ---------------------------------------------------------------- hero -- */

.hero {
  position: relative;
  padding-block: clamp(3.25rem, 2rem + 6vw, 6rem);
  background:
    radial-gradient(900px 420px at 88% -10%, var(--blue-soft) 0%, transparent 62%),
    radial-gradient(760px 380px at 4% 0%, var(--purple-soft) 0%, transparent 58%),
    #fff;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}

.hero h1 { max-width: 16ch; }
.hero__lede { font-size: clamp(1.06rem, 1rem + .4vw, 1.25rem); color: var(--muted); max-width: 54ch; }

.hero--page { padding-block: clamp(2.5rem, 1.8rem + 3.4vw, 4rem); }
.hero--page h1 { max-width: 20ch; }

/* Two-column hero. Without this the copy sits in the left half and the right
   half of a wide screen is simply empty, which reads as unfinished. */
.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  gap: clamp(2rem, 1rem + 4vw, 4.5rem);
  align-items: center;
}
.hero--page .hero__grid { align-items: start; }
.hero__grid > *:last-child > *:last-child { margin-bottom: 0; }

@media (max-width: 920px) {
  .hero__grid { grid-template-columns: minmax(0, 1fr); gap: 2.25rem; }
}

/* The card that occupies the right column. */
.hero-panel {
  background: rgba(255, 255, 255, .74);
  backdrop-filter: blur(10px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.7rem;
  box-shadow: var(--shadow);
}
.hero-panel__label {
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .11em;
  text-transform: uppercase;
  color: var(--muted-light);
  margin-bottom: 1.25rem;
}
.hero-panel .checklist li { font-size: .94rem; margin-bottom: .65rem; }
.hero-panel .checklist li:last-child { margin-bottom: 0; }

/* Stacked figure + caption rows, used for the proof card on the home page. */
.proof-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 1.05rem; }
.proof-list li { display: flex; align-items: baseline; gap: .9rem; margin: 0; }

.proof-figure {
  flex-shrink: 0;
  min-width: 4.6ch;
  text-align: right;
  font-size: 1.5rem;
  font-weight: 750;
  letter-spacing: -.03em;
  line-height: 1.1;
  color: var(--purple);
  font-variant-numeric: tabular-nums;
}
.proof-figure--blue { color: var(--blue-deep); }

.proof-text { font-size: .89rem; color: var(--muted); line-height: 1.45; }
.proof-text b { display: block; color: var(--ink); font-weight: 600; }

.hero-panel__foot {
  margin: 1.45rem 0 0;
  padding-top: 1.3rem;
  border-top: 1px solid var(--line);
  font-size: .86rem;
  line-height: 1.55;
  color: var(--muted);
}
.hero-panel__foot a { font-weight: 600; white-space: nowrap; }

/* Legal pages and the 404 carry a headline and nothing else, so hold the
   measure in rather than letting one line float across a wide screen. */
.hero--slim .wrap { max-width: 760px; }

.breadcrumb {
  font-size: .86rem; color: var(--muted-light);
  margin-bottom: 1rem;
}
.breadcrumb a { color: var(--muted); }
.breadcrumb span { padding-inline: .45rem; color: var(--line-strong); }

/* ------------------------------------------------------------ buttons --- */

.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.9rem; }

.btn {
  display: inline-flex; align-items: center; gap: .55rem;
  padding: .78rem 1.4rem;
  border-radius: 9px;
  font-size: .98rem; font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background .16s ease, border-color .16s ease, transform .16s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn svg { width: 17px; height: 17px; flex-shrink: 0; }

.btn--primary { background: var(--purple); color: #fff; }
.btn--primary:hover { background: var(--purple-deep); color: #fff; }

.btn--ghost { background: #fff; color: var(--ink); border-color: var(--line-strong); }
.btn--ghost:hover { border-color: var(--ink); color: var(--ink); }

.btn--light { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.3); }
.btn--light:hover { background: rgba(255,255,255,.2); color: #fff; }

.btn--white { background: #fff; color: var(--ink); }
.btn--white:hover { background: #f0f2f6; color: var(--ink); }

/* --------------------------------------------------------------- grids -- */

.grid { display: grid; gap: 1.25rem; }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }

/* ---------------------------------------------------------------- card -- */

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.6rem;
}

.card--link { transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease; }
.card--link:hover {
  border-color: var(--line-strong);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.card h3 { margin-bottom: .5rem; }
.card h3 a { color: var(--ink); }
.card h3 a:hover { color: var(--purple); text-decoration: none; }
.card p { color: var(--muted); font-size: .97rem; margin-bottom: 0; }

.card__icon {
  width: 42px; height: 42px;
  display: grid; place-items: center;
  border-radius: 10px;
  background: var(--purple-soft); color: var(--purple);
  margin-bottom: 1.05rem;
}
.card__icon svg { width: 21px; height: 21px; }
.card__icon--blue { background: var(--blue-soft); color: var(--blue-deep); }

.card__more {
  display: inline-flex; align-items: center; gap: .35rem;
  margin-top: 1rem;
  font-size: .92rem; font-weight: 600; color: var(--purple);
}
.card--link:hover .card__more { gap: .6rem; }
.card__more svg { width: 14px; height: 14px; transition: transform .18s ease; }

/* --------------------------------------------------------------- stats -- */

.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

/* Fixed column counts so a known number of figures fills complete rows
   instead of leaving one stranded on its own. */
.stats--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.stats--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

@media (max-width: 900px) {
  .stats--3, .stats--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 520px) {
  .stats--3, .stats--4 { grid-template-columns: minmax(0, 1fr); }
}

.stat { background: #fff; padding: 1.6rem 1.4rem; }
.stat__figure {
  display: block;
  font-size: clamp(1.75rem, 1.4rem + 1.4vw, 2.35rem);
  font-weight: 750;
  line-height: 1.05;
  letter-spacing: -.035em;
  color: var(--purple);
  margin-bottom: .45rem;
  font-variant-numeric: tabular-nums;
}
.stat__figure--blue { color: var(--blue-deep); }
.stat__label { font-size: .9rem; color: var(--muted); line-height: 1.5; }
.stat__label strong { display: block; color: var(--ink); font-weight: 600; }

/* ----------------------------------------------------------- checklist -- */

.checklist { list-style: none; padding: 0; margin: 0; }
.checklist li {
  position: relative;
  padding-left: 1.95rem;
  margin-bottom: .8rem;
  color: var(--ink-soft);
}
.checklist li::before {
  content: "";
  position: absolute; left: 0; top: .42em;
  width: 1.1rem; height: 1.1rem;
  border-radius: 50%;
  background: var(--blue-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%2313658f' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3.2 8.4 6.3 11.4 12.8 4.8'/%3E%3C/svg%3E") center / 11px no-repeat;
}

/* --------------------------------------------------------------- steps -- */

.steps { counter-reset: step; list-style: none; padding: 0; margin: 0; display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.steps li { background: #fff; margin: 0; padding: 1.5rem 1.6rem 1.5rem 4.4rem; position: relative; }
.steps li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute; left: 1.5rem; top: 1.55rem;
  width: 1.85rem; height: 1.85rem;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--purple); color: #fff;
  font-size: .85rem; font-weight: 700;
}
.steps h3 { font-size: 1.05rem; margin-bottom: .35rem; }
.steps p { color: var(--muted); font-size: .96rem; margin-bottom: 0; }

/* -------------------------------------------------------- case studies -- */

.case {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #fff;
  margin-bottom: 1.75rem;
}
.case:last-child { margin-bottom: 0; }

.case__head {
  display: flex; align-items: center; gap: 1.25rem;
  padding: 1.5rem 1.75rem;
  border-bottom: 1px solid var(--line);
  background: var(--bg-tint);
}
.case__logo {
  flex-shrink: 0;
  width: 92px; height: 68px;
  display: grid; place-items: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 7px;
}
.case__logo img { max-height: 100%; width: auto; object-fit: contain; }
.case__head h2 { font-size: 1.22rem; margin-bottom: .2rem; }
.case__head p { font-size: .9rem; color: var(--muted); margin: 0; }

.case__body { padding: 1.75rem; }
.case__body > *:last-child { margin-bottom: 0; }

.case__section { margin-bottom: 1.75rem; }
.case__section:last-child { margin-bottom: 0; }
.case__section > h3 {
  font-size: .78rem; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--muted-light);
  padding-bottom: .55rem;
  border-bottom: 1px solid var(--line);
  margin-bottom: 1rem;
}
.case__section p { font-size: .98rem; }
.case__section h4 {
  font-size: .95rem; font-weight: 650; color: var(--ink);
  margin: 1.2rem 0 .4rem;
}
.case__section h4:first-of-type { margin-top: 0; }

.case__chart {
  margin: 1.25rem 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
}
.case__chart img { width: 100%; }
.case__chart figcaption {
  font-size: .82rem; color: var(--muted-light);
  padding: .6rem .85rem;
  border-top: 1px solid var(--line);
  background: var(--bg-tint);
}

/* --------------------------------------------------------------- table -- */

.table-scroll { overflow-x: auto; margin-bottom: 1.1rem; border: 1px solid var(--line); border-radius: var(--radius); }
table { width: 100%; border-collapse: collapse; font-size: .94rem; }
caption {
  text-align: left; font-size: .85rem; color: var(--muted);
  padding: .8rem .95rem; border-bottom: 1px solid var(--line);
  background: var(--bg-tint);
}
th, td { padding: .68rem .95rem; text-align: left; border-bottom: 1px solid var(--line); }
th { font-weight: 650; color: var(--ink); font-size: .86rem; letter-spacing: .01em; background: var(--bg-tint); }
td { color: var(--ink-soft); }
tbody tr:last-child td { border-bottom: 0; }
td.num, th.num { text-align: right; font-variant-numeric: tabular-nums; width: 1%; white-space: nowrap; }

/* -------------------------------------------------------- testimonials -- */

.quote {
  background: #fff;
  border: 1px solid var(--line);
  border-left: 3px solid var(--purple);
  border-radius: var(--radius-lg);
  padding: 1.7rem;
  display: flex; flex-direction: column;
}
.quote blockquote { margin: 0 0 1.4rem; font-size: 1rem; color: var(--ink-soft); }
.quote blockquote p:first-child::before { content: "\201C"; }
.quote blockquote p:last-of-type::after { content: "\201D"; }

.quote__by { display: flex; align-items: center; gap: .85rem; margin-top: auto; }
.quote__avatar {
  width: 46px; height: 46px; flex-shrink: 0;
  border-radius: 50%;
  object-fit: cover;
  background: var(--bg-tint);
  border: 1px solid var(--line);
}
.quote__avatar--contain {
  border-radius: 8px;
  object-fit: contain;
  padding: 4px; background: #fff;
}
.quote__name { font-weight: 650; color: var(--ink); font-size: .95rem; line-height: 1.35; }
.quote__role { font-size: .86rem; color: var(--muted); line-height: 1.35; }

/* --------------------------------------------------------------- video -- */

.video {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.video video { width: 100%; background: #000; display: block; }
.video__meta { padding: 1.1rem 1.35rem; }
.video__meta .quote__name { margin-bottom: .1rem; }
.video__alt { font-size: .84rem; color: var(--muted-light); margin-top: .6rem; }
.video__alt a { color: var(--muted); }

/* ------------------------------------------------------------- clients -- */

.client-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.client-grid div {
  background: #fff;
  min-height: 108px;
  display: grid; place-items: center;
  padding: 1.1rem;
  text-align: center;
}
.client-grid img { max-height: 62px; width: auto; object-fit: contain; }
.client-grid span { font-size: .93rem; font-weight: 600; color: var(--muted); }

/* ---------------------------------------------------------------- cert -- */

.certs {
  display: flex; flex-wrap: wrap; align-items: center;
  gap: 1.5rem 2.5rem;
}
.certs img { max-height: 76px; width: auto; }
.certs figure { margin: 0; text-align: center; }
.certs figcaption { font-size: .82rem; color: var(--muted); margin-top: .6rem; max-width: 17ch; }

/* ----------------------------------------------------------- highlight -- */

.panel {
  background: var(--bg-tint);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
}
.panel > *:last-child { margin-bottom: 0; }
.panel h3, .panel h2 { font-size: 1.22rem; margin-bottom: .6rem; }

.split {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: clamp(2rem, 1rem + 4vw, 4rem);
  align-items: start;
}
.split > *:last-child > *:last-child { margin-bottom: 0; }

.portrait {
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  width: 100%;
  background: var(--bg-tint);
}

/* ------------------------------------------------------------ contacts -- */

.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 1rem; }
.contact-list li { margin: 0; }

.contact-item {
  display: flex; align-items: flex-start; gap: 1rem;
  padding: 1.25rem 1.4rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.contact-item__icon {
  flex-shrink: 0;
  width: 38px; height: 38px;
  display: grid; place-items: center;
  border-radius: 9px;
  background: var(--purple-soft); color: var(--purple);
}
.contact-item__icon svg { width: 18px; height: 18px; }
.contact-item__label {
  font-size: .76rem; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: var(--muted-light);
  margin-bottom: .18rem;
}
.contact-item__value { font-size: 1.04rem; font-weight: 600; color: var(--ink); word-break: break-word; }
.contact-item__value a { color: var(--ink); }
.contact-item__value a:hover { color: var(--purple); }
.contact-item__note { font-size: .88rem; color: var(--muted); margin-top: .25rem; }

/* ------------------------------------------------------------- cta bar -- */

.cta {
  background: var(--bg-deep);
  background-image:
    radial-gradient(620px 300px at 12% 0%, rgba(111, 52, 115, .5) 0%, transparent 65%),
    radial-gradient(620px 300px at 88% 100%, rgba(27, 134, 196, .38) 0%, transparent 65%);
  color: #fff;
  border: 0;
}
.cta h2 { color: #fff; }
.cta p { color: rgba(255, 255, 255, .76); max-width: 56ch; }
.cta a:not(.btn) { color: #fff; text-decoration: underline; text-underline-offset: 3px; }

/* -------------------------------------------------------------- footer -- */

.site-footer {
  background: var(--bg-deep);
  color: rgba(255, 255, 255, .62);
  font-size: .94rem;
  padding-block: 3.25rem 1.75rem;
}
.site-footer a { color: rgba(255, 255, 255, .82); }
.site-footer a:hover { color: #fff; }

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) repeat(auto-fit, minmax(150px, 1fr));
  gap: 2.5rem;
  padding-bottom: 2.5rem;
}
.footer-grid h2 {
  color: #fff; font-size: .78rem; font-weight: 700;
  letter-spacing: .11em; text-transform: uppercase;
  margin-bottom: 1rem;
}
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin-bottom: .55rem; }

.footer-brand img { height: 44px; width: auto; margin-bottom: 1.1rem; }
.footer-brand p { max-width: 38ch; font-size: .92rem; margin-bottom: 1.1rem; }

.footer-bottom {
  display: flex; flex-wrap: wrap; gap: .5rem 1.5rem;
  align-items: center; justify-content: space-between;
  padding-top: 1.75rem;
  border-top: 1px solid rgba(255, 255, 255, .11);
  font-size: .87rem;
  color: rgba(255, 255, 255, .5);
}
.footer-bottom ul { display: flex; flex-wrap: wrap; gap: 1.25rem; list-style: none; margin: 0; padding: 0; }
.footer-bottom li { margin: 0; }

/* -------------------------------------------------------------- prose --- */

.prose h2 { margin-top: 2.5rem; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 1.9rem; }
.prose ul { padding-left: 1.2rem; }

/* --------------------------------------------------------- responsive --- */

@media (max-width: 960px) {
  .split { grid-template-columns: 1fr; }
}

@media (max-width: 880px) {
  .nav-toggle { display: flex; }
  .site-header__inner { min-height: 72px; }
  .brand img { height: 42px; }
  .site-nav { top: 100%; }

  .site-nav {
    display: none;
    position: absolute; top: 100%; left: 0; right: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-lift);
    padding: .75rem 20px 1.25rem;
    max-height: calc(100vh - 72px);
    overflow-y: auto;
  }
  .site-nav.is-open { display: block; }

  .site-nav ul { flex-direction: column; align-items: stretch; gap: 1px; }
  .site-nav a, .has-sub > button { width: 100%; padding: .7rem .5rem; font-size: 1rem; }
  .has-sub > button { justify-content: space-between; }

  .subnav {
    position: static; display: none;
    border: 0; box-shadow: none; padding: 0 0 .4rem .9rem;
    min-width: 0;
  }
  .subnav.is-open { display: flex; }
  .subnav a { font-size: .95rem; padding: .55rem .5rem; }
  .subnav::before { display: none; }   /* no hover gap to bridge on touch */

  .site-nav .nav-cta { margin: .6rem 0 0; text-align: center; }
}

@media (max-width: 620px) {
  body { font-size: 16px; }
  .case__head { flex-direction: column; align-items: flex-start; gap: .9rem; }
  .case__body, .case__head { padding: 1.25rem; }
  .card { padding: 1.3rem; }
  .steps li { padding: 1.25rem 1.25rem 1.25rem 3.9rem; }
  .steps li::before { left: 1.2rem; top: 1.3rem; }
  .btn { width: 100%; justify-content: center; }
  .btn-row { gap: .6rem; }

  /* Jump links are navigation chips, not calls to action — keep them
     inline rather than stacking four full-width buttons. */
  .btn-row--chips .btn {
    width: auto;
    flex: 0 1 auto;
    padding: .55rem .9rem;
    font-size: .88rem;
  }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
}

@media print {
  .site-header, .cta, .nav-toggle, .btn-row { display: none !important; }
  body { font-size: 11pt; }
  .case, .card, .stats { break-inside: avoid; }
}
