@font-face { font-family: BrandInter; src: url('/legal/assets/inter.ttf') format('truetype'); font-weight: 100 900; font-display: swap; }
:root { color-scheme: light; background: #e7f1f9; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; max-width: 100%; overflow-x: clip; }
body { margin: 0; }
a:focus-visible { outline: 2px solid #2343db; outline-offset: 3px; }
.skip-link { position: absolute; top: -100px; left: 16px; z-index: 20; padding: 8px 12px; background: #fff; }
.skip-link:focus { top: 12px; }
.legal-shell { min-height: 100vh; }
/* Heygo Design system: Color 238:2347, Typography 238:2349. */
.legal-shell {
  --legal-background: #e7f1f9;
  --legal-surface: #ffffff;
  --legal-text: #1a1a1a;
  --legal-muted: #557288;
  --legal-line: #b3c1d5;
  --legal-primary: #28f5d2;
  --legal-link: #2343db;
  --line: var(--legal-line);
  --muted: var(--legal-muted);
  background: var(--legal-background);
  color: var(--legal-text);
  font-family: BrandInter, -apple-system, BlinkMacSystemFont, "PingFang SC", sans-serif;
  letter-spacing: 0;
  color-scheme: light;
}
.legal-toolbar { position: sticky; top: 0; z-index: 10; padding-top: env(safe-area-inset-top); border-bottom: 1px solid rgba(179, 193, 213, .6); background: rgba(231, 241, 249, .82); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); }
.legal-toolbar-inner { width: min(calc(100% - 48px), 860px); height: 64px; margin-inline: auto; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.legal-logo { display: block; width: 84px; height: 28px; object-fit: contain; object-position: left center; filter: brightness(0); }
.legal-language-select { appearance: none; -webkit-appearance: none; height: 36px; min-width: 124px; margin: 0; border: 1px solid var(--line); border-radius: 999px; padding: 0 36px 0 16px; color: var(--legal-text); background: var(--legal-surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' fill='none'%3E%3Cpath d='M3 4.5 6 7.5l3-3' stroke='%23557288' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 14px center / 12px; font: inherit; font-size: 14px; line-height: 34px; font-weight: 500; cursor: pointer; box-shadow: 0 1px 2px rgba(26, 42, 64, .06); transition: border-color .16s, box-shadow .16s; }
.legal-language-select:hover { border-color: #8fa3bd; box-shadow: 0 2px 6px rgba(26, 42, 64, .08); }
.legal-language-select:focus-visible { outline: 2px solid var(--legal-link); outline-offset: 3px; }
.legal-content ::selection { background: var(--legal-primary); color: var(--legal-text); }
.legal-main { width: min(calc(100% - 48px), 860px); margin: 0 auto; padding: 48px 0 calc(56px + env(safe-area-inset-bottom)); overflow-wrap: anywhere; }
.legal-heading { margin-bottom: 28px; }
.legal-title { margin: 0; font-size: 36px; line-height: 44px; font-weight: 700; letter-spacing: -.01em; }
.legal-meta { display: inline-flex; margin: 12px 0 0; padding: 4px 12px; border-radius: 999px; background: rgba(255, 255, 255, .7); border: 1px solid rgba(179, 193, 213, .6); color: var(--muted); font-size: 13px; line-height: 20px; font-variant-numeric: tabular-nums; }
.legal-content { padding: 40px 48px 44px; border: 1px solid rgba(179, 193, 213, .55); border-radius: 16px; background: var(--legal-surface); box-shadow: 0 1px 2px rgba(26, 42, 64, .04), 0 12px 32px rgba(26, 42, 64, .06); color: var(--legal-text); font-size: 16px; line-height: 28px; }
.legal-content > :first-child { margin-top: 0; }
.legal-content > :last-child { margin-bottom: 0; }
.legal-content h1 { margin: 48px 0 20px; font-size: 28px; line-height: 36px; }
.legal-content h2 { margin: 40px 0 14px; padding-top: 32px; border-top: 1px solid #e3eaf3; font-size: 20px; line-height: 28px; font-weight: 700; }
.legal-content > h2:first-child { padding-top: 0; border-top: 0; }
.legal-content h3 { margin: 28px 0 10px; font-size: 16px; line-height: 24px; font-weight: 700; }
.legal-content p { margin: 0 0 16px; }
.legal-content strong { color: var(--legal-text); font-weight: 600; }
.legal-content a { color: var(--legal-link); text-decoration: underline; text-underline-offset: 3px; }
.legal-content ul, .legal-content ol { margin: 12px 0 20px; padding-left: 22px; }
.legal-content li { margin: 8px 0; padding-left: 4px; }
.legal-content li::marker { color: #8fa3bd; }
.legal-content blockquote { margin: 24px 0; padding: 12px 16px; border-left: 3px solid var(--legal-link); border-radius: 0 8px 8px 0; color: var(--legal-muted); background: #f5f8fc; }
.legal-content hr { margin: 40px 0; border: 0; border-top: 1px solid #e3eaf3; }
.legal-content table { width: 100%; margin: 22px 0; border-collapse: collapse; font-size: 14px; line-height: 22px; }
.legal-content th, .legal-content td { padding: 10px 12px; border: 1px solid #dbe4ef; text-align: left; vertical-align: top; }
.legal-content th { color: var(--legal-text); background: #f2f6fb; font-weight: 600; }
.legal-footer { margin-top: 28px; padding: 0 4px; font-size: 14px; color: var(--muted); }

.legal-operator { color: var(--legal-muted); font-size: 14px; }
.legal-footer { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; }
.legal-footer a { color: inherit; text-decoration: none; }
.legal-footer a:hover { text-decoration: underline; }
.draft-banner { padding: 11px 16px; border: 1px solid #e1c98b; border-radius: 8px; background: #fff9ea; color: #654c1b; }
@media (max-width: 680px) {
  .legal-toolbar-inner { width: calc(100% - 32px); height: 56px; }
  .legal-logo { width: 72px; height: 24px; }
  .legal-main { width: calc(100% - 24px); padding-top: 28px; }
  .legal-heading { margin-bottom: 20px; padding-inline: 4px; }
  .legal-title { font-size: 28px; line-height: 36px; }
  .legal-content { padding: 24px 20px 28px; border-radius: 14px; font-size: 15px; line-height: 26px; }
  .legal-content h2 { margin-top: 32px; padding-top: 24px; font-size: 18px; line-height: 26px; }
  .legal-content table { display: block; overflow-x: auto; font-size: 13px; line-height: 20px; }
  .legal-content th, .legal-content td { padding: 8px; min-width: 110px; overflow-wrap: anywhere; word-break: break-word; }
  .legal-footer { padding-inline: 4px; }
}
@media print {
  :root { background: #fff; }
  .legal-toolbar, .legal-footer, .draft-banner { display: none; }
  .legal-main { width: 100%; padding: 0; }
  .legal-content { padding: 0; border: 0; box-shadow: none; }
  .legal-content a { color: inherit; text-decoration: none; }
}
