/* Shared styles for the plain pages (terms.html, privacy.html, support.html).
   Deliberately NOT build/css.py — that file is the animated marketing
   page's stylesheet (liquid glass, scrollytelling, parallax); a legal
   document needs none of it. Reuses the same brand tokens (DM Sans /
   Bricolage Grotesque, the site's ink/bg palette) so it still reads as
   the same site, just as a plain readable document instead of a page. */

:root {
  --bg: #FFFFFF;
  --ink: #181818;
  --ink-2: #57575C;
  --ink-3: #6E6E74;
  --line: rgba(24,24,24,.10);
  --accent: #EF4527;
  --text: "DM Sans", system-ui, sans-serif;
  --display: "Bricolage Grotesque", var(--text);
  --mono: "Geist Mono", ui-monospace, monospace;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--text);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

.wrap {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 24px;
}

header.legal-nav {
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}
header.legal-nav .wrap { display: flex; align-items: center; }
header.legal-nav img { height: 22px; width: auto; display: block; }

main { padding: 56px 0 40px; }

.eyebrow {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin: 0 0 10px;
}

h1 {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(32px, 5vw, 44px);
  line-height: 1.08;
  letter-spacing: -.02em;
  margin: 0 0 8px;
}

.updated { color: var(--ink-3); font-size: 15px; margin: 0 0 40px; }

h2 {
  font-family: var(--display);
  font-weight: 700;
  font-size: 23px;
  letter-spacing: -.01em;
  margin: 44px 0 14px;
}
main > h2:first-of-type { margin-top: 0; }

p { margin: 0 0 16px; color: var(--ink-2); }
strong { color: var(--ink); font-weight: 600; }

ul { margin: 0 0 16px; padding-left: 22px; color: var(--ink-2); }
li { margin: 0 0 8px; }
li::marker { color: var(--ink-3); }

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

table { width: 100%; border-collapse: collapse; margin: 0 0 24px; font-size: 15.5px; }
th, td { text-align: left; padding: 10px 12px 10px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
th { color: var(--ink-3); font-weight: 600; font-size: 13px; text-transform: uppercase; letter-spacing: .04em; }
td { color: var(--ink-2); }
td:first-child { color: var(--ink); font-weight: 600; white-space: nowrap; }

footer.legal-foot {
  border-top: 1px solid var(--line);
  padding: 28px 0 48px;
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
}
footer.legal-foot .links { display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 14.5px; }
footer.legal-foot .links a { color: var(--ink-2); }
footer.legal-foot .links a[aria-current="page"] { color: var(--ink); font-weight: 600; }
footer.legal-foot .copy { color: var(--ink-3); font-size: 14px; }

/* Support page: the contact card and the company-details list. */
.contact-card {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 20px 22px;
  margin: 0 0 44px;
}
.contact-card p { margin: 0 0 6px; }
.contact-card .contact-email { font-size: 20px; font-weight: 600; }
.contact-card p:last-child { margin: 0; }

dl.company {
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: 10px 24px;
  margin: 0 0 24px;
  font-size: 15.5px;
}
dl.company dt { color: var(--ink-3); }
dl.company dd { margin: 0; color: var(--ink); }

@media (max-width: 480px) {
  main { padding: 40px 0 28px; }
  h2 { font-size: 21px; margin-top: 36px; }
  dl.company { grid-template-columns: 1fr; gap: 2px; }
  dl.company dd { margin-bottom: 10px; }
}
