:root {
  --ink: #10251f;
  --paper: #f5f7ee;
  --lime: #edff8a;
  --mint: #b8f1d4;
  --soft: #dfe9df;
  --line: rgba(16, 37, 31, .16);
  --muted: #52645d;
  --white: #fffef9;
  --shadow: 0 24px 70px rgba(16, 37, 31, .13);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 90% 6%, rgba(184, 241, 212, .75), transparent 28rem),
    linear-gradient(180deg, var(--paper), #eef3e7 55%, #f9faef);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1rem;
  line-height: 1.55;
}
a { color: inherit; }
.wrap { width: min(1140px, calc(100% - 40px)); margin: auto; }
header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(245, 247, 238, .82);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(16, 37, 31, .08);
}
nav { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; text-decoration: none; }
.brand-logo { display: block; width: 112px; height: auto; }
.back { color: var(--muted); font-size: .92rem; font-weight: 700; text-decoration: none; }
.back:hover { color: var(--ink); }
.beta-tab { position: fixed; top: 84px; left: 0; z-index: 30; pointer-events: none; }
.beta-tab span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 28px;
  padding: 0 11px 0 9px;
  border: 1px solid rgba(16, 37, 31, .18);
  border-left: 0;
  border-radius: 0 9px 9px 0;
  background: var(--lime);
  box-shadow: 4px 5px 16px rgba(16, 37, 31, .12);
  font-size: .61rem;
  font-weight: 900;
  letter-spacing: .13em;
  line-height: 1;
}
.legal-hero { padding: 88px 0 46px; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: .75rem;
  font-weight: 800;
}
.eyebrow::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #42b87a;
  box-shadow: 0 0 0 5px rgba(66, 184, 122, .14);
}
h1 {
  margin: 22px 0 22px;
  max-width: 900px;
  font-size: clamp(3.3rem, 7.5vw, 6.6rem);
  line-height: .92;
  letter-spacing: -.072em;
  font-weight: 850;
}
.lead { max-width: 720px; margin: 0; color: var(--muted); font-size: clamp(1.12rem, 2vw, 1.34rem); }
.updated { margin: 18px 0 0; color: var(--muted); font-size: .84rem; }
.legal-grid {
  display: grid;
  grid-template-columns: 250px minmax(0, 760px);
  gap: 72px;
  align-items: start;
  padding: 30px 0 104px;
}
.legal-nav {
  position: sticky;
  top: 104px;
  display: grid;
  gap: 8px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255, 254, 249, .6);
}
.legal-nav strong { margin-bottom: 5px; font-size: .78rem; text-transform: uppercase; letter-spacing: .12em; }
.legal-nav a { color: var(--muted); font-size: .9rem; text-decoration: none; }
.legal-nav a:hover { color: var(--ink); }
.notice {
  margin-bottom: 18px;
  padding: 24px 26px;
  border: 1px solid var(--ink);
  border-radius: 22px;
  background: var(--mint);
  box-shadow: 7px 8px 0 rgba(16, 37, 31, .11);
  font-weight: 650;
}
.legal-content section { padding: 34px 0; border-top: 1px solid var(--line); }
.legal-content h2 { margin: 0 0 14px; font-size: clamp(1.55rem, 3vw, 2.15rem); line-height: 1.08; letter-spacing: -.04em; }
.legal-content h3 { margin: 25px 0 8px; font-size: 1.08rem; }
.legal-content p, .legal-content li { color: var(--muted); }
.legal-content p { margin: 10px 0; }
.legal-content ul { margin: 12px 0; padding-left: 22px; }
.legal-content li + li { margin-top: 8px; }
.legal-content strong { color: var(--ink); }
footer { padding: 30px 0 48px; border-top: 1px solid var(--line); color: var(--muted); }
.footer-row { display: flex; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.fine { max-width: 700px; margin: 0; font-size: .85rem; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 8px; }
:focus-visible { outline: 3px solid #1d8f5f; outline-offset: 3px; }
@media (max-width: 850px) {
  .legal-grid { grid-template-columns: 1fr; gap: 28px; }
  .legal-nav { position: static; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .legal-nav strong { grid-column: 1 / -1; }
}
@media (max-width: 520px) {
  .wrap { width: min(100% - 26px, 1140px); }
  nav { min-height: 64px; }
  .brand-logo { width: 102px; }
  .beta-tab { top: 74px; transform: scale(.9); transform-origin: top left; }
  .legal-hero { padding-top: 62px; }
  h1 { font-size: clamp(3.15rem, 17vw, 4.5rem); }
  .legal-nav { grid-template-columns: 1fr; }
}
