/* Shared chrome and prose styling for the legal pages.
   Tokens and devices are lifted from index.html, not reinvented. */
:root { --ink: oklch(0.22 0.02 160); --bg: oklch(0.98 0.005 160); --accent: oklch(0.55 0.13 45); --muted: oklch(0.42 0.02 160); --line: oklch(0.9 0.01 160); }
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: 'Work Sans', sans-serif; -webkit-font-smoothing: antialiased; }
a { color: var(--accent); text-decoration: none; }
a:hover { color: oklch(0.42 0.13 45); }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 32px; }

/* Header, same mark and lockup as the homepage. */
header { display: flex; align-items: center; justify-content: space-between; padding: 28px 0; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--ink); }
.seal { width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--ink); display: flex; align-items: center; justify-content: center; position: relative; flex-shrink: 0; }
.seal::after { content: ""; position: absolute; inset: 2px; border-radius: 50%; border: 1px solid oklch(0.55 0.13 45 / 0.55); }
.seal .c { font-family: 'Pinyon Script', cursive; font-size: 23px; line-height: 1; margin: -5px 0 0 -6px; }
.seal .m { font-family: 'Pinyon Script', cursive; font-size: 18px; line-height: 1; margin: 8px 0 0 -7px; color: var(--accent); }
.brand-name { font-family: 'DM Serif Display', serif; font-size: 22px; }
.nav-cta { background: var(--ink); color: var(--bg); padding: 10px 20px; border-radius: 999px; font-size: 14px; font-weight: 500; }
.nav-cta:hover { background: var(--accent); color: var(--bg); }

/* Page head. */
.legal-hero { padding: 56px 0 40px; border-top: 1px solid var(--line); }
.eyebrow { margin: 0 0 20px; font-size: 13px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); }
.legal-hero h1 { font-family: 'DM Serif Display', serif; font-weight: 400; margin: 0 0 20px; font-size: 56px; line-height: 1.05; }
.legal-meta { margin: 0; font-size: 15px; color: var(--muted); display: flex; flex-wrap: wrap; gap: 8px 20px; }

/* Prose. */
.legal { padding-bottom: 72px; }
.legal-body { max-width: 720px; }
.legal-body .lead { margin: 0 0 32px; font-size: 19px; line-height: 1.65; color: var(--muted); text-wrap: pretty; }
.legal-body h2 { font-family: 'DM Serif Display', serif; font-weight: 400; font-size: 28px; line-height: 1.2; margin: 44px 0 14px; }
.legal-body h3 { font-size: 17px; font-weight: 600; margin: 28px 0 10px; }
.legal-body p { margin: 0 0 16px; font-size: 16px; line-height: 1.7; color: var(--muted); text-wrap: pretty; }
.legal-body ul { margin: 0 0 16px; padding-left: 22px; }
.legal-body li { font-size: 16px; line-height: 1.7; color: var(--muted); margin-bottom: 8px; }
.legal-body strong { color: var(--ink); font-weight: 600; }
.legal-body a { text-decoration: underline; text-underline-offset: 2px; }
.rule { border: 0; border-top: 1px solid var(--line); margin: 40px 0; }
.contact-card { background: oklch(1 0 0); border: 1px solid var(--line); border-radius: 16px; padding: 24px 28px; margin-top: 8px; }
.contact-card p { margin: 0 0 6px; }
.contact-card p:last-child { margin-bottom: 0; }
.contact-card .name { color: var(--ink); font-weight: 600; }

/* Footer, same lockup as the homepage plus the legal links. */
footer { border-top: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; padding: 28px 0 40px; font-size: 13px; color: oklch(0.55 0.02 160); }
footer .brand { gap: 10px; color: inherit; }
footer .seal { width: 26px; height: 26px; border-width: 1px; }
footer .seal::after { display: none; }
footer .seal .c { font-size: 13px; margin: -3px 0 0 -3px; }
footer .seal .m { font-size: 10px; margin: 5px 0 0 -4px; }
.footer-legal { display: flex; gap: 20px; }
.footer-legal a { color: oklch(0.55 0.02 160); }
.footer-legal a:hover { color: var(--accent); }

@media (max-width: 720px) {
  .wrap { padding: 0 20px; }
  .legal-hero { padding: 36px 0 28px; }
  .legal-hero h1 { font-size: 36px; }
  .legal-body h2 { font-size: 24px; margin-top: 36px; }
  .legal-body .lead { font-size: 17px; }
  .legal { padding-bottom: 48px; }
  footer { flex-direction: column; align-items: flex-start; padding-bottom: 32px; }
}
