/* legal.css — shared shell for My PA standalone pages (Privacy, Terms, Data
   Security, Refunds, WhatsApp setup). Light theme, brand-matched. */

@import url("https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Hanken+Grotesk:wght@400;500;600;700&display=swap");

:root {
  --brand-700: #0F5132;
  --brand-600: #155C39;
  --brand-100: #D2E8DA;
  --brand-50: #ECF6EF;
  --amber: #F59E0B;
  --amber-400: #FBB429;
  --cream: #FAFAF7;
  --ink: #0A1410;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Hanken Grotesk", system-ui, sans-serif;
  background: var(--cream);
  color: #14241b;
  -webkit-font-smoothing: antialiased;
  line-height: 1.65;
}
h1, h2, h3, .display { font-family: "Plus Jakarta Sans", system-ui, sans-serif; }
::selection { background: var(--amber); color: var(--ink); }
a { color: inherit; }

/* ── Header ─────────────────────────────────────────────────────────── */
.lp-header {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px;
  padding: 14px clamp(20px, 5vw, 48px);
  background: rgba(250, 250, 247, .82);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(15, 81, 50, .08);
}
.lp-logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.lp-logo-mark {
  width: 38px; height: 38px; border-radius: 11px; flex: none;
  display: inline-flex; align-items: center; justify-content: center;
  background: linear-gradient(160deg, #FBB429, #F08C0A);
  box-shadow: 0 6px 16px -6px rgba(240, 140, 10, .65);
}
.lp-logo-word { font-family: "Plus Jakarta Sans"; font-weight: 800; font-size: 21px; letter-spacing: -.02em; color: #08301E; white-space: nowrap; }
.lp-back {
  display: inline-flex; align-items: center; gap: 7px;
  text-decoration: none; font-weight: 600; font-size: 14.5px;
  color: var(--brand-700);
  padding: 9px 16px; border-radius: 999px;
  border: 1px solid rgba(15, 81, 50, .14); background: rgba(255, 255, 255, .6);
  transition: background .15s ease, border-color .15s ease, transform .15s ease;
  white-space: nowrap;
}
.lp-back:hover { background: #fff; border-color: rgba(15, 81, 50, .26); transform: translateY(-1px); }

/* ── Title band ─────────────────────────────────────────────────────── */
.lp-hero {
  position: relative; overflow: hidden;
  background: var(--brand-700); color: #fff;
  padding: clamp(48px, 8vw, 80px) clamp(20px, 5vw, 48px) clamp(40px, 6vw, 64px);
}
.lp-hero::before, .lp-hero::after {
  content: ""; position: absolute; border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .10); pointer-events: none;
}
.lp-hero::before { width: 560px; height: 560px; top: -180px; right: -140px; }
.lp-hero::after { width: 360px; height: 360px; top: -80px; right: -40px; }
.lp-hero-inner { position: relative; max-width: 820px; margin: 0 auto; }
.lp-eyebrow {
  display: inline-flex; align-items: center; gap: 8px; white-space: nowrap;
  font-size: 12.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--amber-400);
  background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .15);
  padding: 6px 14px; border-radius: 999px;
}
.lp-eyebrow .dot { width: 6px; height: 6px; border-radius: 999px; background: var(--amber); }
.lp-hero h1 { margin: 22px 0 0; font-size: clamp(30px, 5vw, 46px); font-weight: 800; letter-spacing: -.025em; line-height: 1.05; }
.lp-hero .lp-sub { margin: 16px 0 0; max-width: 620px; font-size: clamp(16px, 2vw, 19px); color: rgba(255, 255, 255, .8); }
.lp-updated { margin-top: 20px; font-size: 13.5px; color: rgba(255, 255, 255, .65); }

/* ── Body / prose ───────────────────────────────────────────────────── */
.lp-main { max-width: 820px; margin: 0 auto; padding: clamp(40px, 6vw, 64px) clamp(20px, 5vw, 48px) 24px; }
.lp-card {
  background: #fff; border: 1px solid rgba(15, 81, 50, .08);
  border-radius: 28px; padding: clamp(26px, 5vw, 48px);
  box-shadow: 0 18px 50px -24px rgba(8, 48, 30, .18);
}
.lp-intro { font-size: 18px; color: #2c4034; margin: 0 0 8px; }
.prose h2 {
  font-size: clamp(20px, 3vw, 25px); font-weight: 800; letter-spacing: -.015em;
  color: #0B3F27; margin: 38px 0 12px; scroll-margin-top: 90px;
}
.prose h2:first-of-type { margin-top: 20px; }
.prose h3 { font-size: 17.5px; font-weight: 700; color: #14241b; margin: 24px 0 8px; }
.prose p { margin: 0 0 14px; color: #33453b; font-size: 16.5px; }
.prose ul { margin: 0 0 16px; padding: 0; list-style: none; }
.prose ul li {
  position: relative; padding-left: 30px; margin-bottom: 10px; color: #33453b; font-size: 16.5px;
}
.prose ul li::before {
  content: ""; position: absolute; left: 4px; top: 9px;
  width: 8px; height: 8px; border-radius: 999px; background: var(--amber);
}
.prose strong { color: #0B3F27; font-weight: 700; }
.prose a.inline { color: var(--brand-600); font-weight: 600; text-decoration: underline; text-decoration-color: rgba(15,81,50,.3); text-underline-offset: 2px; }
.prose a.inline:hover { text-decoration-color: var(--brand-600); }

/* numbered counter chips reused by setup guide */
.lp-callout {
  display: flex; gap: 14px; align-items: flex-start;
  background: var(--brand-50); border: 1px solid var(--brand-100);
  border-radius: 18px; padding: 16px 18px; margin: 22px 0;
}
.lp-callout .ic { flex: none; width: 34px; height: 34px; border-radius: 10px; background: var(--amber); display: inline-flex; align-items: center; justify-content: center; color: #15331F; }
.lp-callout p { margin: 0; font-size: 15.5px; color: #2c4034; }
.lp-callout strong { display: block; margin-bottom: 2px; }

/* ── Footer ─────────────────────────────────────────────────────────── */
.lp-footer {
  max-width: 820px; margin: 0 auto; padding: 28px clamp(20px, 5vw, 48px) 56px;
}
.lp-footer-links { display: flex; flex-wrap: wrap; gap: 8px 22px; padding-top: 26px; border-top: 1px solid rgba(15, 81, 50, .1); }
.lp-footer-links a { text-decoration: none; font-size: 14.5px; font-weight: 500; color: #46594e; transition: color .15s ease; }
.lp-footer-links a:hover { color: var(--brand-700); }
.lp-footer-links a.current { color: var(--brand-700); font-weight: 700; }
.lp-copy { margin-top: 22px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; font-size: 13.5px; color: #67756c; }
.lp-copy .built { display: inline-flex; align-items: center; gap: 8px; }
.lp-copy .built .dot { width: 6px; height: 6px; border-radius: 999px; background: var(--amber); }

:focus-visible { outline: 3px solid var(--amber); outline-offset: 2px; border-radius: 6px; }

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