:root {
  --ink: #07283a;
  --ink-2: #073650;
  --ink-cartoon: #06384e;
  --paper: #d8f8f9;
  --paper-soft: #fff6d8;
  --paper-deep: #aee8e7;
  --line: rgba(4, 62, 84, 0.16);
  --line-dark: rgba(255, 250, 242, 0.15);
  --muted: #356775;
  --white: #fffaf2;
  --teal: #0d928b;
  --amber: #eaa13a;
  --coral: #ff775f;
  --cobalt: #2377e8;
  --sea-surface: #83efd7;
  --sea-mid: #27bdc2;
  --sea-deep: #07526f;
  --sand: #f4c86f;
  --sand-deep: #b8733d;
  --cream: #fff4d5;
  --shadow-soft: 0 28px 90px rgba(2, 70, 92, 0.18);
  --shadow-dark: 0 36px 120px rgba(0, 37, 56, 0.45);
  --header-height: 56px;
  --content-max: 1440px;
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
  scroll-snap-type: y mandatory;
  overscroll-behavior-y: contain;
}

html.js:not(.legal-document) {
  scroll-behavior: auto;
  scroll-snap-type: none;
}

body {
  margin: 0;
  background:
    linear-gradient(180deg, #91fff0 0%, #35d2d9 26%, #0f85a4 62%, #052f4a 100%);
  color: var(--ink);
  font-family: "Avenir Next", "PingFang SC", "Microsoft YaHei", sans-serif;
  letter-spacing: 0;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body::selection {
  background: rgba(22, 133, 123, 0.22);
}

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

p,
h1,
h2,
h3 {
  margin: 0;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

a:focus-visible,
.button:focus-visible {
  outline: 2px solid var(--cobalt);
  outline-offset: 5px;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: 16px;
  z-index: 100;
  transform: translateY(-140%);
  padding: 10px 14px;
  background: var(--white);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 6px;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 30;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 20px;
  min-height: var(--header-height);
  padding: 0 max(24px, calc((100vw - var(--content-max)) / 2));
  color: rgba(255, 250, 242, 0.92);
  background: rgba(4, 50, 72, 0.54);
  border-bottom: 1px solid rgba(190, 250, 255, 0.18);
  backdrop-filter: blur(22px);
  transition: background-color 180ms ease, border-color 180ms ease;
}

.site-header.is-scrolled {
  background: rgba(3, 42, 62, 0.84);
  border-color: rgba(190, 250, 255, 0.24);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: max-content;
  font-size: 0.94rem;
  font-weight: 800;
}

.brand-mark {
  position: relative;
  display: inline-block;
  width: 32px;
  height: 32px;
  flex: 0 0 auto;
  overflow: hidden;
  border: 1px solid rgba(195, 252, 255, 0.42);
  border-radius: 11px;
  background:
    radial-gradient(circle at 66% 18%, rgba(255, 250, 205, 0.82) 0 2px, transparent 3px),
    radial-gradient(circle at 28% 25%, rgba(118, 242, 255, 0.32), transparent 11px),
    linear-gradient(145deg, rgba(15, 160, 181, 0.82), rgba(7, 94, 128, 0.66) 48%, rgba(1, 49, 74, 0.78));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.24),
    inset 0 -10px 20px rgba(0, 47, 68, 0.22),
    0 0 0 1px rgba(255, 250, 242, 0.08),
    0 12px 28px rgba(0, 66, 86, 0.26);
  transform: translateZ(0);
}

.brand-mark::before {
  position: absolute;
  inset: -40% -30%;
  content: "";
  background:
    linear-gradient(120deg, transparent 0 38%, rgba(255, 255, 255, 0.22) 46%, transparent 54%),
    radial-gradient(circle at 45% 65%, rgba(16, 255, 230, 0.22), transparent 24px);
  opacity: 0.75;
  animation: none;
}

.brand-mark-lid,
.brand-mark-box,
.brand-mark-bubble {
  position: absolute;
  z-index: 1;
  display: block;
  pointer-events: none;
}

.brand-mark-lid {
  left: 8px;
  top: 10px;
  width: 16px;
  height: 6px;
  border: 1.5px solid rgba(255, 218, 145, 0.95);
  border-bottom: 0;
  border-radius: 6px 6px 2px 2px;
  background: linear-gradient(180deg, rgba(255, 240, 184, 0.78), rgba(254, 171, 70, 0.28));
  box-shadow: 0 0 14px rgba(255, 211, 120, 0.32);
  transform-origin: 82% 100%;
  animation: none;
}

.brand-mark-box {
  left: 8px;
  bottom: 8px;
  width: 17px;
  height: 11px;
  border: 1.5px solid rgba(255, 218, 145, 0.96);
  border-top-color: rgba(255, 244, 198, 0.62);
  border-radius: 3px 3px 6px 6px;
  background:
    radial-gradient(circle at 68% 28%, rgba(255, 250, 205, 0.52), transparent 4px),
    linear-gradient(145deg, rgba(8, 114, 143, 0.84), rgba(3, 58, 89, 0.86));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.2),
    0 5px 12px rgba(0, 40, 54, 0.26);
}

.brand-mark-box::after {
  position: absolute;
  left: 7px;
  top: 4px;
  width: 3px;
  height: 4px;
  content: "";
  border-radius: 999px;
  background: rgba(255, 220, 134, 0.88);
  box-shadow: 0 0 8px rgba(255, 213, 109, 0.42);
}

.brand-mark-bubble {
  width: var(--bubble-size, 4px);
  height: var(--bubble-size, 4px);
  left: var(--bubble-left, 15px);
  bottom: 17px;
  border: 1px solid rgba(219, 255, 255, 0.72);
  border-radius: 999px;
  background: radial-gradient(circle at 34% 28%, rgba(255, 255, 255, 0.9), rgba(113, 238, 255, 0.32) 48%, rgba(113, 238, 255, 0.08));
  box-shadow: 0 0 10px rgba(80, 239, 255, 0.34);
  animation: none;
  animation-delay: var(--bubble-delay, 0ms);
}

.brand-mark-bubble.bubble-a {
  --bubble-left: 13px;
  --bubble-size: 4px;
  --bubble-delay: 0ms;
  --bubble-drift: -2px;
  --bubble-return-drift: 1.6px;
}

.brand-mark-bubble.bubble-b {
  --bubble-left: 18px;
  --bubble-size: 3px;
  --bubble-delay: 260ms;
  --bubble-drift: 1px;
  --bubble-return-drift: -0.8px;
}

.brand-mark-bubble.bubble-c {
  --bubble-left: 21px;
  --bubble-size: 5px;
  --bubble-delay: 520ms;
  --bubble-drift: 3px;
  --bubble-return-drift: -2.4px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
  color: rgba(255, 250, 242, 0.68);
  font-size: 0.84rem;
  font-weight: 700;
}

.nav-links a,
.footer-links a {
  position: relative;
}

.nav-links a::after,
.footer-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -8px;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.nav-links a:hover,
.nav-links a.is-active,
.footer-links a:hover {
  color: var(--white);
}

.nav-links a:hover::after,
.nav-links a.is-active::after,
.footer-links a:hover::after {
  transform: scaleX(1);
}

.header-actions {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
}

.language-switcher {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 3px;
  border: 1px solid rgba(255, 250, 242, 0.22);
  border-radius: 999px;
  background: rgba(255, 250, 242, 0.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.language-switcher button {
  min-width: 42px;
  min-height: 28px;
  padding: 0 10px;
  color: rgba(255, 250, 242, 0.68);
  font: inherit;
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0;
  background: transparent;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  transition: color 180ms ease, background-color 180ms ease, box-shadow 180ms ease;
}

.language-switcher button:hover {
  color: var(--white);
}

.language-switcher button[aria-pressed="true"] {
  color: var(--ink);
  background: rgba(255, 250, 242, 0.96);
  box-shadow: 0 8px 24px rgba(255, 250, 242, 0.1);
}

.nav-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 16px;
  background: var(--white);
  color: var(--ink);
  border-radius: 999px;
  font-size: 0.84rem;
  font-weight: 800;
  box-shadow: 0 12px 34px rgba(255, 250, 242, 0.12);
}

.page-progress {
  position: fixed;
  top: var(--header-height);
  left: 0;
  right: 0;
  z-index: 29;
  height: 1px;
  background: transparent;
}

.page-progress span {
  display: block;
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, #72f4e6, var(--amber), var(--coral));
  transition: width 90ms linear;
}

.page-dots {
  position: fixed;
  right: 22px;
  top: 50%;
  z-index: 25;
  display: grid;
  gap: 12px;
  transform: translateY(-50%);
}

.page-dots a {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255, 250, 242, 0.36);
  box-shadow: 0 0 0 1px rgba(11, 10, 8, 0.18);
  transition: transform 180ms ease, background-color 180ms ease;
}

.page-dots a.is-active {
  transform: scale(1.45);
  background: var(--amber);
}

.snap-section {
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

.site-footer {
  scroll-snap-align: end;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(420px, 0.92fr) minmax(430px, 560px);
  align-items: center;
  gap: 54px;
  min-height: 100vh;
  padding: 112px max(28px, calc((100vw - var(--content-max)) / 2)) 86px;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 54% -22%, rgba(255, 239, 155, 0.54) 0 18%, rgba(255, 239, 155, 0.22) 19% 32%, transparent 50%),
    radial-gradient(ellipse at 14% 12%, rgba(255, 124, 92, 0.2), transparent 24%),
    linear-gradient(180deg, #8bf1dc 0%, #62dfd6 24%, #2dbcc5 55%, #0c86a3 78%, #07516e 100%);
  color: var(--cream);
}

.hero::before,
.hero::after {
  position: absolute;
  content: "";
  pointer-events: none;
}

.hero::before {
  left: -8%;
  right: -8%;
  bottom: -38px;
  z-index: 1;
  height: 158px;
  background:
    radial-gradient(ellipse at 9% 34%, rgba(255, 229, 136, 0.74) 0 9%, transparent 10%),
    radial-gradient(ellipse at 30% 56%, rgba(255, 244, 180, 0.56) 0 13%, transparent 14%),
    radial-gradient(ellipse at 62% 40%, rgba(255, 217, 123, 0.66) 0 12%, transparent 13%),
    radial-gradient(ellipse at 88% 54%, rgba(255, 241, 174, 0.52) 0 13%, transparent 14%),
    linear-gradient(180deg, #f7ce78 0%, #dc9b4c 58%, #b56c37 100%);
  border-top: 8px solid rgba(6, 58, 83, 0.48);
  box-shadow:
    inset 0 14px 0 rgba(255, 241, 166, 0.4),
    0 -16px 0 rgba(6, 88, 111, 0.1);
}

.hero::after {
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(circle at 8% 16%, rgba(255, 244, 207, 0.2) 0 1px, transparent 2px),
    radial-gradient(circle at 32% 70%, rgba(7, 70, 93, 0.12) 0 1px, transparent 2px),
    radial-gradient(circle at 78% 32%, rgba(255, 244, 207, 0.16) 0 1px, transparent 2px),
    linear-gradient(90deg, rgba(255, 251, 213, 0.04), transparent 24%, rgba(6, 65, 88, 0.05) 60%, transparent);
  background-size: 140px 116px, 190px 160px, 230px 190px, 100% 100%;
  opacity: 0.82;
  mix-blend-mode: soft-light;
}

#archive-sky,
.hero-noise {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

#archive-sky {
  z-index: 0;
}

.hero-noise {
  z-index: 1;
  opacity: 0.38;
  pointer-events: none;
  background-image:
    radial-gradient(ellipse at 18% 18%, rgba(255, 241, 166, 0.18) 0 1px, transparent 2px),
    radial-gradient(ellipse at 70% 62%, rgba(6, 62, 84, 0.08) 0 1px, transparent 2px),
    linear-gradient(105deg, transparent 0 20%, rgba(255, 246, 176, 0.11) 21%, transparent 27% 100%),
    linear-gradient(72deg, transparent 0 48%, rgba(255, 246, 176, 0.08) 49%, transparent 55% 100%);
  background-size: 124px 112px, 180px 152px, 620px 440px, 760px 520px;
  animation: none;
}

.undersea-life {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  pointer-events: none;
}

.undersea-life::before,
.undersea-life::after {
  position: absolute;
  content: "";
  pointer-events: none;
}

.undersea-life::before {
  left: -7%;
  right: -7%;
  bottom: -56px;
  z-index: 0;
  height: 174px;
  background:
    radial-gradient(ellipse at 8% 32%, #ffe08a 0 9%, transparent 10%),
    radial-gradient(ellipse at 24% 44%, #cf8842 0 12%, transparent 13%),
    radial-gradient(ellipse at 46% 30%, #ffdc80 0 11%, transparent 12%),
    radial-gradient(ellipse at 66% 46%, #c9823d 0 13%, transparent 14%),
    radial-gradient(ellipse at 86% 36%, #ffdf88 0 12%, transparent 13%),
    linear-gradient(180deg, #f7cb76 0%, #c6813e 92%);
  border-top: 7px solid rgba(6, 58, 83, 0.56);
  box-shadow:
    inset 0 13px 0 rgba(255, 244, 178, 0.38),
    0 -9px 0 rgba(9, 88, 111, 0.12);
  opacity: 0.92;
}

.undersea-life::after {
  inset: 0;
  z-index: 5;
  background:
    radial-gradient(circle at 18% 33%, rgba(255, 247, 196, 0.18) 0 1px, transparent 2px),
    radial-gradient(circle at 76% 52%, rgba(4, 68, 82, 0.16) 0 1px, transparent 2px),
    repeating-linear-gradient(90deg, rgba(255, 247, 196, 0.025) 0 2px, transparent 2px 14px);
  mix-blend-mode: soft-light;
  opacity: 0.8;
}

.sunbeam {
  position: absolute;
  top: -18%;
  z-index: 0;
  width: 18vw;
  min-width: 180px;
  height: 128%;
  background:
    linear-gradient(180deg, rgba(255, 240, 149, 0.22), rgba(255, 240, 149, 0.08) 38%, rgba(255, 240, 149, 0.02) 72%, transparent);
  clip-path: polygon(38% 0, 70% 0, 100% 100%, 0 100%);
  filter: blur(0.4px);
  mix-blend-mode: screen;
  opacity: 0.22;
  transform-origin: 50% 0;
  animation: none;
}

.sunbeam-one {
  left: 3%;
  --beam-angle: 9deg;
}

.sunbeam-two {
  left: 39%;
  width: 14vw;
  opacity: 0.34;
  animation-duration: 250s;
  animation-delay: -6s;
  --beam-angle: 7deg;
}

.sunbeam-three {
  right: 8%;
  width: 16vw;
  opacity: 0.3;
  animation-duration: 280s;
  animation-delay: -11s;
  --beam-angle: 11deg;
}

.retro-flower {
  position: absolute;
  z-index: 1;
  width: var(--flower-size, 118px);
  height: var(--flower-size, 118px);
  opacity: var(--flower-opacity, 0.42);
  transform: rotate(var(--flower-rotate, 0deg));
  animation: none;
}

.retro-flower::before,
.retro-flower::after {
  position: absolute;
  content: "";
  inset: 0;
}

.retro-flower::before {
  background:
    radial-gradient(ellipse at 50% 10%, transparent 0 26%, var(--flower-color, #f6c25a) 27% 35%, transparent 36%),
    radial-gradient(ellipse at 50% 90%, transparent 0 26%, var(--flower-color, #f6c25a) 27% 35%, transparent 36%),
    radial-gradient(ellipse at 10% 50%, transparent 0 26%, var(--flower-color, #f6c25a) 27% 35%, transparent 36%),
    radial-gradient(ellipse at 90% 50%, transparent 0 26%, var(--flower-color, #f6c25a) 27% 35%, transparent 36%);
}

.retro-flower::after {
  inset: 35%;
  border: 3px solid var(--flower-color, #f6c25a);
  border-radius: 999px;
  background: transparent;
}

.flower-one {
  left: 9%;
  top: 14%;
  --flower-size: 110px;
  --flower-color: rgba(255, 217, 91, 0.58);
  --flower-rotate: 16deg;
  --flower-duration: 300s;
}

.flower-two {
  right: 16%;
  top: 15%;
  --flower-size: 138px;
  --flower-color: rgba(255, 127, 98, 0.44);
  --flower-rotate: -20deg;
  --flower-duration: 340s;
}

.flower-three {
  left: 36%;
  top: 56%;
  --flower-size: 96px;
  --flower-color: rgba(255, 242, 150, 0.35);
  --flower-rotate: 42deg;
  --flower-duration: 280s;
}

.flower-four {
  right: 4%;
  top: 50%;
  --flower-size: 82px;
  --flower-color: rgba(147, 246, 224, 0.38);
  --flower-rotate: 6deg;
  --flower-duration: 260s;
}

.jellyfish {
  position: absolute;
  left: var(--jelly-left, -90px);
  top: var(--jelly-top, 28%);
  z-index: 2;
  width: var(--jelly-size, 72px);
  height: var(--jelly-height, 92px);
  opacity: var(--jelly-opacity, 0.76);
  filter: drop-shadow(5px 7px 0 rgba(4, 58, 76, 0.22));
  transform-origin: 50% 35%;
  animation: none;
  animation-delay: var(--jelly-delay, 0ms), var(--jelly-pulse-delay, 0ms);
}

.jelly-cap {
  position: absolute;
  left: 50%;
  top: 0;
  display: block;
  width: 100%;
  height: 58%;
  overflow: hidden;
  border: 4px solid rgba(6, 58, 83, 0.86);
  border-bottom-width: 3px;
  border-radius: 52% 52% 43% 43% / 68% 68% 34% 34%;
  background:
    radial-gradient(circle at 68% 28%, rgba(255, 250, 215, 0.78) 0 5%, transparent 6%),
    radial-gradient(circle at 32% 24%, rgba(255, 250, 215, 0.46), transparent 18%),
    linear-gradient(180deg, var(--jelly-a, rgba(255, 139, 216, 0.92)) 0 54%, var(--jelly-b, rgba(114, 244, 230, 0.72)) 55% 100%);
  box-shadow:
    inset 6px 7px 0 rgba(255, 250, 215, 0.2),
    inset -7px -8px 0 rgba(5, 58, 76, 0.11);
  transform: translateX(-50%);
}

.jelly-cap::before,
.jelly-cap::after {
  position: absolute;
  content: "";
}

.jelly-cap::before {
  left: 18%;
  right: 18%;
  bottom: -12px;
  height: 24px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 12% 40%, rgba(255, 250, 242, 0.7) 0 8%, transparent 9%),
    radial-gradient(circle at 35% 46%, rgba(255, 250, 242, 0.62) 0 8%, transparent 9%),
    radial-gradient(circle at 62% 44%, rgba(255, 250, 242, 0.66) 0 8%, transparent 9%),
    radial-gradient(circle at 86% 42%, rgba(255, 250, 242, 0.58) 0 8%, transparent 9%);
  opacity: 0.88;
}

.jelly-cap::after {
  left: 31%;
  top: 34%;
  width: 5px;
  height: 5px;
  border-radius: 999px;
  background: rgba(4, 50, 72, 0.72);
  box-shadow: 17px 0 0 rgba(4, 50, 72, 0.72);
}

.jelly-tentacle {
  position: absolute;
  top: 48%;
  left: var(--tentacle-left, 44%);
  width: var(--tentacle-width, 8px);
  height: var(--tentacle-height, 46px);
  border-radius: 999px;
  background: linear-gradient(180deg, var(--jelly-b, rgba(114, 244, 230, 0.72)), rgba(255, 250, 242, 0.2));
  border: 2px solid rgba(4, 58, 76, 0.18);
  transform-origin: 50% 0;
  animation: none;
  animation-delay: var(--tentacle-delay, 0ms);
}

.jelly-tentacle::after {
  position: absolute;
  left: 50%;
  bottom: -14px;
  width: 2px;
  height: 22px;
  content: "";
  border-radius: 999px;
  background: rgba(255, 250, 242, 0.38);
  transform: translateX(-50%);
}

.tentacle-one {
  --tentacle-left: 30%;
  --tentacle-height: 44px;
  --tentacle-delay: -360ms;
}

.tentacle-two {
  --tentacle-left: 48%;
  --tentacle-height: 54px;
  --tentacle-duration: 42000ms;
}

.tentacle-three {
  --tentacle-left: 66%;
  --tentacle-height: 42px;
  --tentacle-delay: -900ms;
}

.jellyfish-one {
  --jelly-left: 5%;
  --jelly-top: 19%;
  --jelly-size: 78px;
  --jelly-height: 100px;
  --jelly-duration: 26s;
  --jelly-delay: -5s;
  --jelly-pulse-delay: -2s;
  --jelly-swim-a-x: 28px;
  --jelly-swim-a-y: -14px;
  --jelly-swim-b-x: 74px;
  --jelly-swim-b-y: 18px;
  --jelly-swim-c-x: 42px;
  --jelly-swim-c-y: 34px;
  --jelly-a: rgba(255, 210, 86, 0.9);
  --jelly-b: rgba(255, 121, 142, 0.7);
  --jelly-opacity: 0.34;
}

.jellyfish-two {
  --jelly-left: 48%;
  --jelly-top: 58%;
  --jelly-size: 86px;
  --jelly-height: 110px;
  --jelly-duration: 31s;
  --jelly-delay: -17s;
  --jelly-pulse-delay: -9s;
  --jelly-swim-a-x: -32px;
  --jelly-swim-a-y: 16px;
  --jelly-swim-b-x: -86px;
  --jelly-swim-b-y: -18px;
  --jelly-swim-c-x: -46px;
  --jelly-swim-c-y: -42px;
  --jelly-a: rgba(123, 255, 229, 0.88);
  --jelly-b: rgba(51, 134, 255, 0.66);
  --jelly-opacity: 0.28;
}

.jellyfish-three {
  --jelly-left: 85%;
  --jelly-top: 24%;
  --jelly-size: 92px;
  --jelly-height: 118px;
  --jelly-duration: 29s;
  --jelly-delay: -23s;
  --jelly-pulse-delay: -13s;
  --jelly-swim-a-x: -38px;
  --jelly-swim-a-y: -18px;
  --jelly-swim-b-x: -96px;
  --jelly-swim-b-y: 20px;
  --jelly-swim-c-x: -54px;
  --jelly-swim-c-y: 42px;
  --jelly-a: rgba(255, 148, 204, 0.88);
  --jelly-b: rgba(255, 216, 108, 0.62);
  --jelly-opacity: 0.44;
}

.jellyfish-four {
  --jelly-left: 18%;
  --jelly-top: 70%;
  --jelly-size: 64px;
  --jelly-height: 82px;
  --jelly-duration: 24s;
  --jelly-delay: -29s;
  --jelly-pulse-delay: -6s;
  --jelly-swim-a-x: 22px;
  --jelly-swim-a-y: -10px;
  --jelly-swim-b-x: 62px;
  --jelly-swim-b-y: -30px;
  --jelly-swim-c-x: 30px;
  --jelly-swim-c-y: 20px;
  --jelly-a: rgba(176, 137, 255, 0.88);
  --jelly-b: rgba(116, 245, 231, 0.58);
  --jelly-opacity: 0.32;
}

.sea-bubble {
  position: absolute;
  bottom: -80px;
  width: 18px;
  height: 18px;
  border: 1px solid rgba(255, 250, 242, 0.66);
  border-radius: 50%;
  background: radial-gradient(circle at 35% 28%, rgba(255, 255, 255, 0.82), rgba(116, 245, 231, 0.18) 44%, transparent 72%);
  opacity: 0.46;
  animation: none;
}

.bubble-one {
  left: 12%;
  animation-delay: -2s;
}

.bubble-two {
  left: 31%;
  width: 24px;
  height: 24px;
  animation-duration: 210s;
  animation-delay: -8s;
}

.bubble-three {
  left: 72%;
  width: 14px;
  height: 14px;
  animation-duration: 190s;
  animation-delay: -5s;
}

.bubble-four {
  left: 88%;
  width: 30px;
  height: 30px;
  animation-duration: 240s;
  animation-delay: -12s;
}

.cartoon-coral,
.cartoon-rock {
  position: absolute;
  z-index: 2;
  pointer-events: none;
}

.cartoon-coral {
  bottom: 26px;
  width: 108px;
  height: 124px;
  filter: drop-shadow(6px 8px 0 rgba(4, 58, 76, 0.2));
}

.cartoon-coral::before,
.cartoon-coral::after {
  position: absolute;
  content: "";
  bottom: 0;
  border: 5px solid rgba(6, 58, 83, 0.86);
  background: #ff7c66;
}

.cartoon-coral::before {
  left: 42%;
  width: 24px;
  height: 108px;
  border-radius: 999px 999px 24px 24px;
  box-shadow:
    -26px 35px 0 -2px #ffb05e,
    28px 24px 0 -1px #ffb05e;
}

.cartoon-coral::after {
  left: 18%;
  bottom: 42px;
  width: 34px;
  height: 24px;
  border-right-width: 0;
  border-radius: 999px 0 0 999px;
  box-shadow: 46px -18px 0 -2px #ff7c66;
}

.coral-left {
  left: 8%;
  transform: rotate(-7deg) scale(1.02);
}

.coral-right {
  right: 12%;
  bottom: 20px;
  transform: rotate(8deg) scale(0.86);
  opacity: 0.86;
}

.coral-center {
  left: 68%;
  bottom: 16px;
  transform: rotate(-11deg) scale(0.62);
  opacity: 0.72;
}

.cartoon-rock {
  bottom: 10px;
  width: 132px;
  height: 58px;
  border: 5px solid rgba(6, 58, 83, 0.78);
  border-radius: 54% 46% 46% 54% / 66% 62% 38% 34%;
  background:
    radial-gradient(circle at 30% 34%, rgba(255, 246, 188, 0.28) 0 8%, transparent 9%),
    linear-gradient(180deg, #75bfad, #3d948c);
  box-shadow: inset 8px 8px 0 rgba(255, 246, 188, 0.18), 5px 7px 0 rgba(4, 58, 76, 0.16);
}

.rock-one {
  left: 24%;
  transform: rotate(4deg) scale(0.9);
}

.rock-two {
  right: 26%;
  bottom: 16px;
  transform: rotate(-5deg) scale(0.72);
  opacity: 0.84;
}

.rock-three {
  right: 7%;
  bottom: 84px;
  transform: rotate(8deg) scale(0.42);
  opacity: 0.62;
}

.seaweed-meadow {
  position: absolute;
  bottom: -32px;
  z-index: 1;
  width: 190px;
  height: 210px;
  opacity: 0.7;
  filter: drop-shadow(5px 7px 0 rgba(4, 58, 76, 0.14));
}

.seaweed-left {
  left: 1%;
}

.seaweed-center {
  left: 44%;
  width: 160px;
  height: 170px;
  opacity: 0.36;
}

.seaweed-right {
  right: 3%;
  width: 210px;
  height: 230px;
  opacity: 0.46;
}

.seaweed-blade {
  position: absolute;
  bottom: 0;
  left: var(--blade-left, 40%);
  display: block;
  width: var(--blade-width, 18px);
  height: var(--blade-height, 150px);
  border-radius: 90% 90% 18% 18%;
  background:
    linear-gradient(90deg, rgba(255, 250, 214, 0.24), transparent 34%),
    linear-gradient(180deg, #5ee0a7, #159a85 62%, #0b686a);
  border: 3px solid rgba(4, 58, 76, 0.42);
  box-shadow: inset 4px 0 0 rgba(255, 250, 214, 0.16);
  transform: rotate(var(--blade-rotate, 0deg));
  transform-origin: 50% 100%;
  animation: none;
  animation-delay: var(--blade-delay, 0ms);
}

.seaweed-blade::after {
  position: absolute;
  left: 50%;
  top: 12%;
  width: 1px;
  height: 74%;
  content: "";
  background: linear-gradient(180deg, rgba(255, 250, 242, 0.32), rgba(255, 250, 242, 0));
  opacity: 0.5;
  transform: translateX(-50%);
}

.blade-one {
  --blade-left: 12%;
  --blade-width: 16px;
  --blade-height: 142px;
  --blade-rotate: -12deg;
  --blade-duration: 32000ms;
  --blade-delay: -900ms;
}

.blade-two {
  --blade-left: 32%;
  --blade-width: 20px;
  --blade-height: 188px;
  --blade-rotate: 6deg;
  --blade-duration: 36000ms;
  --blade-delay: -2400ms;
}

.blade-three {
  --blade-left: 56%;
  --blade-width: 15px;
  --blade-height: 164px;
  --blade-rotate: -3deg;
  --blade-duration: 30000ms;
  --blade-delay: -1400ms;
}

.blade-four {
  --blade-left: 76%;
  --blade-width: 18px;
  --blade-height: 126px;
  --blade-rotate: 13deg;
  --blade-duration: 38000ms;
  --blade-delay: -3600ms;
}

.hero-copy,
.hero-art {
  position: relative;
  z-index: 2;
}

.hero-copy {
  isolation: isolate;
  max-width: 780px;
}

.hero-copy::before {
  position: absolute;
  inset: -42px auto -32px -46px;
  z-index: -1;
  width: min(730px, 64vw);
  content: "";
  background:
    radial-gradient(ellipse at 18% 28%, rgba(4, 61, 80, 0.3), rgba(4, 61, 80, 0.16) 42%, transparent 67%),
    radial-gradient(ellipse at 45% 60%, rgba(255, 244, 205, 0.08), transparent 62%);
  filter: blur(0.2px);
}

.eyebrow,
.section-kicker,
.download-label {
  color: var(--amber);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-shadow: 2px 2px 0 rgba(6, 58, 83, 0.18);
}

h1,
h2 {
  font-family: "Cooper Black", "Arial Rounded MT Bold", "Avenir Next", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-weight: 900;
  letter-spacing: 0;
}

h1 {
  margin-top: 18px;
  color: var(--cream);
  font-size: 5.9rem;
  line-height: 0.95;
  text-shadow:
    5px 7px 0 rgba(6, 58, 83, 0.32),
    0 0 18px rgba(255, 247, 196, 0.16);
}

h2 {
  margin-top: 18px;
  font-size: 4rem;
  line-height: 1.12;
}

h3 {
  margin-top: 16px;
  font-size: 1.18rem;
  line-height: 1.42;
}

.hero-subtitle {
  max-width: 660px;
  margin-top: 24px;
  color: rgba(255, 250, 222, 0.94);
  font-size: 1.14rem;
  font-weight: 700;
  line-height: 1.68;
  text-shadow: 2px 3px 0 rgba(6, 58, 83, 0.2);
  text-wrap: pretty;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 36px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 3px solid transparent;
  border-radius: 999px;
  font-weight: 900;
  box-shadow: 4px 6px 0 rgba(6, 58, 83, 0.24);
  transition: transform 180ms ease, border-color 180ms ease, background-color 180ms ease, box-shadow 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  background: var(--white);
  color: var(--ink);
  border-color: rgba(6, 58, 83, 0.34);
  box-shadow: 5px 7px 0 rgba(6, 58, 83, 0.27), 0 18px 48px rgba(255, 250, 242, 0.16);
}

.button-secondary {
  background: rgba(255, 250, 242, 0.16);
  color: var(--white);
  border-color: rgba(255, 250, 242, 0.5);
}

.live-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.live-item {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 36px;
  padding: 0 13px;
  color: rgba(255, 250, 222, 0.86);
  background: rgba(6, 73, 94, 0.2);
  border: 2px solid rgba(255, 250, 242, 0.2);
  border-radius: 999px;
  font-size: 0.86rem;
  box-shadow: 3px 4px 0 rgba(6, 58, 83, 0.08);
}

.live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #948b7f;
}

.live-dot[data-state="ok"] {
  background: var(--teal);
  box-shadow: 0 0 0 5px rgba(22, 133, 123, 0.18);
}

.live-dot[data-state="warn"] {
  background: var(--amber);
  box-shadow: 0 0 0 5px rgba(201, 133, 43, 0.18);
}

.live-dot[data-state="fail"] {
  background: var(--coral);
  box-shadow: 0 0 0 5px rgba(198, 79, 66, 0.18);
}

.hero-art {
  align-self: center;
  display: grid;
  gap: 8px;
  justify-items: center;
  transform: translateY(-4px);
}

.hero-opening-stage {
  position: relative;
  isolation: isolate;
  width: min(100%, 540px);
  aspect-ratio: 1;
  min-height: 392px;
  display: grid;
  place-items: center;
  perspective: 900px;
}

.hero-opening-stage::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 44%;
  z-index: 3;
  width: 56%;
  height: 22%;
  border-radius: 50% 50% 42% 42%;
  background:
    linear-gradient(180deg, rgba(255, 252, 197, 0.82), rgba(246, 182, 61, 0.16)),
    radial-gradient(ellipse at 50% 12%, rgba(255, 255, 255, 0.82), transparent 58%);
  mix-blend-mode: screen;
  opacity: 0.62;
  transform: translate(-50%, -50%) rotateX(62deg) rotate(-4deg) scaleY(0.76);
  transform-origin: 50% 82%;
  pointer-events: none;
}

.code-treasure {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  overflow: visible;
  background:
    radial-gradient(circle at 50% 38%, rgba(255, 236, 122, 0.2), transparent 28%),
    radial-gradient(circle at 48% 72%, rgba(4, 99, 111, 0.18), transparent 48%);
  filter: drop-shadow(12px 15px 0 rgba(4, 58, 76, 0.2));
}

.code-treasure::before,
.code-treasure::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.code-treasure::before {
  inset: 3% 2% 0;
  background:
    linear-gradient(112deg, transparent 0 20%, rgba(255, 255, 255, 0.22) 21%, transparent 24% 43%, rgba(255, 255, 255, 0.14) 44%, transparent 48%),
    radial-gradient(circle at 50% 54%, rgba(255, 251, 198, 0.2), transparent 38%);
  mix-blend-mode: screen;
  opacity: 0.34;
}

.code-treasure::after {
  inset: auto 10% 8% 10%;
  height: 24%;
  border-radius: 50%;
  background:
    radial-gradient(ellipse at 50% 48%, rgba(196, 132, 63, 0.54), rgba(139, 93, 54, 0.28) 46%, transparent 72%),
    repeating-radial-gradient(ellipse at 50% 52%, rgba(88, 67, 45, 0.2) 0 2px, transparent 3px 16px);
  filter: blur(0.2px);
  opacity: 0.72;
}

.treasure-halo {
  position: absolute;
  left: 50%;
  top: 41%;
  width: 66%;
  height: 44%;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 50%, rgba(255, 230, 93, 0.62), rgba(255, 196, 79, 0.24) 34%, transparent 68%);
  opacity: 0.56;
  transform: translate(-50%, -50%);
  mix-blend-mode: screen;
  filter: blur(10px);
}

.treasure-current {
  position: absolute;
  left: 7%;
  right: 7%;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.5), transparent);
  opacity: 0.32;
}

.current-one {
  top: 23%;
}

.current-two {
  top: 68%;
}

.treasure-bubble {
  position: absolute;
  z-index: 4;
  width: var(--bubble-size, 28px);
  height: var(--bubble-size, 28px);
  border: 2px solid rgba(255, 252, 235, 0.72);
  border-radius: 50%;
  background:
    radial-gradient(circle at 32% 26%, rgba(255, 255, 255, 0.95), transparent 16%),
    radial-gradient(circle at 56% 62%, rgba(114, 238, 229, 0.28), rgba(114, 238, 229, 0.08) 55%, transparent 74%);
  box-shadow:
    inset -5px -8px 16px rgba(36, 143, 154, 0.2),
    0 0 24px rgba(255, 248, 204, 0.32);
  opacity: 0.58;
}

.treasure-bubble-one {
  --bubble-size: 66px;
  left: 21%;
  top: 17%;
}

.treasure-bubble-two {
  --bubble-size: 34px;
  left: 69%;
  top: 13%;
}

.treasure-bubble-three {
  --bubble-size: 46px;
  left: 62%;
  top: 38%;
}

.treasure-bubble-four {
  --bubble-size: 24px;
  left: 34%;
  top: 34%;
}

.treasure-bubble-five {
  --bubble-size: 28px;
  left: 77%;
  top: 58%;
}

.treasure-bubble-six {
  --bubble-size: 18px;
  left: 19%;
  top: 53%;
}

.treasure-chest {
  position: absolute;
  left: 50%;
  top: 55%;
  z-index: 5;
  width: 72%;
  height: 48%;
  transform: translate(-50%, -50%);
  transform-origin: 50% 72%;
}

.treasure-lid,
.treasure-base,
.treasure-lock,
.treasure-spark {
  position: absolute;
  display: block;
}

.treasure-lid {
  left: 9%;
  top: 0;
  z-index: 3;
  width: 82%;
  height: 47%;
  border: 10px solid var(--ink-cartoon);
  border-bottom-width: 10px;
  border-radius: 34px 34px 17px 17px;
  background:
    linear-gradient(90deg, transparent 12%, #f8d56d 12% 18%, transparent 18% 80%, #f8d56d 80% 86%, transparent 86%),
    radial-gradient(ellipse at 48% 14%, rgba(255, 255, 218, 0.36), transparent 34%),
    linear-gradient(180deg, #37c6ce 0%, #1192a5 55%, #075a79 100%);
  box-shadow:
    inset 10px 10px 0 rgba(255, 250, 215, 0.22),
    inset -10px -12px 0 rgba(4, 58, 76, 0.22),
    9px 11px 0 rgba(4, 58, 76, 0.18);
  transform-origin: 50% 100%;
}

.treasure-lid::before,
.treasure-lid::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.treasure-lid::before {
  left: 7%;
  right: 7%;
  top: 42%;
  height: 15px;
  border-radius: 999px;
  background: #d98234;
  border: 6px solid var(--ink-cartoon);
  box-shadow: inset 6px 4px 0 #ffe58c;
}

.treasure-lid::after {
  left: 50%;
  top: 14%;
  width: 28%;
  height: 22%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.82), rgba(255, 238, 160, 0.18) 54%, transparent 70%);
  transform: translateX(-50%);
  mix-blend-mode: screen;
}

.treasure-base {
  left: 5%;
  bottom: 8%;
  z-index: 2;
  width: 90%;
  height: 48%;
  border: 10px solid var(--ink-cartoon);
  border-radius: 18px 18px 34px 34px;
  background:
    linear-gradient(90deg, transparent 16%, #f8d56d 16% 22%, transparent 22% 78%, #f8d56d 78% 84%, transparent 84%),
    radial-gradient(ellipse at 45% 8%, rgba(255, 255, 218, 0.22), transparent 36%),
    linear-gradient(180deg, #0d91a4, #076a82 70%, #053d5b);
  box-shadow:
    inset 10px 10px 0 rgba(255, 250, 215, 0.18),
    inset -12px -12px 0 rgba(4, 58, 76, 0.25),
    10px 12px 0 rgba(4, 58, 76, 0.2);
}

.treasure-base::before,
.treasure-base::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.treasure-base::before {
  left: 4%;
  right: 4%;
  top: 16%;
  height: 17px;
  border-radius: 999px;
  background: #d98234;
  border: 6px solid var(--ink-cartoon);
  box-shadow: inset 6px 4px 0 #ffe58c;
}

.treasure-base::after {
  left: 50%;
  top: 0;
  bottom: 0;
  width: 18%;
  border-radius: 0 0 14px 14px;
  background: #e5a844;
  box-shadow:
    inset 4px 0 0 rgba(255, 255, 255, 0.26),
    0 0 0 3px rgba(29, 92, 104, 0.2);
  transform: translateX(-50%);
}

.treasure-lock {
  left: 50%;
  top: 54%;
  z-index: 6;
  width: 17%;
  height: 24%;
  border: 7px solid var(--ink-cartoon);
  border-radius: 50% 50% 42% 42%;
  background: linear-gradient(180deg, #ffe48c, #d8872f 72%);
  box-shadow:
    inset 5px 5px 0 rgba(255, 255, 255, 0.32),
    0 8px 14px rgba(4, 49, 65, 0.28);
  transform: translateX(-50%);
}

.treasure-lock::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 52%;
  width: 18%;
  height: 30%;
  border-radius: 999px;
  background: #0b5062;
  transform: translate(-50%, -50%);
}

.treasure-spark {
  z-index: 7;
  width: 12px;
  height: 12px;
  background: #fff6c6;
  clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%);
  filter: drop-shadow(0 0 10px rgba(255, 241, 165, 0.8));
  opacity: 0.9;
}

.sparkle-one {
  left: 27%;
  top: 22%;
}

.sparkle-two {
  left: 72%;
  top: 33%;
  width: 16px;
  height: 16px;
}

.sparkle-three {
  left: 50%;
  top: 14%;
  width: 9px;
  height: 9px;
}

#bubble-bloom {
  position: absolute;
  inset: -9% -10% -4%;
  z-index: 6;
  width: 118%;
  height: 111%;
  pointer-events: none;
  mix-blend-mode: normal;
  opacity: 0.92;
  filter: drop-shadow(0 0 16px rgba(255, 250, 242, 0.2));
}

.box-open-glow {
  position: absolute;
  left: 50%;
  top: 49%;
  z-index: 4;
  width: 50%;
  height: 24%;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 42%, rgba(255, 244, 176, 0.86), rgba(255, 198, 82, 0.3) 44%, transparent 72%),
    radial-gradient(circle at 48% 50%, rgba(113, 244, 234, 0.38), transparent 66%);
  mix-blend-mode: screen;
  opacity: 0.76;
  transform: translate(-50%, -50%) rotate(-6deg);
  pointer-events: none;
}

.box-breath-ring,
.box-burst-bubble {
  position: absolute;
  z-index: 7;
  pointer-events: none;
}

.box-breath-ring {
  left: 50%;
  top: 50%;
  width: 48%;
  height: 16%;
  border: 1px solid rgba(255, 250, 242, 0.42);
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(255, 247, 188, 0.3), rgba(114, 245, 231, 0.14) 45%, transparent 72%);
  filter: blur(0.3px);
  mix-blend-mode: screen;
  opacity: 0;
  transform: translate(-50%, -50%) rotate(-7deg) scale(0.64);
}

.box-burst-bubble {
  left: 50%;
  top: 50%;
  width: 24px;
  height: 24px;
  border: 2px solid rgba(255, 250, 242, 0.86);
  border-radius: 50%;
  background:
    radial-gradient(circle at 34% 28%, rgba(255, 255, 255, 0.98), rgba(255, 250, 242, 0.56) 18%, rgba(116, 245, 231, 0.4) 54%, transparent 78%);
  box-shadow:
    inset -5px -7px 12px rgba(22, 133, 123, 0.22),
    0 0 22px rgba(255, 250, 242, 0.42),
    0 0 34px rgba(116, 245, 231, 0.28);
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.3);
}

.burst-two {
  width: 18px;
  height: 18px;
}

.burst-three {
  width: 34px;
  height: 34px;
}

.burst-four {
  width: 15px;
  height: 15px;
}

.burst-five {
  width: 22px;
  height: 22px;
}

.js .code-treasure {
  animation: none;
  transform-origin: 50% 68%;
}

.js .treasure-lid {
  animation: none;
}

.js .treasure-bubble {
  animation: none;
}

.js .treasure-bubble-two {
  animation-delay: -1800ms;
}

.js .treasure-bubble-three {
  animation-delay: -3200ms;
}

.js .treasure-bubble-four {
  animation-delay: -900ms;
}

.js .treasure-bubble-five {
  animation-delay: -4100ms;
}

.js .treasure-bubble-six {
  animation-delay: -2600ms;
}

.js .treasure-current {
  animation: none;
}

.js .current-two {
  animation-delay: -4200ms;
}

.js .treasure-spark {
  animation: none;
}

.js .sparkle-two {
  animation-delay: -900ms;
}

.js .sparkle-three {
  animation-delay: -1600ms;
}

.js .box-open-glow {
  animation: none;
}

.js .hero-opening-stage::before {
  animation: none;
}

.js .box-breath-ring {
  animation: none;
}

.js .box-burst-bubble {
  animation: none;
}

.js .burst-two {
  animation-delay: 1280ms;
}

.js .burst-three {
  animation-delay: 1460ms;
}

.js .burst-four {
  animation-delay: 1660ms;
}

.js .burst-five {
  animation-delay: 1860ms;
}

.brand-mark::before,
.brand-mark::after,
.brand-mark-lid,
.brand-mark-bubble,
.hero-noise,
.sunbeam,
.retro-flower,
.sea-bubble,
.seaweed-blade,
.story-panel::before,
.product-panel::before,
.status-section::before,
.manifesto-section::before {
  animation: none !important;
}

.brand-mark-bubble {
  opacity: 0.58;
  transform: translate3d(var(--bubble-drift, 2px), -9px, 0) scale(1);
}

.hero-noise,
.sunbeam,
.retro-flower,
.seaweed-blade {
  will-change: auto;
}

.js .code-treasure {
  opacity: 1;
  transform: none;
  transition: transform 900ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.js .treasure-lid {
  transform: translateY(22px) rotateX(2deg) rotate(-1deg);
  transition: transform 860ms cubic-bezier(0.18, 0.9, 0.2, 1);
}

.js .treasure-bubble {
  opacity: 0.36;
  transform: translate3d(0, 5px, 0) scale(0.9);
  transition:
    opacity 820ms ease,
    transform 1200ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.js .treasure-current {
  opacity: 0.1;
  transform: translateX(-8%) scaleX(0.82);
  transition:
    opacity 720ms ease,
    transform 1200ms ease;
}

.js .treasure-spark {
  opacity: 0.34;
  transform: scale(0.72) rotate(3deg);
  transition:
    opacity 620ms ease,
    transform 820ms ease;
}

.js .box-open-glow {
  opacity: 0.14;
  transform: translate(-50%, -50%) rotate(-6deg) scale(0.7);
  transition:
    opacity 760ms ease,
    transform 980ms cubic-bezier(0.18, 0.86, 0.24, 1);
}

.js .hero-opening-stage::before {
  opacity: 0.18;
  transform: translate(-50%, -48%) rotateX(70deg) rotate(-7deg) scaleY(0.34);
  transition:
    opacity 900ms ease,
    transform 1100ms cubic-bezier(0.2, 0.78, 0.18, 1);
}

.js .box-breath-ring,
.js .box-burst-bubble {
  display: block;
  transition:
    opacity 780ms ease,
    transform 1500ms cubic-bezier(0.16, 0.84, 0.24, 1);
}

.js .box-breath-ring {
  opacity: 0;
  transform: translate(-50%, -50%) rotate(-7deg) scale(0.55);
}

.js .box-burst-bubble {
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.25);
}

.js .hero-opening-stage.is-bursting .code-treasure {
  transform: translateY(-1.5px);
}

.js .hero-opening-stage.is-bursting .treasure-lid {
  transform: translateY(-26px) rotateX(-34deg) rotate(-2deg);
}

.js .hero-opening-stage.is-bursting .treasure-bubble {
  opacity: 0.64;
  transform: translate3d(0, -8px, 0) scale(1);
}

.js .hero-opening-stage.is-bursting .treasure-bubble-two,
.js .hero-opening-stage.is-bursting .treasure-bubble-five {
  transform: translate3d(4px, -16px, 0) scale(1.06);
}

.js .hero-opening-stage.is-bursting .treasure-bubble-three,
.js .hero-opening-stage.is-bursting .treasure-bubble-six {
  transform: translate3d(-5px, -13px, 0) scale(1.03);
}

.js .hero-opening-stage.is-bursting .treasure-current {
  opacity: 0.3;
  transform: translateX(8%) scaleX(1.05);
}

.js .hero-opening-stage.is-bursting .treasure-spark {
  opacity: 0.82;
  transform: scale(1.08) rotate(12deg);
}

.js .hero-opening-stage.is-bursting .box-open-glow {
  opacity: 0.94;
  transform: translate(-50%, -51%) rotate(-6deg) scale(1.24);
}

.js .hero-opening-stage.is-bursting::before {
  opacity: 0.62;
  transform: translate(-50%, -53%) rotateX(42deg) rotate(-7deg) scaleY(0.92);
}

.js .hero-opening-stage.is-bursting .box-breath-ring {
  opacity: 0.42;
  transform: translate(-50%, -55%) rotate(-7deg) scale(1.12);
}

.js .hero-opening-stage.is-bursting .burst-one {
  opacity: 0.7;
  transform: translate(calc(-50% - 92px), calc(-50% - 104px)) scale(0.92);
}

.js .hero-opening-stage.is-bursting .burst-two {
  opacity: 0.62;
  transform: translate(calc(-50% + 68px), calc(-50% - 126px)) scale(0.88);
}

.js .hero-opening-stage.is-bursting .burst-three {
  opacity: 0.66;
  transform: translate(calc(-50% - 8px), calc(-50% - 146px)) scale(1);
}

.js .hero-opening-stage.is-bursting .burst-four {
  opacity: 0.58;
  transform: translate(calc(-50% + 116px), calc(-50% - 78px)) scale(0.78);
}

.js .hero-opening-stage.is-bursting .burst-five {
  opacity: 0.62;
  transform: translate(calc(-50% - 132px), calc(-50% - 52px)) scale(0.86);
}

@media (prefers-reduced-motion: no-preference) {
  .js .hero-opening-stage .treasure-lid {
    animation: treasure-lid-cycle 3800ms cubic-bezier(0.22, 0.9, 0.2, 1) infinite;
  }

  .js .hero-opening-stage .treasure-bubble {
    animation: treasure-static-bubble-cycle 3800ms ease-in-out infinite;
  }

  .js .hero-opening-stage .treasure-current {
    animation: treasure-current-cycle 3800ms ease-in-out infinite;
  }

  .js .hero-opening-stage .treasure-spark {
    animation: treasure-spark-cycle 3800ms ease-in-out infinite;
  }

  .js .hero-opening-stage .box-open-glow {
    animation: treasure-glow-cycle 3800ms ease-in-out infinite;
  }

  .js .hero-opening-stage::before {
    animation: treasure-shadow-cycle 3800ms ease-in-out infinite;
  }

  .js .hero-opening-stage .box-breath-ring {
    animation: treasure-ring-cycle 3800ms ease-out infinite;
  }

  .js .hero-opening-stage .box-burst-bubble {
    animation: treasure-foreground-bubble-cycle 3800ms ease-in-out infinite;
  }

  .js .hero-opening-stage .burst-one {
    --burst-x: -112px;
    --burst-y: -126px;
    --burst-mid-x: -50px;
    --burst-mid-y: -57px;
    --burst-scale: 0.92;
    --burst-mid-scale: 0.74;
    --burst-late-scale: 0.99;
    animation-delay: 80ms;
  }

  .js .hero-opening-stage .burst-two {
    --burst-x: 92px;
    --burst-y: -152px;
    --burst-mid-x: 41px;
    --burst-mid-y: -68px;
    --burst-scale: 0.86;
    --burst-mid-scale: 0.69;
    --burst-late-scale: 0.93;
    animation-delay: 220ms;
  }

  .js .hero-opening-stage .burst-three {
    --burst-x: -8px;
    --burst-y: -182px;
    --burst-mid-x: -4px;
    --burst-mid-y: -82px;
    --burst-scale: 1;
    --burst-mid-scale: 0.8;
    --burst-late-scale: 1.08;
    animation-delay: 360ms;
  }

  .js .hero-opening-stage .burst-four {
    --burst-x: 136px;
    --burst-y: -96px;
    --burst-mid-x: 61px;
    --burst-mid-y: -43px;
    --burst-scale: 0.78;
    --burst-mid-scale: 0.62;
    --burst-late-scale: 0.84;
    animation-delay: 500ms;
  }

  .js .hero-opening-stage .burst-five {
    --burst-x: -154px;
    --burst-y: -72px;
    --burst-mid-x: -69px;
    --burst-mid-y: -32px;
    --burst-scale: 0.86;
    --burst-mid-scale: 0.69;
    --burst-late-scale: 0.93;
    animation-delay: 640ms;
  }
}

.hero-art-caption {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: min(100%, 500px);
  margin-top: -44px;
  padding: 14px 0 0;
  color: rgba(255, 244, 205, 0.92);
  border-top: 2px solid rgba(255, 244, 205, 0.18);
  text-shadow: 2px 3px 0 rgba(6, 58, 83, 0.18);
}

.hero-art-caption span {
  color: var(--teal);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-shadow: none;
}

.hero-art-caption strong {
  max-width: 240px;
  font-size: 0.96rem;
  line-height: 1.26;
  text-align: right;
}

.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 28px;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 28px;
  height: 44px;
  transform: translateX(-50%);
  border: 1px solid rgba(255, 250, 242, 0.28);
  border-radius: 999px;
}

.scroll-cue span {
  width: 4px;
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 250, 242, 0.7);
}

.story-panel,
.status-section,
.manifesto-section {
  position: relative;
  min-height: 100vh;
  padding: 100px max(24px, calc((100vw - var(--content-max)) / 2));
  overflow: hidden;
}

.story-panel::before,
.status-section::before,
.manifesto-section::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 12% 72%, rgba(255, 250, 242, 0.18) 0 7px, transparent 8px),
    radial-gradient(circle at 78% 18%, rgba(255, 250, 242, 0.14) 0 10px, transparent 11px),
    radial-gradient(circle at 86% 72%, rgba(116, 245, 231, 0.16) 0 6px, transparent 7px),
    linear-gradient(115deg, transparent 0 35%, rgba(255, 250, 242, 0.08) 36%, transparent 42% 100%);
  background-size: 520px 620px, 740px 680px, 620px 520px, 480px 360px;
  opacity: 0.55;
  animation: none;
}

.story-panel > *,
.status-section > *,
.manifesto-section > * {
  position: relative;
  z-index: 1;
}

.story-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.84fr);
  gap: 70px;
  align-items: start;
  padding-top: 170px;
}

.story-panel-light {
  background:
    linear-gradient(180deg, rgba(216, 248, 249, 0.94), rgba(236, 255, 251, 0.94)),
    linear-gradient(120deg, rgba(255, 250, 242, 0.2), transparent 44%);
  color: var(--ink);
}

.story-panel-dark {
  background:
    radial-gradient(ellipse at 14% 16%, rgba(111, 244, 235, 0.18), transparent 36%),
    linear-gradient(180deg, #0c7890 0%, #064d70 55%, #052435 100%);
  color: var(--white);
}

.story-copy,
.product-copy,
.status-copy,
.manifesto-copy {
  max-width: 820px;
}

.story-copy p,
.product-copy p,
.status-copy p,
.manifesto-copy p:last-child {
  margin-top: 22px;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.92;
}

.story-panel-dark .story-copy p,
.story-panel-dark .flow-steps p {
  color: rgba(255, 250, 242, 0.7);
}

.memory-stage {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 520px;
  overflow: hidden;
}

.memory-stage img {
  width: min(96%, 520px);
  display: block;
  border-radius: 8px;
  box-shadow: var(--shadow-soft);
}

.memory-lines {
  position: absolute;
  inset: 11% 6%;
  pointer-events: none;
}

.memory-lines span {
  position: absolute;
  display: block;
  height: 1px;
  background: rgba(22, 133, 123, 0.24);
  transform-origin: left;
}

.memory-lines span:nth-child(1) {
  left: 10%;
  top: 28%;
  width: 64%;
  transform: rotate(12deg);
}

.memory-lines span:nth-child(2) {
  left: 18%;
  top: 62%;
  width: 54%;
  transform: rotate(-18deg);
}

.memory-lines span:nth-child(3) {
  left: 36%;
  top: 18%;
  width: 44%;
  transform: rotate(58deg);
}

.flow-steps {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.flow-steps article,
.experience-grid article,
.status-board article {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.flow-steps article {
  min-height: 220px;
  background: rgba(255, 250, 242, 0.06);
  border-color: var(--line-dark);
}

.flow-steps span,
.experience-grid span,
.status-board span {
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.flow-steps article span {
  color: var(--amber);
}

.flow-steps p,
.experience-grid p,
.status-board p {
  margin-top: 14px;
  color: var(--muted);
  line-height: 1.76;
}

.product-panel {
  background:
    linear-gradient(180deg, rgba(236, 255, 251, 0.94), rgba(201, 244, 238, 0.92)),
    linear-gradient(80deg, rgba(242, 184, 75, 0.14), transparent 42%);
  grid-template-columns: minmax(0, 0.72fr) minmax(360px, 0.98fr);
}

.experience-grid {
  display: grid;
  gap: 14px;
}

.experience-grid article {
  background: rgba(255, 255, 255, 0.52);
}

.manifesto-section {
  display: grid;
  align-items: center;
  background:
    radial-gradient(ellipse at 80% 18%, rgba(242, 184, 75, 0.18), transparent 34%),
    linear-gradient(180deg, #07637c 0%, #053955 62%, #041e30 100%);
  color: var(--white);
}

.manifesto-copy {
  max-width: 1040px;
}

.manifesto-copy h2 {
  max-width: 900px;
}

.manifesto-copy p:last-child {
  max-width: 820px;
  color: rgba(255, 250, 242, 0.72);
}

.status-section {
  display: grid;
  align-content: center;
  gap: 28px;
  background:
    linear-gradient(180deg, rgba(184, 236, 237, 0.96), rgba(232, 252, 245, 0.94) 58%, rgba(231, 185, 109, 0.48) 100%);
}

.status-pulse-canvas {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0.86;
}

.status-lifesign {
  position: absolute;
  top: 18%;
  right: max(36px, calc((100vw - var(--content-max)) / 2 + 12px));
  z-index: 2;
  width: 230px;
  height: 230px;
  pointer-events: none;
  filter: drop-shadow(0 18px 26px rgba(5, 70, 82, 0.18));
}

.lifesign-core,
.lifesign-ring,
.lifesign-bubble {
  position: absolute;
  display: block;
  border-radius: 999px;
}

.lifesign-core {
  left: 50%;
  top: 55%;
  width: 58px;
  height: 58px;
  background:
    radial-gradient(circle at 34% 28%, rgba(255, 250, 242, 0.98), rgba(255, 227, 129, 0.86) 28%, rgba(28, 173, 158, 0.68) 62%, rgba(7, 80, 98, 0.08) 100%);
  border: 3px solid rgba(6, 58, 83, 0.36);
  box-shadow:
    0 0 0 8px rgba(116, 245, 231, 0.16),
    0 0 34px rgba(255, 223, 116, 0.42);
  transform: translate(-50%, -50%);
  animation: lifesign-core-pulse 2400ms ease-in-out infinite;
}

.lifesign-ring {
  left: 50%;
  top: 55%;
  width: 72px;
  height: 34px;
  border: 2px solid rgba(6, 92, 107, 0.28);
  background: rgba(116, 245, 231, 0.06);
  transform: translate(-50%, -50%) rotate(-7deg) scale(0.72);
  animation: lifesign-ring-pulse 3600ms ease-out infinite;
}

.lifesign-ring.ring-two {
  animation-delay: 900ms;
  border-color: rgba(201, 133, 43, 0.26);
}

.lifesign-ring.ring-three {
  animation-delay: 1800ms;
  border-color: rgba(255, 250, 242, 0.34);
}

.lifesign-bubble {
  left: 50%;
  top: 55%;
  width: var(--bubble-size, 22px);
  height: var(--bubble-size, 22px);
  border: 2px solid rgba(6, 58, 83, 0.18);
  background:
    radial-gradient(circle at 34% 28%, rgba(255, 255, 255, 0.95), rgba(116, 245, 231, 0.42) 42%, rgba(255, 250, 242, 0.1) 72%, rgba(255, 250, 242, 0) 100%);
  box-shadow: 0 0 16px rgba(116, 245, 231, 0.22);
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.34);
  animation: lifesign-bubble-rise 4200ms ease-in-out infinite;
}

.lifesign-bubble.bubble-a {
  --bubble-size: 28px;
  --bubble-x: -78px;
  --bubble-y: -128px;
}

.lifesign-bubble.bubble-b {
  --bubble-size: 18px;
  --bubble-x: -22px;
  --bubble-y: -154px;
  animation-delay: 620ms;
}

.lifesign-bubble.bubble-c {
  --bubble-size: 34px;
  --bubble-x: 62px;
  --bubble-y: -118px;
  animation-delay: 1240ms;
}

.lifesign-bubble.bubble-d {
  --bubble-size: 16px;
  --bubble-x: 92px;
  --bubble-y: -172px;
  animation-delay: 1840ms;
}

.status-copy {
  max-width: 900px;
}

.status-board {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.status-board article {
  background: rgba(255, 250, 242, 0.7);
  backdrop-filter: blur(12px);
}

.download-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px;
  background:
    linear-gradient(135deg, rgba(5, 36, 53, 0.95), rgba(9, 95, 118, 0.92));
  color: var(--white);
  border-radius: var(--radius);
}

.download-panel p {
  margin-top: 7px;
  color: rgba(255, 250, 242, 0.72);
}

.site-footer {
  position: relative;
  overflow: hidden;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 72px max(24px, calc((100vw - var(--content-max)) / 2)) 42px;
  background:
    radial-gradient(ellipse at 16% 10%, rgba(255, 250, 242, 0.22), transparent 28%),
    linear-gradient(180deg, #075f77 0%, #1e8490 22%, var(--sand) 54%, var(--sand-deep) 100%);
  color: #fff8e6;
  border-top: 1px solid rgba(255, 250, 242, 0.18);
}

.site-footer::before {
  content: "";
  position: absolute;
  left: -8%;
  right: -8%;
  top: -28px;
  height: 78px;
  background:
    radial-gradient(ellipse at 8% 70%, rgba(255, 230, 160, 0.96) 0 14%, transparent 15%),
    radial-gradient(ellipse at 28% 58%, rgba(244, 202, 124, 0.94) 0 20%, transparent 21%),
    radial-gradient(ellipse at 48% 72%, rgba(255, 230, 160, 0.96) 0 18%, transparent 19%),
    radial-gradient(ellipse at 70% 54%, rgba(244, 202, 124, 0.94) 0 21%, transparent 22%),
    radial-gradient(ellipse at 90% 68%, rgba(255, 230, 160, 0.96) 0 16%, transparent 17%);
  opacity: 0.9;
}

.site-footer > * {
  position: relative;
  z-index: 1;
}

.site-footer p {
  margin-top: 12px;
  color: rgba(255, 250, 242, 0.64);
}

.footer-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
  color: rgba(255, 250, 242, 0.78);
}

html.legal-document {
  scroll-padding-top: 0;
  scroll-snap-type: none;
  overscroll-behavior-y: auto;
}

.legal-page {
  min-height: 100vh;
  background:
    radial-gradient(circle at 12% 0%, rgba(131, 239, 215, 0.52), transparent 28%),
    radial-gradient(circle at 86% 8%, rgba(255, 246, 216, 0.72), transparent 26%),
    linear-gradient(180deg, #e7fbf7 0%, #f7f0d2 46%, #fbf7ed 100%);
  color: var(--ink);
}

.legal-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 64px;
  padding: 0 max(22px, calc((100vw - 1180px) / 2));
  background: rgba(5, 54, 75, 0.88);
  color: rgba(255, 250, 242, 0.94);
  border-bottom: 1px solid rgba(255, 250, 242, 0.18);
  backdrop-filter: blur(20px);
}

.legal-nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 16px;
  font-size: 0.86rem;
  color: rgba(255, 250, 242, 0.76);
}

.legal-nav a {
  padding: 8px 0;
}

.legal-nav a[aria-current="page"] {
  color: var(--white);
  font-weight: 800;
}

.legal-main {
  width: min(1180px, calc(100% - 44px));
  margin: 0 auto;
  padding: 86px 0 80px;
}

.legal-hero {
  max-width: 920px;
  padding-bottom: 44px;
}

.legal-hero h1 {
  max-width: 760px;
  margin-top: 12px;
  color: var(--ink-2);
  font-size: 5.2rem;
  line-height: 0.95;
  text-shadow: 3px 4px 0 rgba(35, 119, 232, 0.1);
}

.legal-effective {
  margin-top: 18px;
  color: var(--muted);
  font-weight: 800;
}

.legal-summary {
  max-width: 780px;
  margin-top: 18px;
  color: #244d5c;
  font-size: 1.1rem;
  line-height: 1.7;
}

.legal-layout {
  display: grid;
  grid-template-columns: minmax(230px, 300px) minmax(0, 1fr);
  gap: 36px;
  align-items: start;
}

.legal-sidebar {
  position: sticky;
  top: 86px;
  padding: 22px;
  background: rgba(255, 250, 242, 0.74);
  border: 1px solid rgba(4, 62, 84, 0.14);
  border-radius: var(--radius);
  box-shadow: 0 20px 60px rgba(2, 70, 92, 0.1);
}

.legal-sidebar dl,
.legal-sidebar dd {
  margin: 0;
}

.legal-sidebar dl {
  display: grid;
  gap: 18px;
}

.legal-sidebar dt {
  margin-bottom: 5px;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.legal-sidebar dd {
  color: var(--ink-2);
  font-size: 0.95rem;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.legal-sidebar a,
.legal-article a,
.legal-footer a {
  color: #075c78;
  font-weight: 800;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.legal-article {
  padding: 42px;
  background: rgba(255, 250, 242, 0.76);
  border: 1px solid rgba(4, 62, 84, 0.12);
  border-radius: var(--radius);
  box-shadow: 0 28px 90px rgba(2, 70, 92, 0.12);
}

.legal-article h2 {
  margin-top: 42px;
  color: var(--ink-2);
  font-size: 1.38rem;
  line-height: 1.25;
}

.legal-article h2:first-child {
  margin-top: 0;
}

.legal-article p,
.legal-article li {
  color: #244d5c;
  font-size: 1rem;
  line-height: 1.72;
}

.legal-article p {
  margin-top: 12px;
}

.legal-article ul,
.legal-article ol {
  margin: 14px 0 0;
  padding-left: 22px;
}

.legal-article li + li {
  margin-top: 8px;
}

.legal-article hr {
  height: 1px;
  margin: 44px 0;
  background: rgba(4, 62, 84, 0.14);
  border: 0;
}

.legal-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 18px 26px;
  padding: 32px 24px 48px;
  color: var(--muted);
}

.reveal {
  opacity: 1;
  transform: translateY(0);
}

.js .reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 620ms ease, transform 620ms ease;
}

.js .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes brand-mark-shimmer {
  0%,
  100% {
    transform: translate3d(-14%, 0, 0) rotate(0deg);
    opacity: 0.62;
  }

  50% {
    transform: translate3d(12%, -4%, 0) rotate(3deg);
    opacity: 0.95;
  }
}

@keyframes brand-lid-open {
  0%,
  100% {
    transform: translateY(0) rotate(-3deg);
  }

  42%,
  68% {
    transform: translate(-1px, -3px) rotate(-24deg);
  }
}

@keyframes brand-bubble-rise {
  0%,
  18% {
    opacity: 0;
    transform: translate3d(0, 3px, 0) scale(0.62);
  }

  36% {
    opacity: 0.92;
  }

  68% {
    opacity: 0.78;
    transform: translate3d(var(--bubble-drift, 2px), -9px, 0) scale(1);
  }

  100% {
    opacity: 0;
    transform: translate3d(var(--bubble-return-drift, -2px), -16px, 0) scale(1.22);
  }
}

@keyframes box-arrival {
  0% {
    opacity: 0.001;
    transform: translateY(26px) scale(0.94) rotateX(7deg);
  }

  62% {
    opacity: 1;
    transform: translateY(-3px) scale(1.012) rotateX(0deg);
  }

  100% {
    opacity: 1;
    transform: translateY(0) scale(1) rotateX(0deg);
  }
}

@keyframes box-glow-bloom {
  0% {
    opacity: 0;
    transform: translate(-50%, -50%) rotate(-6deg) scale(0.42);
    filter: blur(8px);
  }

  34% {
    opacity: 0.9;
  }

  100% {
    opacity: 0.7;
    transform: translate(-50%, -50%) rotate(-6deg) scale(1);
    filter: blur(0);
  }
}

@keyframes box-breathe {
  0%,
  100% {
    transform: translateY(0) scale(1) rotateX(0deg);
  }

  42% {
    transform: translateY(-1.5px) scale(1.003) rotateX(0.4deg);
  }

  62% {
    transform: translateY(-1px) scale(1.001) rotateX(-0.2deg);
  }
}

@keyframes treasure-lid-open {
  0%,
  100% {
    transform: translateY(0) rotateX(0deg) rotate(-1deg);
  }

  38% {
    transform: translateY(-8px) rotateX(-14deg) rotate(-2deg);
  }

  58% {
    transform: translateY(-5px) rotateX(-8deg) rotate(-1deg);
  }
}

@keyframes treasure-lid-cycle {
  0%,
  8%,
  100% {
    transform: translateY(22px) rotateX(2deg) rotate(-1deg);
  }

  20%,
  48% {
    transform: translateY(-28px) rotateX(-36deg) rotate(-2deg);
  }

  64% {
    transform: translateY(12px) rotateX(-2deg) rotate(-1deg);
  }
}

@keyframes treasure-static-bubble-cycle {
  0%,
  8%,
  100% {
    opacity: 0.18;
    transform: translate3d(0, 12px, 0) scale(0.82);
  }

  24%,
  48% {
    opacity: 0.82;
    transform: translate3d(0, -22px, 0) scale(1.08);
  }

  64% {
    opacity: 0.34;
    transform: translate3d(0, 3px, 0) scale(0.9);
  }
}

@keyframes treasure-current-cycle {
  0%,
  8%,
  100% {
    opacity: 0.1;
    transform: translateX(-8%) scaleX(0.82);
  }

  24%,
  48% {
    opacity: 0.34;
    transform: translateX(9%) scaleX(1.08);
  }

  64% {
    opacity: 0.16;
    transform: translateX(2%) scaleX(0.92);
  }
}

@keyframes treasure-spark-cycle {
  0%,
  8%,
  100% {
    opacity: 0.34;
    transform: scale(0.72) rotate(3deg);
  }

  22%,
  46% {
    opacity: 0.86;
    transform: scale(1.12) rotate(12deg);
  }

  62% {
    opacity: 0.46;
    transform: scale(0.84) rotate(8deg);
  }
}

@keyframes treasure-glow-cycle {
  0%,
  8%,
  100% {
    opacity: 0.14;
    transform: translate(-50%, -50%) rotate(-6deg) scale(0.7);
  }

  22%,
  50% {
    opacity: 0.98;
    transform: translate(-50%, -51%) rotate(-6deg) scale(1.28);
  }

  66% {
    opacity: 0.28;
    transform: translate(-50%, -50%) rotate(-6deg) scale(0.86);
  }
}

@keyframes treasure-shadow-cycle {
  0%,
  8%,
  100% {
    opacity: 0.18;
    transform: translate(-50%, -48%) rotateX(70deg) rotate(-7deg) scaleY(0.34);
  }

  22%,
  50% {
    opacity: 0.66;
    transform: translate(-50%, -53%) rotateX(42deg) rotate(-7deg) scaleY(0.92);
  }

  66% {
    opacity: 0.42;
    transform: translate(-50%, -50%) rotateX(58deg) rotate(-7deg) scaleY(0.62);
  }
}

@keyframes treasure-ring-cycle {
  0%,
  8%,
  100% {
    opacity: 0;
    transform: translate(-50%, -50%) rotate(-7deg) scale(0.55);
  }

  28% {
    opacity: 0.58;
    transform: translate(-50%, -55%) rotate(-7deg) scale(1.1);
  }

  62% {
    opacity: 0;
    transform: translate(-50%, -59%) rotate(-7deg) scale(1.48);
  }
}

@keyframes treasure-foreground-bubble-cycle {
  0%,
  8%,
  78%,
  100% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.24);
  }

  22% {
    opacity: 0.92;
    transform: translate(calc(-50% + var(--burst-mid-x, 0px)), calc(-50% + var(--burst-mid-y, -45px))) scale(var(--burst-mid-scale, 0.8));
  }

  48% {
    opacity: 0.78;
    transform: translate(calc(-50% + var(--burst-x, 0px)), calc(-50% + var(--burst-y, -100px))) scale(var(--burst-scale, 1));
  }

  64% {
    opacity: 0.36;
    transform: translate(calc(-50% + var(--burst-x, 0px)), calc(-50% + var(--burst-y, -100px) - 22px)) scale(var(--burst-late-scale, 1.08));
  }
}

@keyframes treasure-bubble-rise {
  0%,
  100% {
    opacity: 0.58;
    transform: translate3d(0, 10px, 0) scale(0.82);
  }

  42% {
    opacity: 0.74;
    transform: translate3d(4px, -8px, 0) scale(0.96);
  }

  72% {
    opacity: 0.5;
    transform: translate3d(-4px, -14px, 0) scale(0.92);
  }
}

@keyframes treasure-current-drift {
  0% {
    opacity: 0;
    transform: translateX(-22%) scaleX(0.72);
  }

  24% {
    opacity: 0.36;
  }

  62% {
    opacity: 0.1;
    transform: translateX(8%) scaleX(1.02);
  }

  100% {
    opacity: 0;
    transform: translateX(12%) scaleX(0.92);
  }
}

@keyframes treasure-spark-twinkle {
  0%,
  100% {
    opacity: 0.32;
    transform: scale(0.72) rotate(0deg);
  }

  44% {
    opacity: 0.72;
    transform: scale(1.02) rotate(8deg);
  }

  68% {
    opacity: 0.42;
    transform: scale(0.86) rotate(12deg);
  }
}

@keyframes box-lid-breathe {
  0%,
  100% {
    opacity: 0.42;
    transform: translate(-50%, -50%) rotateX(68deg) rotate(-7deg) scaleY(0.58);
  }

  42% {
    opacity: 0.58;
    transform: translate(-50%, -51%) rotateX(46deg) rotate(-7deg) scaleY(0.78);
  }

  62% {
    opacity: 0.48;
    transform: translate(-50%, -50.5%) rotateX(56deg) rotate(-7deg) scaleY(0.66);
  }
}

@keyframes box-glow-pulse {
  0%,
  100% {
    opacity: 0.58;
    transform: translate(-50%, -50%) rotate(-6deg) scale(0.88);
  }

  42% {
    opacity: 0.68;
    transform: translate(-50%, -50%) rotate(-6deg) scale(1.03);
  }
}

@keyframes box-breath-ring {
  0%,
  100% {
    opacity: 0;
    transform: translate(-50%, -50%) rotate(-7deg) scale(0.58);
  }

  34% {
    opacity: 0.42;
    transform: translate(-50%, -52%) rotate(-7deg) scale(0.86);
  }

  64% {
    opacity: 0;
    transform: translate(-50%, -54%) rotate(-7deg) scale(1.08);
  }
}

@keyframes box-burst-rise {
  0%,
  18%,
  100% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.25);
  }

  28% {
    opacity: 0.44;
  }

  62% {
    opacity: 0;
    transform: translate(calc(-50% + var(--burst-x, 0px)), calc(-50% - var(--burst-y, 120px))) scale(0.82);
  }
}

.burst-one {
  --burst-x: -32px;
  --burst-y: 58px;
}

.burst-two {
  --burst-x: -13px;
  --burst-y: 70px;
}

.burst-three {
  --burst-x: 15px;
  --burst-y: 62px;
}

.burst-four {
  --burst-x: 32px;
  --burst-y: 48px;
}

.burst-five {
  --burst-x: 2px;
  --burst-y: 82px;
}

@keyframes water-caustics {
  0% {
    background-position: 0 0, 0 0, 0 0;
  }

  100% {
    background-position: 120px 60px, -140px 90px, 0 18px;
  }
}

@keyframes sunlight-drift {
  0% {
    opacity: 0.16;
    transform: translate3d(-10px, 0, 0) rotate(calc(var(--beam-angle, 9deg) - 1deg)) scaleX(0.94);
  }

  45% {
    opacity: 0.28;
  }

  100% {
    opacity: 0.22;
    transform: translate3d(12px, 0, 0) rotate(calc(var(--beam-angle, 9deg) + 1deg)) scaleX(1.02);
  }
}

@keyframes retro-flower-drift {
  0% {
    transform: translate3d(-1px, 0.5px, 0) rotate(calc(var(--flower-rotate, 0deg) - 0.3deg));
  }

  45% {
    transform: translate3d(1.5px, -1px, 0) rotate(calc(var(--flower-rotate, 0deg) + 0.35deg));
  }

  100% {
    transform: translate3d(0.5px, 0.8px, 0) rotate(calc(var(--flower-rotate, 0deg) - 0.2deg));
  }
}

@keyframes seaweed-sway {
  0% {
    transform: rotate(calc(var(--blade-rotate, 0deg) - 0.6deg)) skewX(-0.2deg);
  }

  42% {
    transform: rotate(calc(var(--blade-rotate, 0deg) + 0.9deg)) skewX(0.25deg);
  }

  100% {
    transform: rotate(calc(var(--blade-rotate, 0deg) - 0.2deg)) skewX(-0.15deg);
  }
}

@keyframes section-water-drift {
  0% {
    background-position: 0 0, 0 0, 0 0, 0 0;
  }

  100% {
    background-position: 36px -80px, -60px 70px, 84px -44px, 120px 70px;
  }
}

@keyframes jelly-hover {
  0% {
    transform: translate3d(-1px, 0.5px, 0) rotate(-0.18deg);
  }

  38% {
    transform: translate3d(1.8px, -1.8px, 0) rotate(0.16deg);
  }

  72% {
    transform: translate3d(0.6px, 1px, 0) rotate(-0.12deg);
  }

  100% {
    transform: translate3d(-0.8px, -1.2px, 0) rotate(0.14deg);
  }
}

@keyframes jelly-swim-drift {
  0%,
  100% {
    transform: translate3d(0, 0, 0) rotate(-0.8deg);
  }

  28% {
    transform: translate3d(var(--jelly-swim-a-x, 28px), var(--jelly-swim-a-y, -14px), 0) rotate(1deg);
  }

  58% {
    transform: translate3d(var(--jelly-swim-b-x, 72px), var(--jelly-swim-b-y, 18px), 0) rotate(-0.4deg);
  }

  82% {
    transform: translate3d(var(--jelly-swim-c-x, 36px), var(--jelly-swim-c-y, 30px), 0) rotate(0.7deg);
  }
}

@keyframes jelly-pulse {
  0%,
  100% {
    scale: 1;
  }

  44% {
    scale: 0.996 1.004;
  }

  72% {
    scale: 1.003 0.997;
  }
}

@keyframes lifesign-core-pulse {
  0%,
  100% {
    opacity: 0.84;
    transform: translate(-50%, -50%) scale(0.92);
  }

  46% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.1);
  }
}

@keyframes lifesign-ring-pulse {
  0% {
    opacity: 0;
    transform: translate(-50%, -50%) rotate(-7deg) scale(0.5);
  }

  18% {
    opacity: 0.72;
  }

  100% {
    opacity: 0;
    transform: translate(-50%, -50%) rotate(-7deg) scale(2.35);
  }
}

@keyframes lifesign-bubble-rise {
  0%,
  14% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.32);
  }

  26% {
    opacity: 0.92;
  }

  72% {
    opacity: 0.68;
  }

  100% {
    opacity: 0;
    transform: translate(calc(-50% + var(--bubble-x, 0px)), calc(-50% + var(--bubble-y, -130px))) scale(1);
  }
}

@keyframes jelly-tentacle-wave {
  0% {
    transform: rotate(-0.5deg) translateY(0);
  }

  50% {
    transform: rotate(0.7deg) translateY(0.5px);
  }

  100% {
    transform: rotate(-0.2deg) translateY(0.25px);
  }
}

@keyframes bubble-rise {
  0% {
    transform: translateY(0) translateX(0) scale(0.72);
    opacity: 0;
  }

  12% {
    opacity: 0.42;
  }

  100% {
    transform: translateY(-28vh) translateX(4px) scale(0.94);
    opacity: 0;
  }
}

@media (max-width: 1080px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .nav-links {
    display: none;
  }

  .hero,
  .story-panel,
  .product-panel {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .hero-art {
    justify-items: start;
  }

  h1 {
    font-size: 4.7rem;
  }

  .status-board {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .status-lifesign {
    right: 22px;
    width: 184px;
    height: 184px;
    opacity: 0.82;
  }
}

@media (max-width: 860px) {
  :root {
    --header-height: 64px;
  }

  html {
    scroll-snap-type: none;
  }

  .site-header {
    padding: 0 18px;
    gap: 10px;
  }

  .brand {
    font-size: 0.88rem;
  }

  .brand-mark {
    width: 30px;
    height: 30px;
  }

  .header-actions {
    gap: 8px;
  }

  .language-switcher {
    min-height: 32px;
    padding: 2px;
  }

  .language-switcher button {
    min-width: 34px;
    min-height: 27px;
    padding: 0 7px;
    font-size: 0.7rem;
  }

  .nav-action {
    min-height: 38px;
    padding: 0 12px;
    font-size: 0.78rem;
  }

  .page-dots {
    display: none;
  }

  .hero,
  .story-panel,
  .status-section,
  .manifesto-section {
    min-height: auto;
    padding: 82px 20px 44px;
  }

  .hero {
    gap: 22px;
  }

  h1 {
    font-size: 2.56rem;
    line-height: 0.98;
    text-shadow: 3px 4px 0 rgba(6, 58, 83, 0.24);
  }

  h2 {
    font-size: 2.22rem;
    line-height: 1.16;
  }

  .hero-subtitle,
  .story-copy p,
  .product-copy p,
  .status-copy p,
  .manifesto-copy p:last-child {
    font-size: 0.92rem;
    line-height: 1.54;
  }

  .hero-copy::before {
    inset: -24px -14px -18px -14px;
    width: auto;
    opacity: 0.92;
  }

  .hero-actions {
    gap: 10px;
    margin-top: 20px;
  }

  .live-strip {
    gap: 8px;
    margin-top: 16px;
  }

  .hero-actions,
  .live-strip {
    display: grid;
  }

  .sunbeam {
    min-width: 120px;
    opacity: 0.24;
  }

  .sunbeam-two,
  .sunbeam-three {
    display: none;
  }

  .jellyfish {
    opacity: 0.32;
  }

  .jellyfish-one,
  .jellyfish-three,
  .jellyfish-four {
    display: none;
  }

  .jellyfish-two {
    --jelly-left: 40%;
    --jelly-top: 50%;
    --jelly-opacity: 0.24;
  }

  .retro-flower {
    opacity: 0.18;
  }

  .seaweed-meadow {
    height: 142px;
    opacity: 0.26;
    transform: scale(0.76);
    transform-origin: bottom center;
  }

  .seaweed-left {
    left: -18%;
  }

  .seaweed-center {
    display: none;
  }

  .seaweed-right {
    right: -24%;
  }

  .button {
    width: 100%;
  }

  .hero-opening-stage,
  .hero-art-caption,
  .memory-stage img {
    width: 100%;
  }

  .hero-opening-stage {
    justify-self: center;
    width: min(100%, 330px);
    min-height: min(68vw, 276px);
    margin-top: -16px;
  }

  .treasure-chest {
    width: 76%;
    height: 50%;
    top: 54%;
  }

  .treasure-bubble-one {
    --bubble-size: 48px;
  }

  .treasure-bubble-three {
    --bubble-size: 36px;
  }

  .hero-art-caption {
    display: none;
  }

  .scroll-cue {
    display: none;
  }

  .memory-stage {
    min-height: auto;
  }

  .flow-steps,
  .status-board {
    grid-template-columns: 1fr;
  }

  .status-lifesign {
    top: auto;
    right: 18px;
    bottom: 148px;
    width: 116px;
    height: 116px;
    opacity: 0.72;
  }

  .lifesign-core {
    width: 36px;
    height: 36px;
    border-width: 2px;
  }

  .lifesign-bubble {
    width: calc(var(--bubble-size, 22px) * 0.7);
    height: calc(var(--bubble-size, 22px) * 0.7);
    border-width: 1px;
  }

  .lifesign-bubble.bubble-c,
  .lifesign-bubble.bubble-d {
    display: none;
  }

  .flow-steps article {
    min-height: auto;
  }

  .download-panel,
  .site-footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-links {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 860px) {
  .legal-header {
    position: static;
    flex-direction: column;
    align-items: flex-start;
    padding: 16px 20px;
  }

  .legal-nav {
    justify-content: flex-start;
    gap: 12px 16px;
  }

  .legal-main {
    width: min(100% - 32px, 720px);
    padding: 48px 0 56px;
  }

  .legal-hero {
    padding-bottom: 28px;
  }

  .legal-hero h1 {
    font-size: 2.8rem;
    line-height: 1;
  }

  .legal-summary {
    font-size: 1rem;
    line-height: 1.62;
  }

  .legal-layout {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .legal-sidebar {
    position: static;
    padding: 18px;
  }

  .legal-article {
    padding: 24px 20px;
  }

  .legal-article h2 {
    margin-top: 34px;
    font-size: 1.18rem;
  }

  .legal-article p,
  .legal-article li {
    font-size: 0.95rem;
    line-height: 1.66;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 1ms !important;
    scroll-behavior: auto !important;
    transition-duration: 1ms !important;
  }
}

html.hero-motion-live .hero-opening-stage .code-treasure,
html.hero-motion-live .hero-opening-stage .treasure-lid,
html.hero-motion-live .hero-opening-stage .treasure-bubble,
html.hero-motion-live .hero-opening-stage .treasure-current,
html.hero-motion-live .hero-opening-stage .treasure-spark,
html.hero-motion-live .hero-opening-stage .box-open-glow,
html.hero-motion-live .hero-opening-stage .box-breath-ring,
html.hero-motion-live .hero-opening-stage .box-burst-bubble,
html.hero-motion-live .hero-opening-stage::before {
  animation: none !important;
}

html.hero-motion-live .hero-opening-stage .code-treasure {
  transition-duration: 900ms !important;
}

html.hero-motion-live .hero-opening-stage .treasure-lid {
  transition-duration: 860ms !important;
}

html.hero-motion-live .hero-opening-stage .treasure-bubble,
html.hero-motion-live .hero-opening-stage .treasure-current {
  transition-duration: 1200ms !important;
}

html.hero-motion-live .hero-opening-stage .treasure-spark {
  transition-duration: 820ms !important;
}

html.hero-motion-live .hero-opening-stage .box-open-glow,
html.hero-motion-live .hero-opening-stage::before {
  transition-duration: 980ms !important;
}

html.hero-motion-live .hero-opening-stage .box-breath-ring,
html.hero-motion-live .hero-opening-stage .box-burst-bubble {
  transition-duration: 1500ms !important;
}

html.hero-motion-live .undersea-life .jellyfish {
  animation:
    jelly-swim-drift var(--jelly-duration, 28s) ease-in-out var(--jelly-delay, 0ms) infinite,
    jelly-pulse 16s ease-in-out var(--jelly-pulse-delay, 0ms) infinite !important;
  will-change: transform;
}

html.hero-motion-live .undersea-life .jelly-tentacle {
  animation: jelly-tentacle-wave var(--tentacle-duration, 30s) ease-in-out var(--tentacle-delay, 0ms) infinite !important;
  will-change: transform;
}
