﻿:root {
  --ink: #111827;
  --text: #243041;
  --muted: #657084;
  --line: #d9e1ea;
  --paper: #f6f8fb;
  --panel: #ffffff;
  --soft: #edf3f7;
  --accent: #087f75;
  --accent-dark: #075f59;
  --accent-soft: #def4f1;
  --gold: #ad741b;
  --shadow: 0 16px 40px rgba(16, 24, 40, .08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
  padding: 0 5vw;
  background: rgba(255, 255, 255, .94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-weight: 850;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: var(--accent);
  color: #fff;
  font-size: 13px;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 4px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 720;
}

.nav a {
  padding: 9px 11px;
  border-radius: 8px;
}

.nav a:hover {
  background: var(--soft);
  color: var(--ink);
}

.home-hero,
.page-hero {
  padding: 72px 5vw 58px;
  border-bottom: 1px solid var(--line);
}

.home-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, .85fr);
  gap: 32px;
  align-items: center;
  min-height: 620px;
  background:
    radial-gradient(circle at 82% 16%, rgba(8, 127, 117, .16), transparent 28%),
    linear-gradient(135deg, #ffffff 0%, #edf4f6 100%);
}

.page-hero {
  background: linear-gradient(180deg, #ffffff 0%, #eef3f7 100%);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 16px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
}

.eyebrow:before {
  content: "";
  width: 28px;
  height: 2px;
  background: currentColor;
}

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

h1 {
  max-width: 900px;
  color: var(--ink);
  font-size: clamp(42px, 7vw, 82px);
  line-height: .98;
  letter-spacing: 0;
}

h2 {
  color: var(--ink);
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.08;
}

h3 {
  color: var(--ink);
  font-size: 22px;
  line-height: 1.2;
}

p {
  max-width: 820px;
  line-height: 1.7;
}

.page-hero p,
.home-hero p {
  font-size: 18px;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid var(--accent);
  border-radius: 8px;
  background: var(--accent);
  color: #fff;
  font-weight: 820;
}

.button.secondary {
  border-color: var(--line);
  background: #fff;
  color: var(--ink);
}

.proof-panel,
.rank-card,
.category-card,
.pillar-block,
.profile-card,
.check-grid div,
table {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.proof-panel {
  padding: 28px;
}

.proof-panel span {
  color: var(--accent);
  font-size: 13px;
  font-weight: 850;
  text-transform: uppercase;
}

.mini-proof,
.proof-grid {
  display: grid;
  gap: 10px;
  margin: 18px 0 0;
}

.mini-proof div,
.proof-grid div {
  padding: 12px;
  border-radius: 8px;
  background: #f8fafc;
  border: 1px solid #e5ebf1;
}

dt {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

dd {
  margin: 4px 0 0;
  color: var(--ink);
}

.section {
  padding: 70px 5vw;
}

.section.alt {
  background: #edf3f7;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section.compact {
  padding-top: 52px;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 26px;
}

.section-head p {
  max-width: 620px;
  color: var(--muted);
}

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

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

.category-card {
  min-height: 142px;
  padding: 20px;
  transition: transform .18s ease, border-color .18s ease;
}

.category-card:hover {
  transform: translateY(-2px);
  border-color: rgba(8, 127, 117, .42);
}

.category-card strong {
  display: block;
  margin-bottom: 8px;
  color: var(--ink);
  font-size: 18px;
}

.category-card span {
  color: var(--muted);
  line-height: 1.55;
}

.rank-list {
  display: grid;
  gap: 14px;
}

.rank-card {
  display: grid;
  grid-template-columns: 68px 1fr;
  gap: 18px;
  padding: 20px;
}

.rank-card p {
  margin-bottom: 14px;
}

.rank-number {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  border-radius: 8px;
  background: var(--accent-soft);
  color: var(--accent-dark);
  font-weight: 900;
}

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

.pillar-list,
.profile-grid {
  display: grid;
  gap: 18px;
}

.pillar-block {
  display: grid;
  grid-template-columns: minmax(260px, .55fr) 1fr;
  gap: 20px;
  padding: 22px;
}

.pillar-block h2 {
  margin-bottom: 8px;
  font-size: 28px;
}

.child-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-content: start;
}

.child-links a {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 11px;
  border: 1px solid #c9dedb;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-dark);
  font-size: 13px;
  font-weight: 760;
}

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

.check-grid div {
  padding: 20px;
}

.check-grid strong {
  display: block;
  margin-bottom: 8px;
  color: var(--ink);
}

.check-grid span {
  color: var(--muted);
  line-height: 1.55;
}

.compare {
  overflow-x: auto;
}

table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
  overflow: hidden;
}

th,
td {
  padding: 16px;
  border-bottom: 1px solid var(--line);
  text-align: left;
}

th {
  background: var(--soft);
  color: var(--ink);
  font-size: 13px;
  text-transform: uppercase;
}

.profile-card {
  padding: 22px;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 38px 5vw;
  color: #d8e0e8;
  background: #101820;
}

.footer .brand {
  color: #fff;
}

.footer .brand-mark {
  background: #fff;
  color: var(--accent-dark);
}

.footer p {
  margin-bottom: 0;
  color: #aeb8c4;
}

.footer-links {
  display: grid;
  gap: 10px;
  color: #fff;
}

@media (max-width: 1100px) {
  .category-grid,
  .check-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .site-header,
  .footer,
  .section-head,
  .pillar-block,
  .home-hero {
    align-items: start;
    grid-template-columns: 1fr;
    flex-direction: column;
  }

  .nav {
    justify-content: flex-start;
  }

  .proof-grid,
  .category-grid,
  .child-grid,
  .check-grid {
    grid-template-columns: 1fr;
  }

  .rank-card {
    grid-template-columns: 52px 1fr;
  }
}

@media (max-width: 520px) {
  .site-header,
  .home-hero,
  .page-hero,
  .section,
  .footer {
    padding-left: 22px;
    padding-right: 22px;
  }

  h1 {
    font-size: 40px;
  }
}
