/* Shared Apple-like legal pages for trymako.ai (terms / privacy / data-deletion) */
:root {
  --ink: #0f0f12;
  --muted: #6b6b72;
  --faint: #9a9aa3;
  --line: rgba(15, 15, 20, 0.08);
  --bg: #f5f5f7;
  --card: #ffffff;
  --maxw: 680px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, 'Inter', 'Segoe UI', Roboto, sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }
.topbar {
  position: sticky; top: 0; z-index: 10;
  backdrop-filter: blur(16px);
  background: rgba(245, 245, 247, 0.82);
  border-bottom: 1px solid var(--line);
}
.topbar .wrap {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 14px; padding-bottom: 14px;
}
.logo {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 800; font-size: 16px; color: var(--ink); text-decoration: none;
}
.logo img { width: 28px; height: 28px; border-radius: 8px; }
.nav { display: flex; gap: 4px; flex-wrap: wrap; }
.nav a {
  font-size: 12.5px; font-weight: 600; color: var(--muted);
  text-decoration: none; padding: 6px 12px; border-radius: 999px;
}
.nav a:hover { background: rgba(15, 15, 20, 0.05); color: var(--ink); }
.nav a.active { background: #0e0e10; color: #fff; }
.hero { padding: 48px 0 8px; }
.hero .eyebrow {
  font-size: 12px; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--muted); margin: 0 0 10px;
}
.hero h1 {
  margin: 0; font-size: clamp(32px, 5vw, 42px); font-weight: 800;
  letter-spacing: -0.03em; line-height: 1.05;
}
.hero .tagline { margin: 12px 0 0; color: var(--muted); font-size: 16px; max-width: 36rem; }
.hero .updated { margin: 8px 0 0; font-size: 13px; color: var(--faint); }
main { padding: 28px 0 72px; }
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 32px 28px;
  box-shadow: 0 1px 2px rgba(15, 15, 20, 0.04), 0 12px 40px rgba(15, 15, 20, 0.06);
}
h2 { font-size: 21px; font-weight: 700; margin: 34px 0 8px; letter-spacing: -0.02em; }
h2:first-child { margin-top: 0; }
p, li { color: var(--muted); font-size: 15.5px; }
ul { padding-left: 20px; margin: 8px 0; }
li { margin: 5px 0; }
a { color: #075a99; text-decoration: none; }
a:hover { text-decoration: underline; }
.toc {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin: 16px 0 8px;
}
.toc a {
  font-size: 12.5px; font-weight: 600;
  padding: 6px 12px; border-radius: 999px;
  background: rgba(15, 15, 20, 0.04); color: var(--ink);
  text-decoration: none;
}
.toc a:hover { background: rgba(15, 15, 20, 0.08); }
.note {
  margin-top: 14px;
  background: #f5f5f7;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px 16px;
  font-size: 14.5px;
  color: var(--muted);
}
table { width: 100%; border-collapse: collapse; margin: 10px 0; font-size: 14.5px; }
th, td { text-align: left; padding: 9px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { color: var(--ink); font-weight: 700; }
td { color: var(--muted); }
.liability {
  margin: 20px 0;
  padding: 18px 20px;
  border-radius: 20px;
  background: #0e0e10;
  color: rgba(255, 255, 255, 0.88);
  box-shadow: 0 1px 2px rgba(15, 15, 20, 0.04), 0 8px 24px rgba(15, 15, 20, 0.08);
}
.liability .lbl {
  margin: 0 0 8px;
  font-size: 12px; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; color: rgba(255, 255, 255, 0.5);
}
.liability p { margin: 0; color: #fff; font-size: 15px; font-weight: 500; line-height: 1.45; }
footer {
  border-top: 1px solid var(--line);
  padding: 26px 0;
  color: var(--faint);
  font-size: 13px;
}
footer .wrap { display: flex; flex-wrap: wrap; gap: 8px; justify-content: space-between; }
footer a { color: var(--muted); }
@media (max-width: 520px) {
  .card { padding: 22px 18px; border-radius: 22px; }
  .nav a { padding: 5px 9px; font-size: 11.5px; }
}
