/* AuraMatch legal pages — «Clean Dynamic Aurora»: milky light theme, aurora blurs, glass cards. */
@font-face { font-family: 'Sora'; font-weight: 400; font-display: swap; src: url('fonts/Sora-Regular.ttf') format('truetype'); }
@font-face { font-family: 'Sora'; font-weight: 500; font-display: swap; src: url('fonts/Sora-Medium.ttf') format('truetype'); }
@font-face { font-family: 'Sora'; font-weight: 600; font-display: swap; src: url('fonts/Sora-SemiBold.ttf') format('truetype'); }
@font-face { font-family: 'Sora'; font-weight: 700; font-display: swap; src: url('fonts/Sora-Bold.ttf') format('truetype'); }

:root {
  --bg: #fbfbfe;
  --ink: #1e1b4b;
  --muted: #5b6678;
  --line: rgba(99, 102, 241, 0.16);
  --accent: #4f46e5;
  --violet: #7c3aed;
  --aurora: linear-gradient(90deg, #4f46e5 0%, #7c3aed 50%, #0ea5e9 100%);
  --rim: linear-gradient(135deg, #818cf8, #c4b5fd 50%, #6ee7b7);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100vh;
  background-color: var(--bg);
  /* Aurora blurs: lavender, pink-violet, mint and sky, pinned so they stay while the text scrolls. */
  background-image:
    radial-gradient(520px 420px at 0% 0%, rgba(199, 210, 254, 0.95), transparent 70%),
    radial-gradient(420px 360px at 100% 18%, rgba(240, 171, 252, 0.45), transparent 70%),
    radial-gradient(480px 400px at 100% 62%, rgba(167, 243, 208, 0.7), transparent 70%),
    radial-gradient(560px 440px at 20% 100%, rgba(186, 230, 253, 0.9), transparent 70%);
  background-attachment: fixed;
  color: var(--ink);
  font: 400 16px/1.7 'Sora', system-ui, -apple-system, 'Segoe UI', sans-serif;
  -webkit-font-smoothing: antialiased;
}

main { max-width: 800px; margin: 0 auto; padding: 28px 16px 64px; }

.brand {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--ink); font-weight: 700; font-size: 22px; letter-spacing: -0.5px; text-decoration: none;
  margin-bottom: 20px;
}
.brand img { width: 52px; height: 26px; display: block; }
.brand span {
  background: var(--aurora); -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* Glass card with a thin gradient rim. */
.glass {
  background:
    linear-gradient(rgba(255, 255, 255, 0.78), rgba(255, 255, 255, 0.78)) padding-box,
    var(--rim) border-box;
  border: 1.5px solid transparent;
  border-radius: 32px;
  padding: 32px 36px 28px;
  box-shadow: 0 8px 32px rgba(99, 102, 241, 0.12);
  -webkit-backdrop-filter: blur(18px) saturate(1.2);
  backdrop-filter: blur(18px) saturate(1.2);
}

h1 { font-size: 34px; line-height: 1.2; letter-spacing: -0.8px; font-weight: 600; margin: 0 0 4px; }
h2 { font-size: 19px; font-weight: 600; letter-spacing: -0.2px; margin: 32px 0 8px; }
.updated, .muted { color: var(--muted); }
.updated { margin-top: 0; font-size: 14px; }

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

table { width: 100%; border-collapse: collapse; margin: 12px 0; }
th, td { text-align: left; vertical-align: top; padding: 12px; border-bottom: 1px solid var(--line); }
th { color: var(--muted); font-weight: 600; font-size: 12px; text-transform: uppercase; letter-spacing: 1.2px; }
td:first-child { width: 42%; }

li { margin: 6px 0; }
.hero-icon { border-radius: 36px; box-shadow: 0 12px 32px rgba(124, 58, 237, 0.25); }

footer { margin-top: 36px; padding-top: 16px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }

@media (max-width: 560px) {
  .glass { padding: 24px 20px 22px; border-radius: 26px; }
  h1 { font-size: 28px; }
  table, tbody, tr, td, th { display: block; width: 100%; }
  tr:first-child { display: none; }
  td:first-child { width: 100%; padding-bottom: 0; border-bottom: 0; }
}
