/* Fixed-dark Design System surface (Infinity Dark -> Infinity, Snow Cloud text),
   same look as the privacy page in Bridge. */
@font-face { font-family: "D-DIN"; font-weight: 400; font-display: swap; src: url("../fonts/D-DIN-400.woff2") format("woff2"); }
@font-face { font-family: "D-DIN"; font-weight: 700; font-display: swap; src: url("../fonts/D-DIN-700.woff2") format("woff2"); }

* { box-sizing: border-box; }
html { color-scheme: dark; scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  background: linear-gradient(160deg, #1a2028, #0e1215 45%) fixed;
  color: #f5f8fa;
  font-family: "D-DIN", "DIN Alternate", "Helvetica Neue", Arial, sans-serif;
  letter-spacing: 0.01em;
  font-feature-settings: "tnum" 1;
}
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.top { position: sticky; top: 0; z-index: 20; border-bottom: 1px solid rgba(245, 248, 250, 0.06); background: rgba(14, 18, 21, 0.72); backdrop-filter: blur(14px); }
.top-inner { max-width: 1180px; margin: 0 auto; padding: 16px 20px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.lang select {
  min-height: 36px; padding: 0 12px; border-radius: 4px; cursor: pointer;
  border: 1px solid rgba(245, 248, 250, 0.08); background: rgba(71, 88, 100, 0.34);
  color: #b4c0ca; font-family: inherit; font-size: 13px; font-weight: 700;
}
.lang select:hover, .lang select:focus-visible { border-color: rgba(245, 248, 250, 0.3); color: #f5f8fa; outline: none; }
.lang option { background: #1a2028; color: #f5f8fa; }

.layout { max-width: 1180px; margin: 0 auto; padding: 56px 20px 96px; }
.toc { display: none; }
.policy { max-width: 760px; }
@media (min-width: 640px) { .top-inner, .layout { padding-left: 32px; padding-right: 32px; } }
@media (min-width: 1024px) {
  .layout { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 64px; }
  .toc { display: flex; flex-direction: column; gap: 4px; position: sticky; top: 112px; align-self: start; }
}

.toc-title, .overline { margin: 0 0 12px; font-size: 11px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: #8c9cac; }
.overline { margin: 0; font-size: 12px; }
.toc-link { padding: 6px 8px; border-radius: 4px; font-size: 13.5px; line-height: 1.35; color: #8c9ca9; text-decoration: none; transition: background 0.15s, color 0.15s; }
.toc-link:hover { background: rgba(255, 255, 255, 0.05); color: #f5f8fa; }
.toc-link[aria-current] { background: rgba(77, 122, 168, 0.2); color: #f5f8fa; font-weight: 700; box-shadow: inset 2px 0 0 #4d6f91; }

h1 { margin: 12px 0 0; font-size: clamp(34px, 5vw, 52px); line-height: 1.04; letter-spacing: -0.01em; }
.meta { margin: 16px 0 0; font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: #647a8a; }
.intro { margin: 32px 0 0; font-size: 17px; line-height: 1.65; color: #b4c0ca; }
.sections { margin-top: 56px; display: flex; flex-direction: column; gap: 56px; }
section { scroll-margin-top: 112px; }
h2 { margin: 0; font-size: 22px; line-height: 1.2; }
.blocks { margin-top: 20px; display: flex; flex-direction: column; gap: 16px; }
.p { margin: 0; font-size: 15.5px; line-height: 1.7; color: #b4c0ca; }
strong { font-weight: 700; color: #f5f8fa; }
.list { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 8px; font-size: 15.5px; line-height: 1.7; color: #b4c0ca; }
.mail { font-weight: 700; color: #f5f8fa; text-decoration: underline; text-decoration-color: #475864; text-underline-offset: 4px; }
.mail:hover { text-decoration-color: #f5f8fa; }

.callout { display: flex; gap: 16px; padding: 20px; border-radius: 12px; border: 1px solid rgba(245, 248, 250, 0.12); background: rgba(71, 88, 100, 0.16); }
.callout-body { display: flex; flex-direction: column; gap: 6px; }
.callout-title { margin: 0; font-size: 15.5px; font-weight: 700; }
.callout-icon { flex: none; width: 22px; height: 22px; margin-top: 2px; background: #f5f8fa; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.5' stroke-linejoin='round'%3E%3Cpath d='M12 3l7.5 3v5.5c0 4.4-3.2 8-7.5 9.5-4.3-1.5-7.5-5.1-7.5-9.5V6z'/%3E%3C/svg%3E") center / contain no-repeat; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.5' stroke-linejoin='round'%3E%3Cpath d='M12 3l7.5 3v5.5c0 4.4-3.2 8-7.5 9.5-4.3-1.5-7.5-5.1-7.5-9.5V6z'/%3E%3C/svg%3E") center / contain no-repeat; }

.table-wrap { overflow-x: auto; border-radius: 12px; border: 1px solid #2a333e; }
table { width: 100%; min-width: 640px; border-collapse: collapse; text-align: left; }
th { padding: 12px 16px; border-bottom: 1px solid #2a333e; font-size: 11px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: #8c9ca9; }
td { padding: 14px 16px; vertical-align: top; font-size: 14.5px; line-height: 1.6; color: #b4c0ca; border-bottom: 1px solid #1d242b; }
tr:last-child td { border-bottom: 0; }
td.first { font-weight: 700; color: #f5f8fa; }

.contact { margin-top: 64px; padding: 24px; border-radius: 12px; border: 1px solid #2a333e; display: flex; flex-direction: column; gap: 8px; }
.contact .toc-title { margin: 0; }
.noscript { padding: 24px; color: #b4c0ca; }
.noscript a { color: #f5f8fa; }
