:root {
  color-scheme: dark;
  --ink: #0f1412;
  --ink-2: #151d1a;
  --surface: #1d2824;
  --surface-2: #23312c;
  --line: #35453f;
  --text: #f5fff8;
  --muted: #aabbb2;
  --lime: #c7ff59;
  --cyan: #5de0d7;
  --orange: #ff7a3d;
  --red: #ff5f57;
  --white: #ffffff;
  --shadow: 0 28px 90px rgba(0, 0, 0, 0.34);
  --radius: 8px;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background:
    linear-gradient(90deg, rgba(245, 255, 248, 0.04) 1px, transparent 1px),
    linear-gradient(180deg, rgba(245, 255, 248, 0.04) 1px, transparent 1px),
    var(--ink);
  background-size: 80px 80px;
  color: var(--text);
}

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

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

button {
  cursor: pointer;
}

:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 40;
  transform: translateY(-160%);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 10px 14px;
  box-shadow: var(--shadow);
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  min-height: 72px;
  padding: 14px clamp(18px, 5vw, 64px);
  border-bottom: 1px solid rgba(245, 255, 248, 0.08);
  background: rgba(15, 20, 18, 0.88);
  backdrop-filter: blur(18px);
}

.brand,
.header-action,
.nav-links a,
.primary-action,
.secondary-action,
.icon-button,
.pilot-form button,
.sandbox-form button {
  min-height: 44px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-mark {
  display: grid;
  width: 38px;
  height: 34px;
  place-items: center;
  border: 1px solid rgba(93, 224, 215, 0.34);
  border-radius: var(--radius);
  background:
    linear-gradient(0deg, rgba(93, 224, 215, 0.62) 0 4px, transparent 4px),
    var(--ink);
  color: var(--lime);
  font-size: 12px;
  font-weight: 900;
}

.nav-links {
  display: inline-flex;
  justify-content: center;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 4px;
}

.nav-links a {
  display: inline-flex;
  align-items: center;
  border-radius: 6px;
  padding: 0 13px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 720;
}

.nav-links a:hover {
  background: rgba(93, 224, 215, 0.12);
  color: var(--text);
}

.header-action,
.primary-action,
.secondary-action,
.icon-button,
.pilot-form button,
.sandbox-form button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: var(--radius);
  padding: 0 16px;
  font-size: 14px;
  font-weight: 820;
}

.header-action,
.primary-action,
.pilot-form button,
.sandbox-form button {
  background: var(--lime);
  color: var(--ink);
}

.header-action {
  width: fit-content;
  min-width: 180px;
  justify-self: end;
}

.secondary-action {
  border-color: var(--line);
  background: var(--surface);
  color: var(--text);
}

.icon-button {
  border-color: rgba(15, 20, 18, 0.18);
  background: var(--ink);
  color: var(--lime);
}

.header-action:hover,
.primary-action:hover,
.secondary-action:hover,
.icon-button:hover,
.pilot-form button:hover,
.sandbox-form button:hover {
  transform: translateY(-1px);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(520px, 1.18fr);
  gap: clamp(32px, 5vw, 76px);
  align-items: center;
  padding: clamp(42px, 6vw, 74px) clamp(18px, 5vw, 64px) clamp(34px, 4vw, 54px);
}

.hero-copy {
  max-width: 690px;
}

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

h1 {
  max-width: 10ch;
  margin-bottom: 24px;
  color: var(--white);
  font-size: clamp(58px, 7vw, 112px);
  line-height: 0.9;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 0;
  max-width: 980px;
  font-size: clamp(34px, 5vw, 68px);
  line-height: 0.98;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 12px;
  font-size: 22px;
  line-height: 1.15;
  letter-spacing: 0;
}

.hero-copy p:not(.service-line),
.example-copy p,
.pricing-section p,
.proof-grid p,
.deliverable-grid p,
.before-after p,
.before-after li,
.confirmation-panel p {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.56;
}

.hero-copy > p:not(.service-line) {
  max-width: 61ch;
  font-size: clamp(18px, 2vw, 23px);
  line-height: 1.45;
}

.service-line,
.panel-label,
.section-kicker,
.audit-card span,
.before-after span,
.proof-grid span,
.brief-preview span {
  display: block;
  margin-bottom: 12px;
  color: var(--cyan);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-actions,
.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.signal-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  width: min(530px, 100%);
  margin-top: 24px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--line);
  gap: 1px;
}

.signal-grid span {
  min-height: 88px;
  background: rgba(29, 40, 36, 0.82);
  color: var(--muted);
  padding: 15px;
  font-size: 13px;
  line-height: 1.38;
}

.signal-grid strong {
  display: block;
  margin-bottom: 8px;
  color: var(--lime);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.teardown-console {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.teardown-console::before {
  content: "";
  display: block;
  height: 6px;
  background: linear-gradient(90deg, var(--lime), var(--cyan), var(--orange));
}

.console-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid var(--line);
  padding: 18px;
}

.console-topbar h2 {
  margin: 0;
  font-size: 24px;
  line-height: 1.1;
}

.status-pill {
  border: 1px solid rgba(199, 255, 89, 0.24);
  border-radius: 7px;
  background: rgba(199, 255, 89, 0.12);
  padding: 9px 12px;
  color: var(--lime);
  font-size: 13px;
  font-weight: 780;
  white-space: nowrap;
}

.score-panel {
  display: grid;
  grid-template-columns: 0.4fr 1fr;
  gap: 24px;
  align-items: center;
  padding: 26px;
  background: var(--lime);
  color: var(--ink);
}

.score-panel span {
  display: block;
  margin-bottom: 8px;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.score-panel strong {
  display: block;
  font-size: clamp(70px, 7vw, 110px);
  line-height: 0.85;
}

.score-panel p {
  margin: 0;
  color: #203026;
  font-size: 22px;
  font-weight: 820;
  line-height: 1.18;
}

.audit-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
}

.audit-card {
  min-height: 190px;
  padding: 22px;
  background: var(--ink-2);
}

.audit-card.warning {
  background: var(--orange);
  color: var(--ink);
}

.audit-card.warning span {
  color: var(--ink);
}

.audit-card strong {
  display: block;
  margin-bottom: 10px;
  color: var(--white);
  font-size: 28px;
  line-height: 1;
}

.audit-card.warning strong {
  color: var(--ink);
}

.audit-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.audit-card.warning p {
  color: #32170c;
}

.report-strip {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  padding: 18px;
}

.report-strip span {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.launch-gate,
.allocation-row {
  display: grid;
  gap: 14px;
  margin: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--ink-2);
  padding: 16px;
}

.launch-gate {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
}

.launch-gate h3 {
  margin: 0;
  font-size: 20px;
}

.launch-gate p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.readiness-cluster {
  display: grid;
  justify-items: end;
  gap: 10px;
}

.readiness-cluster strong {
  color: var(--lime);
  font-size: 36px;
  line-height: 1;
}

.launch-gate button {
  min-height: 42px;
  border: 1px solid rgba(199, 255, 89, 0.28);
  border-radius: 7px;
  background: transparent;
  padding: 0 14px;
  color: var(--lime);
  font-size: 13px;
  font-weight: 820;
}

.launch-gate.passed {
  border-color: rgba(199, 255, 89, 0.5);
  background: rgba(199, 255, 89, 0.08);
}

.allocation-row {
  margin-top: 0;
}

.allocation-row > span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.allocation-bars {
  display: flex;
  height: 14px;
  overflow: hidden;
  border-radius: 6px;
  background: rgba(245, 255, 248, 0.1);
}

.allocation-bars span {
  display: block;
  transition: width 200ms ease;
}

.bar-lime {
  width: 62%;
  background: var(--lime);
}

.bar-cyan {
  width: 26%;
  background: var(--cyan);
}

.bar-orange {
  width: 12%;
  background: var(--orange);
}

.receive-section,
.build-section,
.example-section,
.proof-section,
.pricing-section {
  padding: clamp(72px, 9vw, 122px) clamp(18px, 5vw, 64px);
}

.build-section {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(420px, 1fr);
  gap: clamp(24px, 4vw, 44px);
  align-items: start;
  border-top: 1px solid rgba(245, 255, 248, 0.08);
  border-bottom: 1px solid rgba(245, 255, 248, 0.08);
  background: rgba(29, 40, 36, 0.55);
}

.build-section > div {
  grid-column: 1 / -1;
  max-width: 1040px;
}

.build-section h2 {
  max-width: 900px;
}

.build-section > div > p:not(.section-kicker),
.sandbox-preview p,
.sandbox-preview li {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.55;
}

.receive-section h2,
.build-section h2,
.proof-section h2,
.pricing-section h2 {
  margin-bottom: 42px;
}

.deliverable-grid,
.proof-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--line);
}

.deliverable-grid article,
.proof-grid article {
  min-height: 230px;
  padding: 24px;
  background: var(--surface);
}

.deliverable-grid article > span {
  display: block;
  margin-bottom: 34px;
  color: var(--orange);
  font-size: 14px;
  font-weight: 900;
}

.example-section {
  display: grid;
  grid-template-columns: minmax(0, 0.74fr) minmax(520px, 1fr);
  gap: clamp(36px, 7vw, 86px);
  align-items: start;
  background: var(--surface);
}

.before-after {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--line);
}

.before-after article {
  min-height: 360px;
  padding: 26px;
  background: var(--ink-2);
}

.before-after .after-card {
  background: var(--lime);
  color: var(--ink);
}

.before-after .after-card span,
.before-after .after-card li {
  color: #203026;
}

.before-after .after-card h3 {
  color: var(--ink);
}

.before-after ul {
  display: grid;
  gap: 12px;
  margin: 18px 0 0;
  padding-left: 20px;
}

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

.proof-grid span {
  color: var(--lime);
  font-size: 40px;
  line-height: 1;
}

.pricing-section {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(420px, 0.65fr);
  gap: clamp(32px, 6vw, 80px);
  align-items: start;
}

.payment-panel {
  display: grid;
  gap: 14px;
  margin-top: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 20px;
}

.payment-panel > span {
  color: var(--cyan);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.payment-panel strong {
  color: var(--white);
  font-size: 34px;
  line-height: 1;
}

.payment-panel p {
  margin: 0;
}

.pilot-form,
.sandbox-form,
.sandbox-preview,
.brief-preview {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 24px;
}

.pilot-form,
.sandbox-form {
  display: grid;
  gap: 18px;
}

.pilot-form label,
.sandbox-form label {
  display: grid;
  gap: 8px;
}

.pilot-form label span,
.sandbox-form label span {
  color: var(--text);
  font-size: 13px;
  font-weight: 850;
}

.pilot-form input,
.pilot-form select,
.pilot-form textarea,
.sandbox-form input,
.sandbox-form select,
.sandbox-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--ink);
  color: var(--text);
  padding: 12px 13px;
  font-size: 15px;
  line-height: 1.35;
}

.pilot-form textarea {
  resize: vertical;
}

.sandbox-form textarea {
  resize: vertical;
}

.pilot-form button,
.sandbox-form button {
  width: fit-content;
}

.pilot-form .secondary-button,
.sandbox-form .secondary-button {
  border-color: var(--line);
  background: var(--ink-2);
  color: var(--text);
}

.sandbox-preview {
  display: grid;
  gap: 16px;
}

.sandbox-preview > span {
  color: var(--cyan);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.sandbox-preview h3 {
  margin: 0;
  color: var(--lime);
  font-size: 30px;
}

.sandbox-preview pre {
  margin: 0;
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--ink);
  color: var(--text);
  padding: 14px;
  white-space: pre-wrap;
  word-break: break-word;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 12px;
  line-height: 1.5;
}

.sandbox-preview ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 18px;
}

.hidden-field {
  display: none;
}

.honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

::placeholder {
  color: #71847b;
}

.form-note {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.scope-list {
  display: grid;
  gap: 9px;
  margin: 0;
  padding-left: 18px;
}

.scope-list li {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.brief-preview {
  grid-column: 2;
}

.brief-preview pre {
  min-height: 330px;
  margin: 0;
  overflow: auto;
  white-space: pre-wrap;
  color: var(--text);
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 13px;
  line-height: 1.55;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 18px;
  border-top: 1px solid var(--line);
  padding: 28px clamp(18px, 5vw, 64px) 42px;
  color: var(--muted);
  font-size: 14px;
}

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

.confirmation-page {
  min-height: 100vh;
}

.confirmation {
  display: grid;
  width: min(760px, calc(100% - 32px));
  min-height: 100vh;
  margin: 0 auto;
  align-content: center;
  gap: 28px;
}

.confirmation-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  padding: clamp(28px, 5vw, 56px);
}

.confirmation-panel h1 {
  font-size: clamp(44px, 8vw, 80px);
}

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  padding: 0 16px;
  font-weight: 820;
}

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

@media (max-width: 1000px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .nav-links {
    order: 3;
    grid-column: 1 / -1;
    width: 100%;
    overflow-x: auto;
  }

  .hero,
  .build-section,
  .example-section,
  .pricing-section {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .brief-preview {
    grid-column: auto;
  }
}

@media (max-width: 720px) {
  .site-header {
    position: static;
  }

  .header-action {
    width: 100%;
    grid-column: 1 / -1;
    justify-self: stretch;
  }

  .nav-links {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    overflow: visible;
  }

  .nav-links a {
    justify-content: center;
    min-width: 0;
    padding: 0 8px;
    text-align: center;
  }

  .audit-grid,
  .deliverable-grid,
  .before-after,
  .proof-grid,
  .signal-grid {
    grid-template-columns: 1fr;
  }

  .score-panel,
  .report-strip,
  .launch-gate {
    grid-template-columns: 1fr;
  }

  .teardown-console {
    width: calc(100vw - 48px);
    max-width: calc(100vw - 48px);
    min-width: 0;
  }

  .hero-copy {
    width: calc(100vw - 48px);
    max-width: calc(100vw - 48px);
  }

  .hero,
  .build-section,
  .receive-section,
  .example-section,
  .proof-section,
  .pricing-section {
    max-width: 100vw;
    overflow: hidden;
    padding-right: 24px;
    padding-left: 24px;
  }

  .hero-copy,
  .teardown-console,
  .sandbox-form,
  .sandbox-preview,
  .console-topbar,
  .score-panel,
  .audit-card,
  .report-strip,
  .launch-gate,
  .allocation-row {
    min-width: 0;
  }

  .hero-copy p,
  .score-panel p,
  .audit-card p,
  .report-strip span,
  .launch-gate p {
    max-width: calc(100vw - 48px);
    overflow-wrap: break-word;
  }

  .hero-copy > p:not(.service-line) {
    max-width: 30ch;
  }

  .score-panel p {
    max-width: 20ch;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .primary-action,
  .secondary-action {
    width: calc(100vw - 48px);
    max-width: calc(100vw - 48px);
  }

  .console-topbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .status-pill {
    white-space: normal;
  }

  h1 {
    max-width: 9ch;
    font-size: clamp(42px, 12vw, 50px);
    line-height: 0.96;
  }
}

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

  *,
  *::before,
  *::after {
    transition-duration: 0.001ms !important;
    animation-duration: 0.001ms !important;
  }
}
