/* channelhelm.com — Horizon (fleet standard since 26.09.2026, Design_System DESIGN.md Register 8).
   Bright sky, navy type, cobalt→turquoise, white cards with soft blue shadows. Self-hosted fonts only.
   Replaces the StrongMocha tokens.css + marketing.css; new file name so no browser keeps the old look. */
@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("fonts/Archivo-700.woff2") format("woff2");
}
@font-face {
  font-family: "Instrument Sans";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("fonts/InstrumentSans-var.woff2") format("woff2");
}
@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/IBMPlexMono-400.woff2") format("woff2");
}

:root {
  --navy: #0f2552;
  --ink: #33466b;
  --muted: #66779a;
  --line: #dce7f4;
  --line-mid: #d2deee;
  --sky: #f5f9fe;
  --tint: #eaf3fc;
  --panel: #f3f8fe;
  --paper: #ffffff;
  --blue: #1f6feb;
  --blue-deep: #1e4fc4;
  --cyan: #22c3e8;
  --teal: #2ee6d0;
  --ok: #059e86;
  --ok-bg: #e3f8f3;
  --grad: linear-gradient(90deg, #2ee6d0 0%, #22c3e8 45%, #1f6feb 100%);
  --grad-btn: linear-gradient(90deg, #1fb5e3, #1f6feb);
  --shadow: 0 1px 2px rgba(15, 37, 82, 0.06), 0 10px 30px rgba(31, 79, 196, 0.1);
  --shadow-lift: 0 2px 4px rgba(15, 37, 82, 0.06), 0 18px 40px rgba(31, 79, 196, 0.16);
  --display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --sans: "Instrument Sans", "Helvetica Neue", Arial, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, Menlo, monospace;
  --gutter: clamp(16px, 4.5vw, 64px);
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  color: var(--ink);
  font: 400 17px / 1.6 var(--sans);
  background: var(--sky);
  background-image: linear-gradient(180deg, #f3f8fe 0%, #ffffff 30%, #f4f9fe 100%);
}
img,
video,
svg {
  display: block;
  max-width: 100%;
}
a {
  color: var(--blue);
  text-underline-offset: 3px;
}
a:hover {
  color: var(--blue-deep);
}
h1,
h2,
h3,
h4 {
  font-family: var(--display);
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -.015em;
  line-height: 1.1;
  margin: 0;
}
p {
  margin: 0;
}
b,
strong {
  color: var(--navy);
}
:focus-visible {
  outline: 3px solid rgba(31, 111, 235, 0.45);
  outline-offset: 3px;
  border-radius: 8px;
}
.skip {
  position: absolute;
  left: -999px;
  top: 8px;
  z-index: 50;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--paper);
  box-shadow: var(--shadow);
}
.skip:focus {
  left: 12px;
}
.shell {
  width: min(1240px, 100% - 2 * var(--gutter));
  margin-inline: auto;
}
.kicker {
  display: block;
  font: 500 .76rem / 1.5 var(--sans);
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--ink);
  margin: 0;
}
.grad-text {
  background: linear-gradient(90deg, #1e4fc4, #1f6feb 55%, #22a9e8);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- buttons: pills ---------- */
.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 20px;
  border-radius: 999px;
  text-decoration: none;
  font: 600 .95rem / 1 var(--sans);
  color: var(--navy);
  background: var(--paper);
  box-shadow: var(--shadow);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}
.pill:hover {
  color: var(--navy);
  transform: translateY(-1px);
  box-shadow: var(--shadow-lift);
}
.pill.solid {
  color: #fff;
  background: var(--grad-btn);
  box-shadow: 0 8px 20px rgba(31, 111, 235, 0.28);
}
.pill.solid:hover {
  color: #fff;
}
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

/* ---------- header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(245, 249, 254, 0.86);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(220, 231, 244, 0.8);
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 72px;
}
.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  min-height: 44px;
  text-decoration: none;
  color: var(--navy);
  font: 700 1.12rem / 1 var(--display);
  letter-spacing: .08em;
  text-transform: uppercase;
}
.wordmark:hover {
  color: var(--navy);
}
.wordmark img {
  width: 34px;
  height: 34px;
}
.nav-sections {
  display: flex;
  gap: 2px;
  margin-left: auto;
}
.nav-sections a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 12px;
  border-radius: 999px;
  font-weight: 500;
  font-size: .95rem;
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;
}
.nav-sections a:hover,
.nav-sections a[aria-current="page"] {
  background: var(--tint);
  color: var(--navy);
}
.nav-cta {
  min-height: 42px;
  white-space: nowrap;
}

/* ---------- home hero: headline + gateway ---------- */
.hero {
  padding: clamp(40px, 6vw, 80px) 0 clamp(64px, 8vw, 110px);
  overflow: hidden;
}
.hero-head {
  text-align: center;
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.hero h1 {
  margin-top: 18px;
  font-size: clamp(2.6rem, 6.4vw, 5.2rem);
  line-height: 1.02;
}
.hero-lede {
  margin: 22px auto 0;
  max-width: 46em;
  font-size: clamp(1.05rem, 1.5vw, 1.2rem);
}
.hero-head .actions {
  justify-content: center;
}
.receipts {
  margin: 22px auto 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px 14px;
  font-size: .88rem;
  color: var(--muted);
}
.receipts span {
  white-space: nowrap;
}
.receipts span + span::before {
  content: "·";
  margin-right: 14px;
  color: var(--line-mid);
}

.gateway {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) clamp(260px, 26vw, 360px) minmax(0, 1fr);
  gap: clamp(36px, 6vw, 110px);
  align-items: center;
  width: min(1320px, 100% - 2 * var(--gutter));
  margin: clamp(48px, 6vw, 76px) auto 0;
}
.gateway .wires {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: visible;
}
.wires > path {
  fill: none;
  stroke-width: 3.2;
  stroke-linecap: round;
}
.wires > path.flow {
  stroke-dasharray: 0.1 26;
  stroke-width: 3;
  stroke: rgba(255, 255, 255, 0.9);
  animation: flow 1.8s linear infinite;
}
@keyframes flow {
  to {
    stroke-dashoffset: -52.2;
  }
}
.gw-col {
  display: grid;
  gap: 12px;
  position: relative;
  z-index: 1;
}
.gw-label {
  font: 500 .72rem / 1.3 var(--sans);
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 4px;
}
.gw-card {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  padding: 11px 16px 11px 11px;
  border-radius: 16px;
  background: linear-gradient(90deg, color-mix(in srgb, var(--c) 9%, #fff), #fff 72%);
  box-shadow: var(--shadow);
}
.gw-card .ico {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--c);
  color: #fff;
  box-shadow: 0 6px 14px color-mix(in srgb, var(--c) 35%, transparent);
}
.gw-card .ico svg {
  width: 21px;
  height: 21px;
}
.gw-card b {
  display: block;
  font: 700 .98rem / 1.2 var(--display);
  color: var(--navy);
}
.gw-card small {
  display: block;
  margin-top: 2px;
  font-size: .82rem;
  line-height: 1.35;
  color: var(--muted);
}
.gw-col.in .gw-card {
  background: var(--paper);
}
.gw-col.in .gw-card .ico {
  background: color-mix(in srgb, var(--c) 16%, #fff);
  color: var(--c);
  box-shadow: none;
}
.hub {
  position: relative;
  z-index: 1;
  aspect-ratio: 1;
  border-radius: 50%;
}
.hub::before {
  content: "";
  position: absolute;
  inset: -22px;
  border-radius: 50%;
  border: 2px dotted rgba(31, 111, 235, 0.35);
}
.hub::after {
  content: "";
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  pointer-events: none;
  box-shadow: 0 0 0 8px rgba(91, 212, 253, 0.16), 0 0 70px 10px rgba(34, 195, 232, 0.42), inset 0 0
    40px rgba(34, 195, 232, 0.32);
}
.hub .disc {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  overflow: hidden;
  background: radial-gradient(circle at 50% 45%, #fff 0%, #f2fafe 55%, #ddf2fc 100%);
}
.hub .disc img,
.hub .disc video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.62;
}
.hub .disc::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.8) 0%,
    rgba(255, 255, 255, 0.44) 58%,
    rgba(255, 255, 255, 0) 80%
  );
}
.hub .core {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: grid;
  place-content: center;
  justify-items: center;
  text-align: center;
  padding: 12%;
}
.hub .core img {
  width: clamp(52px, 6vw, 78px);
  height: auto;
}
.hub .core b {
  margin-top: 10px;
  font: 700 clamp(1.1rem, 1.9vw, 1.6rem) / 1 var(--display);
  letter-spacing: .06em;
  color: var(--navy);
}
.hub .core span {
  margin-top: 10px;
  font: 500 clamp(.82rem, 1.1vw, .98rem) / 1.3 var(--sans);
  color: var(--navy);
}
.hub .core i {
  display: block;
  width: 42%;
  height: 2px;
  margin: 13px auto;
  background: var(--grad);
  border-radius: 2px;
}
.hub .core em {
  font: 700 clamp(.9rem, 1.3vw, 1.1rem) / 1 var(--display);
  font-style: normal;
  color: var(--blue);
}
.hub .note {
  position: absolute;
  left: 50%;
  top: calc(100% + 34px);
  transform: translateX(-50%);
  width: max-content;
  max-width: 88vw;
  margin: 0;
  text-align: center;
  font-size: .88rem;
  color: var(--muted);
}

/* ---------- proof: KPI tiles with the gradient top line ---------- */
.proof {
  padding: 0 0 clamp(32px, 5vw, 56px);
}
.proof-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: clamp(10px, 1.4vw, 18px);
}
.kpi {
  position: relative;
  overflow: hidden;
  padding: 20px 20px 18px;
  background: var(--paper);
  border-radius: 18px;
  box-shadow: var(--shadow);
}
.kpi::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  height: 3px;
  background: var(--grad);
}
.kpi b {
  display: block;
  font: 700 clamp(2rem, 3.4vw, 2.7rem) / 1 var(--display);
  color: var(--navy);
  font-variant-numeric: tabular-nums;
}
.kpi span {
  display: block;
  margin-top: 8px;
  font-size: .9rem;
  line-height: 1.35;
  color: var(--muted);
}

/* ---------- sections ---------- */
.section {
  padding: clamp(56px, 7vw, 100px) 0;
}
.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  gap: 16px clamp(28px, 5vw, 72px);
  align-items: end;
  margin-bottom: clamp(28px, 4vw, 48px);
}
.section-head h2 {
  margin-top: 12px;
  font-size: clamp(1.9rem, 3.6vw, 2.8rem);
}
.section-head > p {
  font-size: 1.04rem;
}
.section-head.solo {
  grid-template-columns: minmax(0, 1fr);
  max-width: 820px;
}
.sub-head {
  margin: clamp(48px, 6vw, 80px) 0 clamp(22px, 3vw, 36px);
}
.sub-head h2 {
  margin-top: 12px;
  font-size: clamp(1.7rem, 3.2vw, 2.4rem);
}

/* four analysis layers: numbered white cards (a real order: audio → visual → fusion → intelligence) */
.layers {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(14px, 1.8vw, 22px);
}
.layer {
  background: var(--paper);
  border-radius: 22px;
  box-shadow: var(--shadow);
  padding: clamp(20px, 2.2vw, 26px);
}
.layer .top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.layer .glyph {
  width: 44px;
  height: 44px;
  padding: 10px;
  border-radius: 12px;
  background: var(--tint);
  color: var(--blue);
}
.layer .n {
  font: 700 .82rem var(--display);
  color: var(--muted);
  letter-spacing: .06em;
}
.layer h3 {
  margin-top: 16px;
  font-size: 1.2rem;
}
.layer p {
  margin-top: 8px;
  font-size: .96rem;
}

/* how it works: four moves with real screens */
.story {
  display: grid;
  gap: clamp(22px, 3vw, 36px);
}
.story-row {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr);
  gap: clamp(20px, 3.4vw, 48px);
  align-items: center;
}
.story-row:nth-child(even) {
  grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr);
}
.story-row:nth-child(even) .shot {
  order: 2;
}
.shot {
  margin: 0;
  border-radius: 18px;
  overflow: hidden;
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: 0 26px 60px -30px rgba(31, 79, 196, 0.45);
}
.shot-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--line);
  font-size: 12px;
  line-height: 1;
  color: var(--muted);
}
.shot-bar i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #d2deee;
}
.shot-bar span {
  margin-left: 8px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.shot img {
  width: 100%;
  height: auto;
}
.story-text .num {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  font: 700 .95rem var(--display);
  color: #fff;
  background: var(--grad-btn);
}
.story-text h3 {
  margin-top: 14px;
  font-size: clamp(1.35rem, 2.2vw, 1.7rem);
}
.story-text p {
  margin-top: 10px;
}
.caption {
  margin-top: 12px;
  font-size: .84rem;
  color: var(--muted);
}

/* what you get: asset groups */
.assets {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(14px, 1.8vw, 22px);
}
.asset-group {
  background: var(--paper);
  border-radius: 22px;
  box-shadow: var(--shadow);
  padding: clamp(20px, 2.2vw, 26px);
}
.asset-group .ico {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--c);
  color: #fff;
  box-shadow: 0 6px 14px color-mix(in srgb, var(--c) 35%, transparent);
}
.asset-group .ico svg {
  width: 22px;
  height: 22px;
}
.asset-group h3 {
  margin-top: 16px;
  font-size: 1.2rem;
}
.asset-group ul {
  list-style: none;
  margin: 12px 0 0;
  padding: 0;
}
.asset-group li {
  position: relative;
  padding: 8px 0 8px 22px;
  font-size: .95rem;
  line-height: 1.45;
  border-top: 1px solid var(--line);
}
.asset-group li:first-child {
  border-top: 0;
}
.asset-group li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 16px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--grad);
}

/* publishes to: destination pills */
.harbor {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  gap: clamp(24px, 4vw, 64px);
  align-items: center;
  padding: clamp(24px, 3vw, 40px);
  background: var(--paper);
  border-radius: 24px;
  box-shadow: var(--shadow);
}
.harbor h2 {
  margin-top: 12px;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
}
.harbor p {
  margin-top: 12px;
}
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  background: var(--panel);
  border: 1px solid var(--line);
  font-size: .9rem;
  font-weight: 500;
  color: var(--navy);
}
.chip::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--c, var(--blue));
}

/* the studio: three layouts with real screens */
.layouts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(14px, 1.8vw, 22px);
}
.layout-card {
  background: var(--paper);
  border-radius: 22px;
  box-shadow: var(--shadow);
  overflow: hidden;
}
.layout-card .shot {
  border: 0;
  border-radius: 0;
  box-shadow: none;
  border-bottom: 1px solid var(--line);
}
.layout-card .body {
  padding: 18px 22px 22px;
}
.layout-card h3 {
  font-size: 1.2rem;
}
.layout-card p {
  margin-top: 8px;
  font-size: .95rem;
}
.shorts {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: clamp(24px, 4vw, 64px);
  align-items: center;
  margin-top: clamp(28px, 4vw, 48px);
}
.shorts h3 {
  font-size: clamp(1.4rem, 2.4vw, 1.8rem);
}
.ticks {
  list-style: none;
  margin: 16px 0 0;
  padding: 0;
  display: grid;
  gap: 10px;
}
.ticks li {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
}
.ticks li::before {
  content: "✓";
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--ok-bg);
  color: var(--ok);
  font-weight: 700;
  font-size: .85rem;
}

/* local-first: split with a film frame */
.local {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 64px);
  align-items: center;
}
.frame {
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-lift);
  aspect-ratio: 4 / 3;
  background: #ddeffc;
}
.frame img,
.frame video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.local h2 {
  margin-top: 12px;
  font-size: clamp(1.9rem, 3.6vw, 2.8rem);
}
.points {
  display: grid;
  gap: 12px;
  margin-top: 22px;
}
.point {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  padding: 14px 18px 14px 14px;
  background: var(--paper);
  border-radius: 18px;
  box-shadow: var(--shadow);
}
.point .glyph {
  width: 44px;
  height: 44px;
  padding: 10px;
  border-radius: 12px;
  background: var(--tint);
  color: var(--blue);
}
.point h3 {
  font-size: 1.04rem;
  line-height: 1.3;
}

/* features: white cards */
.features {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(14px, 1.8vw, 24px);
}
.feature {
  background: var(--paper);
  border-radius: 22px;
  box-shadow: var(--shadow);
  padding: clamp(20px, 2.4vw, 28px);
}
.feature .glyph {
  width: 44px;
  height: 44px;
  padding: 10px;
  border-radius: 12px;
  background: var(--tint);
  color: var(--blue);
}
.feature h3 {
  margin-top: 14px;
  font-size: 1.18rem;
}
.feature p {
  margin-top: 8px;
  font-size: .96rem;
}

/* creator teaser */
.teaser {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(20px, 4vw, 56px);
  align-items: center;
  padding: clamp(24px, 3.4vw, 44px);
  background: linear-gradient(120deg, #ffffff 0%, #f3f8fe 60%, #e6f7fb 100%);
  border-radius: 24px;
  box-shadow: var(--shadow);
}
.teaser h2 {
  margin-top: 12px;
  font-size: clamp(1.5rem, 2.8vw, 2.1rem);
}
.teaser p:not(.kicker) {
  margin-top: 12px;
}
.teaser .actions {
  margin-top: 0;
}
.harbor .kicker + p {
  margin-top: 14px;
  font-size: 1.08rem;
}

/* ---------- film band with the closing invitation ---------- */
.band {
  position: relative;
  min-height: clamp(560px, 78vh, 760px);
  display: grid;
  place-items: end center;
  overflow: hidden;
  background: #ddeffc;
  margin-top: clamp(24px, 4vw, 48px);
}
/* the film box is taller than the band and anchored at its foot: the horizon lands in the upper third, the text sits in front */
.band > video,
.band > img {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 165%;
  object-fit: cover;
  object-position: 70% 50%;
}
.band::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(245, 249, 254, 0) 30%,
    rgba(245, 249, 254, 0.88) 74%,
    #f5f9fe 100%
  );
}
.band .say {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 0 var(--gutter) clamp(40px, 6vw, 72px);
}
.band h2 {
  font-size: clamp(2rem, 4.4vw, 3.6rem);
  max-width: 22ch;
  margin: 14px auto 0;
  text-wrap: balance;
}
.band .say > p:not(.kicker) {
  margin: 14px auto 0;
  max-width: 40em;
  font-size: 1.06rem;
}
.band .actions {
  justify-content: center;
}
.band .mail {
  display: inline-block;
  margin-top: 14px;
  padding: 8px 0;
  font-weight: 600;
}

/* ---------- inner pages (for creators, about, contact, legal): the document on a white sheet ---------- */
.page-head {
  padding: clamp(40px, 6vw, 72px) 0 0;
}
.page-head .shell,
.prose .shell {
  width: min(920px, 100% - 2 * var(--gutter));
}
.page-head h1 {
  margin-top: 10px;
  font-size: clamp(2.2rem, 5vw, 3.4rem);
}
.page-head .lede {
  margin-top: 14px;
  font-size: 1.1rem;
  max-width: 44em;
}
.page-head .byline {
  margin-top: 12px;
  font-size: .9rem;
  color: var(--muted);
}
.page-figure {
  margin-top: 26px;
  width: 100%;
  height: auto;
  border-radius: 22px;
  box-shadow: var(--shadow-lift);
}
.prose {
  padding: 24px 0 clamp(56px, 8vw, 96px);
}
.prose .shell {
  background: var(--paper);
  border-radius: 24px;
  box-shadow: var(--shadow);
  padding: clamp(24px, 5vw, 56px);
}
.prose h2 {
  font-size: clamp(1.22rem, 2.3vw, 1.5rem);
  margin: 1.8em 0 .55em;
}
.prose h2:first-child,
.prose .updated + h2,
.prose .note + h2 {
  margin-top: .6em;
}
.prose h3 {
  font-size: 1.05rem;
  margin: 1.4em 0 .4em;
}
.prose p,
.prose ul,
.prose ol {
  margin: 0 0 14px;
  max-width: 70ch;
}
.prose li {
  margin-bottom: 7px;
}
.prose a {
  overflow-wrap: anywhere;
}
/* text links inside the document get a finger-sized target without moving the text */
.prose p a,
.prose li a,
.prose td a,
.prose .note a {
  display: inline-block;
  padding: 7px 0;
  margin: -7px 0;
}
.prose hr {
  border: 0;
  height: 2px;
  margin: 36px 0;
  background: var(--grad);
  border-radius: 2px;
  opacity: 0.6;
}
.prose table {
  width: 100%;
  border-collapse: collapse;
  font-size: .95rem;
  margin: 0 0 18px;
  display: block;
  overflow-x: auto;
}
.prose th,
.prose td {
  text-align: left;
  padding: 10px 12px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.prose td:first-child {
  color: var(--muted);
  white-space: nowrap;
}
.prose .updated {
  color: var(--muted);
  font-size: .92rem;
}
.prose .note {
  margin: 16px 0 8px;
  padding: 16px 20px;
  border-radius: 16px;
  background: var(--panel);
  border: 1px solid var(--line);
  font-size: .95rem;
}
.prose .pull {
  margin: 26px 0;
  padding: 18px 22px;
  border-radius: 18px;
  background: linear-gradient(90deg, #eaf3fc, #f3fbfd);
  box-shadow: inset 4px 0 0 var(--blue);
  font: 700 clamp(1.08rem, 1.8vw, 1.25rem) / 1.4 var(--display);
  color: var(--navy);
}
.prose .card {
  margin: 14px 0;
  padding: 18px 22px;
  border-radius: 18px;
  background: var(--panel);
  border: 1px solid var(--line);
}
.prose .card h3 {
  margin: 8px 0 6px;
}
.prose .card p {
  margin: 0;
}
.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 11px;
  border-radius: 999px;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .04em;
  background: var(--ok-bg);
  color: var(--ok);
}
.tag::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--ok);
}
.prose .actions {
  margin-top: 24px;
}
.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 0 0 18px;
}
.contact-card {
  padding: 16px 18px;
  border-radius: 16px;
  background: var(--panel);
  border: 1px solid var(--line);
  min-width: 0;
}
.contact-card .k {
  font-size: .74rem;
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--muted);
}
.contact-card .v {
  margin-top: 6px;
  font-weight: 600;
  color: var(--navy);
  overflow-wrap: anywhere;
}
.contact-card .v a {
  display: inline-block;
  padding: 6px 0;
  margin: -6px 0;
}

/* ---------- footer ---------- */
.marketing-footer {
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.6);
  padding: clamp(44px, 6vw, 64px) 0 26px;
}
.footer-top {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, .7fr) minmax(0, .7fr);
  gap: 28px clamp(28px, 5vw, 72px);
  align-items: start;
}
.footer-top p {
  margin-top: 14px;
  max-width: 34em;
  font-size: .95rem;
  color: var(--muted);
}
.footer-top .mail {
  display: inline-block;
  margin-top: 10px;
  padding: 6px 0;
  font-weight: 600;
}
.footer-top h4 {
  font-size: .74rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--muted);
  font-family: var(--sans);
  font-weight: 500;
}
.footer-top ul {
  list-style: none;
  margin: 10px 0 0;
  padding: 0;
}
.footer-top li a {
  display: inline-block;
  padding: 7px 0;
  color: var(--ink);
  text-decoration: none;
  font-size: .95rem;
}
.footer-top li a:hover,
.footer-top li a[aria-current="page"] {
  color: var(--blue);
}
.footer-base {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 10px 22px;
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: .9rem;
  color: var(--muted);
}
.attribution {
  display: inline-block;
  padding: 10px 0;
  margin: -10px 0;
  color: var(--navy);
  text-decoration-color: var(--cyan);
}
.attribution b {
  font-weight: 700;
}

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .gateway {
    gap: 44px;
    grid-template-columns: minmax(0, 1fr) 250px minmax(0, 1fr);
  }
  .gw-card small {
    display: none;
  }
  /* five tiles as 3 + 2: the first row spans two of six columns each, the second three */
  .proof-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }
  .proof-grid .kpi {
    grid-column: span 2;
  }
  .proof-grid .kpi:nth-child(n + 4) {
    grid-column: span 3;
  }
  .layers,
  .assets {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .features {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 900px) {
  .gateway {
    grid-template-columns: minmax(0, 1fr);
    gap: 60px;
    max-width: 620px;
  }
  .gateway .wires {
    display: none;
  }
  .hub {
    width: min(300px, 76vw);
    justify-self: center;
    margin-bottom: 30px;
  }
  .gw-col {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .gw-label {
    grid-column: 1 / -1;
  }
  .gw-card small {
    display: block;
  }
  .section-head,
  .story-row,
  .story-row:nth-child(even),
  .harbor,
  .layouts,
  .shorts,
  .local,
  .teaser,
  .footer-top {
    grid-template-columns: minmax(0, 1fr);
  }
  .story-row:nth-child(even) .shot {
    order: 0;
  }
}
@media (max-width: 960px) {
  .main-nav {
    flex-wrap: wrap;
    gap: 4px 12px;
    padding: 10px 0 6px;
    min-height: 0;
  }
  .nav-sections {
    order: 3;
    width: 100%;
    margin-left: -12px;
    overflow-x: auto;
    scrollbar-width: none;
  }
  .nav-sections::-webkit-scrollbar {
    display: none;
  }
  .nav-cta {
    margin-left: auto;
  }
}
@media (max-width: 640px) {
  body {
    font-size: 16px;
  }
  .gw-col,
  .features,
  .layers,
  .assets,
  .contact-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .proof-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .proof-grid .kpi,
  .proof-grid .kpi:nth-child(n + 4) {
    grid-column: auto;
  }
  .proof-grid .kpi:last-child {
    grid-column: 1 / -1;
  }
  .receipts {
    gap: 6px 18px;
  }
  .receipts span + span::before {
    content: none;
  }
  .actions {
    display: grid;
    justify-content: stretch;
  }
}
@media (max-width: 480px) {
  .nav-cta {
    display: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
