:root {
  color-scheme: light;
  --ocean: #08b7c9;
  --ocean-deep: #075c78;
  --ocean-dark: #062f43;
  --ink: #17251f;
  --cream: #fff0a8;
  --coral: #f54d31;
  --green: #6eb91f;
  --blue: #3f9ad2;
  --violet: #6872c9;
  --paper: #fffbed;
  --shadow: 0 9px 0 rgba(23, 37, 31, 0.88);
  --pixel-border: 4px solid var(--ink);
  --content: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: clip; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: ui-rounded, "SF Pro Rounded", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  line-height: 1.6;
  overflow-x: clip;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
.skip-link { position: fixed; top: 8px; left: 8px; z-index: 99; padding: 10px 14px; background: white; transform: translateY(-150%); }
.skip-link:focus { transform: translateY(0); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(calc(100% - 32px), var(--content));
  margin: 14px auto 0;
  padding: 10px 12px 10px 16px;
  border: 3px solid var(--ink);
  border-radius: 12px;
  background: rgba(255, 251, 237, 0.92);
  box-shadow: 0 5px 0 rgba(23, 37, 31, 0.82);
  backdrop-filter: blur(16px);
}
.brand { display: flex; align-items: center; gap: 11px; text-decoration: none; font-weight: 950; font-size: 20px; letter-spacing: -0.03em; }
.brand img { border-radius: 10px; image-rendering: pixelated; }
.site-nav { display: flex; align-items: center; gap: 22px; }
.site-nav a { text-decoration: none; font-size: 14px; font-weight: 850; }
.site-nav a:hover { color: var(--coral); }
.site-nav .nav-cta { padding: 9px 14px; border: 2px solid var(--ink); border-radius: 7px; background: var(--cream); box-shadow: 0 3px 0 var(--ink); }
.menu-toggle { display: none; border: 0; background: transparent; font: inherit; font-weight: 900; }

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(420px, 0.78fr);
  align-items: center;
  gap: 56px;
  min-height: min(850px, calc(100vh - 78px));
  padding: 82px max(24px, calc((100vw - var(--content)) / 2));
  background:
    linear-gradient(180deg, rgba(8,183,201,0.02), rgba(8,183,201,0.34)),
    url('/assets/ocean-bg.png') center / cover;
  isolation: isolate;
}
.hero::after { content: ""; position: absolute; inset: auto 0 0; height: 180px; background: linear-gradient(transparent, var(--paper)); z-index: -1; }
.hero-copy { max-width: 670px; }
.release-status { display: inline-block; margin: 0 0 24px; padding: 9px 13px; color: var(--cream); border: 3px solid var(--ink); border-radius: 6px; background: var(--ocean-dark); box-shadow: 0 5px 0 var(--ink); font-size: 14px; font-weight: 950; letter-spacing: .03em; }
.hero h1 { margin: 0; color: var(--cream); font-size: clamp(54px, 6.6vw, 94px); line-height: 0.98; letter-spacing: -0.06em; text-shadow: 5px 7px 0 var(--ink); }
.hero-copy > p:not(.release-note) { max-width: 630px; margin: 34px 0 0; font-size: clamp(18px, 1.7vw, 23px); font-weight: 720; line-height: 1.75; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.button { display: inline-flex; min-height: 56px; align-items: center; justify-content: center; padding: 0 24px; border: var(--pixel-border); border-radius: 8px; box-shadow: var(--shadow); text-decoration: none; font-weight: 950; transition: transform .16s ease, box-shadow .16s ease; }
.button:hover { transform: translateY(4px); box-shadow: 0 5px 0 rgba(23,37,31,.88); }
.button-primary { color: #fff; background: var(--coral); }
.button-secondary { background: var(--cream); }
.release-note { margin-top: 24px; font-size: 14px; font-weight: 800; opacity: .72; }
.hero-visual { position: relative; min-height: 690px; display: grid; place-items: center; }
.phone-shot { position: relative; z-index: 3; width: min(420px, 82%); border: 5px solid var(--ink); border-radius: 38px; box-shadow: 20px 25px 0 rgba(6,47,67,.75); }
.hero-fish { position: absolute; z-index: 5; top: 21%; left: -5%; width: 170px; image-rendering: pixelated; filter: drop-shadow(9px 12px 0 rgba(23,37,31,.68)); animation: float 2.8s ease-in-out infinite; }
.flight-readout { position: absolute; z-index: 6; right: -4%; bottom: 18%; width: 230px; padding: 16px 18px; color: white; border: 3px solid var(--ink); border-radius: 8px; background: rgba(6,47,67,.94); box-shadow: 0 7px 0 var(--ink); }
.flight-readout strong, .flight-readout small { display: block; }
.flight-readout span { display: block; height: 10px; margin: 9px 0; border-radius: 99px; background: rgba(255,255,255,.22); overflow: hidden; }
.flight-readout i { display: block; width: 72%; height: 100%; background: var(--cream); }
.pixel-orbit { position: absolute; border: 4px dashed rgba(255,240,168,.8); border-radius: 50%; }
.orbit-one { width: 560px; height: 560px; }
.orbit-two { width: 440px; height: 680px; transform: rotate(22deg); opacity: .45; }

.section { width: min(calc(100% - 40px), var(--content)); margin: 0 auto; padding: 120px 0; }
.section-heading { max-width: 760px; margin-bottom: 60px; }
.section-heading p, .section-label { margin: 0 0 10px; color: var(--ocean-deep); font-weight: 950; font-size: 15px; letter-spacing: .1em; }
.section h2 { margin: 0; font-size: clamp(38px, 5vw, 68px); line-height: 1.08; letter-spacing: -0.05em; }
.loop-track { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; padding: 0; list-style: none; }
.loop-track::before { content: ""; position: absolute; top: 34px; left: 10%; right: 10%; height: 4px; background: var(--ink); }
.loop-track li { position: relative; padding: 0 24px 0 0; }
.loop-track li > span { position: relative; z-index: 2; display: grid; place-items: center; width: 68px; height: 68px; margin-bottom: 25px; color: white; border: 4px solid var(--ink); background: var(--coral); box-shadow: 0 6px 0 var(--ink); font-weight: 950; }
.loop-track h3 { margin: 0 0 9px; font-size: 22px; }
.loop-track p { margin: 0; color: rgba(23,37,31,.72); font-weight: 650; }

.feature-story { padding-top: 40px; }
.feature-row { display: grid; grid-template-columns: minmax(340px,.76fr) minmax(0,1fr); align-items: center; gap: clamp(48px, 8vw, 118px); padding: 90px 0; }
.feature-row + .feature-row { border-top: 3px solid rgba(23,37,31,.18); }
.feature-insights { grid-template-columns: minmax(0,1fr) minmax(340px,.76fr); }
.feature-media { display: flex; justify-content: center; }
.feature-media img { width: min(420px, 90%); border: 5px solid var(--ink); border-radius: 35px; box-shadow: 17px 20px 0 var(--ocean-deep); }
.feature-copy h2 { font-size: clamp(40px, 4.6vw, 64px); }
.feature-copy > p:not(.section-label) { margin: 28px 0; font-size: 19px; font-weight: 650; color: rgba(23,37,31,.75); }
.feature-copy ul { margin: 0; padding: 0; list-style: none; }
.feature-copy li { position: relative; padding: 12px 0 12px 32px; border-bottom: 2px solid rgba(23,37,31,.16); font-weight: 850; }
.feature-copy li::before { content: ""; position: absolute; left: 2px; top: 21px; width: 12px; height: 12px; background: var(--green); box-shadow: 4px 4px 0 var(--ink); }

.worlds { width: 100%; max-width: none; padding-inline: max(24px, calc((100vw - var(--content)) / 2)); color: white; background: var(--ocean-dark); }
.worlds-copy { display: flex; align-items: end; justify-content: space-between; gap: 40px; margin-bottom: 52px; }
.worlds-copy h2 { max-width: 740px; color: var(--cream); }
.worlds-copy p { max-width: 390px; margin: 0; color: rgba(255,255,255,.72); font-weight: 650; }
.world-strip { display: grid; grid-template-columns: repeat(4,1fr); gap: 14px; }
.world { position: relative; display: grid; place-items: center; min-height: 280px; overflow: hidden; border: 4px solid var(--ink); box-shadow: 0 8px 0 #000; }
.world::before { content: ""; position: absolute; inset: 0; background-position: center; background-size: cover; opacity: .72; }
.world img { position: relative; z-index: 2; width: 64%; max-height: 150px; object-fit: contain; image-rendering: pixelated; filter: drop-shadow(9px 12px 0 rgba(0,0,0,.55)); transition: transform .25s ease; }
.world:hover img { transform: translateY(-10px) scale(1.05); }
.world span { position: absolute; z-index: 3; left: 16px; bottom: 12px; font-size: 18px; font-weight: 950; }
.world-ocean::before { background-image: url('/assets/ocean-bg.png'); }
.world-stadium::before { background-image: url('/assets/stadium-bg.png'); }
.world-racing::before { background-image: url('/assets/racing-bg.png'); }
.world-space::before { background-image: url('/assets/space-bg.png'); }

.privacy { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(50px,8vw,120px); }
.privacy-copy > p:not(.section-label) { font-size: 19px; color: rgba(23,37,31,.72); font-weight: 650; }
.privacy-links { display: flex; flex-wrap: wrap; gap: 24px; margin-top: 30px; }
.privacy-links a { color: var(--ocean-deep); font-weight: 900; text-decoration-thickness: 2px; }
.privacy-diagram { padding: 30px; border: var(--pixel-border); background: var(--cream); box-shadow: var(--shadow); }
.privacy-diagram div { display: flex; justify-content: space-between; gap: 20px; padding: 18px; border: 3px solid var(--ink); background: var(--paper); }
.privacy-diagram span { color: var(--ocean-deep); font-weight: 850; }
.privacy-diagram i { display: block; width: 4px; height: 30px; margin: 0 auto; background: var(--ink); }

.faq { display: grid; grid-template-columns: .65fr 1fr; gap: 80px; }
.faq-list { border-top: 3px solid var(--ink); }
.faq details { border-bottom: 3px solid var(--ink); }
.faq summary { padding: 23px 42px 23px 0; cursor: pointer; font-size: 20px; font-weight: 950; }
.faq details p { margin: 0; padding: 0 32px 24px 0; color: rgba(23,37,31,.7); font-weight: 650; }

.final-cta { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 28px; margin-bottom: 100px; padding: 34px; border: var(--pixel-border); background: var(--cream); box-shadow: var(--shadow); }
.final-cta img { border: 3px solid var(--ink); border-radius: 20px; image-rendering: pixelated; }
.final-cta h2 { font-size: clamp(30px,4vw,48px); }
.final-cta p { margin: 5px 0 0; font-weight: 750; }

.site-footer { display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 36px; padding: 34px max(24px, calc((100vw - var(--content)) / 2)); color: white; background: var(--ink); }
.site-footer div { display: flex; flex-direction: column; }
.site-footer div span, .site-footer > span { color: rgba(255,255,255,.6); font-size: 13px; }
.site-footer nav { display: flex; gap: 18px; }
.site-footer a { font-size: 14px; font-weight: 800; }

.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
@keyframes float { 0%,100% { transform: translateY(0) rotate(-2deg); } 50% { transform: translateY(-18px) rotate(2deg); } }

@media (max-width: 960px) {
  .hero { grid-template-columns: 1fr; padding-top: 90px; }
  .hero-copy { max-width: 760px; }
  .hero-visual { min-height: 650px; }
  .loop-track { grid-template-columns: 1fr 1fr; gap: 50px 24px; }
  .loop-track::before { display: none; }
  .feature-row, .feature-insights { grid-template-columns: 1fr 1fr; gap: 44px; }
  .world-strip { grid-template-columns: 1fr 1fr; }
  .privacy { grid-template-columns: 1fr; }
  .faq { grid-template-columns: 1fr; gap: 20px; }
  .final-cta { grid-template-columns: auto 1fr; }
  .final-cta .button { grid-column: 1 / -1; }
  .site-footer { grid-template-columns: 1fr auto; }
  .site-footer nav { grid-row: 2; grid-column: 1 / -1; }
}

@media (max-width: 720px) {
  .site-header { margin-top: 8px; }
  .menu-toggle { display: block; }
  .site-nav { position: absolute; top: calc(100% + 8px); left: 0; right: 0; display: none; align-items: stretch; flex-direction: column; gap: 0; padding: 10px; border: 3px solid var(--ink); border-radius: 10px; background: var(--paper); box-shadow: 0 6px 0 var(--ink); }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: 13px; }
  .site-nav .nav-cta { box-shadow: none; }
  .hero { min-height: 0; padding: 88px 20px 100px; }
  .hero h1 { font-size: clamp(48px,15vw,68px); }
  .hero-copy > p:not(.release-note) { font-size: 17px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-visual { min-height: 570px; }
  .phone-shot { width: min(340px,82%); border-radius: 29px; }
  .hero-fish { left: -2%; width: 120px; }
  .flight-readout { right: 0; width: 190px; }
  .orbit-one { width: 410px; height: 410px; }
  .orbit-two { width: 330px; height: 500px; }
  .section { width: min(calc(100% - 32px), var(--content)); padding: 84px 0; }
  .section-heading { margin-bottom: 42px; }
  .loop-track { grid-template-columns: 1fr; gap: 38px; }
  .feature-row, .feature-insights { display: flex; flex-direction: column; padding: 70px 0; }
  .feature-insights .feature-copy { order: 2; }
  .feature-insights .feature-media { order: 1; }
  .feature-media img { width: min(330px,84vw); border-radius: 28px; }
  .worlds { width: 100%; padding-inline: 16px; }
  .worlds-copy { display: block; }
  .worlds-copy p { margin-top: 22px; }
  .world-strip { grid-template-columns: 1fr 1fr; gap: 10px; }
  .world { min-height: 190px; }
  .privacy-diagram { padding: 15px; }
  .privacy-diagram div { display: block; }
  .privacy-diagram span { display: block; margin-top: 2px; }
  .final-cta { grid-template-columns: 1fr; text-align: center; justify-items: center; margin-bottom: 70px; }
  .site-footer { display: flex; align-items: flex-start; flex-direction: column; gap: 20px; }
  .site-footer nav { flex-wrap: wrap; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
