:root {
  color-scheme: dark;
  --background: #101216;
  --surface: #171a20;
  --surface-strong: #1d2129;
  --text: #f4f6f8;
  --muted: #b6bec9;
  --line: #343a45;
  --accent: #78d6b0;
  --accent-strong: #a3efd0;
  --content: 800px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 80% -10%, rgba(120, 214, 176, 0.13), transparent 32rem),
    var(--background);
  color: var(--text);
  font: 17px/1.65 ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

.site-header,
footer {
  width: min(calc(100% - 40px), 1080px);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.site-header { padding: 28px 0; }

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

.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid rgba(163, 239, 208, 0.42);
  border-radius: 12px;
  background: rgba(120, 214, 176, 0.12);
  color: var(--accent-strong);
}

nav { display: flex; gap: 20px; }
nav a { color: var(--muted); text-decoration: none; }
nav a[aria-current="page"], nav a:hover { color: var(--text); }

main {
  width: min(calc(100% - 40px), var(--content));
  margin: 72px auto 96px;
}

.hero { margin-bottom: 42px; }

h1, h2 { line-height: 1.18; letter-spacing: -0.025em; }
h1 { margin: 8px 0 20px; font-size: clamp(2.5rem, 7vw, 4.8rem); }
h2 { margin: 40px 0 14px; font-size: clamp(1.4rem, 3vw, 1.9rem); }

.policy h1 { font-size: clamp(2.5rem, 6vw, 4rem); }

p, ul { color: var(--muted); }
li + li { margin-top: 8px; }

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

.lead { color: #dbe0e6; font-size: 1.22rem; }

.card,
.english {
  margin-top: 22px;
  padding: 28px 30px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: linear-gradient(145deg, var(--surface-strong), var(--surface));
}

.card h2, .english h2 { margin-top: 0; }

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

.button {
  display: inline-block;
  padding: 10px 16px;
  border: 1px solid var(--accent);
  border-radius: 10px;
  background: var(--accent);
  color: #0c1b15;
  font-weight: 720;
  text-decoration: none;
}

.button:hover { color: #07110d; background: var(--accent-strong); }
.button-secondary { background: transparent; color: var(--accent-strong); }
.button-secondary:hover { color: var(--text); background: rgba(120, 214, 176, 0.1); }

hr { margin: 72px 0; border: 0; border-top: 1px solid var(--line); }

footer {
  padding: 28px 0 42px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.9rem;
}

@media (max-width: 640px) {
  .site-header, footer { align-items: flex-start; flex-direction: column; }
  main { margin-top: 44px; }
  .card, .english { padding: 22px; }
}
