:root {
  --background: #07110d;
  --foreground: #f2f7f4;
  --card: #0c1b14;
  --card-foreground: #f2f7f4;
  --popover: #0c1b14;
  --popover-foreground: #f2f7f4;
  --primary: #92ff68;
  --primary-foreground: #07110d;
  --secondary: #13261c;
  --secondary-foreground: #f2f7f4;
  --muted: #13261c;
  --muted-foreground: #9db2a5;
  --accent: #b9ffe0;
  --accent-foreground: #07110d;
  --destructive: #ff6b6b;
  --border: #244232;
  --input: #244232;
  --ring: #92ff68;
  --radius: 1rem;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--background);
  color: var(--foreground);
  font-family: Arial, Helvetica, sans-serif;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

.site-shell {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  background:
    linear-gradient(rgba(146, 255, 104, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(146, 255, 104, 0.045) 1px, transparent 1px),
    #07110d;
  background-size: 64px 64px;
}

.site-shell::before {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(180deg, rgba(7, 17, 13, 0) 0%, #07110d 54%, #07110d 100%);
  content: "";
  pointer-events: none;
}

.ambient {
  position: absolute;
  z-index: 0;
  width: 34rem;
  height: 34rem;
  border-radius: 999px;
  filter: blur(110px);
  opacity: 0.15;
  pointer-events: none;
}

.ambient-one {
  top: -14rem;
  right: -7rem;
  background: #92ff68;
}

.ambient-two {
  top: 27rem;
  left: -20rem;
  background: #37dbe3;
}

.page-frame {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 104px;
  border-bottom: 1px solid rgba(185, 255, 224, 0.18);
}

.wordmark {
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: -0.06em;
  text-decoration: none;
}

.wordmark span {
  color: #92ff68;
}

.status-pill {
  display: inline-flex;
  gap: 0.65rem;
  align-items: center;
  min-height: 38px;
  padding: 0.55rem 0.9rem;
  border: 1px solid rgba(146, 255, 104, 0.3);
  border-radius: 999px;
  background: rgba(12, 27, 20, 0.72);
  color: #d7e8dc;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  backdrop-filter: blur(12px);
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #92ff68;
  box-shadow: 0 0 0 6px rgba(146, 255, 104, 0.08);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(290px, 0.65fr);
  gap: clamp(3rem, 8vw, 7rem);
  align-items: end;
  padding: clamp(5.5rem, 11vw, 9.5rem) 0 clamp(6rem, 11vw, 9rem);
}

.eyebrow {
  margin: 0 0 1.4rem;
  color: #92ff68;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 850px;
  margin: 0;
  font-size: clamp(3.7rem, 8.6vw, 8.1rem);
  font-weight: 760;
  line-height: 0.9;
  letter-spacing: -0.075em;
}

.hero h1 span {
  color: #92ff68;
}

.hero-lead {
  max-width: 760px;
  margin: 2.3rem 0 0;
  color: #b8c9bf;
  font-size: clamp(1.05rem, 1.8vw, 1.28rem);
  line-height: 1.72;
}

.stage-card {
  padding: 1.5rem;
  border: 1px solid rgba(185, 255, 224, 0.2);
  border-radius: 1.35rem;
  background: linear-gradient(145deg, rgba(19, 38, 28, 0.9), rgba(9, 23, 16, 0.78));
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(18px);
}

.stage-topline {
  display: flex;
  justify-content: space-between;
  color: #8fa499;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.stage-content {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 1rem;
  align-items: start;
  margin: 2.6rem 0 2.2rem;
}

.stage-mark {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 50%;
  background: #92ff68;
  color: #07110d;
  font-size: 1rem;
  font-weight: 900;
}

.stage-content h2 {
  margin: 0 0 0.65rem;
  font-size: 1.15rem;
  letter-spacing: -0.025em;
}

.stage-content p {
  margin: 0;
  color: #9eb1a5;
  font-size: 0.94rem;
  line-height: 1.6;
}

.stage-progress {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 7px;
}

.stage-progress span {
  height: 3px;
  border-radius: 999px;
  background: #294637;
}

.stage-progress .active {
  background: #92ff68;
}

.principles-section {
  padding: 0 0 clamp(6rem, 11vw, 9rem);
}

.section-heading {
  display: grid;
  grid-template-columns: 0.8fr 1.6fr;
  gap: 2rem;
  align-items: start;
  padding-top: 2.5rem;
  border-top: 1px solid rgba(185, 255, 224, 0.18);
}

.section-heading h2 {
  max-width: 620px;
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.7rem);
  line-height: 1.05;
  letter-spacing: -0.055em;
}

.principles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: 4.5rem;
  overflow: hidden;
  border: 1px solid rgba(185, 255, 224, 0.16);
  border-radius: 1.4rem;
  background: rgba(185, 255, 224, 0.16);
}

.principle-card {
  min-height: 290px;
  padding: 2rem;
  background: rgba(9, 23, 16, 0.92);
}

.principle-number {
  display: block;
  margin-bottom: 5.2rem;
  color: #92ff68;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.15em;
}

.principle-card h3 {
  margin: 0 0 0.85rem;
  font-size: 1.45rem;
  letter-spacing: -0.04em;
}

.principle-card p {
  margin: 0;
  color: #9eb1a5;
  font-size: 0.98rem;
  line-height: 1.65;
}

.working-note {
  display: grid;
  grid-template-columns: 0.35fr 1.15fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  padding: clamp(2.5rem, 5vw, 4.5rem);
  border-radius: 1.5rem;
  background: #92ff68;
  color: #07110d;
}

.note-index {
  font-size: clamp(4rem, 8vw, 7rem);
  font-weight: 800;
  line-height: 0.8;
  letter-spacing: -0.08em;
  opacity: 0.26;
}

.working-note .eyebrow {
  color: #20442e;
}

.note-copy h2 {
  margin: 0 0 1.3rem;
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 1.03;
  letter-spacing: -0.055em;
}

.note-copy > p:last-child {
  max-width: 570px;
  margin: 0;
  color: #244532;
  font-size: 1rem;
  line-height: 1.65;
}

.note-list {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.note-list li {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 0.8rem;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(7, 17, 13, 0.2);
  font-size: 0.98rem;
  font-weight: 650;
  line-height: 1.45;
}

.note-list li:last-child {
  border-bottom: 0;
}

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

.site-footer {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 3rem;
  align-items: end;
  padding: 3.5rem 0 2.5rem;
  color: #80968a;
  font-size: 0.78rem;
  line-height: 1.65;
}

.site-footer p {
  max-width: 630px;
  margin: 0;
}

.site-footer div {
  display: flex;
  gap: 1.5rem;
  justify-content: flex-end;
}

@media (max-width: 820px) {
  .page-frame {
    width: min(100% - 32px, 680px);
  }

  .site-header {
    min-height: 84px;
  }

  .status-pill {
    padding: 0.5rem 0.7rem;
    font-size: 0.66rem;
  }

  .hero {
    grid-template-columns: 1fr;
    align-items: start;
    padding-top: 5rem;
  }

  .hero h1 {
    font-size: clamp(3.5rem, 16vw, 6rem);
  }

  .stage-card {
    max-width: 520px;
  }

  .section-heading,
  .working-note,
  .site-footer {
    grid-template-columns: 1fr;
  }

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

  .principle-card {
    min-height: 235px;
  }

  .principle-number {
    margin-bottom: 3.2rem;
  }

  .working-note {
    gap: 2.5rem;
  }

  .note-index {
    font-size: 4.5rem;
  }

  .site-footer div {
    flex-direction: column;
    gap: 0.2rem;
  }
}

@media (max-width: 480px) {
  .page-frame {
    width: min(100% - 24px, 680px);
  }

  .wordmark {
    font-size: 1.25rem;
  }

  .status-pill {
    letter-spacing: 0.05em;
  }

  .hero {
    padding: 4rem 0 5.5rem;
  }

  .hero h1 {
    letter-spacing: -0.07em;
  }

  .hero-lead {
    margin-top: 1.75rem;
  }

  .principles-grid {
    margin-top: 3rem;
  }

  .working-note {
    padding: 2rem 1.4rem;
  }
}

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