﻿:root {
  --ink: #101010;
  --ink-soft: #292622;
  --paper: #fffdf8;
  --bone: #f4f1eb;
  --line: #ded8cc;
  --line-soft: #ebe5da;
  --muted: #6f6860;
  --gold: #9a7b4a;
  --gold-light: #c0a16b;
  --focus: #4c6f85;
  --max: 1120px;
  --text: 760px;
  --sans: Arial, Helvetica, sans-serif;
  --serif: Georgia, 'Times New Roman', serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--bone);
  line-height: 1.7;
}
a { color: inherit; text-decoration-color: rgba(154, 123, 74, 0.55); text-underline-offset: 0.2em; }
a:hover { color: var(--gold); }

.site-header {
  min-height: 76px;
  padding: 0 max(20px, calc((100% - var(--max)) / 2));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  color: var(--paper);
  background: #111;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0;
}
.brand img { width: 28px; height: 28px; }
.home-link {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 4px;
  color: var(--paper);
  text-decoration: none;
  font-size: 0.9rem;
}
.home-link:hover { background: rgba(255, 255, 255, 0.08); color: var(--paper); }

.hero {
  color: var(--paper);
  background: #111;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.hero-inner {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: 44px 0 52px;
}
.eyebrow,
.version {
  margin: 0 0 16px;
  color: var(--gold-light);
  font-size: 0.84rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
h1 {
  max-width: 820px;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(2rem, 3.8vw, 3.2rem);
  line-height: 1.08;
  font-weight: 500;
  letter-spacing: 0;
}
.subtitle {
  max-width: 700px;
  margin: 28px 0 18px;
  color: rgba(255, 253, 248, 0.78);
  font-size: 1.12rem;
}
.version { margin-top: 26px; }

.content-shell {
  width: min(920px, calc(100% - 40px));
  margin: 38px auto 0;
}
.privacy-content {
  max-width: 100%;
  padding: 38px 44px 56px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 6px;
  box-shadow: 0 22px 70px rgba(20, 18, 15, 0.08);
}
.privacy-section { scroll-margin-top: 24px; }
.privacy-section + .privacy-section { margin-top: 36px; }
.privacy-content h2,
.privacy-content h3 {
  font-family: var(--serif);
  color: var(--ink);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: 0;
}
.privacy-content h2 {
  margin: 0 0 18px;
  padding-top: 8px;
  font-size: clamp(1.45rem, 2.4vw, 1.85rem);
  line-height: 1.18;
}
.privacy-content h3 {
  margin: 28px 0 10px;
  font-size: 1.08rem;
  line-height: 1.3;
}
.privacy-content p { margin: 0 0 16px; color: var(--ink-soft); }
.privacy-content ul { margin: 0 0 20px; padding-left: 1.2rem; color: var(--ink-soft); }
.privacy-content li + li { margin-top: 6px; }
.privacy-content strong { color: var(--ink); }
.privacy-content hr {
  border: 0;
  border-top: 1px solid var(--line-soft);
  margin: 34px 0;
}

.back-to-top {
  position: fixed;
  right: 18px;
  bottom: 18px;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 253, 248, 0.28);
  border-radius: 50%;
  background: var(--ink);
  color: var(--paper);
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: opacity 160ms ease, transform 160ms ease;
}
.back-to-top.is-visible { opacity: 1; pointer-events: auto; }
.back-to-top:hover { transform: translateY(-2px); }

.site-footer {
  width: min(var(--max), calc(100% - 40px));
  margin: 48px auto 0;
  padding: 28px 0 36px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.92rem;
}
.site-footer p { margin: 0; }

:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }

@media (max-width: 620px) {
  .site-header {
    min-height: 70px;
    padding: 0 14px;
  }
  .hero-inner,
  .content-shell,
  .site-footer {
    width: min(100% - 28px, var(--max));
  }
  .brand span { font-size: 0.95rem; }
  .home-link { padding: 0 12px; font-size: 0.82rem; }
  .hero-inner { padding: 34px 0 42px; }
  .subtitle { font-size: 1rem; }
  .content-shell { margin-top: 28px; }
  .privacy-content { padding: 28px 20px 38px; }
  .site-footer { display: block; }
  .site-footer p + p { margin-top: 8px; }
}

