/* Shared styling for apara.dev's legal pages. Extracted from the
   mac-extender page styles so /privacy, /terms and /data-deletion match the
   rest of the site without importing a page-specific stylesheet. */
:root { color-scheme: dark; --bg:#06080b; --panel:#0e1218; --line:#29313b; --text:#f3f5f7; --muted:#9aa5b1; }

body { margin:0; background:radial-gradient(circle at 72% 9%,#1b222c 0,transparent 26rem),var(--bg); color:var(--text); font-family:-apple-system,BlinkMacSystemFont,"SF Pro Display","Helvetica Neue",sans-serif; line-height:1.5; }

.site-header, main, footer { max-width:1180px; margin:auto; }
.site-header { height:82px; display:flex; align-items:center; justify-content:space-between; padding:0 28px; }
.brand { display:flex; gap:10px; align-items:center; font-size:1.05rem; font-weight:650; letter-spacing:-.02em; color:var(--text); text-decoration:none; }
.brand img { width:25px; height:25px; }
.back { color:var(--muted); font-size:.9rem; text-decoration:none; }
.back span { padding-left:4px; }

h1,h2,h3,p { margin-top:0; }
.eyebrow { color:#b7c1ca; font-size:.72rem; letter-spacing:.15em; text-transform:uppercase; font-weight:700; margin:0 0 18px; }
h1 { font-size:clamp(3rem,6vw,5.6rem); line-height:.93; letter-spacing:-.075em; margin-bottom:28px; }
h1 em { font-style:normal; color:#aeb9c4; }
.lede { color:var(--muted); font-size:1.2rem; max-width:32rem; }

.legal-page { max-width:850px; margin:auto; padding:92px 28px 130px; }
.legal-page section { border-top:1px solid var(--line); padding:28px 0; }
.legal-page section:first-of-type { margin-top:60px; }
.legal-page h2 { font-size:1.25rem; letter-spacing:-.035em; margin-bottom:10px; }
.legal-page p, .legal-page li { color:var(--muted); font-size:1.02rem; max-width:42rem; }
.legal-page p + p { margin-top:16px; }
.legal-page a { color:var(--text); text-decoration:underline; text-underline-offset:3px; }
.legal-page code { font-family:ui-monospace,SFMono-Regular,Menlo,monospace; font-size:.92em; color:#c8d0d8; }
.legal-page ul { padding-left:1.2rem; }
.legal-page li + li { margin-top:8px; }
.draft { border:1px solid var(--line); border-radius:14px; background:var(--panel); padding:18px 20px; margin-top:60px; }
.draft p { margin:0; font-size:.94rem; }

footer { border-top:1px solid var(--line); padding:28px; display:flex; justify-content:space-between; color:#87919c; font-size:.82rem; }
footer a { color:#87919c; text-decoration:none; }
footer a:hover, footer a:focus-visible { color:var(--text); }
.legal-links { display:flex; flex-wrap:wrap; gap:6px 18px; justify-content:flex-end; }

.table-wrap { overflow-x:auto; margin-top:18px; }
.legal-page table { border-collapse:collapse; width:100%; font-size:.9rem; min-width:560px; }
.legal-page th, .legal-page td { text-align:left; padding:9px 12px 9px 0; border-bottom:1px solid var(--line); color:var(--muted); vertical-align:top; }
.legal-page th { color:var(--text); font-weight:600; }

@media(max-width:720px){
  .site-header { padding:0 20px; height:70px; }
  .legal-page { padding:56px 20px 90px; }
  footer { padding:24px 20px; flex-direction:column; gap:14px; }
  .legal-links { justify-content:flex-start; }
  .back { font-size:.78rem; }
}
