/* Extracted unchanged from the prototype site/privacy.html. */
/* Legal page: same dark ChuoLink language. Header, gold title band, sticky contents list beside the text. */
:root { color-scheme: dark; --night: #0D0D0D; --coal: #151415; --coal-2: #1E1D1E; --edge: #333333; --gold: #F4C644; --sun: #FFDE69; --white: #FFFFFF; --mute: #A3A3A3;
  --display: 'Bricolage Grotesque', 'Arial Black', Arial, sans-serif; --body: 'DM Sans', 'Segoe UI', Roboto, Arial, sans-serif; --mono: 'Space Mono', ui-monospace, Menlo, monospace; }
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
::selection { background: #F4C644; color: #0D0D0D; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--night); color: var(--white); font: 17px/1.65 var(--body); }
img { display: block; max-width: 100%; height: auto; -webkit-user-drag: none; user-select: none; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--sun); outline-offset: 3px; border-radius: 6px; }
.wrap { max-width: 72rem; margin: 0 auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
.bar { background: var(--gold); color: #0D0D0D; font-weight: 700; font-size: .92rem; text-align: center; padding: 9px 16px; }
.bar a { text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 2px; }
.top { position: sticky; top: 0; z-index: 10; background: rgba(13,13,13,.9); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-bottom: 2px solid var(--edge); }
.top .wrap { display: flex; align-items: center; gap: 20px; padding-block: 12px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; margin-right: auto; }
.logo .mark { width: 34px; height: 34px; }
.logo b { font-family: var(--display); font-weight: 800; font-size: 1.5rem; letter-spacing: -0.03em; }
.logo span { font-family: var(--mono); font-size: .66rem; letter-spacing: .08em; background: var(--gold); color: #0D0D0D; padding: 3px 7px; border-radius: 6px; border: 2px solid #0D0D0D; transform: rotate(-3deg); white-space: nowrap; }
.nav a { text-decoration: none; font-weight: 600; color: var(--mute); padding: 8px 10px; border-radius: 10px; }
.nav a:hover { color: var(--white); background: var(--coal-2); }
.btn { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: 12px; border: 2px solid #0D0D0D; background: var(--gold); color: #0D0D0D; font-weight: 700; text-decoration: none; white-space: nowrap; }
.btn:hover { background: var(--sun); }
.hero { position: relative; overflow: hidden; text-align: center; padding: 64px 0 56px; background: var(--coal); border-bottom: 2px solid var(--edge); }
.hero::before, .hero::after { content: ""; position: absolute; border-radius: 50%; border: 2px solid rgba(244,198,68,.4); background: radial-gradient(circle, rgba(244,198,68,.1), transparent 70%); }
.hero::before { width: 240px; height: 240px; top: -120px; left: -80px; }
.hero::after { width: 300px; height: 300px; bottom: -190px; right: -90px; }
.hero h1 { position: relative; font-family: var(--display); font-weight: 800; font-size: clamp(2.4rem, 7vw, 4.4rem); line-height: 1.02; letter-spacing: -0.035em; margin: 0; color: var(--gold); }
.hero p { position: relative; margin: 14px auto 0; color: var(--mute); max-width: 40rem; }
.hero .upd { font-family: var(--mono); font-size: .8rem; font-weight: 700; letter-spacing: .06em; color: var(--white); }
.doc { display: grid; grid-template-columns: 17rem minmax(0, 1fr); gap: 56px; align-items: start; padding-block: 56px 72px; }
.toc { position: sticky; top: 96px; padding: 22px; border-radius: 20px; border: 2px solid var(--edge); background: var(--coal); }
.toc p, .toc summary { font-family: var(--mono); font-size: .74rem; font-weight: 700; letter-spacing: .1em; color: var(--gold); margin: 0 0 10px; }
.toc ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.toc a { display: block; padding: 7px 10px; border-radius: 10px; text-decoration: none; color: var(--mute); font-size: .95rem; line-height: 1.35; }
.toc a:hover { color: var(--white); background: var(--coal-2); }
.toc a.on { color: #0D0D0D; background: var(--gold); font-weight: 700; }
.toc details summary { display: none; }
article { min-width: 0; max-width: 46rem; }
article section { padding-bottom: 28px; margin-bottom: 28px; border-bottom: 1px solid var(--edge); }
article section:last-child { border-bottom: 0; }
article h2 { font-family: var(--display); font-weight: 800; font-size: clamp(1.5rem, 3vw, 2rem); letter-spacing: -0.025em; line-height: 1.15; margin: 0 0 12px; }
article p { margin: 10px 0; color: #DADADA; }
article strong { color: var(--white); }
article ul { margin: 10px 0; padding-left: 0; list-style: none; display: grid; gap: 8px; }
article li { position: relative; padding-left: 22px; color: #DADADA; }
article li::before { content: ""; position: absolute; left: 4px; top: .62em; width: 7px; height: 7px; border-radius: 2px; background: var(--gold); }
article a { color: var(--gold); text-underline-offset: 3px; }
/* Numbered steps (how to request a refund), sub headings and tables from the official terms */
article ol { margin: 10px 0; padding-left: 0; list-style: none; display: grid; gap: 8px; counter-reset: step; }
article ol li { counter-increment: step; padding-left: 30px; }
article ol li::before { content: counter(step); top: .1em; left: 0; width: 22px; height: 22px; border-radius: 6px; background: var(--gold); color: #0D0D0D; font: 700 .78rem/22px var(--mono, monospace); text-align: center; }
article h3 { font-family: var(--display); font-weight: 800; font-size: 1.2rem; letter-spacing: -0.02em; margin: 22px 0 8px; }
article table { display: block; max-width: 100%; overflow-x: auto; border-collapse: collapse; margin: 14px 0; font-size: .95rem; -webkit-overflow-scrolling: touch; }
article th, article td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--edge); color: #DADADA; min-width: 9rem; }
article th { font-family: var(--mono, monospace); font-size: .74rem; letter-spacing: .06em; text-transform: uppercase; color: var(--mute); border-bottom: 2px solid var(--edge); }
article td:first-child { min-width: 8rem; }
/* Phones: every row becomes a small card, each cell under its column name */
@media (max-width: 640px) {
  article table, article tbody, article tr, article td { display: block; min-width: 0; }
  article thead { display: none; }
  article tr { border: 1px solid var(--edge); border-radius: 14px; padding: 6px 14px; margin: 10px 0; }
  article td { border: 0; padding: 6px 0; }
  article td[data-label]:not(:first-child)::before { content: attr(data-label); display: block; font-family: var(--mono, monospace); font-size: .7rem; letter-spacing: .06em; text-transform: uppercase; color: var(--mute); margin-bottom: 2px; }
}
.note { margin-top: 8px; padding: 16px 18px; border-radius: 14px; border: 2px dashed var(--edge); color: var(--mute); font-size: .92rem; }
footer { border-top: 2px solid var(--edge); color: var(--mute); font-size: .92rem; }
footer .wrap { display: flex; justify-content: space-between; gap: 12px 24px; flex-wrap: wrap; padding-block: 28px; }
footer nav { display: flex; gap: 18px; flex-wrap: wrap; }
footer a { text-decoration: none; color: var(--white); }
footer a:hover { color: var(--gold); }
@media (max-width: 900px) {
  .nav { display: none; }
  .doc { grid-template-columns: minmax(0, 1fr); gap: 24px; padding-block: 28px 56px; }
  .toc { position: static; padding: 0; }
  .toc > p { display: none; }
  .toc details summary { display: flex; justify-content: space-between; align-items: center; cursor: pointer; list-style: none; padding: 16px 18px; margin: 0; }
  .toc details summary::-webkit-details-marker { display: none; }
  .toc details summary::after { content: "+"; font-size: 1.2rem; }
  .toc details[open] summary::after { content: "×"; }
  .toc details ol { padding: 0 10px 12px; }
  .hero { padding: 44px 0 40px; }
}
@media (max-width: 520px) {
  body { font-size: 16px; }
  .logo b { font-size: 1.3rem; } .logo .mark { width: 30px; height: 30px; }
  .btn { min-height: 40px; padding: 0 14px; font-size: .92rem; }
  .bar { font-size: .84rem; } .hs { display: none; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
