:root {
  color-scheme: light;
  --ink: #19211f;
  --muted: #5d6964;
  --paper: #faf8f2;
  --paper-strong: #fffdf8;
  --line: #d9d2c3;
  --green: #2f7d6f;
  --green-dark: #21594f;
  --rust: #b35f2d;
  --plum: #5f4a67;
  --gold: #d6a743;
  --blue: #316c92;
  --shadow: 0 24px 80px rgba(44, 38, 28, 0.14);
  --radius: 8px;
  --max: 1180px;
  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;
  color: var(--ink);
  background: var(--paper);
  overflow-x: hidden;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
  padding: 14px clamp(18px, 4vw, 56px);
  background: rgba(250, 248, 242, 0.92);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(16px);
  overflow: hidden;
}

.site-header.is-elevated {
  border-bottom-color: rgba(75, 67, 50, 0.14);
  box-shadow: 0 10px 30px rgba(44, 38, 28, 0.08);
}

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

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  color: #fffdf8;
  background: var(--ink);
  border-radius: 8px;
  font-size: 0.72rem;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

.site-nav a {
  padding: 10px 0;
}

.site-nav a:hover {
  color: var(--ink);
}

.nav-cta {
  color: var(--ink);
  border-bottom: 2px solid var(--rust);
}

.section-band {
  padding: clamp(62px, 8vw, 118px) clamp(18px, 4vw, 56px);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.88fr);
  gap: clamp(32px, 6vw, 84px);
  align-items: center;
  min-height: calc(100vh - 72px);
  padding-top: clamp(42px, 5vw, 76px);
  padding-bottom: clamp(44px, 6vw, 82px);
  background:
    linear-gradient(90deg, rgba(47, 125, 111, 0.09), transparent 42%),
    radial-gradient(circle at 88% 12%, rgba(214, 167, 67, 0.2), transparent 28%),
    var(--paper);
}

.hero-copy,
.section-heading,
.split-grid,
.program-grid,
.curriculum-map,
.tool-comparison,
.enterprise-grid,
.roadmap,
.decision-grid,
.contact-band,
.site-footer {
  max-width: var(--max);
  margin-inline: auto;
}

.hero-copy {
  margin-right: 0;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--green-dark);
  font-size: 0.78rem;
  font-weight: 780;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 830px;
  margin: 0;
  font-size: clamp(2.8rem, 5.1vw, 4.9rem);
  line-height: 1;
  letter-spacing: 0;
}

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

h3 {
  margin: 0;
  font-size: 1.14rem;
  line-height: 1.2;
}

.hero-lede,
.section-heading p + h2 + p {
  max-width: 760px;
}

.hero-lede {
  margin: 26px 0 0;
  color: var(--muted);
  font-size: clamp(1.1rem, 1.7vw, 1.35rem);
  line-height: 1.55;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border: 1px solid var(--ink);
  border-radius: 8px;
  font-weight: 760;
  cursor: pointer;
}

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

.button.secondary {
  color: var(--ink);
  background: rgba(255, 253, 248, 0.56);
}

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

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 38px 0 0;
}

.hero-stats div {
  padding: 16px;
  background: rgba(255, 253, 248, 0.64);
  border: 1px solid rgba(75, 67, 50, 0.13);
  border-radius: var(--radius);
}

.hero-stats dt {
  font-size: 1.25rem;
  font-weight: 820;
}

.hero-stats dd {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.hero-visual {
  position: relative;
  min-height: 520px;
  overflow: hidden;
  background:
    linear-gradient(145deg, rgba(25, 33, 31, 0.96), rgba(47, 68, 63, 0.92)),
    #19211f;
  border: 1px solid rgba(255, 253, 248, 0.18);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.terminal-window {
  position: absolute;
  top: 32px;
  right: 30px;
  left: 30px;
  z-index: 3;
  overflow: hidden;
  color: #edf3ed;
  background: rgba(10, 14, 13, 0.86);
  border: 1px solid rgba(255, 253, 248, 0.14);
  border-radius: 8px;
}

.terminal-bar {
  display: flex;
  gap: 7px;
  padding: 12px 14px;
  background: rgba(255, 253, 248, 0.08);
}

.terminal-bar span {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #d4654a;
}

.terminal-bar span:nth-child(2) {
  background: #d6a743;
}

.terminal-bar span:nth-child(3) {
  background: #55a178;
}

.terminal-content {
  padding: 18px;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 0.9rem;
  line-height: 1.55;
}

.terminal-content p {
  margin: 0 0 8px;
}

.terminal-content span {
  color: #d6a743;
}

.terminal-content .muted {
  color: #93a79e;
}

.terminal-content .ok {
  color: #8bd6b6;
}

.workflow-orbit {
  position: absolute;
  right: -40px;
  bottom: 18px;
  width: min(98%, 560px);
  height: auto;
}

.orbit-path {
  fill: none;
  stroke: url(#orbitAccent);
  stroke-width: 4;
  stroke-dasharray: 12 10;
  opacity: 0.84;
}

.orbit-node circle {
  fill: rgba(255, 253, 248, 0.95);
  stroke: rgba(255, 253, 248, 0.36);
  stroke-width: 8;
}

.orbit-node text {
  fill: var(--ink);
  font-size: 16px;
  font-weight: 760;
  text-anchor: middle;
}

.problem-band,
.alt-band {
  background: var(--paper-strong);
}

.section-heading {
  margin-bottom: clamp(28px, 5vw, 56px);
}

.split-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  gap: 24px;
  align-items: center;
}

.panel,
.program-card,
.enterprise-grid article,
.decision-card,
.lead-form {
  background: rgba(255, 253, 248, 0.78);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.panel {
  padding: clamp(22px, 3vw, 34px);
}

.panel.plain {
  background: transparent;
}

.bridge-arrow {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  color: #fffdf8;
  background: var(--rust);
  border-radius: 999px;
  font-weight: 860;
}

.check-list {
  display: grid;
  gap: 13px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
}

.check-list li {
  position: relative;
  padding-left: 28px;
}

.check-list li::before {
  position: absolute;
  left: 0;
  color: var(--green);
  content: "+";
  font-weight: 820;
}

.check-list.warning li::before {
  color: var(--rust);
  content: "!";
}

.program-grid,
.enterprise-grid,
.decision-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.program-card {
  position: relative;
  display: grid;
  gap: 18px;
  min-height: 360px;
  padding: 26px;
}

.program-card.featured {
  color: #fffdf8;
  background: var(--green-dark);
  border-color: var(--green-dark);
  box-shadow: var(--shadow);
}

.program-code {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  color: #fffdf8;
  background: var(--ink);
  border-radius: 8px;
  font-weight: 820;
}

.featured .program-code {
  color: var(--ink);
  background: #fffdf8;
}

.program-card p,
.program-card dd,
.enterprise-grid p,
.decision-card p,
.decision-card li,
.map-column p,
.roadmap p,
.contact-copy p,
.form-note {
  color: var(--muted);
  line-height: 1.55;
}

.featured p,
.featured dd {
  color: rgba(255, 253, 248, 0.78);
}

.program-card dl {
  display: grid;
  gap: 14px;
  align-self: end;
  margin: 0;
}

.program-card dt {
  font-size: 0.76rem;
  font-weight: 820;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.program-card dd {
  margin: 3px 0 0;
}

.curriculum-map {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.map-column {
  min-height: 260px;
  padding: 24px;
  background: rgba(255, 253, 248, 0.72);
  border-right: 1px solid var(--line);
}

.map-column:last-child {
  border-right: 0;
}

.map-column:nth-child(1) {
  border-top: 8px solid var(--green);
}

.map-column:nth-child(2) {
  border-top: 8px solid var(--blue);
}

.map-column:nth-child(3) {
  border-top: 8px solid var(--rust);
}

.map-column:nth-child(4) {
  border-top: 8px solid var(--gold);
}

.tool-comparison {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 120px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  margin-top: 24px;
  padding: 22px;
  background: #19211f;
  border-radius: var(--radius);
  color: #fffdf8;
}

.comparison-header {
  font-size: clamp(1.5rem, 3vw, 3rem);
  font-weight: 840;
}

.comparison-flow {
  display: flex;
  justify-content: center;
  gap: 8px;
}

.comparison-flow span {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: var(--gold);
}

.tool-comparison p {
  margin: 0;
  color: rgba(255, 253, 248, 0.74);
}

.center-copy {
  text-align: center;
  font-weight: 760;
}

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

.enterprise-grid article {
  min-height: 230px;
  padding: 24px;
}

.roadmap {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  padding: 0;
  list-style: none;
}

.roadmap li {
  display: grid;
  gap: 18px;
  padding: 26px;
  border-top: 2px solid var(--ink);
}

.roadmap span {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: #fffdf8;
  background: var(--ink);
  border-radius: 999px;
  font-weight: 820;
}

.decision-card {
  padding: 24px;
}

.decision-card.selected {
  border-color: var(--green);
  box-shadow: inset 0 0 0 2px rgba(47, 125, 111, 0.16);
}

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

.contact-band {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(340px, 0.65fr);
  gap: clamp(28px, 6vw, 76px);
  align-items: start;
}

.contact-copy h2 {
  font-size: clamp(2.3rem, 5vw, 5.2rem);
}

.contact-copy p {
  max-width: 660px;
  font-size: 1.08rem;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.lead-form {
  display: grid;
  gap: 18px;
  padding: 24px;
  box-shadow: var(--shadow);
}

label {
  display: grid;
  gap: 8px;
  color: var(--ink);
  font-weight: 720;
}

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

textarea {
  resize: vertical;
}

.form-note {
  margin: 0;
  font-size: 0.88rem;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 30px clamp(18px, 4vw, 56px);
  color: var(--muted);
  border-top: 1px solid var(--line);
}

.site-footer p {
  margin: 0;
}

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

.site-nav {
    width: calc(100vw - 36px);
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .hero,
  .contact-band {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-visual {
    min-height: 460px;
  }

  .split-grid,
  .program-grid,
  .enterprise-grid,
  .decision-grid,
  .roadmap {
    grid-template-columns: 1fr;
  }

  .bridge-arrow {
    justify-self: center;
    transform: rotate(90deg);
  }

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

  .map-column:nth-child(2) {
    border-right: 0;
  }

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

  .center-copy {
    text-align: left;
  }
}

@media (max-width: 640px) {
  .brand {
    font-size: 0.94rem;
  }

  .site-nav {
    gap: 18px;
    font-size: 0.88rem;
  }

  h1 {
    font-size: clamp(2.2rem, 8.8vw, 2.8rem);
  }

  .hero-stats,
  .curriculum-map {
    grid-template-columns: 1fr;
  }

  .map-column,
  .map-column:nth-child(2) {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .map-column:last-child {
    border-bottom: 0;
  }

  .hero-visual {
    min-height: 400px;
  }

  .terminal-window {
    inset: 20px 18px auto;
  }

  .terminal-content {
    font-size: 0.76rem;
  }

  .workflow-orbit {
    right: -72px;
    bottom: 0;
    width: 118%;
  }

  .site-footer {
    flex-direction: column;
  }
}
