:root {
  --bg: #f4f7f7;
  --surface: #ffffff;
  --text: #101820;
  --muted: #66747d;
  --line: #dce5e7;
  --brand: #3f8495;
  --brand-dark: #2d6876;
  --brand-soft: #e8f2f3;
  --shadow: 0 18px 50px rgba(24, 49, 57, 0.08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--brand-dark); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--brand); }
.shell { width: min(900px, calc(100% - 32px)); margin: 0 auto; }

.header {
  padding: 28px 0 22px;
  border-bottom: 1px solid var(--line);
  background: rgba(244,247,247,.94);
}
.nav { display: flex; justify-content: space-between; gap: 24px; align-items: center; }
.brand { display: flex; align-items: center; gap: 12px; font-weight: 800; letter-spacing: .08em; }
.brand-logo {
  width: 42px;
  height: 42px;
  display: block;
  border-radius: 12px;
  object-fit: cover;
}
.nav-right { display:flex; align-items:center; gap:18px; flex-wrap:wrap; justify-content:flex-end; }
.navlinks { display: flex; gap: 18px; flex-wrap: wrap; font-size: 14px; }
.navlinks a { text-decoration: none; color: var(--muted); }
.navlinks a:hover { color: var(--text); }
.lang-switch { display:flex; border:1px solid var(--line); border-radius:999px; padding:3px; background:#fff; }
.lang-switch a {
  min-width: 40px; height: 32px; padding:0 9px; border-radius:999px;
  display:inline-flex; align-items:center; justify-content:center;
  color:var(--muted); text-decoration:none; font-size:12px; font-weight:800; letter-spacing:.04em;
}
.lang-switch a[aria-current="true"] { background:var(--brand-dark); color:#fff; }

main { padding: 54px 0 80px; }
.hero { margin-bottom: 28px; }
h1 { font-size: clamp(34px, 6vw, 52px); line-height: 1.06; letter-spacing: -.04em; margin: 0 0 16px; }
.lead { font-size: 19px; color: var(--muted); max-width: 760px; margin: 0; }
.meta { margin-top: 20px; font-size: 14px; color: var(--muted); }
.notice {
  margin: 26px 0;
  padding: 18px 20px;
  background: var(--brand-soft);
  border: 1px solid #cfe4e7;
  border-radius: 16px;
  color: #35545b;
}
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: clamp(22px, 5vw, 38px);
  box-shadow: var(--shadow);
}
section + section { border-top: 1px solid var(--line); margin-top: 32px; padding-top: 32px; }
h2 { font-size: 23px; line-height: 1.25; letter-spacing: -.02em; margin: 0 0 12px; }
h3 { font-size: 17px; margin: 22px 0 6px; }
p { margin: 10px 0; }
ul { padding-left: 22px; }
li + li { margin-top: 7px; }
.tag { display:inline-block; padding:6px 10px; border-radius:999px; background:var(--brand-soft); color:var(--brand-dark); font-size:13px; font-weight:700; }
.actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 24px; }
.button {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 18px; border-radius: 14px;
  font-weight: 700; text-decoration: none;
  border: 1px solid var(--line); background: #fff; color: var(--text);
  transition: transform .15s ease, border-color .15s ease;
}
.button.primary { background: var(--brand-dark); border-color: var(--brand-dark); color: #fff; }
.button:hover { transform: translateY(-1px); }
footer { border-top: 1px solid var(--line); padding: 26px 0 42px; color: var(--muted); font-size: 13px; }
.footer-row { display:flex; justify-content:space-between; gap:18px; flex-wrap:wrap; }

@media (max-width: 700px) {
  .nav { align-items: flex-start; flex-direction: column; gap: 16px; }
  .nav-right { width:100%; justify-content:space-between; }
  .lang-switch { max-width: 100%; overflow-x: auto; }
  .lang-switch a { min-width: 38px; }
  .header { padding-top: 20px; }
  main { padding-top: 38px; }
  .card { border-radius: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
