:root {
  color-scheme: dark;
  --ink: #0e0f12;
  --surface: #171a20;
  --text: #f6f7f9;
  --muted: #a7a9b3;
  --border: rgba(246, 247, 249, 0.12);
  --link: #85a7ff;
}
* {
  box-sizing: border-box;
}
html {
  scroll-padding-top: 24px;
}
body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font-family:
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    'Segoe UI',
    sans-serif;
  font-size: 16px;
  line-height: 1.75;
}
a {
  color: var(--link);
  text-underline-offset: 4px;
  text-decoration-thickness: 1px;
}
a:hover {
  color: #b8cbff;
}
a:focus-visible,
summary:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid var(--link);
  outline-offset: 4px;
  border-radius: 4px;
}
img {
  max-width: 100%;
}
.site-header {
  max-width: 1120px;
  margin: auto;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid var(--border);
}
.brand {
  display: flex;
  align-items: center;
  min-height: 44px;
}
.brand img {
  width: 100px;
  height: auto;
  display: block;
}
.settings-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  font-size: 13px;
  text-decoration: none;
  color: #c8cbd3;
}
.settings-link span {
  color: var(--link);
}
main {
  max-width: 1120px;
  padding: 16px 20px 32px;
  margin: auto;
}
.skip-link {
  position: fixed;
  z-index: 2;
  top: 8px;
  left: 12px;
  padding: 10px 16px;
  background: var(--surface);
  transform: translateY(-160%);
}
.skip-link:focus {
  transform: translateY(0);
}
.policy-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 28px;
}
.policy-nav a {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px 16px;
  min-height: 44px;
  font-size: 14px;
  border: 1px solid transparent;
  border-radius: 10px;
  color: var(--muted);
  text-decoration: none;
}
.policy-nav a:hover {
  background: var(--surface);
  color: var(--text);
}
.policy-nav a[aria-current='page'] {
  color: #ffb286;
  border-color: rgba(232, 117, 50, 0.25);
  background: rgba(232, 117, 50, 0.08);
}
.policy-header {
  max-width: 750px;
  padding: 0 0 28px;
  position: relative;
  isolation: isolate;
}
.policy-header::before {
  content: '';
  position: absolute;
  inset: -20px;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 20% 20%, rgba(232, 117, 50, 0.1), transparent 65%),
    radial-gradient(ellipse at 85% 30%, rgba(37, 99, 255, 0.08), transparent 65%);
  mask-image: radial-gradient(ellipse at center, #000, transparent 72%);
}
.eyebrow {
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  margin: 0 0 10px;
}
h1 {
  margin: 0;
  color: var(--text);
  font-size: clamp(1.85rem, 5vw, 2.75rem);
  font-weight: 750;
  line-height: 1.15;
  letter-spacing: -0.035em;
  text-wrap: balance;
}
.lead {
  margin: 16px 0;
  font-size: 16px;
  color: #b9bdc8;
  line-height: 1.65;
  max-width: 610px;
}
.meta {
  font-size: 12px;
  color: var(--muted);
  margin: 16px 0 0;
}
.meta strong {
  font-weight: 400;
}
.policy-layout {
  display: grid;
  gap: 48px;
}
.policy-content {
  min-width: 0;
  max-width: 740px;
  color: #c8cbd3;
}
.policy-content p {
  margin: 0 0 16px;
  overflow-wrap: anywhere;
}
.policy-content strong {
  color: var(--text);
  font-weight: 650;
}
.policy-content h2 {
  color: var(--text);
  font-size: 21px;
  line-height: 1.35;
  letter-spacing: -0.02em;
  font-weight: 700;
  margin: 0 0 20px;
  scroll-margin-top: 24px;
}
.policy-content h3 {
  color: var(--text);
  font-size: 17px;
  font-weight: 650;
  line-height: 1.4;
  margin: 26px 0 12px;
}
.policy-content ul {
  padding-left: 22px;
  margin: 16px 0 24px;
}
.policy-content li {
  margin-bottom: 10px;
}
.policy-content section {
  border-top: 1px solid var(--border);
  padding-top: 28px;
  margin-top: 32px;
  scroll-margin-top: 24px;
}
.policy-content .box,
.policy-content .contact {
  padding: 20px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--surface);
}
.box p:last-child,
.contact p:last-child {
  margin-bottom: 0;
}
.brand-note {
  color: var(--muted);
  font-size: 13px;
}
.policy-summary,
.mobile-contents {
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: 14px;
  padding: 0 16px;
  margin-bottom: 24px;
}
summary {
  cursor: pointer;
  min-height: 54px;
  padding: 14px 0;
  color: var(--text);
  font-size: 14px;
  font-weight: 650;
}
summary::marker {
  color: var(--link);
}
.policy-summary ul {
  font-size: 14px;
  margin: 4px 0 20px;
}
.mobile-contents nav {
  max-height: 55vh;
  overflow: auto;
  padding-bottom: 12px;
}
.mobile-contents ol,
.desktop-contents ol {
  list-style: none;
  padding: 0;
  margin: 0;
}
.mobile-contents a,
.desktop-contents a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 10px 0;
  font-size: 13px;
  color: #c8cbd3;
  line-height: 1.5;
  text-decoration: none;
}
.mobile-contents li + li,
.desktop-contents li + li {
  border-top: 1px solid var(--border);
}
.mobile-contents a:hover,
.desktop-contents a:hover {
  color: var(--link);
  text-decoration: underline;
}
.desktop-contents {
  display: none;
}
.inline-action a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  font-size: 14px;
}
.site-footer {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 24px;
  font-size: 13px;
}
.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
}
.site-footer a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  text-decoration: none;
}
.site-footer p {
  flex-basis: 100%;
  color: var(--muted);
  font-size: 12px;
  margin: 0;
}
table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  font-size: 13px;
  line-height: 1.6;
}
caption {
  text-align: left;
  color: var(--muted);
  font-size: 13px;
  padding-bottom: 12px;
}
th {
  text-align: left;
  color: var(--muted);
  font-weight: 600;
}
th,
td {
  padding: 12px;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
  overflow-wrap: anywhere;
}
td:first-child {
  color: var(--text);
}
.cell-label {
  display: none;
}
@media (max-width: 599px) {
  caption {
    display: block;
    width: 100%;
  }
  table,
  tbody {
    display: block;
  }
  thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
  }
  tbody {
    display: grid;
    gap: 16px;
  }
  tbody tr {
    display: block;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: var(--surface);
    padding: 4px 16px;
  }
  td {
    display: block;
    padding: 12px 0;
  }
  td:last-child {
    border: 0;
  }
  .cell-label {
    display: block;
    font-size: 11px;
    color: var(--muted);
    margin-bottom: 4px;
  }
  td:first-child strong {
    font-family: ui-monospace, monospace;
    font-size: 13px;
  }
}
@media (min-width: 900px) {
  .site-header {
    padding: 20px 32px;
  }
  main {
    padding: 24px 32px 48px;
  }
  .policy-nav {
    margin-bottom: 36px;
  }
  .policy-header {
    padding-bottom: 36px;
  }
  .lead {
    font-size: 18px;
  }
  .policy-layout {
    grid-template-columns: minmax(0, 1fr) 260px;
    gap: 64px;
  }
  .policy-content h2 {
    font-size: 24px;
  }
  .mobile-contents {
    display: none;
  }
  .desktop-contents {
    display: block;
    align-self: start;
    position: sticky;
    top: 24px;
    border: 1px solid var(--border);
    border-radius: 16px;
    background: var(--surface);
    padding: 16px;
    max-height: calc(100dvh - 48px);
    overflow: auto;
  }
  .desktop-contents h2 {
    font-size: 14px;
    line-height: 1.4;
    margin: 0 0 12px;
  }
}
@media print {
  :root {
    color-scheme: light;
    --ink: #fff;
    --text: #111;
    --muted: #444;
    --border: #aaa;
    --link: #111;
    --surface: #fff;
  }
  body,
  .policy-content,
  .policy-content p {
    color: #111;
  }
  .site-header,
  .policy-nav,
  .mobile-contents,
  .desktop-contents,
  .site-footer,
  .skip-link,
  .policy-header::before {
    display: none;
  }
  main {
    padding: 0;
    max-width: none;
  }
  .policy-layout {
    display: block;
  }
  .policy-content {
    max-width: none;
  }
  h1,
  h2,
  h3 {
    break-after: avoid;
  }
  a {
    color: #111;
  }
  .policy-summary:not([open]) {
    display: none;
  }
}
