:root {
  --bg-soft: #f6f3ed;
  --bg-base: #fcfbf8;
  --bg-dark: #0b1726;
  --bg-dark-2: #132235;
  --surface: #ffffff;
  --line: #d8e0e7;
  --text-strong: #132235;
  --text-base: #455467;
  --text-soft: #67768a;
  --text-inverse: #f7f7f5;
  --teal: #0fa37f;
  --radius-lg: 28px;
  --radius-md: 20px;
  --radius-sm: 14px;
  --shadow-soft: 0 10px 24px rgba(19, 34, 53, 0.06);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "IBM Plex Sans", system-ui, sans-serif;
  background: var(--bg-base);
  color: var(--text-base);
  line-height: 1.75;
}

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

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

.wrapper {
  width: min(1100px, calc(100vw - 2rem));
  margin: 0 auto;
}

.narrow-wrapper {
  width: min(900px, calc(100vw - 2rem));
  margin: 0 auto;
}

.page-header,
.header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(11, 23, 38, 0.96);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(16px);
}

.page-header .wrapper,
.header .narrow-wrapper {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: inline-flex;
  gap: 0.85rem;
  align-items: center;
  color: #fff;
}

.logo-mark {
  width: 2.7rem;
  height: 2.7rem;
  border-radius: 0.95rem;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--teal), #1f3a5a);
  color: #fff;
  font-weight: 700;
}

.logo-copy span,
.logo-copy small {
  display: block;
}

.logo-copy span {
  font-weight: 600;
}

.logo-copy small {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.78rem;
}

.back-link {
  color: #eef8f4;
  font-weight: 600;
}

.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 18% 22%, rgba(15, 163, 127, 0.18), transparent 28%),
    radial-gradient(circle at 82% 18%, rgba(255, 255, 255, 0.08), transparent 24%),
    linear-gradient(180deg, var(--bg-dark), var(--bg-dark-2));
  color: var(--text-inverse);
  padding: 5rem 0 4.5rem;
}

.hero::before {
  content: "";
  position: absolute;
  inset: auto auto 18% 12%;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  filter: blur(8px);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.6), transparent 82%);
  pointer-events: none;
}

.hero .wrapper,
.hero .narrow-wrapper {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  text-align: left;
  padding-left: clamp(0rem, 12vw, 11.5rem);
}

.eyebrow {
  margin: 0 0 1rem;
  color: #8ee2cf;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.78rem;
  font-weight: 600;
}

h1,
h2 {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  color: inherit;
}

h1 {
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 1.06;
}

h2 {
  font-size: 1.35rem;
}

.hero h1 {
  max-width: 15ch;
}

.lead {
  max-width: 78ch;
  margin: 1.15rem 0 0;
  color: rgba(247, 247, 245, 0.82);
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 0.7rem;
  margin-top: 1.5rem;
}

.hero-meta span {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  padding: 0.2rem 0.8rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
}

.section,
.content {
  padding: 4.5rem 0;
}

.section-alt {
  background: var(--bg-soft);
}

.grid {
  display: grid;
  gap: 1.2rem;
  grid-template-columns: 1.2fr 0.9fr;
  align-items: start;
}

.three-grid {
  display: grid;
  gap: 1.2rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.stack {
  display: grid;
  gap: 1rem;
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  padding: 2rem;
}

.card h2 {
  color: var(--text-strong);
  margin-bottom: 0.85rem;
}

.card p,
.card ul,
.card ol {
  margin: 0 0 1rem;
}

.card p:last-child {
  margin-bottom: 0;
}

.card ul,
.card ol {
  padding-left: 1.35rem;
}

.image-card img {
  border-radius: calc(var(--radius-lg) - 8px);
  border: 1px solid var(--line);
}

.mini-kicker {
  margin: 0 0 0.7rem;
  color: var(--teal);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 0.8rem;
  margin-top: 1.4rem;
}

.page-list {
  margin: 0;
  padding-left: 1.1rem;
}

.page-list li + li {
  margin-top: 0.55rem;
}

.metric-list {
  display: grid;
  gap: 0.85rem;
}

.metric {
  padding: 1rem;
  border-radius: var(--radius-md);
  background: #f7fafb;
  border: 1px solid var(--line);
}

.metric strong {
  display: block;
  color: var(--text-strong);
  margin-bottom: 0.25rem;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.4rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0.9rem 1.4rem;
  border-radius: 999px;
  font-weight: 600;
}

.btn.primary {
  background: var(--teal);
  color: #062119;
}

.btn.ghost {
  border: 1px solid var(--line);
  color: var(--text-strong);
  background: #fff;
}

.effective {
  color: var(--text-soft);
  margin-bottom: 2rem;
}

.footer {
  border-top: 1px solid var(--line);
  padding: 1.5rem 0;
  color: var(--text-soft);
  text-align: center;
  font-size: 0.9rem;
}

.footer.dark {
  background: var(--bg-dark);
  border-top: none;
  color: rgba(247, 247, 245, 0.78);
  padding: 2rem 0;
}

.not-found-shell {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 1.25rem;
  background: linear-gradient(180deg, var(--bg-dark), var(--bg-dark-2));
  color: var(--text-inverse);
}

.not-found-card {
  width: min(680px, 100%);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  padding: 2rem;
  text-align: center;
  backdrop-filter: blur(18px);
}

.not-found-card p {
  margin: 0 auto 1.25rem;
  max-width: 42ch;
  color: rgba(247, 247, 245, 0.8);
}

@media (max-width: 780px) {
  .hero .wrapper,
  .hero .narrow-wrapper {
    padding-left: 0;
  }

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

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

  .page-header .wrapper,
  .header .narrow-wrapper {
    gap: 1rem;
    flex-direction: column;
    padding: 1rem 0;
  }

  .card {
    padding: 1.35rem;
  }
}
