:root {
  --bg: #0a0d0b;
  --surface: #101510;
  --surface-2: #171d17;
  --panel: #f4f0e8;
  --panel-2: #e6ded0;
  --text: #f6f4ee;
  --muted: #b9c0b8;
  --ink: #171b16;
  --ink-muted: #4f5a50;
  --line: rgba(246, 244, 238, 0.14);
  --line-dark: rgba(23, 27, 22, 0.14);
  --accent: #9dff7a;
  --accent-2: #d8ff8f;
  --warning: #ffcf66;
  --radius: 8px;
  --max: 1180px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
  padding: 16px clamp(18px, 4vw, 56px);
  background: rgba(10, 13, 11, 0.88);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
}

.brand-mark {
  display: inline-grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid rgba(157, 255, 122, 0.45);
  border-radius: var(--radius);
  color: var(--accent);
  font-size: 0.82rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 28px);
  color: var(--muted);
  font-size: 0.94rem;
}

.nav-links a:hover,
.nav-links a:focus {
  color: var(--text);
}

.section-band,
.section-wrap {
  padding: clamp(64px, 9vw, 112px) clamp(18px, 4vw, 56px);
}

.section-band {
  background: var(--bg);
}

.section-wrap {
  background: var(--panel);
  color: var(--ink);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) minmax(420px, 1.06fr);
  align-items: center;
  gap: clamp(28px, 5vw, 72px);
  min-height: calc(100vh - 68px);
}

.hero-copy,
.section-heading,
.split-section > div,
.final-cta {
  max-width: var(--max);
  margin-inline: auto;
}

.hero-copy {
  max-width: 680px;
  margin-inline: 0;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.section-wrap .eyebrow {
  color: #426d31;
}

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

h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(3.2rem, 8vw, 6.8rem);
  line-height: 0.95;
  letter-spacing: 0;
}

h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1.02;
  letter-spacing: 0;
}

h3 {
  margin: 0 0 10px;
  font-size: 1.1rem;
  line-height: 1.25;
}

.hero-subtitle {
  max-width: 640px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: clamp(1.08rem, 2vw, 1.32rem);
}

.proof-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 28px 0 0;
}

.proof-list span,
.stack-grid span,
.spec-list span {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 10px 12px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.045);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 32px 0 0;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border-radius: var(--radius);
  padding: 12px 18px;
  border: 1px solid transparent;
  font-weight: 800;
}

.button.primary {
  background: var(--accent);
  color: #11170e;
}

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

.section-wrap .button.secondary {
  color: var(--ink);
  border-color: var(--line-dark);
}

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

.microcopy,
.disclaimer,
.form-note {
  color: var(--muted);
  font-size: 0.94rem;
}

.hero-media {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: #050705;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.38);
}

.hero-media img {
  width: 100%;
  height: min(70vh, 640px);
  object-fit: cover;
}

.section-heading {
  max-width: 820px;
  margin-bottom: 34px;
}

.section-heading p {
  color: var(--ink-muted);
  font-size: 1.06rem;
}

.section-band .section-heading p {
  color: var(--muted);
}

.workflow-grid,
.audience-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  max-width: var(--max);
  margin: 0 auto 28px;
}

.workflow-card,
.audience-grid article,
.comparison-column,
.metric-panel,
.application-form,
.faq-item {
  border-radius: var(--radius);
  border: 1px solid var(--line-dark);
  background: rgba(255, 255, 255, 0.62);
  padding: 22px;
}

.section-band .audience-grid article,
.section-band .metric-panel,
.section-band .application-form,
.section-band .faq-item {
  border-color: var(--line);
  background: var(--surface);
}

.workflow-card p,
.audience-grid p,
.comparison-column li,
.faq-list p {
  color: var(--ink-muted);
  margin: 0;
}

.section-band .audience-grid p,
.section-band .faq-list p {
  color: var(--muted);
}

.table-panel {
  max-width: var(--max);
  margin: 0 auto;
  overflow-x: auto;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.72);
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 720px;
}

th,
td {
  padding: 16px;
  text-align: left;
  border-bottom: 1px solid var(--line-dark);
  vertical-align: top;
}

th {
  color: #2e382f;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

tr:last-child td {
  border-bottom: 0;
}

.disclaimer {
  max-width: var(--max);
  margin: 18px auto 0;
  color: var(--ink-muted);
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: clamp(24px, 5vw, 64px);
  align-items: center;
}

.split-section p {
  color: inherit;
}

.section-band .split-section p,
.section-band.split-section p {
  color: var(--muted);
}

.metric-panel strong {
  display: block;
  margin-bottom: 14px;
  color: var(--accent-2);
  font-size: clamp(1.7rem, 4vw, 3.4rem);
  line-height: 1;
}

.metric-panel ul,
.comparison-column ul,
.program-copy ul {
  margin: 0;
  padding-left: 18px;
}

.metric-panel li,
.program-copy li {
  margin-bottom: 10px;
  color: var(--muted);
}

.comparison-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  max-width: var(--max);
  margin: 0 auto;
}

.comparison-column h3 {
  margin-bottom: 14px;
}

.strong-column {
  border-color: rgba(66, 109, 49, 0.42);
  background: rgba(157, 255, 122, 0.16);
}

.stack-grid,
.spec-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  max-width: var(--max);
  margin: 0 auto;
}

.spec-list {
  align-content: start;
}

.warning-section {
  background: #19150d;
  color: var(--text);
}

.warning-section .eyebrow {
  color: var(--warning);
}

.warning-section p {
  max-width: 900px;
  color: #e6d8ba;
}

.program-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
  gap: clamp(24px, 5vw, 64px);
  align-items: start;
}

.program-copy {
  max-width: 620px;
}

.application-form {
  display: grid;
  gap: 16px;
}

label,
.field-group {
  display: grid;
  gap: 7px;
  color: var(--text);
  font-weight: 700;
}

.field-group {
  margin: 0;
  border: 0;
  padding: 0;
}

.field-group legend {
  margin-bottom: 7px;
  padding: 0;
}

.radio-option {
  display: flex;
  grid-template-columns: none;
  align-items: flex-start;
  gap: 10px;
  color: var(--muted);
  font-weight: 600;
}

.radio-option input {
  width: auto;
  margin-top: 5px;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px;
  background: #080b08;
  color: var(--text);
  font: inherit;
}

textarea {
  resize: vertical;
}

input[aria-invalid="true"],
select[aria-invalid="true"],
textarea[aria-invalid="true"] {
  border-color: #ff8f73;
  box-shadow: 0 0 0 2px rgba(255, 143, 115, 0.16);
}

.field-error,
.form-status {
  min-height: 1.2em;
  color: #ffb19f;
  font-size: 0.84rem;
  font-weight: 700;
}

.form-status {
  margin: 0;
}

.success-panel {
  display: grid;
  gap: 12px;
  border: 1px solid rgba(157, 255, 122, 0.32);
  border-radius: var(--radius);
  padding: 18px;
  background: rgba(157, 255, 122, 0.09);
}

.success-panel[hidden] {
  display: none;
}

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

.success-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.faq-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  max-width: var(--max);
  margin: 0 auto;
}

.faq-item {
  padding: 0;
  overflow: hidden;
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 64px;
  padding: 18px 22px;
  color: var(--ink);
  cursor: pointer;
  font-weight: 800;
  line-height: 1.25;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  flex: 0 0 auto;
  color: #426d31;
  font-size: 1.4rem;
  line-height: 1;
}

.faq-item[open] summary::after {
  content: "-";
}

.faq-item summary:focus-visible {
  outline: 2px solid #426d31;
  outline-offset: -2px;
}

.faq-item p {
  padding: 0 22px 22px;
}

.final-cta {
  text-align: center;
}

.final-cta p {
  max-width: 760px;
  margin: 18px auto 0;
  color: var(--muted);
}

.center-actions {
  justify-content: center;
}

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

  .hero {
    min-height: auto;
  }

  .hero-media {
    order: -1;
  }

  .hero-media img {
    height: auto;
    max-height: none;
  }

  .workflow-grid,
  .audience-grid,
  .faq-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav-links {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .section-band,
  .section-wrap {
    padding: 52px 18px;
  }

  h1 {
    font-size: clamp(2.8rem, 15vw, 4.6rem);
  }

  .workflow-grid,
  .audience-grid,
  .comparison-grid,
  .faq-list {
    grid-template-columns: 1fr;
  }

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

  .proof-list span,
  .stack-grid span,
  .spec-list span {
    width: 100%;
  }
}
