:root {
  color-scheme: light;
  --navy: #0f1833;
  --ink: #1c2746;
  --muted: #64708a;
  --line: #dce3ed;
  --surface: #ffffff;
  --soft: #f4f7fb;
  --brand: #6c4bf4;
  --cyan: #6fc5d2;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 8% 0%, rgba(108, 75, 244, 0.1), transparent 28rem),
    #f8f9fc;
  line-height: 1.65;
}

a {
  color: #5132d7;
}

a:hover {
  color: #371daf;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid rgba(220, 227, 237, 0.85);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
}

.header-inner,
.legal-layout,
.site-footer-inner {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

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

.brand {
  display: inline-flex;
  align-items: center;
}

.brand img {
  display: block;
  width: 118px;
  height: auto;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 20px;
}

.header-nav a {
  color: var(--muted);
  font-size: 14px;
  font-weight: 650;
  text-decoration: none;
}

.header-nav a[aria-current="page"] {
  color: var(--brand);
}

.legal-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  gap: 64px;
  padding: 64px 0 88px;
}

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

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

h1,
h2,
h3 {
  color: var(--navy);
  letter-spacing: -0.03em;
  line-height: 1.2;
}

h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(38px, 6vw, 64px);
}

.updated {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.lead {
  margin: 34px 0 44px;
  border-left: 4px solid var(--cyan);
  padding: 4px 0 4px 22px;
  color: #3e4a65;
  font-size: 18px;
}

.legal-section {
  padding: 30px 0;
  border-top: 1px solid var(--line);
}

.legal-section h2 {
  margin: 0 0 14px;
  font-size: 25px;
}

.legal-section h3 {
  margin: 24px 0 8px;
  font-size: 18px;
}

.legal-section p,
.legal-section ul {
  margin: 12px 0;
}

.legal-section ul {
  padding-left: 22px;
}

.legal-section li + li {
  margin-top: 8px;
}

.google-notice {
  margin: 24px 0;
  border: 1px solid #cfc5ff;
  border-radius: 16px;
  padding: 22px;
  background: #f5f2ff;
}

.google-notice strong {
  display: block;
  margin-bottom: 6px;
  color: #3f25b5;
}

.legal-aside {
  align-self: start;
  position: sticky;
  top: 96px;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 20px;
  background: var(--surface);
  box-shadow: 0 12px 38px rgba(23, 33, 63, 0.06);
}

.legal-aside strong {
  display: block;
  margin-bottom: 12px;
  color: var(--navy);
}

.legal-aside nav {
  display: grid;
  gap: 9px;
}

.legal-aside a {
  color: var(--muted);
  font-size: 13px;
  text-decoration: none;
}

.legal-aside a:hover {
  color: var(--brand);
}

.contact-card {
  margin-top: 24px;
  border-radius: 14px;
  padding: 18px;
  color: #fff;
  background: var(--navy);
}

.contact-card p {
  margin: 0 0 8px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
}

.contact-card a {
  color: var(--cyan);
  font-weight: 700;
}

.site-footer {
  padding: 28px 0;
  color: rgba(255, 255, 255, 0.65);
  background: var(--navy);
}

.site-footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.site-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.72);
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--cyan);
}

@media (max-width: 860px) {
  .legal-layout {
    grid-template-columns: 1fr;
    gap: 32px;
    padding-top: 48px;
  }

  .legal-aside {
    position: static;
    order: -1;
  }
}

@media (max-width: 620px) {
  .header-inner,
  .legal-layout,
  .site-footer-inner {
    width: min(100% - 28px, 1120px);
  }

  .header-inner {
    min-height: 64px;
  }

  .brand img {
    width: 96px;
  }

  .header-nav {
    gap: 12px;
  }

  .header-nav a {
    font-size: 12px;
  }

  .legal-layout {
    padding-bottom: 64px;
  }

  .site-footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }
}
