:root {
  color-scheme: dark;
  --background: #090c0f;
  --surface: #13171b;
  --surface-raised: #1d2227;
  --text: #f3f5f5;
  --secondary: #b6bec4;
  --muted: #8f999f;
  --border: #2a3238;
  --accent: #49c7af;
  --accent-soft: #142d29;
  --content-width: 780px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  background: var(--background);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

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

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

a:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 4px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 10;
  padding: 10px 14px;
  border-radius: 10px;
  background: var(--accent);
  color: #07110f;
  font-weight: 700;
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  border-bottom: 1px solid var(--border);
}

.header-inner,
.page,
.site-footer {
  width: min(calc(100% - 40px), var(--content-width));
  margin-inline: auto;
}

.header-inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  color: var(--text);
  font-size: 15px;
  font-weight: 750;
  letter-spacing: 0.02em;
  text-decoration: none;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.header-nav a {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--secondary);
  background: var(--surface);
  font-size: 14px;
  font-weight: 650;
  text-decoration: none;
}

.header-nav a:hover {
  border-color: var(--accent);
  color: var(--text);
}

.page {
  padding-block: 64px 80px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin-top: 0;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

h1 {
  max-width: 680px;
  margin-bottom: 18px;
  font-size: clamp(36px, 7vw, 58px);
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(24px, 4vw, 31px);
}

h3 {
  margin-bottom: 8px;
  font-size: 18px;
}

p {
  margin: 0 0 16px;
  color: var(--secondary);
}

.lede {
  max-width: 650px;
  margin-bottom: 30px;
  color: var(--secondary);
  font-size: 18px;
}

.meta {
  color: var(--muted);
  font-size: 14px;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 32px;
}

.card,
.policy-section,
.notice {
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--surface);
}

.card {
  padding: 22px;
}

.card-label {
  display: inline-flex;
  margin-bottom: 16px;
  padding: 5px 9px;
  border-radius: 8px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.card-links {
  display: flex;
  gap: 14px;
  margin-top: 20px;
  flex-wrap: wrap;
}

.card-links a {
  font-weight: 700;
}

.policy-section {
  margin-top: 14px;
  padding: 22px;
}

.policy-section ul {
  margin: 0;
  padding-left: 22px;
  color: var(--secondary);
}

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

.notice {
  margin: 28px 0;
  padding: 18px 20px;
  background: var(--accent-soft);
}

.notice p:last-child,
.policy-section p:last-child,
.card p:last-child {
  margin-bottom: 0;
}

.contact-link {
  overflow-wrap: anywhere;
  font-weight: 700;
}

.site-footer {
  padding-block: 28px 44px;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 13px;
}

.site-footer p {
  margin: 0;
  color: inherit;
}

@media (max-width: 640px) {
  .header-inner {
    min-height: auto;
    padding-block: 16px;
    align-items: flex-start;
    flex-direction: column;
  }

  .page {
    padding-block: 44px 64px;
  }

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

  .policy-section,
  .card {
    padding: 18px;
  }
}

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