/* Shared styles for /privacy and /terms — same palette and type as the home page. */
:root {
  --cream: #FAF6EE; --cream-deep: #F2EBDD; --paper: #FFFDF8;
  --ink: #2D2C2A; --ink-soft: #57544E; --rule: #E2D6BE;
  --gold: #B98F47; --gold-deep: #8A6326; --gold-text: #7C5A22;
  --gold-shimmer: linear-gradient(100deg, #A87D25 0%, #E8CF8C 17%, #C9A14A 33%, #9E7524 48%, #E6CB86 64%, #C49A42 80%, #A67A24 100%);
  --sage-ink: #4C6858; --sage-rule: #A9B9AE;
  --serif: "Cormorant Garamond", Garamond, "Times New Roman", serif;
  --display: "Cinzel", "Trajan Pro", "Cormorant Garamond", serif;
  --sans: "Source Sans 3", "Segoe UI", system-ui, -apple-system, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--cream); color: var(--ink); font-family: var(--sans); font-size: 1.02rem; line-height: 1.7; -webkit-font-smoothing: antialiased; }
a { color: var(--gold-text); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--gold-deep); }
:focus-visible { outline: 2px solid var(--gold-deep); outline-offset: 3px; }
.wrap { max-width: 800px; margin: 0 auto; padding: 0 20px; }
@media (min-width: 768px) { .wrap { padding: 0 32px; } }

/* header: mark + wordmark, links home */
.legal-head { text-align: center; padding: 40px 0 30px; border-bottom: 1px solid var(--rule); background: var(--paper); }
.legal-head a { display: inline-grid; justify-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.legal-head img { width: 68px; height: auto; }
.legal-head .wm { font-family: var(--display); font-size: 1.35rem; letter-spacing: .2em; margin-right: -.2em; line-height: 1;
  background: var(--gold-shimmer); -webkit-background-clip: text; background-clip: text; color: var(--gold); -webkit-text-fill-color: transparent; }
.legal-head .wm-sub { display: flex; align-items: center; gap: 10px; font-size: .68rem; letter-spacing: .5em; color: var(--sage-ink); margin-top: -4px; }
.legal-head .wm-sub span:not(.r) { margin-right: -.5em; }
.legal-head .r { width: 34px; height: 1px; background: var(--sage-rule); }

body { min-height: 100vh; display: flex; flex-direction: column; }
main { padding: 44px 0 80px; flex: 1 0 auto; width: 100%; }
.eyebrow { font-size: .75rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--gold-text); margin: 0 0 12px; display: flex; align-items: center; gap: 12px; }
.eyebrow::before { content: ""; width: 28px; height: 1px; background: var(--gold); }
h1 { font-family: var(--serif); font-weight: 500; font-size: clamp(2.1rem, 7vw, 2.9rem); line-height: 1.1; margin: 0 0 28px; }
h2 { font-family: var(--serif); font-weight: 600; font-size: 1.6rem; line-height: 1.2; margin: 44px 0 14px; padding-top: 22px; border-top: 1px solid var(--rule); }
p, li { color: var(--ink-soft); }
p strong, li strong, td strong { color: var(--ink); font-weight: 600; }
p { margin: 0 0 1em; }
ul { margin: 0 0 1em; padding-left: 1.2em; }
li { margin-bottom: .3em; }
.label { margin: 22px 0 10px; }

/* tables: grid on wide screens, stacked cards on phones */
.table-wrap { margin: 18px 0 22px; }
table { width: 100%; border-collapse: collapse; font-size: .92rem; line-height: 1.55; background: var(--paper); border: 1px solid var(--rule); }
th { text-align: left; font-size: .72rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-text); background: var(--cream-deep); padding: 12px 14px; border-bottom: 1px solid var(--rule); }
td { vertical-align: top; padding: 14px; border-bottom: 1px solid var(--rule); color: var(--ink-soft); }
tr:last-child td { border-bottom: 0; }
@media (max-width: 640px) {
  table, thead, tbody, tr, td { display: block; width: 100%; }
  thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  tr { border-bottom: 1px solid var(--rule); padding: 6px 0; }
  tr:last-child { border-bottom: 0; }
  td { border: 0; padding: 6px 16px; }
  td::before { content: attr(data-label); display: block; font-size: .68rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-text); margin-bottom: 2px; }
}


.legal-foot { background: var(--ink); color: #D9D3C7; padding: 36px 0 40px; font-size: .9rem; text-align: center; }
.legal-foot a { color: #EAD9B0; }
.legal-foot a:hover { color: #fff; }
.legal-foot p { margin: 0 0 8px; color: #D9D3C7; }
.legal-foot .small { font-size: .82rem; color: #A9A396; }
