:root {
  color-scheme: dark;
  --bg: #08090b;
  --bg-soft: #101215;
  --panel: #15181d;
  --panel-strong: #1c2026;
  --text: #f6f1e8;
  --muted: #b9b2a7;
  --line: rgba(246, 241, 232, 0.13);
  --accent: #8ee6c9;
  --accent-strong: #35d59d;
  --amber: #f1b76a;
  --rose: #e87979;
  --ink: #050607;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.38);
  --radius: 8px;
  --max-width: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    var(--bg);
  background-size: 42px 42px;
  color: var(--text);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

body.modal-open {
  overflow: hidden;
}

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

button,
summary {
  font: inherit;
}

button {
  border: 0;
}

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

.container {
  width: min(100% - 32px, var(--max-width));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--line);
  background: rgba(8, 9, 11, 0.82);
  backdrop-filter: blur(18px);
}

.nav {
  width: min(100% - 24px, var(--max-width));
  min-height: 72px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

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

.brand-mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--text);
  color: var(--ink);
  font-weight: 900;
}

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

.brand strong {
  font-size: 0.95rem;
  line-height: 1.1;
}

.brand small {
  color: var(--muted);
  font-size: 0.72rem;
}

.nav-toggle {
  width: 42px;
  height: 42px;
  display: inline-grid;
  align-content: center;
  gap: 5px;
  padding: 0 11px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.04);
  cursor: pointer;
}

.nav-toggle span:not(.sr-only) {
  height: 2px;
  background: var(--text);
}

.nav-links {
  position: fixed;
  inset: 72px 12px auto;
  display: none;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(16, 18, 21, 0.98);
  box-shadow: var(--shadow);
}

.nav-links.is-open {
  display: grid;
}

.nav-links a {
  padding: 12px;
  border-radius: var(--radius);
  color: var(--muted);
  font-size: 0.92rem;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  outline: none;
}

.section {
  padding: 72px 0;
}

.section-alt {
  background: rgba(255, 255, 255, 0.035);
  border-block: 1px solid var(--line);
}

.hero {
  position: relative;
  min-height: calc(100svh - 72px);
  display: grid;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(120deg, rgba(8, 9, 11, 0.82), rgba(8, 9, 11, 0.54)),
    repeating-linear-gradient(90deg, rgba(142, 230, 201, 0.07) 0 1px, transparent 1px 92px),
    repeating-linear-gradient(0deg, rgba(241, 183, 106, 0.06) 0 1px, transparent 1px 76px),
    #0b0d10;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 28%;
  z-index: -1;
  background: linear-gradient(transparent, var(--bg));
}

.hero-scene {
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.74;
}

.scene-panel {
  position: absolute;
  display: grid;
  gap: 7px;
  width: min(58vw, 360px);
  padding: 16px;
  border: 1px solid rgba(246, 241, 232, 0.18);
  border-radius: var(--radius);
  background: rgba(21, 24, 29, 0.74);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.42);
  color: rgba(246, 241, 232, 0.72);
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 0.74rem;
}

.scene-panel strong {
  color: var(--amber);
  font-size: 1.45rem;
}

.panel-one {
  top: 12%;
  right: -18%;
  animation: drift 14s ease-in-out infinite;
}

.panel-two {
  bottom: 18%;
  right: 5%;
  animation: drift 18s ease-in-out infinite reverse;
}

.panel-three {
  left: 6%;
  bottom: 12%;
  width: min(44vw, 220px);
  animation: pulse-panel 4s ease-in-out infinite;
}

.hero-content {
  padding: 68px 0 92px;
}

.eyebrow,
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.eyebrow::before,
.section-label::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 22px var(--accent);
}

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

h1,
h2,
h3 {
  line-height: 1.04;
  letter-spacing: 0;
}

h1 {
  max-width: 760px;
  margin-bottom: 18px;
  font-size: clamp(3.35rem, 17vw, 7.8rem);
}

h2 {
  max-width: 780px;
  margin-bottom: 18px;
  font-size: clamp(2rem, 8vw, 4.4rem);
}

h3 {
  margin-bottom: 12px;
  font-size: 1.18rem;
}

.hero-copy {
  max-width: 780px;
  margin-bottom: 12px;
  color: var(--text);
  font-size: clamp(1.3rem, 7vw, 3rem);
  line-height: 1.08;
}

.hero-subcopy,
.lede {
  max-width: 680px;
  color: var(--muted);
  font-size: 1.08rem;
}

.hero-actions,
.dashboard-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  font-weight: 800;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease;
}

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

.button-primary {
  background: var(--accent);
  color: var(--ink);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: var(--accent-strong);
}

.button-secondary {
  border-color: rgba(142, 230, 201, 0.5);
  background: rgba(142, 230, 201, 0.1);
  color: var(--text);
}

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

.split {
  display: grid;
  gap: 24px;
}

.card,
.terminal,
.metric {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, var(--panel), rgba(21, 24, 29, 0.76));
  box-shadow: 0 16px 44px rgba(0, 0, 0, 0.24);
}

.card {
  padding: 22px;
}

.loud-card {
  background:
    linear-gradient(135deg, rgba(142, 230, 201, 0.13), rgba(241, 183, 106, 0.09)),
    var(--panel);
}

.loud-card p {
  font-size: 1.35rem;
  line-height: 1.2;
}

.badge-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.badge {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.045);
  color: var(--muted);
  font-size: 0.87rem;
}

.qa-grid,
.feature-grid,
.metrics-grid,
.pricing-grid,
.faq-list {
  display: grid;
  gap: 14px;
  margin-top: 28px;
}

.feature-card {
  position: relative;
  overflow: hidden;
}

.feature-number {
  display: inline-block;
  margin-bottom: 30px;
  color: var(--amber);
  font-weight: 900;
}

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

.metric {
  min-height: 150px;
  display: grid;
  align-content: space-between;
  padding: 20px;
}

.metric strong {
  font-size: clamp(2.4rem, 14vw, 5rem);
  line-height: 0.9;
}

.metric span {
  color: var(--muted);
}

.terminal {
  overflow: hidden;
  background: #080a0d;
}

.terminal-bar {
  display: flex;
  gap: 7px;
  padding: 13px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.045);
}

.terminal-bar span {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--rose);
}

.terminal-bar span:nth-child(2) {
  background: var(--amber);
}

.terminal-bar span:nth-child(3) {
  background: var(--accent);
}

pre {
  margin: 0;
  padding: 18px;
  overflow-x: auto;
  color: #d8fce9;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 0.85rem;
  white-space: pre-wrap;
}

.compliance-grid {
  margin-top: 28px;
}

.plan {
  display: block;
  margin-bottom: 14px;
  color: var(--accent);
  font-size: 1.5rem;
  font-weight: 900;
}

.pricing-card {
  display: grid;
  align-content: start;
}

.pricing-card.highlighted {
  border-color: rgba(142, 230, 201, 0.44);
}

.result-text,
.callout {
  color: var(--amber);
  font-weight: 800;
}

.clean-list {
  margin: 0 0 24px;
  padding-left: 18px;
  color: var(--muted);
}

.numbered {
  list-style: decimal;
}

.faq-list summary {
  cursor: pointer;
  color: var(--text);
  font-weight: 900;
}

.faq-list p {
  margin: 14px 0 0;
  color: var(--muted);
}

.steps {
  margin: 0;
  padding-left: 44px;
  color: var(--muted);
}

.steps li + li {
  margin-top: 10px;
}

.dashboard {
  padding: 0;
  overflow: hidden;
}

.dashboard-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 18px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.045);
  font-weight: 900;
}

.status-dot {
  color: var(--accent);
  font-size: 0.82rem;
}

.dashboard dl {
  margin: 0;
}

.dashboard dl div {
  display: grid;
  gap: 4px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
}

.dashboard dt {
  color: var(--muted);
  font-size: 0.78rem;
  text-transform: uppercase;
}

.dashboard dd {
  margin: 0;
}

.dashboard-actions {
  padding: 18px;
  margin-top: 0;
}

.dashboard-actions .button {
  width: 100%;
}

.collapse-copy {
  max-width: 820px;
  color: var(--muted);
  font-size: 1.05rem;
}

.site-footer {
  padding: 36px 0;
  border-top: 1px solid var(--line);
  background: #050607;
  color: var(--muted);
}

.footer-grid {
  display: grid;
  gap: 18px;
}

.site-footer strong {
  color: var(--text);
}

.status-line {
  color: var(--accent);
  font-weight: 900;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.modal.is-open {
  display: flex;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(12px);
}

.modal-panel {
  position: relative;
  width: min(100%, 620px);
  max-height: min(720px, calc(100svh - 32px));
  overflow-y: auto;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel-strong);
  box-shadow: var(--shadow);
}

.modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  cursor: pointer;
  font-size: 1.4rem;
}

.loading-lines {
  display: grid;
  gap: 6px;
  margin: 18px 0;
  color: var(--accent);
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

@keyframes drift {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }
  50% {
    transform: translate3d(-18px, 14px, 0);
  }
}

@keyframes pulse-panel {
  0%,
  100% {
    opacity: 0.58;
  }
  50% {
    opacity: 0.94;
  }
}

@media (min-width: 720px) {
  .container {
    width: min(100% - 48px, var(--max-width));
  }

  .nav-toggle {
    display: none;
  }

  .nav-links {
    position: static;
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
  }

  .nav-links a {
    padding: 8px 10px;
  }

  .hero-content {
    padding: 110px 0 130px;
  }

  .section {
    padding: 100px 0;
  }

  .split {
    grid-template-columns: minmax(0, 1fr) minmax(280px, 0.78fr);
    align-items: center;
  }

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

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

  .dashboard dl div {
    grid-template-columns: 150px 1fr;
    gap: 18px;
  }

  .dashboard-actions .button {
    width: auto;
  }

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

@media (min-width: 980px) {
  .feature-grid,
  .pricing-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .feature-card:first-child {
    grid-column: span 2;
  }

  .panel-one {
    right: 8%;
  }
}

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