:root {
  color-scheme: light;
  --wine: #73111a;
  --wine-dark: #4b0b11;
  --cream: #fffaf3;
  --sand: #f2e6d8;
  --paper: #ffffff;
  --ink: #241718;
  --muted: #6d5c5c;
  --line: #dfcdbb;
  --shadow: 0 18px 50px rgba(57, 13, 18, 0.12);
}

* { box-sizing: border-box; }

html { background: #e9e0d7; scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: #e9e0d7;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
}

button { font: inherit; }

a { color: var(--wine); text-underline-offset: 3px; }
a:hover { color: var(--wine-dark); }

.policy-shell {
  width: min(100%, 900px);
  min-height: 100vh;
  margin-inline: auto;
  background: var(--paper);
  box-shadow: var(--shadow);
}

.policy-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  padding: 10px 22px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 250, 243, 0.97);
  backdrop-filter: blur(14px);
}

.brand-link { display: inline-flex; width: fit-content; }
.brand-logo { width: 112px; height: 52px; object-fit: contain; object-position: left center; }

.language-switch {
  display: flex;
  gap: 2px;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
}

.language-button {
  display: inline-grid;
  place-items: center;
  min-width: 42px;
  min-height: 38px;
  padding: 6px 9px;
  border: 0;
  border-radius: 999px;
  color: var(--muted);
  background: transparent;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}

.language-button.is-active { color: #fff; background: var(--wine); }

.policy-main { padding: 42px clamp(20px, 5vw, 64px) 64px; }

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 24px;
  font-weight: 750;
  text-decoration: none;
}

.policy-panel[hidden] { display: none; }

.policy-panel h1 {
  max-width: 20ch;
  margin: 0 0 10px;
  font-size: clamp(2rem, 6vw, 3.2rem);
  line-height: 1.05;
  letter-spacing: -0.035em;
}

.updated {
  margin: 0 0 32px;
  color: var(--muted);
  font-size: 14px;
}

.policy-section { padding: 22px 0; border-top: 1px solid var(--line); }
.policy-section:first-of-type { border-top: 0; }

.policy-section h2 {
  margin: 0 0 12px;
  color: var(--wine);
  font-size: 21px;
  line-height: 1.25;
}

.policy-section p { margin: 0 0 12px; }
.policy-section p:last-child { margin-bottom: 0; }
.policy-section ul { margin: 8px 0 12px; padding-left: 22px; }
.policy-section li + li { margin-top: 5px; }

.operator-card {
  margin: 14px 0;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--cream);
}

.operator-card p { margin: 0; }
.operator-card p + p { margin-top: 4px; }

.policy-footer {
  padding: 24px;
  color: var(--muted);
  background: var(--cream);
  text-align: center;
  font-size: 13px;
}

@media (max-width: 520px) {
  body { font-size: 15px; }
  .policy-header { padding: 7px 14px; }
  .brand-logo { width: 96px; height: 46px; }
  .language-button { min-width: 40px; min-height: 44px; }
  .policy-main { padding: 26px 18px 46px; }
  .policy-panel h1 { font-size: 2rem; }
  .policy-section { padding: 18px 0; }
  .policy-section h2 { font-size: 18px; }
}

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