:root {
  --green: #1d3531;
  --green-soft: #294540;
  --terra: #d3654b;
  --cream: #f6f5f2;
  --sage: #e4e9e5;
  --ink: #353837;
  --muted: #727b78;
  --line: rgba(53, 56, 55, .14);
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: 'Manrope', Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--cream); color: var(--ink); font-family: var(--sans); line-height: 1.75; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
.legal-skip { position: fixed; top: -100px; left: 16px; z-index: 100; padding: 10px 16px; background: white; }
.legal-skip:focus { top: 16px; }
.legal-hero { min-height: 56vh; padding: 28px clamp(22px, 6vw, 92px) 72px; display: flex; flex-direction: column; background: var(--green); color: white; }
.legal-topbar { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.legal-brand { font-family: var(--serif); font-size: clamp(1.5rem, 2.5vw, 2rem); letter-spacing: .08em; text-decoration: none; }
.legal-back { border: 1px solid rgba(255,255,255,.35); border-radius: 999px; padding: 11px 18px; font-size: .68rem; font-weight: 600; letter-spacing: .13em; text-decoration: none; text-transform: uppercase; }
.legal-heading { width: min(980px, 100%); margin: auto 0 0; padding-top: 80px; }
.legal-kicker { margin: 0 0 18px; color: #ef9c88; font-size: .7rem; font-weight: 700; letter-spacing: .28em; text-transform: uppercase; }
.legal-heading h1 { max-width: 850px; margin: 0; font-family: var(--serif); font-size: clamp(3.2rem, 8vw, 7.4rem); font-weight: 300; line-height: .86; }
.legal-heading h1 em { color: #e5ebe7; font-weight: 300; }
.legal-heading p { max-width: 670px; margin: 30px 0 0; color: rgba(255,255,255,.7); font-size: .95rem; }
.draft-banner { padding: 18px clamp(22px, 6vw, 92px); background: var(--terra); color: white; font-size: .78rem; font-weight: 600; letter-spacing: .05em; text-align: center; }
.legal-layout { width: min(1320px, calc(100% - 44px)); margin: 0 auto; padding: 80px 0 110px; display: grid; grid-template-columns: 250px minmax(0, 820px); gap: clamp(48px, 8vw, 120px); justify-content: center; }
.legal-nav { align-self: start; position: sticky; top: 32px; padding: 28px; border-radius: 28px; background: var(--sage); }
.legal-nav strong { display: block; margin-bottom: 18px; color: var(--green); font-size: .68rem; letter-spacing: .2em; text-transform: uppercase; }
.legal-nav a { display: block; padding: 9px 0; border-bottom: 1px solid rgba(29,53,49,.12); color: #52605c; font-size: .78rem; text-decoration: none; }
.legal-nav a:hover { color: var(--terra); }
.legal-content { min-width: 0; }
.legal-intro { margin: 0 0 70px; font-family: var(--serif); font-size: clamp(1.7rem, 3vw, 2.4rem); line-height: 1.35; }
.legal-section { scroll-margin-top: 28px; padding: 0 0 56px; margin-bottom: 56px; border-bottom: 1px solid var(--line); }
.legal-section:last-child { margin-bottom: 0; }
.section-index { color: var(--terra); font-size: .64rem; font-weight: 700; letter-spacing: .2em; }
.legal-section h2 { margin: 8px 0 24px; font-family: var(--serif); font-size: clamp(2.1rem, 4vw, 3.6rem); font-weight: 400; line-height: 1; }
.legal-section h3 { margin: 30px 0 8px; font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; }
.legal-section p, .legal-section li { color: #5d6663; font-size: .91rem; }
.legal-section ul { padding-left: 20px; }
.field { display: inline; padding: 2px 7px; border-radius: 5px; background: #f5dfd9; color: #9f442f; font-weight: 700; }
.legal-note { margin: 26px 0; padding: 22px 24px; border-left: 3px solid var(--terra); background: white; border-radius: 0 18px 18px 0; }
.legal-note strong { color: var(--green); }
.legal-footer { padding: 52px clamp(22px, 6vw, 92px); display: flex; justify-content: space-between; gap: 30px; background: var(--green); color: rgba(255,255,255,.65); font-size: .75rem; }
.legal-footer a { color: white; }

.site-scroll-top { position: fixed; right: auto; left: 34px; bottom: 34px; z-index: 130; display: grid; width: 58px; height: 58px; place-items: center; overflow: hidden; padding: 0; border: 0; border-radius: 50%; background: rgba(244,248,246,.82); color: #29403b; box-shadow: 0 16px 40px rgba(21,43,39,.14); cursor: pointer; opacity: 0; pointer-events: none; transform: translateY(22px); transition: opacity .7s ease, transform .9s cubic-bezier(.16,1,.3,1), background .3s ease, box-shadow .3s ease; backdrop-filter: blur(22px) saturate(145%); -webkit-backdrop-filter: blur(22px) saturate(145%); }
.site-scroll-top.is-visible { opacity: 1; pointer-events: auto; transform: translateY(0); }
.site-scroll-top:hover { background: rgba(255,255,255,.9); box-shadow: 0 20px 46px rgba(21,43,39,.2); transform: translateY(-3px); }
.site-scroll-top:focus-visible { outline: 2px solid var(--terra); outline-offset: 5px; }
.site-scroll-top svg { width: 21px; height: 21px; overflow: visible; }
.site-scroll-top path { fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

@media (max-width: 980px) {
  .site-scroll-top { display: none; }
}

@media (max-width: 820px) {
  .legal-hero { min-height: 510px; padding-bottom: 54px; }
  .legal-back { padding: 9px 13px; font-size: .58rem; }
  .legal-heading { padding-top: 62px; }
  .legal-heading h1 { font-size: clamp(3.3rem, 17vw, 5.8rem); }
  .legal-layout { width: min(100% - 34px, 720px); padding: 52px 0 80px; display: block; }
  .legal-nav { position: static; margin-bottom: 50px; }
  .legal-nav a { padding: 11px 0; }
  .legal-intro { margin-bottom: 52px; }
  .legal-section { padding-bottom: 42px; margin-bottom: 42px; }
  .legal-footer { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  .site-scroll-top { transition: opacity .2s ease; }
}
