:root {
  --paper: #f4f0e6;
  --surface: #fffdf6;
  --ink: #101412;
  --muted: #59605b;
  --line: #c9c4b6;
  --acid: #c7ff3d;
  --orange: #ff6b35;
  --terminal: #090d0b;
  --terminal-muted: #9aa59d;
  --font-body: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-display: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  --shell: min(1180px, calc(100% - 40px));
  --header-height: 78px;
  --shadow-hard: 8px 8px 0 var(--ink);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 24px);
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body::before {
  position: fixed;
  z-index: -1;
  inset: 0;
  content: "";
  pointer-events: none;
  opacity: 0.18;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 160 160' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.16'/%3E%3C/svg%3E");
}

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

a {
  color: inherit;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.2em;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

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

::selection {
  color: var(--ink);
  background: var(--acid);
}

:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  color: var(--paper);
  background: var(--ink);
  transform: translateY(-180%);
}

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

.shell {
  width: var(--shell);
  margin-inline: auto;
}

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  min-height: var(--header-height);
  border-bottom: 1px solid var(--ink);
  background: rgba(244, 240, 230, 0.96);
  backdrop-filter: blur(10px);
}

.header-inner {
  display: flex;
  min-height: var(--header-height);
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  flex: 0 0 auto;
  text-decoration: none;
}

.brand img {
  width: 196px;
  height: auto;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 26px;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.main-nav a {
  text-decoration: none;
}

.main-nav a:not(.nav-cta)::after {
  display: block;
  width: 0;
  height: 2px;
  margin-top: 3px;
  content: "";
  background: var(--ink);
  transition: width 160ms ease;
}

.main-nav a:not(.nav-cta):hover::after {
  width: 100%;
}

.nav-cta {
  padding: 11px 14px;
  border: 1px solid var(--ink);
  background: var(--acid);
  box-shadow: 4px 4px 0 var(--ink);
  transition: transform 150ms ease, box-shadow 150ms ease;
}

.nav-cta:hover {
  box-shadow: 2px 2px 0 var(--ink);
  transform: translate(2px, 2px);
}

.menu-toggle {
  display: none;
  min-width: 92px;
  padding: 8px 10px;
  border: 1px solid var(--ink);
  color: var(--ink);
  background: transparent;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.menu-glyph {
  margin-left: 6px;
}

.hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--ink);
}

.hero::before {
  position: absolute;
  top: 0;
  right: 0;
  width: 37vw;
  height: 100%;
  content: "";
  background: var(--acid);
  border-left: 1px solid var(--ink);
}

.hero-grid {
  position: relative;
  display: grid;
  min-height: calc(100svh - var(--header-height));
  grid-template-columns: minmax(0, 1.08fr) minmax(390px, 0.92fr);
  align-items: center;
  gap: clamp(52px, 7vw, 110px);
  padding-block: clamp(72px, 9vw, 128px);
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.eyebrow,
.section-index,
.visual-note,
.footer-label {
  margin: 0;
  font-family: var(--font-display);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 26px;
}

.status-dot {
  width: 10px;
  height: 10px;
  background: var(--orange);
  box-shadow: 0 0 0 4px rgba(255, 107, 53, 0.18);
}

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

h1,
h2,
h3 {
  margin-top: 0;
  line-height: 1.05;
}

h1,
h2 {
  font-family: var(--font-display);
  letter-spacing: -0.055em;
}

h1 {
  max-width: 850px;
  margin-bottom: 30px;
  font-size: clamp(3.2rem, 7vw, 7.2rem);
  font-weight: 900;
}

h1 span {
  position: relative;
  display: inline;
  box-decoration-break: clone;
  background: linear-gradient(transparent 64%, var(--acid) 64%);
  -webkit-box-decoration-break: clone;
}

.hero-lede {
  max-width: 680px;
  margin: 0 0 36px;
  color: #343a36;
  font-size: clamp(1.08rem, 1.7vw, 1.34rem);
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 25px;
}

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 13px 19px;
  border: 2px solid var(--ink);
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.01em;
  line-height: 1.2;
  text-decoration: none;
  text-transform: uppercase;
  transition: transform 150ms ease, box-shadow 150ms ease, background 150ms ease;
}

.button-primary {
  color: var(--ink);
  background: var(--acid);
  box-shadow: var(--shadow-hard);
}

.button-primary:hover {
  box-shadow: 3px 3px 0 var(--ink);
  transform: translate(5px, 5px);
}

.button-secondary {
  color: var(--paper);
  border-color: var(--paper);
  background: transparent;
  box-shadow: 7px 7px 0 var(--acid);
}

.button-secondary:hover {
  color: var(--ink);
  background: var(--acid);
  box-shadow: 3px 3px 0 var(--paper);
  transform: translate(4px, 4px);
}

.button-large {
  width: min(100%, 430px);
  min-height: 64px;
  justify-content: space-between;
  padding-inline: 22px;
  text-transform: none;
}

.text-link {
  font-family: var(--font-display);
  font-size: 0.84rem;
  font-weight: 800;
  text-transform: uppercase;
}

.trust-row {
  display: flex;
  margin: 48px 0 0;
  padding: 0;
  flex-wrap: wrap;
  gap: 10px 28px;
  color: var(--muted);
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  list-style: none;
  text-transform: uppercase;
}

.trust-row li::before {
  margin-right: 8px;
  color: var(--orange);
  content: "//";
}

.hero-visual {
  position: relative;
  z-index: 2;
}

.hero-visual::before,
.hero-visual::after {
  position: absolute;
  content: "";
  pointer-events: none;
}

.hero-visual::before {
  z-index: -1;
  inset: -24px 22px 30px -22px;
  border: 1px solid var(--ink);
  background: var(--paper);
}

.hero-visual::after {
  z-index: -2;
  right: -28px;
  bottom: -16px;
  width: 68%;
  height: 52%;
  background: var(--orange);
  border: 1px solid var(--ink);
}

.terminal-frame {
  border: 2px solid var(--ink);
  color: #eaf0ec;
  background: var(--terminal);
  box-shadow: 12px 12px 0 rgba(16, 20, 18, 0.18);
}

.terminal-bar {
  display: flex;
  min-height: 44px;
  align-items: center;
  justify-content: space-between;
  padding: 9px 14px;
  border-bottom: 1px solid #475048;
  color: var(--ink);
  background: var(--acid);
  font-family: var(--font-display);
  font-size: 0.74rem;
  font-weight: 900;
  text-transform: uppercase;
}

.terminal-state {
  padding: 2px 7px;
  color: var(--paper);
  background: var(--ink);
}

.terminal-body {
  min-height: 390px;
  padding: clamp(22px, 4vw, 42px);
  font-family: var(--font-display);
  font-size: clamp(0.75rem, 1.15vw, 0.94rem);
  line-height: 1.7;
}

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

.prompt {
  color: var(--acid);
}

.path {
  color: #69d2ff;
}

.terminal-output {
  color: var(--terminal-muted);
}

.terminal-indent {
  padding-left: 22px;
}

.terminal-output strong,
.terminal-ok {
  color: #78f0a0;
}

.cursor-line {
  margin-top: 22px !important;
}

.cursor {
  display: inline-block;
  width: 9px;
  height: 1.1em;
  vertical-align: -0.15em;
  background: var(--acid);
  animation: blink 1s steps(2, jump-none) infinite;
}

.visual-note {
  margin-top: 22px;
  text-align: right;
}

.manifesto {
  color: var(--paper);
  background: var(--ink);
}

.manifesto-grid {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 40px;
  padding-block: clamp(60px, 8vw, 110px);
}

.manifesto .section-index {
  color: var(--acid);
}

.manifesto-copy {
  max-width: 1000px;
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 4vw, 4.1rem);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 1.16;
}

.manifesto-copy strong {
  color: var(--acid);
  font-weight: 900;
}

.section-block {
  padding-block: clamp(82px, 10vw, 150px);
  border-bottom: 1px solid var(--ink);
}

.section-heading {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 40px;
  align-items: start;
  margin-bottom: clamp(60px, 7vw, 100px);
}

.section-heading h2,
.syllabus-intro h2,
.outcomes-lead h2,
.faq-grid h2,
.final-cta h2 {
  max-width: 920px;
  margin-bottom: 24px;
  font-size: clamp(2.25rem, 5vw, 5.3rem);
  font-weight: 900;
}

.section-heading > div > p,
.syllabus-intro > p,
.final-cta-grid > div > p {
  max-width: 680px;
  margin: 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.service-list {
  border-top: 2px solid var(--ink);
}

.service-item {
  display: grid;
  grid-template-columns: 90px minmax(0, 1.2fr) minmax(260px, 0.8fr);
  gap: 32px;
  align-items: start;
  padding-block: 42px;
  border-bottom: 1px solid var(--line);
}

.service-number {
  margin: 0;
  color: var(--orange);
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 900;
}

.service-item h3 {
  margin-bottom: 14px;
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 2.8vw, 2.6rem);
  letter-spacing: -0.035em;
}

.service-item div > p {
  max-width: 620px;
  margin: 0;
  color: var(--muted);
}

.service-item ul {
  margin: 0;
  padding: 0;
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 700;
  list-style: none;
}

.service-item li {
  padding-block: 10px;
  border-bottom: 1px dashed var(--line);
}

.service-item li::before {
  margin-right: 10px;
  color: var(--orange);
  content: "+";
}

.section-dark {
  color: var(--paper);
  border-color: #39413c;
  background: var(--ink);
}

.section-dark .section-index {
  color: var(--acid);
}

.section-dark .section-heading > div > p {
  color: #b3bab5;
}

.method-steps {
  display: grid;
  margin: 0;
  padding: 0;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid #4d554f;
  border-left: 1px solid #4d554f;
  list-style: none;
}

.method-steps li {
  min-height: 330px;
  padding: 30px;
  border-right: 1px solid #4d554f;
  border-bottom: 1px solid #4d554f;
}

.method-steps li:nth-child(even) {
  background: #171d19;
}

.method-steps span {
  color: var(--acid);
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 900;
}

.method-steps h3 {
  margin: 110px 0 16px;
  font-family: var(--font-display);
  font-size: 1.35rem;
}

.method-steps p {
  margin: 0;
  color: #b5bcb7;
}

.syllabus-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(420px, 1.15fr);
  gap: clamp(70px, 10vw, 150px);
}

.syllabus-intro {
  position: sticky;
  top: calc(var(--header-height) + 42px);
  align-self: start;
}

.syllabus-intro .section-index {
  margin-bottom: 34px;
}

.syllabus-intro .button {
  margin-top: 34px;
  color: var(--ink);
  border-color: var(--ink);
  box-shadow: 7px 7px 0 var(--orange);
}

.syllabus-intro .button:hover {
  color: var(--paper);
  background: var(--ink);
}

.topic-list {
  border-top: 2px solid var(--ink);
}

.topic-list div {
  display: grid;
  min-height: 88px;
  grid-template-columns: 70px minmax(0, 1fr);
  align-items: center;
  border-bottom: 1px solid var(--line);
  transition: padding-left 150ms ease, background 150ms ease;
}

.topic-list div:hover {
  padding-left: 14px;
  background: var(--surface);
}

.topic-list span {
  color: var(--orange);
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 900;
}

.topic-list p {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1rem, 2vw, 1.35rem);
  font-weight: 800;
}

.outcomes-section {
  padding-block: clamp(80px, 10vw, 140px);
  color: var(--ink);
  border-bottom: 1px solid var(--ink);
  background: var(--acid);
}

.outcomes-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr);
  gap: clamp(60px, 8vw, 120px);
}

.outcomes-lead .section-index {
  margin-bottom: 30px;
}

.outcomes-list {
  margin: 0;
  padding: 0;
  border-top: 2px solid var(--ink);
  list-style: none;
}

.outcomes-list li {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  gap: 12px;
  padding-block: 24px;
  border-bottom: 1px solid var(--ink);
  font-family: var(--font-display);
  font-size: clamp(1rem, 2vw, 1.35rem);
  font-weight: 800;
  line-height: 1.35;
}

.outcomes-list span {
  font-weight: 900;
}

.faq-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(440px, 1.2fr);
  gap: clamp(70px, 10vw, 150px);
}

.faq-grid .section-index {
  margin-bottom: 30px;
}

.faq-list {
  border-top: 2px solid var(--ink);
}

.faq-list details {
  border-bottom: 1px solid var(--line);
}

.faq-list summary {
  position: relative;
  padding: 28px 54px 28px 0;
  cursor: pointer;
  font-family: var(--font-display);
  font-size: clamp(1rem, 1.8vw, 1.25rem);
  font-weight: 900;
  line-height: 1.35;
  list-style: none;
}

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

.faq-list summary::after {
  position: absolute;
  top: 26px;
  right: 6px;
  content: "[+]";
  color: var(--orange);
  font-family: var(--font-display);
}

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

.faq-list details p {
  max-width: 700px;
  margin: -6px 0 28px;
  color: var(--muted);
}

.final-cta {
  padding-block: clamp(80px, 11vw, 150px);
  color: var(--paper);
  background: var(--terminal);
}

.final-cta-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.8fr);
  gap: clamp(60px, 8vw, 130px);
  align-items: end;
}

.final-cta .section-index {
  margin-bottom: 28px;
  color: var(--acid);
}

.final-cta h2 {
  margin-bottom: 0;
}

.final-cta-grid > div > p {
  margin-bottom: 30px;
  color: #b3bab5;
}

.site-footer {
  padding-block: 54px 28px;
  border-top: 1px solid var(--ink);
  background: var(--paper);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(260px, 1.5fr) minmax(180px, 0.7fr) minmax(140px, 0.5fr);
  gap: 50px;
  align-items: start;
}

.footer-grid img {
  width: 190px;
  margin-bottom: 18px;
}

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

.footer-label {
  margin-bottom: 14px !important;
  color: var(--ink) !important;
}

.footer-grid > div:nth-child(2) a,
.footer-grid > div:nth-child(3) a {
  display: block;
  margin-bottom: 8px;
}

.copyright {
  grid-column: 1 / -1;
  padding-top: 26px;
  border-top: 1px solid var(--line);
  font-family: var(--font-display);
  font-size: 0.72rem;
  text-transform: uppercase;
}

.error-page {
  display: grid;
  min-height: 100svh;
  place-items: center;
  background: var(--acid);
}

.error-shell {
  width: min(740px, calc(100% - 40px));
  padding: clamp(28px, 7vw, 70px);
  border: 2px solid var(--ink);
  background: var(--paper);
  box-shadow: 14px 14px 0 var(--ink);
}

.error-shell h1 {
  margin: 20px 0;
  font-size: clamp(3rem, 9vw, 7rem);
}

.error-shell code {
  display: block;
  margin-bottom: 36px;
  padding: 16px;
  color: var(--acid);
  background: var(--terminal);
  white-space: normal;
}

.js .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 550ms ease, transform 550ms cubic-bezier(0.22, 1, 0.36, 1);
}

.js .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes blink {
  50% {
    opacity: 0;
  }
}

@media (max-width: 1050px) {
  .hero::before {
    width: 32vw;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(350px, 0.78fr);
    gap: 50px;
  }

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

  .method-steps li {
    min-height: 280px;
  }

  .method-steps h3 {
    margin-top: 70px;
  }
}

@media (max-width: 900px) {
  :root {
    --header-height: 68px;
    --shell: min(100% - 30px, 720px);
  }

  .site-header {
    min-height: var(--header-height);
  }

  .header-inner {
    min-height: var(--header-height);
  }

  .brand img {
    width: 176px;
  }

  .menu-toggle {
    display: block;
  }

  .main-nav {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    display: none;
    padding: 24px 20px 30px;
    align-items: stretch;
    border-bottom: 2px solid var(--ink);
    background: var(--paper);
    flex-direction: column;
    gap: 0;
  }

  .main-nav.is-open {
    display: flex;
  }

  .main-nav a {
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
  }

  .main-nav a::after {
    display: none !important;
  }

  .nav-cta {
    margin-top: 16px;
    padding: 14px;
    text-align: center;
  }

  .hero::before {
    top: auto;
    bottom: 0;
    width: 100%;
    height: 36%;
    border-top: 1px solid var(--ink);
    border-left: 0;
  }

  .hero-grid {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 90px;
    padding-block: 68px 100px;
  }

  h1 {
    font-size: clamp(3.25rem, 12vw, 6.8rem);
  }

  .hero-visual {
    width: min(620px, 94%);
    margin-inline: auto;
  }

  .manifesto-grid,
  .section-heading {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .service-item {
    grid-template-columns: 60px minmax(0, 1fr);
  }

  .service-item ul {
    grid-column: 2;
  }

  .syllabus-grid,
  .outcomes-grid,
  .faq-grid,
  .final-cta-grid {
    grid-template-columns: 1fr;
  }

  .syllabus-intro {
    position: static;
  }

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

  .footer-grid > div:first-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 620px) {
  :root {
    --shell: calc(100% - 24px);
    --shadow-hard: 5px 5px 0 var(--ink);
  }

  .hero-grid {
    padding-top: 50px;
  }

  .eyebrow {
    align-items: flex-start;
  }

  h1 {
    font-size: clamp(2.85rem, 14vw, 5rem);
    letter-spacing: -0.065em;
  }

  .hero-lede {
    font-size: 1.02rem;
  }

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

  .hero-actions .text-link {
    width: auto;
  }

  .trust-row {
    display: grid;
  }

  .hero-visual::before {
    inset: -15px 12px 24px -12px;
  }

  .hero-visual::after {
    right: -14px;
  }

  .terminal-body {
    min-height: 340px;
    padding: 20px;
    font-size: 0.7rem;
    overflow-x: auto;
  }

  .manifesto-grid {
    padding-block: 56px;
  }

  .section-block {
    padding-block: 76px;
  }

  .section-heading h2,
  .syllabus-intro h2,
  .outcomes-lead h2,
  .faq-grid h2,
  .final-cta h2 {
    font-size: clamp(2.15rem, 12vw, 4rem);
  }

  .service-item {
    grid-template-columns: 1fr;
    gap: 14px;
    padding-block: 34px;
  }

  .service-item ul {
    grid-column: auto;
    margin-top: 12px;
  }

  .method-steps {
    grid-template-columns: 1fr;
  }

  .method-steps li {
    min-height: 245px;
  }

  .method-steps h3 {
    margin-top: 52px;
  }

  .syllabus-grid,
  .outcomes-grid,
  .faq-grid,
  .final-cta-grid {
    gap: 52px;
  }

  .topic-list div {
    grid-template-columns: 46px minmax(0, 1fr);
  }

  .outcomes-list li {
    grid-template-columns: 24px minmax(0, 1fr);
  }

  .button-large {
    font-size: 0.74rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .footer-grid > div:first-child,
  .copyright {
    grid-column: auto;
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .js .reveal {
    opacity: 1;
    transform: none;
  }
}
