:root {
  --blue: #4f86f7;
  --blue-dark: #2f69dd;
  --blue-soft: #edf4ff;
  --ink: #101828;
  --body: #344054;
  --muted: #667085;
  --line: #e4e7ec;
  --surface: #ffffff;
  --page: #f8fafc;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}

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

a {
  color: var(--blue-dark);
}

a:focus-visible {
  outline: 3px solid rgba(79, 134, 247, 0.3);
  outline-offset: 3px;
  border-radius: 5px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(228, 231, 236, 0.9);
  backdrop-filter: blur(14px);
}

.header-inner {
  width: min(1180px, calc(100% - 40px));
  min-height: 72px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

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

.brand-mark {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(145deg, #659aff, #3e75e9);
  border-radius: 11px;
  box-shadow: 0 8px 20px rgba(79, 134, 247, 0.25);
  font-size: 16px;
}

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

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

.header-nav a:hover {
  color: var(--blue-dark);
}

.header-nav .header-button {
  padding: 10px 16px;
  color: #fff;
  background: var(--blue);
  border-radius: 10px;
  box-shadow: 0 7px 18px rgba(79, 134, 247, 0.22);
}

.header-nav .header-button:hover {
  color: #fff;
  background: var(--blue-dark);
}

.policy-hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(
      circle at 88% 14%,
      rgba(139, 182, 255, 0.45),
      transparent 30%
    ),
    linear-gradient(135deg, #1f55bd, #4f86f7 64%, #78a8ff);
}

.policy-hero::after {
  content: "";
  position: absolute;
  right: -120px;
  bottom: -210px;
  width: 430px;
  height: 430px;
  border: 70px solid rgba(255, 255, 255, 0.07);
  border-radius: 50%;
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 82px 0 88px;
}

.eyebrow {
  margin: 0 0 16px;
  color: #dce9ff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.15em;
}

h1 {
  margin: 0;
  color: #fff;
  font-size: clamp(42px, 6vw, 66px);
  line-height: 1.04;
  letter-spacing: -0.045em;
}

.hero-copy {
  max-width: 660px;
  margin: 22px 0 0;
  color: #edf4ff;
  font-size: clamp(17px, 2vw, 20px);
  line-height: 1.65;
}

.effective-date {
  margin: 26px 0 0;
  color: #dce9ff;
  font-size: 14px;
  font-weight: 650;
}

.policy-layout {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 72px 0 96px;
  display: grid;
  grid-template-columns: 248px minmax(0, 760px);
  justify-content: space-between;
  gap: 72px;
}

.policy-nav {
  position: sticky;
  top: 102px;
  align-self: start;
  padding: 22px;
  background: var(--page);
  border: 1px solid var(--line);
  border-radius: 16px;
}

.policy-nav p {
  margin: 0 0 12px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.policy-nav a {
  display: block;
  padding: 6px 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.35;
  text-decoration: none;
}

.policy-nav a:hover {
  color: var(--blue-dark);
}

.policy-content section {
  padding-bottom: 54px;
  scroll-margin-top: 96px;
}

.policy-content section + section {
  padding-top: 54px;
  border-top: 1px solid var(--line);
}

.section-number {
  display: inline-flex;
  min-width: 34px;
  height: 26px;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  color: var(--blue-dark);
  background: var(--blue-soft);
  border-radius: 7px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
}

h2 {
  margin: 0 0 18px;
  color: var(--ink);
  font-size: clamp(25px, 3vw, 32px);
  line-height: 1.22;
  letter-spacing: -0.025em;
}

h3 {
  margin: 0 0 8px;
  color: var(--ink);
  font-size: 17px;
}

.policy-content p {
  margin: 0 0 18px;
}

.policy-content ul {
  margin: 0 0 22px;
  padding-left: 22px;
}

.policy-content li {
  margin: 0 0 10px;
  padding-left: 5px;
}

.policy-content strong {
  color: var(--ink);
}

.policy-summary-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 28px;
}

.policy-summary-grid div {
  padding: 18px;
  background: var(--page);
  border: 1px solid var(--line);
  border-radius: 12px;
}

.policy-summary-grid strong,
.policy-summary-grid span {
  display: block;
}

.policy-summary-grid strong {
  margin-bottom: 5px;
  font-size: 13px;
}

.policy-summary-grid span {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

.google-data-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin: 28px 0;
}

.data-card {
  padding: 22px;
  background: var(--page);
  border: 1px solid var(--line);
  border-radius: 14px;
}

.data-card > span {
  display: block;
  margin-bottom: 9px;
  color: var(--blue-dark);
  font-size: 10px;
  font-weight: 850;
  letter-spacing: 0.12em;
}

.data-card h3 {
  font-size: 16px;
}

.data-card p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
}

.public-policy-hero .hero-inner {
  padding-top: 72px;
  padding-bottom: 78px;
}

.terms-layout {
  padding-bottom: 72px;
}

.notice-card {
  margin-top: 28px;
  padding: 22px 24px;
  background: var(--blue-soft);
  border: 1px solid #d5e5ff;
  border-radius: 14px;
}

.notice-card p {
  margin: 0;
}

.contact-section {
  padding: 34px !important;
  background: var(--page);
  border: 1px solid var(--line) !important;
  border-radius: 18px;
}

.contact-link {
  display: inline-block;
  margin: 2px 0 14px;
  color: var(--blue-dark);
  font-size: 20px;
  font-weight: 800;
  text-decoration: none;
}

.contact-link:hover {
  text-decoration: underline;
}

.contact-note {
  margin: 0 !important;
  color: var(--muted);
  font-size: 14px;
}

.site-footer {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 44px 0;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 22px 40px;
  border-top: 1px solid var(--line);
}

.footer-brand .brand-mark {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  box-shadow: none;
  font-size: 14px;
}

.site-footer p {
  margin: 9px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 18px;
}

.footer-links a {
  color: var(--body);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--blue-dark);
}

.site-footer .copyright {
  grid-column: 1 / -1;
  margin: 0;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: 13px;
}

@media (max-width: 880px) {
  .policy-layout {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .policy-nav {
    position: static;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 4px 24px;
  }

  .policy-nav p {
    grid-column: 1 / -1;
  }
}

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

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

  .header-nav > a:first-child {
    display: none;
  }

  .header-nav .header-button {
    padding: 9px 12px;
    font-size: 13px;
  }

  .hero-inner {
    padding: 60px 0 64px;
  }

  .policy-layout {
    padding: 44px 0 66px;
  }

  .policy-nav {
    grid-template-columns: 1fr;
  }

  .policy-summary-grid,
  .google-data-grid {
    grid-template-columns: 1fr;
  }

  .policy-content section {
    padding-bottom: 40px;
  }

  .policy-content section + section {
    padding-top: 40px;
  }

  .contact-section {
    padding: 26px 22px !important;
  }

  .contact-link {
    font-size: 17px;
    overflow-wrap: anywhere;
  }

  .site-footer {
    grid-template-columns: 1fr;
    padding: 36px 0;
  }

  .footer-links {
    justify-content: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
