:root {
  --canvas: #f4f6fb;
  --paper: #ffffff;
  --ink: #101828;
  --muted: #526174;
  --quiet: #7a8798;
  --line: #dfe4ec;
  --line-strong: #c9d1de;
  --blue: #3457f1;
  --blue-deep: #1f37a8;
  --violet: #7456f4;
  --lime: #dfff63;
  --sky: #eaf0ff;
  --max: 900px;
  --display: "Space Grotesk", Arial, sans-serif;
  --sans: "Plus Jakarta Sans", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 8% 4%, rgba(223, 255, 99, 0.36), transparent 23rem),
    radial-gradient(circle at 92% 8%, rgba(116, 86, 244, 0.12), transparent 26rem),
    var(--canvas);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: 0;
  background-image: radial-gradient(rgba(52, 87, 241, 0.11) 1px, transparent 1px);
  background-size: 24px 24px;
  content: "";
  mask-image: linear-gradient(to bottom, #000 0, transparent 70%);
  pointer-events: none;
}

a { color: var(--blue-deep); text-underline-offset: 3px; }
a:hover { color: var(--blue); }

header, main, footer { position: relative; z-index: 1; }

.topbar { border-bottom: 1px solid rgba(16, 24, 40, 0.11); }
.topbar-inner, .legal-wrap { width: min(var(--max), calc(100% - 48px)); margin: 0 auto; }

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

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

.brand::before {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid var(--ink);
  border-radius: 10px;
  color: #fff;
  background: linear-gradient(135deg, var(--blue), var(--violet));
  box-shadow: 3px 3px 0 var(--ink);
  content: "AI";
  font-size: 11px;
}

.brand span { color: inherit; }

.back-link {
  padding: 9px 13px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.72);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-decoration: none;
  text-transform: uppercase;
}

.legal-wrap { padding: 72px 0 86px; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 18px;
  color: var(--blue-deep);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.eyebrow::before { width: 26px; height: 2px; background: var(--blue); content: ""; }

h1, h2, h3 { font-family: var(--display); letter-spacing: -0.04em; }
h1 { margin: 0; font-size: clamp(44px, 7vw, 74px); line-height: 0.96; }
.updated { margin: 18px 0 36px; color: var(--quiet); font-size: 11px; font-weight: 700; }

.notice, .contact-card {
  border: 1px solid var(--line-strong);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 12px 34px rgba(23, 38, 77, 0.07);
}

.notice { margin-bottom: 38px; padding: 24px 26px; border-left: 7px solid var(--blue); }
.notice p { margin: 0; }

.legal-section { padding: 32px 0; border-top: 1px solid var(--line-strong); }
.legal-section h2 { margin: 0 0 14px; font-size: clamp(23px, 3vw, 30px); line-height: 1.2; }
.legal-section h3 { margin: 24px 0 10px; font-size: 18px; }

p, li { color: var(--muted); font-size: 15px; line-height: 1.78; }
p { margin: 0 0 14px; }
ul { display: grid; gap: 8px; margin: 12px 0 16px; padding-left: 22px; }
strong { color: var(--ink); }

.contact-card { margin-top: 38px; padding: 28px; background: linear-gradient(135deg, #fff, var(--sky)); }
.contact-card h2 { margin-top: 0; }

.footer { padding: 30px 24px 42px; border-top: 1px solid rgba(16, 24, 40, 0.11); color: var(--quiet); text-align: center; font-size: 12px; }
.footer-links { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px 18px; margin-top: 10px; }
.footer-links a { font-size: 10px; font-weight: 800; letter-spacing: 0.07em; text-decoration: none; text-transform: uppercase; }

@media (max-width: 640px) {
  .topbar-inner, .legal-wrap { width: min(100% - 30px, var(--max)); }
  .topbar-inner { min-height: 66px; }
  .back-link { padding: 8px 10px; font-size: 9px; }
  .legal-wrap { padding: 52px 0 64px; }
  .notice, .contact-card { padding: 20px; }
}
