/* Shared styles for the legal pages (privacy.html, terms.html). Mirrors index.html tokens. */
:root {
  --paper: #ffffff;
  --ink: #121212;
  --ink-soft: #4a4a4a;
  --gold: #d4a43a;
  --gold-deep: #8a6416;
  --rule-dark: #3a3a3a;
  --muted-dark: #cfcfcf;
  --font: 'Jost', 'Futura', 'Century Gothic', sans-serif;
  --gutter: clamp(1.25rem, 4vw, 3.5rem);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: 1.25rem;
  font-weight: 430;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
::selection { background: var(--gold); color: var(--ink); }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration-thickness: 2px; text-underline-offset: 0.2em; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 4px; }
.footer :focus-visible { outline-color: var(--gold); }

.wrap { max-width: 1240px; margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -9999px; top: 0; background: var(--ink); color: var(--paper); padding: 0.75rem 1rem; z-index: 200; }
.skip:focus { left: 1rem; top: 1rem; }

/* Header */
.nav { position: sticky; top: 0; z-index: 100; background: var(--paper); border-bottom: 4px solid var(--ink); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; height: 84px; }
.brand { display: flex; align-items: center; gap: 0.85rem; text-decoration: none; }
.brand img { width: 56px; height: 56px; }
.brand span { white-space: nowrap; font-weight: 800; font-size: 1.25rem; letter-spacing: 0.05em; text-transform: uppercase; line-height: 1; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 3.5rem; padding: 0.75rem 1.5rem;
  background: var(--ink); color: var(--paper); border: 3px solid var(--ink);
  font: 700 1.15rem/1 var(--font); text-decoration: none; white-space: nowrap;
  transition: background-color 120ms ease-out, color 120ms ease-out;
}
.btn:hover, .btn:active { background: var(--paper); color: var(--ink); }

/* Document */
.doc { padding: clamp(3rem, 7vw, 6rem) 0; }
.doc-inner { max-width: 46rem; }
.doc h1 { margin: 0; font-size: clamp(2.25rem, 4.4vw, 3.5rem); font-weight: 800; line-height: 1.04; letter-spacing: -0.02em; }
.doc .updated { margin: 1rem 0 0; color: var(--ink-soft); font-size: 1.05rem; }
.doc .summary { margin-top: 2rem; padding: 1.25rem 1.5rem; border-left: 6px solid var(--gold); background: #faf6ea; }
.doc h2 { margin: 2.75rem 0 0; padding-top: 1.25rem; border-top: 3px solid var(--ink); font-size: 1.5rem; font-weight: 800; line-height: 1.2; }
.doc p, .doc ul { margin: 1rem 0 0; }
.doc ul { padding-left: 1.4rem; }
.doc li + li { margin-top: 0.5rem; }
.doc strong { font-weight: 700; }

/* Footer */
.footer { background: var(--ink); color: var(--paper); padding: 2.5rem 0 2rem; }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1rem 2rem; font-size: 1rem; color: var(--muted-dark); }
.footer-phone { color: var(--gold); font-weight: 800; font-size: 1.4rem; text-decoration: none; }
.footer-phone:hover { text-decoration: underline; }
.footer nav { display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; }
.footer nav a { color: var(--paper); }

@media (max-width: 600px) {
  body { font-size: 1.2rem; }
  .nav-inner { height: 72px; }
  .brand img { width: 46px; height: 46px; }
  .brand span { display: none; }
}
