@font-face {
  font-family: Anton;
  src: url('/assets/fonts/anton-latin.woff2') format('woff2');
  font-display: optional;
}

@font-face {
  font-family: Nunito;
  src: url('/assets/fonts/nunito-latin-var.woff2') format('woff2');
  font-weight: 300 900;
  font-display: optional;
}

:root {
  color-scheme: dark;
  --world: #07101c;
  --surface: rgba(11, 22, 37, .88);
  --ink: #f8f6f1;
  --muted: rgba(248, 246, 241, .72);
  --faint: rgba(248, 246, 241, .54);
  --line: rgba(220, 232, 242, .2);
  --line-strong: rgba(220, 232, 242, .36);
  --coral: #ec7655;
  --focus: #9ec5ff;
  --display: Anton, Impact, sans-serif;
  --body: Nunito, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --utility: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

*,
*::before,
*::after { box-sizing: border-box; }

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

body {
  min-width: 320px;
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 78% -8%, rgba(47, 124, 246, .17), transparent 34rem),
    radial-gradient(circle at 7% 20%, rgba(236, 118, 85, .12), transparent 28rem),
    var(--world);
  font-family: var(--body);
  text-rendering: optimizeLegibility;
}

a,
button { color: inherit; font: inherit; }
a { text-decoration-thickness: .08em; text-underline-offset: .2em; }
button { cursor: pointer; }
a:focus-visible,
button:focus-visible { outline: 3px solid var(--focus); outline-offset: 4px; }

.site-shell {
  width: min(calc(100% - 36px), 1120px);
  margin: 0 auto;
  padding-bottom: 48px;
}

.site-header {
  position: sticky;
  z-index: 20;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 68px;
  margin: 0 calc((100vw - min(calc(100vw - 36px), 1120px)) / -2);
  padding: 0 max(18px, calc((100vw - 1120px) / 2));
  border-bottom: 1px solid rgba(255, 255, 255, .11);
  background: rgba(4, 9, 17, .9);
  backdrop-filter: blur(18px) saturate(.9);
}

.brand {
  color: var(--ink);
  font-family: var(--display);
  font-size: 1.48rem;
  letter-spacing: .035em;
  text-decoration: none;
  text-transform: uppercase;
}

.brand b { color: var(--coral); font-weight: 400; }
.brand .egg { display: none; }

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(.7rem, 2vw, 1.6rem);
}

.site-nav > a:not(.header-cta) {
  color: var(--muted);
  font-size: .78rem;
  font-weight: 800;
  text-decoration: none;
}

.site-nav > a:not(.header-cta):hover { color: var(--ink); }

.header-cta {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  padding: 0 .95rem;
  border-radius: 999px;
  color: #fff;
  background: #1768d7;
  font-size: .78rem;
  font-weight: 900;
  text-decoration: none;
}

.language-switcher {
  display: flex;
  align-items: center;
  gap: .3rem;
  color: var(--faint);
  font-family: var(--utility);
  font-size: .68rem;
}

.language-switcher button {
  min-height: 34px;
  padding: 0 .22rem;
  border: 0;
  color: var(--faint);
  background: transparent;
  font-size: .68rem;
  font-weight: 800;
}

.language-switcher button:hover,
.language-switcher button[aria-pressed="true"] { color: var(--ink); }
.language-switcher button[aria-pressed="true"] { text-decoration: underline; text-underline-offset: .24rem; }

.legal-card {
  width: min(100%, 820px);
  margin: clamp(52px, 8vw, 94px) auto 0;
  padding: clamp(28px, 6vw, 72px);
  border: 1px solid var(--line-strong);
  border-radius: 30px;
  background: linear-gradient(150deg, rgba(14, 28, 46, .94), var(--surface));
  box-shadow: 0 34px 100px rgba(0, 0, 0, .28);
}

.legal-language-note:empty { display: none; }
.legal-language-note {
  margin: 0 0 1.2rem;
  color: var(--coral);
  font-family: var(--utility);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .05em;
}

.legal-card h1,
.legal-card h2 { text-wrap: balance; }

.legal-card h1 {
  max-width: 22ch;
  margin: 0;
  font-family: var(--body);
  font-size: clamp(2.2rem, 4.2vw, 3.4rem);
  font-weight: 850;
  letter-spacing: -.02em;
  line-height: 1.15;
  text-transform: none;
}

html:not(:lang(en)) .legal-card h1 {
  max-width: 14ch;
  font-family: var(--body);
  font-weight: 950;
  letter-spacing: -.045em;
  line-height: 1.03;
  text-transform: none;
}

.legal-card h2 {
  margin: 2.5rem 0 .75rem;
  padding-top: 1.35rem;
  border-top: 1px solid var(--line);
  color: var(--ink);
  font-size: clamp(1.15rem, 2.2vw, 1.42rem);
  line-height: 1.2;
}

.legal-card p,
.legal-card li {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.72;
}

.legal-card p { margin: .75rem 0 0; }
.legal-card .legal-lead { max-width: 62ch; margin-top: 1.5rem; color: var(--ink); font-size: 1.08rem; }
.legal-card ul { margin: .8rem 0 0; padding-left: 1.35rem; }
.legal-card li + li { margin-top: .45rem; }
.legal-card a { color: #b9d4ff; }

.legal-callout {
  margin-top: 2.5rem !important;
  padding: 1.2rem 1.3rem;
  border: 1px solid rgba(174, 224, 197, .28);
  border-radius: 15px;
  background: rgba(174, 224, 197, .07);
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: .65rem 2rem;
  width: min(100%, 820px);
  margin: 0 auto;
  padding: 34px 4px 0;
  color: var(--faint);
  font-size: .78rem;
  line-height: 1.5;
}

.site-footer p { margin: 0; }
.site-footer a { color: inherit; }
.site-footer .footer-language { justify-self: end; }
.footer-note { grid-column: 1 / -1; max-width: 74ch; }

@media (max-width: 820px) {
  .site-header { min-height: 62px; }
  .site-nav > a:not(.header-cta) { display: none; }
  .site-nav { gap: .5rem; }
  .site-nav .language-switcher { display: none; }
  .legal-card { border-radius: 24px; }
  .site-footer { grid-template-columns: 1fr; text-align: center; }
  .site-footer .footer-language { justify-self: center; }
  .footer-note { grid-column: auto; }
}

@media (max-width: 480px) {
  .site-shell { width: min(calc(100% - 24px), 1120px); }
  .site-header { margin-right: -12px; margin-left: -12px; padding-right: 14px; padding-left: 14px; }
  .brand { font-size: 1.2rem; }
  .header-cta { min-height: 38px; padding: 0 .72rem; }
  .legal-card { margin-top: 30px; padding: 28px 22px; }
  .legal-card h1,
  html:not(:lang(en)) .legal-card h1 { font-size: clamp(2rem, 9vw, 2.7rem); }
  .legal-card p,
  .legal-card li { font-size: .95rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
