:root {
  color-scheme: light;
  --ink: #091313;
  --panel: #ffffff;
  --paper: #f4faf8;
  --line: #cfe4df;
  --muted: #51645f;
  --teal: #18a090;
  --teal-dark: #0d6f66;
  --mint: #69d7cb;
  --plum: #603868;
  --amber: #c88a2a;
  --shadow: 0 18px 44px rgba(9, 19, 19, 0.12);
}

* {
  box-sizing: border-box;
}

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

a {
  color: inherit;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem clamp(1rem, 3vw, 2rem);
  border-bottom: 1px solid rgba(207, 228, 223, 0.8);
  background: rgba(244, 250, 248, 0.94);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  min-width: 13rem;
}

.brand img {
  width: 2.5rem;
  height: 2.5rem;
  object-fit: contain;
}

.brand strong,
.brand small {
  display: block;
}

.brand small {
  color: var(--muted);
  font-size: 0.78rem;
}

nav {
  display: flex;
  align-items: center;
  gap: clamp(0.7rem, 2vw, 1.4rem);
  font-size: 0.94rem;
}

nav a,
.header-cta,
.button {
  text-decoration: none;
}

.header-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.65rem;
  border-radius: 0.45rem;
  font-weight: 760;
}

.header-cta {
  border: 1px solid var(--teal-dark);
  color: var(--teal-dark);
  padding: 0.55rem 0.85rem;
  white-space: nowrap;
}

.hero {
  position: relative;
  min-height: 86vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--ink);
  color: #fff;
}

.hero-image,
.hero-shade,
.hero-grid {
  position: absolute;
  inset: 0;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.62;
}

.hero-shade {
  background: linear-gradient(90deg, rgba(9, 19, 19, 0.96), rgba(9, 19, 19, 0.72) 44%, rgba(9, 19, 19, 0.16));
}

.hero-grid {
  background-image:
    linear-gradient(rgba(105, 215, 203, 0.09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(105, 215, 203, 0.09) 1px, transparent 1px);
  background-size: 48px 48px;
}

.container {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
}

.hero-content {
  position: relative;
  padding: 7rem 0 4rem;
  max-width: 920px;
  margin-left: max(1rem, calc((100vw - 1180px) / 2));
}

.eyebrow {
  margin: 0 0 0.7rem;
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1,
.page-hero h1 {
  margin: 0;
  max-width: 14ch;
  font-size: clamp(3rem, 9vw, 6.9rem);
  line-height: 0.94;
  letter-spacing: 0;
}

.hero-lead,
.page-hero p {
  max-width: 760px;
  font-size: clamp(1.08rem, 2.5vw, 1.55rem);
  color: rgba(255, 255, 255, 0.9);
}

.hero-copy {
  max-width: 800px;
  color: rgba(255, 255, 255, 0.78);
}

.hero-actions,
.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.4rem;
}

.button {
  padding: 0.75rem 1rem;
  border: 1px solid transparent;
}

.button-primary {
  background: var(--teal);
  color: #06201e;
}

.button-secondary {
  border-color: rgba(255, 255, 255, 0.55);
  color: #fff;
}

.hero-proofbar,
.proofbar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.4rem;
}

.hero-proofbar span,
.proofbar span,
.tag {
  border: 1px solid rgba(105, 215, 203, 0.42);
  border-radius: 999px;
  padding: 0.45rem 0.68rem;
  background: rgba(9, 19, 19, 0.42);
  color: #ecfffb;
  font-size: 0.86rem;
}

.section {
  padding: clamp(3rem, 7vw, 6rem) 0;
}

.white {
  background: #fff;
}

.soft {
  background: var(--paper);
}

.dark {
  background: var(--ink);
  color: #fff;
}

.section-head {
  max-width: 850px;
  margin-bottom: 2rem;
}

.section-head h2,
.page-hero h2,
.article h2 {
  margin: 0 0 0.75rem;
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 1;
  letter-spacing: 0;
}

.section-head p,
.card p,
.article p,
.article li {
  color: var(--muted);
}

.dark .section-head p,
.dark .card p,
.dark .article p,
.dark .article li {
  color: rgba(255, 255, 255, 0.75);
}

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

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

.card,
.article {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 0.5rem;
  padding: 1.15rem;
  box-shadow: 0 10px 30px rgba(9, 19, 19, 0.06);
}

.dark .card,
.dark .article {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(105, 215, 203, 0.24);
}

.card h3,
.article h3 {
  margin: 0 0 0.55rem;
  font-size: 1.15rem;
}

.card a {
  font-weight: 760;
}

.page-hero {
  background: var(--ink);
  color: #fff;
  padding: 7rem 0 4rem;
}

.article {
  max-width: 920px;
  margin: 0 auto;
}

.answer {
  border-left: 4px solid var(--teal);
  padding-left: 1rem;
  font-size: 1.08rem;
}

.callout {
  border: 1px solid rgba(24, 160, 144, 0.45);
  background: #edfbf8;
  padding: 1rem;
  border-radius: 0.5rem;
}

.site-footer {
  background: #07100f;
  color: #fff;
  padding: 2.5rem clamp(1rem, 3vw, 2rem);
}

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

.footer-grid a {
  display: block;
  color: rgba(255, 255, 255, 0.78);
  margin: 0.35rem 0;
  text-decoration: none;
}

@media (max-width: 860px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  nav {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 0.2rem;
  }

  .header-cta {
    width: 100%;
  }

  .hero {
    min-height: 92vh;
  }

  .hero-content {
    margin: 0 auto;
    width: min(100% - 2rem, 1180px);
  }

  .grid,
  .grid.two,
  .footer-grid {
    grid-template-columns: 1fr;
  }
}
