:root {
  --ink: #090b0d;
  --muted: #596166;
  --line: rgba(9, 11, 13, 0.16);
  --paper: #fbfbf8;
  --panel: #ffffff;
  --signal: #c7efff;
  --signal-2: #a4dfff;
  --lilac: #cbcaff;
  --accent: #ff765a;
  --radius: 28px;
  --shadow: 0 24px 70px rgba(9, 11, 13, 0.1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font: 16px/1.7 "DM Sans", system-ui, sans-serif;
}
a { color: inherit; }
button { font: inherit; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }

.skip-link {
  position: fixed;
  z-index: 100;
  left: 20px;
  top: -80px;
  padding: 11px 16px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  text-decoration: none;
}
.skip-link:focus { top: 12px; }
.wrap { width: min(1040px, calc(100% - 48px)); margin-inline: auto; }

.nav {
  position: sticky;
  z-index: 30;
  top: 18px;
  width: min(1040px, calc(100% - 36px));
  height: 62px;
  margin: 18px auto;
  padding: 9px 14px 9px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(18px);
  box-shadow: 0 8px 30px rgba(9, 11, 13, 0.07);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font: 700 1rem "Manrope", system-ui, sans-serif;
  letter-spacing: -0.035em;
  text-decoration: none;
  white-space: nowrap;
}
.brandmark {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 0.72rem;
}
.navlinks { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.navlinks a {
  min-height: 42px;
  padding: 10px 14px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  font-size: 0.8rem;
  font-weight: 700;
  text-decoration: none;
}
.navlinks a:hover { background: var(--signal); }

.hero {
  position: relative;
  min-height: 520px;
  margin-top: -80px;
  padding: 176px 0 86px;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: var(--signal);
  isolation: isolate;
}
.hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  right: -120px;
  top: 80px;
  width: 460px;
  height: 460px;
  border: 1px solid rgba(9, 11, 13, 0.22);
  border-radius: 50%;
  box-shadow: 0 0 0 88px rgba(255, 255, 255, 0.12), 0 0 0 170px rgba(9, 11, 13, 0.08);
  animation: orbit-drift 10s ease-in-out infinite;
}
.hero::after {
  content: "UGC\A signal";
  white-space: pre;
  position: absolute;
  z-index: -1;
  right: 104px;
  top: 225px;
  width: 130px;
  height: 130px;
  border-radius: 42% 58% 54% 46% / 48% 43% 57% 52%;
  background: var(--ink);
  color: #fff;
  display: grid;
  place-content: center;
  text-align: center;
  font: 600 0.82rem/1.45 "Manrope", sans-serif;
  animation: morph 9s ease-in-out infinite;
}
.hero .wrap { position: relative; z-index: 2; }
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.kicker::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 7px rgba(255, 255, 255, 0.4);
}
.hero h1 {
  max-width: 760px;
  margin: 22px 0;
  font: 600 clamp(3.8rem, 8vw, 7rem) / 0.9 "Manrope", system-ui, sans-serif;
  letter-spacing: -0.075em;
}
.hero p { max-width: 650px; margin: 0; color: #263237; font-size: 1.08rem; }
.meta {
  display: inline-flex;
  margin-top: 24px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.5);
  color: #3d484d;
  font-size: 0.75rem;
  font-weight: 700;
}

.content {
  width: min(820px, calc(100% - 48px));
  padding: 84px 0 120px;
}
.content h2 {
  margin: 64px 0 16px;
  font: 600 clamp(2rem, 4vw, 3rem) / 1.05 "Manrope", system-ui, sans-serif;
  letter-spacing: -0.055em;
}
.content h2:first-child { margin-top: 0; }
.content h3 { margin: 36px 0 10px; font: 600 1.25rem "Manrope", sans-serif; }
.content p, .content li { color: #3e484d; }
.content a { color: #08668a; text-underline-offset: 4px; }
.content ul { padding-left: 24px; }
.callout {
  margin: 0 0 44px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--lilac);
  box-shadow: 0 14px 32px rgba(9, 11, 13, 0.06);
}
.standards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 34px 0 58px;
}
.standard {
  min-height: 176px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--panel);
  transition: transform 0.2s ease, background-color 0.2s ease;
}
.standard:hover { transform: translateY(-4px); background: var(--signal); }
.standard strong { display: block; margin-bottom: 10px; font: 600 1rem "Manrope", sans-serif; }
.standard span { color: var(--muted); font-size: 0.88rem; }

.footer {
  padding: 42px 0 52px;
  border-top: 1px solid #2e3234;
  background: var(--ink);
  color: #c2c8cb;
  font-size: 0.78rem;
}
.footer-row { display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.footer-links { display: flex; gap: 18px; flex-wrap: wrap; }
.footer a { color: #fff; text-underline-offset: 4px; }

.cookie-notice {
  position: fixed;
  z-index: 50;
  left: 20px;
  right: 20px;
  bottom: 18px;
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  max-width: 760px;
  margin: auto;
  padding: 14px 14px 14px 18px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.95);
  color: var(--ink);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}
.cookie-notice p { margin: 0; color: var(--muted); font-size: 0.78rem; }
.cookie-actions { display: flex; gap: 8px; flex: none; }
.cookie-actions button {
  min-height: 42px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: var(--ink);
  font-size: 0.75rem;
  font-weight: 700;
  cursor: pointer;
}
.cookie-actions .accept { border-color: var(--ink); background: var(--ink); color: #fff; }

@keyframes orbit-drift { 50% { transform: translate(-18px, 12px) rotate(3deg); } }
@keyframes morph {
  0%, 100% { border-radius: 42% 58% 54% 46% / 48% 43% 57% 52%; transform: rotate(0); }
  50% { border-radius: 58% 42% 39% 61% / 45% 59% 41% 55%; transform: rotate(5deg); }
}

@media (max-width: 760px) {
  .wrap, .content { width: calc(100% - 28px); }
  .nav { top: 10px; width: calc(100% - 20px); height: 58px; margin-top: 10px; }
  .navlinks { display: none; }
  .hero { min-height: 510px; margin-top: -68px; padding: 144px 0 64px; }
  .hero::before { right: -300px; top: 170px; opacity: 0.48; }
  .hero::after { right: -76px; top: 300px; width: 108px; height: 108px; opacity: 0.8; }
  .hero h1 { max-width: 94%; font-size: clamp(3.35rem, 17vw, 5rem); }
  .content { padding: 64px 0 88px; }
  .standards { grid-template-columns: 1fr; }
  .standard { min-height: auto; }
  .footer-row { display: block; }
  .footer-links { margin-top: 14px; }
  .cookie-notice { left: 10px; right: 10px; bottom: 10px; align-items: stretch; flex-direction: column; }
  .cookie-actions, .cookie-actions button { flex: 1; }
}

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