*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --accent:          #5856D6;
  --accent-soft:     rgba(88,86,214,0.12);
  --bg:              #FFFFFF;
  --bg-secondary:    #F2F2F7;
  --separator:       #C6C6C8;
  --label:           #000000;
  --label-secondary: rgba(60,60,67,0.60);
  --label-tertiary:  rgba(60,60,67,0.30);
  --warning:         #FF9F0A;
  --warning-soft:    rgba(255,159,10,0.12);
  --radius-sm: 8px; --radius-md: 12px; --radius-lg: 16px;
}
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
  background: var(--bg); color: var(--label);
  line-height: 1.6; -webkit-font-smoothing: antialiased;
}

/* ── Nav ── */
nav {
  position: sticky; top: 0; z-index: 200;
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  background: rgba(255,255,255,0.82);
  border-bottom: 1px solid var(--separator);
  padding: 0 48px; height: 52px;
  display: flex; align-items: center; justify-content: space-between;
}
.nav-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--label); }
.nav-logo img { height: 28px; width: auto; }
.nav-logo-text { font-size: 17px; font-weight: 600; letter-spacing: -0.4px; }
.nav-links { display: flex; align-items: center; gap: 32px; list-style: none; }
.nav-links a { font-size: 15px; color: var(--label-secondary); text-decoration: none; transition: color 0.15s; }
.nav-links a:hover { color: var(--label); }
.nav-actions { display: flex; align-items: center; gap: 12px; }
.btn-ghost {
  font-size: 15px; font-weight: 500; color: var(--accent);
  background: none; border: none; cursor: pointer;
  padding: 7px 12px; border-radius: var(--radius-sm);
  text-decoration: none; transition: background 0.15s;
}
.btn-ghost:hover { background: var(--accent-soft); }
.btn-primary {
  font-size: 15px; font-weight: 600; color: #fff;
  background: var(--accent); border: none; cursor: pointer;
  padding: 8px 18px; border-radius: 100px;
  text-decoration: none; letter-spacing: -0.2px;
  transition: opacity 0.15s, transform 0.1s; white-space: nowrap;
}
.btn-primary:hover { opacity: 0.88; transform: scale(0.985); }

/* ── Legal layout ── */
.legal-page { padding: 64px 24px 96px; }
.legal-wrap { max-width: 720px; margin: 0 auto; }
.legal-eyebrow {
  font-size: 13px; font-weight: 600; letter-spacing: 0.5px;
  text-transform: uppercase; color: var(--accent); margin-bottom: 12px;
}
.legal-title {
  font-size: 36px; font-weight: 700; letter-spacing: -0.8px;
  line-height: 1.15; margin-bottom: 12px;
}
.legal-meta {
  font-size: 14px; color: var(--label-secondary); margin-bottom: 48px;
  padding-bottom: 32px; border-bottom: 1px solid var(--separator);
}
.legal-section { margin-bottom: 40px; }
.legal-section h2 {
  font-size: 19px; font-weight: 600; letter-spacing: -0.3px;
  margin-bottom: 12px; color: var(--label);
}
.legal-section p { font-size: 15px; color: var(--label-secondary); margin-bottom: 12px; }
.legal-section p:last-child { margin-bottom: 0; }
.legal-section ol { padding-left: 20px; margin-bottom: 12px; }
.legal-section ol li { font-size: 15px; color: var(--label-secondary); margin-bottom: 10px; }
.legal-section ul { padding-left: 20px; margin-bottom: 12px; }
.legal-section ul li { font-size: 15px; color: var(--label-secondary); margin-bottom: 6px; }
.legal-section a { color: var(--accent); text-decoration: none; }
.legal-section a:hover { text-decoration: underline; }

/* ── Agent box ── */
.agent-box {
  background: var(--bg-secondary); border-radius: var(--radius-md);
  padding: 24px; margin: 20px 0;
}
.agent-box h3 { font-size: 15px; font-weight: 600; margin-bottom: 12px; }
.agent-box p { font-size: 14px; color: var(--label-secondary); margin-bottom: 4px; }

/* ── Warning ── */
.warn-box {
  background: var(--warning-soft); border-radius: var(--radius-md);
  padding: 16px 20px; margin: 16px 0;
  font-size: 14px; color: var(--label-secondary);
}
.warn-box strong { color: var(--label); }

/* ── Footer ── */
footer {
  padding: 40px 48px; border-top: 1px solid var(--separator);
  display: flex; align-items: center; justify-content: space-between;
}
.footer-logo { display: flex; align-items: center; gap: 10px; }
.footer-logo img { height: 22px; width: auto; }
.footer-links { display: flex; gap: 28px; list-style: none; }
.footer-links a { font-size: 13px; color: var(--label-tertiary); text-decoration: none; transition: color 0.15s; }
.footer-links a:hover { color: var(--label-secondary); }
.footer-copy { font-size: 13px; color: var(--label-tertiary); }

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--separator); border-radius: 3px; }

@media (max-width: 600px) {
  nav { padding: 0 20px; }
  .nav-links { display: none; }
  .legal-page { padding: 40px 20px 72px; }
  .legal-title { font-size: 28px; }
  footer { padding: 32px 24px; flex-direction: column; gap: 20px; text-align: center; }
  .footer-links { flex-wrap: wrap; justify-content: center; gap: 16px 24px; }
}
  
.footer-brand-text { font-size: 14px; font-weight: 600; }
