/* AS199221 — site styles
   Layout concept: an engineering datasheet. A cool paper ground ruled like a spec sheet,
   mono labels for every measured value, and singlemode-fibre yellow reserved for the light path. */
:root {
  --bg: #edf0f2;
  --surface: #f8fafb;
  --ink: #0d1820;
  --muted: #4b5a65;
  --line: #c8d0d6;
  --line-soft: #dde3e7;
  --fibre: #f0b400;          /* singlemode jacket yellow: the light path */
  --fibre-ink: #7a5600;      /* fibre accent when it has to be text on light */
  --aqua: #006d74;           /* OM3 aqua: links, IPv6 */
  --panel: #0f1a22;          /* terminal / diagram panels */
  --panel-fg: #d9e4ea;
  --panel-muted: #7d8f9b;
  --panel-line: #24343f;
  --ok: #1f8a4c;
  --danger: #b3261e;

  --f-display: "Archivo", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  --f-body: "IBM Plex Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
  --f-mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;

  --step--1: 0.8125rem;
  --step-0: 1rem;
  --step-1: 1.1875rem;
  --step-2: 1.5rem;
  --step-3: clamp(1.75rem, 1.3rem + 1.8vw, 2.4rem);
  --step-4: clamp(2.3rem, 1.4rem + 3.8vw, 4.1rem);

  --gutter: clamp(16px, 4vw, 40px);
  --radius: 4px;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0a1015; --surface: #111a21; --ink: #e3ebf0; --muted: #8d9ca7;
    --line: #25333d; --line-soft: #18232b; --fibre: #f2c230; --fibre-ink: #f2c230;
    --aqua: #4cc9cc; --panel: #0d151b; --panel-fg: #d9e4ea; --panel-muted: #7d8f9b;
    --panel-line: #24343f; --ok: #46c27c; --danger: #ef6b5f;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0a1015; --surface: #111a21; --ink: #e3ebf0; --muted: #8d9ca7;
  --line: #25333d; --line-soft: #18232b; --fibre: #f2c230; --fibre-ink: #f2c230;
  --aqua: #4cc9cc; --panel: #0d151b; --panel-fg: #d9e4ea; --panel-muted: #7d8f9b;
  --panel-line: #24343f; --ok: #46c27c; --danger: #ef6b5f;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 var(--step-0)/1.6 var(--f-body);
  /* faint datasheet ruling */
  background-image: linear-gradient(var(--line-soft) 1px, transparent 1px);
  background-size: 100% 32px;
}
img, svg { max-width: 100%; }
a { color: var(--aqua); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid var(--fibre); outline-offset: 3px; }
h1, h2, h3 { font-family: var(--f-display); font-variation-settings: "wdth" 112; line-height: 1.05; text-wrap: balance; margin: 0; letter-spacing: -0.01em; }
h1 { font-size: var(--step-4); font-weight: 800; }
h2 { font-size: var(--step-3); font-weight: 750; }
h3 { font-size: var(--step-1); font-weight: 700; font-variation-settings: "wdth" 105; line-height: 1.2; }
p { margin: 0; }
.mono { font-family: var(--f-mono); }
.num { font-variant-numeric: tabular-nums; }

.wrap { max-width: 1200px; margin-inline: auto; padding-inline: var(--gutter); }
.stack { display: grid; gap: 1rem; }
.lede { font-size: var(--step-1); color: var(--muted); max-width: 60ch; }
.prose { max-width: 65ch; color: var(--muted); }
.label {
  font: 500 var(--step--1)/1.3 var(--f-mono);
  text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted);
  display: inline-flex; align-items: center; gap: .55em;
}
.label::before { content: ""; width: 14px; height: 2px; background: var(--fibre); }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; gap: 1.5rem; min-height: 64px; }
.brand { display: inline-flex; align-items: center; gap: .65rem; color: var(--ink); text-decoration: none; }
.brand-mark { width: 26px; height: 26px; flex: none; }
.brand-name { font: 600 1.02rem/1 var(--f-mono); letter-spacing: 0.02em; }
.brand-name small { display: block; white-space: nowrap; font: 500 .66rem/1.3 var(--f-mono); color: var(--muted); letter-spacing: .1em; text-transform: uppercase; margin-top: 3px; }
.nav { display: flex; gap: .25rem; margin-left: auto; align-items: center; }
.nav a {
  color: var(--ink); text-decoration: none; font-weight: 500; font-size: .95rem;
  padding: .5rem .75rem; border-radius: var(--radius); white-space: nowrap;
}
.nav a:hover { background: var(--surface); }
.nav a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--fibre); border-radius: 0; }
.nav-toggle { display: none; margin-left: auto; background: none; border: 1px solid var(--line); color: var(--ink); border-radius: var(--radius); padding: .45rem .7rem; font: 500 .85rem var(--f-mono); cursor: pointer; }
.avail-pill {
  display: inline-flex; align-items: center; gap: .5rem; white-space: nowrap;
  font: 500 .78rem/1 var(--f-mono); color: var(--ink);
  border: 1px solid var(--line); padding: .45rem .65rem; border-radius: 99px; background: var(--surface);
}
.led { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 3px color-mix(in srgb, var(--ok) 25%, transparent); }
@media (max-width: 1180px) {
  .avail-pill { display: none; }
}
@media (max-width: 860px) {
  .nav-toggle { display: inline-block; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 0;
         background: var(--bg); border-bottom: 1px solid var(--line); padding: .5rem var(--gutter) 1rem; }
  .nav.open { display: flex; }
  .nav a { padding: .8rem .25rem; border-bottom: 1px solid var(--line-soft); }
  .nav .btn { margin-top: .75rem; justify-content: center; }
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .6rem;
  font: 600 .95rem/1 var(--f-body); text-decoration: none; cursor: pointer;
  padding: .85rem 1.15rem; border-radius: var(--radius); border: 1px solid transparent;
  transition: transform .15s ease, background-color .15s ease;
}
.btn-primary { background: var(--fibre); color: #1a1300; }
.btn-primary:hover { background: color-mix(in srgb, var(--fibre) 85%, #fff); transform: translateY(-1px); }
.btn-ghost { border-color: var(--line); color: var(--ink); background: var(--surface); }
.btn-ghost:hover { border-color: var(--ink); }
.nav .btn { padding: .6rem .9rem; margin-left: .5rem; }
.btn .arrow { font-family: var(--f-mono); }

/* ---------- sections ---------- */
section { padding-block: clamp(3rem, 7vw, 6rem); }
.section-head { display: grid; gap: .9rem; margin-bottom: 2.5rem; max-width: 760px; }
.rule-top { border-top: 1px solid var(--line); }

/* hero */
.hero { padding-block: clamp(2.5rem, 6vw, 5rem) clamp(2.5rem, 5vw, 4rem); position: relative; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.hero h1 em { font-style: normal; color: var(--fibre-ink); }
.hero .lede { margin-top: 1.4rem; }
.hero-cta { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }
.hero-meta { margin-top: 1.25rem; font: 400 var(--step--1)/1.5 var(--f-mono); color: var(--muted); }
@media (max-width: 900px) { .hero-grid { grid-template-columns: minmax(0, 1fr); } }

/* light path: a fibre run under the header with a travelling pulse */
.lightpath { position: relative; height: 2px; background: color-mix(in srgb, var(--fibre) 35%, transparent); overflow: hidden; }
.lightpath::after {
  content: ""; position: absolute; top: 0; left: -20%; width: 20%; height: 100%;
  background: linear-gradient(90deg, transparent, var(--fibre), transparent);
  animation: travel 4.5s linear infinite;
}
@keyframes travel { to { left: 110%; } }

/* terminal panel */
.term {
  background: var(--panel); color: var(--panel-fg); border-radius: 6px;
  border: 1px solid var(--panel-line);
  font: 400 .84rem/1.75 var(--f-mono); overflow: hidden; min-width: 0;
  box-shadow: 0 24px 60px -30px rgba(5, 15, 25, .55);
}
.term-bar { display: flex; align-items: center; gap: .45rem; padding: .65rem .9rem; border-bottom: 1px solid var(--panel-line); color: var(--panel-muted); font-size: .75rem; }
.term-bar i { width: 9px; height: 9px; border-radius: 50%; background: var(--panel-line); }
.term-bar span { margin-left: .5rem; }
.term pre { margin: 0; padding: 1rem 1.1rem 1.2rem; overflow-x: auto; font: inherit; }
.term .k { color: var(--panel-muted); }
.term .v { color: var(--panel-fg); }
.term .y { color: #f2c230; }
.term .a { color: #4cc9cc; }
.term .ok { color: #46c27c; }
.cursor { display: inline-block; width: .6em; height: 1.05em; vertical-align: -0.15em; background: #f2c230; animation: blink 1.1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }

/* key figures strip */
.figures { border-block: 1px solid var(--line); background: var(--surface); }
.figures ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); }
.figures li { padding: 1.25rem 1rem; border-left: 1px solid var(--line-soft); display: grid; gap: .25rem; }
.figures li:first-child { border-left: 0; }
.figures b { font: 750 1.5rem/1.1 var(--f-display); font-variation-settings: "wdth" 112; font-variant-numeric: tabular-nums; }
.figures span { font: 400 .74rem/1.3 var(--f-mono); color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
@media (max-width: 900px) { .figures ul { grid-template-columns: repeat(3, minmax(0, 1fr)); } .figures li:nth-child(4) { border-left: 0; } .figures li:nth-child(n+4) { border-top: 1px solid var(--line-soft); } }
@media (max-width: 480px) { .figures ul { grid-template-columns: repeat(2, minmax(0, 1fr)); } .figures li { border-left: 0; border-top: 1px solid var(--line-soft); } .figures li:nth-child(even) { border-left: 1px solid var(--line-soft); } .figures li:nth-child(-n+2) { border-top: 0; } }

/* two offers */
.offers { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; }
.offer {
  background: var(--surface); border: 1px solid var(--line); border-radius: 6px;
  padding: clamp(1.4rem, 3vw, 2.2rem); display: grid; gap: 1rem; align-content: start;
  text-decoration: none; color: var(--ink); position: relative;
}
.offer:hover { border-color: var(--ink); }
.offer .where { font: 500 .78rem/1.3 var(--f-mono); color: var(--muted); }
.offer h3 { font-size: var(--step-2); }
.offer p { color: var(--muted); }
.offer .more { font: 600 .9rem var(--f-body); color: var(--aqua); }
.offer dl { display: grid; grid-template-columns: auto 1fr; gap: .35rem 1.25rem; margin: 0; font: 400 .85rem/1.4 var(--f-mono); }
.offer dt { color: var(--muted); }
.offer dd { margin: 0; }
.sofia-note { margin-top: 1.25rem; display: flex; gap: 1rem; align-items: baseline; flex-wrap: wrap; padding: 1rem 1.25rem; border: 1px dashed var(--line); border-radius: 6px; color: var(--muted); }
.sofia-note strong { color: var(--ink); }
@media (max-width: 760px) { .offers { grid-template-columns: minmax(0, 1fr); } }

/* network diagram */
.diagram-wrap { background: var(--panel); border: 1px solid var(--panel-line); border-radius: 6px; padding: clamp(.75rem, 2vw, 1.5rem); overflow-x: auto; }
.diagram { display: block; width: 100%; min-width: 680px; height: auto; }
.diagram .box { fill: #13212b; stroke: #2c3f4c; }
.diagram .box-home { fill: #1b2a14; stroke: #f2c230; }
.diagram .t-title { fill: #e3ebf0; font: 600 15px var(--f-body); }
.diagram .t-item { fill: #e3ebf0; font: 600 13.5px var(--f-body); }
.diagram .t-sub { fill: #8d9ca7; font: 400 11.5px var(--f-mono); }
.diagram .t-link { fill: #f2c230; font: 500 11.5px var(--f-mono); }
.diagram .t-aqua { fill: #4cc9cc; font: 500 11.5px var(--f-mono); }
.diagram .t-head { fill: #8d9ca7; font: 500 10.5px var(--f-mono); letter-spacing: .12em; }
.diagram .fibre { fill: none; stroke: #f2c230; stroke-width: 2.5; }
.diagram .fibre-dim { fill: none; stroke: #f2c230; stroke-opacity: .25; stroke-width: 8; }
.diagram .bus { fill: none; stroke: #4cc9cc; stroke-width: 1.5; stroke-opacity: .8; }
.diagram .pulse { fill: #fff6d6; }
.diagram .pulse-a { fill: #c9f5f6; }
.diagram-caption { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; margin-top: 1rem; font: 400 .8rem/1.4 var(--f-mono); color: var(--muted); }
.key { display: inline-flex; align-items: center; gap: .5rem; }
.key i { width: 18px; height: 3px; background: var(--fibre); display: inline-block; }
.key i.aq { background: var(--aqua); height: 2px; }

/* spec table */
.spec { width: 100%; border-collapse: collapse; font-size: .95rem; }
.spec th, .spec td { text-align: left; padding: .85rem 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.spec th { width: 38%; font: 500 .8rem/1.5 var(--f-mono); color: var(--muted); text-transform: uppercase; letter-spacing: .06em; padding-right: 1rem; }
.spec td { font-variant-numeric: tabular-nums; }
.spec td .mono { font-size: .9rem; }
.table-scroll { overflow-x: auto; }

/* split layout */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.split > * { min-width: 0; }
@media (max-width: 860px) { .split { grid-template-columns: minmax(0, 1fr); } }

/* points list */
.points { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line); }
.points > div { padding: 1.5rem 1.5rem 1.5rem 0; display: grid; gap: .6rem; align-content: start; }
.points > div + div { padding-left: 1.5rem; border-left: 1px solid var(--line); }
.points p { color: var(--muted); }
.points .tag { font: 500 .75rem var(--f-mono); color: var(--fibre-ink); letter-spacing: .06em; text-transform: uppercase; }
@media (max-width: 860px) {
  .points { grid-template-columns: minmax(0, 1fr); }
  .points > div + div { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
}

/* trust / verify */
.verify { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.verify a {
  display: grid; gap: .35rem; padding: 1.1rem 1.2rem; border: 1px solid var(--line); border-radius: 6px;
  background: var(--surface); text-decoration: none; color: var(--ink);
}
.verify a:hover { border-color: var(--aqua); }
.verify .host { font: 500 .8rem var(--f-mono); color: var(--aqua); }
.verify .what { font-size: .9rem; color: var(--muted); }
@media (max-width: 760px) { .verify { grid-template-columns: minmax(0, 1fr); } }

/* racks */
.racks { display: flex; gap: clamp(.5rem, 1.5vw, 1rem); align-items: flex-end; }
.rack { flex: 1 1 0; min-width: 0; display: grid; gap: .5rem; justify-items: center; }
.rack-body {
  width: 100%; max-width: 92px; aspect-ratio: 60 / 200; border-radius: 3px;
  background:
    linear-gradient(90deg, var(--panel-line) 0 7%, transparent 7% 93%, var(--panel-line) 93%),
    repeating-linear-gradient(180deg, transparent 0 9px, rgba(255,255,255,.05) 9px 10px),
    var(--panel);
  border: 1px solid var(--panel-line);
  position: relative;
}
.rack-body::after { content: ""; position: absolute; left: 50%; top: 8px; width: 6px; height: 6px; margin-left: -3px; border-radius: 50%; background: #f2c230; box-shadow: 0 0 8px #f2c230; }
.rack span { font: 500 .72rem var(--f-mono); color: var(--muted); }
.racks-caption { margin-top: 1rem; font: 400 .85rem/1.5 var(--f-mono); color: var(--muted); }

/* power bars */
.power { display: grid; gap: 1.1rem; }
.power-row { display: grid; gap: .4rem; }
.power-row .top { display: flex; justify-content: space-between; gap: 1rem; font: 500 .85rem var(--f-mono); }
.power-row .top span:last-child { color: var(--muted); }
.bar { height: 14px; background: var(--line-soft); border-radius: 2px; overflow: hidden; }
.bar i { display: block; height: 100%; background: var(--fibre); }
.bar i.aq { background: var(--aqua); }
.axis { display: flex; justify-content: space-between; font: 400 .72rem var(--f-mono); color: var(--muted); font-variant-numeric: tabular-nums; }

/* speed scale */
.scale { position: relative; padding-top: 2.5rem; padding-bottom: 3.2rem; margin-inline: 1.5rem; }
.scale-track { height: 10px; border-radius: 2px; background: linear-gradient(90deg, color-mix(in srgb, var(--fibre) 25%, transparent), var(--fibre) 86.7%, transparent 86.7%); border: 1px solid var(--line); }
.scale-track::after { content: ""; position: absolute; left: 86.7%; right: 0; top: calc(2.5rem + 4px); border-top: 2px dashed var(--muted); }
.tick { position: absolute; top: 0; transform: translateX(-50%); display: grid; justify-items: center; gap: .2rem; width: max-content; }
.tick b { font: 750 1.05rem/1 var(--f-display); font-variation-settings: "wdth" 112; }
.tick::after { content: ""; width: 1px; height: 22px; background: var(--ink); margin-top: .2rem; }
.tick small { position: absolute; top: calc(2.5rem + 22px); font: 400 .7rem/1.3 var(--f-mono); color: var(--muted); text-align: center; white-space: nowrap; }
.tick.head b { color: var(--muted); }
.tick.head::after { background: var(--muted); }
@media (max-width: 560px) { .tick small { display: none; } .scale { padding-bottom: 1.5rem; } .tick b { font-size: .85rem; } }

/* feature list */
.features { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 2rem; }
.features li { padding: .9rem 0 .9rem 1.75rem; border-bottom: 1px solid var(--line); position: relative; }
.features li::before { content: ""; position: absolute; left: 0; top: 1.35rem; width: 12px; height: 2px; background: var(--fibre); }
.features li b { display: block; }
.features li span { color: var(--muted); font-size: .92rem; }
@media (max-width: 640px) { .features { grid-template-columns: minmax(0, 1fr); } }

/* product cards */
.products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.product { border: 1px solid var(--line); border-radius: 6px; padding: 1.4rem; background: var(--surface); display: grid; gap: .7rem; align-content: start; }
.product .code { font: 500 .74rem var(--f-mono); color: var(--fibre-ink); letter-spacing: .08em; text-transform: uppercase; }
.product p { color: var(--muted); font-size: .95rem; }
@media (max-width: 860px) { .products { grid-template-columns: minmax(0, 1fr); } }

/* prefixes */
.prefixes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; }
.prefixes > div { min-width: 0; }
.prefixes ul { list-style: none; margin: .75rem 0 0; padding: 0; font: 400 .92rem/1 var(--f-mono); }
.prefixes li { padding: .7rem 0; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; gap: 1rem; overflow-wrap: anywhere; }
.prefixes li span { color: var(--muted); font-size: .78rem; }
@media (max-width: 640px) { .prefixes { grid-template-columns: minmax(0, 1fr); } }

/* lead form band */
.lead { background: var(--panel); color: var(--panel-fg); }
.lead .label { color: var(--panel-muted); }
.lead h2 { color: #f2f6f8; }
.lead .prose, .lead .lede { color: var(--panel-muted); }
.lead-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.lead-contact { display: grid; gap: .6rem; margin-top: 1.75rem; font: 400 .92rem/1.4 var(--f-mono); }
.lead-contact a { color: #f2c230; }
.lead-contact div { display: flex; gap: .75rem; align-items: baseline; flex-wrap: wrap; }
.lead-contact .k { color: var(--panel-muted); width: 5.5em; flex: none; font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; }
@media (max-width: 860px) { .lead-grid { grid-template-columns: minmax(0, 1fr); } }

.form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.form .full { grid-column: 1 / -1; }
.field { display: grid; gap: .4rem; min-width: 0; }
.field label { font: 500 .76rem var(--f-mono); text-transform: uppercase; letter-spacing: .07em; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; font: 400 1rem/1.4 var(--f-body); color: var(--ink);
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: .75rem .85rem;
}
.field textarea { min-height: 7rem; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--fibre); outline-offset: 0; border-color: transparent; }
.field .err { color: var(--danger); font-size: .82rem; }
.form-actions { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
.form-actions small { color: var(--muted); font-size: .82rem; }
/* dark variant for forms inside the lead band */
.lead .field label { color: var(--panel-muted); }
.lead .field input, .lead .field select, .lead .field textarea { background: #15222b; color: #e3ebf0; border-color: #2c3f4c; color-scheme: dark; }
.lead .field .err { color: #ef8a80; }
.lead .form-actions small { color: var(--panel-muted); }

.sent { display: grid; gap: .9rem; padding: 1.4rem; border: 1px solid var(--line); border-radius: 6px; background: var(--surface); }
.lead .sent { background: #13212b; border-color: #2c3f4c; }
.sent h3 { display: flex; align-items: center; gap: .6rem; }
.sent pre { margin: 0; padding: .9rem 1rem; background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); font: 400 .82rem/1.55 var(--f-mono); white-space: pre-wrap; overflow-wrap: anywhere; }
.lead .sent pre { background: #0d151b; border-color: #24343f; color: #d9e4ea; }
.sent .row { display: flex; gap: .75rem; flex-wrap: wrap; align-items: center; }
.sent p { color: var(--muted); }
.lead .sent p { color: var(--panel-muted); }

/* contact page */
.contact-card { display: grid; gap: 0; border-top: 1px solid var(--line); }
.contact-card > div { display: grid; grid-template-columns: 7.5rem minmax(0, 1fr); gap: 1rem; padding: 1rem 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.contact-card .k { font: 500 .76rem var(--f-mono); text-transform: uppercase; letter-spacing: .07em; color: var(--muted); }
.contact-card .v { font-size: 1.05rem; overflow-wrap: anywhere; }
.copy { font: 500 .72rem var(--f-mono); background: none; border: 1px solid var(--line); color: var(--muted); border-radius: var(--radius); padding: .25rem .5rem; cursor: pointer; margin-left: .5rem; vertical-align: 2px; }
.copy:hover { color: var(--ink); border-color: var(--ink); }

/* page hero (inner pages) */
.page-hero { padding-block: clamp(2.5rem, 6vw, 4.5rem) clamp(2rem, 4vw, 3rem); border-bottom: 1px solid var(--line); }
.page-hero .wrap { display: grid; gap: 1.2rem; }
.crumb { font: 400 .8rem var(--f-mono); color: var(--muted); }
.crumb a { color: var(--muted); }

/* footer */
.site-footer { border-top: 1px solid var(--line); padding-block: 3rem 2.5rem; font-size: .9rem; color: var(--muted); }
.foot-grid { display: grid; grid-template-columns: 1.4fr repeat(3, minmax(0, 1fr)); gap: 2rem; }
.foot-grid h4 { margin: 0 0 .8rem; font: 500 .74rem var(--f-mono); color: var(--ink); text-transform: uppercase; letter-spacing: .08em; }
.foot-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .45rem; }
.foot-grid a { color: var(--muted); text-decoration: none; }
.foot-grid a:hover { color: var(--ink); text-decoration: underline; }
.foot-base { margin-top: 2.5rem; padding-top: 1.25rem; border-top: 1px solid var(--line-soft); display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font: 400 .78rem var(--f-mono); }
@media (max-width: 860px) { .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .foot-grid { grid-template-columns: minmax(0, 1fr); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .diagram .pulse, .diagram .pulse-a { display: none; }
}
