:root {
  color-scheme: light;
  --bg: #f4f6f1;
  --bg-2: #eef1eb;
  --panel: rgba(255, 255, 255, 0.9);
  --panel-strong: #ffffff;
  --hero: #07110d;
  --hero-2: #0b1712;
  --text: #0f1713;
  --text-soft: #5f6b65;
  --text-on-dark: #eef5f1;
  --line: rgba(15, 23, 19, 0.1);
  --line-strong: rgba(255, 255, 255, 0.12);
  --accent: #2f8d6d;
  --accent-soft: rgba(47, 141, 109, 0.14);
  --accent-strong: #1e7b5c;
  --shadow: 0 24px 64px rgba(14, 22, 18, 0.08);
  --shadow-strong: 0 28px 80px rgba(0, 0, 0, 0.24);
  --radius-lg: 28px;
  --radius-md: 22px;
  --radius-sm: 16px;
  --container: 1180px;
  --section-pad: clamp(76px, 9vw, 128px);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Avenir Next", "Avenir", "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 14% 4%, rgba(47, 141, 109, 0.08), transparent 24%),
    radial-gradient(circle at 85% 10%, rgba(14, 22, 18, 0.05), transparent 22%),
    linear-gradient(180deg, var(--bg) 0%, #f1f4ee 100%);
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  opacity: 0.5;
  background-image:
    linear-gradient(rgba(15, 23, 19, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 23, 19, 0.03) 1px, transparent 1px);
  background-size: 120px 120px;
}

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

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

.page-shell {
  min-height: 100vh;
}

.topbar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 22px clamp(18px, 3vw, 34px);
  color: var(--text-on-dark);
  pointer-events: none;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  pointer-events: auto;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #2f8d6d;
  box-shadow: none;
  flex: 0 0 auto;
}

.brand-mark svg {
  width: 36px;
  height: 36px;
}

.brand-name {
  font-size: 1.08rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.04em;
}

.brand-subtitle {
  margin-top: 5px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(238, 245, 241, 0.62);
}

.section {
  position: relative;
  width: 100%;
  padding: var(--section-pad) 0;
  scroll-margin-top: 92px;
}

.hero {
  overflow: hidden;
  padding: clamp(118px, 12vw, 150px) 0 var(--section-pad);
  color: var(--text-on-dark);
  background:
    radial-gradient(circle at 82% 10%, rgba(47, 141, 109, 0.2), transparent 26%),
    radial-gradient(circle at 10% 20%, rgba(255, 255, 255, 0.06), transparent 24%),
    linear-gradient(180deg, var(--hero) 0%, var(--hero-2) 100%);
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.hero::before {
  right: -11rem;
  top: -12rem;
  width: 36rem;
  height: 36rem;
  background: radial-gradient(circle, rgba(47, 141, 109, 0.18), transparent 68%);
  filter: blur(10px);
}

.hero::after {
  left: -8rem;
  bottom: -12rem;
  width: 28rem;
  height: 28rem;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.07), transparent 66%);
}

.hero-grid,
.section-shell {
  width: min(var(--container), calc(100% - 2 * clamp(18px, 3vw, 34px)));
  margin: 0 auto;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
}

.eyebrow {
  margin: 0 0 16px;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: rgba(238, 245, 241, 0.7);
}

.eyebrow.mint {
  color: rgba(47, 141, 109, 0.88);
}

.hero h1,
.section-head h2,
.close-copy h2 {
  margin: 0;
  font-weight: 700;
  line-height: 0.98;
  letter-spacing: -0.05em;
}

.hero h1 {
  max-width: 11ch;
  font-size: clamp(3.6rem, 7.8vw, 7rem);
}

.hero h1::after {
  content: ".";
  color: var(--accent);
}

.lede,
.section-copy,
.workflow-item p,
.panel-item p,
.lesson-card small,
.library-table td,
.metric-card span,
.footer {
  line-height: 1.6;
  font-size: 1rem;
}

.lede {
  max-width: 37rem;
  margin: 26px 0 0;
  color: rgba(238, 245, 241, 0.76);
  font-size: clamp(1.08rem, 1.8vw, 1.24rem);
}

.hero-points {
  display: grid;
  gap: 10px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.hero-points li {
  position: relative;
  padding-left: 18px;
  color: rgba(238, 245, 241, 0.74);
}

.hero-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

.hero-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-top: 32px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  color: #edf7f1;
}

.hero-note {
  color: rgba(238, 245, 241, 0.5);
  font-size: 0.88rem;
}

.strategy-strip {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 26px;
}

.strategy-card {
  padding: 16px 16px 15px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.05);
}

.strategy-card.is-strong {
  background: rgba(47, 141, 109, 0.14);
  border-color: rgba(47, 141, 109, 0.18);
}

.strategy-card span {
  display: inline-flex;
  align-items: center;
  padding: 5px 9px;
  border-radius: 999px;
  background: rgba(47, 141, 109, 0.12);
  color: #dff3ea;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.stage-label {
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border-radius: 999px;
  background: #0f1713;
  color: #ffffff;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.strategy-card strong {
  display: block;
  margin: 10px 0 6px;
  font-size: 1rem;
  line-height: 1.3;
  color: #f5faf7;
}

.strategy-card small {
  display: block;
  color: rgba(238, 245, 241, 0.66);
  line-height: 1.55;
}

.hero-visual {
  position: relative;
  min-height: 620px;
}

.wind-watermark {
  position: absolute;
  inset: 0 auto auto 0;
  width: min(100%, 520px);
  opacity: 0.55;
  animation: drift 16s var(--ease) infinite alternate;
  pointer-events: none;
}

.wind-watermark svg {
  width: 100%;
  height: auto;
}

.wind-watermark line,
.wind-watermark path,
.wind-watermark circle {
  stroke: rgba(255, 255, 255, 0.13);
  stroke-width: 2.5;
  fill: none;
}

.wind-watermark circle {
  fill: rgba(255, 255, 255, 0.09);
}

.hero-window {
  position: absolute;
  right: 0;
  top: 28px;
  width: min(100%, 560px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 30px;
  background:
    linear-gradient(180deg, rgba(13, 19, 16, 0.94), rgba(8, 13, 11, 0.96)),
    rgba(7, 17, 13, 0.92);
  box-shadow: var(--shadow-strong);
  overflow: hidden;
}

.window-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(238, 245, 241, 0.62);
  font-size: 0.82rem;
  background: rgba(255, 255, 255, 0.02);
}

.status-pill {
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(47, 141, 109, 0.24);
  background: rgba(47, 141, 109, 0.12);
  color: #dff3ea;
  font-size: 0.72rem;
  white-space: nowrap;
}

.window-body {
  display: grid;
  gap: 16px;
  padding: 18px;
  min-height: 520px;
}

.board-label {
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(47, 141, 109, 0.14);
  color: #dff3ea;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.board-focus {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(180px, 0.75fr);
  gap: 14px;
  align-items: stretch;
  padding: 18px;
  border-radius: 24px;
  background:
    radial-gradient(circle at 82% 16%, rgba(47, 141, 109, 0.16), transparent 24%),
    rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(47, 141, 109, 0.18);
}

.board-focus-copy {
  min-width: 0;
}

.board-focus-copy strong {
  display: block;
  margin: 16px 0 12px;
  color: #f6fbf8;
  font-size: 1.14rem;
  line-height: 1.3;
}

.board-focus-copy p {
  margin: 0;
  color: rgba(238, 245, 241, 0.72);
  line-height: 1.6;
}

.board-action {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 10px;
  padding: 18px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.board-action-label,
.board-summary-label {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(47, 141, 109, 0.14);
  color: #dff3ea;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.board-action strong,
.board-summary-item strong {
  display: block;
  margin: 12px 0 0;
  color: #f6fbf8;
  font-size: 1.14rem;
  line-height: 1.3;
}

.board-action small {
  color: rgba(238, 245, 241, 0.68);
  line-height: 1.55;
}

.board-route {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.board-route span {
  padding: 8px 11px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
  color: rgba(238, 245, 241, 0.62);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.board-route .is-active {
  background: rgba(47, 141, 109, 0.16);
  border-color: rgba(47, 141, 109, 0.26);
  color: #eff8f3;
}

.board-summary {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.board-summary-item {
  padding: 16px 18px 17px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.section-soft {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.55), rgba(255, 255, 255, 0.72));
}

.section-band {
  background:
    radial-gradient(circle at 84% 10%, rgba(47, 141, 109, 0.08), transparent 22%),
    linear-gradient(180deg, rgba(236, 240, 234, 0.9), rgba(241, 244, 239, 0.96));
}

.section-dark {
  color: var(--text-on-dark);
  background:
    radial-gradient(circle at 15% 16%, rgba(47, 141, 109, 0.12), transparent 24%),
    radial-gradient(circle at 86% 12%, rgba(255, 255, 255, 0.06), transparent 22%),
    linear-gradient(180deg, var(--hero) 0%, var(--hero-2) 100%);
}

.section-head {
  max-width: 50rem;
  margin: 0 0 34px;
}

.section-head h2,
.close-copy h2 {
  font-size: clamp(2.5rem, 5vw, 4.8rem);
  color: inherit;
}

.section-copy {
  margin: 18px 0 0;
  color: var(--text-soft);
}

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

.lifecycle-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.stage-card {
  padding: 22px;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--shadow);
}

.stage-card strong {
  display: block;
  margin: 12px 0 10px;
  font-size: 1.12rem;
  line-height: 1.25;
  color: var(--text);
}

.stage-card p {
  margin: 0;
  color: var(--text-soft);
}

.capability-card,
.workflow-panel,
.library-shell,
.metric-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--panel);
  box-shadow: var(--shadow);
}

.capability-card {
  padding: 26px;
}

.capability-index {
  display: inline-block;
  margin-bottom: 34px;
  font-size: 1.9rem;
  font-weight: 700;
  letter-spacing: -0.06em;
  color: var(--accent);
}

.capability-card h3,
.workflow-item strong,
.panel-item strong,
.library-toolbar strong {
  margin: 0;
  font-size: 1.16rem;
  line-height: 1.2;
  color: var(--text);
}

.capability-card p,
.workflow-item p,
.panel-item p {
  margin: 12px 0 0;
  color: var(--text-soft);
}

.split-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) minmax(0, 1.06fr);
  gap: 28px;
  align-items: start;
}

.workflow-list {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.workflow-item {
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  padding: 18px 0;
  border-top: 1px solid var(--line);
}

.workflow-item:first-child {
  border-top: 0;
}

.workflow-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 17px;
  background: rgba(47, 141, 109, 0.12);
  color: var(--accent-strong);
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.workflow-panel {
  overflow: hidden;
}

.panel-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 18px;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(248, 250, 246, 0.98));
  color: var(--text-soft);
  font-size: 0.84rem;
}

.panel-grid {
  display: grid;
  gap: 12px;
  padding: 18px;
}

.panel-item {
  padding: 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(15, 23, 19, 0.08);
}

.panel-item.is-active {
  background: rgba(47, 141, 109, 0.1);
  border-color: rgba(47, 141, 109, 0.18);
}

.panel-step-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.panel-number {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: #0f1713;
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 800;
}

.panel-label {
  display: inline-block;
  color: var(--accent-strong);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.library-shell {
  overflow: hidden;
}

.library-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 16px 18px;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(248, 250, 246, 0.98));
  color: var(--text-soft);
}

.filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 14px 18px 0;
}

.filter-chip {
  display: inline-flex;
  align-items: center;
  padding: 8px 11px;
  border-radius: 999px;
  border: 1px solid rgba(15, 23, 19, 0.09);
  background: rgba(255, 255, 255, 0.8);
  color: var(--text-soft);
  font-size: 0.8rem;
}

.library-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 14px;
}

.library-table th,
.library-table td {
  padding: 14px 18px;
  text-align: left;
  border-top: 1px solid rgba(15, 23, 19, 0.08);
  font-size: 0.94rem;
}

.library-table th {
  color: var(--text-soft);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.library-table td {
  color: var(--text);
}

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

.metric-card {
  padding: 28px;
}

.metric-card strong {
  display: block;
  margin-bottom: 10px;
  font-size: clamp(1.9rem, 2.8vw, 3.2rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
  color: var(--accent);
}

.metric-card span {
  color: var(--text-soft);
  line-height: 1.55;
}

.close-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.84fr);
  gap: 28px;
  align-items: end;
  min-height: 42vh;
}

.close-copy p {
  max-width: 34rem;
  margin: 0;
  color: rgba(238, 245, 241, 0.76);
}

.footer {
  width: min(var(--container), calc(100% - 2 * clamp(18px, 3vw, 34px)));
  margin: 56px auto 0;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  color: rgba(238, 245, 241, 0.58);
  font-size: 0.88rem;
}

.footer a {
  color: rgba(238, 245, 241, 0.9);
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 680ms var(--ease),
    transform 680ms var(--ease);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}

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

@keyframes drift {
  from {
    transform: translate3d(0, 0, 0) rotate(-2deg);
  }
  to {
    transform: translate3d(0, 10px, 0) rotate(0deg);
  }
}

@media (max-width: 1080px) {
  .hero-grid,
  .split-layout,
  .close-grid,
  .capability-grid,
  .lifecycle-grid,
  .metric-grid {
    grid-template-columns: 1fr;
  }

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

  .workflow-panel {
    order: -1;
  }

  .board-focus {
    grid-template-columns: 1fr;
  }

  .board-summary {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 860px) {
  .topbar {
    gap: 14px;
  }

  .hero {
    padding-top: 112px;
  }

  .hero h1 {
    max-width: 10ch;
    font-size: clamp(3rem, 12vw, 5.3rem);
  }

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

  .window-body {
    min-height: 0;
  }

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

@media (max-width: 560px) {
  .topbar {
    padding: 14px 16px;
  }

  .brand-mark {
    width: 48px;
    height: 48px;
    border-radius: 16px;
  }

  .brand-mark svg {
    width: 32px;
    height: 32px;
  }

  .brand-name {
    font-size: 1rem;
  }

  .brand-subtitle {
    font-size: 0.66rem;
  }

  .section {
    padding: 66px 0;
  }

  .hero {
    padding: 98px 0 66px;
  }

  .hero-grid,
  .section-shell,
  .footer {
    width: calc(100% - 32px);
  }

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

  .hero-window {
    top: 12px;
    border-radius: 24px;
  }

  .window-topbar,
  .panel-topbar,
  .library-toolbar {
    padding: 14px 16px;
  }

  .window-body {
    padding: 14px;
    gap: 12px;
  }

  .hero-links {
    gap: 12px;
  }

  .text-link {
    font-size: 0.96rem;
  }

  .capability-card,
  .metric-card,
  .stage-card,
  .workflow-panel,
  .library-shell {
    border-radius: 22px;
  }

  .capability-card,
  .metric-card {
    padding: 22px;
  }

  .library-table th,
  .library-table td {
    padding: 12px 14px;
    font-size: 0.82rem;
  }

  .panel-grid {
    padding: 14px;
  }

  .panel-item,
  .lesson-card {
    padding: 14px;
  }

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

  .board-focus {
    padding: 16px;
  }

  .board-action,
  .board-summary-item {
    padding: 14px;
  }

  .footer {
    margin-top: 48px;
  }
}

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

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

  [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
  }
}
