:root {
  color-scheme: dark;
  font-family: "Trebuchet MS", "Avenir Next", Avenir, Arial, sans-serif;
  background: #061b2c;
  color: #f8fbff;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
}

a {
  color: inherit;
}

.landing-page {
  min-width: 320px;
  min-height: 100vh;
  min-height: 100svh;
  overflow: hidden;
  background: #047fca;
}

.cover {
  position: relative;
  isolation: isolate;
  width: 100%;
  min-height: 100vh;
  min-height: 100svh;
  overflow: hidden;
  background: linear-gradient(180deg, #51eaff 0%, #079bdf 43%, #0066bc 100%);
}

.cover-picture,
.cover-picture img,
.cover-shade,
.sun-glow,
.bubble-field {
  position: absolute;
  inset: 0;
}

.cover-picture img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 50%;
  filter: saturate(1.04) contrast(1.02);
  transform: scale(1.015);
  animation: cover-breathe 13s ease-in-out infinite alternate;
}

.cover-shade {
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(0, 46, 102, .04) 60%, rgba(0, 28, 68, .44) 100%),
    radial-gradient(circle at 50% 46%, transparent 42%, rgba(0, 59, 122, .12) 100%);
}

.sun-glow {
  z-index: 2;
  top: -28%;
  left: 21%;
  right: 21%;
  bottom: auto;
  height: 54%;
  border-radius: 50%;
  pointer-events: none;
  background: radial-gradient(ellipse, rgba(255,255,255,.46), rgba(119,238,255,.12) 48%, transparent 74%);
  mix-blend-mode: screen;
  filter: blur(12px);
  animation: glow-pulse 5s ease-in-out infinite alternate;
}

.bubble-field {
  z-index: 3;
  pointer-events: none;
}

.bubble {
  --size: 28px;
  --x: 10vw;
  --delay: 0s;
  --duration: 11s;
  position: absolute;
  left: var(--x);
  bottom: -12vh;
  width: var(--size);
  height: var(--size);
  border: 1.5px solid rgba(255,255,255,.64);
  border-radius: 50%;
  opacity: 0;
  background:
    radial-gradient(circle at 31% 26%, rgba(255,255,255,.95) 0 5%, transparent 7%),
    radial-gradient(circle at 72% 76%, rgba(169,98,255,.18), transparent 42%),
    linear-gradient(135deg, rgba(255,255,255,.18), rgba(97,232,255,.03));
  box-shadow:
    inset -3px -4px 9px rgba(69,82,255,.13),
    inset 3px 3px 8px rgba(255,255,255,.38),
    0 0 12px rgba(182,251,255,.16);
  animation: bubble-rise var(--duration) linear var(--delay) infinite;
}

.bubble-1 { --size: 22px; --x: 8vw; --delay: -2s; --duration: 12s; }
.bubble-2 { --size: 40px; --x: 17vw; --delay: -8s; --duration: 15s; }
.bubble-3 { --size: 16px; --x: 30vw; --delay: -5s; --duration: 10s; }
.bubble-4 { --size: 27px; --x: 45vw; --delay: -10s; --duration: 14s; }
.bubble-5 { --size: 19px; --x: 62vw; --delay: -1s; --duration: 11s; }
.bubble-6 { --size: 48px; --x: 76vw; --delay: -9s; --duration: 16s; }
.bubble-7 { --size: 14px; --x: 87vw; --delay: -4s; --duration: 9s; }
.bubble-8 { --size: 30px; --x: 94vw; --delay: -12s; --duration: 13s; }

.mobile-key-art {
  display: none;
}

.cover-links {
  position: absolute;
  z-index: 5;
  left: 50%;
  bottom: max(18px, env(safe-area-inset-bottom));
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 9px 16px;
  border: 1px solid rgba(255,255,255,.24);
  border-radius: 999px;
  color: rgba(255,255,255,.82);
  background: rgba(0, 58, 110, .34);
  box-shadow: 0 8px 28px rgba(0, 31, 71, .16);
  backdrop-filter: blur(14px) saturate(1.2);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  transform: translateX(-50%);
  font: 600 12px/1.2 Arial, sans-serif;
  letter-spacing: .01em;
  white-space: nowrap;
}

.cover-links a {
  text-decoration: none;
  transition: color 150ms ease;
}

.cover-links a:hover {
  color: #fff;
}

.link-dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: currentColor;
  opacity: .6;
}

.cover-links a:focus-visible,
.back-link:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 5px;
}

@keyframes cover-breathe {
  from { transform: scale(1.015); }
  to { transform: scale(1.045); }
}

@keyframes glow-pulse {
  from { opacity: .7; transform: scale(.96); }
  to { opacity: 1; transform: scale(1.05); }
}

@keyframes bubble-rise {
  0% { opacity: 0; transform: translate3d(0, 0, 0) scale(.72); }
  9% { opacity: .72; }
  50% { transform: translate3d(14px, -58vh, 0) scale(1); }
  92% { opacity: .58; }
  100% { opacity: 0; transform: translate3d(-7px, -120vh, 0) scale(1.08); }
}

.document-page {
  min-height: 100vh;
  min-height: 100svh;
  padding: 56px 24px 0;
  background: #171717;
}

.document-card {
  max-width: 900px;
  margin: 0 auto;
  padding: 56px 70px 68px;
  background: #232323;
  border-radius: 40px;
}

.back-link {
  color: #91b9fb;
  font-size: 18px;
  text-decoration: none;
}

.back-link:hover {
  text-decoration: underline;
}

.document-card h1 {
  margin: 34px 0 12px;
  font-size: clamp(36px, 6vw, 52px);
  line-height: 1.15;
}

.document-card .policy-meta {
  margin-bottom: 48px;
  color: #aaa;
  font-size: 16px;
}

.document-card section + section {
  margin-top: 42px;
}

.document-card h2 {
  margin: 0 0 14px;
  font-size: 26px;
  line-height: 1.3;
}

.document-card p {
  margin: 0 0 16px;
  color: #dedede;
  font-size: 18px;
  line-height: 1.7;
}

.document-card p a {
  color: #91b9fb;
  text-underline-offset: 3px;
}

.site-footer {
  margin: 90px 20px 28px;
  color: #aaa;
  font-size: 26px;
  line-height: 1.3;
  text-align: center;
}

.document-page .site-footer {
  margin: 56px 20px 28px;
  font-size: 18px;
}

@media (max-width: 700px) {
  .cover-picture img {
    object-position: 50% 53%;
    transform: scale(1.02);
    animation-duration: 16s;
  }

  .cover-shade {
    background:
      linear-gradient(180deg, rgba(0, 60, 111, .02) 0%, rgba(0, 48, 96, .06) 58%, rgba(0, 31, 72, .42) 100%),
      radial-gradient(circle at 50% 38%, rgba(73, 233, 255, .22), transparent 55%);
  }

  .sun-glow {
    top: -15%;
    left: -10%;
    right: -10%;
    height: 40%;
  }

  .mobile-key-art {
    position: absolute;
    z-index: 4;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    pointer-events: none;
  }

  .mobile-logo {
    position: absolute;
    top: max(4.5vh, 28px);
    left: 50%;
    width: min(78vw, 380px);
    height: auto;
    transform: translateX(-50%);
    filter: drop-shadow(0 10px 10px rgba(0,61,133,.24));
    animation: logo-float 4.8s ease-in-out infinite;
  }

  .mobile-fish {
    position: absolute;
    left: 50%;
    top: 35%;
    width: min(74vw, 420px);
    height: auto;
    border-radius: 50%;
    box-shadow: 0 28px 60px rgba(0, 55, 125, .18);
    transform: translate(-50%, -20%);
    animation: fish-float 5.6s ease-in-out infinite;
  }

  .mobile-key-art p {
    position: absolute;
    left: 50%;
    bottom: max(10.5vh, 86px);
    margin: 0;
    color: #fff;
    text-shadow: 0 3px 8px rgba(0,55,119,.48);
    transform: translateX(-50%);
    font: 900 clamp(15px, 4.4vw, 20px)/1 Arial, sans-serif;
    letter-spacing: .09em;
    text-transform: uppercase;
    white-space: nowrap;
  }

  .cover-links {
    bottom: max(14px, env(safe-area-inset-bottom));
    padding: 8px 13px;
    gap: 9px;
    font-size: 11px;
  }

  .bubble-3,
  .bubble-4,
  .bubble-5 {
    display: none;
  }

  .document-page {
    padding: 16px 14px 0;
  }

  .document-card {
    padding: 36px 24px 48px;
    border-radius: 30px;
  }

  .document-card h1 {
    margin: 30px 0 34px;
  }

  .document-card h2 {
    font-size: 22px;
  }

  .document-card p {
    font-size: 16px;
  }

  .site-footer {
    margin: 28px 20px 24px;
    font-size: 16px;
  }

  @keyframes logo-float {
    0%, 100% { transform: translateX(-50%) translateY(0) rotate(-.5deg); }
    50% { transform: translateX(-50%) translateY(-7px) rotate(.5deg); }
  }

  @keyframes fish-float {
    0%, 100% { transform: translate(-50%, -20%) rotate(-1.2deg) scale(1); }
    50% { transform: translate(-50%, calc(-20% - 11px)) rotate(1deg) scale(1.015); }
  }
}

@media (max-width: 700px) and (max-height: 690px) {
  .mobile-logo {
    top: 1.5vh;
    width: min(62vw, 310px);
  }

  .mobile-fish {
    top: 33%;
    width: min(60vw, 330px);
  }

  .mobile-key-art p {
    bottom: 74px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cover-picture img,
  .sun-glow,
  .bubble,
  .mobile-logo,
  .mobile-fish {
    animation: none;
  }
}
