:root {
  color-scheme: light;
  --ink: #14211f;
  --muted: #53615e;
  --paper: #f7f4ed;
  --surface: #fffdf8;
  --line: #d8ddd8;
  --accent: #146b5a;
  --accent-soft: #d9eee7;
  --max: 72rem;
  font-family: "Avenir Next", Avenir, "Segoe UI", system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--paper);
  color: var(--ink);
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 100% 0%, rgba(115, 215, 189, 0.18), transparent 30rem),
    var(--paper);
  font-size: 1rem;
  line-height: 1.65;
}

a {
  color: var(--accent);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
}

a:hover {
  text-decoration-thickness: 0.14em;
}

a:focus-visible {
  outline: 3px solid #1c806b;
  outline-offset: 4px;
  border-radius: 2px;
}

.site-header,
.site-footer,
main {
  width: min(calc(100% - 2rem), var(--max));
  margin-inline: auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  min-height: 6.5rem;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  color: var(--ink);
  font-weight: 650;
  text-decoration: none;
}

.brand img {
  width: 2.5rem;
  height: 2.5rem;
}

nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
}

nav a {
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 600;
  text-decoration: none;
}

nav a[aria-current="page"] {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: #73d7bd;
  text-decoration-thickness: 0.2rem;
  text-underline-offset: 0.45rem;
}

main {
  padding-block: clamp(4rem, 9vw, 8rem);
}

.hero {
  max-width: 48rem;
}

.eyebrow {
  margin: 0 0 1rem;
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 750;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin-block: 0;
  letter-spacing: -0.025em;
  line-height: 1.12;
}

h1 {
  max-width: 16ch;
  font-size: clamp(2.7rem, 8vw, 5.8rem);
  font-weight: 670;
}

.legal h1 {
  max-width: 18ch;
  font-size: clamp(2.4rem, 6vw, 4.5rem);
}

h2 {
  margin-top: 3.5rem;
  font-size: clamp(1.5rem, 3vw, 2.1rem);
}

h3 {
  margin-top: 2rem;
  font-size: 1.15rem;
}

.lede {
  max-width: 42rem;
  margin: 1.75rem 0 0;
  color: var(--muted);
  font-size: clamp(1.15rem, 2vw, 1.4rem);
  line-height: 1.55;
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-top: 2rem;
  padding: 0.55rem 0.85rem;
  border: 1px solid #afd4c8;
  border-radius: 999px;
  background: var(--accent-soft);
  color: #174d42;
  font-size: 0.9rem;
  font-weight: 650;
}

.status::before {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--accent);
  content: "";
}

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

.link-card {
  min-height: 12rem;
  padding: 1.5rem;
  border: 1px solid var(--line);
  border-radius: 1.1rem;
  background: rgba(255, 253, 248, 0.8);
  color: var(--ink);
  text-decoration: none;
  transition: border-color 160ms ease, transform 160ms ease;
}

.link-card:hover {
  border-color: #82b9aa;
  transform: translateY(-2px);
}

.link-card strong {
  display: block;
  margin-bottom: 0.6rem;
  font-size: 1.2rem;
}

.link-card span {
  color: var(--muted);
}

.legal article {
  max-width: 46rem;
}

.meta {
  margin-top: 1.25rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.notice {
  margin-block: 2.5rem;
  padding: 1.25rem 1.4rem;
  border-left: 0.3rem solid var(--accent);
  background: var(--accent-soft);
}

p,
li {
  max-width: 70ch;
}

ul {
  padding-left: 1.25rem;
}

li + li {
  margin-top: 0.5rem;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  padding-block: 2rem 3rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.9rem;
}

.site-footer p {
  margin: 0;
}

@media (max-width: 46rem) {
  .site-header,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    padding-block: 1.25rem;
  }

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

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .link-card {
    transition: none;
  }
}
