/* Light-Theme — shared base styles for legal subpages */
:root {
  --bg:        #f4ede0;
  --bg-1:      #ebe3d2;
  --line:      rgba(19, 18, 16, 0.16);
  --line-2:    rgba(19, 18, 16, 0.06);
  --bone:      #131210;
  --bone-2:    #3a3833;
  --bone-dim:  #6e6a5f;
  --hot:       #d63a05;
  --signal:    #2c7d1e;
  --on-hot:    #fff8ec;
  --type-display: "Archivo Black", "Helvetica Neue", sans-serif;
  --type-narrow:  "Archivo Narrow", "Helvetica Neue", sans-serif;
  --type-mono:    "JetBrains Mono", ui-monospace, monospace;
  --type-body:    "IBM Plex Sans", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--bone);
  font-family: var(--type-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body::before {
  content: "";
  position: fixed; inset: 0;
  background-image:
    linear-gradient(var(--line-2) 1px, transparent 1px),
    linear-gradient(90deg, var(--line-2) 1px, transparent 1px);
  background-size: 80px 80px;
  pointer-events: none;
  z-index: 0;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 90%);
}
body::after {
  content: "";
  position: fixed; inset: 0;
  background: radial-gradient(circle at 85% -5%, rgba(214, 58, 5, 0.10), transparent 55%),
              radial-gradient(circle at -5% 105%, rgba(214, 58, 5, 0.05), transparent 55%);
  pointer-events: none;
  z-index: 0;
}
::selection { background: var(--hot); color: var(--on-hot); }

/* Status bar */
.statusbar {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 100;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 10px 24px;
  background: rgba(244, 237, 224, 0.88);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
  font-family: var(--type-mono);
  font-size: 11px;
  color: var(--bone-dim);
  text-transform: uppercase;
  letter-spacing: 0.12em;
}
.statusbar .mark { color: var(--bone); display: flex; align-items: center; gap: 8px; text-decoration: none; }
.statusbar .mark::before {
  content: ""; width: 8px; height: 8px; background: var(--hot);
  display: inline-block;
  animation: pulse 1.2s infinite;
}
@keyframes pulse { 50% { opacity: 0.25; } }
.statusbar .back {
  color: var(--bone-2); text-decoration: none; justify-self: end;
  border-bottom: 1px dashed var(--line); padding-bottom: 2px;
  transition: color 0.15s ease;
}
.statusbar .back:hover { color: var(--hot); border-color: var(--hot); }
@media (max-width: 720px) {
  .statusbar { gap: 12px; padding: 9px 14px; font-size: 10px; letter-spacing: 0.08em; }
}

/* Container */
main {
  position: relative;
  z-index: 3;
  width: min(820px, 100%);
  margin: 0 auto;
  padding: 120px 32px 48px;
}
@media (max-width: 720px) { main { padding: 96px 18px 32px; } }

/* Page header */
.legal-head {
  border-bottom: 1px solid var(--line);
  padding-bottom: 32px;
  margin-bottom: 40px;
}
.legal-flag {
  font-family: var(--type-mono);
  font-size: 11px;
  color: var(--hot);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  margin-bottom: 12px;
}
.legal-flag::before { content: "◆ "; }
h1.legal-title {
  font-family: var(--type-display);
  font-size: clamp(42px, 6vw, 72px);
  line-height: 0.95;
  letter-spacing: -0.02em;
  color: var(--bone);
  overflow-wrap: break-word;
  hyphens: auto;
}

/* Disclaimer banner */
.disclaimer {
  background: var(--bg-1);
  border-left: 3px solid var(--warn, var(--hot));
  padding: 20px 24px;
  margin-bottom: 40px;
  font-family: var(--type-narrow);
  font-size: 16px;
  line-height: 1.55;
  color: var(--bone-2);
}
.disclaimer .badge {
  display: inline-block;
  font-family: var(--type-mono);
  font-size: 11px;
  color: var(--hot);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  margin-bottom: 8px;
}

/* Article body */
article { font-family: var(--type-body); color: var(--bone); }
article h2 {
  font-family: var(--type-display);
  font-size: clamp(22px, 2.6vw, 30px);
  line-height: 1.1;
  letter-spacing: -0.01em;
  margin: 40px 0 16px;
  color: var(--bone);
  overflow-wrap: break-word;
}
article h3 {
  font-family: var(--type-narrow);
  font-weight: 700;
  font-size: 18px;
  margin: 24px 0 10px;
  color: var(--bone);
  letter-spacing: 0.01em;
}
article p, article ul, article ol { margin-bottom: 16px; }
article ul, article ol { padding-left: 20px; }
article li { margin-bottom: 6px; }
article a {
  color: var(--hot);
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  transition: opacity 0.15s ease;
}
article a:hover { opacity: 0.75; }
article strong, article b { color: var(--bone); font-weight: 600; }
article .addr {
  font-family: var(--type-mono);
  font-size: 14px;
  background: var(--bg-1);
  border: 1px solid var(--line);
  padding: 16px 20px;
  margin: 16px 0;
  line-height: 1.6;
  white-space: pre-line;
}

/* Footer */
footer {
  border-top: 1px solid var(--line);
  margin-top: 64px;
  padding: 32px 0 0;
  font-family: var(--type-mono);
  font-size: 11px;
  color: var(--bone-dim);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
}
footer a { color: var(--bone-2); text-decoration: none; border-bottom: 1px dashed var(--line); padding-bottom: 2px; }
footer a:hover { color: var(--hot); border-color: var(--hot); }
footer em { color: var(--hot); font-style: normal; }
