:root {
  --bg: #070a12;
  --surface: #101827;
  --surface-2: #151f32;
  --surface-3: #0d1422;
  --text: #f8fafc;
  --muted: #94a3b8;
  --primary: #7c3aed;
  --primary-2: #9f67ff;
  --cyan: #06b6d4;
  --green: #22c55e;
  --yellow: #fbbf24;
  --red: #fb5f5f;
  --hot: #f97316;
  --border: rgba(148, 163, 184, 0.18);
  --border-strong: rgba(148, 163, 184, 0.28);
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.36);
  --radius: 22px;
  --radius-sm: 14px;
  --container: 1180px;
  --font-sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

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

html {
  scroll-behavior: smooth;
  color-scheme: dark;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at 12% 10%, rgba(124, 58, 237, 0.14), transparent 28rem),
    radial-gradient(circle at 88% 8%, rgba(6, 182, 212, 0.10), transparent 24rem),
    var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  line-height: 1.6;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  opacity: 0.3;
  background-image:
    linear-gradient(rgba(148, 163, 184, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 163, 184, 0.035) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, black, transparent 86%);
}

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

a {
  color: inherit;
}

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

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

:focus-visible {
  outline: 3px solid rgba(6, 182, 212, 0.85);
  outline-offset: 3px;
}

::selection {
  background: rgba(124, 58, 237, 0.48);
  color: white;
}

.skip-link {
  position: fixed;
  left: 1rem;
  top: 1rem;
  z-index: 1000;
  transform: translateY(-150%);
  padding: 0.75rem 1rem;
  border-radius: 10px;
  background: white;
  color: #07101d;
  font-weight: 800;
}

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

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

.container {
  width: min(calc(100% - 2rem), var(--container));
  margin-inline: auto;
}

.section {
  padding: clamp(4.75rem, 8vw, 8rem) 0;
}

.section--tight {
  padding: clamp(3.75rem, 6vw, 6rem) 0;
}

.section--surface {
  position: relative;
  background: linear-gradient(180deg, rgba(16, 24, 39, 0.72), rgba(8, 13, 23, 0.64));
  border-block: 1px solid var(--border);
}

.announcement {
  border-bottom: 1px solid var(--border);
  background: rgba(8, 13, 23, 0.95);
  color: #dbeafe;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.announcement__inner {
  min-height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  text-align: center;
}

.mini-zones {
  display: inline-flex;
  gap: 0.25rem;
}

.mini-zone {
  display: grid;
  place-items: center;
  width: 20px;
  aspect-ratio: 1;
  border-radius: 999px;
  color: #07101d;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 900;
}

.mini-zone--green { background: var(--green); }
.mini-zone--yellow { background: var(--yellow); }
.mini-zone--red { background: var(--red); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid transparent;
  background: rgba(7, 10, 18, 0.74);
  backdrop-filter: blur(18px);
  transition: border-color 180ms ease, background 180ms ease;
}

.site-header.is-scrolled {
  border-color: var(--border);
  background: rgba(7, 10, 18, 0.92);
}

.site-header__inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  text-decoration: none;
}

.brand__mark {
  position: relative;
  display: grid;
  place-items: center;
  width: 42px;
  aspect-ratio: 1;
  border: 1px solid rgba(124, 58, 237, 0.55);
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.24), rgba(6, 182, 212, 0.08));
  box-shadow: inset 0 0 24px rgba(124, 58, 237, 0.1);
}

.brand__shield {
  color: #b897ff;
  font-size: 1rem;
  transform: rotate(45deg);
}

.brand__pulse {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 7px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 5px rgba(34, 197, 94, 0.08), 0 0 16px rgba(34, 197, 94, 0.7);
  animation: pulse 2.3s infinite;
}

.brand__text {
  display: grid;
  line-height: 1.1;
}

.brand__text strong {
  font-size: 0.95rem;
  letter-spacing: -0.01em;
}

.brand__text small {
  margin-top: 0.3rem;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.64rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.primary-nav > a:not(.button) {
  color: #cbd5e1;
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
}

.primary-nav > a:not(.button):hover {
  color: white;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface);
  color: white;
}

.nav-toggle span:not(.sr-only) {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
  transition: 180ms ease;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  border: 1px solid transparent;
  border-radius: 13px;
  font-weight: 850;
  line-height: 1;
  text-decoration: none;
  transition: transform 170ms ease, box-shadow 170ms ease, border-color 170ms ease, background 170ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button--small {
  min-height: 42px;
  padding: 0.75rem 1rem;
  font-size: 0.87rem;
}

.button--large {
  min-height: 54px;
  padding: 1rem 1.25rem;
  font-size: 0.96rem;
}

.button--primary {
  background: linear-gradient(135deg, var(--primary), #5b21b6);
  color: white;
  box-shadow: 0 14px 36px rgba(124, 58, 237, 0.28);
}

.button--primary:hover {
  box-shadow: 0 18px 44px rgba(124, 58, 237, 0.38);
}

.button--ghost {
  border-color: var(--border-strong);
  background: rgba(16, 24, 39, 0.56);
  color: #e2e8f0;
}

.button--ghost:hover {
  border-color: rgba(6, 182, 212, 0.55);
  background: rgba(15, 23, 42, 0.88);
}

.hero {
  padding-top: clamp(4.5rem, 8vw, 7.5rem);
}

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(430px, 0.96fr);
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0 0 1rem;
  color: #b4dff6;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.eyebrow__dot {
  width: 8px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 14px rgba(34, 197, 94, 0.8);
}

.eyebrow--hot {
  color: #fdba74;
}

.hero h1,
.section-heading h2,
.final-cta h2 {
  margin: 0;
  font-weight: 900;
  letter-spacing: -0.055em;
  line-height: 0.98;
}

.hero h1 {
  max-width: 760px;
  font-size: clamp(3.35rem, 7vw, 6.65rem);
}

.hero h1 span {
  display: block;
  background: linear-gradient(90deg, white, #b897ff 46%, #67e8f9);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero__lead {
  max-width: 700px;
  margin: 1.6rem 0 0;
  color: #b9c4d3;
  font-size: clamp(1.06rem, 1.8vw, 1.25rem);
  line-height: 1.75;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 2rem;
}

.trust-line {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1rem;
  margin-top: 1.3rem;
  color: var(--muted);
  font-size: 0.76rem;
}

.trust-line span {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.trust-line span::before {
  content: "";
  width: 5px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: #64748b;
}

.hero-console {
  position: relative;
  min-height: 540px;
  overflow: hidden;
  border: 1px solid var(--border-strong);
  border-radius: 26px;
  background:
    radial-gradient(circle at 10% 0%, rgba(124, 58, 237, 0.18), transparent 18rem),
    linear-gradient(180deg, rgba(21, 31, 50, 0.98), rgba(9, 14, 24, 0.98));
  box-shadow: var(--shadow);
}

.console__topbar {
  min-height: 54px;
  padding: 0.9rem 1.1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border-bottom: 1px solid var(--border);
  color: #94a3b8;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.08em;
}

.console__status {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: #86efac;
}

.console__status i {
  width: 7px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 14px rgba(34, 197, 94, 0.8);
}

.console__body {
  position: relative;
  z-index: 2;
  padding: 1.2rem;
}

.workflow-step {
  min-height: 72px;
  padding: 0.9rem 0.95rem;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.8rem;
  border: 1px solid var(--border);
  border-radius: 15px;
  background: rgba(9, 14, 24, 0.78);
}

.workflow-step__index {
  display: grid;
  place-items: center;
  width: 38px;
  aspect-ratio: 1;
  border-radius: 11px;
  background: rgba(148, 163, 184, 0.08);
  color: #cbd5e1;
  font-family: var(--font-mono);
  font-size: 0.68rem;
}

.workflow-step > div:nth-child(2) {
  display: grid;
  gap: 0.18rem;
}

.workflow-step > div:nth-child(2) > span {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.workflow-step small {
  color: var(--muted);
  font-size: 0.75rem;
}

.workflow-step__badge {
  padding: 0.36rem 0.55rem;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 0.58rem;
  font-weight: 900;
}

.workflow-step--green { border-color: rgba(34, 197, 94, 0.28); }
.workflow-step--green .workflow-step__badge { color: #86efac; background: rgba(34, 197, 94, 0.12); }

.workflow-step--yellow { border-color: rgba(251, 191, 36, 0.28); }
.workflow-step--yellow .workflow-step__badge { color: #fde68a; background: rgba(251, 191, 36, 0.12); }

.workflow-step--red { border-color: rgba(251, 95, 95, 0.3); }
.workflow-step--red .workflow-step__badge { color: #fecaca; background: rgba(251, 95, 95, 0.12); }

.workflow-step--neutral .workflow-step__badge { color: #bae6fd; background: rgba(6, 182, 212, 0.12); }

.workflow-line {
  width: 1px;
  height: 15px;
  margin: 0 auto;
  background: var(--border-strong);
  overflow: hidden;
}

.workflow-line span {
  display: block;
  width: 100%;
  height: 55%;
  background: var(--cyan);
  animation: lineFlow 1.8s linear infinite;
}

.console__scan {
  position: absolute;
  inset-inline: 0;
  top: -20%;
  height: 80px;
  z-index: 1;
  background: linear-gradient(to bottom, transparent, rgba(6, 182, 212, 0.07), transparent);
  animation: scan 7s linear infinite;
}

.section-heading {
  max-width: 760px;
}

.section-heading--center {
  margin-inline: auto;
  text-align: center;
}

.section-heading--center .eyebrow {
  justify-content: center;
}

.section-heading h2 {
  font-size: clamp(2.4rem, 5vw, 4.5rem);
}

.section-heading > p:last-child {
  margin-top: 1.25rem;
  color: var(--muted);
  font-size: 1.06rem;
}

.problem-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}

.problem-panel {
  padding: 1.4rem;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 1rem;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(21, 31, 50, 0.76), rgba(10, 15, 25, 0.92));
  box-shadow: var(--shadow);
}

.problem-panel__column {
  padding: 1rem;
}

.problem-panel__divider {
  align-self: center;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 1.35rem;
  font-weight: 900;
}

.panel-label {
  display: inline-flex;
  color: #cbd5e1;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.panel-label--safe { color: #86efac; }
.panel-label--danger { color: #fca5a5; }
.panel-label--warn { color: #fde68a; }

.check-list,
.x-list,
.zone-card ul,
.score-bands {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
}

.check-list li,
.x-list li,
.zone-card li,
.score-bands li {
  position: relative;
  padding-left: 1.4rem;
  margin-top: 0.65rem;
  color: #cbd5e1;
}

.check-list li::before,
.zone-card--green li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--green);
  font-weight: 900;
}

.x-list li::before,
.zone-card--red li::before {
  content: "×";
  position: absolute;
  left: 0;
  color: var(--red);
  font-weight: 900;
}

.zone-card--yellow li::before {
  content: "!";
  position: absolute;
  left: 0;
  color: var(--yellow);
  font-weight: 900;
}

.problem-panel__punch {
  grid-column: 1 / -1;
  margin: 0;
  padding: 1rem;
  border-top: 1px solid var(--border);
  color: white;
  font-size: 1rem;
  font-weight: 850;
  text-align: center;
}

.zone-grid {
  margin-top: 3rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.zone-card {
  position: relative;
  overflow: hidden;
  min-height: 420px;
  padding: 1.35rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(21, 31, 50, 0.78), rgba(10, 15, 25, 0.96));
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.zone-card::after {
  content: "";
  position: absolute;
  inset: auto -20% -35% auto;
  width: 240px;
  aspect-ratio: 1;
  border-radius: 50%;
  filter: blur(32px);
  opacity: 0.14;
}

.zone-card:hover {
  transform: translateY(-6px);
}

.zone-card--green:hover { border-color: rgba(34, 197, 94, 0.55); box-shadow: 0 18px 50px rgba(34, 197, 94, 0.09); }
.zone-card--yellow:hover { border-color: rgba(251, 191, 36, 0.55); box-shadow: 0 18px 50px rgba(251, 191, 36, 0.08); }
.zone-card--red:hover { border-color: rgba(251, 95, 95, 0.55); box-shadow: 0 18px 50px rgba(251, 95, 95, 0.08); }

.zone-card--green::after { background: var(--green); }
.zone-card--yellow::after { background: var(--yellow); }
.zone-card--red::after { background: var(--red); }

.zone-card__head {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.zone-card__signal {
  display: grid;
  place-items: center;
  width: 46px;
  aspect-ratio: 1;
  border-radius: 14px;
  font-weight: 900;
}

.zone-card--green .zone-card__signal { color: #86efac; background: rgba(34, 197, 94, 0.12); border: 1px solid rgba(34, 197, 94, 0.24); }
.zone-card--yellow .zone-card__signal { color: #fde68a; background: rgba(251, 191, 36, 0.12); border: 1px solid rgba(251, 191, 36, 0.24); }
.zone-card--red .zone-card__signal { color: #fecaca; background: rgba(251, 95, 95, 0.12); border: 1px solid rgba(251, 95, 95, 0.24); }

.zone-card__label {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.1em;
}

.zone-card h3 {
  margin: 0.25rem 0 0;
  font-size: 1.45rem;
  letter-spacing: -0.03em;
}

.zone-card__definition {
  margin: 1.3rem 0 0;
  color: white;
  font-weight: 800;
}

.zone-card li {
  z-index: 1;
  font-size: 0.92rem;
}

.authority-warning {
  max-width: 760px;
  margin: 1.2rem auto 0;
  padding: 1rem 1.15rem;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  border: 1px solid rgba(251, 191, 36, 0.24);
  border-radius: 14px;
  background: rgba(251, 191, 36, 0.07);
}

.authority-warning__icon {
  color: var(--yellow);
  font-size: 1.3rem;
}

.authority-warning div {
  display: grid;
}

.authority-warning span:last-child {
  color: #d1d5db;
  font-size: 0.88rem;
}

.output-grid {
  margin-top: 2.5rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--border);
  border-left: 1px solid var(--border);
}

.output-card {
  min-height: 190px;
  padding: 1.25rem;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: rgba(7, 10, 18, 0.36);
}

.output-card > span {
  color: #64748b;
  font-family: var(--font-mono);
  font-size: 0.67rem;
}

.output-card h3 {
  margin: 1.2rem 0 0.55rem;
  font-size: 1.1rem;
}

.output-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.checkpoint-grid {
  position: relative;
  margin: 3rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  list-style: none;
  gap: 1rem;
}

.checkpoint-card {
  min-height: 200px;
  padding: 1.2rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: linear-gradient(180deg, rgba(16, 24, 39, 0.72), rgba(9, 14, 24, 0.88));
}

.checkpoint-card > span {
  display: inline-flex;
  color: #67e8f9;
  font-family: var(--font-mono);
  font-size: 0.68rem;
}

.checkpoint-card h3 {
  margin: 1.2rem 0 0.55rem;
  font-size: 1rem;
}

.checkpoint-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.report-layout {
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  gap: 1rem;
  align-items: stretch;
}

.report-preview,
.score-card {
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(21, 31, 50, 0.9), rgba(8, 13, 23, 0.96));
  box-shadow: var(--shadow);
}

.report-preview {
  overflow: hidden;
}

.report-preview__header {
  padding: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border-bottom: 1px solid var(--border);
}

.report-preview__header h3 {
  margin: 0.35rem 0 0;
  font-size: 1.2rem;
}

.report-status {
  padding: 0.45rem 0.65rem;
  border: 1px solid rgba(251, 191, 36, 0.25);
  border-radius: 999px;
  background: rgba(251, 191, 36, 0.09);
  color: #fde68a;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  font-weight: 900;
}

.report-table {
  overflow-x: auto;
}

.report-row {
  min-width: 720px;
  padding: 0.85rem 1rem;
  display: grid;
  grid-template-columns: 1.2fr 0.55fr 1.4fr 1.15fr;
  gap: 0.75rem;
  border-bottom: 1px solid var(--border);
  align-items: center;
  color: #dbe4ef;
  font-size: 0.82rem;
}

.report-row--head {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.64rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.tag {
  display: inline-flex;
  padding: 0.28rem 0.5rem;
  border-radius: 999px;
  font-size: 0.65rem;
}

.tag--green { color: #86efac; background: rgba(34, 197, 94, 0.12); }
.tag--yellow { color: #fde68a; background: rgba(251, 191, 36, 0.12); }
.tag--red { color: #fecaca; background: rgba(251, 95, 95, 0.12); }

.audit-fields {
  padding: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.audit-fields span {
  padding: 0.36rem 0.5rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  color: #94a3b8;
  font-family: var(--font-mono);
  font-size: 0.6rem;
}

.score-card {
  padding: 1.3rem;
}

.score-card__gauge {
  position: relative;
  width: min(100%, 230px);
  margin: 0 auto 1rem;
}

.score-card svg {
  display: block;
}

.gauge-track,
.gauge-value {
  fill: none;
  stroke-width: 14;
  stroke-linecap: round;
}

.gauge-track {
  stroke: rgba(148, 163, 184, 0.13);
}

.gauge-value {
  stroke: url("#none");
  stroke: var(--yellow);
  stroke-dasharray: 80 100;
  filter: drop-shadow(0 0 8px rgba(251, 191, 36, 0.35));
}

.score-card__number {
  position: absolute;
  left: 50%;
  bottom: 0.1rem;
  transform: translateX(-50%);
  display: flex;
  align-items: baseline;
  gap: 0.2rem;
}

.score-card__number strong {
  font-size: 2.4rem;
  line-height: 1;
}

.score-card__number span {
  color: var(--muted);
  font-size: 0.85rem;
}

.score-card h3 {
  margin: 0.6rem 0 0;
  font-size: 1.3rem;
  letter-spacing: -0.03em;
}

.score-bands li {
  padding-left: 0;
  display: flex;
  gap: 0.7rem;
  font-size: 0.82rem;
}

.score-bands span {
  min-width: 52px;
  color: white;
  font-family: var(--font-mono);
  font-size: 0.72rem;
}

.score-card > p {
  color: var(--muted);
  font-size: 0.78rem;
}

.persona-grid {
  margin-top: 2.4rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.8rem;
}

.persona-card {
  min-height: 130px;
  padding: 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: rgba(7, 10, 18, 0.45);
}

.persona-card span {
  display: grid;
  place-items: center;
  width: 44px;
  aspect-ratio: 1;
  border-radius: 12px;
  background: rgba(124, 58, 237, 0.12);
  color: #c4b5fd;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  font-weight: 900;
}

.persona-card h3 {
  margin: 1rem 0 0;
  font-size: 0.94rem;
}

.fit-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.fit-card {
  min-height: 470px;
  padding: clamp(1.5rem, 4vw, 2.4rem);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(21, 31, 50, 0.72), rgba(9, 14, 24, 0.92));
}

.fit-card--yes { border-color: rgba(34, 197, 94, 0.18); }
.fit-card--no { border-color: rgba(251, 95, 95, 0.18); }

.fit-card h2 {
  margin: 1rem 0 0;
  max-width: 460px;
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  letter-spacing: -0.045em;
  line-height: 1.03;
}

.steps-grid {
  margin-top: 3rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.step-card {
  min-height: 250px;
  padding: 1.25rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: rgba(7, 10, 18, 0.42);
}

.step-card > span {
  display: grid;
  place-items: center;
  width: 42px;
  aspect-ratio: 1;
  border: 1px solid rgba(124, 58, 237, 0.3);
  border-radius: 50%;
  color: #c4b5fd;
  font-family: var(--font-mono);
  font-weight: 900;
}

.step-card h3 {
  margin: 1.5rem 0 0.7rem;
  font-size: 1.13rem;
}

.step-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.mid-cta {
  margin-top: 1rem;
  padding: 1.35rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border: 1px solid rgba(124, 58, 237, 0.28);
  border-radius: var(--radius-sm);
  background: linear-gradient(90deg, rgba(124, 58, 237, 0.14), rgba(6, 182, 212, 0.06));
}

.mid-cta .eyebrow {
  margin-bottom: 0.4rem;
}

.mid-cta h3 {
  margin: 0;
  font-size: 1.35rem;
}

.use-case-layout {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 3rem;
  align-items: center;
}

.use-case-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.use-case-cloud span {
  padding: 0.85rem 1rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(16, 24, 39, 0.65);
  color: #cbd5e1;
  font-size: 0.86rem;
}

.resource-grid {
  margin-top: 2.5rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.resource-card {
  min-height: 300px;
  padding: 1.4rem;
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 1.1rem;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(21, 31, 50, 0.78), rgba(8, 13, 23, 0.92));
}

.resource-card__icon {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border: 1px solid rgba(6, 182, 212, 0.28);
  border-radius: 16px;
  background: rgba(6, 182, 212, 0.08);
  color: #67e8f9;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 900;
}

.resource-card h3 {
  margin: 0.8rem 0 0;
  font-size: 1.35rem;
}

.resource-card p {
  color: var(--muted);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: white;
  font-weight: 850;
  text-underline-offset: 4px;
}

.faq-layout {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 3rem;
}

.faq-list {
  border-top: 1px solid var(--border);
}

.faq-list details {
  border-bottom: 1px solid var(--border);
}

.faq-list summary {
  position: relative;
  padding: 1.25rem 2rem 1.25rem 0;
  cursor: pointer;
  font-weight: 850;
  list-style: none;
}

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

.faq-list summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 1.05rem;
  color: var(--cyan);
  font-family: var(--font-mono);
  font-size: 1.3rem;
}

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

.faq-list details p {
  margin: 0;
  padding: 0 2rem 1.4rem 0;
  color: var(--muted);
}

.final-cta {
  padding: clamp(4rem, 7vw, 7rem) 0;
  border-block: 1px solid var(--border);
  background:
    radial-gradient(circle at 10% 50%, rgba(124, 58, 237, 0.2), transparent 28rem),
    radial-gradient(circle at 90% 50%, rgba(6, 182, 212, 0.13), transparent 24rem),
    rgba(16, 24, 39, 0.48);
}

.final-cta__inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem;
  align-items: end;
}

.final-cta h2 {
  max-width: 850px;
  font-size: clamp(2.5rem, 5vw, 5rem);
}

.final-cta__actions {
  display: grid;
  gap: 0.7rem;
  min-width: 310px;
}

.site-footer {
  padding: 2.5rem 0 1.25rem;
  background: #050810;
}

.site-footer__grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem;
  align-items: start;
}

.brand--footer .brand__mark {
  width: 36px;
}

.site-footer p {
  color: var(--muted);
  font-size: 0.86rem;
}

.site-footer nav {
  display: grid;
  grid-template-columns: repeat(2, auto);
  gap: 0.7rem 1.5rem;
}

.site-footer nav a {
  color: #cbd5e1;
  font-size: 0.84rem;
  text-decoration: none;
}

.site-footer nav a:hover {
  color: white;
}

.site-footer__notice {
  margin-top: 2rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
  color: #64748b;
  font-size: 0.72rem;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 600ms ease, transform 600ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(0.82); opacity: 0.65; }
}

@keyframes lineFlow {
  from { transform: translateY(-120%); }
  to { transform: translateY(220%); }
}

@keyframes scan {
  from { transform: translateY(-120%); }
  to { transform: translateY(850%); }
}

@media (max-width: 1060px) {
  .hero__grid,
  .problem-grid,
  .report-layout,
  .use-case-layout,
  .faq-layout {
    grid-template-columns: 1fr;
  }

  .hero-console {
    min-height: auto;
  }

  .zone-grid {
    grid-template-columns: 1fr;
  }

  .zone-card {
    min-height: auto;
  }

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

  .checkpoint-grid,
  .persona-grid,
  .steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .final-cta__inner {
    grid-template-columns: 1fr;
  }

  .final-cta__actions {
    min-width: 0;
    max-width: 520px;
  }
}

@media (max-width: 820px) {
  .nav-toggle {
    display: block;
  }

  .primary-nav {
    position: absolute;
    top: calc(100% + 1px);
    left: 1rem;
    right: 1rem;
    display: none;
    padding: 1rem;
    flex-direction: column;
    align-items: stretch;
    border: 1px solid var(--border-strong);
    border-radius: 15px;
    background: rgba(7, 10, 18, 0.98);
    box-shadow: var(--shadow);
  }

  .primary-nav.is-open {
    display: flex;
  }

  .primary-nav > a {
    padding: 0.65rem 0.5rem;
  }

  .fit-grid,
  .resource-grid {
    grid-template-columns: 1fr;
  }

  .fit-card {
    min-height: auto;
  }

  .site-footer__grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .container {
    width: min(calc(100% - 1.25rem), var(--container));
  }

  .section {
    padding: 4.4rem 0;
  }

  .announcement__inner {
    justify-content: space-between;
    text-align: left;
  }

  .announcement__inner > span:first-child {
    max-width: 270px;
    line-height: 1.25;
  }

  .brand__text strong {
    max-width: 180px;
  }

  .brand__text small {
    display: none;
  }

  .hero h1 {
    font-size: clamp(3rem, 15vw, 4.6rem);
  }

  .hero__actions {
    display: grid;
  }

  .button--large {
    width: 100%;
  }

  .workflow-step {
    grid-template-columns: 38px 1fr;
  }

  .workflow-step__badge {
    grid-column: 2;
    justify-self: start;
  }

  .problem-panel {
    grid-template-columns: 1fr;
  }

  .problem-panel__divider {
    display: none;
  }

  .output-grid,
  .checkpoint-grid,
  .persona-grid,
  .steps-grid {
    grid-template-columns: 1fr;
  }

  .report-preview__header {
    align-items: flex-start;
    flex-direction: column;
  }

  .mid-cta {
    align-items: stretch;
    flex-direction: column;
  }

  .resource-card {
    grid-template-columns: 1fr;
  }

  .site-footer nav {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation: none !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
