/* =====================================================================
   SmartPact — Legal pages shared styles
   Long-form prose, sticky TOC, generous whitespace
   ===================================================================== */
:root{
  --bg:#000;--bg-soft:#060606;--surface:#0C0C0D;--surface-2:#131316;--elevated:#1A1A1D;
  --line:rgba(255,255,255,0.07);--line-2:rgba(255,255,255,0.12);--line-3:rgba(255,255,255,0.22);
  --ink:#fff;--ink-2:#B7B7BA;--ink-3:#76767B;--ink-4:#4A4A50;
  --acid:#D4FF3A;--acid-2:#B8E632;
  --positive:#84F5C8;--negative:#FF6470;
  --sans:"Geist","Inter",system-ui,sans-serif;
  --display:"Geist","Inter Tight",system-ui,sans-serif;
  --mono:"Geist", "Inter", system-ui, -apple-system, sans-serif;
}
*{ box-sizing:border-box; }
html,body{
  margin:0; padding:0; background:var(--bg); color:var(--ink);
  font-family:var(--sans); font-size:15px; line-height:1.6; min-height:100vh;
  -webkit-font-smoothing:antialiased; overflow-x:hidden;
}
body{ display:flex; flex-direction:column; }
a{ color:inherit; text-decoration:none; }
::selection{ background:var(--acid); color:#000; }
h1,h2,h3,h4{ margin:0; font-family:var(--display); font-weight:700; letter-spacing:-0.035em; line-height:1.05; }
em{ font-style:normal; color:var(--acid); }
.mono{ font-family:var(--mono); }

/* ===== Header ===== */
.lp-header{
  position:sticky; top:0; z-index:10; background:rgba(0,0,0,0.85); backdrop-filter:blur(16px);
  border-bottom:1px solid var(--line);
}
.lp-header-inner{ display:flex; align-items:center; justify-content:space-between; padding:14px 28px; max-width:1320px; margin:0 auto; gap:24px; }
.lp-logo{ display:inline-flex; align-items:center; gap:9px; font-family:var(--display); font-weight:700; font-size:17px; letter-spacing:-0.03em; }
.lp-logo svg{ width:22px; height:22px; }
.lp-nav{ display:flex; gap:2px; margin-left:8px; }
.lp-nav a{ padding:7px 13px; font-size:13.5px; color:var(--ink-3); border-radius:6px; transition:color .12s ease, background .12s ease; }
.lp-nav a:hover{ color:var(--ink); background:rgba(255,255,255,.05); }
.lp-nav a.active{ color:var(--ink); }
@media(max-width:860px){ .lp-nav{ display:none; } }
.lp-cta{
  margin-left:auto; display:inline-flex; align-items:center; gap:8px;
  padding:9px 14px; background:var(--acid); color:#000; border-radius:6px;
  font-size:13px; font-weight:600; letter-spacing:-0.005em; transition:background .15s ease;
}
.lp-cta:hover{ background:var(--acid-2); }
.lp-cta svg{ width:12px; height:12px; }

/* ===== Page header ===== */
.lp-hero{
  padding:96px 28px 56px; max-width:1320px; margin:0 auto; width:100%;
}
.lp-hero .eyebrow{
  display:inline-flex; align-items:center; gap:10px;
  font-family:var(--mono); font-size:11px; letter-spacing:.18em; text-transform:uppercase;
  color:var(--acid); margin-bottom:24px;
}
.lp-hero .eyebrow::before{
  content:""; width:24px; height:1px; background:var(--acid);
}
.lp-hero h1{ font-size:clamp(48px,8vw,120px); letter-spacing:-0.05em; line-height:.92; }
.lp-hero .meta{
  display:flex; gap:32px; flex-wrap:wrap; margin-top:32px; padding-top:24px; border-top:1px solid var(--line);
}
.lp-hero .meta .item{ font-family:var(--mono); font-size:11px; letter-spacing:.14em; text-transform:uppercase; color:var(--ink-3); }
.lp-hero .meta .item strong{ color:var(--ink); font-weight:500; font-family:var(--mono); display:block; margin-top:4px; font-size:13px; letter-spacing:.04em; text-transform:none; }
.lp-hero .lede{
  font-size:clamp(17px,1.5vw,20px); line-height:1.55; color:var(--ink-2); margin-top:24px; max-width:680px;
}

/* ===== Body with TOC ===== */
.lp-body{
  display:grid; grid-template-columns:240px 1fr; gap:64px;
  max-width:1320px; margin:0 auto; width:100%; padding:48px 28px 96px; align-items:start;
}
@media(max-width:980px){ .lp-body{ grid-template-columns:1fr; gap:32px; } }

.lp-toc{ position:sticky; top:80px; }
@media(max-width:980px){ .lp-toc{ position:static; padding-bottom:24px; border-bottom:1px solid var(--line); margin-bottom:24px; } }
.lp-toc .toc-label{
  font-family:var(--mono); font-size:10.5px; letter-spacing:.18em; text-transform:uppercase;
  color:var(--ink-3); margin-bottom:18px; display:block;
}
.lp-toc ol{
  list-style:none; padding:0; margin:0; display:flex; flex-direction:column; gap:4px;
  counter-reset:toc;
}
.lp-toc li{ counter-increment:toc; }
.lp-toc a{
  display:flex; gap:10px; padding:7px 10px; border-radius:6px; font-size:13px;
  color:var(--ink-3); transition:color .12s ease, background .12s ease;
  border-left:2px solid transparent;
}
.lp-toc a::before{
  content:counter(toc, decimal-leading-zero); font-family:var(--mono); font-size:10.5px;
  color:var(--ink-4); flex-shrink:0; padding-top:1px;
}
.lp-toc a:hover{ color:var(--ink); background:rgba(255,255,255,.04); }
.lp-toc a.active{ color:var(--acid); border-left-color:var(--acid); padding-left:8px; }

/* ===== Article ===== */
.lp-article{ max-width:760px; counter-reset:section; }
.lp-article h2{
  font-size:clamp(28px,3.4vw,40px); letter-spacing:-0.03em; line-height:1.1; font-weight:700;
  margin:64px 0 18px; scroll-margin-top:80px; counter-increment:section;
  display:flex; gap:18px; align-items:baseline;
}
.lp-article h2::before{
  content:counter(section, decimal-leading-zero); font-family:var(--mono); font-size:13px;
  color:var(--acid); flex-shrink:0; letter-spacing:.04em;
}
.lp-article h2:first-of-type{ margin-top:0; }
.lp-article h3{
  font-size:18px; font-weight:600; letter-spacing:-0.02em; margin:28px 0 10px; color:var(--ink);
}
.lp-article p{
  margin:0 0 18px; color:var(--ink-2); font-size:15.5px; line-height:1.7;
}
.lp-article strong{ color:var(--ink); font-weight:600; }
.lp-article em{ color:var(--acid); font-style:normal; }
.lp-article a:not(.btn){
  color:var(--acid); border-bottom:1px solid rgba(212,255,58,0.3); transition:border-color .12s ease;
}
.lp-article a:not(.btn):hover{ border-color:var(--acid); }
.lp-article ul, .lp-article ol{ padding-left:24px; margin:0 0 18px; color:var(--ink-2); font-size:15.5px; line-height:1.7; }
.lp-article ul li, .lp-article ol li{ margin-bottom:8px; }
.lp-article ul li::marker{ color:var(--acid); }
.lp-article ol li::marker{ color:var(--ink-3); font-family:var(--mono); font-size:13px; }

/* callout */
.lp-article .callout{
  margin:24px 0; padding:20px 24px; border:1px solid var(--line-2);
  border-left:3px solid var(--acid); border-radius:8px;
  background:linear-gradient(180deg, rgba(212,255,58,0.04), transparent 80%);
}
.lp-article .callout .label{
  font-family:var(--mono); font-size:10.5px; letter-spacing:.14em; text-transform:uppercase;
  color:var(--acid); margin-bottom:8px; display:block;
}
.lp-article .callout p:last-child{ margin-bottom:0; }

/* contact block */
.lp-contact{
  margin-top:64px; padding:32px; background:var(--surface); border:1px solid var(--line); border-radius:14px;
  display:flex; justify-content:space-between; align-items:center; gap:24px; flex-wrap:wrap;
}
.lp-contact h3{ font-family:var(--display); font-size:22px; font-weight:600; margin:0 0 6px; letter-spacing:-0.025em; }
.lp-contact p{ margin:0; color:var(--ink-3); font-size:14px; }
.lp-contact .actions{ display:flex; gap:10px; }
.lp-contact .btn{
  display:inline-flex; align-items:center; gap:8px; padding:11px 18px;
  font-family:var(--sans); font-size:13.5px; font-weight:600; letter-spacing:-0.005em;
  cursor:pointer; border-radius:6px; transition:background .15s ease, border-color .15s ease;
}
.lp-contact .btn-acid{ background:var(--acid); color:#000; border:1px solid var(--acid); }
.lp-contact .btn-acid:hover{ background:var(--acid-2); border-color:var(--acid-2); }
.lp-contact .btn-ghost{ background:transparent; color:var(--ink); border:1px solid var(--line-2); }
.lp-contact .btn-ghost:hover{ border-color:var(--line-3); background:rgba(255,255,255,.04); }
.lp-contact .btn svg{ width:13px; height:13px; }

/* ===== Footer ===== */
.lp-footer{
  border-top:1px solid var(--line); padding:48px 28px 64px;
  max-width:1320px; margin:0 auto; width:100%;
}
.lp-footer-top{ display:flex; justify-content:space-between; align-items:flex-start; flex-wrap:wrap; gap:32px; margin-bottom:32px; }
.lp-footer-top .links{ display:flex; gap:32px; flex-wrap:wrap; }
.lp-footer-top .links a{
  font-family:var(--mono); font-size:11px; letter-spacing:.16em; text-transform:uppercase;
  color:var(--ink-3); transition:color .12s ease;
}
.lp-footer-top .links a:hover{ color:var(--acid); }
.lp-footer-top .links a.current{ color:var(--ink); }
.lp-footer-bottom{
  display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:12px;
  padding-top:24px; border-top:1px solid var(--line);
}
.lp-footer-bottom .small{ font-family:var(--mono); font-size:11px; color:var(--ink-4); letter-spacing:.06em; }
