/* Shared brand styles for Privacy + Terms pages. */

:root {
  --ink: #1A2332;
  --brass: #B68B3E;
  --card-cream: #F5EFE0;
  --card-cream-dark: #ECE3D0;
  --stamp-red: #B53824;
  --steel-100: #E8ECF1;
  --steel-300: #C4CCD6;
  --steel-500: #7A8694;
  --steel-700: #3E4A5C;
  --font-display: 'Anton', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --font-mono: 'IBM Plex Mono', ui-monospace, monospace;
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background-color: var(--card-cream);
  background-image:
    radial-gradient(ellipse 600px 400px at 0% 0%, rgba(182,139,62,0.07) 0%, transparent 60%),
    radial-gradient(ellipse 700px 500px at 100% 100%, rgba(140,90,40,0.06) 0%, transparent 60%),
    url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.92' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.10 0 0 0 0 0.07 0 0 0 0 0.04 0 0 0 0.10 0'/%3E%3C/filter%3E%3Crect width='240' height='240' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: auto, auto, 240px 240px;
  background-blend-mode: normal, normal, multiply;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}

/* ===== STICKY HEADER (matches homepage) ===== */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--ink); color: var(--card-cream);
  border-bottom: 2px solid var(--brass);
  box-shadow: 0 2px 10px rgba(26,35,50,0.15);
}
.site-header-inner {
  max-width: 760px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 20px;
}
.site-header-brand {
  font-family: var(--font-display); font-size: 22px;
  letter-spacing: 0.5px; color: var(--card-cream);
  text-decoration: none; line-height: 1;
}
.site-header-brand .stamp-k {
  color: var(--stamp-red); display: inline-block;
  transform: rotate(-4deg) translateY(-1px);
  text-shadow: 1px 1px 0 rgba(181,56,36,0.20);
}
.site-header-back {
  color: rgba(245,239,224,0.7); text-decoration: none;
  font-family: var(--font-mono); font-size: 11px;
  font-weight: 600; letter-spacing: 0.10em; text-transform: uppercase;
}
.site-header-back:hover { color: var(--brass); }

/* ===== LAYOUT ===== */
.container { max-width: 720px; margin: 0 auto; padding: 40px 24px 80px; }

.page-tag {
  display: inline-block;
  font-family: var(--font-mono); font-size: 10px; font-weight: 600;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--brass); background: var(--ink);
  padding: 5px 9px; margin: 0 0 14px;
}

h1 {
  font-family: var(--font-display); font-size: 44px;
  line-height: 1.05; letter-spacing: 0.005em;
  margin: 0 0 6px; font-weight: 400;
}
.meta {
  font-family: var(--font-mono); font-size: 11px;
  color: var(--steel-500); letter-spacing: 0.06em;
  text-transform: uppercase; margin: 0 0 32px;
}

.lang {
  display: inline-flex; gap: 4px; float: right;
  font-family: var(--font-mono); font-size: 11px;
  font-weight: 600; letter-spacing: 0.10em; text-transform: uppercase;
  background: rgba(26,35,50,0.06);
  border: 1px solid var(--steel-300);
  border-radius: 4px; padding: 3px;
}
.lang strong, .lang a {
  display: inline-block; padding: 4px 10px;
  border-radius: 3px; text-decoration: none;
}
.lang strong { background: var(--ink); color: var(--brass); }
.lang a { color: var(--steel-700); }
.lang a:hover { color: var(--ink); }

h2 {
  font-family: var(--font-display); font-size: 24px;
  letter-spacing: 0.5px; margin: 40px 0 14px; font-weight: 400;
  border-top: 1px solid rgba(26,35,50,0.12);
  padding-top: 24px;
}
h2:first-of-type { border-top: none; padding-top: 0; margin-top: 32px; }

p, ul { margin: 0 0 16px; color: var(--steel-700); }
ul { padding-left: 22px; }
li { margin-bottom: 8px; line-height: 1.6; }
strong { color: var(--ink); font-weight: 600; }

a {
  color: var(--stamp-red); text-decoration: underline;
  text-decoration-color: rgba(181,56,36,0.4);
  text-underline-offset: 2px;
  transition: text-decoration-color 120ms;
}
a:hover { text-decoration-color: var(--stamp-red); }

footer {
  margin-top: 64px; padding-top: 24px;
  border-top: 1px solid var(--steel-300);
  font-family: var(--font-mono); font-size: 11px;
  color: var(--steel-500); letter-spacing: 0.10em; text-transform: uppercase;
}
footer a { color: var(--steel-700); text-decoration: none; }
footer a:hover { color: var(--brass); }

@media (max-width: 540px) {
  h1 { font-size: 32px; }
  h2 { font-size: 20px; }
  .container { padding: 28px 16px 60px; }
  .lang { font-size: 10px; }
  .lang strong, .lang a { padding: 3px 7px; }
}
