.bg-fields {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}

.bg-fields::before,
.bg-fields::after {
  content: "";
  position: absolute;
  width: 60vw;
  height: 60vw;
  border-radius: 50%;
  filter: blur(170px);
  opacity: 0.2;
}

.bg-fields::before {
  background: #00E1FF;
  top: -10vw;
  left: -15vw;
}

.bg-fields::after {
  background: #FFABEA;
  bottom: -20vw;
  right: -15vw;
}

.bg-grid {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(to right, #D0DDF2 1px, transparent 1px),
    linear-gradient(to bottom, #D0DDF2 1px, transparent 1px);
  background-size: 80px 80px;
  opacity: 0.35;
  mask-image: radial-gradient(ellipse at center, black 0%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 0%, transparent 75%);
}

footer.aikka-footer {
  position: relative;
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 0;
  border-top: 1px solid #E5E7EB;
  background: #F7F9FC;
  font-family: "Questrial", "Inter", sans-serif;
  overflow: hidden;
  clear: both;
  box-sizing: border-box;
  display: block;
  text-align: left;
}

footer.aikka-footer a {
  background-color: transparent;
}

.aikka-footer__decor {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.aikka-footer__decor img {
  position: absolute;
  bottom: 0;
  width: 400px;
  height: auto;
  opacity: 0.35;
  max-width: none;
}

.aikka-footer__decor img:first-child {
  left: 0;
  transform: translateX(-35%) translateY(25%);
}

.aikka-footer__decor img:last-child {
  right: 0;
  width: 480px;
  transform: translateX(35%) translateY(15%);
}

.aikka-footer__inner {
  position: relative;
  z-index: 1;
  max-width: 1280px;
  margin: 0 auto;
  padding: 64px 32px 32px;
  display: grid;
  grid-template-columns: 1.6fr repeat(3, 1fr);
  gap: 40px;
  width: 100%;
  box-sizing: border-box;
}

.aikka-footer .brand-col p {
  margin-top: 16px;
  font-size: 13px;
  line-height: 1.55;
  max-width: 280px;
  color: #6B7280;
}

.aikka-footer .brand-col .footer-logo {
  height: 36px;
  width: auto;
  display: block;
}

.aikka-footer .brand-col .footer-brand-name {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: #09090B;
}

.aikka-footer .brand-col .footer-brand-name span {
  font-size: 18px;
  font-weight: 400;
  letter-spacing: -0.01em;
}

.aikka-footer .social-links {
  margin-top: 18px;
  display: flex;
  gap: 10px;
}

.aikka-footer .social-links a {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  border: 1px solid #E5E7EB;
  display: grid;
  place-items: center;
  color: #6B7280;
  text-decoration: none;
  transition: color 0.15s, border-color 0.15s;
}

.aikka-footer .social-links a:hover {
  color: #09090B;
  border-color: #D1D5DB;
}

footer.aikka-footer h5 {
  font-size: 13px;
  font-weight: 500;
  margin: 0 0 14px;
  color: #09090B;
  line-height: 1.2;
}

.aikka-footer ul {
  display: grid;
  gap: 10px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.aikka-footer ul a {
  font-size: 13px;
  color: #6B7280;
  text-decoration: none;
  transition: color 0.15s;
}

.aikka-footer ul a:hover {
  color: #09090B;
}

.aikka-footer .meta {
  grid-column: 1 / -1;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  padding-top: 28px;
  margin-top: 16px;
  border-top: 1px solid #E5E7EB;
  font-size: 12px;
  color: #9CA3AF;
}

@media (max-width: 900px) {
  .aikka-footer__inner {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}

@media (max-width: 540px) {
  .aikka-footer__inner {
    grid-template-columns: 1fr;
    padding: 48px 20px 24px;
  }
}

.legal-page {
  background: #F2F7FF;
  min-height: 100vh;
  font-family: "Questrial", "Inter", sans-serif;
  color: #09090B;
  margin: 0;
}

.legal-page-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 32px;
  max-width: 1280px;
  margin: 0 auto;
}

.legal-page-nav a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: #09090B;
  font-size: 14px;
}

.legal-page-nav .nav-logo {
  height: 28px;
  width: auto;
}

.legal-page-header {
  padding: 48px 32px 24px;
  max-width: 1280px;
  margin: 0 auto;
}

.legal-page-header .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid #D0DDF2;
  background: rgba(255, 255, 255, 0.65);
  font-size: 11px;
  color: #5a6070;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 20px;
}

.legal-page-header .eyebrow .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #09090B;
}

.legal-page-header h1 {
  font-size: clamp(36px, 4.5vw, 56px);
  font-weight: 400;
  letter-spacing: -0.02em;
  margin: 0 0 16px;
  line-height: 1.1;
}

.legal-page-header .lede {
  font-size: 16px;
  line-height: 1.6;
  color: #5a6070;
  margin: 0;
  max-width: 820px;
}

.legal-page-body {
  padding: 24px 32px 64px;
  max-width: 1280px;
  margin: 0 auto;
}

.legal-doc {
  max-width: 760px;
  margin: 0 auto;
}

.legal-doc h2 {
  font-size: 26px;
  font-weight: 500;
  margin: 48px 0 14px;
  letter-spacing: -0.015em;
}

.legal-doc h3 {
  font-size: 19px;
  font-weight: 500;
  margin: 28px 0 10px;
}

.legal-doc p {
  font-size: 16px;
  line-height: 1.7;
  color: #1a2030;
  margin-bottom: 16px;
}

.legal-doc ul {
  margin: 12px 0 20px;
  padding-left: 22px;
}

.legal-doc ul li {
  font-size: 15px;
  line-height: 1.7;
  color: #1a2030;
  margin-bottom: 6px;
}

.legal-doc a {
  color: #09090B;
  text-decoration: underline;
}

.legal-doc table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  font-size: 14px;
}

.legal-doc table th,
.legal-doc table td {
  padding: 10px 14px;
  border: 1px solid #D0DDF2;
  text-align: left;
  vertical-align: top;
}

.legal-doc table th {
  background: #f8fafd;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #5a6070;
  font-weight: 500;
}

.legal-doc-toc {
  border: 1px solid #D0DDF2;
  border-radius: 12px;
  padding: 20px 24px;
  margin-bottom: 40px;
  background: rgba(255, 255, 255, 0.5);
}

.legal-doc-toc h4 {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #5a6070;
  font-weight: 500;
  margin: 0 0 12px;
}

.legal-doc-toc ol {
  padding-left: 22px;
  margin: 0;
}

.legal-doc-toc ol li {
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 4px;
}

.legal-doc-toc ol li a {
  color: #09090B;
  text-decoration: none;
}

.legal-doc-toc ol li a:hover {
  text-decoration: underline;
}
