* {
  box-sizing: border-box;
}

:root {
  color-scheme: light;
  --ink: #0c0f0f;
  --muted: #666c6b;
  --paper: #f4f6f5;
  --fog: #edf2f1;
  --accent: #8ccfd0;
  --accent-dark: #234243;
  --line: rgba(17, 23, 23, 0.1);
  --shadow: 0 18px 42px rgba(12, 15, 15, 0.12);
  --shadow-hard: 0 18px 22px rgba(12, 15, 15, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.34);
  font-family: "Helvetica Neue", Arial, system-ui, sans-serif;
  font-synthesis: none;
  text-rendering: geometricPrecision;
  -webkit-font-smoothing: antialiased;
}

html {
  min-width: 320px;
  background: var(--paper);
  scroll-behavior: smooth;
}

body {
  position: relative;
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 50% 18%, rgba(140, 207, 208, 0.24), transparent 34%),
    linear-gradient(180deg, #f8faf9 0%, #edf4f2 45%, #ffffff 100%);
  color: var(--ink);
}

body::before {
  content: "";
  position: fixed;
  left: 50%;
  top: 20%;
  z-index: -1;
  width: min(560px, 84vw);
  aspect-ratio: 1;
  border-radius: 44% 56% 52% 48%;
  background:
    radial-gradient(circle at 48% 50%, rgba(244, 179, 195, 0.24), transparent 20%),
    radial-gradient(circle at 52% 48%, rgba(140, 207, 208, 0.78), rgba(140, 207, 208, 0.08) 56%, transparent 70%);
  filter: blur(20px);
  opacity: 0.75;
  transform: translateX(-50%);
  animation: legalBlob 13s ease-in-out infinite alternate;
}

@keyframes legalBlob {
  0% {
    border-radius: 44% 56% 52% 48%;
    transform: translate3d(-52%, -14px, 0) rotate(-6deg) scale(0.96);
  }
  50% {
    border-radius: 56% 44% 48% 52%;
    transform: translate3d(-48%, 18px, 0) rotate(3deg) scale(1.03);
  }
  100% {
    border-radius: 49% 51% 58% 42%;
    transform: translate3d(-51%, 4px, 0) rotate(8deg) scale(1.06);
  }
}

a {
  color: inherit;
  text-decoration: none;
}

.legal-nav {
  position: sticky;
  z-index: 10;
  top: 14px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  width: min(calc(100vw - 44px), 1200px);
  min-height: 58px;
  margin: 14px auto 0;
  padding: 8px;
  border: 1px solid rgba(255, 255, 255, 0.82);
  border-radius: 999px;
  background: rgba(244, 246, 245, 0.72);
  box-shadow: 0 8px 18px rgba(12, 15, 15, 0.06);
  backdrop-filter: blur(24px) saturate(140%);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0;
  width: fit-content;
  color: #ff5a00;
  font-size: 1rem;
  font-weight: 400;
}

.brand-wordmark {
  display: block;
  color: #ff5a00;
  font-family: Didot, "Bodoni 72", "Bodoni 72 Oldstyle", "Times New Roman", serif;
  font-size: 1.9rem;
  font-style: italic;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 0.78;
  text-shadow: 0.018em 0 0 currentColor;
  -webkit-text-stroke: 0.22px currentColor;
  white-space: nowrap;
}

.legal-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 22px;
  color: #333b3a;
  font-size: 0.92rem;
  font-weight: 560;
}

.legal-links a {
  transition: color 180ms ease, transform 180ms ease;
}

.legal-links a:hover {
  color: var(--accent-dark);
  transform: translateY(-1px);
}

.legal-content {
  width: min(980px, calc(100% - 36px));
  margin: 0 auto;
  padding: clamp(98px, 13vw, 170px) 0 clamp(70px, 10vw, 130px);
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  width: fit-content;
  margin: 0;
  padding: 9px 16px;
  border: 1px solid rgba(255, 255, 255, 0.82);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.54);
  color: #4d5756;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9), 0 8px 18px rgba(12, 15, 15, 0.06);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  backdrop-filter: blur(18px) saturate(145%);
}

.kicker::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-dark);
  box-shadow: 0 0 0 10px rgba(140, 207, 208, 0.42);
}

h1 {
  max-width: 900px;
  margin: 28px 0 54px;
  color: var(--ink);
  font-size: 6.4rem;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 0.96;
}

section {
  position: relative;
  margin-top: 18px;
  padding: 28px 32px;
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(255,255,255,0.78), rgba(238,242,241,0.82));
  box-shadow: var(--shadow), inset 0 0 0 6px rgba(255,255,255,0.52), inset 0 1px 0 #fff;
}

h2 {
  margin: 0 0 12px;
  color: var(--ink);
  font-size: 1.65rem;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.05;
}

p {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.58;
}

p:last-child {
  margin-bottom: 0;
}

.legal-footer {
  display: grid;
  grid-template-columns: auto minmax(220px, 1fr);
  align-items: center;
  gap: 24px;
  padding: 30px clamp(18px, 4vw, 72px);
  border-top: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
}

.legal-footer .legal-links {
  justify-content: flex-end;
  color: var(--muted);
}

@media (max-width: 760px) {
  .legal-nav {
    top: 10px;
    grid-template-columns: 1fr;
    width: min(calc(100vw - 18px), 640px);
  }

  .legal-nav .legal-links {
    display: none;
  }

  .legal-content {
    width: min(100% - 32px, 620px);
    padding-top: 92px;
  }

  h1 {
    font-size: 3.35rem;
    line-height: 1;
  }

  section {
    padding: 22px;
    border-radius: 24px;
  }

  .legal-footer {
    grid-template-columns: 1fr;
  }

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

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}
