:root {
  --color-canvas: #fbfbfc;
  --color-canvas-alt: #f4f5f7;
  --color-ink: #15171a;
  --color-muted: #5f6672;
  --color-subtle: #8a919c;
  --color-void: #07080a;
  --color-panel: #101215;
  --color-panel-2: #171a1f;
  --color-panel-3: #20242b;
  --color-line: #252a33;
  --color-line-light: #e5e7eb;
  --color-action: #5e6ad2;
  --color-action-text: #4d58ba;
  --color-action-hover: #6f7be8;
  --color-success: #2fb66d;
  --color-warning: #d79b24;
  --color-danger: #e35b5b;
  --color-white: #ffffff;
  --container-wide: 1180px;
  --container-text: 760px;
  --type-hero: clamp(2.5rem, 5vw, 5rem);
  --type-section: clamp(2rem, 3vw, 3.25rem);
  --type-card-title: 1.375rem;
  --type-lead: 1.25rem;
  --type-body: 1rem;
  --type-small: 0.875rem;
  --type-mono: 0.8125rem;
  --header-height: 56px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

section,
.report-row,
.report-callout {
  scroll-margin-top: calc(var(--header-height) + 16px);
}

body {
  margin: 0;
  background: var(--color-canvas);
  color: var(--color-ink);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: var(--type-body);
  line-height: 1.6;
  letter-spacing: 0;
}

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

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

a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 3px solid rgba(94, 106, 210, 0.42);
  outline-offset: 3px;
}

p,
h1,
h2,
h3 {
  margin: 0;
}

h1 {
  color: var(--color-white);
  font-size: var(--type-hero);
  font-weight: 650;
  line-height: 1.02;
  letter-spacing: 0;
}

h2 {
  font-size: var(--type-section);
  font-weight: 620;
  line-height: 1.08;
  letter-spacing: 0;
}

h3 {
  font-size: var(--type-card-title);
  font-weight: 620;
  line-height: 1.2;
  letter-spacing: 0;
}

.container {
  width: min(100% - 48px, var(--container-wide));
  margin-inline: auto;
}

.text-container,
.narrow {
  max-width: var(--container-text);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  height: var(--header-height);
  background: rgba(7, 8, 10, 0.88);
  border-bottom: 1px solid var(--color-line);
  color: var(--color-white);
  backdrop-filter: blur(16px);
}

.nav-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(100% - 32px, var(--container-wide));
  height: 100%;
  margin-inline: auto;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  font-size: var(--type-small);
  font-weight: 650;
  white-space: nowrap;
}

.brand-mark {
  width: 16px;
  height: 16px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 5px;
  background: var(--color-action);
  box-shadow: inset 0 0 0 4px var(--color-panel);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  color: rgba(255, 255, 255, 0.7);
  font-size: var(--type-small);
}

.nav-links a:hover {
  color: var(--color-white);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: var(--color-action);
  color: var(--color-white);
  font-size: 0.975rem;
  font-weight: 650;
  line-height: 1.2;
  text-align: center;
  transition: background 180ms ease, transform 180ms ease;
}

.button:hover {
  background: var(--color-action-hover);
}

.button:active {
  transform: scale(0.98);
}

.button-small {
  min-height: 40px;
  padding: 10px 16px;
  font-size: var(--type-small);
}

.button[data-pending="true"] {
  cursor: not-allowed;
}

.text-link {
  color: #bfc5ff;
  font-weight: 620;
}

.text-link:hover {
  color: var(--color-white);
}

.section-dark {
  background: var(--color-void);
  color: var(--color-white);
}

.section-light,
.section-alt,
.privacy-band,
.faq {
  padding: 88px 0;
}

.hero {
  min-height: calc(100svh - var(--header-height) - 64px);
  padding: 64px 0 72px;
  background: linear-gradient(180deg, var(--color-void) 0%, #090b0f 62%, #11151b 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.93fr) minmax(420px, 1.07fr);
  align-items: center;
  gap: 56px;
}

.hero-copy {
  display: grid;
  gap: 22px;
}

.eyebrow {
  color: var(--color-action-hover);
  font-size: var(--type-small);
  font-weight: 700;
  line-height: 1.45;
  text-transform: uppercase;
}

.section-light .eyebrow,
.section-alt .eyebrow,
.privacy-band .eyebrow,
.faq .eyebrow {
  color: var(--color-action-text);
}

.hero-subhead {
  max-width: 720px;
  color: rgba(255, 255, 255, 0.82);
  font-size: var(--type-lead);
  line-height: 1.5;
}

.hero-body {
  max-width: 690px;
  color: rgba(255, 255, 255, 0.66);
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  padding-top: 6px;
}

.risk-note {
  color: rgba(255, 255, 255, 0.56);
  font-size: var(--type-small);
}

.mobile-audit-snapshot {
  display: none;
}

.audit-preview {
  border: 1px solid var(--color-line);
  border-radius: 18px;
  background: var(--color-panel);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
  overflow: hidden;
}

.hero-preview {
  min-height: 560px;
}

.preview-topbar,
.preview-head,
.recommendation,
.metric-grid,
.segment-panel {
  border-bottom: 1px solid var(--color-line);
}

.preview-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 48px;
  padding: 0 18px;
  color: rgba(255, 255, 255, 0.62);
  font-size: var(--type-small);
}

.preview-topbar > div {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--color-subtle);
}

.status-dot-live {
  background: var(--color-success);
}

.mono {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  font-size: var(--type-mono);
  font-weight: 500;
  line-height: 1.5;
}

.preview-badge {
  flex: 0 0 auto;
  border: 1px solid var(--color-line);
  border-radius: 999px;
  padding: 4px 10px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.75rem;
}

.preview-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  padding: 28px;
}

.preview-label,
.metric-label,
.report-label {
  display: block;
  color: var(--color-subtle);
  font-size: var(--type-small);
  font-weight: 600;
}

.preview-head h2 {
  margin-top: 6px;
  font-size: clamp(2rem, 4vw, 3.4rem);
  color: var(--color-white);
}

.preview-score {
  display: grid;
  justify-items: end;
  gap: 4px;
  text-align: right;
}

.score-value {
  color: var(--color-success);
  font-size: 2.25rem;
  font-weight: 720;
  line-height: 1;
}

.score-label {
  color: rgba(255, 255, 255, 0.56);
  font-size: var(--type-small);
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.metric-cell {
  display: grid;
  gap: 4px;
  min-height: 122px;
  padding: 20px;
  border-right: 1px solid var(--color-line);
  background: var(--color-panel-2);
}

.metric-cell:last-child {
  border-right: 0;
}

.metric-cell strong {
  color: var(--color-white);
  font-size: 1.45rem;
  line-height: 1.1;
}

.metric-cell span:last-child {
  color: rgba(255, 255, 255, 0.52);
  font-size: var(--type-small);
}

.metric-cell.warning strong {
  color: var(--color-warning);
}

.segment-panel {
  display: grid;
  gap: 14px;
  padding: 24px 28px;
}

.segment-row {
  display: grid;
  grid-template-columns: 110px minmax(120px, 1fr) 46px;
  align-items: center;
  gap: 14px;
  color: rgba(255, 255, 255, 0.72);
  font-size: var(--type-small);
}

.segment-row strong {
  color: var(--color-white);
  font-size: var(--type-small);
  text-align: right;
}

.bar {
  height: 8px;
  border-radius: 999px;
  background: var(--color-panel-3);
  overflow: hidden;
}

.bar-fill {
  display: block;
  height: 100%;
  border-radius: inherit;
  animation: grow-bar 900ms ease forwards;
  transform-origin: left center;
}

.bar-fill.success {
  background: var(--color-success);
}

.bar-fill.action {
  background: var(--color-action);
}

.bar-fill.warning {
  background: var(--color-warning);
}

.bar-fill.danger {
  background: var(--color-danger);
}

.recommendation {
  display: grid;
  gap: 10px;
  padding: 24px 28px 28px;
}

.recommendation .mono {
  color: var(--color-action-hover);
}

.recommendation p {
  color: rgba(255, 255, 255, 0.72);
}

.proof-strip {
  margin-top: -1px;
  border-top: 1px solid #11151b;
  border-bottom: 1px solid var(--color-line-light);
  background: linear-gradient(180deg, #11151b 0, #dfe3eb 1px, #f7f8fa 18px, var(--color-white) 74px);
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.proof-grid > div {
  display: grid;
  gap: 4px;
  min-height: 112px;
  padding: 24px 22px;
  border-right: 1px solid var(--color-line-light);
}

.proof-grid > div:last-child {
  border-right: 0;
}

.proof-kicker {
  color: var(--color-subtle);
  font-size: var(--type-small);
  font-weight: 600;
}

.proof-grid strong {
  align-self: end;
  font-size: 1.05rem;
  line-height: 1.35;
}

.why {
  background: linear-gradient(180deg, var(--color-white) 0%, var(--color-canvas) 96px, var(--color-canvas) 100%);
}

.section-split {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.8fr);
  gap: 56px;
  align-items: start;
}

.stacked-copy {
  display: grid;
  gap: 18px;
  color: var(--color-muted);
  font-size: 1.08rem;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 44px;
}

.card-grid.three {
  margin-top: 56px;
}

.feature-card {
  min-height: 216px;
  padding: 24px;
  border: 1px solid var(--color-line-light);
  border-radius: 12px;
  background: var(--color-white);
}

.feature-card h3 {
  margin-top: 18px;
}

.feature-card p {
  margin-top: 12px;
  color: var(--color-muted);
}

.card-index {
  display: inline-flex;
  color: var(--color-action-text);
  font-size: var(--type-small);
  font-weight: 700;
}

.audit-output {
  padding: 88px 0;
}

.section-heading {
  display: grid;
  gap: 16px;
}

.section-heading p:not(.eyebrow) {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.66);
  font-size: 1.08rem;
}

.section-light .section-heading p:not(.eyebrow) {
  color: var(--color-muted);
}

.report-shell {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 0;
  margin-top: 44px;
  border: 1px solid var(--color-line);
  border-radius: 18px;
  background: var(--color-panel);
  overflow: hidden;
}

.report-sidebar {
  display: grid;
  align-content: start;
  gap: 6px;
  padding: 24px;
  border-right: 1px solid var(--color-line);
  background: var(--color-panel-2);
}

.report-sidebar .mono {
  margin-bottom: 18px;
  color: var(--color-subtle);
}

.report-sidebar a {
  padding: 10px 12px;
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.58);
  font-size: var(--type-small);
  font-weight: 600;
}

.report-sidebar a.active,
.report-sidebar a:hover {
  background: var(--color-panel-3);
  color: var(--color-white);
}

.report-main {
  display: grid;
}

.report-row {
  display: grid;
  grid-template-columns: minmax(220px, 0.8fr) minmax(0, 1fr);
  gap: 28px;
  padding: 26px 28px;
  border-bottom: 1px solid var(--color-line);
}

.report-row strong {
  display: block;
  margin-top: 6px;
  color: var(--color-white);
  font-size: 1.25rem;
  line-height: 1.25;
}

.report-row p {
  color: rgba(255, 255, 255, 0.64);
}

.report-callout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 22px 28px;
  color: var(--color-success);
}

.report-callout .mono {
  color: var(--color-subtle);
}

.section-alt {
  background: var(--color-canvas-alt);
}

.path-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1fr);
  gap: 56px;
  align-items: start;
}

.path-steps {
  display: grid;
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.path-steps li {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 18px;
  padding: 22px 0;
  border-bottom: 1px solid var(--color-line-light);
}

.path-steps li:first-child {
  padding-top: 0;
}

.path-steps span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--color-line-light);
  border-radius: 999px;
  color: var(--color-action-text);
  font-weight: 700;
}

.path-steps p {
  margin-top: 8px;
  color: var(--color-muted);
}

.privacy-band {
  background: var(--color-canvas-alt);
}

.privacy-band h2 {
  margin-top: 8px;
}

.privacy-band p {
  margin-top: 18px;
  color: var(--color-muted);
  font-size: 1.08rem;
}

.privacy-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 22px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.privacy-list li {
  position: relative;
  padding-left: 22px;
  color: var(--color-ink);
  font-weight: 600;
}

.privacy-list li::before {
  content: "";
  position: absolute;
  top: 0.72em;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--color-action);
}

.faq {
  background: var(--color-white);
}

.faq h2 {
  margin-top: 8px;
}

.faq-list {
  margin-top: 34px;
  border-top: 1px solid var(--color-line-light);
}

details {
  border-bottom: 1px solid var(--color-line-light);
}

summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 64px;
  cursor: pointer;
  color: var(--color-ink);
  font-weight: 650;
  list-style: none;
}

summary::-webkit-details-marker {
  display: none;
}

summary::after {
  content: "+";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  border: 1px solid var(--color-line-light);
  border-radius: 999px;
  color: var(--color-action-text);
  font-weight: 600;
}

details[open] summary::after {
  content: "-";
}

details p {
  max-width: 650px;
  padding: 0 56px 24px 0;
  color: var(--color-muted);
}

.final-cta {
  padding: 88px 0;
}

.final-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.36fr);
  gap: 48px;
  align-items: center;
}

.final-grid h2 {
  max-width: 840px;
  color: var(--color-white);
}

.final-grid p:not(.eyebrow) {
  max-width: 680px;
  margin-top: 16px;
  color: rgba(255, 255, 255, 0.66);
  font-size: 1.08rem;
}

.final-action {
  display: grid;
  justify-items: start;
  gap: 14px;
}

.final-action span {
  color: rgba(255, 255, 255, 0.56);
  font-size: var(--type-small);
}

.site-footer {
  border-top: 1px solid var(--color-line-light);
  background: var(--color-canvas-alt);
  color: var(--color-muted);
}

.footer-grid {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  min-height: 72px;
  gap: 20px;
  font-size: var(--type-small);
}

.footer-grid span {
  font-weight: 650;
  color: var(--color-ink);
  margin-right: auto;
}

.footer-grid a:hover {
  color: var(--color-action-text);
}

.reveal {
  animation: lift-in 620ms ease both;
}

.hero-preview.reveal {
  animation-delay: 120ms;
}

@keyframes lift-in {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes grow-bar {
  from {
    transform: scaleX(0.2);
  }
  to {
    transform: scaleX(1);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 1ms !important;
  }
}

@media (max-width: 1023px) {
  .hero-grid,
  .section-split,
  .path-grid,
  .final-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

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

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

  .proof-grid > div:nth-child(2) {
    border-right: 0;
  }

  .proof-grid > div:nth-child(-n + 2) {
    border-bottom: 1px solid var(--color-line-light);
  }

  .report-shell {
    grid-template-columns: 1fr;
  }

  .report-sidebar {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    border-right: 0;
    border-bottom: 1px solid var(--color-line);
  }

  .report-sidebar .mono {
    grid-column: 1 / -1;
    margin-bottom: 4px;
  }
}

@media (max-width: 767px) {
  .container {
    width: min(100% - 40px, var(--container-wide));
  }

  .nav-shell {
    width: min(100% - 24px, var(--container-wide));
    gap: 12px;
  }

  .brand span:last-child {
    max-width: 142px;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .nav-links {
    display: none;
  }

  .button-small {
    min-width: 0;
    max-width: 170px;
    padding-inline: 12px;
    font-size: 0.78rem;
  }

  .hero,
  .section-light,
  .section-alt,
  .privacy-band,
  .faq,
  .audit-output,
  .final-cta {
    padding: 56px 0;
  }

  .hero {
    min-height: calc(100svh - var(--header-height) - 52px);
    padding: 44px 0 24px;
  }

  .hero-grid {
    gap: 38px;
  }

  .hero-copy {
    gap: 16px;
  }

  .hero-body {
    display: none;
  }

  .hero-actions {
    align-items: stretch;
  }

  .hero-actions .button,
  .hero-actions .text-link {
    width: 100%;
  }

  .hero-actions .text-link {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
  }

  .mobile-audit-snapshot {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    border: 1px solid var(--color-line);
    border-radius: 14px;
    background: var(--color-panel);
    overflow: hidden;
  }

  .mobile-audit-snapshot div {
    display: grid;
    gap: 2px;
    min-height: 76px;
    padding: 13px 10px;
    border-right: 1px solid var(--color-line);
  }

  .mobile-audit-snapshot div:last-child {
    border-right: 0;
  }

  .mobile-audit-snapshot span {
    color: var(--color-subtle);
    font-size: 0.72rem;
    font-weight: 650;
    line-height: 1.25;
  }

  .mobile-audit-snapshot strong {
    color: var(--color-white);
    font-size: 1rem;
    line-height: 1.2;
  }

  .hero-preview {
    display: none;
  }

  .preview-head {
    padding: 22px;
  }

  .preview-head,
  .report-row,
  .report-callout {
    grid-template-columns: 1fr;
  }

  .preview-score {
    justify-items: start;
    text-align: left;
  }

  .metric-grid,
  .card-grid,
  .proof-grid,
  .privacy-list {
    grid-template-columns: 1fr;
  }

  .metric-cell,
  .proof-grid > div {
    border-right: 0;
    border-bottom: 1px solid var(--color-line-light);
  }

  .metric-cell {
    border-color: var(--color-line);
  }

  .metric-cell:last-child,
  .proof-grid > div:last-child {
    border-bottom: 0;
  }

  .segment-panel,
  .recommendation {
    padding: 22px;
  }

  .segment-row {
    grid-template-columns: 1fr 46px;
    gap: 8px 12px;
  }

  .segment-row .bar {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  .report-sidebar {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 18px;
  }

  .report-row,
  .report-callout {
    padding: 22px;
  }

  .feature-card {
    min-height: 0;
  }

  .path-steps li {
    grid-template-columns: 40px minmax(0, 1fr);
  }

  details p {
    padding-right: 0;
  }

  .final-action,
  .final-action .button {
    width: 100%;
  }

  .footer-grid {
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 18px 0;
  }
}

@media (max-width: 390px) {
  .brand span:last-child {
    max-width: 120px;
  }

  .button-small {
    max-width: 150px;
  }
}
