/* Linkplus International — "Flow" version of the periwinkle concept, with the world-map hero.
   Surfaces come in three states: raised (white, tinted shadow), flat (paper), inset (wells).
   Radius follows hierarchy: tray 28, tile 20, cell 12, control 11.
   Text colours are chosen for WCAG AAA (7:1) on every surface they sit on; see NOTES.md. */

:root {
  --paper: #EEF1FA;
  --well: #F1F3FB;
  --ink: #1A1D3D;
  --ink-2: #3A3F63;      /* secondary text, 7.6:1 or better on every light surface used */
  --peri: #6066AE;       /* logo periwinkle, graphics only */
  --peri-d: #484E99;     /* button fill, white text on it is 7.4:1 */
  --peri-t: #363B82;     /* periwinkle for text */
  --blue: #33A1FF;       /* the point you pay, graphics only */
  --blue-d: #0A6CD1;     /* focus ring */
  --blue-t: #06478B;     /* blue for text */
  --rose: #C4265E;       /* rejected traffic, graphics only */
  --rose-t: #7F173C;     /* rose for text */
  --line: rgba(72, 78, 153, .18);
  --line-2: rgba(72, 78, 153, .1);
  --raise: 0 0 0 1px rgba(72, 78, 153, .08), 0 1px 2px rgba(38, 43, 105, .06), 0 10px 26px -12px rgba(38, 43, 105, .18);
  --raise-hi: 0 0 0 1px rgba(72, 78, 153, .1), 0 2px 4px rgba(38, 43, 105, .05), 0 26px 50px -18px rgba(38, 43, 105, .24), 0 70px 120px -50px rgba(40, 110, 215, .3);
  --inset: inset 0 1px 2px rgba(38, 43, 105, .09), inset 0 0 0 1px rgba(72, 78, 153, .07);
  --display: "Funnel Display", "Avenir Next", "Segoe UI", system-ui, sans-serif;
  --sans: "Funnel Sans", "Avenir Next", "Segoe UI", system-ui, sans-serif;
  --ease: cubic-bezier(.3, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font: 400 17px/1.6 var(--sans);
  color: var(--ink);
  background:
    radial-gradient(1100px 560px at 88% -80px, rgba(51, 161, 255, .16), transparent 62%),
    radial-gradient(900px 520px at 0% 60px, rgba(96, 102, 174, .14), transparent 62%),
    var(--paper);
  background-repeat: no-repeat;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
button, input, textarea { font: inherit; color: inherit; }
a { color: inherit; }
abbr { text-decoration: none; }

h1, h2, h3 { font-family: var(--display); font-weight: 600; text-wrap: balance; }
h1 { font-size: clamp(2.25rem, 1.35rem + 3.1vw, 3.5rem); line-height: 1.06; letter-spacing: -.028em; }
h2 { font-size: clamp(1.75rem, 1.2rem + 2vw, 2.6rem); line-height: 1.1; letter-spacing: -.022em; }
h3 { font-size: 1.25rem; line-height: 1.25; letter-spacing: -.01em; }

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

.wrap { width: 100%; max-width: 1288px; margin-inline: auto; padding-inline: clamp(18px, 4vw, 48px); }
.vh { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -80px; z-index: 100; background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 11px; }
.skip:focus { top: 12px; }

/* ---------- buttons, links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 22px; border: 0; border-radius: 11px;
  font: 600 1rem/1 var(--sans); text-decoration: none; cursor: pointer;
  transition: transform .15s var(--ease), background-color .15s;
}
.btn-primary {
  color: #fff; background: var(--peri-d);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .28), inset 0 -1px 0 rgba(20, 22, 70, .25), 0 1px 2px rgba(38, 43, 105, .3), 0 8px 18px -8px rgba(72, 78, 153, .7);
}
.btn-primary:hover { background: #3E4490; transform: translateY(-1px); }
.btn-primary:active { transform: translateY(0); }
.link {
  display: inline-flex; align-items: center; min-height: 48px;
  color: var(--peri-t); font-weight: 600; text-underline-offset: 5px; text-decoration-thickness: 1.5px;
}
.link:hover { text-decoration-thickness: 2.5px; }

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(238, 241, 250, .86);
  -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid var(--line-2);
}
.nav-in { display: flex; align-items: center; gap: 20px; min-height: 68px; }
.brand { display: flex; align-items: center; flex: none; min-height: 44px; border-radius: 6px; }
.brand img { width: 104px; }
.nav-wide { margin-left: auto; }
.nav-links, .footer-links { display: flex; flex-wrap: wrap; gap: 2px; }
.nav-links a, .footer-links a {
  display: flex; align-items: center; min-height: 44px; padding: 0 13px; border-radius: 10px;
  font-weight: 500; color: var(--ink-2); text-decoration: none;
  transition: color .15s, background-color .15s;
}
.nav-links a:hover, .footer-links a:hover { color: var(--ink); background: rgba(96, 102, 174, .12); }
.nav-cta { min-height: 44px; padding: 0 18px; }

/* phone menu: a native disclosure, so it opens without JavaScript */
.menu { display: none; }
.menu summary {
  display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 14px; border-radius: 11px;
  font-weight: 600; cursor: pointer; list-style: none; user-select: none;
  background: #fff; box-shadow: var(--raise);
}
.menu summary::-webkit-details-marker { display: none; }
.menu-icon { position: relative; width: 18px; height: 12px; }
.menu-icon::before, .menu-icon::after {
  content: ""; position: absolute; left: 0; width: 18px; height: 2px; border-radius: 1px; background: var(--ink);
  transition: transform .2s var(--ease);
}
.menu-icon::before { top: 1px; }
.menu-icon::after { bottom: 1px; }
.menu[open] .menu-icon::before { transform: translateY(4px) rotate(45deg); }
.menu[open] .menu-icon::after { transform: translateY(-4px) rotate(-45deg); }
.menu nav {
  position: absolute; left: 0; right: 0; top: 100%;
  padding: 6px clamp(18px, 4vw, 48px) 20px;
  background: var(--paper); border-bottom: 1px solid var(--line);
  box-shadow: 0 30px 40px -24px rgba(38, 43, 105, .35);
}
.menu li + li { border-top: 1px solid var(--line-2); }
.menu li a:not(.btn) { display: flex; align-items: center; min-height: 52px; font: 600 1.15rem var(--display); text-decoration: none; }
.menu li:last-child { border-top: 0; padding-top: 10px; }
.menu .btn { display: flex; }

/* ---------- hero ---------- */
.hero { padding: clamp(28px, 4vw, 56px) 0 clamp(48px, 6vw, 84px); }
/* headline across the top, paragraph left and actions right beneath it */
.hero-copy { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 48px; align-items: end; }
.tagline, h1 { grid-column: 1 / -1; }
.tagline { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; font-weight: 600; color: var(--peri-t); }
.tagline::before { content: ""; flex: none; width: 7px; height: 18px; border-radius: 4px; background: linear-gradient(var(--blue), var(--peri)); }
h1 span { display: block; }
@media (min-width: 1680px) { .wrap { max-width: 1420px; } }
.lede { margin-top: 24px; font-size: 1.12rem; color: var(--ink-2); max-width: 34em; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 26px; margin-top: 28px; }

/* the figure: a world map of traffic, the three bars of the mark, the point you pay.
   No frame. The stage keeps one of three shapes (wide, mid, tall); scene.js lays the
   drawing out in fractions of the stage, so the labels below can sit in percentages
   over both the static SVG and the live canvas. Numbers come from tools/build-static.js. */
.map { margin-top: clamp(28px, 3.2vw, 44px); }
.map-stage { position: relative; aspect-ratio: 10 / 3; }
.map-static, .map-stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.map-static img { width: 100%; height: 100%; }
.map.is-live .map-static { visibility: hidden; }
.map-labels { position: absolute; inset: 0; pointer-events: none; }
.ml { position: absolute; }
.ml strong, .ml span { display: block; }
.ml strong { font: 600 17px/1.3 var(--sans); color: var(--ink); }
.ml span { font: 500 16px/1.35 var(--sans); color: var(--ink-2); }
.ml-src { left: 0; top: 0; }
.ml-gate { left: 66.2%; top: 0; transform: translateX(-50%); white-space: nowrap; }
.ml-bad { left: calc(70.8% + 45px); top: calc(72.8% + 12px); width: 7.6em; }
.ml-bad strong { color: var(--rose-t); }
.ml-pay { left: 87.5%; top: calc(46.4% + 42px); transform: translateX(-50%); text-align: center; white-space: nowrap; }
.ml-pay strong { color: var(--blue-t); }
.ml-ok { right: 0; top: calc(46.4% - 52px); white-space: nowrap; }
.map-probe {
  position: absolute; left: 0; top: 0; padding: 5px 10px; border-radius: 9px;
  font: 500 14px/1.35 var(--sans); font-variant-numeric: tabular-nums; white-space: pre;
  color: var(--ink); background: #fff; box-shadow: var(--raise);
}
.map figcaption { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 32px; margin-top: 16px; font-size: .94rem; color: var(--ink-2); }
/* the running totals of the simulation, written as part of the caption; hidden until it runs */
.map-run { visibility: hidden; font-variant-numeric: tabular-nums; }
.map.is-running .map-run { visibility: visible; }
.map-run span { white-space: nowrap; }
.map-run b { font-weight: 600; color: var(--ink); }

/* ---------- figures ---------- */
.figures { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: clamp(36px, 4.4vw, 60px); padding-top: clamp(24px, 3vw, 36px); border-top: 1px solid var(--line); }
.figures div { padding: 0 clamp(14px, 3vw, 40px); border-left: 1px solid var(--line); }
.figures div:first-child { padding-left: 0; border-left: 0; }
.figures dd { font: 600 clamp(2.2rem, 5vw, 4rem)/1 var(--display); letter-spacing: -.035em; color: var(--peri-t); }
.figures dt { margin-top: 8px; color: var(--ink-2); }

/* ---------- about ---------- */
.about { padding: clamp(40px, 6vw, 96px) 0 clamp(48px, 7vw, 104px); }
.about-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 80px); align-items: start; }
.about-copy { display: grid; gap: 20px; font-size: 1.12rem; color: var(--ink-2); max-width: 33em; }
.about-copy p:first-child { color: var(--ink); }

/* ---------- section head ---------- */
.sec-head { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(16px, 4vw, 64px); align-items: end; margin-bottom: clamp(28px, 3.6vw, 48px); }
.sec-head p { color: var(--ink-2); max-width: 32em; }

/* ---------- pricing models ---------- */
.tray {
  padding: clamp(22px, 4vw, 56px); border-radius: 28px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .72), rgba(255, 255, 255, .42));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .9), 0 0 0 1px var(--line-2), 0 30px 60px -40px rgba(38, 43, 105, .25);
}
.model-rows { border-radius: 16px; background: #fff; box-shadow: var(--raise); }
.model {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 440px); grid-template-areas: "id track" "desc track";
  gap: 12px clamp(24px, 4vw, 64px); align-items: center;
  padding: 28px clamp(18px, 2.6vw, 36px); border-top: 1px solid var(--line-2);
}
.model:first-child { border-top: 0; }
.m-id { grid-area: id; display: flex; align-items: center; gap: 14px; align-self: end; }
.m-id abbr {
  display: grid; place-items: center; flex: none; width: 62px; height: 42px; border-radius: 10px;
  font: 600 1.1rem var(--display); color: var(--peri-t); background: var(--well); box-shadow: var(--inset);
}
.m-desc { grid-area: desc; align-self: start; color: var(--ink-2); max-width: 32em; }
.track { grid-area: track; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.track li { position: relative; padding-top: 30px; text-align: center; font-size: .94rem; color: var(--ink-2); }
.track li::before { content: ""; position: absolute; left: 50%; top: 4px; z-index: 1; width: 14px; height: 14px; margin-left: -7px; border-radius: 50%; background: #fff; box-shadow: inset 0 0 0 2.5px #8E94C8; }
.track li::after { content: ""; position: absolute; left: 50%; top: 10px; width: 100%; height: 2px; background: #C9CDEA; }
.track li:last-child::after { display: none; }
.track .pay { color: var(--ink); font-weight: 600; }
.track .pay::before { top: 0; width: 22px; height: 22px; margin-left: -11px; background: var(--blue); box-shadow: inset 0 0 0 5px #fff, 0 0 0 2.5px var(--blue), 0 6px 12px -3px rgba(51, 161, 255, .75); }
.track-key { display: flex; flex-wrap: wrap; gap: 8px 28px; margin-top: 22px; font-size: .94rem; color: var(--ink-2); }
.track-key span { display: inline-flex; align-items: center; gap: 10px; }
.key-dot { width: 14px; height: 14px; border-radius: 50%; background: #fff; box-shadow: inset 0 0 0 2.5px #8E94C8; }
.key-dot.pay { background: var(--blue); box-shadow: inset 0 0 0 3.5px #fff, 0 0 0 2px var(--blue); }

/* ---------- strengths ---------- */
.strengths { padding: clamp(56px, 8vw, 120px) 0 0; }
.grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 18px; }
.tile { display: flex; flex-direction: column; gap: 26px; justify-content: space-between; min-width: 0; padding: clamp(20px, 2.4vw, 32px); border-radius: 20px; }
.tile-text p { margin-top: 10px; color: var(--ink-2); max-width: 32em; }
.tile-tech { grid-column: span 7; background: #fff; box-shadow: var(--raise); }
.tile-data { grid-column: span 5; background: linear-gradient(160deg, #E2E6F8, #D9DEF4); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .7), 0 0 0 1px var(--line-2); }
.tile-fraud { grid-column: span 5; color: #fff; background: linear-gradient(165deg, #2A2E68, #1B1E4A); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .14), 0 24px 44px -24px rgba(27, 30, 74, .7); }
.tile-fraud .tile-text p { color: #D6D9F3; }
.tile-multi { grid-column: span 7; background: #fff; box-shadow: var(--raise); }
.tile-exp { grid-column: span 5; background: linear-gradient(165deg, #DDEEFF, #EAF3FF 60%, #F4F8FF); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .8), 0 0 0 1px rgba(51, 161, 255, .18); }
.tile-quality { grid-column: span 7; background: #fff; box-shadow: var(--raise); }
.mini { font-size: .94rem; line-height: 1.45; }
.mini-note { margin-top: 14px; color: var(--ink-2); }

/* technical: three steps in a row */
.pipe { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; padding: 26px 22px; border-radius: 14px; background: var(--well); box-shadow: var(--inset); }
.pipe li { position: relative; padding: 18px 18px; border-radius: 11px; background: #fff; box-shadow: var(--raise); }
.pipe strong { display: block; font: 600 1.06rem var(--display); }
.pipe span { display: block; margin-top: 3px; color: var(--ink-2); }
.pipe li + li::before { content: ""; position: absolute; right: calc(100% + 9px); top: 50%; width: 22px; height: 2px; background: var(--peri); }
.pipe li + li::after { content: ""; position: absolute; right: calc(100% + 9px); top: 50%; width: 9px; height: 9px; margin-top: -4px; border: solid var(--peri); border-width: 2px 2px 0 0; transform: rotate(45deg); }

/* data-driven: a drawn pacing curve */
.pace { padding: 18px 18px 16px; border-radius: 14px; background: rgba(255, 255, 255, .8); box-shadow: var(--raise); }
.pace svg { width: 100%; }
.pace-x { display: flex; justify-content: space-between; margin-top: 4px; color: var(--ink-2); }
.legend { display: flex; flex-wrap: wrap; gap: 6px 22px; margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line-2); }
.legend li { display: flex; align-items: center; gap: 9px; }
.lg { flex: none; width: 22px; height: 4px; border-radius: 2px; }
.lg-plan { height: 2px; background: repeating-linear-gradient(90deg, var(--ink) 0 3px, transparent 3px 8px); }
.lg-spend { background: linear-gradient(90deg, var(--peri), var(--blue)); }
.lg-adj { width: 14px; height: 14px; border-radius: 50%; background: #fff; box-shadow: inset 0 0 0 3px var(--peri-t); }

/* anti-fraud: plain list on the dark tile */
.mini-head { font-weight: 600; }
.checks ul { margin-top: 10px; border-bottom: 1px solid rgba(255, 255, 255, .16); }
.checks li { display: flex; align-items: center; gap: 12px; padding: 11px 0; border-top: 1px solid rgba(255, 255, 255, .16); }
.checks li::before { content: ""; flex: none; width: 5px; height: 18px; border-radius: 3px; background: #FF7FA8; }
.verdict { margin-top: 16px; color: #D6D9F3; }

/* multichannel: a small table */
.matrix { width: 100%; border-collapse: collapse; }
.matrix th, .matrix td { padding: 10px 8px; text-align: center; }
.matrix thead th { font: 600 1rem var(--display); padding-top: 0; }
.matrix tbody th { text-align: left; font-weight: 500; padding-left: 0; }
.matrix tbody tr { border-top: 1px solid var(--line-2); }
.matrix td i { display: block; width: 10px; height: 10px; margin: auto; border-radius: 50%; box-shadow: inset 0 0 0 2px #B9BEE2; }
.matrix td i.on { width: 20px; height: 20px; background: linear-gradient(var(--blue), var(--peri)); box-shadow: 0 3px 8px -2px rgba(72, 78, 153, .6); }
.matrix caption { caption-side: bottom; padding-top: 14px; text-align: left; color: var(--ink-2); }

/* experience */
.year-bars { display: grid; grid-template-columns: repeat(20, minmax(0, 1fr)); gap: 4px; height: 96px; clip-path: polygon(0 68%, 100% 0, 100% 100%, 0 100%); }
.year-bars i { border-radius: 3px 3px 0 0; background: linear-gradient(var(--blue), var(--peri)); }
.years p { margin-top: 14px; font-size: 1rem; color: var(--ink-2); }
.years strong { font: 600 1.9rem/1 var(--display); color: var(--peri-t); margin-right: 4px; }

/* quality: the path of one conversion, as a list */
.trace li { position: relative; display: grid; grid-template-columns: 124px minmax(0, 1fr); gap: 2px 16px; padding: 0 0 16px 30px; }
.trace li:last-child { padding-bottom: 0; }
.trace li::before { content: ""; position: absolute; left: 0; top: 4px; z-index: 1; width: 14px; height: 14px; border-radius: 50%; background: #fff; box-shadow: inset 0 0 0 2.5px #8E94C8; }
.trace li::after { content: ""; position: absolute; left: 6px; top: 12px; bottom: -8px; width: 2px; background: #C9CDEA; }
.trace li:last-child::after { display: none; }
.trace li:last-child::before { background: var(--blue); box-shadow: inset 0 0 0 3.5px #fff, 0 0 0 2px var(--blue); }
.trace strong { font: 600 1.06rem var(--display); }
.trace span { color: var(--ink-2); font-size: 1rem; }

/* ---------- channels ---------- */
.channels { padding: clamp(56px, 8vw, 120px) 0; }
.channels-in { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.ch-intro { margin-top: 16px; color: var(--ink-2); max-width: 32em; }
.ch-table { margin-top: 32px; border-bottom: 1px solid var(--line); }
.ch-table li { display: grid; grid-template-columns: 170px minmax(0, 1fr); gap: 2px 20px; align-items: baseline; padding: 16px 0; border-top: 1px solid var(--line); }
.ch-table p { color: var(--ink-2); }
.reach { border-radius: 28px; padding: clamp(20px, 3vw, 36px); background: #fff; box-shadow: var(--raise); }
.globe { width: min(100%, 340px); margin-inline: auto; }
.g-ring { fill: none; stroke: var(--peri); stroke-width: 14; stroke-dasharray: 5 27.3135; }
.g-lines { fill: none; stroke: rgba(72, 78, 153, .32); stroke-width: 1.2; }
.g-edge { fill: none; stroke: rgba(72, 78, 153, .45); stroke-width: 1.5; }
.reach-copy { margin-top: 20px; }
.reach-copy p { margin-top: 8px; color: var(--ink-2); max-width: 32em; }

/* ---------- partners ---------- */
.partners { padding: 0 0 clamp(56px, 8vw, 112px); }
.partners-in { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 24px 40px; align-items: center; }
.partners h2 { font-size: 1.5rem; letter-spacing: -.015em; }
.partners ul { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-radius: 18px; background: #fff; box-shadow: var(--raise); }
.partners li { display: grid; place-items: center; padding: 22px 16px; }
.partners li + li { border-left: 1px solid var(--line-2); }
.partners img { width: 172px; }

/* ---------- contact ---------- */
.contact { padding-bottom: clamp(48px, 7vw, 96px); }
.contact-panel {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 72px);
  padding: clamp(22px, 4.4vw, 64px); border-radius: 28px;
  background: linear-gradient(150deg, #E3E7F8, #DCE9FB); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .8), 0 0 0 1px var(--line-2);
}
.contact-copy > p { margin-top: 16px; color: var(--ink-2); max-width: 30em; }
.contact-points { margin-top: 24px; display: grid; gap: 10px; color: var(--ink-2); }
.contact-points li { position: relative; padding-left: 20px; }
.contact-points li::before { content: ""; position: absolute; left: 0; top: .35em; width: 6px; height: .95em; border-radius: 3px; background: var(--peri); }
.form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; align-content: start; padding: clamp(18px, 2.6vw, 32px); border-radius: 20px; background: #fff; box-shadow: var(--raise-hi); }
.field { display: grid; gap: 7px; min-width: 0; }
.field-wide { grid-column: 1 / -1; }
.field label { font-weight: 600; }
.field label span { font-weight: 400; color: var(--ink-2); margin-left: 4px; }
.field input, .field textarea {
  width: 100%; min-height: 50px; padding: 11px 14px; border: 1.5px solid #6E73B0; border-radius: 11px;
  background: var(--well); transition: border-color .15s, background-color .15s;
}
.field textarea { display: block; resize: vertical; min-height: 140px; }
.field input:hover, .field textarea:hover { border-color: var(--peri-t); }
.field input:focus-visible, .field textarea:focus-visible { outline-offset: 1px; border-radius: 11px; border-color: var(--peri-t); background: #fff; }
.form .btn { justify-self: start; }

/* ---------- footer ---------- */
.footer { border-top: 1px solid var(--line); padding: 26px 0 36px; }
.footer-in { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; }
.footer-links { margin-right: auto; }
.copy { color: var(--ink-2); }

/* ---------- responsive ---------- */
@media (max-width: 1099px) {
  /* everything in one column; the stage becomes less wide */
  .hero-copy { grid-template-columns: minmax(0, 1fr); }
  .map-stage { aspect-ratio: 9 / 4; }
  .ml strong { font-size: 16px; }
  .ml span { font-size: 15px; }
  .ml-gate { left: 68.4%; }
  .ml-bad { left: calc(75.3% + 45px); }
  .ml-ok { top: calc(46.4% - 70px); }
}
@media (min-width: 720px) and (max-width: 899px) {
  /* no room for the second line beside the bars; the caption for screen readers still says it */
  .ml-pay span { display: none; }
}
@media (max-width: 1120px) {
  .model { grid-template-columns: minmax(0, 1fr); grid-template-areas: "id" "desc" "track"; }
  .model .track { max-width: 560px; margin-top: 10px; }
  .tile-tech, .tile-multi, .tile-quality, .tile-exp { grid-column: span 12; }
  .tile-data, .tile-fraud { grid-column: span 6; }
  .tile-multi { order: 1; } .tile-quality { order: 2; } .tile-exp { order: 3; }
  .channels-in, .contact-panel { grid-template-columns: minmax(0, 1fr); }
  .reach { display: grid; grid-template-columns: minmax(0, 260px) minmax(0, 1fr); gap: 20px 40px; align-items: center; }
  .reach-copy { margin-top: 0; }
}
@media (max-width: 900px) {
  .nav-wide { display: none; }
  .nav-cta { margin-left: auto; }
  .menu { display: block; }
  html:not(.js) .nav { position: relative; }
  .about-in, .sec-head, .partners-in { grid-template-columns: minmax(0, 1fr); }
  .tile-data, .tile-fraud { grid-column: span 12; }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  .mini { font-size: 1rem; }
  .track li { font-size: 1rem; }
  .pipe { grid-template-columns: minmax(0, 1fr); gap: 34px; padding: 14px; }
  .pipe li + li::before { right: auto; left: 50%; top: -26px; width: 2px; height: 18px; margin-left: -1px; }
  .pipe li + li::after { right: auto; left: 50%; top: -17px; margin: 0 0 0 -5px; transform: rotate(135deg); }
  .ch-table li { grid-template-columns: minmax(0, 1fr); }
  .reach { grid-template-columns: minmax(0, 1fr); }
  .partners ul { grid-template-columns: minmax(0, 1fr); }
  .partners li + li { border-left: 0; border-top: 1px solid var(--line-2); }
  .form { grid-template-columns: minmax(0, 1fr); }
  .form .btn { justify-self: stretch; }
  .footer-links { flex: 0 0 100%; margin-left: -13px; }
}
@media (max-width: 719px) {
  /* the figure is redrawn tall, not shrunk: map on top, traffic runs down into the bars */
  .map-stage { aspect-ratio: 3 / 5; max-width: 430px; margin-inline: auto; }
  .ml-gate { left: auto; right: calc(60.8% + 14px); top: 61%; transform: translateY(-50%); text-align: right; white-space: normal; width: 6.4em; }
  .ml-bad { left: calc(60.8% + 14px); top: calc(70.5% + 6px); }
  .ml-pay { left: auto; right: calc(50% + 46px); top: 85.5%; transform: translateY(-50%); text-align: right; white-space: normal; width: 6.6em; }
  .ml-ok { right: auto; left: calc(50% + 28px); top: 94.5%; transform: translateY(-50%); }
  .map figcaption { flex-direction: column; font-size: .94rem; }
  .map-run { min-height: 3.2em; }
}
@media (max-width: 639px) {
  .figures div { padding-inline: 12px; }
  .figures div:first-child { padding-left: 0; }
  .trace li { grid-template-columns: minmax(0, 1fr); }
  .track li { font-size: .94rem; }
}
@media (max-width: 480px) {
  .nav-cta { display: none; }
  .menu { margin-left: auto; }
  .matrix th, .matrix td { padding-inline: 2px; }
}

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