:root {
  color-scheme: dark;
  --bg: #101722;
  --panel: #182333;
  --panel-soft: #202e40;
  --text: #f6f4ee;
  --muted: #bdc8d5;
  --accent: #ffd166;
  --accent-deep: #f2a93b;
  --line: #35465b;
  --link: #9ee6d1;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(ellipse at 14% 0%, rgba(53, 117, 133, .22), transparent 36rem),
    radial-gradient(ellipse at 100% 20%, rgba(242, 169, 59, .12), transparent 32rem),
    var(--bg);
  color: var(--text);
  font: 16px/1.72 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

a { color: var(--link); text-underline-offset: .2em; }
a:hover { color: #d2fff2; }
a:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; border-radius: 4px; }

.skip-link {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 2;
  padding: 8px 12px;
  transform: translateY(-150%);
  border-radius: 8px;
  background: var(--accent);
  color: #17212c;
  font-weight: 700;
}
.skip-link:focus { transform: translateY(0); }

.site-header,
.site-footer {
  display: flex;
  width: min(100% - 36px, 980px);
  margin-inline: auto;
  align-items: center;
  justify-content: space-between;
}

.site-header { min-height: 82px; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--text); text-decoration: none; font-weight: 800; letter-spacing: .02em; }
.brand-mark { display: grid; width: 38px; height: 38px; place-items: center; border: 2px solid var(--accent); border-radius: 12px; color: var(--accent); font-size: 21px; transform: rotate(-5deg); }
.header-note { color: var(--muted); font-size: .88rem; }

.page-shell { width: min(100% - 36px, 980px); margin: 14px auto 56px; }
.policy-card { padding: clamp(24px, 6vw, 64px); border: 1px solid var(--line); border-radius: 24px; background: linear-gradient(150deg, rgba(32, 46, 64, .96), rgba(24, 35, 51, .98)); box-shadow: 0 28px 80px rgba(0, 0, 0, .24); }
.eyebrow { margin: 0 0 8px; color: var(--accent); font-size: .76rem; font-weight: 800; letter-spacing: .17em; }
h1, h2 { line-height: 1.2; }
h1 { margin: 0; font-size: clamp(2.25rem, 7vw, 4rem); letter-spacing: -.045em; }
.updated { margin: 12px 0 0; color: var(--muted); font-size: .9rem; }
.intro { max-width: 66ch; margin: 28px 0; color: #e1e7ed; font-size: 1.12rem; }

.contents { display: flex; flex-wrap: wrap; gap: 10px; margin: 30px 0 42px; padding: 18px; border: 1px solid var(--line); border-radius: 16px; background: rgba(12, 19, 29, .36); }
.contents a { padding: 7px 11px; border: 1px solid #41546b; border-radius: 999px; color: var(--text); font-size: .87rem; text-decoration: none; }
.contents a:hover { border-color: var(--accent); color: var(--accent); }

section { scroll-margin-top: 24px; margin-top: 36px; }
section h2 { margin: 0 0 12px; color: var(--accent); font-size: clamp(1.2rem, 3vw, 1.45rem); }
section p { margin: 0 0 14px; color: #e0e6ec; }
section ul { margin: 0; padding-left: 1.25rem; color: #e0e6ec; }
section li { padding-left: .3rem; margin: 8px 0; }
.contact-box { margin-top: 42px; padding: 22px; border: 1px solid rgba(255, 209, 102, .35); border-radius: 16px; background: rgba(255, 209, 102, .06); }
.contact-placeholder { color: var(--accent); }
.closing { margin: 34px 0 0; padding-top: 20px; border-top: 1px solid var(--line); color: var(--muted); font-size: .9rem; }
.site-footer { min-height: 70px; color: var(--muted); font-size: .82rem; }

@media (max-width: 600px) {
  .site-header, .site-footer, .page-shell { width: min(100% - 24px, 980px); }
  .site-header { min-height: 68px; }
  .header-note { font-size: .76rem; }
  .page-shell { margin-top: 8px; }
  .policy-card { border-radius: 18px; }
  .contents { gap: 8px; padding: 13px; }
  .contents a { font-size: .8rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
