:root {
  color-scheme: dark;
  --page: #111318;
  --surface: #191c22;
  --surface-raised: #20242c;
  --text: #f6f4ef;
  --muted: #b2b4bb;
  --subtle: #777b85;
  --line: rgba(255, 255, 255, 0.12);
  --amber: #f5a524;
  --amber-deep: #d97706;
  --text-accent: #f5a524;
  --amber-soft: rgba(245, 165, 36, 0.12);
  --max: 1160px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--page);
  color: var(--text);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  min-width: 320px;
  margin: 0;
  background:
    radial-gradient(ellipse at 78% 0%, rgba(245, 165, 36, 0.08), transparent 40rem),
    var(--page);
  color: var(--text);
  font-size: 16px;
  line-height: 1.7;
}
a { color: var(--text-accent); text-underline-offset: 0.2em; }
a:hover { color: var(--text-accent); }
a:focus-visible { outline: 2px solid var(--amber); outline-offset: 4px; border-radius: 3px; }

.skip-link {
  position: absolute;
  z-index: 10;
  top: 12px;
  left: 12px;
  padding: 8px 12px;
  transform: translateY(-160%);
  border-radius: 6px;
  background: var(--amber);
  color: #18130b;
  font-weight: 700;
}
.skip-link:focus { transform: translateY(0); }

.site-header, .site-footer {
  display: flex;
  width: min(var(--max), calc(100% - 48px));
  margin-inline: auto;
  align-items: center;
  justify-content: space-between;
}
.site-header {
  min-height: 82px;
  border-bottom: 1px solid var(--line);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--text);
  font-size: 18px;
  font-weight: 750;
  letter-spacing: -0.04em;
  text-decoration: none;
}
.brand-icon {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 11px;
  background: linear-gradient(140deg, var(--amber), var(--amber-deep));
  color: #201608;
  font-size: 17px;
  font-weight: 850;
}
.site-nav, .site-footer nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
.site-nav a, .site-footer nav a {
  color: var(--muted);
  font-size: 14px;
  text-decoration: none;
}
.site-nav a:hover, .site-nav a[aria-current="page"], .site-footer nav a:hover { color: var(--text); }

.home-main, .policy-main { width: min(var(--max), calc(100% - 48px)); margin-inline: auto; }
.home-main { padding: 98px 0 120px; }
.home-hero { max-width: 780px; padding: 42px 0 82px; }
.eyebrow {
  margin: 0 0 18px;
  color: var(--text-accent);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}
h1, h2, h3, p { margin-top: 0; }
h1 {
  max-width: 820px;
  margin-bottom: 20px;
  font-size: clamp(2.8rem, 7vw, 5.4rem);
  font-weight: 720;
  letter-spacing: -0.065em;
  line-height: 1.02;
}
.lead { max-width: 680px; color: var(--muted); font-size: clamp(1.05rem, 1.7vw, 1.25rem); line-height: 1.75; }
.home-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 0 19px;
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--text);
  font-size: 14px;
  font-weight: 680;
  text-decoration: none;
  transition: transform 150ms ease, border-color 150ms ease;
}
.button:hover { transform: translateY(-1px); border-color: rgba(245, 165, 36, 0.5); color: var(--text); }
.button-primary { border-color: transparent; background: linear-gradient(135deg, var(--amber), var(--amber-deep)); color: #211609; }
.button-primary:hover { color: #211609; }
.button-secondary { background: var(--surface); }
.home-note {
  display: grid;
  max-width: 820px;
  grid-template-columns: 44px 1fr;
  gap: 18px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(255,255,255,0.035), rgba(255,255,255,0.012));
}
.note-mark { display: grid; width: 42px; height: 42px; place-items: center; border-radius: 13px; background: var(--amber-soft); color: var(--text-accent); font-size: 21px; }
.home-note h2 { margin-bottom: 7px; font-size: 18px; letter-spacing: -0.03em; }
.home-note p { max-width: 660px; margin-bottom: 0; color: var(--muted); font-size: 14px; }

.policy-main { padding-bottom: 72px; }
.policy-hero {
  position: relative;
  overflow: hidden;
  min-height: 330px;
  padding: 42px 0 62px;
  border-bottom: 1px solid var(--line);
}
.back-link { display: inline-block; margin-bottom: 38px; color: var(--muted); font-size: 13px; text-decoration: none; }
.policy-hero h1 { max-width: 760px; font-size: clamp(2.65rem, 6vw, 4.4rem); }
.policy-hero .lead { max-width: 700px; margin-bottom: 20px; font-size: 1.05rem; }
.updated { margin: 0; color: var(--subtle); font-size: 13px; }
.hero-orbit {
  position: absolute;
  top: 46px;
  right: 8%;
  width: 205px;
  aspect-ratio: 1;
  border: 1px solid rgba(245, 165, 36, 0.15);
  border-radius: 50%;
  box-shadow: 0 0 0 28px rgba(245,165,36,0.025), 0 0 0 58px rgba(245,165,36,0.018);
  pointer-events: none;
}
.hero-orbit::before, .hero-orbit::after { position: absolute; content: ""; border-radius: 50%; }
.hero-orbit::before { inset: 24%; border: 1px solid rgba(245, 165, 36, 0.23); }
.hero-orbit::after { top: 49%; left: 49%; width: 9px; height: 9px; background: var(--amber); box-shadow: 0 0 26px rgba(245,165,36,0.7); }

.policy-layout { display: grid; grid-template-columns: 205px minmax(0, 760px); gap: clamp(40px, 8vw, 106px); justify-content: center; padding-top: 56px; }
.policy-aside { align-self: start; position: sticky; top: 30px; }
.policy-aside nav { display: grid; gap: 4px; border-left: 1px solid var(--line); padding-left: 16px; }
.aside-title { margin: 0 0 9px; color: var(--subtle); font-size: 11px; font-weight: 800; letter-spacing: 0.13em; text-transform: uppercase; }
.policy-aside a { padding: 4px 0; color: var(--muted); font-size: 12px; line-height: 1.45; text-decoration: none; }
.policy-aside a:hover { color: var(--text-accent); }
.policy-content { min-width: 0; }
.policy-content section { position: relative; padding: 0 0 44px; margin: 0 0 42px; border-bottom: 1px solid var(--line); scroll-margin-top: 30px; }
.section-number { display: block; margin-bottom: 5px; color: var(--text-accent); font-size: 11px; font-weight: 800; letter-spacing: 0.12em; }
.policy-content h2 { margin-bottom: 17px; font-size: clamp(1.45rem, 3vw, 1.9rem); letter-spacing: -0.045em; line-height: 1.2; }
.policy-content h3 { margin-bottom: 7px; font-size: 15px; letter-spacing: -0.02em; }
.policy-content p { margin-bottom: 16px; color: var(--muted); font-size: 14px; }
.policy-content p:last-child { margin-bottom: 0; }
.policy-content strong { color: var(--text); font-weight: 680; }
.contact-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 22px; }
.contact-card { display: grid; gap: 5px; padding: 17px 18px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); text-decoration: none; }
.contact-card span { color: var(--subtle); font-size: 12px; }
.contact-card strong { font-size: 14px; }
.notice, .detail-card { margin: 20px 0; padding: 18px 20px; border: 1px solid var(--line); border-radius: 13px; background: var(--surface); }
.notice { border-left: 3px solid var(--amber); background: linear-gradient(100deg, var(--amber-soft), var(--surface) 42%); }
.notice strong { display: block; margin-bottom: 5px; font-size: 13px; }
.notice p { margin: 0; font-size: 13px; }
.notice-review { border-color: rgba(255, 170, 80, 0.34); background: linear-gradient(100deg, rgba(255, 145, 60, 0.12), var(--surface) 52%); }
.detail-card { margin-block: 12px; }
.detail-card p { margin-bottom: 0; font-size: 13px; }
.permission-list { display: grid; gap: 0; padding: 0; margin: 20px 0; list-style: none; }
.permission-list li { display: grid; grid-template-columns: 150px 1fr; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 13px; }
.permission-list li:first-child { border-top: 1px solid var(--line); }
.permission-list span { color: var(--muted); }
.policy-footer { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; padding: 19px 21px; border: 1px solid var(--line); border-radius: 13px; background: var(--surface); }
.policy-footer span { color: var(--muted); font-size: 13px; }
.policy-footer a { font-size: 13px; font-weight: 680; text-decoration: none; }

.site-footer { min-height: 84px; border-top: 1px solid var(--line); color: var(--text); font-size: 13px; font-weight: 700; }
.footer-muted { color: var(--subtle); font-weight: 400; }

@media (max-width: 820px) {
  .hero-orbit { right: -20px; opacity: 0.5; }
  .policy-layout { grid-template-columns: 1fr; gap: 28px; }
  .policy-aside { position: static; }
  .policy-aside nav { display: flex; flex-wrap: wrap; gap: 5px 16px; border-left: 0; border-bottom: 1px solid var(--line); padding: 0 0 18px; }
  .aside-title { width: 100%; }
}
@media (max-width: 540px) {
  .site-header, .site-footer, .home-main, .policy-main { width: min(100% - 32px, var(--max)); }
  .site-header { min-height: 70px; }
  .site-nav, .site-footer nav { gap: 17px; }
  .home-main { padding: 54px 0 75px; }
  .home-hero { padding: 36px 0 58px; }
  .home-note { grid-template-columns: 1fr; padding: 20px; }
  .policy-hero { min-height: auto; padding: 30px 0 42px; }
  .back-link { margin-bottom: 28px; }
  .hero-orbit { top: 105px; right: -98px; width: 175px; opacity: 0.3; }
  .policy-layout { padding-top: 32px; }
  .contact-grid { grid-template-columns: 1fr; }
  .permission-list li { grid-template-columns: 1fr; gap: 2px; }
  .site-footer { align-items: flex-start; flex-direction: column; justify-content: center; gap: 9px; padding: 17px 0; }
}

@media (prefers-color-scheme: light) {
  :root {
    color-scheme: light;
    --page: #faf9f6;
    --surface: #fff;
    --surface-raised: #f1f0eb;
    --text: #17191e;
    --muted: #555b64;
    --subtle: #777c84;
    --line: rgba(20, 22, 27, 0.13);
    --amber-soft: rgba(217, 119, 6, 0.1);
    --text-accent: #8a4a00;
  }
  .button-primary { color: #211609; }
  .button-primary:hover { color: #211609; }
}

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