:root {
  --launch-ink: #102d31;
  --launch-muted: #5b7071;
  --launch-paper: #eef1e7;
  --launch-teal: #1a6670;
  --launch-line: rgba(16, 45, 49, .16);
}

.launch-page { display: none; }
.public-landing body > :not(.launch-page):not(script) { display: none !important; }
.public-landing .launch-page { display: flex; }

.launch-page {
  min-height: 100svh;
  flex-direction: column;
  overflow: hidden;
  color: var(--launch-ink);
  background:
    radial-gradient(circle at 75% 18%, rgba(147, 211, 202, .48), transparent 32rem),
    linear-gradient(145deg, #f4f2e8 0%, var(--launch-paper) 52%, #d7e7df 100%);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", sans-serif;
}

.launch-page *, .launch-page *::before, .launch-page *::after { box-sizing: border-box; }
.launch-page a { color: inherit; }

.launch-nav, .launch-footer {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.launch-nav { min-height: 82px; border-bottom: 1px solid var(--launch-line); }
.launch-nav > div, .launch-footer nav { display: flex; gap: 24px; }
.launch-nav a, .launch-footer a { text-decoration: none; font-size: .9rem; font-weight: 620; }
.launch-nav a:hover, .launch-footer a:hover, .tank-preview-link:hover { opacity: .66; }
.launch-brand { display: inline-flex; align-items: center; gap: 10px; font-size: 1.05rem !important; letter-spacing: -.02em; }
.launch-brand img { width: 34px; height: 34px; border-radius: 10px; }

.launch-main {
  width: min(1180px, calc(100% - 40px));
  flex: 1;
  margin: auto;
  padding: clamp(52px, 8vw, 112px) 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, .78fr);
  align-items: center;
  gap: clamp(48px, 8vw, 120px);
}

.launch-kicker {
  margin: 0 0 18px;
  color: var(--launch-teal);
  font-size: .76rem;
  font-weight: 760;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.launch-copy h1 {
  margin: 0;
  max-width: 8ch;
  font: 500 clamp(4.6rem, 10vw, 8.4rem)/.82 Georgia, "Times New Roman", serif;
  letter-spacing: -.075em;
}

.launch-lede {
  max-width: 31rem;
  margin: 32px 0 0;
  color: var(--launch-muted);
  font-size: clamp(1.08rem, 2vw, 1.28rem);
  line-height: 1.55;
}

.launch-actions { display: flex; align-items: center; gap: 22px; margin-top: 36px; flex-wrap: wrap; }
.store-badge {
  min-width: 194px;
  padding: 10px 18px 11px;
  display: grid;
  border-radius: 13px;
  color: #fff;
  background: #101414;
  box-shadow: 0 12px 30px rgba(10, 30, 33, .16);
  cursor: not-allowed;
}
.store-badge small { font-size: .65rem; line-height: 1.1; letter-spacing: .02em; }
.store-badge strong { font-size: 1.16rem; line-height: 1.2; letter-spacing: -.02em; }
.tank-preview-link { padding: 12px 2px; font-weight: 700; text-decoration: none; transition: opacity .2s ease; }
.launch-note { max-width: 34rem; margin: 16px 0 0; color: var(--launch-muted); font-size: .78rem; line-height: 1.5; }

.launch-portrait {
  position: relative;
  aspect-ratio: 4 / 5;
  max-height: 620px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.65);
  border-radius: clamp(30px, 5vw, 58px);
  background: linear-gradient(180deg, #92d7d0 0%, #5ba9ad 48%, #286f7b 100%);
  box-shadow: 0 38px 90px rgba(21, 66, 69, .22), inset 0 1px rgba(255,255,255,.7);
}
.launch-portrait::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 26% 18%, rgba(255,255,255,.45), transparent 28%), linear-gradient(115deg, transparent 0 35%, rgba(255,255,255,.12) 36% 43%, transparent 44%);
}
.launch-portrait > img {
  position: absolute;
  z-index: 2;
  width: 44%;
  left: 28%;
  top: 37%;
  filter: drop-shadow(0 18px 24px rgba(10, 52, 60, .26));
  animation: launch-swim 5.5s ease-in-out infinite;
}
.launch-waterline { position: absolute; inset: 11% 0 auto; height: 1px; background: rgba(255,255,255,.34); box-shadow: 0 8px 28px rgba(255,255,255,.28); }
.launch-bubble { position: absolute; z-index: 1; width: 12px; aspect-ratio: 1; border: 1px solid rgba(255,255,255,.62); border-radius: 50%; animation: launch-bubble 6s ease-in infinite; }
.bubble-one { left: 24%; top: 62%; }
.bubble-two { left: 67%; top: 48%; width: 8px; animation-delay: -2s; }
.bubble-three { left: 77%; top: 72%; width: 16px; animation-delay: -4s; }
.launch-ground { position: absolute; inset: auto 0 0; height: 23%; background: linear-gradient(180deg, #d5bb7d, #a88650); }
.launch-ground i { position: absolute; bottom: 45%; width: 8px; height: 70%; border-radius: 100% 0 100% 0; background: #225f53; transform-origin: bottom; animation: launch-sway 4s ease-in-out infinite alternate; }
.launch-ground i:nth-child(1) { left: 11%; height: 100%; }
.launch-ground i:nth-child(2) { left: 18%; height: 76%; animation-delay: -1s; }
.launch-ground i:nth-child(3) { right: 14%; height: 110%; animation-delay: -2s; }
.launch-ground i:nth-child(4) { right: 24%; height: 74%; animation-delay: -3s; }
.launch-ground i:nth-child(5) { left: 52%; height: 52%; animation-delay: -1.5s; }

.launch-footer { min-height: 72px; border-top: 1px solid var(--launch-line); color: var(--launch-muted); font-size: .82rem; }

@keyframes launch-swim { 0%,100% { transform: translate(-3%, 0) rotate(-1deg); } 50% { transform: translate(4%, -4%) rotate(1deg); } }
@keyframes launch-bubble { 0% { transform: translateY(90px) scale(.7); opacity: 0; } 20% { opacity: .75; } 100% { transform: translateY(-180px) scale(1.2); opacity: 0; } }
@keyframes launch-sway { from { transform: rotate(-5deg); } to { transform: rotate(7deg); } }

@media (max-width: 820px) {
  .launch-main { grid-template-columns: 1fr; padding-top: 52px; }
  .launch-copy h1 { font-size: clamp(4.3rem, 22vw, 7rem); }
  .launch-portrait { width: min(100%, 480px); justify-self: center; }
}

@media (max-width: 540px) {
  .launch-nav, .launch-footer, .launch-main { width: min(100% - 28px, 1180px); }
  .launch-nav > div a:first-child { display: none; }
  .launch-main { gap: 44px; }
  .launch-actions { align-items: stretch; flex-direction: column; }
  .store-badge, .tank-preview-link { width: 100%; }
  .tank-preview-link { text-align: center; }
  .launch-footer { align-items: flex-start; padding: 20px 0; gap: 12px; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  .launch-portrait > img, .launch-bubble, .launch-ground i { animation: none; }
}

@media (prefers-color-scheme: dark) {
  :root { --launch-ink: #eef6f2; --launch-muted: #b1c6c3; --launch-paper: #102b2f; --launch-line: rgba(226, 244, 240, .17); }
  .launch-page { background: radial-gradient(circle at 75% 18%, rgba(36, 109, 106, .42), transparent 32rem), linear-gradient(145deg, #0c2226 0%, #102b2f 52%, #173f3e 100%); }
}
