/* Privacy policy and terms pages for the intro offer landing page */
:root {
  --olive: #3D4A35;
  --olive-deep: #2F3A29;
  --muted: #57604F;
  --bg: #ECE9E3;
  --bone: #F7F5F0;
  --line: #C4BEB2;
  --serif: Cormorant, 'Cormorant Garamond', Georgia, serif;
  --sans: Montserrat, 'Helvetica Neue', Helvetica, Arial, sans-serif;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--olive); font-family: var(--sans); font-size: 16px; line-height: 1.65; }
a { color: var(--olive); }
:focus-visible { outline: 2px solid var(--olive); outline-offset: 3px; }

.legal-header { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 40px; border-bottom: 1px solid rgba(61, 74, 53, .18); background: rgba(236, 233, 227, .96); }
.logo { display: inline-block; width: 130px; aspect-ratio: 836 / 270; background-color: var(--olive); -webkit-mask: url("assets/match-pilates-logo.png") center / contain no-repeat; mask: url("assets/match-pilates-logo.png") center / contain no-repeat; }
.back { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; text-decoration: none; }
.back:hover { text-decoration: underline; }

main { max-width: 760px; margin: 0 auto; padding: 56px 24px 72px; }
h1 { margin: 0 0 6px; font-family: var(--serif); font-size: 52px; font-weight: 600; line-height: 1.05; }
.updated { margin: 0 0 32px; font-size: 13px; color: var(--muted); }
h2 { margin: 40px 0 10px; font-family: var(--serif); font-size: 30px; font-weight: 600; line-height: 1.15; }
h3 { margin: 24px 0 6px; font-size: 15px; font-weight: 700; }
p, ul { margin: 0 0 14px; }
ul { padding-left: 22px; }
li { margin-bottom: 6px; }
.summary { padding: 18px 22px; border-left: 3px solid var(--olive); background: var(--bone); border-radius: 0 6px 6px 0; }
.summary p:last-child, .summary ul:last-child { margin-bottom: 0; }
table { width: 100%; border-collapse: collapse; margin: 6px 0 18px; font-size: 14px; background: var(--bone); border-radius: 6px; overflow: hidden; }
th, td { padding: 10px 12px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
th { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
tr:last-child td { border-bottom: 0; }

.cookie-choice { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 8px 0 18px; }
.cookie-choice button { height: 40px; padding: 0 16px; border: 1px solid var(--olive); border-radius: 4px; background: var(--olive); color: #FFFFFF; font-family: var(--sans); font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; cursor: pointer; }
.cookie-choice button:hover { background: var(--olive-deep); }
.cookie-choice .secondary { background: transparent; color: var(--olive); }
.cookie-choice .secondary:hover { background: rgba(61, 74, 53, .08); }
.cookie-status { font-size: 14px; color: var(--muted); }

.legal-footer { padding: 24px 40px; border-top: 1px solid rgba(61, 74, 53, .18); font-size: 13px; color: var(--muted); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }
.legal-footer nav { display: flex; gap: 20px; }

@media (max-width: 720px) {
  body { font-size: 15px; }
  .legal-header { padding: 14px 20px; }
  .logo { width: 104px; }
  main { padding: 36px 20px 56px; }
  h1 { font-size: 40px; }
  h2 { font-size: 26px; margin-top: 32px; }
  table { font-size: 13px; }
  th, td { padding: 8px; }
  .legal-footer { padding: 20px; flex-direction: column; }
}
