/* ============================================================
   LEGAL PAGES — Privacy Policy and Terms of Service
   Self-contained like the other page stylesheets: tokens, nav,
   footer and skip-link are repeated here rather than shared,
   matching the pattern already used by atf-tracker.css et al.
   Inline styles are not an option — the site's CSP sends
   style-src 'self', which blocks <style> blocks and style="".
   ============================================================ */

:root {
  --bg:        #0a0c0a;
  --bg2:       #0f120f;
  --surface:   #141a14;
  --surface2:  #1a221a;
  --border:    #222e22;
  --border2:   #2a382a;
  --green:     #6abf69;
  --green-dim: rgba(106,191,105,0.10);
  --green-glow:rgba(106,191,105,0.18);
  --gold:      #c9a84c;
  --gold-dim:  rgba(201,168,76,0.10);
  --red:       #e05555;
  --text:      #e8ede8;
  --text-2:    #8fa08f;
  --text-3:    #7a8c7a;
  --syne: 'Outfit', sans-serif;
  --dm:   'Outfit', sans-serif;
  --mono: 'DM Mono', monospace;
  --radius: 10px;
  --radius-sm: 6px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
a { text-decoration: none; color: inherit; }
button { font-family: inherit; cursor: pointer; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--dm);
  min-height: 100vh;
  overflow-x: hidden;
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
}

/* ---- nav (matches the other pages) ---- */
/* Scoped to the site header deliberately. These pages carry a SECOND <nav>
   for the table of contents, and a bare `nav` selector styled it as a sticky
   64px flex bar: the heading sat beside the list, the list overflowed the
   box, and the whole thing pinned itself under the header. */
body > nav {
  position: sticky; top: 0; z-index: 200;
  background: rgba(10,12,10,0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  height: 64px; display: flex; align-items: center;
  padding: 0 2rem; gap: 2rem;
}
.logo { display: flex; align-items: center; gap: 10px; font-family: 'Bebas Neue', var(--syne); font-size: 1.6rem; font-weight: 400; letter-spacing: 0.05em; color: var(--text); flex-shrink: 0; }
.logo-icon { width: 32px; height: 32px; border-radius: 0; background: none; box-shadow: none; display: block; object-fit: contain; flex-shrink: 0; }
.logo span { color: var(--green); }
.logo-tld { font-size: 0.7rem; color: var(--text-2); font-family: var(--mono); border: 1px solid var(--border); padding: 2px 7px; border-radius: 100px; letter-spacing: 0.04em; }
.nav-links { display: flex; align-items: center; gap: 0.25rem; list-style: none; flex: 1; }
.nav-links a { font-size: 0.82rem; font-weight: 500; color: var(--text-2); padding: 6px 12px; border-radius: var(--radius-sm); transition: all 0.15s; }
.nav-links a:hover { color: var(--text); background: var(--surface); }
.nav-links a.active { color: var(--green); background: var(--green-dim); }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 9999;
  background: var(--green); color: #0a0c0a; font-weight: 700;
  padding: 10px 18px; border-radius: 0 0 6px 0;
}
.skip-link:focus { left: 0; }
:focus-visible { outline: 3px solid var(--green); outline-offset: 2px; border-radius: 3px; }

/* ---- document layout ---- */
.legal-wrap {
  max-width: 860px;
  margin: 0 auto;
  padding: 3rem 1.5rem 5rem;
}

.legal-head { border-bottom: 1px solid var(--border); padding-bottom: 1.75rem; margin-bottom: 2rem; }
.legal-eyebrow {
  font-family: var(--mono);
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--green);
  margin-bottom: 0.6rem;
}
.legal-head h1 {
  font-family: var(--syne);
  font-size: clamp(1.9rem, 5vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  margin-bottom: 0.7rem;
  text-wrap: balance;
}
.legal-dates {
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--text-3);
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

/* Plain-language summary. Deliberately prominent: the binding text is
   below it, but almost nobody reads that, and a policy nobody reads
   protects nobody. */
.plain {
  background: var(--green-dim);
  border: 1px solid rgba(106,191,105,0.32);
  border-radius: var(--radius);
  padding: 1.4rem 1.5rem;
  margin-bottom: 2.5rem;
}
.plain h2 {
  font-family: var(--mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--green);
  margin-bottom: 0.85rem;
  font-weight: 500;
}
.plain ul { list-style: none; display: flex; flex-direction: column; gap: 0.6rem; }
.plain li { font-size: 0.94rem; color: var(--text); padding-left: 1.3rem; position: relative; line-height: 1.55; }
.plain li::before { content: '→'; position: absolute; left: 0; color: var(--green); }

/* ---- table of contents ---- */
.toc {
  position: static;
  display: block;
  height: auto;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  margin-bottom: 2.5rem;
}
.toc h2 {
  font-family: var(--mono);
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-3);
  margin-bottom: 0.85rem;
  font-weight: 500;
}
.toc ol { list-style: none; counter-reset: toc; columns: 2; column-gap: 2rem; }
@media (max-width: 620px) { .toc ol { columns: 1; } }
.toc li { counter-increment: toc; margin-bottom: 0.45rem; break-inside: avoid; }
.toc a { font-size: 0.88rem; color: var(--text-2); }
.toc a::before {
  content: counter(toc) '.';
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--text-3);
  margin-right: 0.5rem;
}
.toc a:hover { color: var(--green); }

/* ---- prose ---- */
.legal-body { display: flex; flex-direction: column; gap: 2.5rem; }
section h2 {
  font-family: var(--syne);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.015em;
  margin-bottom: 0.9rem;
  scroll-margin-top: 5rem;
}
section h3 {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
  margin: 1.3rem 0 0.5rem;
}
section p { color: var(--text-2); line-height: 1.7; margin-bottom: 0.9rem; font-size: 0.95rem; }
section p:last-child { margin-bottom: 0; }
section ul, section ol { color: var(--text-2); line-height: 1.7; margin: 0 0 0.9rem 1.25rem; font-size: 0.95rem; }
section li { margin-bottom: 0.45rem; }
section strong { color: var(--text); font-weight: 600; }
section a { color: var(--green); border-bottom: 1px solid rgba(106,191,105,0.3); }
section a:hover { border-bottom-color: var(--green); }
code {
  font-family: var(--mono);
  font-size: 0.85em;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 1px 5px;
  color: var(--text);
}

/* ---- data table ---- */
.table-scroll { overflow-x: auto; margin-bottom: 0.9rem; }
table { border-collapse: collapse; width: 100%; min-width: 520px; font-size: 0.88rem; }
th, td { text-align: left; padding: 0.65rem 0.85rem; border-bottom: 1px solid var(--border); vertical-align: top; }
thead th {
  font-family: var(--mono);
  font-size: 0.64rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-3);
  font-weight: 500;
}
tbody th { font-weight: 600; color: var(--text); white-space: nowrap; }
td { color: var(--text-2); line-height: 1.55; }

/* ---- callouts ---- */
.callout {
  border-radius: var(--radius-sm);
  padding: 1rem 1.2rem;
  margin-bottom: 0.9rem;
  font-size: 0.92rem;
  line-height: 1.65;
  color: var(--text-2);
}
.callout strong { color: var(--text); }
.callout.warn { background: var(--gold-dim); border: 1px solid rgba(201,168,76,0.35); }
.callout.info { background: var(--surface); border: 1px solid var(--border2); }

/* Unfilled blanks. Deliberately loud — these must not reach a published
   page unnoticed, so they are styled to be impossible to skim past. */
.todo {
  background: rgba(224,85,85,0.14);
  border: 1px dashed var(--red);
  border-radius: 4px;
  color: var(--red);
  font-family: var(--mono);
  font-size: 0.85em;
  font-weight: 500;
  padding: 1px 6px;
  white-space: nowrap;
}

/* ---- footer ---- */
footer { border-top: 1px solid var(--border); padding: 2rem; text-align: center; font-family: var(--mono); font-size: 0.65rem; color: var(--text-3); }
footer a { color: var(--text-2); }
footer a:hover { color: var(--green); }
.footer-links { display: flex; gap: 2rem; justify-content: center; margin-bottom: 1rem; flex-wrap: wrap; }

@media (max-width: 900px) {
  body > nav { padding: 0 1rem; gap: 0.75rem; }
  body > nav .nav-links { display: none; }
  .logo-tld { display: none; }
  .legal-wrap { padding: 2rem 1.15rem 4rem; }
}


/* ============================================================
   MOBILE NAV
   `.nav-links` is hidden below 900px, so without this the header offers
   no way to reach ATF Tracker / Get Listed / Advertise on a phone.
   mobile-nav.js builds the panel from the live nav; these are the styles
   it expects, matching the other pages.
============================================================ */
.nav-toggle {
  display: none;
  margin-left: auto;
  background: none;
  border: 1px solid var(--border2);
  border-radius: var(--radius-sm);
  padding: 9px 10px;
  min-width: 44px;
  min-height: 44px;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  cursor: pointer;
}
.nav-toggle-bar {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--text-2);
  border-radius: 2px;
  transition: transform 0.2s, opacity 0.2s;
}
.nav-toggle.open .nav-toggle-bar:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle.open .nav-toggle-bar:nth-child(2) { opacity: 0; }
.nav-toggle.open .nav-toggle-bar:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.mobile-nav {
  display: none;
  position: sticky;
  top: 64px;
  z-index: 199;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 0.5rem;
  flex-direction: column;
  gap: 0.25rem;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.2s ease;
}
.mobile-nav.open { max-height: 70vh; overflow-y: auto; }
.mobile-nav-link {
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 48px;
  padding: 0.75rem 1rem;
  border: none;
  background: none;
  border-radius: var(--radius-sm);
  color: var(--text);
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 500;
  text-align: left;
  cursor: pointer;
}
.mobile-nav-link:hover { background: var(--surface2); }
.mobile-nav-link.active { color: var(--green); background: var(--green-dim); }
.mobile-nav-action { color: var(--green); }

@media (max-width: 900px) {
  .nav-toggle { display: flex; }
  .mobile-nav { display: flex; }
}
@media (max-width: 480px) {
  .logo { font-size: 1.15rem; }
  .logo-tld { display: none; }
}


/* ============================================================
   FOOTER
   Appended last so it overrides whatever this sheet defined earlier --
   every page used to carry its own footer, and they had drifted into
   five different layouts with four different disclaimers.
============================================================ */
footer {
  border-top: 1px solid var(--border);
  padding: 3rem 2rem 2rem;
  text-align: left;
  font-family: var(--dm, var(--syne));
  font-size: 1rem;
}
.footer-inner {
  max-width: 1100px;
  margin: 0 auto 2.5rem;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 2.5rem;
}
.footer-logo-size { font-size: 1.15rem; }
.footer-brand-desc {
  font-size: 0.78rem;
  color: var(--text-2);
  line-height: 1.6;
  margin-top: 0.75rem;
  max-width: 220px;
}
.footer-col-title {
  font-family: var(--syne);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.75rem;
  letter-spacing: 0.02em;
}
.footer-links-list { list-style: none; display: flex; flex-direction: column; gap: 0.4rem; margin: 0; padding: 0; }
.footer-links-list a { font-size: 0.78rem; color: var(--text-2); transition: color 0.12s; }
.footer-links-list a:hover { color: var(--green); }
.footer-bottom {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}
.footer-copy { font-size: 0.72rem; color: var(--text-3); font-family: var(--mono); flex-shrink: 0; }
.footer-disclaimer { font-size: 0.68rem; color: var(--text-3); max-width: 500px; line-height: 1.5; text-align: left; }
.footer-disclaimer strong { color: var(--text-2); }
.footer-disclaimer a { color: var(--text-2); text-decoration: underline; }

@media (max-width: 900px) {
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 2rem; }
}
@media (max-width: 560px) {
  footer { padding: 2rem 1rem 1.5rem; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; }
}


/* ============================================================
   FORM CONTROLS
   Only the unsubscribe page uses these; the other pages sharing this
   stylesheet are prose. Kept here rather than in a sheet of their own
   so that page loads one stylesheet like every other.
============================================================ */
.form-group { display: flex; flex-direction: column; gap: 6px; margin: 1.25rem 0; }
.form-group[hidden] { display: none; }
.form-label { font-size: 0.8rem; color: var(--text-2); font-weight: 500; }
.form-input {
  background: var(--bg2);
  border: 1px solid var(--border2);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-family: inherit;
  font-size: 0.92rem;
  padding: 10px 12px;
  width: 100%;
  max-width: 460px;
}
.form-input:focus { outline: none; border-color: var(--green); }

.btn-primary {
  background: var(--green);
  border: none;
  color: #0a0c0a;
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 700;
  padding: 11px 22px;
  border-radius: var(--radius-sm);
  min-height: 44px;
  transition: background 0.15s;
}
.btn-primary:hover { background: #7dd67c; }
.btn-primary:disabled { opacity: 0.55; cursor: not-allowed; }

/* A real button, because it performs an action -- styled as a link so it
   does not compete with the primary one above it. */
.btn-link {
  background: none;
  border: none;
  padding: 0;
  color: var(--green);
  font-family: inherit;
  font-size: inherit;
  text-decoration: underline;
  cursor: pointer;
}
.btn-link:disabled { opacity: 0.55; cursor: not-allowed; text-decoration: none; }

section[hidden] { display: none; }
