:root {
  color-scheme: light dark;
  --page: #f4f7f6;
  --surface: #ffffff;
  --surface-soft: #f8fbfa;
  --text: #12201c;
  --muted: #53635e;
  --line: #d9e3df;
  --accent: #087c62;
  --accent-soft: #e2f5ef;
  --shadow: 0 18px 52px rgba(21, 62, 50, 0.09);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(26, 181, 138, 0.13), transparent 34rem),
    var(--page);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", sans-serif;
  line-height: 1.65;
}

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

a:hover {
  text-decoration-thickness: 2px;
}

.shell {
  width: min(100% - 32px, 920px);
  margin: 0 auto;
  padding: 24px 0 56px;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  font-weight: 750;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 13px;
  color: white;
  background: linear-gradient(145deg, #09a67d, #075c4a);
  box-shadow: 0 8px 24px rgba(8, 124, 98, 0.24);
}

.brand-mark svg {
  width: 23px;
  height: 23px;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.site-nav a {
  min-height: 40px;
  padding: 8px 12px;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 999px;
  background: color-mix(in srgb, var(--surface) 88%, transparent);
  font-size: 0.88rem;
  text-decoration: none;
}

.site-nav a[aria-current="page"] {
  color: var(--accent);
  border-color: color-mix(in srgb, var(--accent) 38%, var(--line));
  background: var(--accent-soft);
  font-weight: 650;
}

.card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.hero {
  padding: clamp(28px, 7vw, 64px);
  background:
    linear-gradient(145deg, rgba(9, 166, 125, 0.13), transparent 62%),
    var(--surface);
}

.hero h1,
.article h1 {
  margin: 0;
  font-size: clamp(2rem, 7vw, 3.6rem);
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.hero p {
  max-width: 680px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.hero-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 28px;
}

.hero-links a {
  padding: 18px;
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface-soft);
  font-weight: 680;
  text-decoration: none;
}

.hero-links span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 450;
}

.article {
  padding: clamp(24px, 6vw, 56px);
}

.article-header {
  padding-bottom: 26px;
  border-bottom: 1px solid var(--line);
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 760;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.updated {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.summary {
  margin: 22px 0 0;
  padding: 16px 18px;
  border-left: 4px solid var(--accent);
  border-radius: 0 12px 12px 0;
  background: var(--accent-soft);
}

.article h2 {
  margin: 34px 0 10px;
  font-size: 1.35rem;
  line-height: 1.25;
}

.article h3 {
  margin: 22px 0 8px;
  font-size: 1.06rem;
}

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

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

.article li + li {
  margin-top: 8px;
}

.notice {
  margin: 24px 0;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface-soft);
}

.contact-box {
  display: grid;
  gap: 6px;
  margin-top: 18px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface-soft);
}

.contact-box strong {
  color: var(--text);
}

.site-footer {
  padding: 22px 6px 0;
  color: var(--muted);
  font-size: 0.84rem;
  text-align: center;
}

code {
  padding: 0.12em 0.36em;
  border-radius: 6px;
  background: var(--surface-soft);
  font-size: 0.9em;
}

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

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

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

@media (prefers-color-scheme: dark) {
  :root {
    --page: #09110f;
    --surface: #101a17;
    --surface-soft: #15231f;
    --text: #f1f7f4;
    --muted: #b6c5c0;
    --line: #2c3d37;
    --accent: #59dfb8;
    --accent-soft: #17392f;
    --shadow: 0 20px 54px rgba(0, 0, 0, 0.3);
  }
}

@media print {
  body {
    background: white;
  }

  .shell {
    width: 100%;
    padding: 0;
  }

  .site-header,
  .site-footer {
    display: none;
  }

  .card {
    border: 0;
    box-shadow: none;
  }
}
