:root {
  color-scheme: dark;
  --bg: #101311;
  --surface: #191e1a;
  --lime: #c4f16b;
  --text: #f5f7f3;
  --body: #cbd2cb;
  --muted: #b0bab1;
  --border: #364337;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text);
  background: var(--bg);
  font-size: 16px;
  line-height: 1.75;
}

* { box-sizing: border-box; }
body { margin: 0; min-width: 0; background: radial-gradient(ellipse at 50% 0, #243021 0, var(--bg) 600px); }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--lime); text-decoration-thickness: 1px; text-underline-offset: 4px; }
a:hover { text-decoration-thickness: 2px; }
a:focus-visible, summary:focus-visible { outline: 3px solid var(--lime); outline-offset: 5px; border-radius: 4px; }
p, h1, h2, h3 { margin: 0; }
strong { font-weight: 700; color: var(--text); }
::selection { background: var(--lime); color: var(--bg); }
.skip-link { position: fixed; top: -100%; left: 16px; z-index: 2; padding: 12px 18px; background: var(--lime); color: var(--bg); }
.skip-link:focus { top: 16px; }
.site-header { border-bottom: 1px solid var(--border); }
.header-inner { width: min(100%, 1080px); margin-inline: auto; padding: 20px 28px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); font-size: 1.25rem; font-weight: 750; text-decoration: none; }
.brand img { width: 40px; height: 40px; border-radius: 10px; }
.brand-dot { color: var(--lime); }
.back-link { font-size: .875rem; }
.policy-page { width: min(100%, 820px); margin-inline: auto; padding: 56px 28px 28px; overflow-wrap: anywhere; }
.policy-header { margin-bottom: 36px; }
.app-identity { display: flex; align-items: center; gap: 16px; margin-bottom: 28px; }
.app-identity img { width: 64px; height: 64px; flex: 0 0 64px; border-radius: 16px; }
.app-identity > div { min-width: 0; }
.eyebrow { color: var(--lime); font-size: .75rem; letter-spacing: .1em; font-weight: 700; }
.app-name { font-size: 1.375rem; font-weight: 700; line-height: 1.5; }
h1 { font-size: clamp(2rem, 6vw, 3.25rem); letter-spacing: -.035em; line-height: 1.15; text-wrap: balance; }
.updated { color: var(--muted); margin-top: 20px; font-size: .9375rem; }
.updated strong { color: var(--muted); }
.store-link { display: inline-flex; align-items: center; justify-content: space-between; gap: 16px; max-width: 100%; min-height: 48px; margin-top: 24px; padding: 10px 16px; border: 1px solid #66804b; border-radius: 10px; font-size: .9375rem; font-weight: 600; text-decoration: none; background: #1c2819; }
.store-link:hover { background: #283b22; }
.policy-content { color: var(--body); font-size: 1.0625rem; line-height: 1.8; }
.policy-content p + p { margin-top: 16px; }
.policy-index { margin: 32px 0 8px; border: 1px solid var(--border); border-radius: 14px; background: var(--surface); font-size: 1rem; }
.policy-index summary { padding: 16px 20px; cursor: pointer; color: var(--lime); font-weight: 650; }
.policy-index nav { padding: 0 24px 20px; }
.policy-index ol { margin: 0; padding-left: 24px; }
.policy-index li { padding: 4px 0; }
.policy-index a { color: var(--body); }
.policy-content section { margin-top: 40px; padding-top: 32px; border-top: 1px solid var(--border); scroll-margin-top: 24px; }
h2 { color: var(--text); font-size: clamp(1.3rem, 4vw, 1.6rem); line-height: 1.4; letter-spacing: -.015em; margin-bottom: 20px; }
h3 { color: var(--lime); font-size: 1.125rem; margin: 24px 0 12px; }
.contact-section { padding: 28px; border: 1px solid var(--border); border-radius: 16px; background: var(--surface); }
address { font-style: normal; margin-top: 20px; }
address a strong { color: var(--lime); }
.policy-footer { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--border); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px 24px; font-size: .875rem; }
.policy-footer a { color: var(--muted); }

@media (max-width: 480px) {
  .header-inner { padding: 16px 20px; }
  .policy-page { padding: 36px 20px 24px; }
  .policy-header { margin-bottom: 28px; }
  .policy-content section { margin-top: 32px; padding-top: 24px; }
  .policy-content .contact-section { padding: 20px; }
  .policy-index nav { padding-right: 20px; padding-left: 20px; }
}

@media print {
  :root { color-scheme: light; --text: #111; --body: #222; --muted: #444; --lime: #111; --border: #ccc; font-size: 11pt; }
  body { background: #fff; }
  .site-header, .skip-link, .store-link, .policy-index, .policy-footer { display: none; }
  .policy-page { width: 100%; max-width: none; padding: 0; }
  .policy-header { margin-bottom: 24px; }
  h1 { font-size: 26pt; }
  h2, h3 { break-after: avoid; }
  p { orphans: 3; widows: 3; }
  .contact-section { background: transparent; break-inside: avoid; }
}
