/* =========================================================================
   Cobalt Relay — design system
   Identity: secure telemetry / packet streaming for connected fleets.
   Palette : deep slate base, cobalt primary, amber signal, emerald = valid.
   Type    : sans for prose, monospace as a co-lead for all protocol/data.
   ========================================================================= */

:root {
  --bg:          #0B1020;
  --bg-2:        #090D1A;
  --surface:     #121A2E;
  --surface-2:   #182238;
  --surface-3:   #1F2B45;
  --border:      #28324C;
  --border-soft: #1E2740;

  --text:        #E7EBF4;
  --text-dim:    #AEB6CC;
  --muted:       #7C8599;
  --faint:       #5A6275;

  --cobalt:      #3C72F0;
  --cobalt-2:    #5B8BFF;
  --cobalt-deep: #234BB8;
  --amber:       #F2A93B;
  --amber-2:     #FFC061;
  --emerald:     #35D6A0;
  --danger:      #F76C6C;

  --radius:      14px;
  --radius-sm:   9px;
  --radius-lg:   20px;

  --sans: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto,
          "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", "JetBrains Mono", "Cascadia Code",
          "Roboto Mono", Menlo, Consolas, monospace;

  --shadow:    0 18px 50px -22px rgba(0,0,0,.75);
  --shadow-sm: 0 8px 26px -16px rgba(0,0,0,.7);
  --ring:      0 0 0 3px rgba(60,114,240,.35);

  --maxw: 1180px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background:
    radial-gradient(1100px 620px at 86% -8%, rgba(60,114,240,.16), transparent 60%),
    radial-gradient(820px 520px at -6% 8%, rgba(242,169,59,.07), transparent 55%),
    var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  letter-spacing: .002em;
}

a { color: inherit; text-decoration: none; }

img { max-width: 100%; display: block; }

::selection { background: rgba(60,114,240,.32); color: #fff; }

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

/* --- shared type helpers ------------------------------------------------ */
.eyebrow {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--cobalt-2);
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 18px;
}
.eyebrow::before {
  content: "";
  width: 22px; height: 1px;
  background: linear-gradient(90deg, var(--cobalt), transparent);
}

h1, h2, h3 { line-height: 1.12; letter-spacing: -.02em; font-weight: 650; margin: 0; }
h1 { font-size: clamp(2.3rem, 4.6vw, 3.5rem); }
h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
h3 { font-size: 1.16rem; letter-spacing: -.01em; }

p { margin: 0 0 1rem; color: var(--text-dim); }
.lead { font-size: 1.16rem; color: var(--text-dim); max-width: 42ch; }

.mono { font-family: var(--mono); }
.muted { color: var(--muted); }

/* --- buttons ------------------------------------------------------------ */
.btn {
  font: inherit;
  font-weight: 600;
  font-size: .96rem;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  padding: 12px 20px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  transition: transform .14s ease, background .18s ease, border-color .18s ease, box-shadow .18s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary {
  background: linear-gradient(180deg, var(--cobalt-2), var(--cobalt));
  color: #fff;
  box-shadow: 0 10px 26px -12px rgba(60,114,240,.8), inset 0 1px 0 rgba(255,255,255,.22);
}
.btn-primary:hover { background: linear-gradient(180deg, #6f99ff, #3f78ff); }
.btn-ghost {
  background: rgba(255,255,255,.025);
  border-color: var(--border);
  color: var(--text);
}
.btn-ghost:hover { border-color: var(--cobalt); background: rgba(60,114,240,.08); }
.btn:focus-visible { outline: none; box-shadow: var(--ring); }

/* --- nav ---------------------------------------------------------------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(14px);
  background: linear-gradient(180deg, rgba(11,16,32,.92), rgba(11,16,32,.66));
  border-bottom: 1px solid var(--border-soft);
}
.nav-inner {
  height: 66px;
  display: flex; align-items: center; gap: 28px;
}
.brand { display: flex; align-items: center; gap: 11px; font-weight: 650; letter-spacing: -.01em; }
.brand .glyph {
  width: 30px; height: 30px; border-radius: 8px;
  background: linear-gradient(150deg, var(--cobalt-2), var(--cobalt-deep));
  display: grid; place-items: center;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.28), 0 6px 16px -8px rgba(60,114,240,.9);
}
.brand .glyph svg { width: 17px; height: 17px; display: block; }
.brand b { font-size: 1.04rem; }
.brand small { color: var(--faint); font-family: var(--mono); font-size: 11px; letter-spacing: .12em; margin-left: 2px; }

.nav-links { display: flex; align-items: center; gap: 6px; margin-left: 8px; }
.nav-links a {
  color: var(--text-dim); font-size: .93rem; padding: 8px 12px; border-radius: 8px;
  transition: color .15s ease, background .15s ease;
}
.nav-links a:hover { color: var(--text); background: rgba(255,255,255,.04); }
.nav-links a.active { color: var(--text); }
.nav-spacer { flex: 1; }
.nav-cta { display: flex; align-items: center; gap: 10px; }

/* --- generic section spacing ------------------------------------------- */
.section { padding: 92px 0; }
.section-tight { padding: 64px 0; }
.divider { height: 1px; background: var(--border-soft); }

/* --- hero --------------------------------------------------------------- */
.hero { padding: 70px 0 84px; position: relative; }
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 560px);
  gap: 56px;
  align-items: center;
}
.hero-copy h1 { margin-bottom: 20px; }
.hero-copy .lead { margin-bottom: 30px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 34px; }

.ministats { display: flex; gap: 30px; flex-wrap: wrap; }
.ministat .n { font-family: var(--mono); font-size: 1.5rem; font-weight: 600; color: var(--text); }
.ministat .l { font-size: .8rem; color: var(--muted); letter-spacing: .04em; }

/* --- decoder console (signature element) -------------------------------- */
.console {
  background: linear-gradient(180deg, var(--surface), var(--surface-2));
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  overflow: hidden;
  position: relative;
}
.console::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(91,139,255,.7), transparent);
}
.console-bar {
  display: flex; align-items: center; gap: 12px;
  padding: 13px 16px;
  border-bottom: 1px solid var(--border-soft);
  background: rgba(0,0,0,.18);
}
.dots { display: flex; gap: 7px; }
.dots i { width: 11px; height: 11px; border-radius: 50%; display: block; }
.dots i:nth-child(1) { background: #46506b; }
.dots i:nth-child(2) { background: #46506b; }
.dots i:nth-child(3) { background: #46506b; }
.console-title { font-family: var(--mono); font-size: 12.5px; color: var(--text-dim); letter-spacing: .04em; }
.live {
  margin-left: auto; font-family: var(--mono); font-size: 11px; letter-spacing: .14em;
  color: var(--amber-2); display: inline-flex; align-items: center; gap: 7px;
  text-transform: uppercase;
}
.live .pulse {
  width: 8px; height: 8px; border-radius: 50%; background: var(--amber);
  box-shadow: 0 0 0 0 rgba(242,169,59,.7);
  animation: pulse 1.8s infinite;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(242,169,59,.55); }
  70%  { box-shadow: 0 0 0 7px rgba(242,169,59,0); }
  100% { box-shadow: 0 0 0 0 rgba(242,169,59,0); }
}

.console-body { padding: 18px 18px 20px; }

.field-label {
  font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--muted); margin: 0 0 8px; display: flex; align-items: center; justify-content: space-between;
}
.field-label .tag {
  color: var(--faint); text-transform: none; letter-spacing: .02em; font-size: 11px;
}

.packet {
  font-family: var(--mono); font-size: 13px; line-height: 1.9;
  background: var(--bg-2); border: 1px solid var(--border-soft); border-radius: var(--radius-sm);
  padding: 12px 14px; color: var(--cobalt-2); word-break: break-all;
  letter-spacing: .04em;
}
.meta-row {
  display: flex; gap: 10px; flex-wrap: wrap; margin: 12px 0 4px;
  font-family: var(--mono); font-size: 12px;
}
.chip {
  background: var(--surface-3); border: 1px solid var(--border); border-radius: 7px;
  padding: 5px 10px; color: var(--text-dim);
}
.chip b { color: var(--text); font-weight: 600; }

/* editor */
.editor-wrap { margin-top: 16px; border: 1px solid var(--border); border-radius: var(--radius-sm); overflow: hidden; background: var(--bg-2); }
.editor-head {
  display: flex; align-items: center; gap: 8px; padding: 9px 12px;
  border-bottom: 1px solid var(--border-soft); background: rgba(255,255,255,.018);
  font-family: var(--mono); font-size: 12px; color: var(--muted);
}
.editor-head .fname { color: var(--text-dim); }
.editor-head .hint { margin-left: auto; color: var(--faint); }
textarea#editor {
  width: 100%; border: 0; outline: none; resize: vertical;
  background: transparent; color: #D7E1F7;
  font-family: var(--mono); font-size: 13px; line-height: 1.7;
  padding: 14px; min-height: 290px; tab-size: 2;
  caret-color: var(--cobalt-2);
}
textarea#editor:focus { background: rgba(60,114,240,.04); }

.console-actions { display: flex; gap: 10px; margin-top: 14px; align-items: center; }
.console-actions .spacer { flex: 1; }
.link-btn {
  background: none; border: 0; color: var(--muted); font: inherit; font-size: .86rem;
  cursor: pointer; padding: 8px 6px; border-radius: 6px;
}
.link-btn:hover { color: var(--text-dim); }

/* output */
.output {
  margin-top: 16px; border-radius: var(--radius-sm);
  border: 1px solid var(--border); background: var(--bg-2); overflow: hidden;
}
.output-head {
  display: flex; align-items: center; gap: 12px; padding: 11px 14px;
  border-bottom: 1px solid var(--border-soft); flex-wrap: wrap;
}
.pill {
  font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase;
  padding: 4px 10px; border-radius: 999px; border: 1px solid; display: inline-flex; gap: 7px; align-items: center;
}
.pill::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.pill.idle   { color: var(--muted);   border-color: var(--border); }
.pill.ok     { color: var(--emerald); border-color: rgba(53,214,160,.4); background: rgba(53,214,160,.08); }
.pill.fail   { color: var(--danger);  border-color: rgba(247,108,108,.4); background: rgba(247,108,108,.08); }
.crc-line { font-family: var(--mono); font-size: 12px; color: var(--muted); margin-left: auto; }
.crc-line b { color: var(--text-dim); }
.crc-line .good { color: var(--emerald); }
.crc-line .bad  { color: var(--danger); }

.output-body { padding: 16px 14px; }
.payload {
  font-family: var(--mono); font-size: 14px; word-break: break-all; line-height: 1.7;
  padding: 12px 14px; border-radius: var(--radius-sm); border: 1px dashed var(--border);
  background: rgba(0,0,0,.25); color: var(--text-dim); min-height: 20px;
}
.payload.flag {
  color: var(--emerald); border-style: solid; border-color: rgba(53,214,160,.45);
  background: rgba(53,214,160,.07); font-weight: 600; font-size: 15px;
  text-shadow: 0 0 22px rgba(53,214,160,.35);
}
.payload.corrupt { color: #c2607a; }
.output-note { font-size: .86rem; color: var(--muted); margin: 12px 2px 0; }
.output-note.bad { color: var(--danger); }
.copy-row { display: flex; gap: 10px; align-items: center; margin-top: 12px; }
.copied { font-family: var(--mono); font-size: 12px; color: var(--emerald); opacity: 0; transition: opacity .2s; }
.copied.show { opacity: 1; }

/* --- trust strip -------------------------------------------------------- */
.trust { border-top: 1px solid var(--border-soft); border-bottom: 1px solid var(--border-soft); padding: 26px 0; }
.trust-inner { display: flex; align-items: center; gap: 36px; flex-wrap: wrap; justify-content: center; }
.trust-label { font-family: var(--mono); font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--faint); }
.trust-logo { color: var(--muted); font-weight: 650; letter-spacing: -.01em; font-size: 1.02rem; opacity: .85; }

/* --- feature cards ------------------------------------------------------ */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.card {
  background: linear-gradient(180deg, var(--surface), rgba(18,26,46,.6));
  border: 1px solid var(--border); border-radius: var(--radius);
  padding: 24px; transition: border-color .18s ease, transform .18s ease, background .18s ease;
}
.card:hover { border-color: rgba(60,114,240,.5); transform: translateY(-3px); }
.card .ic {
  width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center;
  background: rgba(60,114,240,.12); border: 1px solid rgba(60,114,240,.28); color: var(--cobalt-2);
  margin-bottom: 16px;
}
.card .ic svg { width: 20px; height: 20px; }
.card h3 { margin-bottom: 8px; }
.card p { margin: 0; font-size: .95rem; }

.section-head { max-width: 60ch; margin-bottom: 40px; }
.section-head p { margin-top: 12px; }

.prose p { color: var(--text-dim); font-size: 1.02rem; line-height: 1.75; margin-bottom: 18px; max-width: 70ch; }
.prose p:last-child { margin-bottom: 0; }
.prose em { color: var(--text); font-style: italic; }

/* --- how it works / steps ---------------------------------------------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.step { padding: 26px; border-right: 1px solid var(--border-soft); }
.step:last-child { border-right: 0; }
.step .num { font-family: var(--mono); color: var(--cobalt-2); font-size: 13px; letter-spacing: .1em; }
.step h3 { margin: 12px 0 8px; font-size: 1.05rem; }
.step p { margin: 0; font-size: .92rem; }

/* --- code block (docs) -------------------------------------------------- */
.code {
  background: var(--bg-2); border: 1px solid var(--border); border-radius: var(--radius-sm);
  padding: 16px 18px; overflow-x: auto; margin: 16px 0;
}
.code pre { margin: 0; font-family: var(--mono); font-size: 13px; line-height: 1.65; color: #cdd7ef; white-space: pre; }
.code .c { color: var(--faint); }       /* comment */
.code .k { color: var(--cobalt-2); }     /* keyword */
.code .s { color: var(--amber-2); }      /* string  */

.callout {
  border: 1px solid var(--border); border-left: 3px solid var(--cobalt);
  background: rgba(60,114,240,.06); border-radius: var(--radius-sm);
  padding: 14px 18px; margin: 18px 0;
}
.callout.warn { border-left-color: var(--amber); background: rgba(242,169,59,.06); }
.callout p { margin: 0; color: var(--text-dim); font-size: .95rem; }
.callout .t { font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); display: block; margin-bottom: 6px; }

/* --- docs layout -------------------------------------------------------- */
.doc-grid { display: grid; grid-template-columns: 220px minmax(0,1fr); gap: 48px; align-items: start; }
.doc-side { position: sticky; top: 90px; font-size: .92rem; }
.doc-side .group { font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--faint); margin: 22px 0 10px; }
.doc-side a { display: block; padding: 6px 10px; border-radius: 7px; color: var(--text-dim); border-left: 2px solid transparent; }
.doc-side a:hover { color: var(--text); background: rgba(255,255,255,.03); }
.doc-side a.on { color: var(--cobalt-2); border-left-color: var(--cobalt); }
.doc-main h2 { margin-top: 8px; }
.doc-main h3 { margin: 34px 0 10px; }
.doc-main p { max-width: 70ch; }
.doc-main table { width: 100%; border-collapse: collapse; margin: 18px 0; font-size: .93rem; }
.doc-main th, .doc-main td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--border-soft); }
.doc-main th { font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.doc-main td.mono, .doc-main td code { font-family: var(--mono); color: var(--cobalt-2); }

/* --- pricing ------------------------------------------------------------ */
.price-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; align-items: stretch; }
.tier {
  background: linear-gradient(180deg, var(--surface), rgba(18,26,46,.55));
  border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column;
}
.tier.feature { border-color: rgba(60,114,240,.55); box-shadow: 0 0 0 1px rgba(60,114,240,.25), var(--shadow-sm); position: relative; }
.tier.feature::before {
  content: "Most deployed"; position: absolute; top: -11px; left: 28px;
  font-family: var(--mono); font-size: 10px; letter-spacing: .12em; text-transform: uppercase;
  background: linear-gradient(180deg, var(--cobalt-2), var(--cobalt)); color: #fff; padding: 4px 10px; border-radius: 999px;
}
.tier .pname { font-family: var(--mono); letter-spacing: .08em; text-transform: uppercase; font-size: 12px; color: var(--cobalt-2); }
.tier .price { font-size: 2.2rem; font-weight: 650; margin: 14px 0 2px; }
.tier .price small { font-size: .9rem; color: var(--muted); font-weight: 400; }
.tier .pdesc { color: var(--muted); font-size: .9rem; margin-bottom: 18px; }
.tier ul { list-style: none; padding: 0; margin: 0 0 22px; display: grid; gap: 10px; }
.tier li { font-size: .93rem; color: var(--text-dim); display: flex; gap: 10px; align-items: flex-start; }
.tier li svg { flex: none; margin-top: 3px; color: var(--emerald); width: 15px; height: 15px; }
.tier .btn { margin-top: auto; justify-content: center; }

/* --- changelog ---------------------------------------------------------- */
.log { border-left: 1px solid var(--border); margin-left: 8px; padding-left: 28px; }
.entry { position: relative; padding-bottom: 36px; }
.entry::before {
  content: ""; position: absolute; left: -35px; top: 4px; width: 13px; height: 13px; border-radius: 50%;
  background: var(--surface-3); border: 2px solid var(--cobalt);
}
.entry.fix::before { border-color: var(--amber); }
.entry .ver { font-family: var(--mono); font-size: 13px; color: var(--cobalt-2); letter-spacing: .04em; }
.entry .date { font-family: var(--mono); font-size: 12px; color: var(--faint); margin-left: 10px; }
.entry h3 { margin: 8px 0; font-size: 1.08rem; }
.entry ul { margin: 8px 0 0; padding-left: 18px; }
.entry li { color: var(--text-dim); font-size: .94rem; margin-bottom: 5px; }
.lbl { display: inline-block; font-family: var(--mono); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; padding: 2px 8px; border-radius: 5px; margin-right: 8px; vertical-align: middle; }
.lbl.new { background: rgba(60,114,240,.16); color: var(--cobalt-2); border: 1px solid rgba(60,114,240,.3); }
.lbl.fixlbl { background: rgba(242,169,59,.14); color: var(--amber-2); border: 1px solid rgba(242,169,59,.3); }
.lbl.known { background: rgba(247,108,108,.14); color: var(--danger); border: 1px solid rgba(247,108,108,.3); }

/* --- about -------------------------------------------------------------- */
.team { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; }
.member { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; text-align: center; }
.member .av { width: 56px; height: 56px; border-radius: 50%; margin: 0 auto 12px; background: linear-gradient(140deg, var(--cobalt-deep), var(--cobalt-2)); display: grid; place-items: center; font-family: var(--mono); font-weight: 600; color: #fff; }
.member .mname { font-weight: 600; }
.member .role { font-size: .84rem; color: var(--muted); font-family: var(--mono); }

.stat-band { display: grid; grid-template-columns: repeat(4,1fr); gap: 18px; text-align: center; }
.stat-band .b { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px 18px; }
.stat-band .v { font-family: var(--mono); font-size: 1.9rem; font-weight: 650; color: var(--text); }
.stat-band .k { font-size: .85rem; color: var(--muted); margin-top: 4px; }

/* --- page header (side pages) ------------------------------------------ */
.page-head { padding: 64px 0 30px; }
.page-head h1 { font-size: clamp(2rem, 3.6vw, 2.8rem); margin-bottom: 14px; }
.page-head .lead { max-width: 60ch; }

/* --- cta band ----------------------------------------------------------- */
.cta-band {
  background: linear-gradient(135deg, rgba(60,114,240,.16), rgba(35,75,184,.05));
  border: 1px solid rgba(60,114,240,.32); border-radius: var(--radius-lg);
  padding: 48px; text-align: center;
}
.cta-band h2 { margin-bottom: 14px; }
.cta-band p { max-width: 48ch; margin: 0 auto 26px; }
.cta-band .hero-cta { justify-content: center; }

/* --- footer ------------------------------------------------------------- */
.footer { border-top: 1px solid var(--border-soft); padding: 56px 0 40px; margin-top: 40px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 36px; }
.footer .brand { margin-bottom: 14px; }
.footer p { font-size: .9rem; color: var(--muted); max-width: 34ch; }
.fcol h4 { font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--faint); margin: 0 0 14px; }
.fcol a { display: block; color: var(--text-dim); font-size: .92rem; padding: 5px 0; }
.fcol a:hover { color: var(--text); }
.foot-base { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--border-soft); }
.foot-base span { font-size: .85rem; color: var(--faint); font-family: var(--mono); }

/* --- responsive --------------------------------------------------------- */
@media (max-width: 940px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .grid-3, .steps, .price-grid { grid-template-columns: 1fr; }
  .doc-grid { grid-template-columns: 1fr; }
  .doc-side { position: static; display: none; }
  .team, .stat-band { grid-template-columns: repeat(2,1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .step { border-right: 0; border-bottom: 1px solid var(--border-soft); }
  .step:last-child { border-bottom: 0; }
  .nav-links { display: none; }
}
@media (max-width: 560px) {
  .wrap { padding: 0 18px; }
  .section { padding: 64px 0; }
  .team, .stat-band, .footer-grid { grid-template-columns: 1fr; }
  .cta-band { padding: 32px 22px; }
}

/* --- accessibility ------------------------------------------------------ */
a:focus-visible, button:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--cobalt-2); outline-offset: 2px;
}
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; scroll-behavior: auto !important; transition: none !important; }
}
