:root {
  --bg: #07080a;
  --panel: #0d0f14;
  --panel-2: #12151d;
  --panel-3: #171b24;
  --line: rgba(255, 255, 255, 0.09);
  --line-strong: rgba(255, 255, 255, 0.16);
  --text: #f4f7fb;
  --muted: #a5adba;
  --faint: #6f7785;
  --violet: #8b8cff;
  --mint: #63d7bb;
  --amber: #f3b65b;
  --red: #e17676;
  --shadow: 0 30px 90px rgba(0, 0, 0, 0.38);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background: var(--bg);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

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

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

button,
input,
textarea {
  font: inherit;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 10px 14px;
  color: var(--bg);
  background: var(--text);
  transform: translateY(-140%);
}

.skip-link:focus {
  transform: translateY(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;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  background: rgba(7, 8, 10, 0.72);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.nav {
  width: min(1180px, calc(100% - 32px));
  height: 64px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.92rem;
  font-weight: 720;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border: 1px solid rgba(139, 140, 255, 0.38);
  border-radius: 7px;
  color: var(--text);
  background: #111424;
  font-size: 0.62rem;
  font-weight: 820;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-links a {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  padding: 0 10px;
  border-radius: 7px;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 620;
}

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

.nav-links .nav-cta {
  margin-left: 4px;
  color: var(--bg);
  background: var(--text);
}

.nav-links .nav-cta:hover,
.nav-links .nav-cta:focus-visible {
  color: var(--bg);
  background: #dfe7f2;
}

.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  padding: 9px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: transparent;
}

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

.section-inner {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.hero {
  min-height: 94vh;
  padding: 128px 0 58px;
  border-bottom: 1px solid var(--line);
}

.hero-inner {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(420px, 1.12fr);
  gap: clamp(40px, 7vw, 94px);
  align-items: center;
}

.hero-copy-block {
  max-width: 680px;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--violet);
  font-size: 0.76rem;
  font-weight: 760;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  font-size: 5.85rem;
  line-height: 0.95;
  font-weight: 760;
}

h2 {
  margin: 0;
  font-size: 3.75rem;
  line-height: 0.98;
  font-weight: 740;
}

h3 {
  margin: 0;
  font-size: 1.02rem;
  line-height: 1.22;
}

.hero-copy {
  max-width: 610px;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: 1.14rem;
}

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

.button {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 15px;
  border: 1px solid transparent;
  border-radius: 7px;
  font-size: 0.92rem;
  font-weight: 720;
  cursor: pointer;
}

.button.primary {
  color: var(--bg);
  background: var(--text);
}

.button.primary:hover,
.button.primary:focus-visible {
  background: #dfe7f2;
  outline: none;
}

.button.secondary {
  color: var(--text);
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.03);
}

.button.secondary:hover,
.button.secondary:focus-visible {
  background: rgba(255, 255, 255, 0.08);
  outline: none;
}

.system-preview {
  min-height: 560px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: #090b10;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.preview-topbar {
  height: 42px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 14px;
  border-bottom: 1px solid var(--line);
  color: var(--faint);
  font-size: 0.8rem;
}

.preview-topbar span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--line-strong);
}

.preview-topbar p {
  margin: 0 0 0 8px;
}

.preview-body {
  min-height: 518px;
  display: grid;
  grid-template-columns: 150px 1fr;
}

.preview-sidebar {
  display: grid;
  align-content: start;
  gap: 6px;
  padding: 18px 12px;
  border-right: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
}

.preview-sidebar span {
  min-height: 34px;
  display: flex;
  align-items: center;
  padding: 0 10px;
  border-radius: 7px;
  color: var(--faint);
  font-size: 0.82rem;
}

.preview-sidebar .active {
  color: var(--text);
  background: rgba(139, 140, 255, 0.14);
}

.preview-main {
  padding: 20px;
}

.preview-header,
.package-row,
.split-heading,
.proof-layout,
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.72fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
}

.preview-header {
  grid-template-columns: 1fr auto;
  gap: 16px;
  align-items: center;
}

.preview-header strong {
  display: block;
  margin-top: 5px;
  font-size: 1.35rem;
}

.micro-label,
.status-pill,
.section-kicker span,
.package-row span,
.recommendation span {
  color: var(--faint);
  font-size: 0.74rem;
  font-weight: 760;
  text-transform: uppercase;
}

.status-pill {
  padding: 6px 9px;
  border: 1px solid rgba(99, 215, 187, 0.28);
  border-radius: 999px;
  color: var(--mint);
  background: rgba(99, 215, 187, 0.08);
}

.metric-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 24px;
}

.metric-row div,
.workflow-grid article,
.module,
.output-card,
.package-row,
.selector,
.fit-grid article,
.contact-form {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.035);
}

.metric-row div {
  min-height: 104px;
  padding: 14px;
}

.metric-row span {
  display: block;
  color: var(--faint);
  font-size: 0.78rem;
}

.metric-row strong {
  display: block;
  margin-top: 18px;
  font-size: 2.2rem;
  line-height: 1;
}

.workflow-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 10px;
}

.workflow-grid article {
  min-height: 144px;
  padding: 15px;
}

.workflow-grid strong {
  display: block;
  margin-top: 20px;
}

.workflow-grid p,
.module p,
.output-card p,
.split-heading p,
.timeline p,
.package-row p,
.fit-grid li,
.proof-layout p,
.proof-points li,
.contact-layout p,
.form-note {
  color: var(--muted);
}

.workflow-grid p,
.module p,
.output-card p,
.timeline p,
.package-row p,
.proof-layout p,
.contact-layout p {
  margin: 8px 0 0;
}

.dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.dot.mint {
  background: var(--mint);
}

.dot.violet {
  background: var(--violet);
}

.dot.amber {
  background: var(--amber);
}

.dot.red {
  background: var(--red);
}

.signal-band {
  border-bottom: 1px solid var(--line);
}

.signal-band dl {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin: 0;
  padding: 0;
  background: var(--line);
}

.signal-band div {
  padding: 22px 0;
  background: var(--bg);
}

.signal-band dt {
  margin: 0 0 4px;
  font-size: 1.35rem;
  font-weight: 720;
}

.signal-band dd {
  margin: 0;
  color: var(--faint);
  font-size: 0.88rem;
}

.section {
  padding: 112px 0;
  border-bottom: 1px solid var(--line);
}

.section-kicker {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 24px;
}

.section-kicker.compact {
  justify-content: flex-start;
}

.section-kicker .eyebrow {
  margin: 0;
}

.split-heading p {
  margin: 0;
  max-width: 560px;
  font-size: 1rem;
}

.module-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 56px;
}

.module {
  min-height: 230px;
  padding: 20px;
}

.module span {
  display: block;
  margin-bottom: 76px;
  color: var(--violet);
  font-size: 0.82rem;
  font-weight: 760;
}

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

.output-card {
  min-height: 188px;
  padding: 20px;
}

.output-card span {
  display: block;
  margin-bottom: 42px;
  color: var(--mint);
  font-size: 0.82rem;
  font-weight: 760;
}

.timeline {
  display: grid;
  margin: 56px 0 0;
  padding: 0;
  list-style: none;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}

.timeline li {
  display: grid;
  grid-template-columns: 150px minmax(0, 0.6fr) minmax(0, 1fr);
  gap: 24px;
  min-height: 98px;
  align-items: center;
  padding: 22px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.025);
}

.timeline li:last-child {
  border-bottom: 0;
}

.timeline span {
  color: var(--amber);
  font-size: 0.82rem;
  font-weight: 760;
}

.timeline strong {
  font-size: 1.04rem;
}

.timeline p {
  margin: 0;
}

.package-table {
  display: grid;
  gap: 10px;
  margin-top: 56px;
}

.package-row {
  grid-template-columns: minmax(0, 0.7fr) minmax(0, 1fr) auto;
  align-items: center;
  min-height: 118px;
  padding: 20px;
}

.package-row.featured {
  border-color: rgba(139, 140, 255, 0.42);
  background: rgba(139, 140, 255, 0.09);
}

.package-row h3 {
  margin-top: 8px;
}

.package-row p {
  margin: 0;
}

.package-row strong {
  white-space: nowrap;
  color: var(--mint);
  font-size: 1.2rem;
}

.selector-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
}

.selector {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(250px, 0.82fr);
  gap: 10px;
  padding: 10px;
}

fieldset {
  display: grid;
  gap: 8px;
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

legend {
  margin-bottom: 8px;
  color: var(--text);
  font-weight: 720;
}

.selector label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  min-height: 48px;
  padding: 11px;
  border: 1px solid var(--line);
  border-radius: 7px;
  color: var(--muted);
  background: rgba(0, 0, 0, 0.16);
}

.selector input {
  width: 18px;
  height: 18px;
  margin-top: 3px;
  accent-color: var(--violet);
}

.recommendation {
  min-height: 224px;
  padding: 18px;
  border-radius: 8px;
  background: #15182a;
}

.recommendation strong {
  display: block;
  margin: 16px 0 10px;
  font-size: 1.34rem;
  line-height: 1.13;
}

.recommendation p {
  margin: 0;
  color: var(--muted);
}

.recommendation .button {
  width: 100%;
  margin-top: 18px;
}

.fit-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 56px;
}

.fit-grid article {
  padding: 22px;
}

.fit-grid ul {
  display: grid;
  gap: 11px;
  margin: 20px 0 0;
  padding: 0 0 0 18px;
}

.proof-layout {
  align-items: center;
}

.proof-points {
  display: grid;
  gap: 8px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.proof-points li {
  min-height: 42px;
  display: flex;
  align-items: center;
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.035);
}

.field-image {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: 8px;
  filter: saturate(0.76) brightness(0.72);
}

.contact-section {
  padding-bottom: 96px;
}

.contact-form {
  display: grid;
  gap: 14px;
  padding: 16px;
  background: var(--panel);
}

.contact-form label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 680;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line-strong);
  border-radius: 7px;
  padding: 12px;
  color: var(--text);
  background: #080a0e;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--violet);
  outline: 3px solid rgba(139, 140, 255, 0.16);
}

.contact-form textarea {
  resize: vertical;
}

.contact-card {
  align-content: start;
  min-height: 280px;
  padding: 22px;
}

.contact-card span {
  color: var(--violet);
  font-size: 0.76rem;
  font-weight: 760;
  text-transform: uppercase;
}

.contact-card strong {
  display: block;
  margin-top: 18px;
  font-size: 2.45rem;
  line-height: 1;
}

.contact-card p {
  margin: 0;
  color: var(--muted);
}

.contact-form .button {
  width: 100%;
}

.footer {
  padding: 28px 0;
  color: var(--faint);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  font-size: 0.88rem;
}

.footer p {
  margin: 0;
}

@media (max-width: 920px) {
  .nav {
    width: min(100% - 24px, 1180px);
  }

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

  .nav-links {
    position: absolute;
    top: 56px;
    left: 12px;
    right: 12px;
    display: none;
    padding: 8px;
    border: 1px solid var(--line-strong);
    border-radius: 8px;
    background: rgba(13, 15, 20, 0.98);
    box-shadow: var(--shadow);
  }

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

  .nav-links .nav-cta {
    margin-left: 0;
  }

  .hero {
    min-height: 0;
    padding-top: 108px;
  }

  h1 {
    font-size: 4.75rem;
  }

  h2 {
    font-size: 3rem;
  }

  .hero-inner,
  .split-heading,
  .selector-layout,
  .proof-layout,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .system-preview {
    min-height: 0;
  }

  .preview-body {
    grid-template-columns: 1fr;
  }

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

  .preview-sidebar span {
    min-width: 0;
  }

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

  .package-row {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .package-row strong {
    white-space: normal;
  }
}

@media (max-width: 620px) {
  .brand span:last-child {
    max-width: 170px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .section-inner,
  .hero-inner {
    width: min(100% - 24px, 1180px);
  }

  h1 {
    font-size: 3.2rem;
  }

  h2 {
    font-size: 2.28rem;
  }

  .hero-copy {
    font-size: 1.04rem;
  }

  .hero-actions {
    display: grid;
  }

  .button {
    width: 100%;
  }

  .signal-band dl,
  .metric-row,
  .workflow-grid,
  .module-grid,
  .output-grid,
  .fit-grid,
  .selector {
    grid-template-columns: 1fr;
  }

  .signal-band div {
    padding: 18px 0;
  }

  .section {
    padding: 78px 0;
  }

  .timeline li {
    grid-template-columns: 1fr;
    gap: 8px;
    align-items: start;
  }

  .module {
    min-height: 0;
  }

  .module span {
    margin-bottom: 46px;
  }

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

  .output-card span {
    margin-bottom: 28px;
  }

  .preview-main {
    padding: 14px;
  }

  .contact-card strong {
    font-size: 2rem;
  }

  .contact-section {
    padding-bottom: 76px;
  }
}

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