/* rymvard.com — HORIZON register. Built from ~/Dev/Design_System tokens/horizon.css + templates/web/horizon-site.css + Rymvard additions (bottom). */
/* ============================================================
   HORIZON — external websites and every UI agents build (owner decision 2026-09-26)
   Voice: Archivo 700 speaks · Instrument Sans explains · Fraunces names things · IBM Plex Mono counts (UIs only)
   Bright sky, navy type, a cobalt→turquoise gradient, white cards with soft blue shadows.
   Light-first; UIs add the dark variant via prefers-color-scheme (see DESIGN.md, Register 8).
   Reference implementation: tidvane.com + Tidvane /ui (~/Dev/tidvane). Templates: templates/web/horizon-*.
   ============================================================ */
.reg-horizon {
  --navy:  #0F2552;        /* headlines, wordmarks, strong text */
  --ink:   #33466B;        /* body text */
  --muted: #66779A;
  --agate: #8A98B5;
  --line:  #DCE7F4;        /* hairline */
  --line-mid: #D2DEEE;     /* input and table borders */
  --paper: #FFFFFF;        /* cards */
  --sky:   #F5F9FE;        /* page */
  --tint:  #EAF3FC;        /* page top wash, hover */
  --panel: #F3F8FE;        /* table heads, insets */

  /* the accent pair — a property may swap BOTH for its registered accent + a lighter partner (AA-checked) */
  --accent: #1F6FEB;       /* cobalt: links, focus, active */
  --accent-deep: #1E4FC4;
  --accent-2: #2EE6D0;     /* turquoise: the far end of the gradient */
  --accent-mid: #22C3E8;
  --grad: linear-gradient(90deg, var(--accent-2) 0%, var(--accent-mid) 45%, var(--accent) 100%);
  --grad-button: linear-gradient(90deg, #1FB5E3, var(--accent));

  /* status — the only status vocabulary: ok (teal), hold (amber, a person must act), urgent (red, never decorative) */
  --ok: #059E86;     --ok-bg: #E3F8F3;
  --hold: #B26A00;   --hold-bg: #FFF4DF;
  --urgent: #D9304F; --urgent-bg: #FDE8EC;

  /* signal colours for channels/categories (one per item, like the network cards on tidvane.com) */
  --sig-rose: #E25C71; --sig-violet: #8156FA; --sig-blue: #2F6FED; --sig-sky: #1EA7F2;
  --sig-teal: #05B397; --sig-amber: #F59E0B; --sig-orange: #F97316; --sig-green: #2AC466; --sig-slate: #33466B;

  --shadow: 0 1px 2px rgba(15, 37, 82, .06), 0 10px 30px rgba(31, 79, 196, .10);
  --shadow-lift: 0 2px 4px rgba(15, 37, 82, .06), 0 18px 40px rgba(31, 79, 196, .16);
  --radius-lg: 24px; --radius: 16px; --radius-sm: 10px; --radius-pill: 999px;

  --font-display: 'Archivo', 'Helvetica Neue', Arial, sans-serif;        /* 700 only: headlines, wordmarks */
  --font-ui:      'Instrument Sans', 'Helvetica Neue', Arial, sans-serif;  /* 400/500/700: everything else */
  --font-name:    'Fraunces', Georgia, serif;                             /* 600: names of publications/products in cards */
  --font-data:    'IBM Plex Mono', ui-monospace, Menlo, monospace;        /* UIs: timestamps, ids, codes */
  --ease: cubic-bezier(.2, .7, .2, 1);
  --measure-max: 66ch;

  background: var(--sky);
  background-image: linear-gradient(180deg, #F3F8FE 0%, #FFFFFF 38%, #F4F9FE 100%);
  color: var(--ink);
  font-family: var(--font-ui);
}
@media (prefers-color-scheme: dark) {
  /* UIs only (external websites stay light): add class reg-horizon-dark-ok on the root to opt in */
  .reg-horizon.reg-horizon-dark-ok {
    --navy: #EAF2FF; --ink: #C9D6EE; --muted: #93A3C4; --agate: #7384A6; --line: #1F3158; --line-mid: #2A3E69;
    --paper: #12213F; --sky: #0B1630; --panel: #152748; --tint: #172C52;
    --accent: #5B9BFF; --accent-deep: #8AB6FF; --accent-mid: #4FD6F2;
    --ok: #3FD9BE; --ok-bg: #0F3A3A; --hold: #FFC266; --hold-bg: #3A2C12; --urgent: #FF6B86; --urgent-bg: #45172A;
    --shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 8px 24px rgba(0, 0, 0, .35);
    background-image: linear-gradient(180deg, #172C52 0, #0B1630 320px);
  }
}
/* base rules use :where() so component classes (wordmark, pills, nav) always win */
.reg-horizon :where(h1, h2, h3) { font-family: var(--font-display); font-weight: 700; color: var(--navy); letter-spacing: -.015em; line-height: 1.08; }
.reg-horizon :where(a) { color: var(--accent); text-underline-offset: 3px; }
.reg-horizon .kicker { font: 500 .78rem/1.5 var(--font-ui); letter-spacing: .28em; text-transform: uppercase; color: var(--ink); }
.reg-horizon .wordmark { font: 700 1.3rem/1 var(--font-display); letter-spacing: .08em; text-transform: uppercase; color: var(--navy); }
.reg-horizon .attribution { color: var(--navy); text-decoration-color: var(--accent-mid); }
.reg-horizon .attribution b { font-weight: 700; }
.reg-horizon { --gutter: clamp(16px, 4.5vw, 64px); --edge: max(var(--gutter), calc((100% - 1280px) / 2 + var(--gutter))); --measure: 64ch; }
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body.reg-horizon { margin: 0; font: 400 17px/1.6 var(--font-ui); }
img, video, svg { display: block; max-width: 100%; }
a { color: var(--accent); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--accent-deep); }
p { max-width: var(--measure); }
h1, h2, h3 { font-family: var(--font-display); font-weight: 700; color: var(--navy); letter-spacing: -.015em; line-height: 1.08; }
:focus-visible { outline: 3px solid rgba(31, 111, 235, .45); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; left: -999px; top: 0; }
.skip:focus { left: var(--gutter); top: 12px; background: var(--paper); padding: 10px 14px; z-index: 10; border-radius: 10px; box-shadow: var(--shadow); }
.wrap { max-width: 1280px; margin: 0 auto; padding: 0 var(--gutter); }
section { padding: clamp(64px, 9vw, 120px) 0; }
.kicker { font: 500 .78rem/1.5 var(--font-ui); letter-spacing: .28em; text-transform: uppercase; color: var(--ink); }
.lead { font-size: clamp(1.05rem, 1.5vw, 1.2rem); color: var(--ink); }

/* ---------- header ---------- */
.bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px var(--edge); }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--navy); }
.brand svg { width: 38px; height: 38px; }
.brand b { font: 700 1.3rem/1 var(--font-display); letter-spacing: .08em; }
.pill { display: inline-flex; align-items: center; min-height: 44px; padding: 0 20px; border-radius: 999px; text-decoration: none;
  font: 500 .95rem/1 var(--font-ui); color: var(--navy); background: var(--paper); box-shadow: var(--shadow); transition: box-shadow .2s var(--ease), transform .2s var(--ease); }
.pill:hover { color: var(--navy); box-shadow: var(--shadow-lift); transform: translateY(-1px); }
.pill.solid { color: var(--paper); background: linear-gradient(90deg, #1FB5E3, #1F6FEB); }
.pill.solid:hover { color: var(--paper); }

/* ---------- hero: the gateway diagram ---------- */
.hero { padding: clamp(24px, 4vw, 48px) 0 clamp(64px, 8vw, 104px); position: relative; overflow: hidden; }
.hero-head { text-align: center; max-width: 900px; margin: 0 auto; padding: 0 var(--gutter); }
.hero h1 { margin: 0; font-size: clamp(2.6rem, 6.2vw, 5rem); line-height: 1.02; }
.hero h1 span { display: block; background: linear-gradient(90deg, #1E4FC4, #1F6FEB 55%, #22A9E8); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .kicker { margin: 22px auto 0; }
.hero-head p.lead { margin: 18px auto 0; max-width: 46em; }

.diagram { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) clamp(280px, 28vw, 380px) minmax(0, 1fr);
  gap: clamp(36px, 6vw, 110px); align-items: center; max-width: 1360px; margin: clamp(40px, 6vw, 72px) auto 0; padding: 0 var(--gutter); }
.diagram .wires { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; }
/* only the wires themselves: `.wires path` would also blank out the arrowheads inside the markers */
.wires > path { fill: none; stroke-width: 3.5; stroke-linecap: round; }
.wires > path.flow { stroke-dasharray: .1 26; stroke-width: 3; stroke: rgba(255, 255, 255, .9); animation: flow 1.8s linear infinite; }
@keyframes flow { to { stroke-dashoffset: -52.2; } }
.col { display: grid; gap: 14px; position: relative; z-index: 1; }
.col-label { font: 500 .74rem/1.3 var(--font-ui); letter-spacing: .24em; text-transform: uppercase; color: var(--muted); margin: 0 0 4px; }

.pub { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 14px; align-items: center; padding: 12px 16px 12px 12px;
  background: var(--paper); border-radius: 16px; box-shadow: var(--shadow); position: relative; overflow: hidden; }
.pub::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 5px; background: var(--c, var(--accent)); }
.pub img { width: 64px; height: 64px; border-radius: 12px; object-fit: cover; margin-left: 4px; }
.pub h3 { margin: 0; font: 600 clamp(1.08rem, 1.5vw, 1.3rem)/1.15 var(--font-name); letter-spacing: -.01em; color: var(--navy); }
.pub .sub { margin: 4px 0 0; font: 500 .68rem/1.3 var(--font-ui); letter-spacing: .16em; text-transform: uppercase; color: var(--ink); }
.pub .tags { margin: 4px 0 0; font-size: .82rem; color: var(--muted); }

.net { display: grid; grid-template-columns: 44px minmax(0, 1fr) 16px; gap: 14px; align-items: center; padding: 12px 16px 12px 12px;
  border-radius: 16px; box-shadow: var(--shadow); background: linear-gradient(90deg, color-mix(in srgb, var(--c) 9%, #fff), #fff 70%); }
.net .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); }
.net .ico svg { width: 22px; height: 22px; }
.net h3 { margin: 0; font: 700 1rem/1.2 var(--font-display); letter-spacing: 0; }
.net p { margin: 2px 0 0; font-size: .85rem; line-height: 1.35; color: var(--muted); }
.net .chev { color: var(--c); width: 16px; height: 16px; }

.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, .35); }
.hub::after { content: ""; position: absolute; inset: -8px; border-radius: 50%; pointer-events: none;
  box-shadow: 0 0 0 8px rgba(91, 212, 253, .16), 0 0 70px 10px rgba(34, 195, 232, .45), inset 0 0 40px rgba(34, 195, 232, .35); }
.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 video, .hub .disc img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .55; }
.hub .disc::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 50% 50%, rgba(255, 255, 255, .78) 0%, rgba(255, 255, 255, .45) 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 svg { width: clamp(56px, 7vw, 92px); height: auto; }
.hub .core b { margin-top: 8px; font: 700 clamp(1.8rem, 3.2vw, 2.7rem)/1 var(--font-display); letter-spacing: .06em; color: var(--navy); }
.hub .core span { margin-top: 10px; font: 500 clamp(.85rem, 1.2vw, 1rem)/1.3 var(--font-ui); color: var(--navy); }
.hub .core i { display: block; width: 42%; height: 2px; margin: 14px auto; background: var(--grad); border-radius: 2px; }
.hub .core em { font: 700 clamp(1rem, 1.5vw, 1.25rem)/1 var(--font-display); font-style: normal; color: var(--accent); letter-spacing: .01em; }
.inputs { position: absolute; z-index: 1; left: 50%; top: calc(100% + 34px); transform: translateX(-50%); width: max-content; max-width: 90vw;
  text-align: center; font-size: .88rem; color: var(--muted); }

/* ---------- three steps ---------- */
.steps { padding: 0 0 clamp(8px, 2vw, 24px); }
.steps ol { list-style: none; margin: 0 auto; padding: 0; max-width: 980px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.steps li { text-align: center; padding: 8px clamp(12px, 2.5vw, 32px); }
.steps li + li { border-left: 1px solid var(--line); }
.steps svg { width: 40px; height: 40px; margin: 0 auto 12px; color: var(--accent); }
.steps h3 { margin: 0; font-size: 1.12rem; }
.steps p { margin: 8px auto 0; font-size: .95rem; color: var(--muted); max-width: 26em; }

/* ---------- values ---------- */
.values h2, .day h2, .private h2 { font-size: clamp(2rem, 4vw, 3.1rem); margin: 0; }
.values .intro { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--gutter); align-items: end; margin-bottom: clamp(32px, 4vw, 56px); }
.values .intro p { margin: 0; }
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 1.8vw, 24px); }
.card { background: var(--paper); border-radius: 20px; box-shadow: var(--shadow); padding: clamp(22px, 2.4vw, 32px); }
.card .dot { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--grad); color: #fff; margin-bottom: 18px; }
.card .dot svg { width: 20px; height: 20px; }
.card h3 { margin: 0 0 8px; font-size: 1.18rem; }
.card p { margin: 0; font-size: .97rem; color: var(--ink); }

/* ---------- world band ---------- */
.world { position: relative; min-height: clamp(460px, 64vh, 720px); padding: 0; display: grid; place-items: end center; overflow: hidden; background: #EAF4FD; }
.world video, .world .poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.world::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(245, 249, 254, 0) 45%, rgba(245, 249, 254, .92) 88%, #F5F9FE 100%); }
.world .say { position: relative; z-index: 1; text-align: center; padding: 0 var(--gutter) clamp(40px, 6vw, 72px); }
.world h2 { margin: 0; font-size: clamp(2.1rem, 5vw, 4rem); }
.world .kicker { margin: 16px auto 0; }

/* ---------- a day at the desk ---------- */
.day .lead { margin: 16px 0 0; }
.chart { margin-top: clamp(28px, 4vw, 48px); background: var(--paper); border-radius: 24px; box-shadow: var(--shadow); padding: clamp(18px, 3vw, 36px); }
.chart svg { width: 100%; height: auto; overflow: visible; }
.chart .wave { fill: none; stroke: var(--accent); stroke-width: 2; }
.chart .fill { fill: url(#tidefill); }
.chart .hour { font: 400 13px var(--font-ui); fill: var(--muted); }
.chart .axis { stroke: var(--line); stroke-width: 1; }
.chart .story { fill: var(--accent-2); }
.chart .slot line { stroke: var(--accent-mid); stroke-width: 1.4; stroke-dasharray: 3 4; }
.chart .slot circle { fill: var(--paper); stroke: var(--accent); stroke-width: 2.4; }
.chart .slot text { font: 700 15px var(--font-display); fill: var(--navy); }
.chart-note { display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: 18px; font-size: .9rem; color: var(--muted); }
.chart-note span { display: inline-flex; align-items: center; gap: 8px; }
.key-wave { width: 18px; height: 0; border-top: 2px solid var(--accent); }
.key-story { width: 8px; height: 8px; border-radius: 50%; background: var(--accent-2); }
.key-slot { width: 12px; height: 12px; border-radius: 50%; border: 2.4px solid var(--accent); }
.js .chart .wave { stroke-dasharray: var(--len, 3000); stroke-dashoffset: var(--len, 3000); }
.js .chart .fill, .js .chart .slot, .js .chart .story { opacity: 0; }
.js .chart.on .wave { transition: stroke-dashoffset 2.4s var(--ease); stroke-dashoffset: 0; }
.js .chart.on .fill { transition: opacity 1.2s ease 1.4s; opacity: 1; }
.js .chart.on .story { transition: opacity .6s ease; opacity: 1; transition-delay: calc(.3s + var(--i) * 60ms); }
.js .chart.on .slot { transition: opacity .7s ease; opacity: 1; transition-delay: calc(1.6s + var(--i) * 220ms); }

/* ---------- private gateway ---------- */
.private .wrap { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(28px, 5vw, 80px); align-items: center; }
.private .frame { position: relative; aspect-ratio: 16 / 10; border-radius: 28px; overflow: hidden; box-shadow: var(--shadow-lift); background: #DDEFFC; }
.private .frame video, .private .frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.private .lead { margin: 18px 0 0; }
.private p + p { margin-top: 12px; }
.private .actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }

/* ---------- plain pages (legal) ---------- */
.page { padding: clamp(24px, 5vw, 64px) 0 clamp(64px, 9vw, 120px); }
.page .sheet { max-width: 920px; margin: 0 auto; background: var(--paper); border-radius: 24px; box-shadow: var(--shadow); padding: clamp(24px, 5vw, 64px); }
.page h1 { margin: 0 0 .5em; font-size: clamp(2.2rem, 5vw, 3.4rem); }
.page h2 { font-size: clamp(1.25rem, 2.2vw, 1.55rem); margin: 1.8em 0 .5em; }
.page ul { padding-left: 1.2em; max-width: var(--measure); }
.page address { font-style: normal; }
.page .updated { color: var(--muted); font-size: .9rem; margin-top: 2.6em; }
.page .alt-title { color: var(--muted); margin-top: -.6em; }
.page p a { display: inline-block; padding: 8px 0; margin: -8px 0; }

/* ---------- footer ---------- */
footer { padding: clamp(48px, 6vw, 72px) 0 32px; border-top: 1px solid var(--line); background: rgba(255, 255, 255, .6); }
footer .wrap { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 28px var(--gutter); align-items: start; }
footer .about p { margin: 14px 0 0; max-width: 32em; font-size: .95rem; color: var(--muted); }
footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 22px; justify-content: flex-end; max-width: 540px; }
footer ul a { display: inline-block; padding: 10px 0; font-size: .95rem; color: var(--ink); text-decoration: none; }
footer ul a:hover { color: var(--accent); }
.closing { grid-column: 1 / -1; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 24px;
  padding-top: 24px; border-top: 1px solid var(--line); font-size: .9rem; color: var(--muted); }
.closing .motto { font: 500 .74rem/1.3 var(--font-ui); letter-spacing: .26em; text-transform: uppercase; }
.closing .motto::before { content: ""; display: inline-block; width: 48px; height: 1px; background: var(--accent); vertical-align: middle; margin-right: 14px; }
.powered { display: inline-block; padding: 10px 0; margin: -10px 0; color: var(--navy); text-decoration-color: var(--accent-mid); }
.powered b { font-weight: 700; }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .diagram { gap: 44px; grid-template-columns: minmax(0, 1fr) 270px minmax(0, 1fr); }
  .pub .sub { display: none; }
  .net p { display: none; }
}
@media (max-width: 900px) {
  .diagram { grid-template-columns: minmax(0, 1fr); gap: 64px; max-width: 640px; }
  .diagram .wires { display: none; }
  .hub { width: min(320px, 78vw); justify-self: center; }
  .col.nets { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .col.nets .col-label { grid-column: 1 / -1; }
  .pub .sub, .net p { display: block; }
  .hub { margin-bottom: 30px; }
  .values .intro { grid-template-columns: minmax(0, 1fr); }
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .private .wrap { grid-template-columns: minmax(0, 1fr); }
  footer .wrap { grid-template-columns: minmax(0, 1fr); }
  footer ul { justify-content: flex-start; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .col.nets { grid-template-columns: minmax(0, 1fr); }
  .cards { grid-template-columns: minmax(0, 1fr); }
  .steps ol { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .steps li + li { border-left: 0; border-top: 1px solid var(--line); padding-top: 28px; }
  .chart .hour { font-size: 22px; }
  .chart .slot text { font-size: 26px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* ---------- Rymvard additions (same tokens, same shapes) ---------- */
@font-face { font-family: "Archivo"; src: url(/assets/fonts/Archivo-700.woff2) format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Instrument Sans"; src: url(/assets/fonts/InstrumentSans-400.woff2) format("woff2"); font-weight: 400 700; font-display: swap; }
@font-face { font-family: "Fraunces"; src: url(/assets/fonts/Fraunces-600.woff2) format("woff2"); font-weight: 600; font-display: swap; }
body.reg-horizon { background: linear-gradient(180deg, var(--tint) 0, var(--sky) 520px) var(--sky); color: var(--ink); overflow-x: hidden; }

/* header navigation */
.bar nav { display: flex; align-items: center; gap: 6px 10px; flex-wrap: wrap; justify-content: flex-end; }
.bar nav a.link { display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; border-radius: 999px; text-decoration: none; color: var(--navy); font: 500 .95rem/1 var(--font-ui); }
.bar nav a.link:hover, .bar nav a.link[aria-current="page"] { background: var(--paper); box-shadow: var(--shadow); }
@media (max-width: 700px) {
  .bar { flex-wrap: wrap; padding-top: 14px; padding-bottom: 6px; }
  .bar nav { width: 100%; justify-content: flex-start; gap: 4px; }
  .bar nav a.link { padding: 0 10px; font-size: .92rem; }
  .bar nav .pill { margin-left: auto; padding: 0 16px; }
}

/* hero actions */
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 28px; }
.pub .ph { width: 64px; height: 64px; border-radius: 12px; margin-left: 4px; object-fit: cover; }
.status { display: inline-flex; align-items: center; gap: 8px; margin-top: 22px; padding: 8px 14px; border-radius: 999px; background: var(--paper);
  box-shadow: var(--shadow); font: 500 .85rem/1.2 var(--font-ui); color: var(--navy); }
.status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 4px var(--ok-bg); }

/* section heads used across pages */
.head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--gutter); align-items: end; margin-bottom: clamp(28px, 4vw, 52px); }
.head h2 { font-size: clamp(2rem, 4vw, 3.1rem); margin: 0; }
.head p { margin: 0; }
.head .kicker { margin: 0 0 12px; }
@media (max-width: 900px) { .head { grid-template-columns: minmax(0, 1fr); } }

/* use cases */
.cases { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 1.8vw, 24px); }
.case { background: var(--paper); border-radius: 22px; box-shadow: var(--shadow); overflow: hidden; display: flex; flex-direction: column; }
.case picture img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.case .body { padding: clamp(20px, 2.2vw, 28px); display: flex; flex-direction: column; gap: 10px; flex: 1; }
.case .where { font: 500 .72rem/1.3 var(--font-ui); letter-spacing: .2em; text-transform: uppercase; color: var(--muted); margin: 0; }
.case h3 { margin: 0; font-size: 1.22rem; }
.case p { margin: 0; font-size: .97rem; }
.case .more { margin-top: auto; padding-top: 6px; }
.case .more a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; text-decoration: none; }
.more-row { margin-top: clamp(24px, 3vw, 36px); display: flex; justify-content: center; }
@media (max-width: 1000px) { .cases { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .cases { grid-template-columns: minmax(0, 1fr); } }

/* long-form use cases */
.story { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(24px, 4vw, 64px); align-items: center; }
.story + .story { margin-top: clamp(56px, 7vw, 96px); }
.story:nth-child(even) picture { order: 2; }
.story picture img { width: 100%; aspect-ratio: 16 / 11; object-fit: cover; border-radius: 26px; box-shadow: var(--shadow-lift); }
.story h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); margin: 8px 0 14px; }
.story .where { font: 500 .74rem/1.3 var(--font-ui); letter-spacing: .22em; text-transform: uppercase; color: var(--muted); margin: 0; }
.story dl { margin: 0; display: grid; gap: 14px; }
.story dt { font: 700 .8rem/1.2 var(--font-display); letter-spacing: .08em; text-transform: uppercase; color: var(--accent); }
.story dd { margin: 4px 0 0; max-width: 60ch; }
@media (max-width: 900px) { .story { grid-template-columns: minmax(0, 1fr); } .story:nth-child(even) picture { order: 0; } }

/* how it works: domain + capability grids */
.domains { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 1.8vw, 22px); }
.domain { background: var(--paper); border-radius: 20px; box-shadow: var(--shadow); padding: 18px; display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 16px; align-items: start; }
.domain img { width: 72px; height: 72px; border-radius: 14px; object-fit: cover; }
.domain h3 { margin: 2px 0 6px; font: 600 1.2rem/1.2 var(--font-name); letter-spacing: -.01em; }
.domain p { margin: 0; font-size: .95rem; }
.record { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-top: 28px; }
.record div { background: var(--paper); border-radius: 16px; box-shadow: var(--shadow); padding: 16px 18px; position: relative; overflow: hidden; }
.record div::before { content: ""; position: absolute; left: 18px; right: 18px; top: 0; height: 3px; border-radius: 0 0 3px 3px; background: var(--grad); }
.record b { display: block; color: var(--navy); font: 700 1rem/1.2 var(--font-display); margin-bottom: 4px; }
.record span { font-size: .92rem; color: var(--muted); }
.caps .card .q { color: var(--accent); font-size: .95rem; margin: 0 0 10px; }
.stack { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.stack span { display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border-radius: 999px; background: var(--paper); box-shadow: var(--shadow); color: var(--navy); font-weight: 500; font-size: .95rem; }
.checks { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 12px; }
.checks li { position: relative; padding-left: 32px; }
.checks li::before { content: ""; position: absolute; left: 0; top: 3px; width: 20px; height: 20px; border-radius: 50%; background: var(--grad); }
.checks li::after { content: ""; position: absolute; left: 6px; top: 8px; width: 8px; height: 5px; border-left: 2px solid #fff; border-bottom: 2px solid #fff; transform: rotate(-45deg); }
@media (max-width: 1000px) { .domains { grid-template-columns: repeat(2, minmax(0, 1fr)); } .record { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .domains, .record { grid-template-columns: minmax(0, 1fr); } }

/* page heads for inner pages */
.pagehead { padding: clamp(24px, 5vw, 64px) 0 clamp(8px, 2vw, 24px); }
.pagehead h1 { margin: 0; font-size: clamp(2.4rem, 5.6vw, 4.4rem); line-height: 1.03; }
.pagehead h1 span { display: block; background: linear-gradient(90deg, #1E4FC4, #1F6FEB 55%, #22A9E8); -webkit-background-clip: text; background-clip: text; color: transparent; }
.pagehead .lead { margin-top: 18px; }
.pagehead .note { margin-top: 14px; font-size: .92rem; color: var(--muted); }

/* FAQ */
.faq { max-width: 920px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { background: var(--paper); border-radius: 18px; box-shadow: var(--shadow); padding: 0 22px; }
.faq summary { list-style: none; cursor: pointer; min-height: 60px; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  font: 700 1.05rem/1.3 var(--font-display); color: var(--navy); padding: 14px 0; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 400 1.6rem/1 var(--font-ui); color: var(--accent); flex: none; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 0 0 20px; }

/* closing CTA band */
.cta-band { padding-top: 0; }
.cta-band .inner { border-radius: 28px; padding: clamp(28px, 4vw, 52px); background: linear-gradient(100deg, #0F2552 0%, #1E4FC4 65%, #1F6FEB 100%);
  color: #fff; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 32px; box-shadow: var(--shadow-lift); }
.cta-band h2 { color: #fff; margin: 0; font-size: clamp(1.6rem, 3vw, 2.4rem); }
.cta-band p { margin: 8px 0 0; color: #D6E4FF; }
.cta-band .pill { color: var(--navy); }
.world .say h2 { text-shadow: 0 2px 30px rgba(255, 255, 255, .7); }
.bar .brand { min-height: 44px; }
.faq details p a, .sheet p a { display: inline-block; padding: 7px 0; margin: -7px 0; }
.hero-head { max-width: 1120px; }

/* use-cases hero: six city films, one per scenario (motion comes from the films — no animated UI) */
.uc-hero { padding: clamp(24px, 5vw, 64px) 0 clamp(56px, 7vw, 96px); }
.uc-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(28px, 4vw, 72px); align-items: center; }
.uc-text h1 { margin: 0; font-size: clamp(2.4rem, 5.2vw, 4.4rem); line-height: 1.03; }
.uc-text h1 span { display: block; background: linear-gradient(90deg, #1E4FC4, #1F6FEB 55%, #22A9E8); -webkit-background-clip: text; background-clip: text; color: transparent; }
.uc-text .lead { margin-top: 18px; }
.uc-text .note { margin-top: 18px; font-size: .92rem; color: var(--muted); }
.hero-actions.left { justify-content: flex-start; margin-top: 24px; }
.mosaic { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(10px, 1.3vw, 18px); padding-bottom: 28px; }
.mosaic .tile { position: relative; display: block; aspect-ratio: 16 / 10; border-radius: 20px; overflow: hidden; background: #DDEFFC;
  box-shadow: var(--shadow); text-decoration: none; transition: box-shadow .2s var(--ease), transform .2s var(--ease); }
.mosaic .tile:nth-child(even) { margin-top: 28px; margin-bottom: -28px; }
.mosaic .tile:hover { box-shadow: var(--shadow-lift); transform: translateY(-2px); }
.mosaic .tile video, .mosaic .tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.mosaic .lbl { position: absolute; left: 10px; bottom: 10px; display: flex; flex-direction: column; gap: 1px; max-width: calc(100% - 20px);
  padding: 7px 12px; border-radius: 12px; background: rgba(255, 255, 255, .92); box-shadow: 0 4px 14px rgba(15, 37, 82, .12); }
.mosaic .lbl b { font: 700 .95rem/1.2 var(--font-display); color: var(--navy); }
.mosaic .lbl small { font-size: .74rem; line-height: 1.25; color: var(--muted); }
@media (max-width: 900px) { .uc-grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 480px) {
  .mosaic .lbl { left: 8px; bottom: 8px; padding: 5px 9px; }
  .mosaic .lbl small { display: none; }
  .mosaic .tile:nth-child(even) { margin-top: 18px; margin-bottom: -18px; }
  .mosaic { padding-bottom: 18px; }
}
