:root {
  --bg0: #0b1110;
  --bg1: #0f1b18;
  --ink: #f6f2ea;
  --muted: rgba(246, 242, 234, 0.72);
  --muted2: rgba(246, 242, 234, 0.56);
  --line: rgba(246, 242, 234, 0.12);
  --line2: rgba(246, 242, 234, 0.18);

  --teal: #1f6f78;
  --sand: #f3e9dd;
  --copper: #c77b3f;
  --lime: #a9d18e;

  --shadow: 0 22px 60px rgba(0, 0, 0, 0.45);
  --shadow2: 0 14px 42px rgba(0, 0, 0, 0.35);

  --r: 18px;
  --r2: 28px;

  --font-display: "Fraunces", ui-serif, "Times New Roman", serif;
  --font-body: "Instrument Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "Fragment Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  --container: 1120px;
  --pad: clamp(18px, 3vw, 34px);
  --pad2: clamp(14px, 2vw, 22px);
}

* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-body);
  background: radial-gradient(1200px 720px at 15% 15%, rgba(31, 111, 120, 0.35), transparent 55%),
    radial-gradient(900px 540px at 90% 18%, rgba(199, 123, 63, 0.33), transparent 55%),
    radial-gradient(1000px 700px at 60% 110%, rgba(169, 209, 142, 0.16), transparent 60%),
    linear-gradient(180deg, var(--bg0) 0%, var(--bg1) 100%);
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(to right, rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 64px 64px;
  opacity: 0.3;
  mix-blend-mode: overlay;
}

body::after {
  content: "";
  position: fixed;
  inset: -20%;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='240' height='240' filter='url(%23n)' opacity='.18'/%3E%3C/svg%3E");
  background-size: 240px 240px;
  opacity: 0.16;
  mix-blend-mode: soft-light;
  transform: rotate(3deg);
}

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

.skip-link {
  position: absolute;
  left: 12px;
  top: 12px;
  padding: 10px 12px;
  border-radius: 999px;
  border: 1px solid var(--line2);
  background: rgba(15, 27, 24, 0.9);
  transform: translateY(-160%);
  transition: transform 160ms ease;
  z-index: 50;
}

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

.topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: blur(14px);
  background: rgba(10, 16, 15, 0.55);
  border-bottom: 1px solid var(--line);
}

.topbar__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 14px var(--pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand__mark {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  border: 1px solid var(--line2);
  background: radial-gradient(120% 120% at 20% 0%, rgba(31, 111, 120, 0.5), rgba(15, 27, 24, 0.7));
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.25);
  display: grid;
  place-items: center;
}

.brand__mark svg {
  width: 32px;
  height: 32px;
}

.brand__name {
  font-family: var(--font-mono);
  letter-spacing: 0.14em;
  font-size: 12px;
  opacity: 0.9;
}

.brand__tag {
  font-size: 13px;
  color: var(--muted);
  margin-top: 2px;
}

.topnav {
  display: flex;
  align-items: center;
  gap: 16px;
}

.topnav__link {
  font-size: 13px;
  color: var(--muted);
  padding: 8px 10px;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: border-color 160ms ease, color 160ms ease, background 160ms ease;
}

.topnav__link:hover {
  color: var(--ink);
  border-color: var(--line);
  background: rgba(246, 242, 234, 0.04);
}

.topbar__actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.scope-tabs {
  display: flex;
  align-items: center;
  padding: 4px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(246, 242, 234, 0.03);
}

.scope-tab {
  display: inline-flex;
  align-items: center;
  padding: 8px 11px;
  border-radius: 999px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
}

.scope-tab:hover {
  color: var(--ink);
}

.scope-tab.is-active,
.scope-tab[aria-current="page"] {
  color: var(--ink);
  background: rgba(246, 242, 234, 0.08);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

.lang {
  display: flex;
  align-items: center;
  padding: 4px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(246, 242, 234, 0.03);
}

.lang__btn {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--muted);
  padding: 8px 10px;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  cursor: pointer;
}

.lang__btn.is-active {
  color: var(--ink);
  background: rgba(246, 242, 234, 0.08);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(246, 242, 234, 0.03);
  color: var(--ink);
  font-size: 14px;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
  user-select: none;
}

.btn:hover {
  transform: translateY(-1px);
  border-color: rgba(246, 242, 234, 0.22);
  background: rgba(246, 242, 234, 0.06);
}

.btn--primary {
  border-color: rgba(31, 111, 120, 0.55);
  background: linear-gradient(180deg, rgba(31, 111, 120, 0.55), rgba(31, 111, 120, 0.18));
}

.btn--primary:hover {
  border-color: rgba(31, 111, 120, 0.85);
  background: linear-gradient(180deg, rgba(31, 111, 120, 0.7), rgba(31, 111, 120, 0.22));
}

.btn--soft {
  border-color: rgba(243, 233, 221, 0.22);
  background: linear-gradient(180deg, rgba(243, 233, 221, 0.11), rgba(243, 233, 221, 0.02));
  color: rgba(243, 233, 221, 0.95);
}

.btn--ghost {
  border-color: rgba(243, 233, 221, 0.16);
  background: transparent;
}

.btn__icon {
  font-family: var(--font-mono);
  opacity: 0.85;
}

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

.hero__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(1200px 540px at 55% -10%, rgba(243, 233, 221, 0.14), transparent 55%),
    radial-gradient(900px 520px at 25% 80%, rgba(31, 111, 120, 0.28), transparent 58%);
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 1), rgba(0, 0, 0, 0.2));
}

.hero__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 54px var(--pad) 52px;
  display: grid;
  grid-template-columns: 1.35fr 0.9fr;
  gap: clamp(20px, 3vw, 34px);
  align-items: start;
  position: relative;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(246, 242, 234, 0.03);
  color: var(--muted);
  font-size: 12px;
  white-space: nowrap;
}

.chip--mono {
  font-family: var(--font-mono);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.hero__title {
  font-family: var(--font-display);
  font-weight: 650;
  font-size: clamp(34px, 4.6vw, 62px);
  letter-spacing: -0.02em;
  line-height: 1.03;
  margin: 0;
}

.hero__accent {
  background: linear-gradient(90deg, rgba(243, 233, 221, 0.95), rgba(169, 209, 142, 0.92));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 0 22px rgba(169, 209, 142, 0.12);
}

.hero__subtitle {
  margin: 14px 0 18px;
  max-width: 62ch;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.55;
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.section__cta {
  margin-top: 16px;
}

.hero__panel {
  position: sticky;
  top: 86px;
}

.panel {
  border-radius: var(--r2);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(246, 242, 234, 0.05), rgba(246, 242, 234, 0.02));
  box-shadow: var(--shadow2);
  padding: 18px;
}

.panel__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.panel__kicker {
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 12px;
  color: var(--muted);
}

.panel__stamp {
  color: rgba(243, 233, 221, 0.9);
  border-color: rgba(243, 233, 221, 0.22);
}

.metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 14px;
}

.metric {
  border-radius: 16px;
  border: 1px solid rgba(246, 242, 234, 0.14);
  background: rgba(10, 16, 15, 0.45);
  padding: 12px 12px;
}

.metric__value {
  font-family: var(--font-display);
  font-size: 22px;
  letter-spacing: -0.01em;
}

.metric__label {
  margin-top: 4px;
  font-size: 12px;
  color: var(--muted2);
}

.panel__note {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.45;
  padding: 12px 12px;
  border-radius: 16px;
  border: 1px dashed rgba(246, 242, 234, 0.16);
  background: rgba(246, 242, 234, 0.02);
}

.panel__links {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 14px;
}

.mini-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 999px;
  border: 1px solid rgba(246, 242, 234, 0.14);
  background: rgba(10, 16, 15, 0.35);
  color: rgba(246, 242, 234, 0.9);
  font-size: 13px;
}

.mini-link:hover {
  border-color: rgba(246, 242, 234, 0.22);
  background: rgba(246, 242, 234, 0.05);
}

.section {
  padding: 58px 0;
}

.section__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--pad);
}

.section__head {
  margin-bottom: 18px;
}

.section__title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 640;
  font-size: clamp(24px, 3vw, 34px);
  letter-spacing: -0.02em;
}

.section__lead {
  margin: 10px 0 0;
  color: var(--muted);
  max-width: 75ch;
  line-height: 1.6;
}

.grid {
  display: grid;
  gap: 14px;
}

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

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

.grid--compliance {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-bottom: 18px;
}

.card {
  border-radius: var(--r);
  border: 1px solid rgba(246, 242, 234, 0.12);
  background: rgba(10, 16, 15, 0.35);
  padding: 16px 16px 15px;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.22);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: "";
  position: absolute;
  inset: -1px;
  background: radial-gradient(600px 220px at 40% 0%, rgba(31, 111, 120, 0.16), transparent 60%),
    radial-gradient(520px 200px at 95% 30%, rgba(199, 123, 63, 0.12), transparent 60%);
  opacity: 0.65;
  pointer-events: none;
}

.card > * {
  position: relative;
}

.card__meta {
  width: fit-content;
  margin-bottom: 10px;
}

.card__title {
  margin: 0;
  font-size: 16px;
  letter-spacing: -0.01em;
}

.card__text {
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.55;
}

.card--warning {
  border-color: rgba(199, 123, 63, 0.28);
}

.card--warning::before {
  background: radial-gradient(620px 240px at 40% 0%, rgba(199, 123, 63, 0.18), transparent 60%),
    radial-gradient(520px 220px at 95% 30%, rgba(243, 233, 221, 0.06), transparent 60%);
}

.section--split {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(246, 242, 234, 0.02), rgba(246, 242, 234, 0.01));
}

.split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 18px;
  align-items: start;
}

.kpi-tabs {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 4px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(246, 242, 234, 0.03);
  width: fit-content;
  margin-top: 14px;
}

.kpi-tab {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--muted);
  padding: 8px 11px;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
  cursor: pointer;
}

.kpi-tab:hover {
  color: var(--ink);
}

.kpi-tab.is-active {
  color: var(--ink);
  background: rgba(246, 242, 234, 0.08);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

.kpi-tab:focus-visible {
  outline: 2px solid rgba(169, 209, 142, 0.55);
  outline-offset: 2px;
}

.kpi-list {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.kpi-tabs + .kpi-list {
  margin-top: 12px;
}

.kpi {
  border-radius: 16px;
  border: 1px solid rgba(246, 242, 234, 0.12);
  background: rgba(10, 16, 15, 0.35);
  padding: 12px 12px;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.kpi__name {
  color: rgba(246, 242, 234, 0.92);
}

.kpi__value {
  font-family: var(--font-mono);
  color: rgba(169, 209, 142, 0.92);
}

.callout {
  margin-top: 14px;
  border-radius: var(--r);
  border: 1px solid rgba(169, 209, 142, 0.22);
  background: linear-gradient(180deg, rgba(169, 209, 142, 0.08), rgba(10, 16, 15, 0.25));
  padding: 14px 14px;
}

.callout__title {
  font-family: var(--font-mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 12px;
  color: rgba(169, 209, 142, 0.9);
}

.callout__text {
  margin-top: 8px;
  color: var(--muted);
  line-height: 1.55;
}

.board {
  border-radius: var(--r2);
  border: 1px solid rgba(246, 242, 234, 0.12);
  background: rgba(10, 16, 15, 0.35);
  box-shadow: var(--shadow2);
  padding: 16px;
}

.board__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.board__title {
  font-family: var(--font-display);
  font-size: 18px;
  letter-spacing: -0.01em;
}

.board__rows {
  display: grid;
  gap: 8px;
  margin-top: 8px;
}

.row {
  border-radius: 16px;
  border: 1px solid rgba(246, 242, 234, 0.12);
  background: rgba(246, 242, 234, 0.02);
  padding: 10px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.row__left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.row__pill {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(246, 242, 234, 0.12);
  color: rgba(246, 242, 234, 0.9);
  background: rgba(10, 16, 15, 0.45);
}

.row__text {
  color: var(--muted);
}

.row__right {
  color: rgba(243, 233, 221, 0.9);
}

.board__foot {
  margin-top: 10px;
  color: var(--muted2);
  line-height: 1.5;
  font-size: 13px;
}

.deliverable {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.deliverable__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.deliverable__name {
  font-family: var(--font-mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 12px;
  color: rgba(243, 233, 221, 0.9);
}

.deliverable__desc {
  color: var(--muted);
  line-height: 1.55;
  margin-top: 8px;
}

.deliverables-split {
  display: grid;
  gap: 18px;
  margin-top: 14px;
}

.deliverables-block__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.deliverables-block__title {
  margin: 0;
  font-family: var(--font-mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 12px;
  color: rgba(243, 233, 221, 0.92);
}

.deliverables-block__lead {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
  max-width: 74ch;
}

.deliverable__cta {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(169, 209, 142, 0.92);
  font-family: var(--font-mono);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-size: 12px;
}

.deliverable__cta span:last-child {
  opacity: 0.9;
}

.footer-cta {
  border-radius: var(--r2);
  border: 1px solid rgba(246, 242, 234, 0.12);
  background: linear-gradient(180deg, rgba(31, 111, 120, 0.18), rgba(10, 16, 15, 0.25));
  box-shadow: var(--shadow);
  padding: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.footer-cta__title {
  font-family: var(--font-display);
  font-size: 18px;
  letter-spacing: -0.01em;
}

.footer-cta__text {
  margin-top: 6px;
  color: var(--muted);
  line-height: 1.55;
}

.footer-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.footer {
  border-top: 1px solid var(--line);
  padding: 28px 0 36px;
}

.footer__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--pad);
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.footer__brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer__muted {
  color: var(--muted);
}

.footer__fine {
  margin-top: 10px;
  color: var(--muted2);
  line-height: 1.5;
  max-width: 68ch;
}

.footer__right {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.reveal {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 520ms cubic-bezier(0.2, 0.8, 0.2, 1), transform 520ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

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

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

@media (max-width: 980px) {
  .topnav {
    display: none;
  }
  .hero__inner {
    grid-template-columns: 1fr;
  }
  .hero__panel {
    position: static;
  }
  .grid--steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .grid--deliverables {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .grid--compliance {
    grid-template-columns: 1fr;
  }
  .split {
    grid-template-columns: 1fr;
  }
  .footer__inner {
    flex-direction: column;
    align-items: flex-start;
  }
  .footer__right {
    justify-content: flex-start;
  }
}

@media (max-width: 560px) {
  .topbar__inner {
    flex-wrap: wrap;
  }
  .scope-tabs {
    order: 1;
    width: 100%;
    justify-content: center;
  }
  .metrics {
    grid-template-columns: 1fr;
  }
  .grid--steps {
    grid-template-columns: 1fr;
  }
  .grid--deliverables {
    grid-template-columns: 1fr;
  }
  .footer-cta {
    flex-direction: column;
    align-items: flex-start;
  }
  .footer-cta__actions {
    justify-content: flex-start;
  }
}
