/*
 * Privacy, Terms and Security — the three pages behind the footer links.
 *
 * The landing page's tokens and shapes, restated rather than shared: the
 * landing page is one self-contained file, and pulling its styles out to serve
 * three short pages would make that file depend on this folder. Only what these
 * pages use is here.
 */
:root {
  --navy: #002b6b;
  --navy-deep: #041f3f;
  --blue-soft: #2f6ac2;
  --orange: #ff7a1a;
  --paper: #ffffff;
  --surface: #ffffff;
  --tint: #f2f7fd;
  --body: #3d4a63;
  --muted: #6d7c96;
  --line: #e2e9f4;
  --line-strong: #c8d6ea;
  --on-navy: #eef3fb;
  --on-navy-dim: #a5bcda;
  --r-pill: 9999px;
  --r-panel: 28px;
  --r-card: 16px;
  --sans: 'Inter', 'Segoe UI', -apple-system, BlinkMacSystemFont, Roboto, Arial, sans-serif;
  --gutter: clamp(20px, 5vw, 56px);
  --max: 900px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--body);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2 { margin: 0; color: var(--navy); letter-spacing: -0.018em; line-height: 1.24; font-weight: 600; }
p { margin: 0; }
a { color: inherit; }

:where(a, button):focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }

.legal-top { border-bottom: 1px solid var(--line); }

.legal-top-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 76px;
}

.mark {
  font-weight: 700;
  font-size: clamp(25px, 2.2vw, 30px);
  letter-spacing: -0.022em;
  color: var(--navy);
  text-decoration: none;
}

.btn {
  display: inline-flex;
  align-items: center;
  padding: 9px 18px;
  border-radius: var(--r-pill);
  border: 1.5px solid var(--line-strong);
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
  text-decoration: none;
  white-space: nowrap;
}

.btn:hover { border-color: var(--blue-soft); }

.legal-main { padding-block: clamp(40px, 6vw, 72px); }

/* The title in the landing page's orange bar. */
.legal-title {
  display: inline-block;
  padding: 10px 26px;
  border-radius: var(--r-pill);
  background: var(--orange);
  color: #17232f;
  font-size: clamp(22px, 2.8vw, 31px);
}

.legal-updated { margin-top: 14px; font-size: 14px; color: var(--muted); }

.placeholder-note {
  display: inline-block;
  margin-top: 24px;
  padding: 13px 18px;
  border-radius: var(--r-card);
  background: #fff3e8;
  color: #8a3d00;
  font-size: 14px;
}

.legal-sections { margin-top: 36px; display: grid; gap: 14px; }

.legal-section {
  padding: 22px 26px;
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  background: var(--surface);
}

.legal-section h2 { font-size: 19px; }
.legal-section p { margin-top: 6px; color: var(--muted); font-style: italic; }

.foot { background: var(--navy-deep); color: var(--on-navy-dim); padding-block: 28px; }

.foot-base {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px 20px;
  font-size: 14px;
}

.foot a { color: var(--on-navy-dim); text-decoration: none; }
.foot a:hover, .foot a[aria-current='page'] { color: var(--on-navy); }

.foot-langs { display: flex; gap: 10px; }

.foot-langs button {
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  font-weight: 600;
  color: var(--on-navy-dim);
  cursor: pointer;
}

.foot-langs button[aria-pressed='true'] { color: var(--on-navy); text-decoration: underline; }
