/* ===========================================================================
   Synara — public site on "Sky", the product theme.
   The site wears the same tokens as the operator console
   (cloudservices/web-ui/src/theme.css, contract in brand/THEME.md): white
   surfaces with a faint blue cast, navy ink, one blue. Near-black --stage
   values are legal only behind camera pixels (the live-view mock), never as a
   page or a panel that holds words alone. No web fonts, no dependencies.
   =========================================================================== */

:root {
  /* surfaces — Sky bg < surface-2 < surface-3; pure white is for cards */
  --bg:        #f4f8fd;
  --bg-2:      #ffffff;
  --panel:     #ffffff;
  --panel-2:   #eaf2fc;
  --surface-2: #f5f9fe;
  --line:      #e4ecf5;
  --line-2:    #cfdeee;

  /* ink — deep navy; --txt-3 is the floor for meaningful text */
  --txt:       #0f1e33;
  --txt-2:     #405876;
  --txt-3:     #566d8b;
  --faint:     #93a6bd;   /* decorative only — never words */

  /* sky — 500 is the accent itself, 600 the filled control, 700 its hover */
  --sky-50:          #f0f7ff;
  --sky-100:         #dcebfd;
  --sky-200:         #bfdcfb;
  --sky-500:         #2f8ff0;
  --accent:          #1668cf;
  --accent-2:        #0f52a8;
  --accent-hover:    #0f52a8;
  --accent-ink:      #0b4a8f;
  --accent-a:        rgba(47, 143, 240, 0.12);
  --accent-b:        rgba(47, 143, 240, 0.24);
  --accent-faint:    rgba(47, 143, 240, 0.08);
  --accent-whisper:  rgba(47, 143, 240, 0.04);
  --accent-clear:    rgba(47, 143, 240, 0);
  --on-accent:       #ffffff;
  --danger:          #b21f2d;

  /* status — fill / ink / soft, exactly as the console pairs them */
  --ok: #10a06a;   --ok-ink: #07714b;   --ok-soft: #e7f7f0;
  --warn: #e2a20b; --warn-ink: #8b6008; --warn-soft: #fdf4e0;
  --bad: #e2505f;  --bad-ink: #b21f2d;  --bad-soft: #fdedef;

  /* media — only behind pixels */
  --stage:           #0b0f14;
  --stage-2:         #131a22;
  --stage-line:      #263241;
  --stage-line-2:    #33445a;
  --stage-ink:       #f2f6fb;
  --stage-muted:     #b9c6d6;
  --stage-accent:    #2f8ff0;

  /* Translucent surfaces are named so the core palette cannot drift. */
  --nav-bg:          rgba(244, 248, 253, 0.78);
  --nav-bg-stuck:    rgba(255, 255, 255, 0.92);
  --panel-wash:      rgba(234, 242, 252, 0.7);
  --panel-solid:     #ffffff;
  --panel-soft:      rgba(255, 255, 255, 0.72);
  --panel-subtle:    rgba(234, 242, 252, 0.55);

  /* depth — the console's three elevations */
  --shadow-sm: 0 1px 2px rgba(15, 30, 51, 0.05);
  --shadow:    0 1px 2px rgba(15, 30, 51, 0.05), 0 6px 16px -6px rgba(15, 30, 51, 0.10);
  --shadow-lg: 0 24px 60px -18px rgba(15, 30, 51, 0.24), 0 4px 12px rgba(15, 30, 51, 0.06);
  --ring:      0 0 0 3px rgba(47, 143, 240, 0.22);

  /* type — the console's stack */
  --sans: "Inter var", Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI Variable Text", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;

  /* metrics */
  --wrap: 1200px;
  --pad: 24px;
  --r: 10px;
  --r-sm: 8px;
  --r-lg: 14px;
  --r-xl: 22px;

  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--txt);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  /* a faint teal wash so Paper has depth without looking like a gradient band */
  background-image:
    radial-gradient(900px 520px at 50% -8%, rgba(47, 143, 240, 0.06), transparent 70%),
    radial-gradient(700px 400px at 92% 8%, rgba(47, 143, 240, 0.035), transparent 65%);
  background-repeat: no-repeat;
}

img, svg { max-width: 100%; }
a { color: inherit; }

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--pad);
}

.mono {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

::selection { background: var(--accent-b); color: var(--txt); }

:where(a, button, input, textarea):focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: var(--r-sm);
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 100;
  padding: 9px 13px;
  border-radius: var(--r-sm);
  background: var(--accent);
  color: var(--on-accent);
  font-size: 14px;
  font-weight: 650;
  text-decoration: none;
  transform: translateY(-160%);
  transition: transform 0.16s ease;
}
.skip-link:focus { transform: translateY(0); }

/* ============================== NAV ================================= */

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--nav-bg);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease, background 0.25s ease;
}
.nav.is-stuck {
  border-bottom-color: var(--line);
  background: var(--nav-bg-stuck);
}
.nav-in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 66px;
}
.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  color: var(--txt);
}
.brand-wordmark { display: block; width: 96px; height: auto; flex: none; }
.nav-right { display: flex; align-items: center; gap: 14px; }

.chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 11px 5px 9px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: var(--panel);
  color: var(--txt-2);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  white-space: nowrap;
}
.chip-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 0 var(--accent-b);
  animation: pulse 2.6s ease-out infinite;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 var(--accent-b); }
  70%  { box-shadow: 0 0 0 7px var(--accent-clear); }
  100% { box-shadow: 0 0 0 0 var(--accent-clear); }
}

/* ============================= BUTTONS ============================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 20px;
  border: 1px solid transparent;
  border-radius: var(--r-sm);
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 560;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.16s ease, background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.btn-primary {
  background: var(--accent);
  color: var(--on-accent);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.12) inset, 0 6px 18px -10px var(--accent-b);
}
.btn-primary:hover { background: var(--accent-hover); transform: translateY(-1px); }
.btn-primary:active { transform: translateY(0); }
.btn-ghost {
  background: var(--panel);
  border-color: var(--line-2);
  color: var(--txt);
}
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }

.btn-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--txt-2);
  font-size: 15px;
  text-decoration: none;
  transition: color 0.2s ease;
}
.btn-link:hover { color: var(--accent); }
.btn-link .arr { transition: transform 0.2s ease; }
.btn-link:hover .arr { transform: translateY(2px); }

/* ============================== HERO ================================ */

.hero { padding: clamp(56px, 9vw, 108px) 0 clamp(40px, 6vw, 72px); }

.eyebrow {
  margin: 0 0 22px;
  color: var(--txt-3);
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.h1 {
  margin: 0 0 22px;
  max-width: 17ch;
  font-size: clamp(38px, 6.4vw, 76px);
  font-weight: 630;
  line-height: 1.04;
  letter-spacing: -0.032em;
}
.h1 .dim { color: var(--txt-3); }

.lede {
  margin: 0 0 32px;
  max-width: 60ch;
  color: var(--txt-2);
  font-size: clamp(17px, 1.7vw, 19.5px);
  line-height: 1.62;
}
.lede strong { color: var(--txt); font-weight: 560; }

.hero-cta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px 26px;
  margin-bottom: clamp(48px, 7vw, 80px);
}

/* ---- the event stream: the whole thesis in one picture ---- */

.stream {
  margin: 0;
  border: 1px solid var(--stage-line);
  border-radius: var(--r);
  background: linear-gradient(180deg, var(--stage-2) 0%, var(--stage) 100%);
  color: var(--stage-ink);
  overflow: hidden;
}
.stream-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--stage-line);
  color: var(--stage-muted);
}
.stream-id { color: var(--stage-muted); }
.stream-tag {
  padding: 3px 8px;
  border: 1px solid var(--stage-line-2);
  border-radius: 4px;
  font-size: 10px;
  letter-spacing: 0.12em;
}
.stream-svg {
  display: block;
  width: 100%;
  height: clamp(150px, 22vw, 210px);
}
.stream-svg .grid line { stroke: var(--stage-line); stroke-width: 1; stroke-dasharray: 2 6; }
.stream-svg .axis { stroke: var(--stage-line-2); stroke-width: 1; }
.stream-svg .noise { fill: var(--stage-muted); }
.stream-svg .signals { fill: var(--stage-accent); }

/* Ticks grow up from the baseline. fill-box makes transform-origin resolve
   against each rect's own box rather than the whole viewBox, and the keyframe
   settles on --o so every tick keeps the opacity it was authored with. */
.stream-svg .tk {
  opacity: 0;
  transform-box: fill-box;
  transform-origin: center bottom;
  animation: tickRise 0.5s ease-out forwards;
  animation-delay: var(--d, 0s);
}
@keyframes tickRise {
  from { opacity: 0;         transform: scaleY(0.2); }
  to   { opacity: var(--o, 1); transform: scaleY(1); }
}

.stream-svg .sig {
  opacity: 0;
  transform-box: fill-box;
  transform-origin: center bottom;
  animation: sigIn 0.6s cubic-bezier(0.2, 0.9, 0.25, 1) forwards;
  animation-delay: var(--d, 0s);
  filter: drop-shadow(0 0 10px rgba(47, 143, 240, 0.35));
}
@keyframes sigIn {
  from { opacity: 0; transform: scaleY(0.1); }
  to   { opacity: 1; transform: scaleY(1); }
}

/* Ambient scan line. Kept faint on purpose — at full strength a still frame
   reads it as a stray bar rather than motion. */
.stream-svg .sweep {
  stroke: var(--stage-accent);
  stroke-width: 1;
  opacity: 0;
  animation: sweep 7s cubic-bezier(0.5, 0, 0.5, 1) 1.6s infinite;
}
@keyframes sweep {
  0%        { transform: translateX(0);      opacity: 0; }
  8%        {                                opacity: 0.2; }
  86%       {                                opacity: 0.07; }
  92%, 100% { transform: translateX(1200px); opacity: 0; }
}

.stream-axis {
  display: flex;
  justify-content: space-between;
  padding: 0 16px 12px;
  color: var(--stage-muted);
  font-size: 10.5px;
  letter-spacing: 0.1em;
}
.stream-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
  padding: 13px 16px;
  border-top: 1px solid var(--stage-line);
  background: rgba(19, 26, 34, 0.6);
  color: var(--stage-muted);
  font-size: 13.5px;
}
.lg { display: inline-flex; align-items: center; gap: 9px; }
.sw { width: 3px; height: 14px; border-radius: 2px; flex: none; }
.sw-noise { background: var(--stage-muted); }
.sw-sig { background: var(--stage-accent); box-shadow: 0 0 8px rgba(47, 143, 240, 0.35); }

/* ============================ SECTIONS ============================== */

.sec { padding: clamp(64px, 9vw, 112px) 0; }
.sec-tight { padding: clamp(40px, 6vw, 72px) 0; }
.sec-alt {
  border-block: 1px solid var(--line);
  background: linear-gradient(180deg, var(--panel-wash), transparent);
}

.kicker {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 28px;
  color: var(--accent);
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.rule {
  width: 26px;
  height: 1px;
  background: currentColor;
  opacity: 0.55;
  flex: none;
}

.h2 {
  margin: 0 0 18px;
  max-width: 21ch;
  font-size: clamp(27px, 3.6vw, 40px);
  font-weight: 620;
  line-height: 1.16;
  letter-spacing: -0.024em;
}
.body {
  margin: 0;
  max-width: 56ch;
  color: var(--txt-2);
  font-size: 16.5px;
}

/* ---- thesis cards ---- */

.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
}
.card {
  padding: clamp(24px, 3vw, 34px);
  background: var(--bg);
  transition: background 0.25s ease;
}
.card:hover { background: var(--panel); }
.card-n {
  display: block;
  margin-bottom: 18px;
  color: var(--accent);
  font-size: 11px;
}
.card-h {
  margin: 0 0 12px;
  font-size: 19.5px;
  font-weight: 600;
  letter-spacing: -0.012em;
  line-height: 1.3;
}
.card-p {
  margin: 0;
  color: var(--txt-2);
  font-size: 15.5px;
  line-height: 1.62;
}
.card-p em { color: var(--txt); font-style: normal; font-weight: 560; }

/* ---- who we're building with ---- */

.who-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 6vw, 72px);
  align-items: start;
}
.who-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
}
.who-list li {
  display: flex;
  gap: 16px;
  padding: 22px;
  background: var(--bg);
  transition: background 0.25s ease;
}
.who-list li:hover { background: var(--panel); }
.who-k { color: var(--accent); opacity: 0.7; font-size: 11px; padding-top: 4px; }
.who-list b {
  display: block;
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 3px;
}
.who-list span {
  display: block;
  color: var(--txt-2);
  font-size: 14.5px;
  line-height: 1.55;
}

/* ---- stance ---- */

.stance {
  padding: clamp(28px, 4vw, 44px);
  border: 1px solid var(--line);
  border-left: 2px solid var(--accent);
  border-radius: var(--r);
  background: linear-gradient(100deg, var(--accent-a), transparent 55%), var(--panel);
}
.stance .kicker { color: var(--accent); }
.stance-p {
  margin: 0;
  max-width: 66ch;
  font-size: clamp(17px, 1.9vw, 20px);
  line-height: 1.6;
  letter-spacing: -0.008em;
}
.stance-sub {
  margin-top: 14px;
  color: var(--txt-2);
  font-size: 16px;
}

/* ============================= CONTACT ============================== */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 6vw, 72px);
  align-items: start;
}
.contact-direct {
  margin: 26px 0 0;
  color: var(--txt-2);
  font-size: 15.5px;
}
.contact-direct a {
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid var(--accent-b);
  padding-bottom: 1px;
}
.contact-direct a:hover { border-bottom-color: var(--accent); }

.form {
  padding: clamp(22px, 3vw, 32px);
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--panel);
}
.field { margin-bottom: 18px; }
.field label {
  display: block;
  margin-bottom: 7px;
  font-size: 13.5px;
  font-weight: 560;
  color: var(--txt-2);
}
.opt {
  color: var(--txt-3);
  font-weight: 400;
  font-size: 12.5px;
}
.field input,
.field textarea {
  width: 100%;
  padding: 11px 13px;
  border: 1px solid var(--line-2);
  border-radius: var(--r-sm);
  background: var(--bg);
  color: var(--txt);
  font-family: var(--sans);
  font-size: 15.5px;
  line-height: 1.55;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}
.field textarea { resize: vertical; min-height: 118px; }
.field input::placeholder,
.field textarea::placeholder { color: var(--txt-3); }
.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-a);
}
.field.is-bad input,
.field.is-bad textarea { border-color: var(--danger); }

.err {
  margin: 7px 0 0;
  color: var(--danger);
  font-size: 13px;
}

/* honeypot — off-screen rather than display:none, which some bots skip */
.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.btn-submit {
  width: 100%;
  margin-top: 4px;
  padding: 13px 20px;
  font-size: 15.5px;
}
.btn-submit[disabled] { opacity: 0.6; cursor: not-allowed; transform: none; }

.spinner {
  display: none;
  width: 14px;
  height: 14px;
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-top-color: var(--on-accent);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.is-sending .spinner { display: block; }

.form-note {
  margin: 14px 0 0;
  color: var(--txt-3);
  font-size: 13px;
  text-align: center;
}
.form-status {
  margin: 14px 0 0;
  font-size: 14.5px;
  text-align: center;
  min-height: 0;
}
.form-status:empty { margin: 0; }
.form-status.ok { color: var(--accent); }
.form-status.bad { color: var(--danger); }

/* ============================= INSTALL ============================= */

.install-page {
  min-height: 100vh;
  background-image:
    radial-gradient(820px 520px at 68% 4%, rgba(47, 143, 240, 0.07), transparent 68%),
    radial-gradient(620px 380px at 8% 24%, var(--accent-whisper), transparent 68%);
}

.install-main { overflow: hidden; }

.install-hero {
  padding: clamp(56px, 8vw, 96px) 0 clamp(64px, 8vw, 104px);
}

.install-intro {
  max-width: 760px;
  margin-bottom: clamp(36px, 6vw, 60px);
}

.install-h1 {
  max-width: 13ch;
  font-size: clamp(38px, 6vw, 68px);
}

.install-lede { max-width: 64ch; }
.install-page .eyebrow { color: var(--txt-2); }

.platform-catalog {
  display: grid;
  gap: 20px;
}

.catalog-state {
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: 142px;
  padding: clamp(24px, 4vw, 36px);
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--panel);
}

.catalog-state h2 {
  margin: 0 0 4px;
  font-size: 19px;
  font-weight: 600;
}

.catalog-state p {
  margin: 0;
  color: var(--txt-2);
  font-size: 14.5px;
}

.catalog-state a { color: var(--accent); }

.catalog-state-error {
  justify-content: space-between;
  border-color: var(--line-2);
}

.catalog-pulse {
  width: 12px;
  height: 12px;
  flex: none;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 0 var(--accent-b);
  animation: pulse 1.8s ease-out infinite;
}

.catalog-retry { flex: none; }

.platform-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(270px, 0.75fr);
  gap: 20px;
  align-items: stretch;
}

.platform-card,
.install-aside {
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: linear-gradient(180deg, var(--panel) 0%, var(--panel-solid) 100%);
}

.platform-card {
  position: relative;
  padding: clamp(24px, 4vw, 40px);
  overflow: hidden;
}

.platform-card::after {
  position: absolute;
  right: -80px;
  bottom: -120px;
  width: 300px;
  height: 300px;
  border: 1px solid var(--accent-faint);
  border-radius: 50%;
  box-shadow: 0 0 0 34px var(--accent-whisper), 0 0 0 68px rgba(47, 143, 240, 0.02);
  content: "";
  pointer-events: none;
}

.platform-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 30px;
}

.platform-identity {
  display: flex;
  align-items: center;
  gap: 16px;
}

.platform-mark {
  display: grid;
  width: 54px;
  height: 54px;
  flex: none;
  place-items: center;
  border: 1px solid var(--line-2);
  border-radius: 10px;
  background: var(--bg);
  color: var(--accent);
}

.platform-overline {
  display: block;
  margin-bottom: 2px;
  color: var(--txt-2);
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.platform-name {
  margin: 0;
  font-size: clamp(22px, 3vw, 29px);
  font-weight: 620;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.availability {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 10px;
  border: 1px solid var(--accent-b);
  border-radius: 999px;
  background: var(--accent-a);
  color: var(--accent);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  white-space: nowrap;
}

.availability::before {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  content: "";
}

.availability.is-unavailable {
  border-color: var(--line-2);
  background: var(--bg);
  color: var(--txt-2);
}

.platform-description {
  position: relative;
  z-index: 1;
  margin: 0 0 22px;
  max-width: 56ch;
  color: var(--txt-2);
  font-size: 16px;
}

.platform-specs {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 30px;
  padding: 0;
  list-style: none;
}

.platform-specs li {
  padding: 5px 9px;
  border: 1px solid var(--line-2);
  border-radius: 5px;
  background: var(--panel-soft);
  color: var(--txt-2);
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.download-action {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 13px 18px;
}

.download-btn { min-height: 46px; }
.download-btn.is-disabled { cursor: not-allowed; opacity: 0.68; }

.download-meta {
  margin: 0;
  color: var(--txt-2);
  font-size: 12.5px;
  line-height: 1.45;
}

.download-meta p { margin: 0; }
.release-summary { color: var(--txt); font-weight: 570; }
.package-filename { margin-top: 4px !important; }
.package-checksum {
  max-width: min(100%, 52ch);
  margin-top: 2px !important;
  color: var(--txt-2);
}
.package-checksum code {
  font-family: var(--mono);
  font-size: 10.5px;
  overflow-wrap: anywhere;
}

.install-aside {
  display: flex;
  flex-direction: column;
  padding: clamp(24px, 3vw, 32px);
}

.aside-title {
  margin: 0 0 22px;
  color: var(--txt-2);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.requirement-list {
  display: grid;
  gap: 18px;
  margin: 0;
}

.requirement-row {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 11px;
}

.requirement-row dt {
  color: var(--accent);
  font-family: var(--mono);
  font-size: 11px;
  line-height: 1.7;
}

.requirement-row dd {
  margin: 0;
  color: var(--txt-2);
  font-size: 14px;
  line-height: 1.55;
}

.requirement-row strong { color: var(--txt); font-weight: 580; }

.install-note {
  margin: auto 0 0;
  padding-top: 24px;
  color: var(--txt-2);
  font-size: 12.5px;
}

.steps-section {
  border-block: 1px solid var(--line);
  background: var(--panel-subtle);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: 34px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--line);
}

.step {
  min-height: 210px;
  padding: clamp(22px, 3vw, 30px);
  background: var(--bg);
}

.step-number {
  display: block;
  margin-bottom: 42px;
  color: var(--accent);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
}

.step h3 {
  margin: 0 0 9px;
  font-size: 18px;
  font-weight: 600;
}

.step p {
  margin: 0;
  color: var(--txt-2);
  font-size: 14.5px;
}

.future-platforms {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  padding: clamp(26px, 4vw, 38px);
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--panel);
}

.future-platforms h2 {
  margin: 0 0 5px;
  font-size: 20px;
  font-weight: 600;
}

.future-platforms p {
  margin: 0;
  color: var(--txt-2);
  font-size: 15px;
}

.future-tag {
  flex: none;
  color: var(--txt-2);
}

/* form replaced by a confirmation once sent */
.sent {
  text-align: center;
  padding: clamp(28px, 5vw, 48px) 20px;
}
.sent-mark {
  width: 46px;
  height: 46px;
  margin: 0 auto 18px;
  border-radius: 50%;
  border: 1px solid var(--accent);
  background: var(--accent-a);
  display: grid;
  place-items: center;
  color: var(--accent);
  font-size: 21px;
}
.sent h3 { margin: 0 0 8px; font-size: 20px; font-weight: 620; }
.sent p { margin: 0; color: var(--txt-2); font-size: 15.5px; }

/* ============================= SMS PAGES ============================ */

.sms-page .sms-main { padding-block: clamp(44px, 7vw, 80px) 96px; }
.sms-page .sms-heading { padding-bottom: 40px; border-bottom: 1px solid var(--line); }
.sms-page .sms-heading h1 {
  margin: 12px 0 20px;
  font-size: clamp(36px, 5vw, 58px);
  font-weight: 540;
  letter-spacing: -0.045em;
  line-height: 1.12;
}
.sms-page .sms-lede { max-width: 620px; margin: 0; font-size: 20px; color: var(--txt-2); }
.sms-page .sms-version { margin: 24px 0 0; font-size: 13px; color: var(--txt-2); }
.sms-page .sms-layout { display: grid; grid-template-columns: 190px minmax(0, 700px); gap: 64px; padding-top: 44px; }
.sms-page .sms-toc { align-self: start; position: sticky; top: 96px; font-size: 14px; }
.sms-page .sms-toc p { margin: 0 0 18px; color: var(--txt-2); }
.sms-page .sms-toc ol { list-style: none; padding: 0; margin: 0; }
.sms-page .sms-toc li + li { margin-top: 12px; }
.sms-page .sms-toc a { text-decoration: none; }
.sms-page .sms-toc a:hover { color: var(--accent); text-decoration: underline; }
.sms-page .sms-content section { scroll-margin-top: 96px; }
.sms-page .sms-content section + section { margin-top: 38px; padding-top: 32px; border-top: 1px solid var(--line); }
.sms-page .sms-content h2 { font-size: 23px; font-weight: 580; line-height: 1.3; letter-spacing: -0.025em; margin: 0 0 18px; }
.sms-page .sms-content p { margin: 0 0 18px; }
.sms-page .sms-content p:last-child { margin-bottom: 0; }
.sms-page .sms-content a { color: var(--accent); text-underline-offset: 3px; overflow-wrap: anywhere; }

@media (max-width: 760px) {
  .sms-page .sms-layout { grid-template-columns: minmax(0, 1fr); gap: 36px; padding-top: 30px; }
  .sms-page .sms-toc { position: static; padding-bottom: 28px; border-bottom: 1px solid var(--line); }
  .sms-page .sms-toc ol { display: flex; flex-wrap: wrap; gap: 8px 22px; }
  .sms-page .sms-toc li + li { margin-top: 0; }
  .sms-page .sms-lede { font-size: 18px; }
}

/* ============================== FOOTER ============================== */

.foot {
  border-top: 1px solid var(--line);
  padding: 30px 0;
  background: var(--panel-2);
}
.foot-in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px 24px;
}
.foot-brand {
  display: inline-flex;
  align-items: center;
}
.foot-wordmark { display: block; width: 84px; height: auto; }
.foot-note, .foot-copy { margin: 0; color: var(--txt-3); font-size: 11px; }
.foot-note a { color: var(--txt-2); text-decoration: none; }
.foot-note a:hover { color: var(--accent); }

/* ============================== MOTION ============================== */

.rv {
  opacity: 1;
  transform: none;
  transition: opacity 0.6s cubic-bezier(0.2, 0.7, 0.3, 1), transform 0.6s cubic-bezier(0.2, 0.7, 0.3, 1);
}
.rv.rv-pending { opacity: 0; transform: translateY(14px); }
.rv.rv-pending.in { opacity: 1; transform: none; }

/* ============================ RESPONSIVE ============================ */


/* ============================ HOME (Sky) ============================ */
/* The product-page flow: a centred hero over concentric rings, a sticky
   capabilities column, the console itself, a components tray, privacy,
   and a contact card. Every mock is drawn with the console's tokens. */

.home { background-image: none; }

.nav-links { display: flex; gap: 30px; }
.nav-links a {
  color: var(--txt);
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.15s ease;
}
.nav-links a:hover { color: var(--accent); }

.btn-arrow { gap: 10px; padding: 7px 7px 7px 16px; }
.arrow-chip {
  display: inline-grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.18);
  font-size: 14px;
  transition: transform 0.18s ease;
}
.btn-arrow:hover .arrow-chip { transform: translateX(2px); }
.btn-lg { padding: 13px 22px; font-size: 16px; border-radius: var(--r); }
.btn-lg.btn-arrow { padding: 9px 9px 9px 20px; }
.btn-lg .arrow-chip { width: 30px; height: 30px; }
.btn-ghost { box-shadow: var(--shadow-sm); }
.btn-primary { box-shadow: 0 1px 0 rgba(255, 255, 255, 0.14) inset, 0 8px 20px -10px rgba(22, 104, 207, 0.55); }

.overline {
  margin: 0 0 14px;
  color: var(--accent);
  font-size: 14px;
  font-weight: 600;
}
.center { text-align: center; margin-inline: auto; }
.sec-head { max-width: 720px; margin: 0 auto clamp(36px, 5vw, 56px); text-align: center; }
.sec-head .h2 { max-width: none; }
.sec-head .body { max-width: 60ch; }
.dim { color: var(--txt-3); }

/* ---- hero ---- */

.hero-c {
  position: relative;
  overflow: hidden;
  padding: clamp(56px, 8vw, 96px) 0 clamp(56px, 7vw, 96px);
  background: linear-gradient(180deg, #e8f1fc 0%, var(--bg) 62%);
}
.rings { position: absolute; inset: 0; pointer-events: none; }
.rings i {
  position: absolute;
  left: 50%;
  top: 0;
  border-radius: 50%;
  border: 1px solid rgba(47, 143, 240, 0.10);
  background: radial-gradient(closest-side, transparent 86%, rgba(47, 143, 240, 0.045));
  transform: translate(-50%, -38%);
}
.rings i:nth-child(1) { width: 560px;  height: 560px; }
.rings i:nth-child(2) { width: 980px;  height: 980px; }
.rings i:nth-child(3) { width: 1440px; height: 1440px; }
.rings i:nth-child(4) { width: 1960px; height: 1960px; }
.rings i:nth-child(5) { width: 2560px; height: 2560px; }

.hero-c-in { position: relative; text-align: center; }
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 24px;
  padding: 6px 13px;
  border: 1px solid var(--sky-200);
  border-radius: var(--r-sm);
  background: rgba(220, 235, 253, 0.7);
  color: var(--accent-ink);
  font-size: 14px;
  font-weight: 500;
}
.badge svg { color: var(--accent); }
.hero-h1 {
  max-width: none;
  margin-inline: auto;
  font-size: clamp(40px, 6.6vw, 80px);
  font-weight: 650;
  letter-spacing: -0.038em;
  line-height: 1.02;
}
.grad {
  background: linear-gradient(92deg, var(--accent-2) 0%, var(--sky-500) 70%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-lede { margin-inline: auto; max-width: 58ch; }
.hero-c-cta { justify-content: center; margin-bottom: clamp(44px, 6vw, 72px); }

/* ---- the console mock ---- */

.stage { position: relative; max-width: 980px; margin: 0 auto; text-align: left; }
.app {
  border: 1px solid var(--line-2);
  border-radius: var(--r-xl);
  background: var(--panel);
  box-shadow: var(--shadow-lg), 0 60px 120px -40px rgba(22, 104, 207, 0.28);
  overflow: hidden;
}
.app-bar {
  display: flex;
  align-items: center;
  gap: 18px;
  height: 50px;
  padding: 0 18px;
  border-bottom: 1px solid var(--line);
  background: var(--panel);
  font-size: 13px;
}
.dots { display: inline-flex; gap: 6px; }
.dots i { width: 10px; height: 10px; border-radius: 50%; background: var(--line-2); }
.app-mark { width: 64px; height: auto; }
.app-tabs { display: inline-flex; gap: 2px; padding: 3px; border-radius: var(--r-sm); background: var(--panel-2); }
.app-tabs b { padding: 4px 11px; border-radius: 6px; color: var(--txt-3); font-weight: 500; }
.app-tabs b.on { background: var(--panel); color: var(--accent-ink); box-shadow: var(--shadow-sm); }
.app-site { margin-left: auto; display: inline-flex; align-items: center; gap: 7px; color: var(--txt-2); font-weight: 500; }

.dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; flex: none; }
.dot.ok { background: var(--ok); box-shadow: 0 0 0 3px var(--ok-soft); }
.dot.bad { background: var(--bad); box-shadow: 0 0 0 3px var(--bad-soft); }
.dot.warn { background: #bf8300; box-shadow: 0 0 0 3px var(--warn-soft); }
.dot.neutral { background: #7488a2; }

.app-body { padding: clamp(18px, 3vw, 32px); background: var(--bg); }
.q-row { display: flex; justify-content: flex-end; margin-bottom: 14px; }
.q {
  margin: 0;
  max-width: 78%;
  padding: 10px 15px;
  border-radius: 14px 14px 4px 14px;
  background: var(--accent);
  color: #fff;
  font-size: 15px;
  line-height: 1.45;
}
.ans {
  margin-bottom: 16px;
  padding: clamp(16px, 2.4vw, 22px);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--panel);
  box-shadow: var(--shadow-sm);
}
.ans-lead { margin: 0 0 16px; font-size: 15.5px; line-height: 1.55; color: var(--txt-2); }
.ans-lead b { color: var(--txt); font-weight: 650; }
.cam {
  padding: 1px 7px;
  border-radius: 6px;
  background: var(--sky-50);
  border: 1px solid var(--sky-100);
  color: var(--accent-ink);
  font-weight: 500;
  white-space: nowrap;
}
.bars-axis { display: flex; justify-content: space-between; margin-top: 7px; color: var(--txt-3); font-size: 10.5px; }
.coverage {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 14px 0 0;
  color: var(--txt-3);
  font-size: 13px;
}
.cov-full, .cov-part { width: 34px; height: 6px; border-radius: 3px; flex: none; }
.cov-full { background: var(--ok); }
.cov-part { background: linear-gradient(90deg, var(--line-2) 0 70%, var(--ok) 70% 100%); }
.composer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 8px 8px 16px;
  border: 1px solid var(--line-2);
  border-radius: var(--r-lg);
  background: var(--panel);
  color: var(--faint);
  font-size: 15px;
  box-shadow: var(--shadow-sm);
}
.send { display: grid; place-items: center; width: 32px; height: 32px; border-radius: var(--r-sm); background: var(--accent); color: #fff; }

.float {
  position: absolute;
  display: flex;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: var(--shadow-lg);
  font-size: 13px;
  animation: floaty 6s ease-in-out infinite;
}
.float-box { left: -56px; top: 120px; align-items: center; gap: 12px; padding: 12px 16px 12px 12px; }
.fb-ico { display: grid; place-items: center; width: 40px; height: 40px; border-radius: var(--r); background: var(--sky-50); color: var(--accent); }
.float-box b { display: block; font-size: 14px; }
.float-box small { display: inline-flex; align-items: center; gap: 7px; color: var(--txt-3); font-size: 12.5px; }
.float-alert { right: -84px; bottom: -120px; flex-direction: column; gap: 6px; width: 264px; padding: 12px 14px; animation-delay: -3s; }
.fa-top { display: flex; align-items: center; gap: 8px; }
.fa-top b { color: var(--txt-2); font-size: 12px; font-weight: 600; }
.fa-app { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 6px; background: var(--sky-100); color: var(--accent-ink); }
.fa-app svg { width: 14px; height: 14px; }
.fa-clip { position: relative; display: block; height: 96px; border-radius: 8px; overflow: hidden; background: var(--stage); }
.fa-clip i { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: rgba(9, 14, 20, 0.62); color: #fff; font-size: 11px; font-style: normal; }
.fa-top small { margin-left: auto; color: var(--txt-3); font-family: var(--mono); font-size: 11px; }
.fa-body { color: var(--txt); font-size: 14px; }
.fa-sent { color: var(--txt-3); font-size: 12px; }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
.stage-cap { margin: 18px 0 0; color: var(--txt-3); font-size: 12px; text-align: center; }

/* ---- capabilities ---- */

.caps { background: var(--panel); border-block: 1px solid var(--line); }
.caps-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(40px, 7vw, 110px); }
.caps-intro .sticky { position: sticky; top: 110px; }
.caps-h { font-size: clamp(30px, 4vw, 48px); max-width: 15ch; letter-spacing: -0.03em; line-height: 1.08; }
.caps-link { margin-top: 26px; color: var(--accent); font-weight: 500; }
.caps-link:hover .arr { transform: translateX(3px); }
.cap-list { list-style: none; margin: 0; padding: 0; display: grid; gap: clamp(40px, 5vw, 64px); }
.cap-ico {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 20px;
  border: 1px solid var(--sky-100);
  border-radius: var(--r);
  background: linear-gradient(180deg, var(--sky-50), var(--panel));
  color: var(--accent);
  box-shadow: var(--shadow-sm);
}
.cap h3 { margin: 0 0 10px; font-size: clamp(22px, 2.3vw, 28px); font-weight: 650; letter-spacing: -0.02em; line-height: 1.2; }
.cap p { margin: 0; max-width: 54ch; color: var(--txt-2); font-size: 16px; line-height: 1.62; }
.cap p b { color: var(--txt); font-weight: 600; }

/* ---- console tabs ---- */

.tabs {
  display: flex;
  justify-content: center;
  gap: 4px;
  width: max-content;
  max-width: 100%;
  margin: 0 auto 28px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--panel-2);
  overflow-x: auto;
}
.tab {
  padding: 8px 18px;
  border: 0;
  border-radius: var(--r-sm);
  background: transparent;
  color: var(--txt-2);
  font: 500 15px/1 var(--sans);
  white-space: nowrap;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}
.tab:hover { color: var(--txt); }
.tab[aria-selected="true"] { background: var(--panel); color: var(--accent-ink); box-shadow: var(--shadow); }
.panes { max-width: 1040px; margin: 0 auto; }
.pane[hidden] { display: none; }
.pane { animation: paneIn 0.35s ease both; }
@keyframes paneIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

.win {
  display: flex;
  min-height: 420px;
  border: 1px solid var(--line-2);
  border-radius: var(--r-xl);
  background: var(--bg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.win-side {
  flex: 0 0 230px;
  padding: 20px 14px;
  border-right: 1px solid var(--line);
  background: var(--panel);
}
.win-side.wide { flex-basis: 290px; }
.ws-h { margin: 0 0 10px 8px; color: var(--txt-3); font-size: 11px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; }
.ws-i { margin: 0 0 2px; padding: 8px 10px; border-radius: var(--r-sm); color: var(--txt-2); font-size: 14px; line-height: 1.35; }
.ws-i.on, .al.on { background: var(--sky-50); color: var(--accent-ink); box-shadow: inset 2px 0 0 var(--sky-500); }
.win-main { flex: 1; min-width: 0; padding: clamp(18px, 2.6vw, 28px); }
.timeline { position: relative; height: 34px; }
.tl-track { position: absolute; left: 0; right: 0; top: 16px; height: 2px; border-radius: 1px; background: var(--line-2); }
.timeline i {
  position: absolute;
  top: 9px;
  width: 16px;
  height: 16px;
  margin-left: -8px;
  border: 3px solid var(--panel);
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 1px var(--sky-200);
}

.al { display: flex; align-items: flex-start; gap: 11px; margin-bottom: 2px; padding: 10px; border-radius: var(--r-sm); }
.al .dot { margin-top: 6px; }
.al b { display: block; font-size: 14px; font-weight: 600; color: var(--txt); }
.al small { color: var(--txt-3); font-size: 12.5px; }

.media {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: var(--r);
  background: linear-gradient(180deg, #1b2735, var(--stage));
  overflow: hidden;
}
.scene { display: block; width: 100%; height: 100%; }
.hud {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 8px;
  border-radius: 6px;
  background: rgba(9, 14, 20, 0.62);
  color: var(--stage-ink);
  font-size: 12px;
  font-weight: 500;
}
.hud-tl { left: 10px; top: 10px; }
.hud-tr { right: 10px; top: 10px; font-family: var(--mono); font-size: 11px; }
.hud.live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--bad); animation: pulseRed 1.6s ease-out infinite; }
@keyframes pulseRed { 50% { opacity: 0.35; } }
.al-detail { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; margin-top: 16px; }
.ald-h { margin: 0 0 4px; font-size: 17px; font-weight: 650; }
.ald-s { margin: 0; color: var(--txt-3); font-size: 13.5px; line-height: 1.5; }
.ald-who { display: flex; flex-wrap: wrap; gap: 8px; }
.pill { padding: 4px 10px; border: 1px solid var(--line-2); border-radius: 999px; background: var(--panel); color: var(--txt-2); font-size: 12.5px; font-weight: 500; }
.pill.ok { border-color: #c9ebdc; background: var(--ok-soft); color: var(--ok-ink); }

.win-live { flex-direction: column; padding: clamp(12px, 2vw, 18px); background: var(--stage-2); border-color: var(--stage-line); }
.live-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.live-grid .media { border: 1px solid var(--stage-line); }
.live-foot { display: flex; align-items: center; gap: 9px; margin: 14px 4px 2px; color: var(--stage-muted); font-size: 13px; }

.heat-stats { display: grid; gap: 1px; margin: 0; border: 1px solid var(--line); border-radius: var(--r); background: var(--line); overflow: hidden; }
.heat-stats div { display: flex; justify-content: space-between; gap: 12px; padding: 10px 14px; background: var(--panel); font-size: 14px; }
.heat-stats dt { color: var(--txt-3); }
.heat-stats dd { margin: 0; font-weight: 600; }

/* ---- system ---- */

.system { padding-top: clamp(40px, 5vw, 64px); }
.tray {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
  padding: clamp(24px, 3vw, 40px) clamp(12px, 2vw, 28px);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  background: linear-gradient(180deg, #eef4fb, var(--bg));
}
.part { text-align: center; padding: 8px; border-radius: var(--r-lg); transition: background 0.2s ease; }
.part:hover { background: rgba(255, 255, 255, 0.7); }
.part-art { height: 128px; display: grid; place-items: center; }
.part-art svg { width: 100%; max-width: 150px; height: auto; filter: drop-shadow(0 14px 16px rgba(15, 30, 51, 0.12)); transition: transform 0.3s ease; }
.part:hover .part-art svg { transform: translateY(-4px); }
.part-n { margin: 10px 0 4px; font-size: 16px; font-weight: 600; }
.part-s { margin: 0 auto; max-width: 20ch; color: var(--txt-3); font-size: 13.5px; line-height: 1.45; }

.steps3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 16px; }
.step3 {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--panel);
  box-shadow: var(--shadow-sm);
}
.step3-n {
  display: inline-grid;
  place-items: center;
  width: 30px;
  height: 30px;
  margin-bottom: 18px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-size: 14px;
  font-weight: 650;
}
.step3 h3 { margin: 0 0 8px; font-size: 19px; font-weight: 650; letter-spacing: -0.012em; }
.step3 p { margin: 0 0 14px; color: var(--txt-2); font-size: 15px; line-height: 1.6; }
.step3 p:last-child { margin-bottom: 0; }
.step3 .btn-link { color: var(--accent); font-weight: 500; }

/* ---- privacy ---- */

.privacy { background: var(--panel); border-block: 1px solid var(--line); }
.priv-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 88px); align-items: center; }
.priv-copy .h2 { max-width: 16ch; font-size: clamp(30px, 3.8vw, 44px); letter-spacing: -0.028em; line-height: 1.1; }
.checks { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 12px; }
.checks li { position: relative; padding-left: 32px; color: var(--txt-2); font-size: 15.5px; line-height: 1.55; }
.checks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 2px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--sky-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='m6 10.2 2.6 2.6L14.2 7' fill='none' stroke='%231668cf' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 20px no-repeat;
  box-shadow: inset 0 0 0 1px var(--sky-100);
}
.cov-card {
  padding: clamp(22px, 3vw, 34px);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  background: linear-gradient(180deg, var(--bg), var(--panel));
  box-shadow: var(--shadow);
}
.cov-k { margin: 0 0 22px; color: var(--accent-ink); font-size: 11px; }
.cov-row { padding: 16px 0; border-top: 1px solid var(--line); }
.cov-row p { margin: 10px 0 0; color: var(--txt-2); font-size: 15px; line-height: 1.5; }
.cov-row b { color: var(--txt); font-weight: 650; }
.cov-bar { display: flex; height: 10px; border-radius: 5px; overflow: hidden; background: var(--panel-2); }
.seg.w { background: var(--ok); }
.seg.gap { background: repeating-linear-gradient(135deg, var(--line-2) 0 4px, transparent 4px 8px); }
.cov-foot { margin: 6px 0 0; padding-top: 16px; border-top: 1px solid var(--line); color: var(--txt-3); font-size: 13.5px; line-height: 1.55; }

/* ---- signal (the original thesis, on a light stage) ---- */

.signal .stream {
  border-color: var(--line-2);
  background: var(--panel);
  color: var(--txt);
  box-shadow: var(--shadow);
  border-radius: var(--r-xl);
}
.signal .stream-head, .signal .stream-legend { border-color: var(--line); color: var(--txt-3); }
.signal .stream-id { color: var(--txt-3); }
.signal .stream-tag { border-color: var(--line-2); }
.signal .stream-legend { background: var(--surface-2); }
.signal .stream-svg .grid line { stroke: var(--line); }
.signal .stream-svg .axis { stroke: var(--line-2); }
.signal .stream-svg .noise { fill: var(--faint); }
.signal .stream-svg .signals, .signal .stream-svg .sweep { fill: var(--accent); stroke: var(--accent); }
.signal .stream-axis { color: var(--txt-3); }
.signal .sw-noise { background: var(--faint); }
.signal .sw-sig { background: var(--accent); }
.signal .h2 .dim { color: var(--txt-3); }
.why { margin-top: 16px; border-radius: var(--r-xl); }
.why .card { background: var(--panel); }
.why .card:hover { background: var(--sky-50); }

/* ---- contact card ---- */

.contact-card {
  position: relative;
  overflow: hidden;
  padding: clamp(28px, 5vw, 64px);
  border: 1px solid var(--sky-100);
  border-radius: 28px;
  background: linear-gradient(160deg, #e3effd 0%, #f4f8fd 55%, #ffffff 100%);
}
.rings-sm { opacity: 0.7; }
.rings-sm i { top: 100%; left: 0; transform: translate(-30%, -50%); }
.contact-card .contact-grid { position: relative; }
.contact-card .h2 { font-size: clamp(30px, 3.8vw, 44px); letter-spacing: -0.028em; line-height: 1.1; }
.contact .form { border-radius: var(--r-lg); box-shadow: var(--shadow-lg); }
.contact .field input, .contact .field textarea { background: var(--surface-2); border-radius: var(--r); }
.contact .field input:focus, .contact .field textarea:focus { box-shadow: var(--ring); }

/* ---- footer card ---- */

.foot-card-wrap { padding: 0 0 24px; border-top: 0; background: transparent; }
.foot-card {
  padding: clamp(28px, 4vw, 48px);
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--panel);
}
.foot-cols { display: grid; grid-template-columns: 2fr 1fr 1fr 1.3fr; gap: 32px; }
.foot-cols a { display: block; margin-bottom: 10px; color: var(--txt); font-size: 15px; text-decoration: none; }
.foot-cols a:hover { color: var(--accent); }
.foot-h { margin: 0 0 14px; color: var(--txt-3); font-size: 14px; }
.foot-brandcol .foot-wordmark { width: 120px; margin-bottom: 16px; }
.foot-brandcol p { margin: 0 0 6px; color: var(--txt-2); font-size: 15px; }
.foot-brandcol .foot-addr { color: var(--txt-3); font-size: 14px; }
.foot-bottom { margin-top: 36px; padding-top: 22px; border-top: 1px solid var(--line); }
.foot-bottom p { margin: 0; color: var(--txt-3); font-size: 14px; }


/* ---- hero incident ---- */

.inc { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: clamp(16px, 2.4vw, 24px); align-items: start; }
.play {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%;
  background: rgba(9, 14, 20, 0.62); color: #fff; font-size: 16px;
  box-shadow: 0 0 0 6px rgba(255, 255, 255, 0.08);
}
.saw { margin-top: 12px; padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--r); background: var(--panel); }
.saw-k { margin: 0 0 4px; color: var(--txt-3); font-size: 11px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; }
.saw-q { margin: 0; color: var(--txt); font-size: 15.5px; line-height: 1.5; }
.inc-panel { padding: 18px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--panel); box-shadow: var(--shadow-sm); }
.inc-kind { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 10px; padding: 3px 10px 3px 8px; border-radius: 999px; background: var(--bad-soft); color: var(--bad-ink); font-size: 12.5px; font-weight: 600; }
.inc-h { margin: 0; font-size: 18px; font-weight: 650; letter-spacing: -0.01em; }
.inc-s { margin: 2px 0 14px; color: var(--txt-3); font-size: 13px; }
.kv { margin: 0 0 16px; display: grid; gap: 1px; border: 1px solid var(--line); border-radius: var(--r); background: var(--line); overflow: hidden; }
.kv div { display: flex; justify-content: space-between; gap: 12px; padding: 8px 12px; background: var(--panel); font-size: 13.5px; }
.kv dt { color: var(--txt-3); }
.kv dd { margin: 0; color: var(--txt); font-weight: 500; text-align: right; }
.kv em { font-style: normal; color: var(--accent-ink); }
.kv .ok dd { color: var(--ok-ink); }
.illus-tag { padding: 2px 7px; border: 1px solid var(--line-2); border-radius: 4px; color: var(--txt-3); font-family: var(--mono); font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; }
.tl { list-style: none; margin: 0 0 16px; padding: 0; }
.tl li { position: relative; display: grid; grid-template-columns: 44px 1fr; gap: 8px; padding: 0 0 12px 18px; font-size: 13.5px; line-height: 1.4; color: var(--txt-2); }
.tl li::before { content: ""; position: absolute; left: 3px; top: 5px; width: 7px; height: 7px; border-radius: 50%; background: var(--sky-200); }
.tl li::after { content: ""; position: absolute; left: 6px; top: 14px; bottom: 0; width: 1px; background: var(--line-2); }
.tl li:last-child { padding-bottom: 0; }
.tl li:last-child::after { display: none; }
.tl li.now::before { background: var(--ok); box-shadow: 0 0 0 3px var(--ok-soft); }
.tl b { color: var(--txt); font-family: var(--mono); font-size: 12px; font-weight: 500; padding-top: 1px; }
.tl em { font-style: normal; color: var(--accent-ink); font-weight: 500; }
.inc-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.btn-mini { padding: 7px 12px; border: 1px solid var(--line-2); border-radius: var(--r-sm); background: var(--panel); color: var(--txt-2); font-size: 13px; font-weight: 500; }
.btn-mini.primary { border-color: var(--accent); background: var(--accent); color: #fff; }
.pill.primary { border-color: var(--accent); background: var(--accent); color: #fff; }

/* ---- response flow ---- */

.response { padding-top: clamp(72px, 9vw, 120px); }
.flow { position: relative; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; counter-reset: none; }
.flow::before {
  content: ""; position: absolute; left: 12%; right: 12%; top: 116px; height: 2px;
  background: linear-gradient(90deg, var(--sky-200), var(--accent), var(--sky-200));
  opacity: 0.5;
}
.flow-step {
  position: relative; display: flex; flex-direction: column;
  padding: 16px 16px 24px; border: 1px solid var(--line); border-radius: var(--r-xl);
  background: var(--panel); box-shadow: var(--shadow);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.flow-step:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.flow-vis {
  height: 200px; margin-bottom: 20px; padding: 12px; border-radius: var(--r-lg);
  background: linear-gradient(180deg, var(--sky-50), var(--bg)); border: 1px solid var(--line);
  display: flex; flex-direction: column; justify-content: center; gap: 8px; overflow: hidden;
}
.flow-n { color: var(--accent); font-size: 13px; font-weight: 650; letter-spacing: 0.02em; }
.flow-step h3 { margin: 6px 0 8px; font-size: 19px; font-weight: 650; letter-spacing: -0.015em; line-height: 1.25; }
.flow-step p { margin: 0; color: var(--txt-2); font-size: 14.5px; line-height: 1.6; }
.flow-step:last-child { border-color: var(--sky-200); background: linear-gradient(180deg, #ffffff, var(--sky-50)); }

.mini-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
.mg { display: block; aspect-ratio: 16 / 9; border-radius: 5px; overflow: hidden; background: var(--stage); }
.mg .scene { display: block; width: 100%; height: 100%; }
.chips { display: flex; flex-wrap: wrap; gap: 4px; }
.chip-s { padding: 2px 7px; border: 1px solid var(--sky-200); border-radius: 999px; background: var(--panel); color: var(--accent-ink); font-size: 11px; font-weight: 500; white-space: nowrap; }
.mini-clip { position: relative; height: 104px; border-radius: 8px; overflow: hidden; background: var(--stage); }
.mini-clip .scene { width: 100%; height: 100%; }
.mini-clip .hud { font-size: 10.5px; left: 6px; top: 6px; }
.mini-quote { margin: 0; padding: 7px 10px; border-left: 2px solid var(--accent); border-radius: 0 6px 6px 0; background: var(--panel); color: var(--txt); font-size: 12.5px; line-height: 1.4; }
.notif { display: flex; align-items: center; gap: 9px; padding: 9px 10px; border: 1px solid var(--line); border-radius: var(--r); background: var(--panel); box-shadow: var(--shadow-sm); font-size: 12.5px; line-height: 1.35; color: var(--txt-2); }
.notif b { color: var(--txt); }
.n-app { flex: none; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 7px; background: var(--sky-100); color: var(--accent-ink); }
.n-app.mail { background: var(--panel-2); color: var(--txt-2); }
.n-app svg { width: 15px; height: 15px; }
.mini-to { margin: 2px 0 0; color: var(--txt-3); font-size: 12px; }
.mini-to b { color: var(--txt-2); font-weight: 600; }
.decide { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.decide li { position: relative; padding: 7px 10px 7px 30px; border-radius: var(--r-sm); background: var(--panel); border: 1px solid var(--line); color: var(--txt-2); font-size: 12.5px; line-height: 1.35; }
.decide li::before { content: "✓"; position: absolute; left: 9px; top: 7px; color: var(--ok-ink); font-weight: 700; }
.decide li.yours { border-style: dashed; border-color: var(--line-2); background: transparent; color: var(--txt); font-weight: 600; }
.decide li.yours::before { content: "→"; color: var(--txt-3); font-weight: 400; }

.notice {
  display: flex; align-items: flex-start; gap: 12px; max-width: 820px; margin: 28px auto 0;
  padding: 14px 18px; border: 1px solid var(--line-2); border-radius: var(--r);
  background: var(--panel); color: var(--txt-2); font-size: 14px; line-height: 1.55;
}
.notice svg { flex: none; margin-top: 1px; color: var(--txt-3); }
.notice b { color: var(--txt); }

/* ---- detection: plain-words rule demo ---- */

.rule-demo { margin-top: 30px; padding: 18px; border: 1px solid var(--line); border-radius: var(--r-lg); background: linear-gradient(180deg, var(--sky-50), var(--panel)); box-shadow: var(--shadow-sm); }
.rd-k { margin: 0 0 8px; color: var(--txt-3); font-size: 11px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; }
.rd-in { margin: 0 0 12px; padding: 10px 12px; border: 1px solid var(--line-2); border-radius: var(--r); background: var(--panel); font-size: 15px; color: var(--txt); }
.rd-out { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 10px; }
.rd-out span { padding: 3px 10px; border-radius: 999px; background: var(--sky-100); color: var(--accent-ink); font-size: 12.5px; font-weight: 500; }
.rd-out span:last-child { background: var(--panel-2); color: var(--txt-2); text-decoration: line-through; text-decoration-color: var(--faint); }
.rd-note { margin: 0; color: var(--txt-3); font-size: 13px; }

/* ---- console: rules pane ---- */

.rules-main { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: 24px; align-items: start; }
.composer.tall { margin-bottom: 12px; color: var(--txt); }
.typed { border-right: 2px solid var(--accent); padding-right: 2px; animation: caret 1s steps(1) infinite; }
@keyframes caret { 50% { border-color: transparent; } }
.rule-media { position: relative; }
.mask {
  position: absolute; left: 0; right: 0; bottom: 0; height: 26%;
  background: repeating-linear-gradient(135deg, rgba(242, 246, 251, 0.34) 0 6px, transparent 6px 12px);
  border-top: 1.5px dashed rgba(242, 246, 251, 0.7);
}
.rule-card { padding: 18px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--panel); box-shadow: var(--shadow-sm); }
.rule-card .heat-stats { margin: 14px 0; }

/* ---- system: assurances ---- */

.assure { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 16px; }
.assure div { padding: 18px 20px; border: 1px dashed var(--line-2); border-radius: var(--r-lg); color: var(--txt-2); font-size: 14.5px; line-height: 1.55; }
.assure b { color: var(--txt); font-weight: 650; }

.foot-legal { margin-top: 8px !important; font-size: 13px !important; }
.foot-legal a { color: var(--txt-2); }
.foot-legal a:hover { color: var(--accent); }

@media (max-width: 1100px) {
  .float-box { left: -16px; }
  .float-alert { right: -12px; }
}
@media (max-width: 960px) {
  .nav-links { display: none; }
  .caps-grid, .priv-grid { grid-template-columns: 1fr; }
  .caps-intro .sticky { position: static; }
  .tray { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 24px; }
  .steps3, .assure { grid-template-columns: 1fr; }
  .flow { grid-template-columns: 1fr 1fr; }
  .flow::before { display: none; }
  .flow-vis { height: auto; min-height: 200px; }
  .inc { grid-template-columns: 1fr; }
  .rules-main { grid-template-columns: 1fr; }
  .win-side { display: none; }
  .foot-cols { grid-template-columns: 1fr 1fr; }
  .foot-brandcol { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .float { display: none; }
  .app-tabs b:not(.on), .app-site { display: none; }
  .q { max-width: 92%; }
  .tray { grid-template-columns: 1fr 1fr; }
  .tray .part:last-child { grid-column: 1 / -1; }
  .flow { grid-template-columns: 1fr; }
  .illus-tag { display: none; }
  .win { min-height: 0; }
  .live-grid { grid-template-columns: 1fr; }
  .hero-c-cta .btn { width: 100%; }
  .tab { padding: 8px 12px; font-size: 14px; }
  .contact-card { border-radius: 20px; }
  .foot-card { border-radius: 18px; }
}

@media (max-width: 860px) {
  .who-grid, .contact-grid { grid-template-columns: 1fr; }
  .h1 { max-width: none; }
  .platform-layout { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr; }
  .step { min-height: auto; }
  .step-number { margin-bottom: 24px; }
}

@media (max-width: 560px) {
  :root { --pad: 18px; }
  body { font-size: 16px; }
  .nav-contact { display: none; }
  .nav-in { height: 60px; }
  .stream-axis span:nth-child(even) { display: none; }
  .stream-legend { gap: 6px 18px; font-size: 12.5px; }
  .hero-cta { gap: 12px; }
  .hero-cta .btn-primary { width: 100%; }
  .nav-right > .chip { display: none; }
  .install-hero { padding-top: 44px; }
  .platform-head { align-items: flex-start; }
  .platform-identity { align-items: flex-start; gap: 12px; }
  .platform-mark { width: 46px; height: 46px; }
  .availability { padding-inline: 8px; }
  .download-action, .download-btn { width: 100%; }
  .future-platforms { align-items: flex-start; flex-direction: column; }
  .catalog-state { align-items: flex-start; flex-direction: column; }
  .catalog-retry { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .rv, .rv.rv-pending { opacity: 1; transform: none; }
  .stream-svg .tk, .stream-svg .sig { opacity: 1; }
  .stream-svg .sweep { display: none; }
  .float, .pane { animation: none; }
}

/* ======================== HOME (integrators) ======================== */
/* The partner-programme homepage. Same Sky tokens; camera footage sits on
   --stage only inside its own frame, never as a page band. */

.live-dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); flex: none; animation: pulse 2.6s ease-out infinite; }

/* ---- hero ---- */

.hero-i { padding-bottom: clamp(48px, 6vw, 80px); }
.hero-i-in { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); gap: clamp(32px, 5vw, 64px); align-items: center; }
.hero-i .badge { gap: 9px; }
.hero-i .hero-h1 { margin: 0 0 22px; font-size: clamp(40px, 6vw, 72px); }
.hero-i .hero-lede { margin: 0 0 32px; max-width: 46ch; }
.hero-i .hero-cta { margin-bottom: 22px; }
.hero-backing { display: flex; align-items: center; gap: 10px; margin: 0; color: var(--txt-2); font-size: 14px; }
.hero-backing img { display: block; flex: none; }
.hero-backing strong { color: var(--txt); font-weight: 650; }

.ops {
  margin: 0;
  padding: 14px;
  border: 1px solid var(--line-2);
  border-radius: var(--r-xl);
  background: var(--panel);
  box-shadow: var(--shadow-lg), 0 60px 120px -40px rgba(22, 104, 207, 0.28);
}
.ops-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 0 2px 12px; border-bottom: 1px solid var(--line); }
.ops-k { color: var(--txt-3); font-size: 11px; }
.ops-live { display: inline-flex; align-items: center; gap: 7px; color: var(--accent-ink); font-size: 11px; }
.clock { font-variant-numeric: tabular-nums; }
.ops-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 14px; }
.feed, .ev-media, .pv { position: relative; overflow: hidden; background: var(--stage); }
.feed { aspect-ratio: 16 / 9; border-radius: var(--r-sm); }
.vid { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
/* The product's tracking box, as the customer app draws it over an alarm clip:
 * green corner brackets on a dark halo, no label. main.js moves it with the
 * frame on screen; widths are screen pixels (non-scaling-stroke). */
.det { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; filter: drop-shadow(0 0 2px rgba(6, 12, 24, 0.9)); }
.det path { fill: none; stroke: #5c9c65; stroke-width: 2px; stroke-linecap: round; stroke-linejoin: round; }
.feed-cam { position: absolute; left: 8px; bottom: 7px; display: inline-flex; align-items: center; gap: 6px; padding: 2px 6px; border-radius: 4px; background: rgba(9, 14, 20, 0.62); color: var(--stage-ink); font-size: 9.5px; }
.feed-cam.top { top: 10px; bottom: auto; left: 10px; font-size: 10.5px; }
.feed-dot { position: absolute; right: 9px; top: 9px; width: 7px; height: 7px; border-radius: 50%; background: var(--sky-500); animation: pulse 2.6s ease-out infinite; }
.feed-dot.static { position: static; }
.ops-alert { margin-top: 12px; padding: 12px 14px; border: 1px solid #f5c9cf; border-radius: var(--r); background: var(--bad-soft); }
.ops-alert-k { display: flex; align-items: center; gap: 8px; margin: 0 0 6px; color: var(--bad-ink); font-size: 11px; }
.ops-alert-p { margin: 0; color: var(--txt); font-size: 14px; line-height: 1.5; }
.ops .stage-cap { margin: 12px 0 0; text-align: center; }

/* ---- capability marquee ---- */

.caps-band { padding: clamp(40px, 5vw, 56px) 0; border-block: 1px solid var(--line); background: var(--panel); overflow: hidden; }
.marquee {
  display: flex;
  width: max-content;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track { display: flex; gap: 16px; margin: 0; padding: 0 16px 0 0; list-style: none; animation: marquee 48s linear infinite; }
@keyframes marquee { to { transform: translateX(-100%); } }
.mcap { flex: none; width: 280px; padding: 20px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--bg); transition: border-color 0.2s ease; }
.mcap:hover { border-color: var(--sky-200); }
.mcap .mono { color: var(--accent); font-size: 11px; }
.mcap h3 { margin: 10px 0 6px; font-size: 16.5px; font-weight: 650; letter-spacing: -0.01em; }
.mcap p { margin: 0; color: var(--txt-2); font-size: 14.5px; line-height: 1.55; }

/* ---- detected events ---- */

.ev-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.ev { border: 1px solid var(--line); border-radius: var(--r-xl); background: var(--panel); box-shadow: var(--shadow); overflow: hidden; }
.ev-media { aspect-ratio: 4 / 3; }
.ev-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(9, 14, 20, 0.55), transparent 40%, transparent 70%, rgba(9, 14, 20, 0.35)); }
.ev-media > span { z-index: 1; }
.ev-id { position: absolute; right: 10px; top: 12px; color: var(--stage-muted); font-size: 10.5px; }
.ev-tag { position: absolute; left: 10px; bottom: 10px; padding: 3px 8px; border: 1px solid var(--sky-500); border-radius: 4px; background: rgba(9, 14, 20, 0.7); color: #8cc4fa; font-size: 10.5px; }
.ev-body { padding: 20px 22px 24px; }
.ev-body h3 { margin: 0 0 8px; font-size: 19px; font-weight: 650; letter-spacing: -0.015em; }
.ev-body p { margin: 0; color: var(--txt-2); font-size: 15px; line-height: 1.6; }
.events .stage-cap, .liveops .stage-cap { margin-top: 18px; }

/* ---- the shift ---- */

.shift-grid { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 20px; align-items: stretch; max-width: 1000px; margin: 0 auto; }
.shift-card { padding: clamp(24px, 3vw, 32px); border: 1px solid var(--line); border-radius: var(--r-xl); background: var(--panel); }
.shift-card.after { border-color: var(--sky-200); background: linear-gradient(180deg, #ffffff, var(--sky-50)); box-shadow: var(--shadow); }
.shift-k { margin: 0 0 12px; color: var(--txt-3); font-size: 11px; }
.after .shift-k { color: var(--accent); }
.shift-card h3 { margin: 0 0 18px; font-size: 21px; font-weight: 650; letter-spacing: -0.015em; line-height: 1.25; }
.shift-card ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.shift-card li { position: relative; padding-left: 26px; color: var(--txt-2); font-size: 15.5px; line-height: 1.55; }
.shift-card li::before { content: ""; position: absolute; left: 0; top: 0.8em; width: 14px; height: 1.5px; background: var(--line-2); }
.after li { color: var(--txt); }
.after li::before { background: var(--accent); }
.shift-arrow { align-self: center; display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--sky-200); border-radius: 50%; background: var(--panel); color: var(--accent); font-size: 18px; }

/* ---- pillars ---- */

.pillars .wrap { display: grid; gap: clamp(56px, 8vw, 104px); }
.pillar { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 64px); align-items: center; }
.pillar.flip .pillar-copy { order: 2; }
.pillar-copy h3 { margin: 0 0 14px; font-size: clamp(26px, 3vw, 36px); font-weight: 650; letter-spacing: -0.025em; line-height: 1.15; }
.pillar-copy > p:not(.overline) { margin: 0; max-width: 50ch; color: var(--txt-2); font-size: 16.5px; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 0; padding: 0; list-style: none; }
.tags li { padding: 5px 12px; border: 1px solid var(--sky-200); border-radius: 999px; background: var(--panel); color: var(--accent-ink); font-size: 13.5px; font-weight: 500; }
.pv { aspect-ratio: 4 / 3; border-radius: var(--r-xl); border: 1px solid var(--line-2); box-shadow: var(--shadow-lg); }
.pv-shade { position: absolute; inset: 0; background: rgba(9, 14, 20, 0.55); }
.pv-steps { position: absolute; left: 8%; right: 8%; top: 50%; transform: translateY(-50%); display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.pv-steps li { padding: 6px 0 6px 12px; border-left: 2px solid var(--stage-line-2); color: var(--stage-muted); font-size: 12px; }
.pv-steps li.now { border-left-color: var(--sky-500); color: #8cc4fa; }
.pv-protos { position: absolute; inset: 18% 8% 10%; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 0; padding: 0; list-style: none; }
.pv-protos li { display: grid; place-items: center; border: 1px solid var(--stage-line-2); border-radius: var(--r-sm); background: rgba(19, 26, 34, 0.7); color: var(--stage-ink); font-size: 11.5px; }
.pv-portal { position: absolute; inset: 18% 8% 10%; display: grid; align-content: start; gap: 8px; padding: 14px; border-radius: var(--r); background: var(--panel); box-shadow: var(--shadow-lg); }
.pv-portal p { display: flex; justify-content: space-between; align-items: center; margin: 0 0 6px; padding-bottom: 10px; border-bottom: 1px solid var(--line); color: var(--txt); font-size: 11px; }
.pv-portal > span { display: flex; justify-content: space-between; padding: 9px 12px; border: 1px solid var(--line); border-radius: var(--r-sm); color: var(--txt-2); font-size: 11px; }
.pv-portal b { color: var(--accent); }

/* ---- use cases ---- */

.use-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; margin: 0; padding: 0; list-style: none; border: 1px solid var(--line); border-radius: var(--r-xl); background: var(--line); overflow: hidden; }
.use { padding: 24px; background: var(--panel); transition: background 0.2s ease; }
.use:hover { background: var(--sky-50); }
.use h3 { margin: 16px 0 8px; font-size: 17px; font-weight: 650; letter-spacing: -0.01em; }
.use-threat { margin: 0 0 6px; color: var(--bad-ink); font-size: 13px; font-weight: 560; }
.use p:last-child { margin: 0; color: var(--txt-2); font-size: 14.5px; line-height: 1.55; }

/* ---- stats ---- */

.stats { padding: clamp(40px, 6vw, 64px) 0; }
.stat-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; max-width: 820px; margin: 0 auto; border: 1px solid var(--line); border-radius: var(--r-xl); background: var(--line); overflow: hidden; }
.stat { display: flex; flex-direction: column-reverse; gap: 10px; padding: clamp(24px, 4vw, 40px) 16px; background: var(--panel); text-align: center; }
.stat dd { margin: 0; color: var(--txt); font-size: clamp(42px, 6vw, 64px); font-weight: 650; letter-spacing: -0.035em; line-height: 1; font-variant-numeric: tabular-nums; }
.stat dt { color: var(--accent); font-size: 14px; font-weight: 600; }

/* ---- live operations console ---- */

.ops-console { max-width: 1040px; margin: 0 auto; }
.ops-console .app-bar .ops-live { margin-left: auto; }
.ops-body { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 1px; background: var(--line); }
.ops-map, .ops-feed { padding: clamp(16px, 2.4vw, 24px); background: var(--bg); }
.map { position: relative; height: 280px; border: 1px solid var(--line); border-radius: var(--r); background: var(--panel); overflow: hidden; }
.map svg { position: absolute; inset: 6% 4%; width: 92%; height: 88%; }
.pin { position: absolute; display: inline-flex; align-items: center; gap: 7px; color: var(--txt-2); font: 500 10px/1 var(--mono); white-space: nowrap; transform: translate(-4px, -50%); }
.pin i { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 3px var(--sky-100); }
.pin.hot i { background: var(--bad); box-shadow: 0 0 0 3px var(--bad-soft); animation: pulseRed 1.6s ease-out infinite; }
.pin.hot { color: var(--bad-ink); font-weight: 600; }
.feed-list { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.feed-list li { padding: 8px 0 8px 12px; border-left: 2px solid var(--line-2); color: var(--txt-3); font: 12px/1.55 var(--mono); transition: color 0.4s ease, border-color 0.4s ease; }
.feed-list li:first-child { border-left-color: var(--accent); color: var(--txt); }
.feed-list li.enter { animation: feedIn 0.45s ease both; }
@keyframes feedIn { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }

/* ---- partner form ---- */

.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
.foot-brandcol .foot-tag { margin-top: 10px; color: var(--accent-ink); font-size: 14px; font-weight: 560; }

@media (max-width: 960px) {
  .hero-i-in { grid-template-columns: 1fr; }
  .ev-grid { grid-template-columns: 1fr 1fr; }
  .pillar { grid-template-columns: 1fr; }
  .pillar.flip .pillar-copy { order: 0; }
  .use-grid { grid-template-columns: 1fr 1fr; }
  .ops-body { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .ops-grid { gap: 6px; }
  .feed-cam { font-size: 8.5px; left: 5px; bottom: 5px; }
  .ev-grid, .use-grid, .stat-row { grid-template-columns: 1fr; }
  .shift-grid { grid-template-columns: 1fr; }
  .shift-arrow { justify-self: center; transform: rotate(90deg); }
  .field-row { grid-template-columns: 1fr; }
  .pin { font-size: 0; gap: 0; }
  .pin.hot { font-size: 9px; gap: 6px; transform: translate(-60%, -50%); }
  .map { height: 200px; }
  .ops-console .illus-tag, .ops-console .app-mark { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .marquee { width: auto; overflow-x: auto; }
  .marquee-track { animation: none; }
  .marquee-track[aria-hidden="true"] { display: none; }
}

/* The zip's night-site photograph sits under a Sky wash, so the hero stays light. */
.hero-i { isolation: isolate; }
.hero-bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; opacity: 0.22; filter: saturate(0.6); }
.hero-i::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(232, 241, 252, 0.72) 0%, rgba(244, 248, 253, 0.86) 70%, var(--bg) 100%); }
.pin.l { flex-direction: row-reverse; transform: translate(calc(-100% + 4px), -50%); }
.field-row { align-items: end; }
@media (max-width: 640px) { .pin.hot.l { transform: translate(calc(-100% + 4px), -50%); } }
.ops-bar { flex-wrap: wrap; row-gap: 4px; }
.ops-k, .ops-live { white-space: nowrap; }
.feed-cam { white-space: nowrap; max-width: calc(100% - 16px); overflow: hidden; text-overflow: ellipsis; }
