:root {
  --ink: #14201c;
  --ink-soft: #3f4b45;
  --paper: #f6f5f0;
  --white: #ffffff;
  --dark: #0a0f0c;
  --dark-2: #121a15;
  --green: #0f9169;
  --green-dark: #075a3f;
  --green-soft: #e2f4ec;
  --gold: #f5bd3d;
  --gold-2: #ffd873;
  --gold-soft: #ffe6a6;
  --coral: #e0654f;
  --line: #dfe4de;
  --muted: #63706a;
  --container: 1180px;

  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 28px;

  --shadow-sm: 0 10px 30px rgba(10, 15, 12, 0.08);
  --shadow-md: 0 25px 60px rgba(10, 15, 12, 0.16);
  --shadow-lg: 0 40px 90px rgba(10, 15, 12, 0.28);
  --shadow-glow: 0 18px 50px rgba(245, 189, 61, 0.28);

  --font-display: "Kanit", "Leelawadee UI", Tahoma, sans-serif;
  --font-body: "Sarabun", "Leelawadee UI", Tahoma, sans-serif;
  --font-mono: "Space Grotesk", Arial, sans-serif;

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-soft: cubic-bezier(0.22, 1, 0.36, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.7;
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

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

button,
input,
textarea,
select {
  font: inherit;
  letter-spacing: 0;
}

a {
  color: inherit;
}

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

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

h1,
h2,
h3,
strong {
  line-height: 1.25;
}

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

h1 {
  margin-bottom: 26px;
  font-size: 60px;
  font-weight: 700;
}

h2 {
  margin-bottom: 20px;
  font-size: 44px;
  font-weight: 700;
}

h3 {
  margin-bottom: 12px;
  font-size: 23px;
  font-weight: 600;
}

.container {
  width: min(calc(100% - 48px), var(--container));
  margin: 0 auto;
}

.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;
}

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

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

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

/* ---------- Ambient 3D background ---------- */

.hero,
.loop-section,
.final-cta {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.hero::before,
.loop-section::before,
.final-cta::before {
  content: "";
  position: absolute;
  z-index: 0;
  inset: -20% -10%;
  background:
    radial-gradient(480px 380px at 14% 20%, rgba(245, 189, 61, 0.16), transparent 60%),
    radial-gradient(560px 460px at 86% 78%, rgba(15, 145, 105, 0.28), transparent 60%);
  filter: blur(10px);
  animation: drift 22s ease-in-out infinite;
  pointer-events: none;
}

@keyframes drift {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(2%, -3%, 0) scale(1.06); }
}

@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}

@keyframes spinSlow {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* ---------- Scroll reveal ---------- */

main section {
  perspective: 1400px;
}

.reveal-init {
  opacity: 0;
  transform: translateY(38px) rotateX(6deg);
  transform-origin: top center;
  transition: opacity 800ms var(--ease), transform 800ms var(--ease);
  will-change: transform, opacity;
}

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

@media (prefers-reduced-motion: reduce) {
  .reveal-init {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ---------- Header ---------- */

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  padding: 0 max(24px, calc((100vw - var(--container)) / 2));
  color: var(--white);
  background: rgba(10, 15, 12, 0.72);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  color: var(--dark);
  background: linear-gradient(145deg, var(--gold-2), var(--gold));
  border-radius: 50%;
  box-shadow: 0 8px 20px rgba(245, 189, 61, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.5);
  font-family: var(--font-mono);
  font-size: 26px;
  font-weight: 700;
  line-height: 1;
  transition: transform 400ms var(--ease);
}

.brand:hover .brand-mark {
  transform: rotate(180deg);
}

.brand strong,
.brand small {
  display: block;
  letter-spacing: 0;
}

.brand strong {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 600;
}

.brand small {
  margin-top: 1px;
  color: rgba(255, 255, 255, 0.62);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 30px;
}

.site-nav > a:not(.button) {
  position: relative;
  color: rgba(255, 255, 255, 0.82);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: color 200ms ease;
}

.site-nav > a:not(.button)::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -6px;
  left: 0;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 260ms var(--ease);
}

.site-nav > a:not(.button):hover {
  color: var(--gold-2);
}

.site-nav > a:not(.button):hover::after {
  transform: scaleX(1);
}

.menu-button {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  color: var(--white);
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 8px;
  cursor: pointer;
}

.menu-lines {
  display: grid;
  gap: 5px;
  width: 20px;
  margin: auto;
}

.menu-lines i {
  display: block;
  height: 2px;
  background: currentColor;
}

/* ---------- Buttons ---------- */

.button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 54px;
  padding: 12px 26px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 600;
  line-height: 1.35;
  text-align: center;
  text-decoration: none;
  overflow: hidden;
  transition: transform 260ms var(--ease), box-shadow 260ms var(--ease), background-color 200ms ease, color 200ms ease;
}

.button:hover {
  transform: translateY(-3px) scale(1.015);
}

.button:active {
  transform: translateY(-1px) scale(0.99);
}

.button-primary {
  color: var(--dark);
  background: linear-gradient(135deg, var(--gold-2), var(--gold));
  border-color: var(--gold);
  box-shadow: var(--shadow-glow);
}

.button-primary:hover {
  box-shadow: 0 26px 60px rgba(245, 189, 61, 0.4);
}

.button-dark {
  color: var(--white);
  background: linear-gradient(135deg, var(--green), var(--green-dark));
  border-color: var(--green);
}

.button-small {
  min-height: 42px;
  padding: 9px 18px;
  font-size: 14px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  transition: gap 200ms var(--ease), opacity 200ms ease;
}

.text-link:hover {
  gap: 14px;
  opacity: 0.85;
}

.light-link {
  color: var(--white);
}

.eyebrow {
  display: inline-block;
  margin-bottom: 14px;
  padding: 5px 14px;
  color: var(--green-dark);
  background: var(--green-soft);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.03em;
}

.eyebrow.light {
  color: var(--dark);
  background: linear-gradient(135deg, var(--gold-2), var(--gold));
}

.section-heading {
  max-width: 840px;
  margin-bottom: 56px;
}

.section-heading > p:last-child {
  color: var(--muted);
  font-size: 19px;
}

.section-heading.compact {
  max-width: 760px;
  margin-bottom: 46px;
}

/* ---------- Hero (3D scene) ---------- */

.hero {
  min-height: 720px;
  overflow: hidden;
  color: var(--white);
  background: radial-gradient(1200px 700px at 78% -10%, #16241d 0%, var(--dark) 55%);
}

.hero::after {
  content: "";
  position: absolute;
  z-index: 1;
  inset: auto 0 0 0;
  height: 1px;
  background: rgba(255, 255, 255, 0.14);
}

.hero-content {
  position: relative;
  z-index: 2;
  padding-top: 140px;
  padding-bottom: 34px;
}

.hero-content h1 {
  max-width: 780px;
  margin-bottom: 20px;
  font-size: 62px;
}

.hero-content h1 .accent {
  background: linear-gradient(100deg, var(--gold-2), var(--gold) 60%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-lead {
  max-width: 690px;
  margin-bottom: 24px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 20px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-bottom: 30px;
}

.hero-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 760px;
  margin: 0 0 14px;
  padding: 0;
  list-style: none;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.hero-facts li {
  min-width: 0;
  padding: 14px 18px 14px 0;
}

.hero-facts li + li {
  padding-left: 18px;
  border-left: 1px solid rgba(255, 255, 255, 0.16);
}

.hero-facts strong,
.hero-facts span {
  display: block;
}

.hero-facts strong {
  margin-bottom: 3px;
  font-size: 15px;
}

.hero-facts span {
  color: rgba(255, 255, 255, 0.58);
  font-size: 13px;
}

.hero-note {
  max-width: 760px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.48);
  font-size: 12px;
}

/* ---------- Problem band ---------- */

.problem-band {
  padding: 96px 0;
  background: var(--white);
}

.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  perspective: 1000px;
}

.problem-grid article {
  min-width: 0;
  padding: 30px 26px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  transform-style: preserve-3d;
  transition: transform 350ms var(--ease), box-shadow 350ms var(--ease), border-color 350ms ease;
}

.problem-grid article:hover {
  border-color: transparent;
  box-shadow: var(--shadow-md);
}

.problem-number {
  display: block;
  margin-bottom: 26px;
  color: var(--green);
  font-family: var(--font-mono);
  font-size: 26px;
  font-weight: 700;
}

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

/* ---------- Diagnostic ---------- */

.diagnostic-section {
  padding: 112px 0;
}

.diagnostic-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(520px, 1.28fr);
  gap: 72px;
  align-items: start;
}

.diagnostic-intro {
  position: sticky;
  top: 112px;
}

.diagnostic-intro > p:not(.eyebrow) {
  color: var(--muted);
  font-size: 19px;
}

.privacy-note {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 30px;
  color: var(--green-dark);
  font-size: 14px;
  font-weight: 600;
}

.privacy-note span {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  color: var(--white);
  background: var(--green);
  border-radius: 50%;
}

.diagnostic-tool {
  min-width: 0;
}

.choice-grid {
  display: grid;
  gap: 10px;
  perspective: 1000px;
}

.choice {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  width: 100%;
  min-height: 90px;
  padding: 16px 18px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  text-align: left;
  cursor: pointer;
  transform-style: preserve-3d;
  transition: border-color 200ms ease, transform 300ms var(--ease), box-shadow 300ms var(--ease);
}

.choice:hover {
  border-color: var(--green);
  box-shadow: var(--shadow-sm);
}

.choice.is-active {
  border-color: var(--green);
  box-shadow: 0 0 0 2px rgba(15, 145, 105, 0.15), var(--shadow-sm);
}

.choice-index {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  color: var(--green-dark);
  background: var(--green-soft);
  border-radius: 50%;
  font-family: var(--font-mono);
  font-weight: 700;
  transition: background-color 220ms ease, color 220ms ease;
}

.choice.is-active .choice-index {
  color: var(--white);
  background: linear-gradient(135deg, var(--green), var(--green-dark));
}

.choice strong,
.choice small {
  display: block;
}

.choice strong {
  margin-bottom: 3px;
  font-size: 17px;
}

.choice small {
  color: var(--muted);
  font-size: 14px;
}

.path-result {
  margin-top: 18px;
  padding: 34px;
  color: var(--white);
  background: linear-gradient(160deg, var(--green-dark), #06422f);
  border-left: 6px solid var(--gold);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
}

.result-label {
  margin-bottom: 9px;
  color: var(--gold-2);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.path-result h3 {
  font-size: 27px;
}

.path-result > p {
  color: rgba(255, 255, 255, 0.76);
}

.result-steps {
  display: grid;
  gap: 9px;
  margin: 22px 0 28px;
  padding-left: 24px;
}

.result-steps li::marker {
  color: var(--gold);
  font-weight: 700;
}

/* ---------- Growth loop ---------- */

.loop-section {
  padding: 112px 0;
  color: var(--white);
  background: var(--dark);
}

.loop-section .container {
  position: relative;
  z-index: 1;
}

.loop-heading {
  max-width: 1000px;
  margin-bottom: 66px;
}

.loop-heading > p:last-child {
  color: rgba(255, 255, 255, 0.62);
}

.loop-track {
  position: relative;
  display: grid;
  grid-template-columns: minmax(150px, 1fr) 32px minmax(150px, 1fr) 32px minmax(150px, 1fr) 32px minmax(150px, 1fr);
  align-items: center;
  margin-bottom: 38px;
  padding-bottom: 44px;
  perspective: 1000px;
}

.loop-step {
  min-width: 0;
  min-height: 150px;
  padding: 22px 16px;
  color: rgba(255, 255, 255, 0.72);
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-sm);
  text-align: left;
  cursor: pointer;
  transform-style: preserve-3d;
  transition: border-color 220ms ease, background-color 220ms ease, transform 320ms var(--ease), box-shadow 320ms var(--ease);
}

.loop-step:hover,
.loop-step.is-active {
  color: var(--white);
  background: var(--dark-2);
  border-color: var(--gold);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.4);
}

.loop-step span,
.loop-step strong,
.loop-step small {
  display: block;
}

.loop-index {
  margin-bottom: 24px;
  color: var(--gold);
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
}

.loop-step strong {
  margin-bottom: 5px;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
}

.loop-step small {
  color: rgba(255, 255, 255, 0.5);
  font-size: 13px;
}

.loop-arrow {
  color: var(--gold);
  font-size: 24px;
  text-align: center;
}

.loop-return {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  padding-top: 14px;
  color: rgba(255, 255, 255, 0.48);
  border-top: 1px solid rgba(245, 189, 61, 0.35);
  font-size: 13px;
  text-align: center;
}

.loop-return::before {
  content: "↶";
  margin-right: 10px;
  color: var(--gold);
  font-size: 20px;
}

.loop-detail {
  display: grid;
  grid-template-columns: 140px minmax(0, 1fr);
  gap: 42px;
  padding: 44px;
  color: var(--ink);
  background: var(--paper);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
}

.detail-number {
  color: var(--green);
  font-family: var(--font-mono);
  font-size: 84px;
  font-weight: 700;
  line-height: 1;
}

.detail-kicker {
  margin-bottom: 7px;
  color: var(--green);
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
}

.loop-detail h3 {
  font-size: 30px;
}

.loop-detail > div:last-child > p:not(.detail-kicker) {
  max-width: 740px;
  color: var(--muted);
  font-size: 18px;
}

.detail-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.detail-columns div {
  min-width: 0;
}

.detail-columns span,
.detail-columns strong {
  display: block;
}

.detail-columns span {
  margin-bottom: 7px;
  color: var(--coral);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
}

.detail-columns strong {
  font-size: 16px;
}

/* ---------- Ecosystem ---------- */

.ecosystem-section {
  padding: 112px 0;
  background: var(--white);
}

.split-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
  gap: 70px;
  max-width: none;
  align-items: end;
}

.split-heading > p {
  margin-bottom: 16px;
}

.course-visual {
  position: relative;
  height: 410px;
  margin: 0 0 30px;
  overflow: hidden;
  background: #07101d;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.course-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 700ms var(--ease-soft);
}

.course-visual:hover img {
  transform: scale(1.04);
}

.course-visual figcaption {
  position: absolute;
  right: 14px;
  bottom: 14px;
  padding: 7px 12px;
  color: var(--white);
  background: rgba(16, 23, 19, 0.78);
  backdrop-filter: blur(8px);
  border-radius: 999px;
  font-size: 12px;
}

.ecosystem-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  perspective: 1000px;
}

.ecosystem-grid article {
  min-width: 0;
  padding: 28px 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  transform-style: preserve-3d;
  transition: transform 350ms var(--ease), box-shadow 350ms var(--ease), border-color 350ms ease;
}

.ecosystem-grid article:hover {
  border-color: transparent;
  box-shadow: var(--shadow-md);
}

.ecosystem-tag,
.income-type {
  display: inline-block;
  margin-bottom: 22px;
  padding: 4px 12px;
  color: var(--green-dark);
  background: var(--green-soft);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.ecosystem-grid p {
  color: var(--muted);
  font-size: 15px;
}

.ecosystem-grid article > strong {
  display: block;
  color: var(--green-dark);
  font-size: 14px;
}

/* ---------- Income paths ---------- */

.income-paths {
  padding: 112px 0;
}

.income-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  perspective: 1000px;
}

.income-grid article {
  min-width: 0;
  min-height: 330px;
  padding: 32px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  transform-style: preserve-3d;
  transition: transform 350ms var(--ease), box-shadow 350ms var(--ease);
}

.income-grid article:hover {
  box-shadow: var(--shadow-md);
}

.income-grid article:nth-child(2) {
  border-top: 5px solid var(--gold);
}

.income-grid article:nth-child(3) {
  color: var(--white);
  background: linear-gradient(165deg, var(--green-dark), #06422f);
  border-color: var(--green-dark);
}

.income-grid article:nth-child(3) .income-type {
  color: var(--white);
  background: rgba(255, 255, 255, 0.14);
}

.income-grid article:nth-child(3) p,
.income-grid article:nth-child(3) .fit {
  color: rgba(255, 255, 255, 0.72);
}

.income-grid h3 {
  font-size: 25px;
}

.income-grid p {
  color: var(--muted);
}

.fit {
  display: block;
  margin-top: 34px;
  padding-top: 18px;
  color: var(--green-dark);
  border-top: 1px solid currentColor;
  font-size: 13px;
  font-weight: 600;
}

/* ---------- Timeline ---------- */

.timeline-section {
  padding: 112px 0;
  background: var(--green-soft);
}

.timeline-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.7fr) minmax(560px, 1.3fr);
  gap: 82px;
}

.timeline-intro {
  position: sticky;
  top: 112px;
  align-self: start;
}

.timeline-intro > p:not(.eyebrow) {
  color: var(--ink-soft);
}

.selected-path-summary {
  margin-top: 32px;
  padding: 18px 0;
  border-top: 1px solid rgba(15, 145, 105, 0.28);
  border-bottom: 1px solid rgba(15, 145, 105, 0.28);
}

.selected-path-summary span,
.selected-path-summary strong {
  display: block;
}

.selected-path-summary span {
  margin-bottom: 4px;
  color: var(--green);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
}

.timeline {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: week;
}

.timeline li {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr);
  gap: 26px;
  min-width: 0;
  padding: 0 0 34px;
  border-bottom: 1px solid rgba(15, 145, 105, 0.24);
  transition: transform 350ms var(--ease);
}

.timeline li:hover {
  transform: translateX(6px);
}

.timeline li + li {
  padding-top: 34px;
}

.week {
  color: var(--green);
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
}

.timeline h3 {
  margin-bottom: 7px;
}

.timeline p {
  margin-bottom: 0;
  color: var(--ink-soft);
}

.output {
  grid-column: 2;
  display: block;
  color: var(--green-dark);
  font-size: 14px;
}

/* ---------- Truth section ---------- */

.truth-section {
  padding: 90px 0;
  color: var(--white);
  background: linear-gradient(155deg, var(--coral), #b5432f);
}

.truth-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr);
  gap: 80px;
  align-items: start;
}

.truth-section .eyebrow {
  color: var(--dark);
  background: var(--gold-soft);
}

.truth-layout ul {
  display: grid;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.truth-layout li {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.24);
}

.truth-layout li span {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  color: var(--dark);
  background: var(--gold);
  border-radius: 50%;
  font-family: var(--font-mono);
  font-weight: 700;
}

/* ---------- FAQ ---------- */

.faq-section {
  padding: 112px 0;
  background: var(--white);
}

.faq-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(520px, 1.28fr);
  gap: 72px;
}

.faq-intro > p:not(.eyebrow) {
  color: var(--muted);
}

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

.faq-item {
  border-bottom: 1px solid var(--line);
  transition: background-color 220ms ease;
}

.faq-item.is-open {
  background: var(--paper);
  border-radius: var(--radius-sm);
}

.faq-item h3 {
  margin: 0;
}

.faq-item button {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 30px;
  gap: 20px;
  align-items: center;
  width: 100%;
  padding: 24px 18px;
  color: var(--ink);
  background: transparent;
  border: 0;
  text-align: left;
  cursor: pointer;
  font-family: var(--font-display);
  font-weight: 500;
}

.faq-item button span {
  position: relative;
  display: block;
  width: 24px;
  height: 24px;
}

.faq-item button span::before,
.faq-item button span::after {
  content: "";
  position: absolute;
  top: 11px;
  left: 3px;
  width: 18px;
  height: 2px;
  background: var(--green);
}

.faq-item button span::after {
  transform: rotate(90deg);
  transition: transform 220ms var(--ease);
}

.faq-item.is-open button span::after {
  transform: rotate(0deg);
}

.faq-answer {
  padding: 0 54px 24px 18px;
  color: var(--muted);
}

.faq-answer p {
  margin-bottom: 0;
}

/* ---------- Final CTA ---------- */

.final-cta {
  padding: 100px 0;
  color: var(--white);
  background: var(--green-dark);
}

.final-cta .container {
  position: relative;
  z-index: 1;
}

.final-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(340px, 0.8fr);
  gap: 80px;
  align-items: end;
}

.final-layout h2 {
  font-size: 46px;
}

.final-layout > div:first-child > p:last-child {
  max-width: 680px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 18px;
}

.final-actions {
  display: grid;
  justify-items: start;
  gap: 20px;
}

.final-actions small {
  color: rgba(255, 255, 255, 0.52);
}

/* ---------- Footer ---------- */

.site-footer {
  padding: 44px 0 100px;
  color: rgba(255, 255, 255, 0.66);
  background: var(--dark);
}

.footer-layout {
  display: grid;
  grid-template-columns: 240px minmax(250px, 1fr) minmax(300px, 1.15fr);
  gap: 44px;
  align-items: start;
}

.footer-layout p {
  margin-bottom: 0;
  font-size: 13px;
}

.footer-disclaimer {
  color: rgba(255, 255, 255, 0.42);
}

.mobile-cta {
  display: none;
}

@media (max-width: 1100px) {
  h1 {
    font-size: 50px;
  }

  h2 {
    font-size: 38px;
  }

  .hero-content h1 {
    font-size: 50px;
  }

  .hero-content h1,
  .hero-lead,
  .hero-facts {
    max-width: 680px;
  }

  .diagnostic-layout,
  .timeline-layout,
  .faq-layout {
    grid-template-columns: minmax(250px, 0.65fr) minmax(440px, 1.35fr);
    gap: 44px;
  }

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

  .loop-track {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
  }

  .loop-arrow {
    display: none;
  }

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

  .footer-disclaimer {
    grid-column: 1 / -1;
  }
}

@media (max-width: 820px) {
  body {
    font-size: 16px;
  }

  .container {
    width: min(calc(100% - 36px), var(--container));
  }

  h1 {
    font-size: 40px;
  }

  h2,
  .final-layout h2 {
    font-size: 34px;
  }

  .site-header {
    padding: 0 18px;
  }

  .menu-button {
    display: block;
  }

  .site-nav {
    position: fixed;
    inset: 76px 0 auto 0;
    display: none;
    padding: 24px 18px 28px;
    background: var(--dark);
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  }

  .site-nav.is-open {
    display: grid;
    gap: 18px;
  }

  .site-nav .button {
    margin-top: 8px;
  }

  .hero {
    min-height: auto;
  }

  .hero-content {
    padding-top: 122px;
    padding-bottom: 34px;
  }

  .hero-content h1 {
    font-size: 40px;
  }

  .hero-lead {
    font-size: 18px;
  }

  .hero-facts {
    grid-template-columns: 1fr;
  }

  .hero-facts li,
  .hero-facts li + li {
    padding: 13px 0;
    border-left: 0;
  }

  .hero-facts li + li {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
  }

  .problem-grid,
  .diagnostic-layout,
  .timeline-layout,
  .faq-layout,
  .truth-layout,
  .final-layout,
  .split-heading {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .problem-grid {
    gap: 16px;
  }

  .diagnostic-intro,
  .timeline-intro {
    position: static;
  }

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

  .loop-detail {
    grid-template-columns: 90px minmax(0, 1fr);
    gap: 24px;
    padding: 32px;
  }

  .detail-number {
    font-size: 60px;
  }

  .course-visual {
    height: 330px;
  }

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

  .income-grid article {
    min-height: 0;
  }

  .timeline li {
    grid-template-columns: 90px minmax(0, 1fr);
  }

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

  .footer-disclaimer {
    grid-column: auto;
  }
}

@media (max-width: 560px) {
  body {
    padding-bottom: 64px;
  }

  .container {
    width: min(calc(100% - 36px), var(--container));
  }

  h1 {
    font-size: 33px;
  }

  h2,
  .final-layout h2 {
    font-size: 30px;
  }

  h3 {
    font-size: 21px;
  }

  .brand small {
    max-width: 180px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .hero-content {
    padding-top: 112px;
  }

  .hero-content h1 {
    font-size: 33px;
  }

  .hero-content h1 br,
  .final-layout h2 br {
    display: none;
  }

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

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

  .hero-facts li,
  .hero-facts li + li {
    display: grid;
    place-items: center;
    min-height: 78px;
    padding: 10px 7px;
    border-top: 0;
    text-align: center;
  }

  .hero-facts li + li {
    border-left: 1px solid rgba(255, 255, 255, 0.12);
  }

  .hero-facts strong {
    margin: 0;
    font-size: 12px;
  }

  .hero-facts span {
    display: none;
  }

  .hero-note {
    font-size: 11px;
    line-height: 1.55;
  }

  .hero-actions .text-link {
    align-self: flex-start;
  }

  .problem-band,
  .diagnostic-section,
  .loop-section,
  .ecosystem-section,
  .income-paths,
  .timeline-section,
  .faq-section {
    padding: 82px 0;
  }

  .section-heading {
    margin-bottom: 38px;
  }

  .choice {
    grid-template-columns: 38px minmax(0, 1fr);
    min-height: 94px;
    padding: 14px;
  }

  .choice-index {
    width: 38px;
    height: 38px;
  }

  .path-result {
    padding: 26px 22px;
  }

  .path-result .button {
    width: 100%;
  }

  .loop-track {
    grid-template-columns: 1fr;
    gap: 10px;
    padding-bottom: 50px;
  }

  .loop-step {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    grid-template-rows: auto auto;
    min-height: 92px;
    padding: 16px;
  }

  .loop-index {
    grid-row: 1 / 3;
    align-self: center;
    margin: 0;
  }

  .loop-step strong,
  .loop-step small {
    grid-column: 2;
  }

  .loop-detail {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 24px 20px;
  }

  .detail-number {
    font-size: 44px;
  }

  .loop-detail h3 {
    font-size: 26px;
  }

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

  .course-visual {
    height: 230px;
  }

  .course-visual img {
    width: 150%;
    max-width: none;
    object-position: left top;
  }

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

  .timeline li {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .output {
    grid-column: 1;
  }

  .truth-section,
  .final-cta {
    padding: 76px 0;
  }

  .truth-layout {
    gap: 30px;
  }

  .faq-item button {
    padding: 20px 0;
    font-size: 17px;
  }

  .faq-answer {
    padding-right: 32px;
    padding-left: 0;
  }

  .final-actions .button {
    width: 100%;
  }

  .site-footer {
    padding-bottom: 50px;
  }

  .mobile-cta {
    position: fixed;
    z-index: 90;
    right: 10px;
    bottom: 10px;
    left: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 10px 18px;
    color: var(--dark);
    background: linear-gradient(135deg, var(--gold-2), var(--gold));
    border: 1px solid rgba(16, 23, 19, 0.28);
    border-radius: 999px;
    box-shadow: 0 10px 30px rgba(16, 23, 19, 0.3);
    font-weight: 700;
    text-decoration: none;
  }
}

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

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