/* legal.css — shared styles for the Terms of Use and Privacy pages.
   Reuses the fonts and design tokens from index.html so the legal pages
   match the marketing site. Loaded only by terms.html and privacy.html. */

/* ── Fonts: Plus Jakarta Sans (self-hosted, latin + latin-ext) ── */
/* latin-ext */
@font-face { font-family: "Plus Jakarta Sans"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/4217fb1d-43e3-47a3-83f9-f4172ed843a7.woff2") format("woff2"); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
/* latin */
@font-face { font-family: "Plus Jakarta Sans"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/2a26c91c-474c-4d9e-aadf-e526ada69be2.woff2") format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
/* latin-ext */
@font-face { font-family: "Plus Jakarta Sans"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/4217fb1d-43e3-47a3-83f9-f4172ed843a7.woff2") format("woff2"); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
/* latin */
@font-face { font-family: "Plus Jakarta Sans"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/2a26c91c-474c-4d9e-aadf-e526ada69be2.woff2") format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
/* latin-ext */
@font-face { font-family: "Plus Jakarta Sans"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/4217fb1d-43e3-47a3-83f9-f4172ed843a7.woff2") format("woff2"); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
/* latin */
@font-face { font-family: "Plus Jakarta Sans"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/2a26c91c-474c-4d9e-aadf-e526ada69be2.woff2") format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
/* latin-ext */
@font-face { font-family: "Plus Jakarta Sans"; font-style: normal; font-weight: 800; font-display: swap; src: url("../fonts/4217fb1d-43e3-47a3-83f9-f4172ed843a7.woff2") format("woff2"); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
/* latin */
@font-face { font-family: "Plus Jakarta Sans"; font-style: normal; font-weight: 800; font-display: swap; src: url("../fonts/2a26c91c-474c-4d9e-aadf-e526ada69be2.woff2") format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }

/* ── Tokens (mirrors index.html) ── */
:root {
  --accent: #4f46e5;
  --accent-dark: color-mix(in oklab, var(--accent), black 14%);
  --red: #c8102e;
  --navy: #0d152e;
  --navy-soft: #16203d;
  --surface: #f5f5f7;
  --cream: #faf6ee;
  --ink: #16161d;
  --muted: #55556b;
  --font: "Plus Jakarta Sans", system-ui, -apple-system, sans-serif;
}

/* ── Base ── */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: #fff; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, p { margin: 0; text-wrap: pretty; }
.skip-link { position: absolute; left: -9999px; top: 0; z-index: 100; background: #fff; color: var(--ink); padding: 12px 20px; border-radius: 0 0 12px 0; font-weight: 700; text-decoration: none; }
.skip-link:focus { left: 0; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 4px; }

.container { max-width: 1160px; margin: 0 auto; padding: 0 24px; }

/* ── Wordmark / logo (header + footer) ── */
.wordmark { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.wordmark .logo-img { height: 46px; width: auto; display: block; }
.site-footer .wordmark .logo-img { height: 60px; }

/* ── Slim header (navy band, white logo) ── */
.legal-header { background: var(--navy); }
.legal-header .container { display: flex; align-items: center; min-height: 84px; padding-top: 14px; padding-bottom: 14px; }

/* ── Legal content ── */
.legal-main { padding: 56px 0 80px; }
.legal-wrap { max-width: 768px; margin: 0 auto; padding: 0 24px; }
.legal-wrap h1 { font-size: clamp(30px, 5vw, 40px); font-weight: 800; line-height: 1.12; letter-spacing: -0.01em; }
.legal-meta { margin-top: 10px; color: var(--muted); font-size: 14.5px; font-weight: 600; }
.legal-lead { margin-top: 22px; font-size: 17px; line-height: 1.7; color: var(--ink); }
.legal-wrap h2 { margin: 40px 0 12px; font-size: 20px; font-weight: 700; line-height: 1.3; }
.legal-wrap h3 { margin: 26px 0 10px; font-size: 17px; font-weight: 700; line-height: 1.35; }
.legal-wrap p { margin: 0 0 14px; font-size: 16px; line-height: 1.75; color: var(--ink); }
.legal-wrap ul { margin: 0 0 18px; padding-left: 22px; }
.legal-wrap li { margin-bottom: 7px; font-size: 16px; line-height: 1.7; color: var(--ink); }
.legal-wrap a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }

/* ── Support form (mirrors the demo form in index.html, on a light page) ── */
.support-form { display: flex; flex-direction: column; gap: 16px; margin: 24px 0 8px; max-width: 480px; }
.support-form label { display: flex; flex-direction: column; gap: 7px; font-size: 13.5px; font-weight: 700; color: var(--ink); }
.support-form input,
.support-form textarea {
  font-family: var(--font);
  font-size: 15.5px;
  color: var(--ink);
  padding: 13px 16px;
  border-radius: 13px;
  border: 1.5px solid rgba(22, 22, 29, 0.14);
  background: var(--surface);
  transition: border-color 0.15s ease, background 0.15s ease;
}
.support-form input:focus,
.support-form textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: #fff;
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 18%, transparent);
}
.support-form textarea { resize: vertical; min-height: 88px; }
.support-form button {
  margin-top: 6px;
  align-self: flex-start;
  font-family: var(--font);
  font-size: 15.5px;
  font-weight: 700;
  color: #fff;
  background: var(--accent);
  border: 0;
  border-radius: 13px;
  padding: 13px 26px;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.15s ease;
}
.support-form button:hover { background: var(--accent-dark); transform: translateY(-1px); }
.support-form button:disabled { opacity: 0.6; cursor: default; transform: none; }
.form-fineprint { font-size: 12.5px; color: var(--muted); line-height: 1.5; margin: 0; }
.form-status { margin-top: 14px; font-weight: 700; }
.form-status.ok { color: var(--accent); }
.form-status.err { color: var(--red); }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ── Footer (mirrors index.html) ── */
.site-footer { background: var(--navy); color: rgba(250, 246, 238, 0.8); padding: 64px 0 36px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 48px; }
.footer-brand p { margin-top: 16px; font-size: 14.5px; line-height: 1.6; max-width: 34ch; }
.footer-col h4 { margin: 0 0 16px; font-size: 12.5px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(250, 246, 238, 0.55); }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 11px; }
.footer-col a { font-size: 15px; font-weight: 600; text-decoration: none; opacity: 0.85; }
.footer-col a:hover { opacity: 1; text-decoration: underline; }
.footer-bottom { margin-top: 52px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, 0.12); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13.5px; opacity: 0.65; }
.footer-social { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.footer-social a { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 10px; color: rgba(250, 246, 238, 0.72); background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.1); transition: color 0.15s ease, background 0.15s ease, border-color 0.15s ease, transform 0.15s ease; }
.footer-social a:hover { color: #fff; background: var(--accent); border-color: transparent; transform: translateY(-2px); }
.footer-social a:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.footer-social svg { width: 18px; height: 18px; fill: currentColor; display: block; }

/* ── Responsive ── */
@media (max-width: 980px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 720px) {
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .wordmark .logo-img { height: 40px; }
  .legal-main { padding: 40px 0 64px; }
}
