/* PLAÜSONE legal pages. Colours are the ones marketing/index.html already uses;
   nothing new is introduced here. Boxes are 14px; only buttons are pills. */
:root {
  --ink: #0A0A0A;
  --ink-soft: #2B2420;
  --stone: #6B6560;
  --stone-deep: #756B5D;
  --taupe: #9B8E7E;
  --gold: #B89A6A;
  --line: #E0DDD6;
  --line-soft: #EDE9E1;
  --cream: #F5F2EC;
  --white: #FFFFFF;
  --serif: 'Cormorant Garamond', serif;
  --sans: 'DM Sans', sans-serif;
  --radius-box: 14px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body {
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 300;
  overflow-x: hidden;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  background: var(--ink);
  color: var(--cream);
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 12px;
  text-decoration: none;
  z-index: 10;
}
.skip-link:focus { top: 16px; }

a:focus-visible, button:focus-visible {
  outline: 1px solid var(--ink);
  outline-offset: 3px;
}

/* ── NAV (same wordmark and link style as the home page) ── */
.legal-nav {
  padding: 32px 60px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}
.nav-wordmark {
  display: block;
  text-decoration: none;
  line-height: 0;
  mix-blend-mode: multiply;
}
.nav-wordmark img { height: 20px; width: auto; display: block; }
.nav-links { display: flex; gap: 40px; list-style: none; }
.nav-links a {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink);
  text-decoration: none;
  opacity: 0.5;
  transition: opacity 0.3s ease;
}
.nav-links a:hover, .nav-links a:focus-visible { opacity: 1; }

/* ── PAGE ── */
.legal {
  max-width: 760px;
  margin: 0 auto;
  padding: 72px 24px 120px;
}
.legal-eyebrow {
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--stone-deep);
  margin-bottom: 20px;
}
.legal h1 {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(40px, 6vw, 64px);
  line-height: 1.05;
  color: var(--ink);
  margin-bottom: 24px;
}
.legal-intro {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(19px, 2.4vw, 23px);
  line-height: 1.5;
  color: var(--stone);
  margin-bottom: 20px;
}
.legal-updated {
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--stone-deep);
  padding-bottom: 40px;
  border-bottom: 0.5px solid var(--line);
  margin-bottom: 48px;
}
.legal-rule {
  width: 28px;
  height: 0.5px;
  background: var(--gold);
  margin-bottom: 18px;
}

.legal section { margin-bottom: 44px; }
.legal h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 26px;
  line-height: 1.25;
  color: var(--ink);
  margin-bottom: 14px;
}
.legal h3 {
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink);
  margin: 22px 0 8px;
}
.legal p, .legal li {
  font-size: 15px;
  line-height: 1.75;
  color: var(--ink-soft);
}
.legal p + p { margin-top: 12px; }
.legal ul { list-style: none; margin-top: 10px; }
.legal li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 8px;
}
.legal li::before {
  content: '';
  position: absolute;
  left: 2px;
  top: 0.85em;
  width: 10px;
  height: 0.5px;
  background: var(--gold);
}
.legal strong { font-weight: 400; color: var(--ink); }
.legal a {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--gold);
  text-decoration-thickness: 0.5px;
  text-underline-offset: 3px;
}
.legal a:hover { text-decoration-color: var(--ink); }

/* Tables (retention, providers): a 14px box that scrolls inside itself on phones. */
.legal-table-wrap {
  margin-top: 14px;
  background: var(--white);
  border: 0.5px solid var(--line);
  border-radius: var(--radius-box);
  overflow-x: auto;
}
.legal table { width: 100%; border-collapse: collapse; min-width: 480px; }
.legal th, .legal td {
  text-align: left;
  vertical-align: top;
  padding: 14px 18px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--ink-soft);
  border-bottom: 0.5px solid var(--line-soft);
}
.legal th {
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--stone-deep);
}
.legal tr:last-child td { border-bottom: 0; }

.legal-contact {
  margin-top: 56px;
  background: var(--white);
  border: 0.5px solid var(--line);
  border-radius: var(--radius-box);
  padding: 28px 32px;
}
.legal-contact p { font-size: 14px; }

/* ── FOOTER (same markup and style as the home page) ── */
.site-footer {
  position: relative;
  background: var(--cream);
  border-top: 0.5px solid var(--line);
  padding: 60px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px;
  flex-wrap: wrap;
}
.footer-wordmark { line-height: 0; flex-shrink: 0; }
.footer-wordmark img { height: 28px; width: auto; display: block; }
.footer-note {
  font-size: 10px;
  font-weight: 300;
  color: var(--taupe);
  letter-spacing: 0.06em;
}
.footer-legal {
  flex-basis: 100%;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
}
.footer-legal a {
  font-size: 10px;
  font-weight: 300;
  color: var(--taupe);
  letter-spacing: 0.06em;
  text-decoration: none;
}
.footer-legal a:hover, .footer-legal a:focus-visible, .footer-legal a[aria-current="page"] { color: var(--ink); }

@media (max-width: 720px) {
  .legal-nav { padding: 24px 16px; }
  .nav-links { gap: 20px; }
  .nav-links li.nav-optional { display: none; }
  .legal { padding: 40px 16px 80px; }
  .legal h2 { font-size: 23px; }
  .legal-contact { padding: 22px 20px; }
  /* Tables become stacked rows on phones: name above, detail below. */
  .legal table { min-width: 0; }
  .legal thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .legal tr { display: block; padding: 14px 18px; border-bottom: 0.5px solid var(--line-soft); }
  .legal tr:last-child { border-bottom: 0; }
  .legal td { display: block; padding: 0; border-bottom: 0; }
  .legal td:first-child { color: var(--ink); font-weight: 400; margin-bottom: 4px; }
  .site-footer { padding: 24px 16px; }
}
