:root {
  --ink: #0b1724;
  --ink-2: #344254;
  --muted: #6f7c8d;
  --line: #dfe6ed;
  --paper: #ffffff;
  --soft: #f3f7fa;
  --deep: #07131f;
  --deep-2: #0c2032;
  --accent: #14b8a6;
  --accent-2: #3dd6c4;
  --accent-soft: #dff9f5;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { color: inherit; }
.shell { width: min(calc(100% - 40px), var(--max)); margin-inline: auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(223, 230, 237, .72);
  background: rgba(255, 255, 255, .86);
  backdrop-filter: blur(18px);
}
.nav {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--ink);
  text-decoration: none;
  font-weight: 800;
  letter-spacing: -.035em;
  font-size: 1.22rem;
}
.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 11px;
  background: linear-gradient(135deg, rgba(255,255,255,.28), transparent 48%), linear-gradient(145deg, var(--accent-2), #0f9f98);
  box-shadow: 0 10px 25px rgba(20,184,166,.28);
  position: relative;
  overflow: hidden;
}
.brand-mark::before,
.brand-mark::after {
  content: "";
  position: absolute;
  top: 8px;
  width: 7px;
  height: 18px;
  border-radius: 8px;
  border: 3px solid white;
  border-top: 0;
}
.brand-mark::before { left: 7px; transform: rotate(-13deg); }
.brand-mark::after { right: 7px; transform: rotate(13deg); }
.back-link {
  color: var(--ink-2);
  font-size: .92rem;
  font-weight: 650;
  text-decoration: none;
}
.back-link:hover { color: var(--accent); }

.legal-hero {
  position: relative;
  overflow: hidden;
  padding: 82px 0 76px;
  color: white;
  background:
    radial-gradient(circle at 88% 16%, rgba(61,214,196,.25), transparent 28%),
    linear-gradient(145deg, var(--deep), var(--deep-2));
}
.legal-hero::after {
  content: "";
  position: absolute;
  width: 360px;
  height: 360px;
  right: -130px;
  bottom: -210px;
  border: 58px solid rgba(255,255,255,.045);
  border-radius: 50%;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 20px;
  padding: 7px 12px;
  border: 1px solid rgba(61,214,196,.36);
  border-radius: 999px;
  color: var(--accent-2);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.eyebrow-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent-2); }
.legal-hero h1 {
  position: relative;
  z-index: 1;
  max-width: 760px;
  margin: 0;
  font-size: clamp(2.7rem, 6vw, 5rem);
  line-height: .99;
  letter-spacing: -.065em;
}
.legal-hero p {
  position: relative;
  z-index: 1;
  max-width: 650px;
  margin: 22px 0 0;
  color: #c2ced8;
  font-size: 1.08rem;
}

.legal-main { padding: 72px 0 100px; background: var(--soft); }
.legal-card {
  max-width: 880px;
  margin: 0 auto;
  padding: clamp(28px, 5vw, 58px);
  border: 1px solid rgba(223,230,237,.9);
  border-radius: 26px;
  background: var(--paper);
  box-shadow: 0 24px 70px rgba(3,21,36,.09);
}
.legal-card h2 {
  margin: 34px 0 10px;
  color: var(--deep);
  font-size: 1.35rem;
  line-height: 1.2;
  letter-spacing: -.025em;
}
.legal-card h2:first-child { margin-top: 0; }
.legal-card p { margin: 0 0 18px; color: var(--ink-2); }
.legal-card a { color: #087d72; text-decoration: underline; text-underline-offset: 3px; }
.legal-card address { color: var(--ink-2); font-style: normal; }
.legal-card .small { color: var(--muted); font-size: .84rem; }
.legal-card ul { margin: 0 0 18px; padding-left: 22px; color: var(--ink-2); }
.legal-card li + li { margin-top: 8px; }
.legal-note {
  margin-top: 34px;
  padding: 18px 20px;
  border-left: 4px solid var(--accent);
  border-radius: 0 var(--radius-sm, 12px) var(--radius-sm, 12px) 0;
  background: var(--accent-soft);
  color: #245b59;
}

footer {
  padding: 32px 0 42px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: .8rem;
}
.footer-inner { display: flex; justify-content: space-between; gap: 24px; align-items: center; }
.footer-links { display: flex; gap: 18px; margin-top: 10px; }
.footer-links a { color: var(--ink); text-underline-offset: 3px; }
.footer-note { max-width: 650px; text-align: right; }

@media (max-width: 700px) {
  .shell { width: min(calc(100% - 28px), var(--max)); }
  .legal-hero { padding: 62px 0 58px; }
  .legal-main { padding: 42px 0 64px; }
  .footer-inner { align-items: flex-start; flex-direction: column; }
  .footer-note { text-align: left; }
}
