* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: #172033;
  background: #f5f7fb;
  line-height: 1.7;
}

a {
  color: #165dff;
}

.container {
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(8, 16, 35, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.topbar-inner {
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  text-decoration: none;
  font-weight: 800;
  letter-spacing: .3px;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: linear-gradient(135deg, #ffcb22, #ff6b00);
  color: #101010;
  font-weight: 900;
}

.back-link {
  color: #dbe5ff;
  text-decoration: none;
  font-size: .95rem;
}

.hero {
  color: white;
  background:
    radial-gradient(circle at top right, rgba(56, 120, 255, .34), transparent 35%),
    linear-gradient(135deg, #081023, #111f43);
  padding: 72px 0 64px;
}

.hero-content {
  max-width: 820px;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 12px;
  padding: 6px 12px;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 999px;
  color: #cfe0ff;
  font-size: .86rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.hero h1 {
  margin: 0 0 18px;
  font-size: clamp(2rem, 5vw, 4.2rem);
  line-height: 1.08;
}

.hero p {
  max-width: 760px;
  margin: 0 0 10px;
  color: #d8e3fb;
  font-size: 1.08rem;
}

.updated {
  margin-top: 18px !important;
  font-size: .95rem !important;
}

.layout {
  display: grid;
  grid-template-columns: 270px minmax(0, 1fr);
  gap: 36px;
  padding-top: 42px;
  padding-bottom: 64px;
}

.sidebar {
  align-self: start;
  position: sticky;
  top: 94px;
}

.sidebar nav {
  padding: 18px;
  background: #fff;
  border: 1px solid #e3e8f2;
  border-radius: 18px;
  box-shadow: 0 12px 30px rgba(20, 35, 70, .07);
}

.sidebar a {
  display: block;
  padding: 9px 10px;
  color: #33415f;
  text-decoration: none;
  border-radius: 9px;
  font-size: .94rem;
}

.sidebar a:hover {
  color: #0f4fd7;
  background: #edf3ff;
}

.content {
  min-width: 0;
}

.notice,
.legal-note {
  padding: 20px 22px;
  border-radius: 16px;
}

.notice {
  margin-bottom: 24px;
  color: #5b4300;
  background: #fff8df;
  border: 1px solid #f2d779;
}

.policy-section {
  scroll-margin-top: 96px;
  margin-bottom: 22px;
  padding: 30px;
  background: #fff;
  border: 1px solid #e3e8f2;
  border-radius: 20px;
  box-shadow: 0 12px 30px rgba(20, 35, 70, .06);
}

.policy-section h2 {
  margin: 0 0 16px;
  color: #0e1b36;
  font-size: 1.55rem;
  line-height: 1.25;
}

.policy-section h3 {
  margin: 24px 0 8px;
  color: #1f3157;
  font-size: 1.08rem;
}

.policy-section p:last-child,
.policy-section ul:last-child {
  margin-bottom: 0;
}

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

.policy-section li {
  margin-bottom: 7px;
}

.contact-card {
  border-color: #bed0ff;
  background: linear-gradient(180deg, #fff, #f4f7ff);
}

.small {
  font-size: .9rem;
  color: #64708a;
}

.legal-note {
  color: #39445a;
  background: #eef2f8;
  border: 1px solid #dce3ee;
}

footer {
  color: #dbe5ff;
  background: #081023;
}

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

footer a {
  color: #fff;
}

@media (max-width: 900px) {
  .layout {
    grid-template-columns: 1fr;
  }

  .sidebar {
    position: static;
  }

  .sidebar nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .topbar-inner {
    min-height: 60px;
  }

  .back-link {
    font-size: .82rem;
  }

  .hero {
    padding: 52px 0 46px;
  }

  .layout {
    gap: 22px;
    padding-top: 24px;
  }

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

  .policy-section {
    padding: 22px 19px;
    border-radius: 16px;
  }

  .footer-inner {
    flex-direction: column;
    justify-content: center;
    padding: 22px 0;
  }
}
