:root {
  --sky-top: #fce4ee;
  --sky-bottom: #fff5f9;
  --card: #ffffff;
  --line: #f1dde8;
  --tint: #fae3ec;
  --lilac-tint: #efe8fb;
  --ink: #2a2433;
  --ink-soft: #6e6680;
  --pink: #d66699;
  --link: #a8457a;
  --button: #2a2433;
  --button-text: #ffffff;
  --shadow: 0 30px 70px -32px rgba(80, 50, 140, 0.35);
  --wall: 0.18;
  --round: ui-rounded, "SF Pro Rounded", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root {
    --sky-top: #2c1f52;
    --sky-bottom: #17112b;
    --card: #221a38;
    --line: #362a55;
    --tint: #2d2248;
    --lilac-tint: #2d2248;
    --ink: #f4f1fa;
    --ink-soft: #bdb3d4;
    --pink: #ee9ec0;
    --link: #f2b3cf;
    --button: #ffffff;
    --button-text: #2a2433;
    --shadow: 0 30px 70px -32px rgba(0, 0, 0, 0.7);
    --wall: 0.06;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  min-height: 100vh;
  background: linear-gradient(180deg, var(--sky-top), var(--sky-bottom) 70vh) fixed var(--sky-bottom);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
.wallpaper { position: fixed; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.wallpaper::before {
  content: ""; position: absolute; inset: -60%;
  background: url("img/wallpaper-tile.svg") repeat; background-size: 130px 130px;
  transform: rotate(-45deg); opacity: var(--wall);
}
.wrap { position: relative; z-index: 1; max-width: 800px; margin: 0 auto; padding: 0 16px; }
.site-header { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 22px 0 14px; position: relative; z-index: 5; }
.brand {
  display: inline-flex; align-items: center; gap: 8px; color: var(--ink); text-decoration: none;
  font-family: var(--round); font-weight: 800; font-size: 24px; letter-spacing: -0.02em;
}
.brand > img { width: 22px; height: auto; }
.get-button {
  display: inline-flex; align-items: center; justify-content: center; height: 40px; padding: 0 18px; border-radius: 10px;
  background: var(--button); color: var(--button-text) !important; text-decoration: none; font-weight: 700; font-size: 15px;
  white-space: nowrap; transition: transform 0.2s ease;
}
.get-button:hover { transform: translateY(-1px); }
.page-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px; margin: 6px 0 22px; }
.site-nav { display: flex; gap: 6px; padding: 4px; border-radius: 14px; background: rgba(255, 255, 255, 0.6); }
.site-nav a {
  padding: 7px 16px; border-radius: 10px; color: var(--ink); text-decoration: none; font-size: 15px; font-weight: 700;
}
.site-nav a[aria-current="page"] { background: var(--button); color: var(--button-text); }
.lang-switch { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 14px; }
.lang-switch a { color: var(--ink-soft); text-decoration: none; font-weight: 600; }
.lang-switch a:hover { color: var(--ink); }
.lang-switch a[aria-current="true"] { color: var(--ink); font-weight: 800; }
@media (prefers-color-scheme: dark) {
  .site-nav { background: rgba(255, 255, 255, 0.08); }
}
main.card {
  background: var(--card);
  border-radius: 32px;
  padding: 40px 40px 28px;
  margin-bottom: 36px;
  box-shadow: var(--shadow);
}
@media (max-width: 560px) {
  main.card { padding: 28px 20px 18px; border-radius: 26px; }
  body { font-size: 16px; }
}
h1, h2, h3 { font-family: var(--round); letter-spacing: -0.02em; }
h1 { font-size: clamp(34px, 8vw, 46px); line-height: 1.05; margin: 0 0 8px; font-weight: 800; letter-spacing: -0.03em; }
h2 { font-size: 23px; line-height: 1.25; margin: 40px 0 10px; font-weight: 800; }
h3 { font-size: 18px; margin: 28px 0 6px; font-weight: 800; }
p, ul { margin: 0 0 14px; }
ul { padding-left: 22px; }
li { margin-bottom: 6px; }
li::marker { color: var(--pink); }
a { color: var(--link); text-underline-offset: 3px; }
strong { font-weight: 700; }
.updated { color: var(--ink-soft); font-size: 15px; margin-bottom: 26px; }
.summary { background: var(--lilac-tint); border-radius: 22px; padding: 22px 24px 8px; margin: 8px 0; }
.summary h2 { margin-top: 0; font-size: 20px; }
.translation-note {
  background: var(--tint); border-radius: 16px; padding: 12px 16px; margin-bottom: 22px;
  font-size: 15px; color: var(--ink-soft);
}
table { width: 100%; border-collapse: collapse; margin: 8px 0 16px; font-size: 16px; }
th, td { text-align: left; vertical-align: top; padding: 12px 12px 12px 0; border-bottom: 1px solid var(--line); }
th { font-size: 13px; color: var(--ink-soft); font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; }
@media (max-width: 560px) {
  thead { display: none; }
  table, tbody, tr, td { display: block; width: 100%; }
  tr { padding: 12px 0; border-bottom: 1px solid var(--line); }
  td { border: 0; padding: 2px 0; }
  td[data-label]::before { content: attr(data-label) ": "; color: var(--ink-soft); font-size: 14px; font-weight: 700; }
}
.contact-box { background: var(--tint); border-radius: 22px; padding: 20px 24px; margin: 8px 0; }
.contact-box p { margin: 0 0 4px; }
.email { font-family: var(--round); font-size: 20px; font-weight: 800; overflow-wrap: anywhere; }
@media (max-width: 560px) {
  .contact-box { padding: 18px 16px; }
  .email { font-size: min(18px, 4.1vw); }
}
main details { border-bottom: 1px solid var(--line); }
main summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  cursor: pointer; list-style: none; padding: 16px 0; font-weight: 700;
}
main summary::-webkit-details-marker { display: none; }
main summary::after {
  content: "+"; flex: none; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center;
  background: var(--tint); color: var(--link); font-size: 18px; font-weight: 700; line-height: 1;
  transition: transform 0.25s ease;
}
main details[open] summary { color: var(--link); }
main details[open] summary::after { transform: rotate(45deg); }
main details > :not(summary) { margin-left: 0; }
main details > :last-child { padding-bottom: 6px; }
.site-footer { text-align: center; color: var(--ink-soft); font-size: 14px; padding: 0 0 44px; }
.site-footer a { color: var(--ink-soft); font-weight: 600; }
.site-footer a:hover { color: var(--ink); }
a:focus-visible, main summary:focus-visible { outline: 3px solid #8e6fd4; outline-offset: 3px; border-radius: 8px; }
@media (prefers-reduced-motion: reduce) {
  main summary::after, .get-button { transition: none; }
}
