:root { font-family: Arial, Helvetica, sans-serif; color: #111; background: #fff8e7; font-synthesis: none; --ink:#111; --lime:#d7ff3f; --orange:#ff6038; --blue:#79d9ff; --paper:#fff; --muted:#4d4d4d; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; min-height: 100vh; background-color: #fff8e7; background-image: linear-gradient(rgba(17,17,17,.055) 1px, transparent 1px), linear-gradient(90deg, rgba(17,17,17,.055) 1px, transparent 1px); background-size: 28px 28px; }
a { color: inherit; }
.skip-link { position: fixed; top: 10px; left: 10px; z-index: 10; padding: 10px 13px; border: 3px solid var(--ink); background: var(--lime); font-weight: 900; transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }
.legal-header { position: sticky; top: 0; z-index: 5; display: flex; align-items: center; justify-content: space-between; min-height: 76px; padding: 12px max(22px, 4vw); border-bottom: 4px solid var(--ink); background: var(--paper); }
.legal-brand { display: flex; align-items: center; gap: 11px; text-decoration: none; font: 900 1.25rem "Arial Black", Impact, sans-serif; text-transform: uppercase; }
.legal-brand span { display: grid; width: 40px; height: 40px; place-items: center; border: 3px solid var(--ink); background: var(--lime); box-shadow: 4px 4px 0 var(--ink); transform: rotate(-4deg); }
.legal-header nav { display: flex; gap: 8px; }
.legal-header nav a { padding: 9px 11px; border: 2px solid var(--ink); background: #fff; font: 900 .7rem "Courier New", monospace; text-decoration: none; text-transform: uppercase; }
.legal-header nav a.active { background: var(--blue); box-shadow: 3px 3px 0 var(--ink); }
.legal-header a:focus-visible, .legal-document a:focus-visible { outline: 4px solid var(--orange); outline-offset: 3px; }

.legal-layout { display: grid; grid-template-columns: minmax(330px, .78fr) minmax(560px, 1.22fr); width: min(1500px, 100%); margin: auto; }
.legal-summary { position: sticky; top: 76px; align-self: start; display: flex; flex-direction: column; min-height: calc(100vh - 76px); padding: clamp(38px, 5vw, 76px); border-right: 4px solid var(--ink); background: var(--lime); }
.legal-summary.terms-summary { background: var(--blue); }
.legal-label { align-self: flex-start; margin: 0 0 25px; padding: 7px 9px; border: 2px solid var(--ink); background: var(--paper); box-shadow: 3px 3px 0 var(--ink); font: 900 .68rem "Courier New", monospace; }
.legal-summary h1, .legal-document h2 { margin: 0; font-family: Impact, "Arial Black", sans-serif; font-weight: 900; line-height: .9; letter-spacing: -.035em; text-transform: uppercase; }
.legal-summary h1 { font-size: clamp(3.5rem, 6vw, 6.4rem); }
.legal-summary h1 em { color: var(--orange); font-style: normal; -webkit-text-stroke: 2px var(--ink); }
.legal-summary > p:not(.legal-label) { max-width: 520px; margin: 24px 0 30px; font-size: 1.05rem; font-weight: 750; line-height: 1.5; }
.legal-facts { display: grid; gap: 10px; margin-top: auto; }
.legal-facts article { display: grid; gap: 4px; padding: 13px 14px; border: 3px solid var(--ink); background: var(--paper); box-shadow: 4px 4px 0 var(--ink); }
.legal-facts strong { font: 900 .72rem "Courier New", monospace; text-transform: uppercase; }
.legal-facts span { font-size: .86rem; font-weight: 650; line-height: 1.4; }

.legal-document { min-width: 0; padding: clamp(38px, 5vw, 76px); background: rgba(255,255,255,.82); }
.legal-document > header { padding-bottom: 28px; border-bottom: 4px solid var(--ink); }
.legal-document > header > span { font: 900 .72rem "Courier New", monospace; letter-spacing: .07em; }
.legal-document h2 { margin-top: 13px; font-size: clamp(2.7rem, 5vw, 5rem); }
.legal-document > header p { max-width: 720px; margin: 18px 0 0; line-height: 1.55; }
.legal-toc { margin: 28px 0; padding: 20px; border: 3px solid var(--ink); background: var(--paper); box-shadow: 5px 5px 0 var(--blue), 8px 8px 0 var(--ink); }
.legal-toc > strong { font: 900 .72rem "Courier New", monospace; text-transform: uppercase; }
.legal-toc ol { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 26px; margin: 14px 0 0; padding-left: 22px; }
.legal-toc a { font-size: .86rem; font-weight: 750; text-underline-offset: 3px; }
.legal-document > section { display: grid; grid-template-columns: 42px minmax(0, 1fr); gap: 17px; padding: 27px 0; border-bottom: 2px solid var(--ink); scroll-margin-top: 94px; }
.legal-document > section > span { display: grid; width: 38px; height: 38px; place-items: center; border: 2px solid var(--ink); background: var(--blue); font: 900 .72rem "Courier New", monospace; }
.legal-document section h3 { margin: 3px 0 9px; font: 900 1rem "Courier New", monospace; text-transform: uppercase; }
.legal-document section p { max-width: 760px; margin: 0; color: #2d2d2d; line-height: 1.65; }
.legal-document footer { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 30px; }
.legal-document footer a { font: 900 .72rem "Courier New", monospace; text-underline-offset: 4px; text-transform: uppercase; }
.legal-document footer a:first-child { padding: 12px 14px; border: 3px solid var(--ink); background: var(--lime); box-shadow: 4px 4px 0 var(--ink); text-decoration: none; }

@media (max-width: 900px) {
  .legal-layout { grid-template-columns: 1fr; }
  .legal-summary { position: static; min-height: auto; border-right: 0; border-bottom: 4px solid var(--ink); }
  .legal-facts { grid-template-columns: repeat(3, 1fr); margin-top: 0; }
}
@media (max-width: 620px) {
  .legal-header { min-height: 68px; padding-inline: 16px; }
  .legal-brand { font-size: 0; }
  .legal-brand span { font-size: 1rem; }
  .legal-header nav a { padding: 8px; font-size: .62rem; }
  .legal-summary, .legal-document { padding: 34px 20px; }
  .legal-summary h1 { font-size: clamp(3.2rem, 17vw, 5rem); }
  .legal-facts, .legal-toc ol { grid-template-columns: 1fr; }
  .legal-document > section { grid-template-columns: 34px 1fr; gap: 11px; }
  .legal-document > section > span { width: 32px; height: 32px; }
  .legal-document footer { align-items: stretch; flex-direction: column; }
  .legal-document footer a { text-align: center; }
}
