:root {
  color-scheme: light;
  --brand: #0f766e;
  --brand-dark: #115e59;
  --ink: #10212b;
  --muted: #5f6f78;
  --line: #dbe5e8;
  --soft: #f4f8f8;
  --white: #ffffff;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.7;
}

a { color: var(--brand); }
a:hover { color: var(--brand-dark); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
}

.header-inner,
.page-shell,
.footer-inner {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.header-inner {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-size: 1.1rem;
  font-weight: 800;
  text-decoration: none;
  letter-spacing: -0.02em;
}

.brand-mark {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  color: var(--white);
  background: var(--brand);
  font-size: 1rem;
}

.brand-accent { color: var(--brand); }

.main-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 0.94rem;
}

.main-nav a {
  color: var(--ink);
  font-weight: 600;
  text-decoration: none;
}

.main-nav a:hover { color: var(--brand); }

.legal-hero {
  padding: 76px 0 44px;
  background: linear-gradient(135deg, #ecf8f6 0%, #f8fbfb 55%, #eef6f8 100%);
  border-bottom: 1px solid var(--line);
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--brand);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  max-width: 760px;
  font-size: clamp(2.2rem, 6vw, 4rem);
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.hero-summary {
  max-width: 760px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.legal-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 250px;
  gap: 56px;
  padding: 54px 0 72px;
}

.legal-content { min-width: 0; }

.legal-content h2 {
  margin: 42px 0 12px;
  color: var(--ink);
  font-size: 1.45rem;
  line-height: 1.3;
  letter-spacing: -0.02em;
}

.legal-content h2:first-child { margin-top: 0; }
.legal-content p { margin: 0 0 16px; }
.legal-content ul { margin: 10px 0 20px; padding-left: 24px; }
.legal-content li { margin: 7px 0; }

.notice {
  margin: 28px 0;
  padding: 20px 22px;
  border: 1px solid #b9ddd7;
  border-left: 4px solid var(--brand);
  border-radius: 10px;
  background: #f0faf8;
}

.legal-aside {
  align-self: start;
  position: sticky;
  top: 96px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--soft);
}

.legal-aside strong { display: block; margin-bottom: 10px; }
.legal-aside a { display: block; margin: 7px 0; text-decoration: none; }

.updated {
  margin-top: 34px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.9rem;
}

.site-footer {
  padding: 44px 0 28px;
  color: var(--muted);
  border-top: 1px solid var(--line);
  background: var(--soft);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 36px;
}

.footer-title { margin: 0 0 12px; color: var(--ink); font-size: 0.95rem; }
.footer-links { display: grid; gap: 8px; }
.footer-links a { color: var(--muted); text-decoration: none; font-size: 0.92rem; }
.footer-links a:hover { color: var(--brand); }

.copyright {
  margin-top: 32px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: 0.86rem;
}

@media (max-width: 820px) {
  .main-nav { display: none; }
  .legal-layout { grid-template-columns: 1fr; gap: 28px; }
  .legal-aside { position: static; order: -1; }
  .footer-grid { grid-template-columns: 1fr; }
  .legal-hero { padding-top: 54px; }
}

