:root {
  --bg: #f4f7fb;
  --surface: #ffffff;
  --text: #1a2332;
  --text-muted: #5a6b7d;
  --accent: #4f7cff;
  --accent-dark: #3a5fd4;
  --accent-soft: #e8efff;
  --border: #dde5f0;
  --shadow: 0 8px 24px rgba(26, 35, 50, 0.06);
  --radius: 16px;
  --max-width: 760px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Nunito", system-ui, -apple-system, sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  background:
    radial-gradient(circle at top left, #dce8ff 0%, transparent 45%),
    radial-gradient(circle at bottom right, #fff0e0 0%, transparent 40%),
    var(--bg);
  min-height: 100vh;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.skip-link:focus {
  position: fixed;
  top: 1rem;
  left: 1rem;
  width: auto;
  height: auto;
  padding: 0.75rem 1rem;
  background: var(--accent);
  color: #fff;
  border-radius: 8px;
  z-index: 100;
  text-decoration: none;
  font-weight: 700;
}

.container {
  width: min(100% - 2rem, var(--max-width));
  margin-inline: auto;
}

.site-header {
  padding: 2rem 0 1.5rem;
}

.header-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.brand-icon {
  font-size: 2.25rem;
  line-height: 1;
}

.brand-label {
  margin: 0;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.brand-title {
  margin: 0.1rem 0 0;
  font-size: 1.5rem;
  font-weight: 800;
  line-height: 1.2;
}

.last-updated {
  margin: 0;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-muted);
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.35rem 1.5rem;
  margin-bottom: 1rem;
}

.hero h2 {
  margin: 0 0 0.75rem;
  font-size: 1.75rem;
  font-weight: 800;
}

.lead {
  margin: 0;
  font-size: 1.05rem;
  color: var(--text-muted);
}

.toc h3 {
  margin: 0 0 0.75rem;
  font-size: 0.95rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-muted);
}

.toc ol {
  margin: 0;
  padding-left: 1.25rem;
  columns: 1;
}

.toc li {
  margin-bottom: 0.35rem;
  break-inside: avoid;
}

.toc a {
  color: var(--accent-dark);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
}

.toc a:hover,
.toc a:focus-visible {
  text-decoration: underline;
}

.policy-section h2 {
  margin: 0 0 0.85rem;
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text);
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--accent-soft);
}

.policy-section p {
  margin: 0 0 0.85rem;
}

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

.policy-section ul {
  margin: 0 0 0.85rem;
  padding-left: 1.25rem;
}

.policy-section li {
  margin-bottom: 0.5rem;
}

.policy-section li:last-child {
  margin-bottom: 0;
}

.permission-list li {
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 0.9rem;
  background: var(--accent-soft);
  border-radius: 8px;
  padding: 0.5rem 0.75rem;
  margin-bottom: 0.5rem;
  list-style: none;
}

.permission-list {
  padding-left: 0;
}

code {
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 0.88em;
  background: var(--accent-soft);
  padding: 0.15em 0.4em;
  border-radius: 5px;
}

a {
  color: var(--accent-dark);
  font-weight: 600;
}

a:hover,
a:focus-visible {
  color: var(--accent);
}

.contact-card {
  background: linear-gradient(135deg, var(--accent-soft), var(--surface));
}

.site-footer {
  padding: 2rem 0 2.5rem;
  text-align: center;
}

.site-footer p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
  font-weight: 600;
}

@media (min-width: 600px) {
  .brand-title {
    font-size: 1.75rem;
  }

  .card {
    padding: 1.5rem 1.75rem;
  }

  .toc ol {
    columns: 2;
    column-gap: 2rem;
  }
}

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