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

:root {
  --color-bg: #F3F6F4;
  --color-surface: #FFFFFF;
  --color-accent: #2F6F82;
  --color-accent-hover: #245A6B;
  --color-accent-light: #E8F1F4;
  --color-text: #1A1A1A;
  --color-text-secondary: #5C5C5C;
  --color-text-muted: #8C8C8C;
  --color-border: #E5E7EB;
  --color-border-hover: #D1D5DB;
  --radius: 12px;
  --radius-sm: 8px;
  --max-width: 720px;
  --shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
  --shadow-hover: 0 2px 8px rgba(0, 0, 0, 0.12);
  --font-stack: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-stack);
  background-color: var(--color-bg);
  color: var(--color-text);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  top: -120px;
  left: -80px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(47, 111, 130, 0.06) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

body::after {
  content: "";
  position: fixed;
  top: -60px;
  right: -100px;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(232, 196, 160, 0.08) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

header {
  background: var(--color-surface);
  border-bottom: 1px solid var(--color-border);
  padding: 0 24px;
  position: sticky;
  top: 0;
  z-index: 100;
}

header nav {
  max-width: 960px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 56px;
}

header nav .brand {
  font-weight: 700;
  font-size: 1.125rem;
  color: var(--color-accent);
  text-decoration: none;
  letter-spacing: -0.01em;
}

header nav .lang-switch {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8125rem;
  font-weight: 500;
}

header nav .lang-switch .lang-sep {
  color: var(--color-text-muted);
  user-select: none;
}

header nav .lang-switch a {
  color: var(--color-text-muted);
  text-decoration: none;
  transition: color 0.15s ease;
}

header nav .lang-switch a:hover {
  color: var(--color-accent);
}

header nav .lang-switch a.lang-active {
  color: var(--color-accent);
  font-weight: 600;
  pointer-events: none;
}

header nav .nav-links {
  display: flex;
  gap: 24px;
  list-style: none;
}

header nav .nav-links a {
  text-decoration: none;
  color: var(--color-text-secondary);
  font-size: 0.875rem;
  font-weight: 500;
  padding: 4px 0;
  border-bottom: 2px solid transparent;
  transition: color 0.15s ease, border-color 0.15s ease;
}

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

header nav .nav-links a.active {
  color: var(--color-accent);
  border-bottom-color: var(--color-accent);
}

main {
  flex: 1;
  max-width: var(--max-width);
  width: 100%;
  margin: 0 auto;
  padding: 40px 24px 60px;
  position: relative;
  z-index: 1;
}

h1 {
  font-size: 1.75rem;
  font-weight: 700;
  line-height: 1.25;
  color: var(--color-text);
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}

h2 {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--color-accent);
  margin-bottom: 12px;
  margin-top: 8px;
  letter-spacing: -0.01em;
}

h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 6px;
  margin-top: 4px;
}

p {
  color: var(--color-text-secondary);
  margin-bottom: 12px;
  font-size: 0.9375rem;
  line-height: 1.65;
}

p:last-child {
  margin-bottom: 0;
}

.card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 24px;
  margin-bottom: 20px;
  box-shadow: var(--shadow);
  transition: box-shadow 0.15s ease, border-color 0.15s ease;
}

.card:hover {
  box-shadow: var(--shadow-hover);
  border-color: var(--color-border-hover);
}

.callout {
  background: var(--color-accent-light);
  border-left: 4px solid var(--color-accent);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  margin-bottom: 20px;
}

.callout p {
  color: var(--color-text);
  font-size: 0.9375rem;
  font-weight: 500;
  margin-bottom: 0;
}

.section-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.section-list li {
  padding: 10px 0;
  border-bottom: 1px solid var(--color-border);
  font-size: 0.9375rem;
  color: var(--color-text-secondary);
  line-height: 1.6;
}

.section-list li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.section-list li strong {
  color: var(--color-text);
  font-weight: 600;
}

.legal-section {
  margin-bottom: 32px;
}

.legal-section h2 {
  font-size: 1.0625rem;
  margin-bottom: 8px;
  margin-top: 0;
}

.legal-section p {
  margin-bottom: 10px;
}

.legal-section p:last-child {
  margin-bottom: 0;
}

a {
  color: var(--color-accent);
  text-decoration: none;
  transition: color 0.15s ease;
}

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

.subtitle {
  font-size: 1.0625rem;
  color: var(--color-text-secondary);
  margin-bottom: 24px;
  line-height: 1.6;
}

.page-description {
  font-size: 0.9375rem;
  color: var(--color-text-secondary);
  margin-bottom: 28px;
  line-height: 1.65;
}

.contact-link {
  display: inline-block;
  color: var(--color-accent);
  font-size: 0.9375rem;
  font-weight: 500;
  word-break: break-all;
}

footer {
  background: var(--color-surface);
  border-top: 1px solid var(--color-border);
  padding: 24px;
  position: relative;
  z-index: 1;
}

footer .footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  text-align: center;
}

footer p {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
  margin-bottom: 6px;
  line-height: 1.5;
}

footer p:last-child {
  margin-bottom: 0;
}

footer a {
  color: var(--color-text-muted);
  font-weight: 500;
}

footer a:hover {
  color: var(--color-accent);
}

.footer-links {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 8px;
}

.effective-date {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  margin-bottom: 24px;
  display: block;
}

.language-picker {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 8px;
}

.language-option {
  display: flex;
  flex-direction: column;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 24px;
  text-decoration: none;
  box-shadow: var(--shadow);
  transition: box-shadow 0.15s ease, border-color 0.15s ease;
}

.language-option:hover {
  box-shadow: var(--shadow-hover);
  border-color: var(--color-border-hover);
}

.language-option .language-code {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--color-accent);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 4px;
}

.language-option .language-name {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 4px;
}

.language-option .language-desc {
  font-size: 0.875rem;
  color: var(--color-text-secondary);
  line-height: 1.5;
}

@media (max-width: 640px) {
  header nav {
    flex-direction: column;
    height: auto;
    padding: 12px 0;
    gap: 8px;
  }

  header nav {
    flex-wrap: wrap;
    gap: 6px;
  }

  header nav .lang-switch {
    order: -1;
    width: 100%;
    justify-content: center;
  }

  header nav .nav-links {
    gap: 16px;
  }

  main {
    padding: 24px 16px 48px;
  }

  h1 {
    font-size: 1.5rem;
  }

  .card {
    padding: 18px;
  }

  .callout {
    padding: 14px 16px;
  }

  .language-option {
    padding: 18px;
  }

  .language-option .language-name {
    font-size: 1.125rem;
  }

  footer p {
    font-size: 0.75rem;
  }

  body::before {
    width: 280px;
    height: 280px;
    top: -80px;
    left: -60px;
  }

  body::after {
    width: 250px;
    height: 250px;
    top: -40px;
    right: -70px;
  }
}

@media (min-width: 641px) and (max-width: 960px) {
  main {
    padding: 36px 24px 56px;
  }
}

@media print {
  body::before,
  body::after {
    display: none;
  }

  header {
    position: static;
    border-bottom: 2px solid #000;
  }

  footer {
    border-top: 2px solid #000;
  }

  .card {
    box-shadow: none;
    border: 1px solid #ccc;
  }

  body {
    background: #fff;
  }

  .callout {
    border-left: 4px solid #2F6F82;
  }
}