:root {
  color-scheme: dark;
  --bg: #06080b;
  --bg-soft: #0a0d12;
  --surface: #0e131a;
  --surface-2: #121923;
  --surface-3: #17202b;
  --line: rgba(221, 228, 238, 0.12);
  --line-strong: rgba(221, 228, 238, 0.2);
  --text: #f6f8fb;
  --muted: #9da8b7;
  --muted-2: #707b89;
  --blue: #8bbcff;
  --blue-strong: #5ca2ff;
  --violet: #b8a6ff;
  --green: #7ee2a8;
  --amber: #f4bf75;
  --red: #ff8f7c;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.42);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-xl: 28px;
  --shell: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    linear-gradient(180deg, rgba(139, 188, 255, 0.08), transparent 420px),
    linear-gradient(180deg, #06080b 0%, #080b10 48%, #06080b 100%);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  text-rendering: optimizeLegibility;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  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: 72px 72px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.72), transparent 78%);
}

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

button,
input,
textarea {
  font: inherit;
}

button {
  border: 0;
}

code {
  color: #dce8ff;
  font-size: 0.95em;
}

.shell {
  width: min(100% - 40px, var(--shell));
  margin: 0 auto;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 20;
  border-radius: var(--radius-sm);
  background: var(--text);
  color: #06101a;
  padding: 10px 12px;
  transform: translateY(-160%);
  transition: transform 160ms ease;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(6, 8, 11, 0.72);
  backdrop-filter: blur(18px);
}

.header-inner,
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  min-height: 76px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: max-content;
}

.brand__mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.04));
  color: var(--text);
  font-weight: 800;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 15px;
  letter-spacing: 0.01em;
}

.brand small {
  color: var(--muted);
  font-size: 12px;
}

.top-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.035);
  padding: 4px;
  color: var(--muted);
  font-size: 13px;
}

.top-nav a {
  border-radius: 999px;
  padding: 8px 12px;
  transition: 160ms ease;
}

.top-nav a:hover,
.top-nav a:focus-visible {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 12px 18px;
  cursor: pointer;
  font-weight: 750;
  line-height: 1;
  white-space: nowrap;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.btn:disabled {
  cursor: wait;
  opacity: 0.62;
}

.btn--primary {
  border-color: rgba(139, 188, 255, 0.38);
  background: linear-gradient(180deg, #f8fbff, #b9d7ff);
  color: #07101b;
  box-shadow: 0 16px 46px rgba(92, 162, 255, 0.24);
}

.btn--secondary,
.btn--ghost {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.055);
  color: var(--text);
}

.btn--ghost {
  min-height: 40px;
  padding: 10px 14px;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn:focus-visible,
input:focus-visible,
textarea:focus-visible,
summary:focus-visible,
a:focus-visible {
  outline: 3px solid rgba(139, 188, 255, 0.35);
  outline-offset: 3px;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(56px, 8vw, 108px) 0 44px;
}

.hero::after {
  position: absolute;
  right: max(0px, calc((100vw - var(--shell)) / 2 - 60px));
  bottom: 8%;
  z-index: -1;
  width: min(42vw, 560px);
  height: min(42vw, 560px);
  border: 1px solid rgba(139, 188, 255, 0.16);
  border-radius: 50%;
  content: "";
  opacity: 0.55;
}

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(380px, 0.76fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
}

.hero__copy {
  max-width: 760px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--blue);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 22px;
  font-size: clamp(44px, 7vw, 82px);
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1.04;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 18px;
  line-height: 1.22;
}

.hero__lead,
.section-head p,
.diagnostic-card p,
.timeline-item p,
.mini-card p,
.fit-card p,
details p,
.muted,
.form-note {
  color: var(--muted);
  line-height: 1.7;
}

.hero__lead {
  max-width: 650px;
  margin-bottom: 28px;
  font-size: clamp(17px, 2vw, 20px);
}

.hero__actions,
.panel-head {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.trust-row span {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.035);
  color: #c8d1dc;
  font-size: 13px;
  padding: 8px 11px;
}

.audit-console,
.panel,
.score-card,
.proof-strip,
.comparison-card,
.report-preview,
.final-cta,
.faq-list {
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: linear-gradient(180deg, rgba(18, 25, 35, 0.92), rgba(10, 13, 18, 0.92));
  box-shadow: var(--shadow);
}

.audit-console {
  position: relative;
  padding: 18px;
}

.audit-console::before {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  content: "";
  background: linear-gradient(135deg, rgba(139, 188, 255, 0.2), transparent 34%, rgba(184, 166, 255, 0.12));
  mask: linear-gradient(#000, #000) content-box, linear-gradient(#000, #000);
  mask-composite: exclude;
  padding: 1px;
}

.console-top,
.report-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.status-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 6px rgba(126, 226, 168, 0.12);
}

.audit-card {
  display: grid;
  gap: 14px;
  margin: 18px 0;
}

label {
  display: grid;
  gap: 8px;
  color: #d8dee8;
  font-size: 14px;
  font-weight: 650;
}

input,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.055);
  color: var(--text);
  outline: none;
  padding: 14px 15px;
  transition: border-color 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

input::placeholder,
textarea::placeholder {
  color: #677381;
}

input:focus,
textarea:focus {
  border-color: rgba(139, 188, 255, 0.68);
  background: rgba(255, 255, 255, 0.075);
  box-shadow: 0 0 0 4px rgba(139, 188, 255, 0.12);
}

.audit-visual {
  display: grid;
  gap: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.025)),
    #0d1219;
  padding: 18px;
}

.visual-score {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
}

.visual-score span,
.metric-grid strong {
  color: var(--muted);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.visual-score strong {
  font-size: 64px;
  line-height: 0.9;
}

.signal-list {
  display: grid;
  gap: 12px;
}

.signal-list span {
  display: grid;
  gap: 8px;
  color: #dfe6ef;
  font-size: 13px;
}

.signal-list i {
  display: block;
  width: 100%;
  height: 7px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.signal-list i::after {
  display: block;
  width: var(--w);
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--blue), var(--green));
  content: "";
}

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

.metric-grid span {
  display: grid;
  gap: 6px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: var(--radius-md);
  background: rgba(0, 0, 0, 0.18);
  padding: 12px;
}

.metric-grid em {
  color: var(--text);
  font-style: normal;
  font-weight: 760;
}

.proof-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  margin-top: 8px;
  margin-bottom: 76px;
  background: var(--line);
}

.proof-strip div {
  display: grid;
  gap: 8px;
  background: rgba(12, 17, 24, 0.94);
  padding: 22px;
}

.proof-strip span {
  color: var(--muted);
  line-height: 1.55;
}

.section-head {
  max-width: 770px;
  margin-bottom: 28px;
}

.section-grid,
.process,
.fit-section,
.faq {
  padding: 72px 0;
}

.diagnostic-grid,
.deliverable-grid,
.fit-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.diagnostic-card,
.mini-card,
.fit-card,
.timeline-item,
.issue {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.035);
  padding: 22px;
}

.diagnostic-card span,
.timeline-item span {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin-bottom: 18px;
  border: 1px solid rgba(139, 188, 255, 0.2);
  border-radius: 50%;
  color: var(--blue);
  font-size: 12px;
  font-weight: 800;
}

.section-band {
  border-block: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.026);
  padding: 78px 0;
}

.split-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(420px, 1fr);
  gap: clamp(26px, 5vw, 70px);
  align-items: center;
}

.comparison-card {
  padding: 10px;
}

.comparison-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 16px;
  color: var(--muted);
}

.comparison-row:last-child {
  border-bottom: 0;
}

.comparison-row strong {
  color: var(--text);
}

.comparison-row--head {
  color: var(--muted-2);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.deliverables {
  display: grid;
  grid-template-columns: minmax(0, 0.74fr) minmax(0, 1fr);
  gap: 22px;
  align-items: start;
}

.deliverables .section-head {
  grid-column: 1 / -1;
  margin-bottom: 2px;
}

.report-preview {
  min-height: 100%;
  padding: 22px;
}

.report-lines {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}

.report-lines span {
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.04);
  padding: 14px 14px 14px 42px;
  color: #dbe3ed;
}

.report-lines span::before {
  position: absolute;
  top: 18px;
  left: 17px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  content: "";
}

.line-critical::before {
  background: var(--red);
}

.line-warning::before {
  background: var(--amber);
}

.line-ok::before {
  background: var(--green);
}

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

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

.final-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin: 70px auto 24px;
  padding: clamp(24px, 4vw, 42px);
}

.final-cta div {
  max-width: 720px;
}

.final-cta h2 {
  font-size: clamp(28px, 4vw, 46px);
}

.result-section {
  padding: 56px 0;
}

.result-grid {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: 18px;
  margin-bottom: 18px;
}

.panel,
.score-card {
  padding: clamp(20px, 3vw, 28px);
}

.score-ring {
  display: grid;
  place-items: center;
  width: 178px;
  height: 178px;
  margin-top: 22px;
  border-radius: 50%;
  background:
    radial-gradient(circle at center, #0e131a 57%, transparent 58%),
    conic-gradient(var(--blue) calc(var(--score) * 1%), rgba(255, 255, 255, 0.09) 0);
}

.score-ring span {
  font-size: 54px;
  font-weight: 850;
}

.issue-list {
  display: grid;
  gap: 12px;
  margin-top: 16px;
}

.issue {
  padding: 16px;
}

.issue__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--blue);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.issue h3 {
  margin: 8px 0;
}

.issue p {
  margin: 6px 0 0;
  color: var(--muted);
  line-height: 1.65;
}

.issue--critical {
  border-color: rgba(255, 143, 124, 0.38);
}

.issue--passed {
  border-color: rgba(126, 226, 168, 0.28);
}

.lead-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 20px;
}

.lead-form__wide,
.lead-form button,
.lead-form .form-note {
  grid-column: 1 / -1;
}

.hp {
  position: absolute;
  left: -9999px;
}

.faq-list {
  padding: 4px 22px;
}

details {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding: 20px 0;
}

details:last-child {
  border-bottom: 0;
}

summary {
  cursor: pointer;
  font-weight: 780;
}

details p {
  max-width: 820px;
  margin: 12px 0 0;
}

.footer {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--muted);
}

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

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

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

@media (max-width: 1020px) {
  .hero__grid,
  .split-layout,
  .deliverables,
  .result-grid {
    grid-template-columns: 1fr;
  }

  .audit-console {
    max-width: 620px;
  }

  .proof-strip,
  .diagnostic-grid,
  .timeline,
  .fit-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .shell {
    width: min(100% - 28px, var(--shell));
  }

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

  .top-nav,
  .header-cta {
    display: none;
  }

  .hero {
    padding-top: 42px;
  }

  h1 {
    font-size: 43px;
  }

  .hero__actions,
  .final-cta {
    align-items: stretch;
    flex-direction: column;
  }

  .hero__actions .btn,
  .final-cta .btn {
    width: 100%;
  }

  .proof-strip,
  .diagnostic-grid,
  .timeline,
  .deliverable-grid,
  .fit-grid,
  .lead-form,
  .metric-grid {
    grid-template-columns: 1fr;
  }

  .section-grid,
  .process,
  .fit-section,
  .faq {
    padding: 52px 0;
  }

  .section-band {
    padding: 56px 0;
  }

  .comparison-row {
    grid-template-columns: 1fr;
  }

  .visual-score strong {
    font-size: 56px;
  }
}

@media (max-width: 420px) {
  h1 {
    font-size: 38px;
  }

  .brand__text small {
    display: none;
  }

  .audit-console,
  .panel,
  .score-card,
  .proof-strip,
  .comparison-card,
  .report-preview,
  .final-cta,
  .faq-list {
    border-radius: 20px;
  }
}

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

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