:root {
  --bg: #faf6ee;
  --bg-cream: #f3ecdc;
  --ink: #1c1612;
  --ink-soft: #3a322a;
  --ink-mute: #6b5f51;
  --gold: #b8923f;
  --gold-deep: #8e6e2a;
  --gold-light: #d4b56a;
  --olive: #2d2a1f;
  --olive-deep: #1a180f;
  --line: #c9b896;
  --paper: #fffcf5;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Cormorant Garamond', 'Georgia', serif;
  background: var(--bg);
  color: var(--ink);
  font-size: 18px;
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(184, 146, 63, 0.03) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(45, 42, 31, 0.03) 0%, transparent 50%);
  pointer-events: none;
  z-index: 1;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 40px;
  position: relative;
  z-index: 2;
}

@media (max-width: 720px) {
  .container { padding: 0 24px; }
}

/* ====== Eyebrow ====== */
.eyebrow {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold-deep);
}

.eyebrow-line {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}
.eyebrow-line::before {
  content: '';
  width: 32px;
  height: 1px;
  background: var(--gold);
}

/* ====== Nav ====== */
nav.topnav {
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 18px 0;
  background: rgba(250, 246, 238, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(201, 184, 150, 0.4);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-family: 'Fraunces', serif;
  font-weight: 400;
  font-size: 21px;
  letter-spacing: -0.01em;
  color: var(--ink);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-logo-mark {
  width: 32px;
  height: 32px;
  background-image: url('logo-icon.png');
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
}

.nav-logo .italic {
  font-style: italic;
  color: var(--gold-deep);
  margin-left: -0.08em;
}

.nav-links {
  display: flex;
  gap: 38px;
  list-style: none;
}

.nav-links a {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-soft);
  text-decoration: none;
  position: relative;
  padding: 6px 0;
  transition: color 0.3s ease;
}

.nav-links a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width 0.4s ease;
}

.nav-links a:hover { color: var(--gold-deep); }
.nav-links a:hover::after { width: 100%; }

.nav-cta {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 11px 22px;
  border: 1px solid var(--ink);
  color: var(--ink);
  background: transparent;
  text-decoration: none;
  transition: all 0.35s ease;
}

.nav-cta:hover {
  background: var(--ink);
  color: var(--bg);
}

@media (max-width: 880px) {
  .nav-links, .nav-cta { display: none; }
}

/* ====== Legal Header ====== */
.legal-header {
  padding: 90px 0 70px;
  border-bottom: 1px solid var(--line);
  background: var(--paper);
  position: relative;
  overflow: hidden;
}

.legal-header::after {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 320px;
  height: 320px;
  border: 1px solid rgba(184, 146, 63, 0.08);
  border-radius: 50%;
  pointer-events: none;
}

.legal-header .eyebrow {
  display: inline-flex;
  margin-bottom: 26px;
}

.legal-header h1 {
  font-family: 'Fraunces', serif;
  font-weight: 300;
  font-size: clamp(2.6rem, 6vw, 5rem);
  line-height: 1.02;
  letter-spacing: -0.025em;
  color: var(--ink);
  margin-bottom: 22px;
}

.legal-header h1 em {
  font-style: italic;
  color: var(--gold-deep);
  font-weight: 300;
}

.legal-header .lead {
  font-size: 20px;
  color: var(--ink-soft);
  max-width: 640px;
  line-height: 1.55;
}

/* ====== Legal main ====== */
.legal-main {
  padding: 90px 0 120px;
}

.legal-grid {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 80px;
  align-items: start;
}

@media (max-width: 920px) {
  .legal-grid { grid-template-columns: 1fr; gap: 40px; }
  .legal-main { padding: 50px 0 80px; }
}

/* TOC sidebar */
.legal-toc {
  position: sticky;
  top: 100px;
}

@media (max-width: 920px) {
  .legal-toc {
    position: static;
    background: var(--paper);
    padding: 24px 26px;
    border: 1px solid var(--line);
  }
}

.toc-title {
  font-family: 'Inter', sans-serif;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.legal-toc ul {
  list-style: none;
}

.legal-toc li {
  margin-bottom: 10px;
}

.legal-toc a {
  font-family: 'Cormorant Garamond', serif;
  font-size: 16px;
  color: var(--ink-soft);
  text-decoration: none;
  transition: color 0.3s ease, padding 0.3s ease;
  display: block;
  padding: 4px 0;
}

.legal-toc a:hover {
  color: var(--gold-deep);
  padding-left: 6px;
}

/* Legal content */
.legal-content section {
  margin-bottom: 60px;
  scroll-margin-top: 100px;
}

.legal-content section:last-of-type {
  margin-bottom: 30px;
}

.legal-content h2 {
  font-family: 'Fraunces', serif;
  font-weight: 400;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  line-height: 1.2;
  color: var(--ink);
  letter-spacing: -0.015em;
  margin-bottom: 22px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
  position: relative;
}

.legal-content h2::before {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 60px;
  height: 1px;
  background: var(--gold);
}

.legal-content h3 {
  font-family: 'Fraunces', serif;
  font-weight: 400;
  font-size: 22px;
  margin: 28px 0 14px;
  color: var(--ink);
  letter-spacing: -0.01em;
}

.legal-content p {
  font-size: 18px;
  line-height: 1.75;
  color: var(--ink-soft);
  margin-bottom: 16px;
}

.legal-content p strong {
  color: var(--ink);
  font-weight: 500;
}

.legal-content a {
  color: var(--gold-deep);
  text-decoration: none;
  border-bottom: 1px solid var(--line);
  transition: border-color 0.3s ease;
}

.legal-content a:hover {
  border-bottom-color: var(--gold-deep);
}

.legal-list {
  list-style: none;
  margin: 14px 0 22px;
  padding-left: 0;
}

.legal-list li {
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink-soft);
  padding: 8px 0 8px 24px;
  position: relative;
  border-bottom: 1px dashed rgba(201, 184, 150, 0.5);
}

.legal-list li:last-child {
  border-bottom: none;
}

.legal-list li::before {
  content: '✦';
  position: absolute;
  left: 0;
  top: 8px;
  font-size: 11px;
  color: var(--gold);
}

.legal-list li strong {
  color: var(--ink);
  font-weight: 500;
}

.legal-footer {
  margin-top: 50px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 16px;
  color: var(--ink-mute);
}

/* ====== Tables for cookies ====== */
.legal-table-wrap {
  margin: 20px 0 30px;
  overflow-x: auto;
  border: 1px solid var(--line);
  background: var(--paper);
}

.legal-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
  min-width: 500px;
}

.legal-table thead th {
  font-family: 'Inter', sans-serif;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-align: left;
  padding: 16px 18px;
  background: var(--bg-cream);
  color: var(--ink);
  border-bottom: 1px solid var(--line);
}

.legal-table tbody td {
  padding: 16px 18px;
  border-bottom: 1px solid rgba(201, 184, 150, 0.4);
  color: var(--ink-soft);
  vertical-align: top;
}

.legal-table tbody tr:last-child td {
  border-bottom: none;
}

.legal-table tbody td:first-child {
  font-family: 'Fraunces', serif;
  color: var(--ink);
  font-weight: 400;
  white-space: nowrap;
}

/* ====== Footer ====== */
footer {
  background: var(--olive-deep);
  color: rgba(243, 236, 220, 0.7);
  padding: 70px 0 30px;
  position: relative;
  z-index: 2;
}

.foot-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 50px;
  margin-bottom: 50px;
}

@media (max-width: 880px) {
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
}
@media (max-width: 520px) {
  .foot-grid { grid-template-columns: 1fr; }
}

.foot-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: 'Fraunces', serif;
  font-size: 22px;
  color: var(--bg-cream);
  margin-bottom: 18px;
}

.foot-brand-mark {
  width: 40px;
  height: 40px;
  background: url('logo-icon.png') no-repeat center;
  background-size: contain;
}

.foot-brand .italic { font-style: italic; color: var(--gold-light); margin-left: -0.08em; }

.foot-tag {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 16px;
  color: rgba(212, 181, 106, 0.85);
  margin-bottom: 18px;
}

.foot-desc {
  font-size: 15px;
  line-height: 1.65;
  max-width: 360px;
  color: rgba(243, 236, 220, 0.55);
}

.foot-col h5 {
  font-family: 'Inter', sans-serif;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 22px;
}

.foot-col ul { list-style: none; }
.foot-col li { margin-bottom: 12px; }
.foot-col a {
  color: rgba(243, 236, 220, 0.7);
  text-decoration: none;
  font-family: 'Cormorant Garamond', serif;
  font-size: 16px;
  transition: color 0.3s ease;
}
.foot-col a:hover { color: var(--gold-light); }

.foot-bottom {
  border-top: 1px solid rgba(212, 181, 106, 0.15);
  padding-top: 26px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  letter-spacing: 0.1em;
  color: rgba(243, 236, 220, 0.4);
}

.foot-bottom a {
  color: rgba(243, 236, 220, 0.55);
  text-decoration: none;
  transition: color 0.3s ease;
}

.foot-bottom a:hover {
  color: var(--gold-light);
}
