@font-face {
  font-family: "Geist";
  src: url("/fonts/geist/geist-cyrillic-400.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: "Geist";
  src: url("/fonts/geist/geist-latin-400.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Geist";
  src: url("/fonts/geist/geist-cyrillic-500.woff2") format("woff2");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: "Geist";
  src: url("/fonts/geist/geist-latin-500.woff2") format("woff2");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Geist";
  src: url("/fonts/geist/geist-cyrillic-600.woff2") format("woff2");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: "Geist";
  src: url("/fonts/geist/geist-latin-600.woff2") format("woff2");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Geist";
  src: url("/fonts/geist/geist-cyrillic-700.woff2") format("woff2");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: "Geist";
  src: url("/fonts/geist/geist-latin-700.woff2") format("woff2");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Geist";
  src: url("/fonts/geist/geist-cyrillic-800.woff2") format("woff2");
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: "Geist";
  src: url("/fonts/geist/geist-latin-800.woff2") format("woff2");
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  color-scheme: light;
  --bg: #ffffff;
  --surface: #ffffff;
  --surface-soft: #f5f7fa;
  --surface-blue: #eef4ff;
  --surface-dark: #10141b;
  --ink: #0b0d10;
  --ink-soft: #525b69;
  --muted: #788292;
  --line: #dfe4eb;
  --line-strong: #cbd3de;
  --blue: #1264ff;
  --blue-dark: #0647c7;
  --cyan: #00a8bb;
  --red: #d9384e;
  --violet: #7152d9;
  --green: #168756;
  --amber: #b87508;
  --shadow-small: 0 6px 18px rgba(17, 30, 52, 0.07);
  --shadow-medium: 0 18px 54px rgba(17, 30, 52, 0.11);
  --content: 1360px;
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #0c1118;
  --surface: #121923;
  --surface-soft: #171f2b;
  --surface-blue: #152441;
  --surface-dark: #070a0f;
  --ink: #f6f8fb;
  --ink-soft: #b8c2cf;
  --muted: #8e9bad;
  --line: #283445;
  --line-strong: #3b495c;
  --blue: #4d89ff;
  --blue-dark: #76a5ff;
  --cyan: #3fc5d2;
  --red: #ee6376;
  --violet: #9b84ef;
  --green: #58bd87;
  --amber: #e2ad51;
  --shadow-small: 0 6px 18px rgba(0, 0, 0, 0.22);
  --shadow-medium: 0 18px 54px rgba(0, 0, 0, 0.32);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--ink);
  font-family: "Geist", Arial, sans-serif;
  font-synthesis: none;
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: 0;
  text-rendering: optimizeLegibility;
  transition: background-color 180ms ease, color 180ms ease;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
}

button,
a,
label {
  -webkit-tap-highlight-color: transparent;
}

svg {
  display: block;
  width: 1.25rem;
  height: 1.25rem;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.9;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  border-radius: 4px;
  background: var(--ink);
  color: var(--bg);
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.portal-scene {
  position: fixed;
  z-index: -1;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(18, 100, 255, 0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(18, 100, 255, 0.028) 1px, transparent 1px);
  background-size: 96px 96px;
}

.portal-scene::before {
  position: absolute;
  inset: -24% -12%;
  border-top: 1px solid rgba(18, 100, 255, 0.08);
  border-bottom: 1px solid rgba(18, 100, 255, 0.05);
  background: linear-gradient(104deg, transparent 42%, rgba(18, 100, 255, 0.025) 42%, rgba(18, 100, 255, 0.025) 57%, transparent 57%);
  content: "";
  transform: rotate(-7deg);
}

:root[data-theme="dark"] .portal-scene {
  background-image:
    linear-gradient(rgba(77, 137, 255, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(77, 137, 255, 0.055) 1px, transparent 1px);
}

.portal-parallax-layer {
  position: absolute;
  inset: -12%;
  transform: translate3d(var(--parallax-x, 0), var(--parallax-y, 0), 0);
  will-change: transform;
}

.scene-figure {
  position: absolute;
  display: block;
  transform: translate3d(0, var(--scene-y, 0px), 0) rotate(var(--scene-rotation, 0deg));
  transform-origin: center;
  will-change: transform;
}

.scene-orbit {
  width: 680px;
  height: 680px;
  border: 1px solid rgba(18, 100, 255, 0.12);
  border-radius: 50%;
}

.scene-orbit::before,
.scene-orbit::after {
  content: "";
  position: absolute;
  border-radius: 50%;
}

.scene-orbit::before {
  inset: 88px;
  border: 1px dashed rgba(18, 100, 255, 0.1);
}

.scene-orbit::after {
  top: 50%;
  left: -6px;
  width: 12px;
  height: 12px;
  border: 3px solid var(--bg);
  background: var(--blue);
  box-shadow: 0 0 0 1px rgba(18, 100, 255, 0.18);
}

.scene-orbit-a {
  top: -140px;
  right: -210px;
}

.scene-orbit-b {
  bottom: -260px;
  left: -300px;
  width: 780px;
  height: 780px;
}

.scene-orbit-b::before {
  inset: 126px;
}

.scene-dot-field {
  top: 18%;
  left: 7%;
  width: 300px;
  height: 190px;
  opacity: 0.26;
  background-image: radial-gradient(circle, var(--blue) 1.6px, transparent 1.8px);
  background-size: 24px 24px;
  -webkit-mask-image: linear-gradient(90deg, #000, transparent);
  mask-image: linear-gradient(90deg, #000, transparent);
}

.scene-data-plane {
  width: 390px;
  height: 250px;
  border: 1px solid rgba(18, 100, 255, 0.12);
  border-radius: 8px;
  background: rgba(18, 100, 255, 0.018);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.scene-data-plane::before {
  position: absolute;
  top: 54px;
  left: 58px;
  width: 156px;
  height: 7px;
  background: rgba(18, 100, 255, 0.12);
  box-shadow:
    0 28px 0 rgba(18, 100, 255, 0.075),
    0 56px 0 rgba(18, 100, 255, 0.055);
  content: "";
}

.scene-data-plane::after {
  position: absolute;
  right: 46px;
  bottom: 40px;
  width: 118px;
  height: 108px;
  border-bottom: 1px solid rgba(18, 100, 255, 0.1);
  background:
    linear-gradient(to top, rgba(18, 100, 255, 0.09) 0 42%, transparent 42%) 0 100% / 22px 100% no-repeat,
    linear-gradient(to top, rgba(18, 100, 255, 0.13) 0 68%, transparent 68%) 48px 100% / 22px 100% no-repeat,
    linear-gradient(to top, rgba(18, 100, 255, 0.18) 0 91%, transparent 91%) 96px 100% / 22px 100% no-repeat;
  content: "";
}

.scene-data-plane-a {
  top: 34%;
  left: -120px;
}

.scene-data-plane-b {
  right: -118px;
  bottom: 13%;
  width: 450px;
  height: 290px;
}

.scene-scan-line {
  top: 69%;
  left: 22%;
  width: 560px;
  height: 42px;
  border-top: 1px solid rgba(18, 100, 255, 0.12);
  background: repeating-linear-gradient(90deg, rgba(18, 100, 255, 0.12) 0 1px, transparent 1px 46px);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}

.scene-bracket {
  top: 43%;
  right: 4%;
  width: 310px;
  height: 230px;
  border-top: 2px solid rgba(18, 100, 255, 0.15);
  border-right: 2px solid rgba(18, 100, 255, 0.15);
}

.scene-bracket::before {
  position: absolute;
  top: -7px;
  left: -7px;
  width: 12px;
  height: 12px;
  border: 2px solid var(--blue);
  background: var(--bg);
  content: "";
}

.scene-vector {
  bottom: 11%;
  left: 9%;
  width: 500px;
  height: 1px;
  background: rgba(18, 100, 255, 0.14);
}

.scene-vector::before,
.scene-vector::after {
  position: absolute;
  top: -7px;
  width: 14px;
  height: 14px;
  border: 2px solid var(--blue);
  border-radius: 50%;
  background: var(--bg);
  content: "";
}

.scene-vector::before {
  left: 0;
}

.scene-vector::after {
  right: 0;
  background: var(--blue);
}

.scene-focus {
  top: 9%;
  left: 51%;
  width: 240px;
  height: 240px;
  border: 1px solid rgba(18, 100, 255, 0.1);
  border-radius: 50%;
}

.scene-focus::before,
.scene-focus::after {
  position: absolute;
  top: 50%;
  left: 50%;
  background: rgba(18, 100, 255, 0.12);
  content: "";
  transform: translate(-50%, -50%);
}

.scene-focus::before {
  width: 330px;
  height: 1px;
}

.scene-focus::after {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 0 18px rgba(18, 100, 255, 0.045);
}

:root[data-theme="dark"] .scene-data-plane {
  background: rgba(77, 137, 255, 0.025);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.035);
}

.portal-header {
  position: relative;
  z-index: 30;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  width: min(calc(100% - 48px), var(--content));
  min-height: 76px;
  margin: 0 auto;
  border-bottom: 1px solid var(--line);
}

.portal-brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.portal-brand img {
  display: block;
  width: 132px;
  height: 42px;
  object-fit: contain;
  object-position: left center;
}

:root[data-theme="dark"] .portal-brand img {
  filter: invert(1) hue-rotate(180deg) saturate(1.3);
}

.portal-brand > span {
  padding-left: 14px;
  border-left: 1px solid var(--line-strong);
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.portal-nav {
  display: flex;
  justify-content: center;
  gap: 34px;
}

.portal-nav a {
  position: relative;
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 500;
}

.portal-nav a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -9px;
  left: 0;
  height: 2px;
  background: var(--blue);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 180ms ease;
}

.portal-nav a:hover::after,
.portal-nav a:focus-visible::after {
  transform: scaleX(1);
}

.portal-header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.portal-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-right: 6px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
}

.portal-status i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 4px rgba(22, 135, 86, 0.1);
}

.portal-open-report,
.icon-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--surface);
  color: var(--ink);
  transition: border-color 180ms ease, color 180ms ease, background-color 180ms ease, transform 180ms ease;
}

.portal-open-report {
  gap: 9px;
  padding: 0 16px;
  font-size: 13px;
  font-weight: 700;
}

.icon-button {
  width: 42px;
  padding: 0;
  cursor: pointer;
}

.portal-open-report:hover,
.portal-open-report:focus-visible,
.icon-button:hover,
.icon-button:focus-visible {
  border-color: var(--blue);
  color: var(--blue);
  transform: translateY(-1px);
}

main {
  position: relative;
}

.portal-hero,
.portal-launcher,
.portal-capabilities,
.portal-story,
.portal-product,
.portal-action,
.portal-footer {
  width: min(calc(100% - 48px), var(--content));
  margin-right: auto;
  margin-left: auto;
}

.portal-hero {
  position: relative;
  display: flex;
  min-height: 600px;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  isolation: isolate;
  border-bottom: 1px solid var(--line);
}

.hero-data-field {
  position: absolute;
  z-index: -1;
  inset: 26px 0 0;
  opacity: 0.72;
  overflow: hidden;
}

.hero-data-field::before {
  content: "";
  position: absolute;
  top: 8%;
  left: 50%;
  width: 640px;
  height: 430px;
  border: 1px solid rgba(18, 100, 255, 0.12);
  border-radius: 50%;
  transform: translateX(-50%);
}

.hero-data-field::after {
  content: "";
  position: absolute;
  top: 19%;
  left: 50%;
  width: 410px;
  height: 250px;
  border: 1px dashed rgba(18, 100, 255, 0.18);
  border-radius: 50%;
  transform: translateX(-50%);
}

.hero-line {
  display: none;
  height: 1px;
  background: rgba(18, 100, 255, 0.16);
}

.hero-line::before,
.hero-line::after {
  content: "";
  position: absolute;
  top: -4px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--blue);
}

.hero-line::before {
  left: 0;
}

.hero-line::after {
  right: 0;
}

.hero-line-a {
  top: 33%;
  left: 5%;
  width: 18%;
  transform: rotate(8deg);
}

.hero-line-b {
  right: 5%;
  bottom: 30%;
  width: 18%;
  transform: rotate(-12deg);
}

.hero-dot {
  display: none;
  width: 12px;
  height: 12px;
  border: 2px solid var(--blue);
  border-radius: 50%;
  background: var(--bg);
}

.hero-dot-a {
  top: 22%;
  right: 18%;
}

.hero-dot-b {
  bottom: 24%;
  left: 18%;
}

.hero-dot-c {
  display: none;
}

.hero-chart {
  display: none;
  align-items: end;
  gap: 7px;
  width: 96px;
  height: 62px;
  padding: 8px 10px;
  border-bottom: 1px solid rgba(18, 100, 255, 0.22);
}

.hero-chart i {
  display: block;
  flex: 1;
  background: rgba(18, 100, 255, 0.16);
}

.hero-chart i:nth-child(1) { height: 22%; }
.hero-chart i:nth-child(2) { height: 44%; }
.hero-chart i:nth-child(3) { height: 34%; }
.hero-chart i:nth-child(4) { height: 72%; background: var(--blue); }
.hero-chart i:nth-child(5) { height: 60%; }
.hero-chart i:nth-child(6) { height: 92%; background: var(--cyan); }

.hero-content {
  width: min(1080px, 92%);
  padding: 64px 0 92px;
  text-align: center;
}

.hero-eyebrow,
.section-kicker {
  margin: 0 0 16px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.hero-eyebrow svg {
  width: 18px;
  height: 18px;
}

.portal-hero h1 {
  max-width: 1080px;
  margin: 0 auto;
  font-size: 64px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0;
  text-wrap: balance;
}

.portal-hero h1 > span {
  display: block;
}

.hero-title-line {
  display: block;
}

.hero-inline-media {
  position: relative;
  display: inline-block;
  width: 152px;
  height: 58px;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  background: #fff;
  box-shadow: var(--shadow-small);
  transform: translateY(2px);
}

.hero-inline-media img {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 390px;
  max-width: none;
  transform: translate(-50%, -50%);
}

.hero-lead {
  max-width: 720px;
  margin: 24px auto 0;
  color: var(--ink-soft);
  font-size: 17px;
  line-height: 1.58;
  text-wrap: balance;
}

.hero-actions,
.action-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 700;
  transition: transform 180ms ease, background-color 180ms ease, border-color 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

.button-primary {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 10px 26px rgba(18, 100, 255, 0.2);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: var(--blue-dark);
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(18, 100, 255, 0.26);
}

.button-secondary {
  border-color: var(--line-strong);
  background: var(--surface);
  color: var(--ink);
}

.button-secondary:hover,
.button-secondary:focus-visible {
  border-color: var(--blue);
  color: var(--blue);
  transform: translateY(-2px);
}

.hero-foot {
  position: absolute;
  right: 0;
  bottom: 16px;
  left: 0;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 16px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.hero-foot i {
  height: 1px;
  background: var(--line);
}

.hero-foot p {
  margin: 0;
}

.portal-launcher {
  padding: 72px 0 84px;
}

.launcher-heading,
.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr);
  align-items: end;
  gap: 56px;
  margin-bottom: 32px;
}

.launcher-heading h2,
.section-heading h2,
.story-heading h2,
.portal-action h2 {
  margin: 0;
  font-size: 44px;
  font-weight: 700;
  line-height: 1.08;
  text-wrap: balance;
}

.launcher-heading > p,
.section-heading > p,
.story-heading > p,
.portal-action > p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 17px;
  line-height: 1.65;
}

.section-kicker {
  margin-bottom: 16px;
}

.mode-accordion {
  display: grid;
  min-height: 218px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: 8px 8px 0 0;
  background: var(--surface);
}

.mode-panel {
  position: relative;
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: space-between;
  gap: 22px;
  padding: 24px;
  overflow: hidden;
  border-right: 1px solid var(--line);
  cursor: pointer;
  transition: background-color 220ms ease, color 220ms ease, border-color 220ms ease;
}

.mode-panel:last-child {
  border-right: 0;
}

.mode-panel input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.mode-panel.is-active {
  background: var(--surface-dark);
  color: #fff;
}

.mode-panel-search.is-active { background: #124aa8; }
.mode-panel-clown.is-active { background: #9f2638; }
.mode-panel-pulse.is-active { background: #087681; }

.mode-icon,
.capability-icon,
.story-card-icon {
  display: inline-flex;
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  border: 1px solid currentColor;
  border-radius: 6px;
  color: var(--blue);
}

.mode-panel.is-active .mode-icon {
  color: #fff;
}

.mode-copy {
  display: block;
  min-width: 0;
  margin-top: auto;
}

.mode-copy strong {
  display: block;
  font-size: 20px;
  line-height: 1.1;
}

.mode-copy small {
  display: block;
  max-width: 360px;
  margin-top: 11px;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.45;
  opacity: 1;
  transform: none;
  transition: color 180ms ease;
}

.mode-panel.is-active .mode-copy small {
  color: rgba(255, 255, 255, 0.72);
}

.mode-arrow {
  position: absolute;
  top: 24px;
  right: 24px;
  display: flex;
  width: 34px;
  height: 34px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--surface-soft);
  color: var(--ink-soft);
}

.mode-panel.is-active .mode-arrow {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.portal-profile-form {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  min-height: 78px;
  border: 1px solid var(--line-strong);
  border-top: 0;
  border-radius: 0 0 8px 8px;
  background: var(--surface);
}

.profile-input-icon {
  display: flex;
  width: 68px;
  align-items: center;
  justify-content: center;
  color: var(--blue);
}

.portal-profile-form input {
  min-width: 0;
  height: 76px;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
  font-size: 17px;
}

.portal-profile-form input::placeholder {
  color: var(--muted);
}

.portal-profile-form button {
  display: inline-flex;
  min-width: 240px;
  height: 58px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-right: 10px;
  border: 0;
  border-radius: 6px;
  background: var(--blue);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 180ms ease, transform 180ms ease;
}

.portal-profile-form button:hover,
.portal-profile-form button:focus-visible {
  background: var(--blue-dark);
  transform: translateX(2px);
}

.launcher-note {
  margin: 13px 0 0;
  color: var(--muted);
  font-size: 12px;
}

.launcher-note strong {
  color: var(--ink-soft);
  font-weight: 600;
}

.signal-marquee {
  width: 100%;
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}

.signal-track {
  display: flex;
  width: max-content;
  align-items: center;
  will-change: transform;
}

.signal-track span {
  display: inline-flex;
  min-width: 235px;
  height: 72px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border-right: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 600;
}

.signal-track svg {
  color: var(--blue);
}

.portal-capabilities {
  padding: 92px 0 104px;
}

.capability-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-template-rows: 500px 326px;
  grid-auto-rows: 326px;
  grid-auto-flow: dense;
  gap: 12px;
}

.capability-card {
  position: relative;
  display: flex;
  min-width: 0;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: var(--surface);
  transition: border-color 200ms ease, transform 220ms ease, box-shadow 220ms ease;
}

a.capability-card:hover,
a.capability-card:focus-visible {
  border-color: var(--blue);
  box-shadow: var(--shadow-medium);
  transform: translateY(-3px);
}

.capability-report {
  grid-column: span 6;
  grid-row: span 1;
  padding: 34px;
  background: var(--surface-dark);
  color: #fff;
}

.capability-search {
  grid-column: span 6;
  grid-row: span 1;
  padding: 34px;
  background: var(--surface-blue);
}

.capability-clown,
.capability-pulse,
.capability-tremor,
.capability-lab {
  --card-accent: var(--blue);
  grid-column: span 3;
  padding: 24px;
}

.capability-clown {
  --card-accent: var(--red);
  background: #fffafa;
}

.capability-pulse {
  --card-accent: var(--cyan);
  background: #f8fdfe;
}

.capability-tremor {
  --card-accent: var(--green);
  background: #f8fcfa;
}

.capability-lab {
  --card-accent: var(--violet);
  background: #fbfaff;
}

.capability-clown::before,
.capability-pulse::before,
.capability-tremor::before,
.capability-lab::before,
.capability-clown::after,
.capability-pulse::after,
.capability-tremor::after,
.capability-lab::after {
  position: absolute;
  z-index: 0;
  content: "";
  pointer-events: none;
}

.capability-clown::before {
  top: -86px;
  right: -54px;
  width: 190px;
  height: 190px;
  border: 1px solid rgba(217, 56, 78, 0.16);
  border-radius: 50%;
}

.capability-clown::after {
  top: -46px;
  right: -14px;
  width: 108px;
  height: 108px;
  border: 1px dashed rgba(217, 56, 78, 0.13);
  border-radius: 50%;
}

.capability-pulse::before {
  top: 40px;
  right: -46px;
  width: 210px;
  height: 84px;
  border-top: 1px solid rgba(0, 172, 193, 0.16);
  border-bottom: 1px solid rgba(0, 172, 193, 0.1);
  transform: rotate(-12deg);
}

.capability-pulse::after {
  top: 73px;
  right: 58px;
  width: 9px;
  height: 9px;
  border: 3px solid var(--surface);
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 0 1px rgba(0, 172, 193, 0.22);
}

.capability-tremor::before {
  top: 47px;
  right: -18px;
  width: 174px;
  height: 58px;
  border-top: 1px solid rgba(22, 135, 86, 0.18);
  border-bottom: 1px solid rgba(22, 135, 86, 0.08);
  transform: skewY(-12deg);
}

.capability-tremor::after {
  top: 64px;
  right: 76px;
  width: 10px;
  height: 10px;
  border: 3px solid var(--surface);
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 1px rgba(22, 135, 86, 0.24);
}

.capability-lab::before {
  top: -42px;
  right: -34px;
  width: 158px;
  height: 158px;
  border: 1px solid rgba(113, 82, 217, 0.15);
  transform: rotate(18deg);
}

.capability-lab::after {
  top: 28px;
  right: 35px;
  width: 52px;
  height: 52px;
  border: 1px dashed rgba(113, 82, 217, 0.2);
  transform: rotate(18deg);
}

.capability-report .capability-icon {
  border-color: rgba(255, 255, 255, 0.24);
  color: #fff;
}

.capability-search .capability-icon {
  color: var(--blue);
}

.capability-clown .capability-icon,
.capability-pulse .capability-icon,
.capability-tremor .capability-icon,
.capability-lab .capability-icon {
  position: relative;
  z-index: 2;
  border-color: color-mix(in srgb, var(--card-accent) 30%, transparent);
  background: color-mix(in srgb, var(--card-accent) 7%, var(--surface));
  color: var(--card-accent);
}

a.capability-clown:hover,
a.capability-clown:focus-visible {
  border-color: rgba(217, 56, 78, 0.38);
}

a.capability-pulse:hover,
a.capability-pulse:focus-visible {
  border-color: rgba(0, 168, 187, 0.38);
}

a.capability-tremor:hover,
a.capability-tremor:focus-visible {
  border-color: rgba(22, 135, 86, 0.38);
}

.capability-lab:hover,
.capability-lab:focus-within {
  border-color: rgba(113, 82, 217, 0.38);
  box-shadow: var(--shadow-medium);
  transform: translateY(-3px);
}

:root[data-theme="dark"] .capability-clown,
:root[data-theme="dark"] .capability-pulse,
:root[data-theme="dark"] .capability-tremor,
:root[data-theme="dark"] .capability-lab {
  background: var(--surface);
}

.capability-copy {
  position: relative;
  z-index: 2;
  max-width: 560px;
}

.capability-copy p {
  margin: 24px 0 9px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.capability-report .capability-copy p {
  color: rgba(255, 255, 255, 0.52);
}

.capability-copy h3 {
  margin: 0;
  font-size: 30px;
  font-weight: 700;
  line-height: 1.1;
}

.capability-clown .capability-copy h3,
.capability-pulse .capability-copy h3,
.capability-tremor .capability-copy h3,
.capability-lab .capability-copy h3 {
  margin-top: 0;
  font-size: 24px;
}

.capability-clown .capability-copy p,
.capability-pulse .capability-copy p,
.capability-tremor .capability-copy p,
.capability-lab .capability-copy p {
  margin: 18px 0 7px;
  color: var(--card-accent);
}

.capability-copy > span {
  display: block;
  max-width: 520px;
  margin-top: 14px;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.55;
}

.capability-report .capability-copy > span {
  color: rgba(255, 255, 255, 0.66);
}

.capability-action {
  position: relative;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: auto;
  color: var(--blue);
  font-size: 13px;
  font-weight: 700;
}

.capability-report .capability-action {
  color: #fff;
}

.capability-action svg {
  width: 17px;
  height: 17px;
}

.report-visual {
  position: absolute;
  right: -38px;
  bottom: -38px;
  width: 58%;
  height: 72%;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: #171e29;
  transform: rotate(-4deg);
}

.report-avatar {
  position: absolute;
  top: 34px;
  left: 34px;
  width: 58px;
  height: 58px;
  border: 10px solid #263a62;
  border-radius: 50%;
  background: var(--blue);
}

.report-copy-lines {
  position: absolute;
  top: 42px;
  left: 114px;
  display: grid;
  gap: 9px;
}

.report-copy-lines i {
  display: block;
  width: 138px;
  height: 7px;
  background: #344052;
}

.report-copy-lines i:nth-child(2) { width: 98px; }
.report-copy-lines i:nth-child(3) { width: 120px; }

.report-bars {
  position: absolute;
  right: 34px;
  bottom: 34px;
  left: 34px;
  display: flex;
  height: 128px;
  align-items: end;
  gap: 12px;
  border-bottom: 1px solid #344052;
}

.report-bars i {
  display: block;
  flex: 1;
  background: #2c3951;
}

.report-bars i:nth-child(1) { height: 28%; }
.report-bars i:nth-child(2) { height: 62%; background: #2d6ddd; }
.report-bars i:nth-child(3) { height: 44%; }
.report-bars i:nth-child(4) { height: 88%; background: var(--blue); }
.report-bars i:nth-child(5) { height: 72%; background: var(--cyan); }

.report-pulse {
  position: absolute;
  top: 32px;
  right: 32px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 7px rgba(88, 189, 135, 0.12);
}

.search-summary {
  position: relative;
  z-index: 2;
  max-width: 590px;
  margin: 42px 0 30px;
  padding: 4px 0 4px 22px;
  border-left: 3px solid var(--blue);
}

.search-summary strong {
  display: block;
  color: var(--ink);
  font-size: 18px;
  line-height: 1.3;
}

.search-summary > p {
  max-width: 540px;
  margin: 10px 0 18px;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.55;
}

.search-summary > div {
  display: flex;
  flex-wrap: wrap;
  gap: 9px 18px;
}

.search-summary span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--blue-dark);
  font-size: 12px;
  font-weight: 600;
}

.search-summary svg {
  width: 15px;
  height: 15px;
}

.mini-rank {
  position: absolute;
  right: 26px;
  bottom: 28px;
  display: flex;
  width: 112px;
  height: 70px;
  align-items: end;
  gap: 6px;
}

.mini-rank i,
.mini-rank b,
.mini-rank em {
  display: block;
  flex: 1;
  background: rgba(217, 56, 78, 0.16);
}

.mini-rank i { height: 32%; }
.mini-rank b { height: 58%; }
.mini-rank em { height: 92%; background: var(--red); }

.capability-signals {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin-top: auto;
  padding-top: 15px;
  border-top: 1px solid var(--line);
}

.capability-signals span {
  display: flex;
  min-width: 0;
  min-height: 28px;
  align-items: center;
  justify-content: flex-start;
  gap: 7px;
  padding: 0 12px;
  border-right: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 11px;
  font-weight: 600;
  white-space: nowrap;
}

.capability-signals span:first-child {
  padding-left: 0;
}

.capability-signals span:last-child {
  padding-right: 0;
  border-right: 0;
}

.capability-signals svg {
  width: 15px;
  height: 15px;
  flex: 0 0 auto;
}

.capability-clown .capability-signals svg,
.capability-pulse .capability-signals svg,
.capability-tremor .capability-signals svg {
  color: var(--card-accent);
}

.capability-signals + .capability-action {
  margin-top: 15px;
}

.pulse-wave {
  position: absolute;
  right: 26px;
  bottom: 37px;
  width: 130px;
  height: 54px;
  overflow: hidden;
}

.pulse-wave::before,
.pulse-wave::after,
.pulse-wave i {
  content: "";
  position: absolute;
  top: 50%;
  height: 2px;
  background: var(--cyan);
  transform-origin: left center;
}

.pulse-wave::before {
  left: 0;
  width: 35px;
}

.pulse-wave i {
  left: 34px;
  width: 34px;
  transform: rotate(-48deg);
}

.pulse-wave::after {
  left: 56px;
  width: 73px;
  transform: rotate(19deg);
}

.lab-links {
  display: flex;
  gap: 0;
  margin-top: auto;
  padding-top: 15px;
  border-top: 1px solid var(--line);
}

.lab-links a {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  gap: 8px;
  padding: 0 16px;
  border-right: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 12px;
  font-weight: 600;
  transition: color 180ms ease;
}

.lab-links a:first-child {
  padding-left: 0;
}

.lab-links a:last-child {
  padding-right: 0;
  border-right: 0;
}

.lab-links a:hover,
.lab-links a:focus-visible {
  color: var(--violet);
}

.lab-links svg {
  width: 16px;
  height: 16px;
}

.portal-story {
  position: relative;
  min-height: 920px;
  padding: 48px 0 96px;
}

.story-pin {
  display: grid;
  grid-template-columns: minmax(0, 0.84fr) minmax(560px, 1.16fr);
  min-height: 650px;
  align-items: center;
  gap: 94px;
}

.story-heading {
  max-width: 510px;
}

.story-heading > p:not(.section-kicker) {
  margin-top: 24px;
}

.story-progress {
  display: block;
  width: 100%;
  height: 3px;
  margin-top: 34px;
  overflow: hidden;
  background: var(--line);
}

.story-progress i {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--blue);
  transform: scaleX(0);
  transform-origin: left center;
}

.story-stack {
  position: relative;
  height: 500px;
  overflow: hidden;
  border-radius: 8px;
}

.story-card {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto 1fr;
  gap: 28px;
  padding: 38px;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow-medium);
}

.story-card-icon {
  color: var(--blue);
}

.story-card-compare .story-card-icon { color: var(--violet); }
.story-card-explain .story-card-icon { color: var(--green); }

.story-card p {
  margin: 0 0 9px;
  color: var(--blue);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.story-card-compare p { color: var(--violet); }
.story-card-explain p { color: var(--green); }

.story-card h3 {
  max-width: 520px;
  margin: 0;
  font-size: 28px;
  line-height: 1.12;
}

.story-card div > span {
  display: block;
  max-width: 520px;
  margin-top: 14px;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.55;
}

.story-data {
  position: absolute;
  right: 38px;
  bottom: 36px;
  left: 38px;
  height: 190px;
  border-top: 1px solid var(--line);
}

.story-data-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
  gap: 0;
}

.story-card .story-data-list > span {
  display: flex;
  min-width: 0;
  max-width: none;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
  margin: 0;
  padding: 24px;
  border-right: 1px solid var(--line);
}

.story-data-list span:last-child {
  border-right: 0;
}

.story-data-list b {
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
}

.story-data-list i {
  color: var(--muted);
  font-size: 12px;
  font-style: normal;
  line-height: 1.45;
}

.story-data-stream {
  display: flex;
  align-items: end;
  gap: 11px;
  padding: 26px 18px 0;
}

.story-data-stream i {
  display: block;
  flex: 1;
  background: rgba(18, 100, 255, 0.16);
}

.story-data-stream i:nth-child(1) { height: 34%; }
.story-data-stream i:nth-child(2) { height: 67%; }
.story-data-stream i:nth-child(3) { height: 48%; }
.story-data-stream i:nth-child(4) { height: 88%; background: var(--blue); }
.story-data-stream i:nth-child(5) { height: 72%; background: var(--cyan); }

.story-data-compare::before {
  content: "";
  position: absolute;
  top: 84px;
  right: 8%;
  left: 8%;
  height: 2px;
  background: var(--line-strong);
}

.story-data-compare i {
  position: absolute;
  top: 57px;
  width: 56px;
  height: 56px;
  border: 10px solid var(--surface-blue);
  border-radius: 50%;
  background: var(--blue);
}

.story-data-compare i:nth-child(1) { left: 14%; }
.story-data-compare i:nth-child(2) { left: 44%; background: var(--violet); }
.story-data-compare i:nth-child(3) { right: 14%; background: var(--green); }

.story-data-compare b {
  position: absolute;
  top: 80px;
  left: 48%;
  width: 42%;
  height: 9px;
  background: var(--violet);
  opacity: 0.14;
}

.story-data-path {
  display: flex;
  align-items: center;
  justify-content: space-around;
}

.story-data-path::before {
  content: "";
  position: absolute;
  top: 50%;
  right: 9%;
  left: 9%;
  height: 2px;
  background: var(--line-strong);
}

.story-data-path i {
  position: relative;
  z-index: 1;
  width: 20px;
  height: 20px;
  border: 5px solid var(--surface);
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 1px var(--green);
}

.story-data-path i:nth-child(2) { width: 28px; height: 28px; }
.story-data-path i:nth-child(3) { width: 36px; height: 36px; }
.story-data-path i:nth-child(4) { width: 48px; height: 48px; }

.portal-product {
  padding: 80px 0 120px;
  border-top: 1px solid var(--line);
}

.product-heading {
  grid-template-columns: 1fr auto;
}

.product-heading > a {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--blue);
  font-size: 14px;
  font-weight: 700;
}

.product-banner {
  position: relative;
  display: block;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: #f7faff;
  box-shadow: var(--shadow-small);
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.product-banner:hover,
.product-banner:focus-visible {
  border-color: var(--blue);
  box-shadow: var(--shadow-medium);
  transform: translateY(-3px);
}

.product-banner img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

.portal-action {
  position: relative;
  min-height: 540px;
  padding: 108px 40px;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: var(--surface-dark);
  color: #fff;
  text-align: center;
}

.portal-action .section-kicker {
  color: #77a7ff;
}

.portal-action h2 {
  max-width: 820px;
  margin: 0 auto;
  font-size: 52px;
}

.portal-action > p:not(.section-kicker) {
  max-width: 650px;
  margin: 24px auto 0;
  color: rgba(255, 255, 255, 0.64);
}

.portal-action .button-secondary {
  border-color: rgba(255, 255, 255, 0.26);
  background: transparent;
  color: #fff;
}

.portal-action .button-secondary:hover,
.portal-action .button-secondary:focus-visible {
  border-color: #fff;
  color: #fff;
}

.action-orbit {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 760px;
  height: 760px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.action-orbit::before {
  content: "";
  position: absolute;
  inset: 140px;
  border: 1px dashed rgba(255, 255, 255, 0.08);
  border-radius: 50%;
}

.action-orbit i {
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--blue);
}

.action-orbit i:nth-child(1) { top: 15%; left: 22%; }
.action-orbit i:nth-child(2) { right: 15%; bottom: 28%; background: var(--cyan); }
.action-orbit i:nth-child(3) { bottom: 12%; left: 36%; background: var(--violet); }

.portal-footer {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 38px;
  min-height: 150px;
}

.footer-brand img {
  width: 112px;
}

.portal-footer p {
  max-width: 700px;
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
}

.portal-footer > a:last-child {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 700;
}

:focus-visible {
  outline: 3px solid rgba(18, 100, 255, 0.28);
  outline-offset: 3px;
}

@media (max-width: 1180px) {
  .portal-nav {
    display: none;
  }

  .portal-header {
    grid-template-columns: 1fr auto;
  }

  .portal-hero h1 {
    font-size: 64px;
  }

  .hero-inline-media {
    width: 132px;
    height: 50px;
  }

  .mode-panel {
    padding: 24px;
  }

  .mode-copy {
    min-width: 0;
  }

  .capability-grid {
    grid-template-rows: 550px 328px;
    grid-auto-rows: 328px;
  }

  .capability-report,
  .capability-search {
    grid-column: span 6;
  }

  .capability-clown,
  .capability-pulse,
  .capability-tremor,
  .capability-lab {
    grid-column: span 6;
  }

  .story-pin {
    grid-template-columns: minmax(0, 0.72fr) minmax(500px, 1.28fr);
    gap: 50px;
  }
}

@media (max-width: 920px) {
  .portal-header,
  .portal-hero,
  .portal-launcher,
  .portal-capabilities,
  .portal-story,
  .portal-product,
  .portal-action,
  .portal-footer {
    width: min(calc(100% - 32px), var(--content));
  }

  .portal-status {
    display: none;
  }

  .portal-hero {
    min-height: 700px;
  }

  .portal-hero h1 {
    font-size: 54px;
  }

  .hero-title-line {
    gap: 14px;
  }

  .launcher-heading,
  .section-heading {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .mode-accordion {
    display: grid;
    min-height: 0;
    grid-template-columns: 1fr;
  }

  .mode-panel,
  .mode-panel.is-active {
    display: grid;
    min-height: 92px;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 18px;
    padding: 20px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .mode-panel:last-child {
    border-bottom: 0;
  }

  .mode-copy {
    min-width: 0;
    margin: 0;
  }

  .mode-copy strong {
    font-size: 19px;
  }

  .mode-copy small {
    max-width: none;
    margin-top: 5px;
    opacity: 1;
    transform: none;
  }

  .mode-arrow {
    position: static;
  }

  .capability-grid {
    grid-template-rows: none;
    grid-auto-rows: auto;
  }

  .capability-report,
  .capability-search,
  .capability-clown,
  .capability-pulse,
  .capability-tremor,
  .capability-lab {
    grid-column: span 12;
    grid-row: auto;
    min-height: 330px;
  }

  .capability-clown,
  .capability-pulse,
  .capability-tremor,
  .capability-lab {
    min-height: 250px;
  }

  .report-visual {
    width: 52%;
  }

  .story-pin {
    display: block;
    min-height: 0;
  }

  .story-heading {
    max-width: 700px;
    margin-bottom: 42px;
  }

  .story-stack {
    display: grid;
    height: auto;
    gap: 14px;
  }

  .story-card {
    position: relative;
    inset: auto;
    min-height: 440px;
  }

  .portal-story {
    min-height: 0;
  }
}

@media (max-width: 680px) {
  .portal-header,
  .portal-hero,
  .portal-launcher,
  .portal-capabilities,
  .portal-story,
  .portal-product,
  .portal-action,
  .portal-footer {
    width: min(calc(100% - 24px), var(--content));
  }

  .portal-header {
    min-height: 66px;
  }

  .portal-brand img {
    width: 105px;
    height: 36px;
  }

  .portal-brand > span {
    display: none;
  }

  .portal-open-report span {
    display: none;
  }

  .portal-open-report {
    width: 42px;
    padding: 0;
  }

  .portal-hero {
    min-height: 680px;
  }

  .hero-content {
    width: 100%;
    padding: 88px 0 112px;
  }

  .portal-hero h1 {
    font-size: 40px;
    line-height: 1.02;
  }

  .hero-title-line {
    display: inline;
  }

  .hero-inline-media {
    width: 94px;
    height: 36px;
    margin: 0 6px;
  }

  .hero-inline-media img {
    width: 260px;
  }

  .hero-lead {
    margin-top: 24px;
    font-size: 16px;
  }

  .hero-actions,
  .action-buttons {
    flex-direction: column;
  }

  .hero-actions .button,
  .action-buttons .button {
    width: 100%;
  }

  .hero-foot {
    grid-template-columns: auto 1fr;
  }

  .hero-foot p {
    display: none;
  }

  .portal-launcher,
  .portal-capabilities {
    padding-top: 76px;
    padding-bottom: 82px;
  }

  .launcher-heading h2,
  .section-heading h2,
  .story-heading h2,
  .portal-action h2 {
    font-size: 34px;
  }

  .launcher-heading > p,
  .section-heading > p,
  .story-heading > p,
  .portal-action > p {
    font-size: 15px;
  }

  .mode-panel,
  .mode-panel.is-active {
    grid-template-columns: auto 1fr;
  }

  .mode-arrow {
    display: none;
  }

  .mode-copy small {
    font-size: 12px;
  }

  .portal-profile-form {
    grid-template-columns: auto 1fr;
    padding-bottom: 10px;
  }

  .profile-input-icon {
    width: 50px;
  }

  .portal-profile-form input {
    height: 66px;
    font-size: 15px;
  }

  .portal-profile-form button {
    grid-column: 1 / -1;
    width: calc(100% - 20px);
    min-width: 0;
    margin: 0 10px;
  }

  .capability-report,
  .capability-search,
  .capability-clown,
  .capability-pulse,
  .capability-tremor,
  .capability-lab {
    min-height: 360px;
    padding: 24px;
  }

  .capability-clown,
  .capability-pulse,
  .capability-tremor,
  .capability-lab {
    min-height: 340px;
  }

  .capability-report {
    min-height: 430px;
  }

  .capability-copy h3 {
    font-size: 25px;
  }

  .report-visual {
    right: -90px;
    width: 92%;
    opacity: 0.75;
  }

  .search-summary {
    margin-top: 30px;
  }

  .mini-rank,
  .pulse-wave {
    opacity: 0.5;
  }

  .lab-links {
    flex-wrap: wrap;
  }

  .story-card {
    min-height: 480px;
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 26px;
  }

  .story-data {
    right: 26px;
    bottom: 26px;
    left: 26px;
    height: 150px;
  }

  .portal-product {
    padding-top: 64px;
    padding-bottom: 82px;
  }

  .product-heading {
    grid-template-columns: 1fr;
  }

  .portal-action {
    min-height: 500px;
    padding: 80px 22px;
  }

  .portal-action h2 {
    font-size: 36px;
  }

  .portal-footer {
    display: flex;
    min-height: 220px;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 20px;
  }
}

.capability-predictions {
  --card-accent: #d39118;
  grid-column: span 12;
  min-height: 326px;
  padding: 30px 34px;
  background:
    radial-gradient(circle at 78% 22%, rgba(244, 193, 74, 0.14), transparent 26%),
    linear-gradient(135deg, #171108, #0e0b07 64%);
  color: #fff8e5;
}

.capability-predictions::before {
  position: absolute;
  inset: 0;
  opacity: 0.16;
  background-image: radial-gradient(circle, rgba(255, 225, 146, 0.85) 0 1px, transparent 1.5px);
  background-size: 67px 67px;
  content: "";
  pointer-events: none;
  mask-image: linear-gradient(90deg, transparent 35%, #000);
}

.capability-predictions .capability-icon {
  position: relative;
  z-index: 2;
  border-color: rgba(244, 199, 88, 0.28);
  background: rgba(244, 199, 88, 0.08);
  color: #f4c758;
}

.capability-predictions .capability-copy,
.capability-predictions .capability-signals {
  width: min(58%, 660px);
}

.capability-predictions .capability-copy p {
  margin: 18px 0 7px;
  color: #d9a83c;
}

.capability-predictions .capability-copy h3 {
  font-size: 26px;
}

.capability-predictions .capability-copy > span {
  color: rgba(255, 248, 229, 0.66);
}

.capability-predictions .capability-signals {
  position: relative;
  z-index: 2;
  margin-top: auto;
  border-color: rgba(244, 199, 88, 0.16);
}

.capability-predictions .capability-signals span {
  border-color: rgba(244, 199, 88, 0.16);
  color: rgba(255, 248, 229, 0.68);
}

.capability-predictions .capability-signals svg,
.capability-predictions .capability-action {
  color: #f4c758;
}

a.capability-predictions:hover,
a.capability-predictions:focus-visible {
  border-color: rgba(244, 199, 88, 0.58);
  box-shadow: 0 28px 70px rgba(107, 62, 5, 0.26);
}

.predictions-visual {
  position: absolute;
  top: 0;
  right: 3%;
  bottom: 0;
  z-index: 1;
  display: grid;
  width: 35%;
  place-items: center;
  overflow: hidden;
  border-left: 1px solid rgba(244, 199, 88, 0.12);
  background: radial-gradient(circle, rgba(209, 136, 29, 0.17), transparent 60%);
}

.predictions-ring {
  position: absolute;
  width: 278px;
  height: 278px;
  border: 1px solid rgba(244, 199, 88, 0.24);
  border-radius: 50%;
  box-shadow: inset 0 0 0 22px rgba(244, 199, 88, 0.018), 0 0 40px rgba(212, 136, 25, 0.08);
  animation: portal-predictions-ring 22s linear infinite;
}

.predictions-ring::before,
.predictions-ring::after {
  position: absolute;
  inset: 16%;
  border: 1px dashed rgba(244, 199, 88, 0.25);
  border-radius: 50%;
  content: "";
}

.predictions-ring::after {
  inset: -8%;
  border-style: solid;
  border-color: rgba(244, 199, 88, 0.12) transparent;
}

.predictions-die {
  position: relative;
  z-index: 2;
  display: grid;
  width: 132px;
  height: 142px;
  place-items: center;
  background: linear-gradient(145deg, #fff0a0, #c77e0e 54%, #794106);
  clip-path: polygon(50% 0, 94% 24%, 84% 78%, 50% 100%, 14% 78%, 5% 24%);
  filter: drop-shadow(0 20px 18px rgba(0, 0, 0, 0.4)) drop-shadow(0 0 18px rgba(244, 199, 88, 0.24));
  transform: rotate(-7deg);
  transition: transform 700ms cubic-bezier(.2,.75,.2,1), filter 700ms ease, opacity 260ms ease;
}

.predictions-die::before,
.predictions-die::after {
  position: absolute;
  border: 1px solid rgba(75, 39, 2, 0.4);
  content: "";
}

.predictions-die::before {
  inset: 15% 15% 43%;
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
}

.predictions-die::after {
  inset: 42% 12% 12%;
  clip-path: polygon(0 0, 100% 0, 50% 100%);
}

.predictions-die b {
  position: relative;
  z-index: 3;
  color: #fff7d5;
  font-family: Georgia, serif;
  font-size: 34px;
  text-shadow: 0 2px 4px rgba(77, 40, 2, 0.78);
}

.capability-predictions:hover .predictions-die {
  filter: drop-shadow(0 24px 22px rgba(0, 0, 0, 0.45)) drop-shadow(0 0 32px rgba(244, 199, 88, 0.45));
  transform: rotate(18deg) scale(1.06);
}

.predictions-die-canvas {
  position: absolute;
  z-index: 2;
  display: block;
  width: min(92%, 330px);
  aspect-ratio: 1;
  opacity: 0;
  filter: drop-shadow(0 24px 24px rgba(0, 0, 0, 0.45)) drop-shadow(0 0 24px rgba(244, 199, 88, 0.24));
  pointer-events: none;
  transform: scale(0.88);
  transition: opacity 260ms ease, transform 700ms cubic-bezier(.2,.75,.2,1), filter 700ms ease;
}

.predictions-die-canvas canvas {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
}

.predictions-visual.is-die-ready .predictions-die-fallback {
  opacity: 0;
}

.predictions-visual.is-die-ready .predictions-die-canvas {
  opacity: 1;
  transform: scale(1);
}

.capability-predictions:hover .predictions-die-canvas,
.capability-predictions:focus-visible .predictions-die-canvas {
  filter: drop-shadow(0 28px 28px rgba(0, 0, 0, 0.48)) drop-shadow(0 0 38px rgba(244, 199, 88, 0.42));
  transform: scale(1.06);
}

.predictions-spark {
  position: absolute;
  z-index: 3;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #ffe69d;
  box-shadow: 0 0 16px #f4c758;
}

.predictions-spark-a { top: 23%; left: 24%; }
.predictions-spark-b { right: 20%; bottom: 28%; width: 4px; height: 4px; }
.predictions-spark-c { right: 28%; top: 18%; width: 3px; height: 3px; }

@keyframes portal-predictions-ring {
  to { transform: rotate(360deg); }
}

@media (max-width: 920px) {
  .capability-predictions {
    min-height: 330px;
  }

  .capability-predictions .capability-copy,
  .capability-predictions .capability-signals {
    width: min(64%, 660px);
  }

  .predictions-visual {
    right: 0;
    width: 34%;
  }
}

@media (max-width: 680px) {
  .capability-predictions {
    min-height: 360px;
    padding: 24px;
  }

  .capability-predictions .capability-copy,
  .capability-predictions .capability-signals {
    width: 100%;
  }

  .predictions-visual {
    display: none;
  }
}

@media (max-width: 480px) {
  .capability-signals {
    grid-template-columns: 1fr;
  }

  .capability-signals span,
  .capability-signals span:first-child,
  .capability-signals span:last-child {
    min-height: 34px;
    padding: 7px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .capability-signals span:last-child {
    border-bottom: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
