:root {
  --bg: #07111f;
  --bg-2: #0b1527;
  --bg-3: #101b31;
  --paper: #f5f7fb;
  --paper-2: #edf2fb;
  --paper-3: #e5edf8;
  --surface: rgba(13, 23, 42, 0.72);
  --surface-strong: rgba(14, 25, 46, 0.92);
  --line: rgba(255, 255, 255, 0.1);
  --line-strong: rgba(255, 255, 255, 0.16);
  --line-dark: rgba(10, 22, 38, 0.12);
  --text: #edf5ff;
  --text-muted: #a9b8d7;
  --text-faint: #7d8aaa;
  --ink: #0f172a;
  --ink-muted: #5d6781;
  --ink-soft: #7a8399;
  --blue: #4da3ff;
  --cyan: #00d4ff;
  --purple: #7c3aed;
  --good: #56d39b;
  --warn: #f5c15c;
  --risk: #ff6f7d;
  --gradient: linear-gradient(135deg, var(--cyan) 0%, var(--blue) 44%, var(--purple) 100%);
  --gradient-soft: linear-gradient(180deg, rgba(0, 212, 255, 0.14), rgba(124, 58, 237, 0.1));
  --radius-sm: 16px;
  --radius-md: 24px;
  --radius-lg: 32px;
  --shadow-lg: 0 28px 70px rgba(3, 8, 17, 0.4);
  --shadow-md: 0 18px 44px rgba(5, 10, 22, 0.18);
  --container: min(1200px, calc(100vw - 2rem));
  --ease: 220ms cubic-bezier(.2, .8, .2, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", system-ui, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 20% 0%, rgba(77, 163, 255, 0.2), transparent 24%),
    radial-gradient(circle at 80% 8%, rgba(124, 58, 237, 0.18), transparent 24%),
    linear-gradient(180deg, #061120 0%, #08111d 26%, #08111d 100%);
  min-height: 100vh;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.28), transparent 55%);
  opacity: 0.2;
}

img {
  max-width: 100%;
  display: block;
}

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

button,
input,
textarea,
select {
  font: inherit;
}

.container {
  width: var(--container);
  margin-inline: auto;
}

.page-shell {
  position: relative;
  overflow: clip;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(16px);
  background: linear-gradient(180deg, rgba(6, 12, 23, 0.88), rgba(6, 12, 23, 0.58));
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 84px;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  min-width: 0;
}

.brand img {
  width: 48px;
  height: 42px;
  object-fit: contain;
  filter: drop-shadow(0 10px 24px rgba(0, 212, 255, 0.2));
  flex: none;
}

.brand-lockup {
  font-family: "Outfit", system-ui, sans-serif;
  font-size: 1.42rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.04em;
  white-space: nowrap;
}

.brand-name {
  color: #f8fbff;
}

.brand-ai {
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.desktop-nav a {
  color: var(--text-muted);
  font-size: 0.98rem;
  transition: color var(--ease);
}

.desktop-nav a:hover,
.desktop-nav a:focus-visible {
  color: var(--text);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 44px;
  padding: 0.78rem 1.15rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  letter-spacing: -0.02em;
  transition: transform var(--ease), box-shadow var(--ease), border-color var(--ease), background-color var(--ease), color var(--ease);
  cursor: pointer;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.button.primary {
  background: var(--gradient);
  color: #fff;
  box-shadow: 0 16px 32px rgba(29, 90, 201, 0.22);
}

.button.primary:hover,
.button.primary:focus-visible {
  box-shadow: 0 20px 38px rgba(44, 102, 211, 0.3);
}

.button.ghost {
  border-color: rgba(255, 255, 255, 0.11);
  color: var(--text);
  background: rgba(255, 255, 255, 0.02);
}

.button.ghost:hover,
.button.ghost:focus-visible {
  border-color: rgba(77, 163, 255, 0.4);
  background: rgba(255, 255, 255, 0.05);
}

.button.large {
  min-height: 52px;
  padding-inline: 1.35rem;
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
  padding: 0;
  position: relative;
  cursor: pointer;
}

.menu-toggle span {
  position: absolute;
  left: 50%;
  width: 18px;
  height: 2px;
  background: #fff;
  border-radius: 999px;
  transform: translateX(-50%);
  transition: transform var(--ease), opacity var(--ease), top var(--ease);
}

.menu-toggle span:first-child {
  top: 17px;
}

.menu-toggle span:last-child {
  top: 25px;
}

.menu-toggle[aria-expanded="true"] span:first-child {
  top: 21px;
  transform: translateX(-50%) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:last-child {
  top: 21px;
  transform: translateX(-50%) rotate(-45deg);
}

.mobile-menu {
  display: none;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  background: rgba(7, 15, 28, 0.98);
}

.mobile-menu-inner {
  display: grid;
  gap: 0.85rem;
  padding: 1rem 0 1.25rem;
}

.mobile-menu a:not(.button) {
  color: var(--text-muted);
  padding: 0.2rem 0;
}

.hero {
  position: relative;
  padding: clamp(3.8rem, 8vw, 6rem) 0 clamp(3rem, 8vw, 5rem);
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto -10% 4% auto;
  width: min(44vw, 580px);
  aspect-ratio: 1;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.28), transparent 58%);
  filter: blur(24px);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 530px);
  align-items: center;
  gap: clamp(2.2rem, 4vw, 4.5rem);
}

.hero-copy {
  max-width: 660px;
  position: relative;
  z-index: 1;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  min-height: 40px;
  padding: 0.4rem 0.8rem;
  border-radius: 999px;
  color: #d7e8ff;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(8px);
  margin-bottom: 1.35rem;
  font-size: 0.95rem;
  letter-spacing: -0.01em;
}

.eyebrow-dot {
  width: 0.65rem;
  height: 0.65rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--cyan), var(--blue));
  box-shadow: 0 0 0 6px rgba(0, 212, 255, 0.08);
}

.hero h1 {
  margin: 0;
  font-family: "Outfit", system-ui, sans-serif;
  font-size: clamp(3rem, 7vw, 5.75rem);
  line-height: 0.95;
  letter-spacing: -0.05em;
  color: #fbfdff;
  text-wrap: balance;
}

.hero h1 .accent {
  display: block;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-lead {
  margin: 1.4rem 0 0;
  max-width: 58ch;
  font-size: clamp(1.05rem, 1.6vw, 1.22rem);
  line-height: 1.7;
  color: var(--text-muted);
}

.hero-actions-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 2rem;
}

.hero-actions-row.compact {
  margin-top: 1.7rem;
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.7rem;
}

.hero-proof span {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0.38rem 0.75rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  color: #d8e6ff;
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.92rem;
}

.hero-panel {
  position: relative;
  z-index: 1;
}

.window {
  position: relative;
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(12, 22, 42, 0.92), rgba(10, 18, 34, 0.88));
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.window::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--gradient-soft);
  opacity: 0.9;
  pointer-events: none;
}

.window-top {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.85rem;
  padding: 1rem 1.2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.window-dots {
  display: inline-flex;
  gap: 0.35rem;
}

.window-dots span {
  width: 0.6rem;
  height: 0.6rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.34);
}

.window-title {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #dce8ff;
  font-weight: 600;
}

.window-badge {
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  color: #d7e8ff;
  background: rgba(255, 255, 255, 0.05);
  font-size: 0.8rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.window-body {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(220px, 0.75fr);
  gap: 1rem;
  padding: 1.15rem;
}

.video-stage,
.analysis-summary,
.metric-tile {
  position: relative;
  z-index: 1;
}

.video-stage {
  min-height: 360px;
  border-radius: 26px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.09);
  background:
    radial-gradient(circle at 35% 24%, rgba(0, 212, 255, 0.22), transparent 20%),
    radial-gradient(circle at 70% 82%, rgba(124, 58, 237, 0.2), transparent 24%),
    linear-gradient(180deg, rgba(8, 16, 31, 0.9), rgba(5, 11, 22, 0.94));
}

.stage-chip {
  position: absolute;
  inset: 1rem auto auto 1rem;
  z-index: 3;
  padding: 0.42rem 0.72rem;
  border-radius: 999px;
  background: rgba(5, 16, 31, 0.75);
  color: #d9e8ff;
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.82rem;
  backdrop-filter: blur(10px);
}

.stage-grid,
.stage-glow,
.stage-scanline,
.stage-frame,
.timeline {
  position: absolute;
}

.stage-grid {
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 28px 28px;
  opacity: 0.55;
}

.stage-glow {
  inset: auto auto -15% -10%;
  width: 70%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 212, 255, 0.18), transparent 62%);
  filter: blur(16px);
}

.stage-scanline {
  inset: 12% 7% auto 7%;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(0, 212, 255, 0.9), transparent);
  box-shadow: 0 0 18px rgba(0, 212, 255, 0.55);
  animation: scan 4.8s linear infinite;
}

.stage-frame {
  inset: 18% 16% 20% 16%;
  display: grid;
  place-items: center;
  border-radius: 24px;
  border: 1px solid rgba(77, 163, 255, 0.22);
  background: radial-gradient(circle at 50% 35%, rgba(255, 255, 255, 0.04), transparent 40%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.02);
}

.face-shell {
  position: relative;
  width: 56%;
  aspect-ratio: 1;
  min-width: 150px;
}

.face-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid rgba(77, 163, 255, 0.28);
  box-shadow: 0 0 0 14px rgba(77, 163, 255, 0.04), 0 0 40px rgba(0, 212, 255, 0.08);
}

.face-core {
  position: absolute;
  inset: 18% 22%;
  border-radius: 48% 48% 42% 42% / 38% 38% 58% 58%;
  background: linear-gradient(180deg, rgba(140, 210, 255, 0.32), rgba(89, 95, 255, 0.18));
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.play-pulse {
  position: absolute;
  inset: auto auto 12% 12%;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.11);
  backdrop-filter: blur(10px);
}

.play-pulse::before {
  content: "";
  position: absolute;
  left: 21px;
  top: 16px;
  border-left: 14px solid #fff;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
}

.timeline {
  inset: auto 1rem 1rem 1rem;
  padding: 0.75rem;
  border-radius: 18px;
  background: rgba(5, 14, 28, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
}

.timeline-label {
  display: block;
  margin-bottom: 0.55rem;
  color: var(--text-muted);
  font-size: 0.82rem;
}

.timeline-bar {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.6fr 0.7fr 0.8fr 1.3fr;
  gap: 0.4rem;
}

.segment {
  display: block;
  height: 0.55rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
}

.segment.safe {
  background: linear-gradient(90deg, rgba(86, 211, 155, 0.52), rgba(86, 211, 155, 0.18));
}

.segment.warn {
  background: linear-gradient(90deg, rgba(245, 193, 92, 0.7), rgba(245, 193, 92, 0.2));
}

.segment.risk {
  background: linear-gradient(90deg, rgba(255, 111, 125, 0.86), rgba(255, 111, 125, 0.2));
}

.segment.short {
  max-width: 90%;
}

.analysis-summary {
  display: grid;
  gap: 0.85rem;
}

.risk-card,
.signal-item,
.metric-tile,
.feature-card,
.use-case-card,
.code-card,
.ops-card {
  border: 1px solid rgba(255, 255, 255, 0.09);
  background: rgba(6, 14, 28, 0.58);
  border-radius: 22px;
}

.risk-card {
  padding: 1rem 1rem 1.1rem;
  background: linear-gradient(180deg, rgba(11, 22, 43, 0.9), rgba(11, 18, 33, 0.92));
}

.mini-label {
  display: inline-block;
  margin-bottom: 0.45rem;
  font-size: 0.82rem;
  color: var(--text-muted);
  letter-spacing: -0.01em;
}

.risk-score {
  font-family: "Outfit", system-ui, sans-serif;
  font-size: clamp(2rem, 4vw, 2.65rem);
  line-height: 0.95;
  letter-spacing: -0.05em;
  background: linear-gradient(135deg, #fefefe 0%, #dceaff 30%, #a0cbff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.risk-card p {
  margin: 0.5rem 0 0;
  color: #dce6fb;
  line-height: 1.5;
}

.signal-list {
  display: grid;
  gap: 0.75rem;
}

.signal-item {
  padding: 0.8rem 0.85rem;
}

.signal-copy {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem;
  margin-bottom: 0.45rem;
  color: #dce7fa;
  font-size: 0.92rem;
}

.signal-copy span {
  color: var(--text-muted);
}

.bar {
  width: 100%;
  height: 0.55rem;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  overflow: hidden;
}

.bar span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, rgba(86, 211, 155, 0.82), rgba(86, 211, 155, 0.26));
}

.fill-31{width:31%;}
.fill-76{width:76%;}
.fill-68{width:68%;}
.fill-58{width:58%;}

.bar.mid span {
  background: linear-gradient(90deg, rgba(245, 193, 92, 0.82), rgba(245, 193, 92, 0.22));
}

.bar.high span {
  background: linear-gradient(90deg, rgba(255, 111, 125, 0.88), rgba(255, 111, 125, 0.26));
}

.window-metrics {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.85rem;
  padding: 0 1.15rem 1.15rem;
}

.metric-tile {
  padding: 1rem;
  background: rgba(8, 15, 29, 0.66);
}

.metric-tile span {
  display: block;
  margin-bottom: 0.3rem;
  color: var(--text-muted);
  font-size: 0.82rem;
}

.metric-tile strong {
  font-family: "Outfit", system-ui, sans-serif;
  font-size: 1.24rem;
  letter-spacing: -0.03em;
}

.segment-strip {
  padding: 0 0 1.2rem;
}

.segment-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.9rem;
}

.segment-card {
  padding: 1rem 1.05rem;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
}

.segment-kicker {
  display: block;
  color: var(--text-faint);
  font-size: 0.84rem;
  margin-bottom: 0.35rem;
}

.segment-card strong {
  color: #f2f7ff;
  font-size: 1rem;
  letter-spacing: -0.02em;
}

.section {
  position: relative;
  padding: clamp(4.2rem, 9vw, 6.8rem) 0;
}

.paper {
  background: linear-gradient(180deg, var(--paper) 0%, var(--paper-2) 100%);
  color: var(--ink);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.paper::before,
.dark-section::before,
.api-section::before,
.trust-section::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.paper::before {
  background:
    radial-gradient(circle at 90% 0%, rgba(77, 163, 255, 0.14), transparent 25%),
    radial-gradient(circle at 8% 100%, rgba(124, 58, 237, 0.12), transparent 26%);
  opacity: 0.9;
}

.dark-section {
  background:
    radial-gradient(circle at 15% 10%, rgba(77, 163, 255, 0.18), transparent 20%),
    radial-gradient(circle at 90% 80%, rgba(124, 58, 237, 0.16), transparent 24%),
    linear-gradient(180deg, #08111f 0%, #0a1223 100%);
}

.api-section {
  background: linear-gradient(180deg, #0c1830 0%, #0b1426 100%);
}

.trust-section {
  background:
    radial-gradient(circle at 100% 0%, rgba(0, 212, 255, 0.16), transparent 22%),
    linear-gradient(180deg, #09111f 0%, #07101d 100%);
}

.section-header {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 0.9rem;
  max-width: 760px;
  margin-bottom: 2.2rem;
}

.section-tag {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  min-height: 34px;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  background: rgba(77, 163, 255, 0.12);
  color: #0e5fd9;
  border: 1px solid rgba(77, 163, 255, 0.18);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.dark-copy .section-tag,
.api-copy .section-tag,
.trust-copy .section-tag,
.cta-card .section-tag {
  color: #ddecff;
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.08);
}

.section-header h2,
.api-copy h2,
.trust-copy h2,
.cta-card h2 {
  margin: 0;
  font-family: "Outfit", system-ui, sans-serif;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.02;
  letter-spacing: -0.05em;
  text-wrap: balance;
}

.section-header p,
.api-copy p,
.trust-copy p,
.cta-card p {
  margin: 0;
  color: var(--ink-muted);
  font-size: 1.04rem;
  line-height: 1.72;
}

.dark-copy h2,
.api-copy h2,
.trust-copy h2,
.cta-card h2 {
  color: #fbfdff;
}

.dark-copy p,
.api-copy p,
.trust-copy p,
.cta-card p {
  color: var(--text-muted);
}

.feature-grid,
.use-case-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  position: relative;
  z-index: 1;
}

.feature-card,
.use-case-card {
  padding: 1.35rem 1.2rem;
  border-color: var(--line-dark);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: var(--shadow-md);
}

.feature-card h3,
.use-case-card h3 {
  margin: 0.95rem 0 0.7rem;
  font-family: "Outfit", system-ui, sans-serif;
  font-size: 1.25rem;
  letter-spacing: -0.03em;
}

.feature-card p,
.use-case-card p,
.use-case-card li {
  margin: 0;
  color: var(--ink-muted);
  line-height: 1.68;
}

.icon-shell {
  display: inline-grid;
  place-items: center;
  width: 48px;
  aspect-ratio: 1;
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(77, 163, 255, 0.16), rgba(124, 58, 237, 0.1));
  color: #1257c8;
  box-shadow: inset 0 0 0 1px rgba(77, 163, 255, 0.12);
}

.icon-shell svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.detector-shell {
  position: relative;
  z-index: 1;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(180deg, rgba(12, 22, 41, 0.82), rgba(8, 15, 28, 0.86));
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.tab-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  padding: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.tab-button {
  min-height: 42px;
  padding: 0.55rem 0.95rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.025);
  color: #d8e7ff;
  font-weight: 600;
  cursor: pointer;
  transition: background-color var(--ease), border-color var(--ease), transform var(--ease), color var(--ease);
}

.tab-button:hover,
.tab-button:focus-visible,
.tab-button.is-active {
  color: #fff;
  transform: translateY(-1px);
  border-color: rgba(77, 163, 255, 0.44);
  background: linear-gradient(180deg, rgba(77, 163, 255, 0.24), rgba(124, 58, 237, 0.16));
}

.tab-panels {
  position: relative;
}

.tab-panel {
  display: none;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 380px);
  gap: 1.2rem;
  padding: 1.2rem;
}

.tab-panel.is-active {
  display: grid;
}

.panel-copy {
  padding: 1rem;
  align-self: center;
}

.panel-copy h3 {
  margin: 0.3rem 0 0.8rem;
  font-family: "Outfit", system-ui, sans-serif;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  line-height: 1.06;
  letter-spacing: -0.04em;
}

.panel-copy p {
  margin: 0;
  color: var(--text-muted);
  line-height: 1.75;
}

.panel-points {
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.65rem;
}

.panel-points li {
  position: relative;
  padding-left: 1.35rem;
  color: #dde9ff;
}

.panel-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.56rem;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--gradient);
}

.panel-visual {
  min-height: 320px;
  padding: 1rem;
  border-radius: 26px;
  background: rgba(4, 10, 22, 0.54);
  border: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.heatmap-visual,
.waveform-visual,
.table-visual,
.report-visual {
  position: relative;
}

.heatmap-visual {
  background:
    radial-gradient(circle at 70% 26%, rgba(255, 111, 125, 0.14), transparent 20%),
    radial-gradient(circle at 44% 60%, rgba(245, 193, 92, 0.14), transparent 20%),
    linear-gradient(180deg, rgba(7, 14, 28, 0.9), rgba(4, 10, 20, 0.96));
}

.visual-face {
  position: absolute;
  inset: 12% 18% 18% 18%;
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(147, 195, 255, 0.16), rgba(82, 103, 255, 0.08));
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.visual-box {
  position: absolute;
  border: 1px solid rgba(77, 163, 255, 0.4);
  border-radius: 18px;
}

.visual-box-one {
  inset: 24% 26% 44% 26%;
}

.visual-box-two {
  inset: 47% 34% 23% 34%;
}

.visual-heat {
  position: absolute;
  border-radius: 50%;
  filter: blur(10px);
}

.visual-heat-one {
  width: 110px;
  height: 110px;
  inset: 24% auto auto 46%;
  background: radial-gradient(circle, rgba(255, 111, 125, 0.56), rgba(255, 111, 125, 0));
}

.visual-heat-two {
  width: 92px;
  height: 92px;
  inset: auto auto 17% 28%;
  background: radial-gradient(circle, rgba(245, 193, 92, 0.52), rgba(245, 193, 92, 0));
}

.visual-legend {
  position: absolute;
  inset: auto 1rem 1rem 1rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  color: var(--text-muted);
  font-size: 0.82rem;
}

.waveform-visual {
  display: grid;
  align-items: center;
  background:
    radial-gradient(circle at 15% 50%, rgba(0, 212, 255, 0.12), transparent 26%),
    linear-gradient(180deg, rgba(7, 13, 26, 0.9), rgba(4, 9, 20, 0.96));
}

.wave-bars {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 0.5rem;
  align-items: end;
  height: 180px;
  margin: 3.5rem 1rem 1rem;
}

.wave-bars span {
  display: block;
  border-radius: 999px 999px 10px 10px;
  background: linear-gradient(180deg, rgba(0, 212, 255, 0.95), rgba(124, 58, 237, 0.5));
  box-shadow: 0 0 18px rgba(0, 212, 255, 0.08);
}

.wave-bars span:nth-child(1) { height: 22%; }
.wave-bars span:nth-child(2) { height: 55%; }
.wave-bars span:nth-child(3) { height: 40%; }
.wave-bars span:nth-child(4) { height: 78%; }
.wave-bars span:nth-child(5) { height: 48%; }
.wave-bars span:nth-child(6) { height: 62%; }
.wave-bars span:nth-child(7) { height: 80%; }
.wave-bars span:nth-child(8) { height: 44%; }
.wave-bars span:nth-child(9) { height: 33%; }
.wave-bars span:nth-child(10) { height: 67%; }
.wave-bars span:nth-child(11) { height: 52%; }
.wave-bars span:nth-child(12) { height: 28%; }

.wave-overlay {
  position: absolute;
  inset: 22% 1rem 28% 1rem;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.wave-marker {
  position: absolute;
  inset: 14% 28% 14% auto;
  width: 2px;
  background: linear-gradient(180deg, transparent, rgba(255, 111, 125, 0.95), transparent);
  box-shadow: 0 0 18px rgba(255, 111, 125, 0.45);
}

.wave-label {
  position: absolute;
  inset: auto 1rem 1rem 1rem;
  padding: 0.85rem 0.95rem;
  border-radius: 18px;
  background: rgba(8, 14, 26, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #dde6fb;
}

.table-visual {
  display: grid;
  gap: 0.85rem;
  align-content: center;
  background:
    linear-gradient(180deg, rgba(9, 17, 31, 0.86), rgba(4, 10, 22, 0.96));
}

.table-row {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.8rem;
  padding: 0.9rem 1rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.03);
  color: #e8f0ff;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.table-row span {
  color: var(--text-muted);
}

.table-row strong {
  font-weight: 600;
  letter-spacing: -0.02em;
}

.table-row em {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 72px;
  min-height: 30px;
  padding: 0 0.75rem;
  border-radius: 999px;
  font-style: normal;
  background: rgba(86, 211, 155, 0.12);
  color: #88e3b9;
  border: 1px solid rgba(86, 211, 155, 0.18);
  font-size: 0.82rem;
}

.table-row em.warn-copy {
  background: rgba(245, 193, 92, 0.12);
  color: #f5ca77;
  border-color: rgba(245, 193, 92, 0.16);
}

.table-row em.risk-copy {
  background: rgba(255, 111, 125, 0.12);
  color: #ff9aa4;
  border-color: rgba(255, 111, 125, 0.18);
}

.report-visual {
  display: grid;
  align-content: start;
  gap: 0.85rem;
  background:
    radial-gradient(circle at 100% 0%, rgba(77, 163, 255, 0.12), transparent 24%),
    linear-gradient(180deg, rgba(8, 15, 29, 0.92), rgba(4, 10, 21, 0.97));
}

.report-card-top,
.report-block,
.report-footer {
  border-radius: 20px;
  padding: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(255, 255, 255, 0.03);
}

.report-card-top {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

.report-card-top span,
.report-block small {
  color: var(--text-muted);
}

.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 0.65rem;
}

.badge-row span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 0.8rem;
  border-radius: 999px;
  color: #dce9ff;
  background: rgba(255, 255, 255, 0.05);
}

.report-block p {
  margin: 0.55rem 0 0;
  color: #ebf3ff;
  line-height: 1.65;
}

.report-footer {
  color: #dbe7ff;
}

.use-case-card ul {
  margin: 1rem 0 0;
  padding-left: 1.05rem;
  color: var(--ink-muted);
  display: grid;
  gap: 0.45rem;
}

.api-grid,
.trust-grid,
.cta-card {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 470px);
  gap: 1.2rem;
  align-items: center;
}

.api-copy,
.trust-copy {
  max-width: 640px;
}

.api-checklist {
  display: grid;
  gap: 0.8rem;
  margin-top: 1.4rem;
}

.check-item {
  display: flex;
  align-items: start;
  gap: 0.75rem;
  color: #e2ecff;
  line-height: 1.65;
}

.check-dot {
  width: 0.8rem;
  height: 0.8rem;
  margin-top: 0.35rem;
  border-radius: 50%;
  flex: none;
  background: var(--gradient);
  box-shadow: 0 0 0 6px rgba(77, 163, 255, 0.1);
}

.code-card {
  padding: 1rem;
  background: linear-gradient(180deg, rgba(6, 12, 25, 0.9), rgba(8, 14, 26, 0.96));
  box-shadow: var(--shadow-lg);
}

.code-top {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding-bottom: 0.9rem;
  margin-bottom: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.code-top span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 0.65rem;
  border-radius: 999px;
  background: rgba(77, 163, 255, 0.18);
  color: #ddebff;
  font-size: 0.82rem;
}

.code-top strong {
  color: #f8fbff;
  font-family: "Outfit", system-ui, sans-serif;
  font-size: 1.1rem;
  letter-spacing: -0.03em;
}

.code-card pre {
  margin: 0;
  overflow-x: auto;
  white-space: pre;
}

.code-card code {
  display: block;
  color: #dbe8ff;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.92rem;
  line-height: 1.72;
}

.code-divider {
  margin: 1rem 0;
  height: 1px;
  background: rgba(255, 255, 255, 0.08);
}

.trust-points-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.95rem;
  margin-top: 1.6rem;
}

.trust-point {
  padding: 1rem;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
}

.trust-point strong {
  display: block;
  margin-bottom: 0.45rem;
  color: #fbfdff;
  font-family: "Outfit", system-ui, sans-serif;
  font-size: 1.06rem;
  letter-spacing: -0.03em;
}

.trust-point p {
  margin: 0;
  color: var(--text-muted);
  line-height: 1.65;
}

.ops-card {
  padding: 1.15rem;
  background: linear-gradient(180deg, rgba(9, 18, 35, 0.9), rgba(6, 13, 25, 0.96));
  box-shadow: var(--shadow-lg);
}

.ops-header,
.ops-summary {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

.ops-header {
  padding-bottom: 0.95rem;
  margin-bottom: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.ops-header span {
  color: var(--text-muted);
}

.ops-header strong {
  color: #fff;
}

.ops-lane {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.ops-node {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 0.85rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: #dce8ff;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.ops-node.is-active {
  background: rgba(77, 163, 255, 0.16);
  border-color: rgba(77, 163, 255, 0.32);
}

.ops-node.is-warning {
  background: rgba(245, 193, 92, 0.14);
  border-color: rgba(245, 193, 92, 0.22);
}

.ops-arrow {
  width: 22px;
  height: 2px;
  background: linear-gradient(90deg, rgba(255,255,255,0.2), rgba(255,255,255,0.55));
  border-radius: 999px;
}

.ops-summary {
  gap: 1rem;
  padding: 1rem;
  margin-bottom: 0.9rem;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.03);
}

.ops-summary strong {
  display: block;
  color: #fbfdff;
}

.ops-notes {
  padding: 1rem;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.03);
}

.ops-notes p {
  margin: 0.4rem 0 0;
  color: #dbe7fd;
  line-height: 1.68;
}

.faq-list {
  display: grid;
  gap: 0.9rem;
  position: relative;
  z-index: 1;
}

.faq-list details {
  border: 1px solid var(--line-dark);
  background: rgba(255, 255, 255, 0.72);
  border-radius: 22px;
  padding: 1rem 1.1rem;
  box-shadow: var(--shadow-md);
}

.faq-list summary {
  list-style: none;
  cursor: pointer;
  font-family: "Outfit", system-ui, sans-serif;
  font-size: 1.12rem;
  font-weight: 600;
  letter-spacing: -0.03em;
  padding-right: 2rem;
  position: relative;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: -0.05rem;
  font-size: 1.4rem;
  color: #1e5fd4;
}

.faq-list details[open] summary::after {
  content: "−";
}

.faq-list p {
  margin: 0.8rem 0 0;
  color: var(--ink-muted);
  line-height: 1.72;
}

.cta-section {
  padding: 0 0 4rem;
  background: linear-gradient(180deg, var(--paper-2) 0%, transparent 0%);
}

.cta-card {
  padding: clamp(1.5rem, 3vw, 2rem);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 100% 0%, rgba(0, 212, 255, 0.16), transparent 24%),
    linear-gradient(180deg, rgba(9, 18, 34, 0.96), rgba(6, 12, 24, 0.96));
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow-lg);
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.85rem;
}

.site-footer {
  padding: 0 0 2rem;
  color: var(--text-muted);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) auto auto;
  align-items: end;
  gap: 1rem;
  padding-top: 1rem;
}

.footer-brand p {
  margin: 0.9rem 0 0;
  color: var(--text-faint);
}

.footer-links,
.footer-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-links a,
.footer-meta a {
  color: var(--text-muted);
}

.footer-links a:hover,
.footer-meta a:hover {
  color: var(--text);
}

@keyframes scan {
  0% { transform: translateY(0); opacity: 0.9; }
  50% { transform: translateY(190px); opacity: 1; }
  100% { transform: translateY(0); opacity: 0.9; }
}

@media (max-width: 1140px) {
  .hero-grid,
  .api-grid,
  .trust-grid,
  .cta-card {
    grid-template-columns: 1fr;
  }

  .hero-copy,
  .api-copy,
  .trust-copy {
    max-width: none;
  }

  .hero-panel {
    max-width: 760px;
  }

  .feature-grid,
  .use-case-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .segment-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-grid {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .cta-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 920px) {
  .desktop-nav,
  .hide-on-mobile {
    display: none;
  }

  .menu-toggle {
    display: inline-block;
  }

  .header-actions .button.primary {
    min-height: 42px;
    padding-inline: 0.95rem;
  }

  .mobile-menu[data-open="true"] {
    display: block;
  }

  .window-body,
  .tab-panel {
    grid-template-columns: 1fr;
  }

  .window-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .tab-list {
    overflow-x: auto;
    flex-wrap: nowrap;
    scrollbar-width: thin;
  }

  .hero {
    padding-top: 2.4rem;
  }
}

@media (max-width: 720px) {
  :root {
    --container: min(100vw - 1.1rem, 1200px);
  }

  .header-inner {
    min-height: 74px;
  }

  .brand-lockup {
    font-size: 1.28rem;
  }

  .hero h1 {
    font-size: clamp(2.5rem, 14vw, 4rem);
  }

  .hero-lead {
    font-size: 1rem;
  }

  .hero-proof {
    gap: 0.55rem;
  }

  .hero-proof span {
    font-size: 0.86rem;
  }

  .feature-grid,
  .use-case-grid,
  .segment-grid,
  .trust-points-grid {
    grid-template-columns: 1fr;
  }

  .window-top {
    grid-template-columns: auto 1fr;
  }

  .window-badge {
    display: none;
  }

  .video-stage {
    min-height: 300px;
  }

  .stage-frame {
    inset: 20% 10% 24% 10%;
  }

  .window-metrics {
    grid-template-columns: 1fr;
  }

  .section-header h2,
  .api-copy h2,
  .trust-copy h2,
  .cta-card h2 {
    font-size: clamp(1.8rem, 9vw, 2.75rem);
  }

  .panel-copy {
    padding: 0;
  }

  .panel-visual {
    min-height: 260px;
  }

  .table-row {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .ops-summary,
  .ops-header {
    flex-direction: column;
  }

  .ops-lane {
    gap: 0.5rem;
  }

  .ops-arrow {
    display: none;
  }

  .footer-links,
  .footer-meta {
    gap: 0.85rem;
  }
}

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

  *,
  *::before,
  *::after {
    animation: none !important;
    transition-duration: 0ms !important;
    transition-delay: 0ms !important;
  }
}
