/* Shared styles for the Privacy Policy and Terms pages */
:root {
  --night: #07121F;
  --ink: #0B192C;
  --paper: #F2F5F4;
  --line: #DCE3E1;
  --muted: #4A5A6A;
  --mist: #9AABBD;
  --emerald: #10B981;
  --emerald-deep: #047857;
  --emerald-glow: #34D399;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 5.5rem; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 1.0625rem/1.7 "Instrument Sans", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--emerald-deep); text-underline-offset: 3px; }
a:hover { color: var(--ink); }
:focus-visible { outline: 2px solid var(--emerald); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; left: -9999px; top: .5rem; }
.skip:focus { left: .75rem; z-index: 100; background: var(--emerald); color: var(--ink); padding: .5rem 1rem; border-radius: 8px; font-weight: 600; }
.wrap { max-width: 76rem; margin: 0 auto; padding: 0 1rem; }
@media (min-width: 640px) { .wrap { padding: 0 1.5rem; } }

/* Header */
.bar { position: sticky; top: 0; z-index: 50; background: rgba(7, 18, 31, .92); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid rgba(255,255,255,.08); }
.bar-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 1rem; }
.brand { display: flex; align-items: center; gap: .625rem; text-decoration: none; }
.brand img { width: 36px; height: 36px; border-radius: 10px; }
.brand span { font: 700 1.35rem/1 Poppins, system-ui, sans-serif; letter-spacing: -.01em; }
.brand .w { color: #fff; }
.brand .g { color: var(--emerald); }
.cta { display: inline-flex; align-items: center; min-height: 44px; padding: 0 1.25rem; border-radius: 999px; background: var(--emerald); color: var(--ink); font-weight: 600; font-size: .9rem; text-decoration: none; transition: background-color .15s ease; }
.cta:hover { background: var(--emerald-glow); color: var(--ink); }
@media (max-width: 420px) { .cta { display: none; } }

/* Document */
.doc { max-width: 46rem; padding-top: 3rem; padding-bottom: 5rem; }
.back { margin: 0 0 2rem; font-size: .95rem; }
.back a { color: var(--muted); }
h1 { font: 800 clamp(2.25rem, 6vw, 3.5rem)/1.02 "Bricolage Grotesque", system-ui, sans-serif; letter-spacing: -.035em; margin: 0; }
.dates { color: var(--muted); font-size: .95rem; margin: 1rem 0 0; }
h2 { font: 700 1.6rem/1.15 "Bricolage Grotesque", system-ui, sans-serif; letter-spacing: -.02em; margin: 3rem 0 1rem; padding-top: 2.5rem; border-top: 1px solid var(--line); text-wrap: balance; }
h3 { font-size: 1.1rem; font-weight: 700; margin: 1.75rem 0 .5rem; }
p { margin: 0 0 1rem; }
ul, ol { margin: 0 0 1rem; padding-left: 1.25rem; }
li { margin-bottom: .6rem; }
li::marker { color: var(--emerald-deep); }
strong { font-weight: 600; }
section:first-of-type h2 { border-top: 0; padding-top: 0; }

.toc { margin: 2.5rem 0 3rem; padding: 1.25rem 1.5rem; background: #fff; border: 1px solid var(--line); border-radius: 1.25rem; }
.toc ol { margin: 0; padding-left: 1.25rem; columns: 2 14rem; column-gap: 2rem; }
.toc li { margin-bottom: .4rem; break-inside: avoid; }
.toc a { color: var(--ink); text-decoration: none; }
.toc a:hover { color: var(--emerald-deep); text-decoration: underline; }

.contact { display: grid; grid-template-columns: max-content 1fr; gap: .5rem 1.5rem; margin: 0; padding: 1.25rem 1.5rem; background: #fff; border: 1px solid var(--line); border-radius: 1.25rem; }
.contact dt { color: var(--muted); }
.contact dd { margin: 0; overflow-wrap: anywhere; }

/* Footer */
.foot { background: var(--night); color: var(--mist); font-size: .9rem; padding: 2rem 0; }
.foot-inner { display: flex; flex-wrap: wrap; gap: 1rem 2rem; align-items: center; justify-content: space-between; }
.foot p { margin: 0; }
.foot nav { display: flex; flex-wrap: wrap; gap: .75rem 1.5rem; }
.foot a { color: var(--mist); text-decoration: none; }
.foot a:hover, .foot a[aria-current] { color: #fff; }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
