/* getpoppie.com — shared styles for the landing page and legal pages. Same palette and type as the app. */
:root {
  --bg: #FBF8F3;
  --ink: #1D1A17;
  --muted: #6F675E;
  --faint: #8A8177;
  --line: #EDE5DA;
  --chip: #F1EBE2;
  --accent: #FFA156;
  --accent-text: #D55C13;
  --peach: #FFE5D2;
  --lavender: #B7A9FB;
  --lavender-soft: #E3E0FF;
  --mint: #D1F2D7;
  --mint-ink: #3A4A3E;
  --display: 'Bricolage Grotesque', system-ui, sans-serif;
  --sans: 'DM Sans', system-ui, sans-serif;
  --mono: 'DM Mono', ui-monospace, monospace;
  --ease: cubic-bezier(.2, .8, .2, 1);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--sans); font-size: 17px; line-height: 1.5; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: inherit; }
.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.display { font-family: var(--display); font-weight: 800; letter-spacing: -0.035em; line-height: 0.98; }
.mono { font-family: var(--mono); font-weight: 500; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; }

/* nav */
.nav { display: flex; align-items: center; justify-content: space-between; padding: 18px 0; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand img { width: 40px; height: 40px; border-radius: 12px; }
.brand span { font-family: var(--display); font-weight: 800; font-size: 26px; letter-spacing: -.04em; }
.nav-links { display: flex; align-items: center; gap: 22px; }
.nav-links a { text-decoration: none; font-weight: 600; font-size: 15px; }
.nav-links a.hide-sm { color: var(--ink); opacity: .8; }
.pill { display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 18px; border-radius: 999px; background: var(--ink); color: var(--bg); font-weight: 700; font-size: 15px; text-decoration: none; white-space: nowrap; }
.pill.light { background: rgba(255,255,255,.7); color: var(--ink); }
@media (max-width: 640px) { .hide-sm { display: none; } }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 60px; padding: 0 28px; border-radius: 999px; background: var(--ink); color: var(--bg); font-weight: 700; font-size: 17px; text-decoration: none; transition: transform .15s var(--ease); }
.btn:active { transform: scale(.97); }
.btn svg { width: 20px; height: 20px; }

/* legal pages */
.legal { max-width: 760px; margin: 0 auto; padding: 8px 20px 80px; }
.legal h1 { font-family: var(--display); font-weight: 800; letter-spacing: -.035em; font-size: clamp(40px, 7vw, 60px); line-height: 1; margin: 28px 0 10px; }
.legal .meta { color: var(--faint); font-family: var(--mono); font-size: 13px; margin: 0 0 28px; }
.legal .tldr { background: var(--peach); border-radius: 24px; padding: 20px 22px; margin: 0 0 34px; }
.legal .tldr h2 { margin-top: 0; }
.legal .tldr ul { margin-bottom: 0; }
.legal h2 { font-family: var(--display); font-weight: 800; letter-spacing: -.02em; font-size: 24px; line-height: 1.15; margin: 38px 0 10px; }
.legal h3 { font-weight: 700; font-size: 17px; margin: 22px 0 6px; }
.legal p, .legal li { color: #3A352F; }
.legal ul, .legal ol { padding-left: 22px; }
.legal li { margin: 6px 0; }
.legal .caps { text-transform: uppercase; font-size: 14.5px; letter-spacing: .01em; }
.legal table { width: 100%; border-collapse: collapse; font-size: 15px; margin: 12px 0; }
.legal th, .legal td { text-align: left; vertical-align: top; padding: 10px 10px 10px 0; border-bottom: 1px solid var(--line); }
.legal th { font-family: var(--mono); font-weight: 500; font-size: 12px; letter-spacing: .05em; text-transform: uppercase; color: var(--faint); }
.legal .toc { background: #fff; border-radius: 24px; padding: 18px 22px; margin: 0 0 10px; columns: 2; column-gap: 28px; }
.legal .toc a { display: block; text-decoration: none; padding: 4px 0; font-size: 15px; break-inside: avoid; }
@media (max-width: 640px) { .legal .toc { columns: 1; } .legal table { font-size: 14px; } }

/* footer */
.foot { background: var(--ink); color: #C9BFB3; padding: 48px 0 40px; margin-top: 0; }
.foot .row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; align-items: flex-start; }
.foot .brand span { color: var(--bg); }
.foot nav { display: flex; flex-wrap: wrap; gap: 10px 24px; }
.foot nav a { color: var(--bg); text-decoration: none; font-weight: 600; font-size: 15px; }
.foot small { display: block; margin-top: 28px; font-size: 13px; line-height: 1.6; color: #A99F94; }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } html { scroll-behavior: auto; } }
