:root {
  --ink: #202124;
  --muted: #5d646b;
  --line: #dfe3e6;
  --paper: #ffffff;
  --soft: #f5f7f2;
  --green: #1f6b4c;
  --amber: #b35c00;
  --red: #9f2d2d;
  --blue: #245c73;
  --shadow: 0 16px 40px rgba(35, 39, 42, .12);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}

a {
  color: inherit;
}

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

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 20;
  padding: .75rem 1rem;
  background: var(--ink);
  color: white;
}

.skip-link:focus {
  top: 1rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, .96);
  backdrop-filter: blur(12px);
}

.nav,
.footer {
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
}

.nav {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  text-decoration: none;
  font-weight: 750;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: var(--green);
  color: white;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: .4rem;
}

.nav-links a,
.nav-menu summary {
  border-radius: 8px;
  padding: .65rem .85rem;
  color: var(--muted);
  text-decoration: none;
  font-weight: 650;
}

.nav-links a:hover,
.nav-links a:focus-visible,
.nav-menu summary:focus-visible {
  color: var(--ink);
  outline: 2px solid var(--green);
  outline-offset: 2px;
}

.nav-menu {
  display: none;
  position: relative;
}

.nav-menu summary {
  cursor: pointer;
  list-style: none;
  border: 1px solid var(--line);
}

.nav-menu .nav-links {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  min-width: 230px;
  display: grid;
  padding: .5rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  box-shadow: var(--shadow);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 52%);
  gap: 2rem;
  align-items: center;
  width: min(1160px, calc(100% - 32px));
  min-height: calc(100svh - 96px);
  margin: 0 auto;
  padding: 3rem 0;
}

.hero h1,
.page-header h1,
.section-heading h2 {
  margin: 0;
  letter-spacing: 0;
  line-height: 1.05;
}

.hero h1 {
  max-width: 720px;
  font-size: clamp(2.4rem, 6vw, 5.2rem);
}

.page-header h1 {
  font-size: clamp(2.1rem, 5vw, 4rem);
}

.section-heading h2,
.article-section h2 {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
}

.eyebrow {
  margin: 0 0 .7rem;
  color: var(--amber);
  font-size: .82rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.lead {
  max-width: 720px;
  color: var(--muted);
  font-size: 1.15rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-top: 1.5rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border-radius: 8px;
  padding: .72rem 1rem;
  border: 1px solid transparent;
  text-decoration: none;
  font-weight: 750;
}

.button-primary {
  background: var(--green);
  color: white;
}

.button-secondary {
  border-color: var(--line);
  background: white;
}

.button.full {
  width: 100%;
}

.button:focus-visible,
.text-link:focus-visible {
  outline: 3px solid rgba(31, 107, 76, .35);
  outline-offset: 2px;
}

.hero-media {
  overflow: hidden;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.hero-media img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.section,
.page-header,
.article-layout {
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
}

.section {
  padding: 4rem 0;
}

.compact-band {
  width: 100%;
  max-width: none;
  padding: 1.8rem max(16px, calc((100% - 1160px) / 2));
  background: var(--soft);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.trust-grid,
.article-grid,
.method-grid,
.status-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.trust-grid {
  width: min(1160px, 100%);
  margin: 0 auto;
}

.trust-grid div,
.article-card,
.method-grid article,
.status-card,
.empty-state,
.deal-panel,
.disclosure-box,
.ops-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
}

.trust-grid div {
  padding: 1.2rem;
}

.metric {
  display: block;
  color: var(--green);
  font-size: 2rem;
  font-weight: 850;
}

.section-heading {
  margin-bottom: 1.4rem;
}

.article-card {
  position: relative;
  min-height: 300px;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: .75rem;
}

.article-card h3 {
  margin: 0;
  font-size: 1.25rem;
  line-height: 1.25;
}

.article-card h3 a {
  text-decoration: none;
}

.article-card p {
  margin: 0;
  color: var(--muted);
}

.card-meta {
  padding-right: 88px;
  font-size: .9rem;
}

.score-badge {
  position: absolute;
  right: 1rem;
  top: 1rem;
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: #e7f1eb;
  color: var(--green);
  font-weight: 850;
}

.score-badge span {
  font-size: 1.5rem;
  line-height: 1;
}

.score-badge small {
  font-size: .72rem;
}

.card-footer {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  font-weight: 750;
}

.text-link {
  color: var(--green);
  font-weight: 760;
}

.empty-state {
  padding: 2rem;
  max-width: 720px;
}

.page-header {
  padding: 4rem 0 2rem;
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 2rem;
  padding: 3rem 0 4rem;
  min-width: 0;
}

.article-hero {
  grid-column: 1 / -1;
  max-width: 900px;
}

.article-hero h1 {
  margin: 0;
  font-size: clamp(2rem, 5vw, 4.4rem);
  line-height: 1.06;
}

.disclosure-box {
  margin-top: 1.5rem;
  padding: 1rem;
  background: #fff8ed;
  border-color: #edd2ad;
}

.disclosure-box p,
.notice {
  margin: 0;
  color: #6b4a1a;
  font-size: .95rem;
}

.deal-panel {
  position: sticky;
  top: 96px;
  align-self: start;
  padding: 1.2rem;
  box-shadow: var(--shadow);
  min-width: 0;
}

.score-circle {
  display: grid;
  place-items: center;
  width: 120px;
  height: 120px;
  margin: 0 auto 1rem;
  border-radius: 50%;
  background: var(--green);
  color: white;
}

.score-circle span {
  font-size: 2.8rem;
  font-weight: 850;
  line-height: 1;
}

.score-circle small {
  font-weight: 700;
}

dl {
  margin: 0 0 1rem;
}

dl div {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: .75rem 0;
  border-bottom: 1px solid var(--line);
}

dt {
  color: var(--muted);
  min-width: 0;
}

dd {
  margin: 0;
  text-align: right;
  font-weight: 750;
  min-width: 0;
  overflow-wrap: anywhere;
}

.article-section {
  max-width: 760px;
  padding: 1.5rem 0;
  border-top: 1px solid var(--line);
  min-width: 0;
}

.article-section h2 {
  margin: 0 0 .9rem;
}

.article-section li + li {
  margin-top: .5rem;
}

.table-wrap {
  overflow-x: auto;
  max-width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 520px;
}

th,
td {
  padding: .85rem 1rem;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

th {
  width: 35%;
  color: var(--muted);
  font-weight: 700;
}

.score-list {
  display: grid;
  gap: .5rem;
}

.score-list div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 48px;
  align-items: center;
  gap: 1rem;
  padding: .75rem;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.method-grid article,
.status-card,
.ops-panel {
  padding: 1.2rem;
}

.method-grid h2,
.status-card h2,
.ops-panel h2 {
  margin-top: 0;
  font-size: 1.15rem;
}

.status-card.ok {
  border-color: #b8d7c5;
}

.status-card.warn {
  border-color: #e0b7b7;
}

.status-card.ok strong {
  color: var(--green);
}

.status-card.warn strong {
  color: var(--red);
}

.prose {
  max-width: 760px;
}

.legal-page {
  max-width: 820px;
}

.footer {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 2rem;
  padding: 2rem 0;
  border-top: 1px solid var(--line);
}

.footer p {
  margin: .35rem 0 0;
  color: var(--muted);
}

.footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: .85rem;
}

.launch-gate {
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: 2rem;
  background: var(--soft);
}

.launch-gate section {
  width: min(720px, 100%);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  padding: 2rem;
  box-shadow: var(--shadow);
}

@media (max-width: 900px) {
  .nav-links-desktop {
    display: none;
  }

  .nav-menu {
    display: block;
  }

  .hero,
  .article-layout {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-copy {
    order: 1;
  }

  .hero-media {
    order: 2;
  }

  .deal-panel {
    position: static;
  }

  .trust-grid,
  .article-grid,
  .method-grid,
  .status-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .nav,
  .footer,
  .section,
  .page-header,
  .article-layout,
  .hero {
    width: min(100% - 24px, 1160px);
  }

  .brand span:last-child {
    max-width: 190px;
    overflow-wrap: anywhere;
  }

  .hero-actions,
  .card-footer,
  .footer {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .article-card {
    min-height: 0;
  }

  .card-meta {
    padding-right: 0;
    margin-top: 84px;
  }

  table {
    min-width: 460px;
  }
}
