:root {
  --bg-deep: #05111f;
  --bg-ocean: #0d2f53;
  --bg-top: #133f67;
  --panel: rgba(10, 27, 48, 0.7);
  --panel-strong: rgba(8, 22, 40, 0.88);
  --card: rgba(255, 255, 255, 0.05);
  --line: rgba(164, 217, 255, 0.16);
  --text: #eef8ff;
  --muted: rgba(238, 248, 255, 0.72);
  --accent: #7de4d6;
  --accent-strong: #d5fff0;
  --gold: #f4cb7e;
  --shadow: 0 26px 90px rgba(1, 10, 24, 0.48);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--text);
  font-family: "Manrope", "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 18% 15%, rgba(130, 237, 255, 0.16), transparent 22%),
    radial-gradient(circle at 80% 10%, rgba(125, 228, 214, 0.12), transparent 18%),
    linear-gradient(180deg, #184c79 0%, var(--bg-ocean) 28%, var(--bg-deep) 84%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.45;
  background-image:
    radial-gradient(circle at 20% 25%, rgba(255, 255, 255, 0.95) 0 1px, transparent 2px),
    radial-gradient(circle at 72% 18%, rgba(255, 255, 255, 0.8) 0 1px, transparent 2px),
    radial-gradient(circle at 34% 72%, rgba(255, 255, 255, 0.75) 0 1px, transparent 2px),
    radial-gradient(circle at 88% 64%, rgba(255, 255, 255, 0.65) 0 1px, transparent 2px);
  background-size: 220px 220px, 280px 280px, 300px 300px, 360px 360px;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.2;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), transparent 12%, transparent 88%, rgba(255, 255, 255, 0.04)),
    repeating-linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.02) 0,
      rgba(255, 255, 255, 0.02) 1px,
      transparent 1px,
      transparent 80px
    );
}

.page-shell {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 24px 0 72px;
}

.topbar,
.hero,
.feature-strip,
.highlights,
.creatures,
.story,
.specs,
.privacy,
.cta,
.footer {
  position: relative;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 8px 0 26px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  text-decoration: none;
  font-weight: 800;
  letter-spacing: 0.01em;
}

.brand__icon {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  box-shadow: 0 14px 34px rgba(3, 14, 36, 0.32);
}

.topbar__nav {
  display: inline-flex;
  gap: 22px;
}

.topbar__nav a,
.footer__links a {
  color: var(--muted);
  text-decoration: none;
}

.topbar__nav a:hover,
.footer__links a:hover {
  color: var(--text);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  text-decoration: none;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

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

.button--primary {
  color: #0b1834;
  background: linear-gradient(135deg, var(--accent-strong), var(--accent));
  box-shadow: 0 14px 38px rgba(125, 228, 214, 0.28);
}

.button--secondary,
.button--ghost {
  color: var(--text);
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.04);
}

.button--ghost {
  min-height: 42px;
  padding: 0 16px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(340px, 500px);
  gap: 56px;
  align-items: center;
  padding: 42px 0 72px;
}

.eyebrow,
.feature-card__tag,
.highlight-card__eyebrow {
  margin: 0 0 14px;
  color: var(--accent);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.75rem;
  font-weight: 800;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Fraunces", Georgia, serif;
  font-weight: 500;
  line-height: 0.98;
}

h1 {
  max-width: 9ch;
  font-size: clamp(3.9rem, 8.2vw, 6.4rem);
}

h2 {
  font-size: clamp(2.1rem, 4vw, 3.4rem);
}

h3 {
  font-size: 1.6rem;
}

p {
  margin: 0;
  line-height: 1.75;
}

.hero__lede,
.section-heading p,
.feature-card p,
.highlight-card p,
.story__panel p,
.story__quote span,
.privacy__copy p,
.cta p,
.creature-card p,
.spec-card span {
  color: var(--muted);
}

.hero__lede {
  max-width: 58ch;
  margin-top: 24px;
  font-size: 1.08rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.hero__stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 30px;
}

.hero__stats article {
  padding: 18px 18px 16px;
  border-radius: 24px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(14px);
}

.hero__stats strong,
.spec-card strong {
  display: block;
  font-size: 1.8rem;
  line-height: 1;
}

.hero__stats span {
  display: inline-block;
  margin-top: 8px;
  color: var(--muted);
}

.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding: 0;
  margin: 26px 0 0;
  list-style: none;
}

.hero__meta li {
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  font-size: 0.94rem;
}

.hero__visual {
  position: relative;
  min-height: 740px;
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(18px);
}

.hero-glow--one {
  inset: 8% auto auto 10%;
  width: 220px;
  height: 220px;
  background: rgba(124, 221, 255, 0.14);
}

.hero-glow--two {
  inset: auto 4% 7% auto;
  width: 240px;
  height: 240px;
  background: rgba(125, 228, 214, 0.18);
}

.phone {
  position: absolute;
  inset: 18px 22px 22px auto;
  width: min(430px, 100%);
  aspect-ratio: 0.49;
  padding: 14px;
  border-radius: 44px;
  background: linear-gradient(180deg, rgba(250, 254, 255, 0.98), rgba(204, 221, 240, 0.85));
  box-shadow: var(--shadow);
}

.phone__frame {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 1px solid rgba(255, 255, 255, 0.42);
}

.phone__notch {
  position: absolute;
  top: 14px;
  left: 50%;
  width: 126px;
  height: 30px;
  transform: translateX(-50%);
  border-radius: 0 0 18px 18px;
  background: #0f1828;
  z-index: 3;
}

.phone__screen {
  position: relative;
  height: 100%;
  overflow: hidden;
  border-radius: 30px;
  background: linear-gradient(180deg, #ffd58f 0%, #efc06f 26%, #8ec9df 58%, #115180 100%);
}

.widget-card {
  position: absolute;
  top: 54px;
  left: 18px;
  right: 18px;
  display: grid;
  grid-template-columns: 112px 1fr;
  align-items: center;
  gap: 16px;
  padding: 18px 18px 16px;
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(33, 72, 120, 0.96), rgba(17, 48, 89, 0.9));
  box-shadow: 0 16px 50px rgba(10, 21, 44, 0.35);
  z-index: 2;
}

.widget-card__fish {
  width: 110px;
  justify-self: center;
  filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.18));
  animation: drift 7s ease-in-out infinite;
}

.widget-card__stats {
  display: grid;
  gap: 6px;
}

.widget-card__steps {
  font-size: clamp(2rem, 4vw, 2.8rem);
  line-height: 1;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.widget-card__label,
.widget-card__goal {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.72rem;
  color: rgba(239, 247, 255, 0.82);
}

.widget-card__bar {
  width: 100%;
  height: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
}

.widget-card__bar span {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #79efe1, #7fd0ff);
}

.ocean-layers {
  position: absolute;
  inset: 0;
}

.ocean-layer {
  position: absolute;
}

.ocean-layer--glow {
  inset: 0;
  background:
    radial-gradient(circle at 22% 18%, rgba(255, 255, 255, 0.28), transparent 18%),
    radial-gradient(circle at 76% 22%, rgba(255, 255, 255, 0.16), transparent 22%);
}

.ocean-layer--sunrise {
  inset: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.1), transparent 42%),
    radial-gradient(circle at 30% 0%, rgba(255, 236, 196, 0.62), transparent 32%);
}

.ocean-layer--sand {
  left: -16%;
  bottom: -2%;
  width: 86%;
  height: 74%;
  border-radius: 54% 46% 0 0;
  background: linear-gradient(180deg, #f4c57c, #f4dfad);
}

.ocean-layer--reef {
  right: -16%;
  bottom: -4%;
  width: 78%;
  height: 72%;
  border-radius: 60% 0 0 0;
  background: linear-gradient(180deg, rgba(138, 171, 118, 0.92), rgba(15, 90, 146, 0.96));
}

.floaty {
  position: absolute;
  filter: drop-shadow(0 14px 28px rgba(9, 25, 51, 0.16));
}

.floaty--jellyfish {
  right: 26px;
  top: 244px;
  width: 84px;
  opacity: 0.72;
  animation: drift 10s ease-in-out infinite;
}

.floaty--seahorse {
  left: 20px;
  bottom: 124px;
  width: 78px;
  opacity: 0.7;
  animation: drift 8.4s ease-in-out infinite 1.1s;
}

.floaty--turtle {
  right: 14px;
  bottom: 80px;
  width: 148px;
  opacity: 0.84;
  animation: drift 11s ease-in-out infinite 0.6s;
}

.screen-copy {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 28px;
  z-index: 2;
}

.screen-copy p {
  font-family: "Fraunces", Georgia, serif;
  font-size: 2rem;
  line-height: 1.02;
  max-width: 7ch;
  color: #0c1b30;
}

.screen-copy span {
  display: block;
  max-width: 25ch;
  margin-top: 10px;
  color: rgba(11, 23, 43, 0.78);
  font-size: 0.95rem;
}

.feature-strip,
.highlights,
.creatures,
.story,
.specs,
.privacy,
.cta {
  margin-top: 26px;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 32px;
  background: var(--panel);
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow);
}

.feature-strip,
.highlight-grid,
.creature-grid,
.spec-grid {
  display: grid;
  gap: 18px;
}

.feature-strip {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.feature-card,
.highlight-card,
.story__panel,
.story__quote,
.creature-card,
.spec-card {
  padding: 24px;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: var(--card);
}

.feature-card h2 {
  font-size: 1.85rem;
  line-height: 1.02;
}

.feature-card p:last-child,
.highlight-card p:last-child,
.creature-card p,
.story__panel p:last-child {
  margin-top: 14px;
}

.section-heading p:last-child {
  max-width: 58ch;
  margin-top: 18px;
}

.highlight-grid {
  margin-top: 28px;
  grid-template-columns: 1.25fr 1fr 1fr;
}

.highlight-card--wide {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) 180px;
  align-items: center;
  gap: 18px;
}

.mini-widget {
  padding: 18px;
  border-radius: 24px;
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.2), transparent 38%),
    linear-gradient(180deg, rgba(59, 122, 177, 0.92), rgba(20, 55, 98, 0.96));
  text-align: left;
  box-shadow: 0 16px 40px rgba(3, 14, 36, 0.24);
}

.mini-widget span,
.mini-widget small {
  display: block;
  color: rgba(238, 248, 255, 0.82);
}

.mini-widget strong {
  display: block;
  margin: 10px 0 6px;
  font-size: 2rem;
}

.creature-grid {
  margin-top: 28px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.creature-card img {
  width: 100%;
  max-width: 160px;
  height: 140px;
  object-fit: contain;
  display: block;
  margin: 0 auto 18px;
  filter: drop-shadow(0 12px 28px rgba(2, 12, 32, 0.26));
}

.creature-card h3 {
  font-size: 1.45rem;
}

.creature-card--accent {
  background:
    radial-gradient(circle at top right, rgba(244, 203, 126, 0.16), transparent 35%),
    rgba(255, 255, 255, 0.05);
}

.story {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 20px;
  align-items: stretch;
}

.story__quote {
  display: grid;
  align-content: end;
  background:
    radial-gradient(circle at top right, rgba(125, 228, 214, 0.14), transparent 34%),
    rgba(255, 255, 255, 0.04);
}

.story__quote p {
  font-family: "Fraunces", Georgia, serif;
  font-size: 2rem;
  line-height: 1.15;
}

.story__quote span {
  display: inline-block;
  margin-top: 16px;
}

.spec-grid {
  margin-top: 24px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.spec-card {
  min-height: 140px;
  display: grid;
  align-content: space-between;
}

.privacy {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.privacy__copy p:last-child {
  max-width: 54ch;
  margin-top: 18px;
}

.privacy__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px;
}

.cta {
  text-align: center;
  background:
    radial-gradient(circle at top center, rgba(125, 228, 214, 0.14), transparent 36%),
    var(--panel-strong);
}

.cta h2 {
  max-width: 12ch;
  margin: 0 auto;
}

.cta p {
  max-width: 56ch;
  margin: 18px auto 0;
}

.cta .button {
  margin-top: 26px;
}

.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 0 0;
  color: var(--muted);
}

.footer strong {
  display: block;
  color: var(--text);
}

.footer__links {
  display: inline-flex;
  gap: 20px;
}

@keyframes drift {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

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

  .hero__visual {
    min-height: 660px;
  }

  .phone {
    position: relative;
    inset: auto;
    margin: 0 auto;
  }

  .feature-strip,
  .highlight-grid,
  .creature-grid,
  .spec-grid,
  .story {
    grid-template-columns: 1fr;
  }

  .highlight-card--wide {
    grid-template-columns: 1fr;
  }

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

  .privacy__actions {
    justify-content: flex-start;
  }
}

@media (max-width: 760px) {
  .page-shell {
    width: min(100% - 24px, 100%);
  }

  .topbar {
    flex-wrap: wrap;
  }

  .topbar__nav {
    order: 3;
    width: 100%;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
  }

  .hero__stats {
    grid-template-columns: 1fr;
  }

  .feature-strip,
  .highlights,
  .creatures,
  .story,
  .specs,
  .privacy,
  .cta {
    padding: 24px;
    border-radius: 26px;
  }

  .phone {
    width: min(100%, 360px);
    border-radius: 36px;
    padding: 12px;
  }

  .phone__screen {
    border-radius: 24px;
  }

  .widget-card {
    grid-template-columns: 80px 1fr;
    gap: 12px;
    padding: 16px;
    border-radius: 20px;
  }

  .widget-card__fish {
    width: 82px;
  }

  .screen-copy p {
    font-size: 1.65rem;
  }

  .hero__meta {
    flex-direction: column;
  }

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