:root {
  --paper: #fcfbf9;
  --paper-warm: #f4f2ee;
  --white: #ffffff;
  --ink: #231f20;
  --text: #4a4542;
  --quiet: #8a837b;
  --line: #e4e0da;
  --line-soft: #e9e5df;
  --petrol: #2f4f4f;
  --petrol-dark: #223a38;
  --patina: #5f8f7e;
  --bronze: #b8865b;
  --bronze-light: #c79a6e;
  --stage: #182826;
  --footer: #101b1a;
  --on-dark: #eaf1ed;
  --on-dark-soft: #b7c6c0;
  --content: 1200px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--ink);
  font-family: Montserrat, Arial, sans-serif;
  font-size: 15px;
  line-height: 1.76;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--petrol); text-decoration: none; }
a:hover { color: var(--patina); }
a:focus-visible { outline: 3px solid var(--bronze-light); outline-offset: 4px; }
h1, h2 {
  font-family: Cinzel, Georgia, serif;
  font-weight: 500;
  letter-spacing: 0.03em;
  text-wrap: pretty;
}
h1, h2, h3, p { margin-top: 0; }
.container {
  width: min(100%, var(--content));
  margin: 0 auto;
  padding-left: 40px;
  padding-right: 40px;
}
.skip-link {
  position: fixed;
  left: 16px;
  top: -80px;
  z-index: 100;
  padding: 12px 18px;
  background: var(--paper);
  color: var(--ink);
  border: 1px solid var(--line);
}
.skip-link:focus { top: 16px; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(252,251,249,0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line-soft);
}
.header-inner {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.brand, .footer-brand {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}
.brand-mark { width: 40px; height: 40px; display: block; }
.brand-copy {
  margin-left: 12px;
  color: var(--petrol);
  font-family: Cinzel, Georgia, serif;
  font-size: 16px;
  line-height: 1.12;
  letter-spacing: 0.14em;
}
.brand-copy small {
  display: block;
  margin-top: 4px;
  color: #7c8a80;
  font-family: Montserrat, Arial, sans-serif;
  font-size: 8px;
  line-height: 1;
  letter-spacing: 0.42em;
}
.header-link {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  color: var(--text);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.legal-hero {
  position: relative;
  overflow: hidden;
  background: var(--stage);
  color: var(--on-dark);
}
.legal-hero::after {
  content: "";
  position: absolute;
  width: 360px;
  height: 360px;
  right: -90px;
  top: -160px;
  border: 1px solid rgba(184,134,91,0.13);
  border-radius: 50%;
}
.legal-hero-inner { padding-top: 92px; padding-bottom: 88px; }
.overline {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 22px;
  color: var(--bronze-light);
  font-size: 12px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}
.overline::before { content: ""; width: 34px; height: 1px; background: var(--bronze); }
.legal-hero h1 {
  max-width: 850px;
  margin-bottom: 18px;
  font-size: clamp(42px, 5vw, 62px);
  line-height: 1.14;
}
.legal-hero p { max-width: 720px; margin-bottom: 0; color: var(--on-dark-soft); font-weight: 300; }
.legal-layout {
  display: grid;
  grid-template-columns: 250px minmax(0, 760px);
  gap: 86px;
  align-items: start;
  padding-top: 96px;
  padding-bottom: 104px;
}
.legal-nav {
  position: sticky;
  top: 106px;
  border-top: 1px solid var(--line);
}
.legal-nav a {
  min-height: 48px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--line);
  color: var(--text);
  font-size: 12px;
  line-height: 1.45;
}
.legal-nav a:hover { color: var(--petrol); }
.legal-content { min-width: 0; }
.legal-content a { overflow-wrap: anywhere; }
.legal-content section { padding-bottom: 54px; margin-bottom: 54px; border-bottom: 1px solid var(--line); }
.legal-content section:last-child { margin-bottom: 0; border-bottom: 0; }
.legal-content h2 { margin-bottom: 24px; font-size: clamp(27px, 3vw, 36px); line-height: 1.22; }
.legal-content h3 { margin: 30px 0 10px; font-size: 17px; line-height: 1.4; }
.legal-content p, .legal-content li { color: var(--text); }
.legal-content p:last-child { margin-bottom: 0; }
.legal-content ul { margin: 0 0 22px; padding-left: 22px; }
.legal-content li { margin-bottom: 7px; }
.legal-box {
  padding: 26px 28px;
  border: 1px solid var(--line);
  background: var(--paper-warm);
}
.legal-box p { margin-bottom: 5px; }
.footer { background: var(--footer); color: #7c918a; }
.footer-main {
  min-height: 132px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 42px;
}
.footer-mark { width: 42px; height: 42px; }
.footer-brand .brand-copy { color: var(--on-dark); }
.footer-brand .brand-copy small { color: #6e837c; }
.footer-links { display: flex; align-items: center; gap: 24px; }
.footer-links a { min-height: 44px; display: inline-flex; align-items: center; color: #93a89f; font-size: 12px; }
.footer-links a:hover, .footer-links a[aria-current="page"] { color: var(--bronze-light); }
.footer-bottom { border-top: 1px solid rgba(234,241,237,0.08); }
.footer-bottom-inner { min-height: 58px; display: flex; align-items: center; color: #63776f; font-size: 11px; }

@media (max-width: 900px) {
  .legal-layout { grid-template-columns: minmax(0, 1fr); gap: 52px; }
  .legal-nav { position: static; display: grid; grid-template-columns: repeat(2, 1fr); border-left: 1px solid var(--line); }
  .legal-nav a { padding: 10px 14px; border-right: 1px solid var(--line); }
}
@media (max-width: 640px) {
  .container { padding-left: 22px; padding-right: 22px; }
  .header-inner { min-height: 68px; }
  .brand-mark { width: 36px; height: 36px; }
  .brand-copy { font-size: 13px; }
  .brand-copy small { font-size: 6.5px; }
  .header-link { font-size: 10px; }
  .legal-hero-inner { padding-top: 72px; padding-bottom: 70px; }
  .legal-layout { padding-top: 70px; padding-bottom: 78px; }
  .legal-nav { grid-template-columns: 1fr; }
  .footer-main { align-items: flex-start; flex-direction: column; padding-top: 30px; padding-bottom: 24px; }
  .footer-links { flex-wrap: wrap; gap: 8px 22px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
