/* ClaimsGap — marketing site styles */

:root {
  --bg: #04070f;
  --bg-alt: #070c1a;
  --panel: rgba(255, 255, 255, 0.04);
  --panel-border: rgba(255, 255, 255, 0.09);
  --ink: #f3f6fb;
  --ink-dim: #9fb0c9;
  --ink-dimmer: #6c7d99;
  --tide-deep: #062a4d;
  --tide: #0d6fb8;
  --tide-bright: #22b6e6;
  --cyan: #3ce6d6;
  --gold: #f7c948;
  --danger: #ff6b5e;
  --radius: 20px;
  --radius-sm: 12px;
  --max: 1240px;
  --ease: cubic-bezier(.16,.8,.24,1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4, .display {
  font-family: 'Sora', 'Inter', sans-serif;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin: 0;
}

p { color: var(--ink-dim); line-height: 1.6; margin: 0; }
a { color: inherit; text-decoration: none; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 28px; }
section { position: relative; padding: 120px 0; }
@media (max-width: 720px) { section { padding: 80px 0; } .wrap { padding: 0 20px; } }

/* ---------- background texture ---------- */
.grain {
  position: fixed; inset: 0; pointer-events: none; z-index: 2;
  opacity: 0.035; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.glow-field { position: absolute; inset: 0; overflow: hidden; z-index: 0; pointer-events: none; }
.glow-field .blob {
  position: absolute; border-radius: 50%; filter: blur(90px); opacity: .55;
}
.blob.b1 { width: 620px; height: 620px; background: radial-gradient(circle, var(--tide-bright), transparent 70%); top: -220px; left: -160px; }
.blob.b2 { width: 520px; height: 520px; background: radial-gradient(circle, var(--gold), transparent 70%); top: 30%; right: -200px; opacity: .28; }
.blob.b3 { width: 460px; height: 460px; background: radial-gradient(circle, var(--cyan), transparent 70%); bottom: -160px; left: 20%; opacity: .3; }

/* ---------- nav ---------- */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  backdrop-filter: blur(14px);
  background: rgba(4, 7, 15, 0.55);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
nav .wrap { display: flex; align-items: center; justify-content: space-between; padding-top: 18px; padding-bottom: 18px; }
.logo { display: flex; align-items: center; gap: 10px; font-family: 'Sora', sans-serif; font-weight: 700; font-size: 20px; }
.logo .mark {
  width: 30px; height: 30px; border-radius: 9px;
  background: linear-gradient(135deg, var(--tide-bright), var(--cyan));
  box-shadow: 0 0 24px rgba(60, 230, 214, .55);
  display: grid; place-items: center; font-size: 15px; color: #04121c; font-weight: 800;
}
.logo .sup { color: var(--gold); }
.navlinks { display: flex; gap: 34px; align-items: center; }
.navlinks a { color: var(--ink-dim); font-size: 14.5px; font-weight: 500; transition: color .2s; }
.navlinks a:hover { color: var(--ink); }
.navlinks-mobile-toggle { display: none; }
@media (max-width: 860px) { .navlinks { display: none; } }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 24px; border-radius: 999px; font-weight: 600; font-size: 14.5px;
  cursor: pointer; border: none; transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s;
  white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(135deg, var(--tide-bright), var(--cyan));
  color: #03131c;
  box-shadow: 0 8px 30px rgba(34, 182, 230, .35), inset 0 1px 0 rgba(255,255,255,.4);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 40px rgba(34, 182, 230, .5); }
.btn-ghost {
  background: rgba(255,255,255,0.06); color: var(--ink); border: 1px solid rgba(255,255,255,0.14);
}
.btn-ghost:hover { background: rgba(255,255,255,0.11); }
.btn-lg { padding: 17px 32px; font-size: 16px; }
.btn-block { width: 100%; }

/* ---------- hero ---------- */
.hero {
  position: relative; min-height: 100vh; display: flex; align-items: center;
  padding-top: 140px; padding-bottom: 100px; overflow: hidden;
}
.hero-media { position: absolute; inset: 0; z-index: 0; }
.hero-media video, .hero-media img {
  width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0;
}
.hero-media .fallback-gradient {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 20% 20%, rgba(34,182,230,.35), transparent 55%),
    radial-gradient(ellipse at 80% 30%, rgba(247,201,72,.18), transparent 50%),
    radial-gradient(ellipse at 50% 90%, rgba(60,230,214,.22), transparent 55%),
    linear-gradient(180deg, #050912, #04070f 60%);
}
.hero-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(4,7,15,.55) 0%, rgba(4,7,15,.72) 55%, var(--bg) 100%);
}
.hero .wrap { position: relative; z-index: 3; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 16px; border-radius: 999px; background: rgba(60,230,214,.1);
  border: 1px solid rgba(60,230,214,.35); color: var(--cyan);
  font-size: 12.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  margin-bottom: 26px;
}
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 10px var(--cyan); animation: pulse 1.6s infinite; }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: .3; } }

.hero h1 {
  font-size: clamp(40px, 6.4vw, 84px);
  max-width: 920px;
}
.hero h1 .grad {
  background: linear-gradient(100deg, var(--tide-bright), var(--cyan) 45%, var(--gold));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero .sub {
  margin-top: 26px; font-size: clamp(17px, 2vw, 21px); max-width: 640px; color: var(--ink-dim);
}
.hero-ctas { display: flex; gap: 16px; margin-top: 42px; flex-wrap: wrap; }
.hero-proof { display: flex; gap: 34px; margin-top: 64px; flex-wrap: wrap; }
.hero-proof .item { display: flex; flex-direction: column; gap: 4px; }
.hero-proof .num { font-family: 'Sora', sans-serif; font-size: 30px; font-weight: 700; color: var(--ink); }
.hero-proof .lbl { font-size: 12.5px; color: var(--ink-dimmer); text-transform: uppercase; letter-spacing: .06em; }

.scroll-cue {
  position: absolute; bottom: 34px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px; z-index: 3;
  color: var(--ink-dimmer); font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase;
}
.scroll-cue .stem { width: 1px; height: 34px; background: linear-gradient(var(--cyan), transparent); animation: drop 1.8s infinite; }
@keyframes drop { 0% { transform: scaleY(0); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* ---------- ticker (Tune In) ---------- */
.ticker-wrap {
  border-top: 1px solid var(--panel-border); border-bottom: 1px solid var(--panel-border);
  background: var(--bg-alt); padding: 22px 0; overflow: hidden; position: relative; z-index: 2;
}
.ticker { display: flex; gap: 60px; white-space: nowrap; animation: scroll 32s linear infinite; width: max-content; }
.tick-item { font-family: 'Sora', sans-serif; font-size: 15px; color: var(--ink-dim); display: flex; align-items: center; gap: 10px; }
.tick-item b { color: var(--gold); font-weight: 700; }
.tick-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--tide-bright); box-shadow: 0 0 8px var(--tide-bright); flex: none; }
@keyframes scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- section headers ---------- */
.eyebrow-sm {
  font-size: 12.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--tide-bright); margin-bottom: 16px; display: block;
}
.section-head { max-width: 720px; margin-bottom: 64px; }
.section-head h2 { font-size: clamp(30px, 4.4vw, 50px); }
.section-head p { margin-top: 18px; font-size: 18px; }
.center { text-align: center; margin-left: auto; margin-right: auto; }

/* ---------- reveal ---------- */
/* Visible by default so content never depends on JS to appear.
   JS adds "js-reveal" to <html> only after it confirms it can animate
   elements back in, then "in" as each one scrolls into view. */
.reveal { opacity: 1; transform: none; }
.js-reveal .reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js-reveal .reveal.in { opacity: 1; transform: translateY(0); }

/* ---------- pain / inform grid ---------- */
.pain-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 900px) { .pain-grid { grid-template-columns: 1fr; } }
.pain-card {
  background: var(--panel); border: 1px solid var(--panel-border); border-radius: var(--radius);
  padding: 34px 28px; position: relative; overflow: hidden;
}
.pain-card .ico { width: 34px; height: 4px; border-radius: 2px; margin-bottom: 22px; display: block; background: var(--ink-dimmer); }
.pain-card h3 { font-size: 20px; margin-bottom: 10px; }
.pain-card p { font-size: 15px; }
.pain-card.hot { border-color: rgba(255,107,94,.35); }
.pain-card.hot .ico { background: linear-gradient(90deg, var(--danger), var(--gold)); }

/* ---------- feature showcase ---------- */
.feature-row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center;
  padding: 64px 0; border-bottom: 1px solid var(--panel-border);
}
.feature-row:last-child { border-bottom: none; }
.feature-row.rev { grid-template-columns: 1fr 1fr; }
.feature-row.rev .feature-visual { order: 2; }
.feature-row.rev .feature-copy { order: 1; }
@media (max-width: 900px) {
  .feature-row, .feature-row.rev { grid-template-columns: 1fr; gap: 30px; }
  .feature-row.rev .feature-visual, .feature-row.rev .feature-copy { order: unset; }
}
.feature-tag {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px;
  background: rgba(247,201,72,.1); border: 1px solid rgba(247,201,72,.3); color: var(--gold);
  font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 20px;
}
.feature-copy h3 { font-size: clamp(24px, 3vw, 34px); margin-bottom: 16px; }
.feature-copy p { font-size: 16.5px; margin-bottom: 22px; }
.feature-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; }
.feature-list li { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; color: var(--ink-dim); }
.chk::after {
  content: ""; width: 5px; height: 9px;
  border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translate(-1px, -1px);
}
.feature-list li .chk {
  flex: none; width: 20px; height: 20px; border-radius: 50%; background: rgba(60,230,214,.15);
  color: var(--cyan); display: grid; place-items: center; margin-top: 1px;
}
.feature-visual {
  border-radius: var(--radius); overflow: hidden; border: 1px solid var(--panel-border);
  background: linear-gradient(160deg, rgba(255,255,255,.06), rgba(255,255,255,.01));
  aspect-ratio: 4/3; position: relative;
}
.feature-visual img { width: 100%; height: 100%; object-fit: cover; display: block; }
.feature-visual .glow-ring {
  position: absolute; inset: -30%; background: radial-gradient(circle, rgba(34,182,230,.25), transparent 65%);
  filter: blur(30px); z-index: 0;
}

/* ---------- how it works ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; counter-reset: step; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr; } }
.step {
  position: relative; padding: 34px 26px; border-radius: var(--radius);
  background: linear-gradient(160deg, rgba(255,255,255,.05), rgba(255,255,255,.01));
  border: 1px solid var(--panel-border);
}
.step .stepnum {
  font-family: 'Sora', sans-serif; font-size: 46px; font-weight: 800;
  background: linear-gradient(135deg, var(--tide-bright), var(--cyan));
  -webkit-background-clip: text; background-clip: text; color: transparent;
  margin-bottom: 18px; display: block;
}
.step h3 { font-size: 19px; margin-bottom: 10px; }
.step p { font-size: 14.5px; }

/* ---------- calculator (Engage) ---------- */
.calc-panel {
  border-radius: 28px; border: 1px solid rgba(60,230,214,.25);
  background: linear-gradient(160deg, rgba(13,111,184,.16), rgba(4,7,15,.4));
  padding: 52px; position: relative; overflow: hidden;
}
@media (max-width: 720px) { .calc-panel { padding: 30px 22px; } }
.calc-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 54px; align-items: center; position: relative; z-index: 2; }
@media (max-width: 900px) { .calc-grid { grid-template-columns: 1fr; } }
.field { margin-bottom: 30px; }
.field label { display: flex; justify-content: space-between; font-size: 14px; color: var(--ink-dim); margin-bottom: 12px; font-weight: 600; }
.field label .val { color: var(--gold); font-family: 'Sora', sans-serif; font-weight: 700; }
input[type="range"] {
  -webkit-appearance: none; width: 100%; height: 6px; border-radius: 999px;
  background: rgba(255,255,255,.12); outline: none;
}
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none; width: 22px; height: 22px; border-radius: 50%;
  background: linear-gradient(135deg, var(--tide-bright), var(--cyan));
  box-shadow: 0 0 16px rgba(34,182,230,.7); cursor: pointer; border: 3px solid #04070f;
}
input[type="range"]::-moz-range-thumb {
  width: 22px; height: 22px; border-radius: 50%; border: 3px solid #04070f;
  background: linear-gradient(135deg, var(--tide-bright), var(--cyan)); cursor: pointer;
}
.calc-result {
  border-radius: 22px; background: rgba(4,7,15,.5); border: 1px solid rgba(255,255,255,.09);
  padding: 38px 30px; text-align: center;
}
.calc-result .lbl { font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-dimmer); margin-bottom: 10px; }
.calc-result .amount {
  font-family: 'Sora', sans-serif; font-weight: 800; font-size: clamp(38px, 6vw, 58px);
  background: linear-gradient(100deg, var(--gold), var(--cyan));
  -webkit-background-clip: text; background-clip: text; color: transparent;
  margin-bottom: 6px;
}
.calc-result .sub2 { font-size: 13px; color: var(--ink-dimmer); }
.calc-note { margin-top: 22px; font-size: 12.5px; color: var(--ink-dimmer); text-align: left; }

/* ---------- pricing (Sell) ---------- */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
@media (max-width: 980px) { .pricing-grid { grid-template-columns: 1fr; } }
.price-card {
  border-radius: var(--radius); border: 1px solid var(--panel-border); background: var(--panel);
  padding: 38px 30px; display: flex; flex-direction: column; position: relative;
}
.price-card.feat {
  border: 1px solid rgba(60,230,214,.5);
  background: linear-gradient(165deg, rgba(34,182,230,.14), rgba(4,7,15,.5));
  transform: translateY(-14px);
  box-shadow: 0 30px 60px rgba(13,111,184,.25);
}
@media (max-width: 980px) { .price-card.feat { transform: none; } }
.price-badge {
  position: absolute; top: -13px; right: 28px; background: linear-gradient(135deg, var(--gold), #ffdf8e);
  color: #241a02; font-size: 11.5px; font-weight: 800; padding: 6px 14px; border-radius: 999px;
  letter-spacing: .04em; text-transform: uppercase;
}
.price-tier { font-size: 13px; text-transform: uppercase; letter-spacing: .1em; color: var(--ink-dimmer); font-weight: 700; margin-bottom: 14px; }
.price-amount { display: flex; align-items: baseline; gap: 6px; margin-bottom: 6px; }
.price-amount .num { font-family: 'Sora', sans-serif; font-size: 46px; font-weight: 800; }
.price-amount .per { color: var(--ink-dimmer); font-size: 14px; }
.price-cap { font-size: 14.5px; color: var(--ink-dim); margin-bottom: 26px; }
.price-list { list-style: none; padding: 0; margin: 0 0 30px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.price-list li { display: flex; gap: 10px; font-size: 14.5px; color: var(--ink-dim); }
.price-list li .chk { color: var(--cyan); flex: none; width: 16px; display: flex; align-items: center; margin-top: 6px; }

/* ---------- objection / FAQ ---------- */
.faq { max-width: 820px; margin: 0 auto; display: flex; flex-direction: column; gap: 14px; }
.faq-item {
  border: 1px solid var(--panel-border); border-radius: 16px; background: var(--panel); overflow: hidden;
}
.faq-q {
  display: flex; align-items: center; justify-content: space-between; padding: 22px 26px;
  cursor: pointer; font-weight: 600; font-size: 16px; gap: 20px;
}
.faq-q .plus { flex: none; width: 26px; height: 26px; border-radius: 50%; border: 1px solid var(--panel-border); display: grid; place-items: center; transition: transform .3s var(--ease); color: var(--cyan); }
.faq-item.open .faq-q .plus { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .35s var(--ease); }
.faq-a-inner { padding: 0 26px 24px; font-size: 15px; color: var(--ink-dim); }
.faq-item.open .faq-a { max-height: 300px; }

/* ---------- final CTA ---------- */
.cta-band {
  border-radius: 32px; padding: 90px 50px; text-align: center; position: relative; overflow: hidden;
  background: linear-gradient(150deg, var(--tide-deep), #04070f 70%);
  border: 1px solid rgba(60,230,214,.25);
}
@media (max-width: 720px) { .cta-band { padding: 60px 24px; } }
.cta-band h2 { font-size: clamp(30px, 5vw, 52px); max-width: 760px; margin: 0 auto 22px; }
.cta-band p { max-width: 560px; margin: 0 auto 38px; font-size: 17px; }
.cta-band .hero-ctas { justify-content: center; }
.cta-band .glow-field .blob { opacity: .4; }

/* ---------- form ---------- */
.lead-form { display: flex; gap: 12px; max-width: 460px; margin: 34px auto 0; flex-wrap: wrap; justify-content: center; }
.lead-form input {
  flex: 1; min-width: 220px; padding: 14px 18px; border-radius: 999px; border: 1px solid var(--panel-border);
  background: rgba(255,255,255,.05); color: var(--ink); font-size: 15px; outline: none;
}
.lead-form input:focus { border-color: var(--tide-bright); }
.form-note { margin-top: 14px; font-size: 12.5px; color: var(--ink-dimmer); }

/* ---------- footer ---------- */
footer { border-top: 1px solid var(--panel-border); padding: 60px 0 40px; position: relative; z-index: 2; }
.footer-top { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; margin-bottom: 40px; }
.footer-brand p { max-width: 320px; margin-top: 14px; font-size: 14px; }
.footer-cols { display: flex; gap: 60px; flex-wrap: wrap; }
.footer-col h4 { font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-dimmer); margin-bottom: 16px; }
.footer-col a { display: block; font-size: 14.5px; color: var(--ink-dim); margin-bottom: 12px; }
.footer-col a:hover { color: var(--ink); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 26px; border-top: 1px solid var(--panel-border); flex-wrap: wrap; gap: 12px; font-size: 13px; color: var(--ink-dimmer); }

/* ---------- utility ---------- */
.tag-row { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 18px; }
.tag { font-size: 12px; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--panel-border); color: var(--ink-dimmer); }

/* ================================================================
   LEGAL PAGES (privacy.html, terms.html, data-deletion.html)
   Same palette, type and chrome as the landing page — narrower
   measure, and a static nav instead of the fixed one so long
   documents don't lose 70px of viewport on every scroll.
   ================================================================ */
.legal-nav { position: static; }
.legal-nav .wrap { max-width: var(--max); }
.legal-nav .back { color: var(--ink-dim); font-size: 14.5px; font-weight: 500; transition: color .2s; }
.legal-nav .back:hover { color: var(--cyan); }

.legal-head { padding: clamp(52px, 8vw, 96px) 0 34px; position: relative; overflow: hidden; }
.legal-head .wrap { position: relative; z-index: 2; }
.legal-head .glow-field .blob { opacity: .22; }
.legal-head h1 { font-size: clamp(34px, 6vw, 60px); }
.legal-head .updated {
  margin-top: 20px; font-size: 13px; letter-spacing: .06em; text-transform: uppercase;
  color: var(--ink-dimmer);
}
.legal-rule {
  height: 3px; border-radius: 2px; margin-top: 30px;
  background: linear-gradient(90deg, var(--tide-bright), var(--cyan) 45%, var(--gold));
}

.legal { padding: 0 0 clamp(64px, 9vw, 110px); }
.legal .wrap { max-width: 780px; }
.legal h2 {
  font-size: clamp(22px, 3vw, 27px); line-height: 1.2;
  margin: clamp(40px, 5vw, 56px) 0 16px; scroll-margin-top: 24px;
}
.legal h3 { font-size: 17.5px; margin: 30px 0 11px; }
.legal p { font-size: 16.5px; line-height: 1.72; margin: 0 0 15px; }
.legal p strong, .legal li strong, .legal td strong { color: var(--ink); font-weight: 600; }
.legal ul, .legal ol { margin: 0 0 18px; padding-left: 22px; color: var(--ink-dim); }
.legal li { margin-bottom: 9px; font-size: 16px; line-height: 1.7; }
.legal li::marker { color: var(--cyan); }
.legal a { color: var(--cyan); text-decoration: underline; text-underline-offset: 3px; }
.legal a:hover { color: var(--tide-bright); }
.legal .lead { font-size: 18px; color: var(--ink); line-height: 1.68; }

/* operator line — identical markup across all five Blue Tide sites */
.legal .operator {
  border: 1px solid var(--panel-border); border-left: 3px solid var(--gold);
  border-radius: var(--radius-sm); background: rgba(247, 201, 72, .06);
  padding: 18px 22px; margin: 26px 0; font-size: 15.5px;
}

/* table of contents */
.legal .toc {
  border: 1px solid var(--panel-border); border-radius: 16px; background: var(--panel);
  padding: 22px 26px; margin: 32px 0 6px;
}
.legal .toc .toc-label {
  font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--ink-dimmer); margin-bottom: 13px;
}
.legal .toc ol { margin: 0; padding-left: 20px; font-size: 15px; }
.legal .toc li { margin-bottom: 7px; }
.legal .toc a { text-decoration: none; }
.legal .toc a:hover { text-decoration: underline; }

/* callouts */
.legal .callout {
  border: 1px solid var(--panel-border); border-left: 3px solid var(--cyan);
  border-radius: var(--radius-sm); background: rgba(60, 230, 214, .05);
  padding: 20px 24px; margin: 24px 0;
}
.legal .callout p:last-child { margin-bottom: 0; }
.legal .callout .ct {
  font-size: 11.5px; font-weight: 700; letter-spacing: .15em; text-transform: uppercase;
  color: var(--cyan); margin-bottom: 10px;
}
.legal .callout.warn { border-left-color: var(--gold); background: rgba(247, 201, 72, .06); }
.legal .callout.warn .ct { color: var(--gold); }
.legal .callout.hot { border-left-color: var(--danger); background: rgba(255, 107, 94, .06); }
.legal .callout.hot .ct { color: var(--danger); }

/* tables — scroll inside their own box, never the page */
.legal .table-scroll { overflow-x: auto; margin: 6px 0 22px; -webkit-overflow-scrolling: touch; }
.legal table { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 460px; }
.legal th, .legal td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--panel-border); vertical-align: top; }
.legal th {
  font-size: 11.5px; letter-spacing: .13em; text-transform: uppercase;
  color: var(--ink-dimmer); font-weight: 700;
}
.legal td { color: var(--ink-dim); line-height: 1.6; }
.legal td:first-child { color: var(--ink); font-weight: 500; }

/* legal footer nav */
.legal-footer .footer-bottom { border-top: none; padding-top: 0; }
.legal-footer .footer-links a { color: var(--ink-dim); margin-left: 20px; }
.legal-footer .footer-links a:hover { color: var(--cyan); }
@media (max-width: 520px) {
  .legal-footer .footer-links a { margin: 0 18px 0 0; display: inline-block; }
}
