:root {
  --ink: #0E1A2B;
  --ink-2: #1A2942;
  --cream: #FAF6F0;
  --paper: #FFFFFF;
  --accent: #FF6B5B;
  --accent-press: #E8584A;
  --gold: #E8B86A;
  --muted: #6B7589;
  --line: #E8E2D7;
  --line-dark: #2A3852;
  --shadow-sm: 0 10px 30px -10px rgba(14,26,43,.12);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--cream);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
h1, h2, h3 { margin: 0; letter-spacing: -0.02em; line-height: 1.15; font-weight: 700; }
h1 { font-size: clamp(34px, 5vw, 52px); letter-spacing: -0.03em; }
h2 { font-size: clamp(22px, 2.4vw, 26px); }
h3 { font-size: 18px; }
p { margin: 0; }

.wrap { max-width: 820px; margin: 0 auto; padding: 0 24px; }
.wrap-wide { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 22px; border-radius: 999px;
  font-size: 15px; font-weight: 600;
  border: 1px solid transparent;
  transition: transform .12s ease, background .15s ease, color .15s ease, box-shadow .15s ease;
  cursor: pointer; font-family: inherit;
}
.btn-accent { background: var(--accent); color: white; box-shadow: 0 8px 20px -8px rgba(255,107,91,.6); }
.btn-accent:hover { background: var(--accent-press); transform: translateY(-1px); }

/* Nav */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250,246,240,.85);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid rgba(232,226,215,.6);
}
.nav-inner { display: flex; align-items: center; gap: 32px; height: 72px; }
.brand {
  display: inline-flex; align-items: center;
  line-height: 0;
}
.brand img { height: 30px; width: auto; display: block; }
.nav-links { display: flex; gap: 28px; align-items: center; margin-left: 8px; }
.nav-links a {
  color: var(--muted); font-size: 15px; font-weight: 500;
  transition: color .15s ease;
}
.nav-links a:hover { color: var(--ink); }
.nav-cta { margin-left: auto; }

/* Legal page content */
.legal { padding: 64px 0 96px; }
.back {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--muted); font-size: 14px; font-weight: 500;
  margin-bottom: 32px;
  transition: color .15s ease;
}
.back:hover { color: var(--ink); }
.legal h1 { margin-bottom: 14px; }
.legal .updated {
  color: var(--muted); font-size: 14px;
  margin-bottom: 40px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}
.legal .intro {
  font-size: 18px; color: var(--ink);
  margin-bottom: 40px;
}
.legal h2 {
  margin: 48px 0 16px;
  padding-top: 8px;
}
.legal h3 { margin: 28px 0 10px; }
.legal p, .legal ul, .legal ol { margin-bottom: 16px; color: var(--ink); }
.legal ul, .legal ol { padding-left: 24px; }
.legal li { margin-bottom: 8px; }
.legal a:not(.back):not(.brand):not(.btn) { color: var(--accent); border-bottom: 1px solid rgba(255,107,91,.3); }
.legal a:not(.back):not(.brand):not(.btn):hover { border-bottom-color: var(--accent); }
.legal strong { font-weight: 700; }
.legal-table {
  width: 100%; border-collapse: collapse;
  margin: 16px 0 24px;
  font-size: 15px;
}
.legal-table th, .legal-table td {
  text-align: left; padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.legal-table th {
  background: white; font-weight: 700; color: var(--ink);
  font-size: 13px; text-transform: uppercase; letter-spacing: .06em;
}

/* Footer */
footer { background: var(--ink); color: rgba(250,246,240,.75); padding: 56px 0 32px; }
.foot-inner { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.foot-brand { display: inline-flex; align-items: center; line-height: 0; }
.foot-brand img { height: 36px; width: auto; display: block; }
.foot-tag { color: rgba(250,246,240,.6); font-size: 14px; max-width: 320px; margin-top: 14px; line-height: 1.55; }
.foot-col h4 { color: var(--cream); font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 16px; }
.foot-col a { display: block; padding: 6px 0; font-size: 14px; color: rgba(250,246,240,.7); }
.foot-col a:hover { color: var(--cream); }
.foot-bot { border-top: 1px solid var(--line-dark); padding-top: 24px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px; font-size: 13px; color: rgba(250,246,240,.5); }

/* Responsive */
@media (max-width: 820px) {
  .nav-links { display: none; }
  .foot-inner { grid-template-columns: 1fr 1fr; }
  .legal { padding: 40px 0 64px; }
}
@media (max-width: 540px) {
  .foot-inner { grid-template-columns: 1fr; gap: 28px; }
  .foot-bot { justify-content: center; text-align: center; }
}
