:root {
  color-scheme: light dark;
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", "Hiragino Sans",
    "Noto Sans JP", sans-serif;
  font-size: 16px;
  line-height: 1.7;
  --background: #ffffff;
  --surface: #f6f7f9;
  --text: #1a1d21;
  --muted: #5b6470;
  --border: #dfe3e8;
  --accent: #1b5fc1;
  --accent-text: #ffffff;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--background);
  color: var(--text);
}

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

a:focus-visible,
.button:focus-visible {
  outline: 3px solid currentColor;
  outline-offset: 3px;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  max-width: 960px;
  margin: 0 auto;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--border);
}

.site-header nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.brand {
  color: var(--text);
  font-weight: 750;
  text-decoration: none;
}

.page-shell {
  width: min(100% - 2rem, 860px);
  margin: 0 auto;
  padding: 3rem 0 5rem;
}

.landing {
  min-height: 100svh;
  display: grid;
  place-items: center;
}

.hero {
  width: 100%;
  padding: clamp(2rem, 7vw, 5rem);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 1.25rem;
}

.eyebrow {
  margin: 0 0 0.5rem;
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  line-height: 1.25;
  text-wrap: balance;
}

h1 {
  margin: 0 0 1rem;
  font-size: clamp(2rem, 7vw, 3.75rem);
}

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

h2 {
  margin: 2.75rem 0 0.8rem;
  font-size: clamp(1.35rem, 4vw, 1.7rem);
}

h3 {
  margin: 1.8rem 0 0.45rem;
  font-size: 1.08rem;
}

p,
ul {
  margin-top: 0.8rem;
  margin-bottom: 0.8rem;
}

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

.lead {
  max-width: 68ch;
  font-size: clamp(1.05rem, 3vw, 1.2rem);
}

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

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  padding: 0.65rem 1rem;
  border-radius: 0.7rem;
  background: var(--accent);
  color: var(--accent-text);
  font-weight: 700;
  text-decoration: none;
}

.language-divider {
  margin: 4rem 0;
  border: 0;
  border-top: 1px solid var(--border);
}

.skip-link {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 10;
  padding: 0.6rem 0.8rem;
  transform: translateY(-200%);
  background: var(--text);
  color: var(--background);
}

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

@media (prefers-color-scheme: dark) {
  :root {
    --background: #101215;
    --surface: #181b20;
    --text: #f3f4f6;
    --muted: #aeb6c1;
    --border: #303640;
    --accent: #8bb8ff;
    --accent-text: #101215;
  }
}

@media (max-width: 560px) {
  .site-header {
    align-items: flex-start;
    padding: 0.9rem 1rem;
  }

  .page-shell {
    width: min(100% - 1.5rem, 860px);
    padding-top: 2rem;
  }

  .hero {
    padding: 1.5rem;
    border-radius: 1rem;
  }

  .policy ul {
    padding-left: 1.25rem;
  }
}

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