:root {
  --deep: #03364b;
  --ocean: #007f9d;
  --cyan: #19c6da;
  --sky: #b9f4f4;
  --foam: #f5ffff;
  --lime: #72c84a;
  --sun: #ffcc36;
  --coral: #ff6554;
  --orange: #f18a26;
  --ink: #062e3b;
  --muted: #52717a;
  --line: rgba(6, 46, 59, 0.14);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; overflow-x: hidden; color: var(--ink); background: var(--foam); font-family: Inter, "Segoe UI", Arial, sans-serif; line-height: 1.5; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { color: inherit; font: inherit; }
a, button { -webkit-tap-highlight-color: transparent; }

.hero { position: relative; min-height: 94svh; overflow: hidden; isolation: isolate; color: #fff; background: var(--deep); }
.hero-image { position: absolute; z-index: -2; inset: 0; background: url("assets/screen-1.jpg") 70% 35% / cover no-repeat; transform: scale(1.02); }
.hero::before { content: ""; position: absolute; z-index: -1; inset: 0; background: linear-gradient(90deg, rgba(2,41,56,0.97) 0%, rgba(2,54,71,0.9) 42%, rgba(2,54,71,0.28) 78%, rgba(2,35,47,0.2)), linear-gradient(180deg, rgba(0,0,0,0.1), rgba(2,41,56,0.55)); }
.site-header { width: min(1240px, calc(100% - 48px)); min-height: 84px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.brand { display: inline-flex; align-items: center; gap: 11px; font-size: 0.9rem; font-weight: 950; }
.brand img { width: 42px; height: 42px; border: 2px solid rgba(255,255,255,0.8); border-radius: 8px; object-fit: cover; }
.site-header nav { display: flex; align-items: center; gap: 25px; color: rgba(255,255,255,0.82); font-size: 0.82rem; font-weight: 850; }
.site-header nav a:hover, .site-header nav a:focus-visible { color: #fff; outline: 0; }
.download-link { min-height: 42px; padding: 0 17px; display: inline-flex; align-items: center; border-radius: 4px; color: var(--deep); background: var(--sun); }

.hero-content { width: min(1240px, calc(100% - 48px)); margin: 0 auto; padding: clamp(80px, 12vh, 140px) 0 150px; }
.kicker { margin: 0 0 26px; display: flex; align-items: center; gap: 13px; color: #fff; font-size: 0.78rem; font-weight: 950; text-transform: uppercase; }
.kicker::before { content: ""; width: 12px; height: 12px; border: 3px solid var(--sun); transform: rotate(45deg); }
.hero h1 { width: min(850px, 100%); margin: 0; font-size: clamp(4.7rem, 9.5vw, 9.6rem); font-weight: 950; line-height: 0.77; letter-spacing: 0; text-transform: uppercase; text-shadow: 0 7px 0 rgba(2,41,56,0.18); }
.hero h1::first-line { color: var(--sun); }
.hero-content > p:not(.kicker) { width: min(570px, 100%); margin: 35px 0 0; color: rgba(255,255,255,0.82); font-size: 1.08rem; }
.hero-actions { margin-top: 34px; display: flex; align-items: center; flex-wrap: wrap; gap: 23px; }
.store-button { min-height: 62px; padding: 10px 21px; display: inline-flex; align-items: center; gap: 13px; border-radius: 5px; color: var(--ink); background: #fff; box-shadow: 0 18px 45px rgba(0,0,0,0.24); font-weight: 950; line-height: 1.05; transition: transform 180ms ease; }
.store-button small { display: block; margin-bottom: 4px; color: #53737d; font-size: 0.61rem; }
.store-button:hover, .store-button:focus-visible { transform: translateY(-2px); outline: 0; }
.play-mark { width: 25px; height: 28px; clip-path: polygon(0 0,100% 50%,0 100%); background: linear-gradient(145deg,#2cbd76 0 32%,#3c9df6 32% 58%,#ffd14b 58% 76%,#ef5151 76%); }
.discover-link { padding-bottom: 5px; border-bottom: 1px solid rgba(255,255,255,0.42); font-weight: 850; }
.discover-link span { margin-left: 8px; color: var(--sun); }
.hero-tide { position: absolute; left: 0; right: 0; bottom: 0; min-height: 60px; display: grid; grid-template-columns: repeat(4,1fr); align-items: center; border-top: 1px solid rgba(255,255,255,0.25); background: rgba(0,100,125,0.64); backdrop-filter: blur(12px); font-size: 0.67rem; font-weight: 950; text-align: center; }
.hero-tide span + span { border-left: 1px solid rgba(255,255,255,0.22); }

.route { padding: 125px max(24px, calc((100vw - 1180px) / 2)); background: var(--foam); }
.route-heading { display: grid; grid-template-columns: minmax(280px,0.4fr) minmax(430px,0.6fr); gap: 60px; align-items: end; }
.route-heading .eyebrow { grid-column: 1 / -1; margin-bottom: -30px; }
.eyebrow { margin: 0 0 15px; color: var(--ocean); font-size: 0.72rem; font-weight: 950; text-transform: uppercase; }
.eyebrow.light { color: var(--sun); }
.route h2, .voyage-copy h2, .lookout h2, .download h2 { margin: 0; font-size: clamp(3.2rem, 5.7vw, 6.1rem); font-weight: 950; line-height: 0.94; letter-spacing: 0; }
.route-heading > p:last-child { margin: 0; color: var(--muted); font-size: 1.05rem; }
.route-line { position: relative; margin-top: 80px; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 3px solid var(--cyan); }
.route-line article { position: relative; min-height: 270px; padding: 42px 34px 10px 0; }
.route-line article::before { content: ""; position: absolute; top: -10px; left: 0; width: 16px; height: 16px; border: 2px solid var(--ocean); border-radius: 50%; background: var(--foam); }
.route-line article:nth-child(2)::before { border-color: var(--orange); }
.route-line article:nth-child(3)::before { border-color: var(--lime); }
.route-number { color: var(--coral); font-size: 0.78rem; font-weight: 950; }
.route-line h3 { margin: 38px 0 10px; font-size: 1.5rem; line-height: 1.15; }
.route-line p { margin: 0; color: var(--muted); font-size: 0.94rem; }

.voyage-strip { min-height: 870px; display: grid; grid-template-columns: minmax(200px,0.65fr) minmax(380px,1fr) minmax(200px,0.65fr); align-items: center; overflow: hidden; color: #fff; background: #006e89; }
.voyage-shot { height: 720px; overflow: hidden; }
.voyage-shot img { width: 100%; height: 100%; object-fit: cover; }
.shot-one { transform: translateX(-18%) rotate(-4deg); }
.shot-two { transform: translateX(18%) rotate(4deg); }
.voyage-copy { position: relative; z-index: 2; padding: 80px 5vw; }
.voyage-copy h2 { font-size: clamp(3rem, 5vw, 5.8rem); }
.voyage-copy > p:not(.eyebrow) { margin: 25px 0 0; color: rgba(255,255,255,0.78); }
.voyage-copy ul { margin: 45px 0 0; padding: 0; list-style: none; border-top: 1px solid rgba(255,255,255,0.25); }
.voyage-copy li { min-height: 72px; display: grid; grid-template-columns: 135px 1fr; align-items: center; gap: 18px; border-bottom: 1px solid rgba(255,255,255,0.25); }
.voyage-copy li b { color: var(--sun); }
.voyage-copy li span { color: rgba(255,255,255,0.7); font-size: 0.86rem; }

.lookout { padding: 120px 0 100px; overflow: hidden; background: #f8fbf7; }
.lookout-heading { width: min(1180px, calc(100% - 48px)); margin: 0 auto 58px; display: flex; align-items: end; justify-content: space-between; gap: 30px; }
.lookout-heading > div:first-child { max-width: 790px; }
.lookout-controls { display: flex; gap: 10px; }
.lookout-arrow { width: 52px; height: 52px; border: 1px solid var(--line); border-radius: 50%; background: #fff; cursor: pointer; font-size: 1.25rem; }
.lookout-arrow:hover, .lookout-arrow:focus-visible { color: #fff; border-color: var(--coral); background: var(--coral); outline: 0; }
.lookout-stage { width: min(1500px, calc(100% - 48px)); margin: 0 auto; min-height: 660px; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); align-items: center; gap: 18px; }
.lookout-stage:focus-visible { outline: 2px solid var(--ocean); outline-offset: 7px; }
.lookout-stage figure { position: relative; margin: 0; transition: transform 280ms ease, opacity 280ms ease; }
.lookout-stage figure:not(.is-active) { opacity: 0.58; transform: scale(0.86); }
.lookout-stage figure.is-active { z-index: 2; transform: scale(1.08); }
.lookout-stage img { width: 100%; aspect-ratio: 0.49; object-fit: cover; object-position: top; }
.lookout-stage figcaption { margin-top: 14px; display: flex; gap: 9px; color: var(--muted); font-size: 0.78rem; font-weight: 800; }
.lookout-stage figcaption b { color: var(--coral); }
.lookout-status { width: min(520px, calc(100% - 48px)); margin: 58px auto 0; display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: center; color: var(--muted); font-size: 0.72rem; font-weight: 900; }
.progress { height: 3px; background: #d8e5e4; }
.progress i { display: block; width: 16.66%; height: 100%; background: var(--coral); transition: width 280ms ease; }

.score-band { display: grid; grid-template-columns: repeat(4,1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.score-band div { min-height: 185px; display: grid; place-items: center; align-content: center; text-align: center; }
.score-band div + div { border-left: 1px solid var(--line); }
.score-band strong { font-size: clamp(1.8rem,3vw,3rem); line-height: 1; }
.score-band div:nth-child(1) strong { color: var(--ocean); }
.score-band div:nth-child(2) strong { color: var(--orange); }
.score-band div:nth-child(3) strong { color: var(--lime); }
.score-band div:nth-child(4) strong { color: var(--coral); }
.score-band span { margin-top: 10px; color: var(--muted); font-size: 0.78rem; font-weight: 850; }

.download { position: relative; min-height: 760px; overflow: hidden; display: grid; place-items: center; isolation: isolate; color: #fff; text-align: center; background: var(--deep); }
.download-backdrop { position: absolute; z-index: -2; inset: 0; background: url("assets/screen-4.jpg") center 42% / cover; filter: saturate(0.8); }
.download::after { content: ""; position: absolute; z-index: -1; inset: 0; background: rgba(1,55,72,0.82); }
.download-content { width: min(760px, calc(100% - 36px)); padding: 90px 0; }
.download-content > img { width: 132px; height: 132px; margin: 0 auto 34px; border: 4px solid #fff; border-radius: 10px; box-shadow: 0 22px 48px rgba(0,0,0,0.28); }
.download h2 { font-size: clamp(3.4rem, 7vw, 7.2rem); }
.download-content > p:not(.eyebrow) { margin: 25px auto 0; color: rgba(255,255,255,0.78); font-size: 1.05rem; }
.download .store-button { margin-top: 32px; }
footer { min-height: 98px; padding: 0 max(24px, calc((100vw - 1180px) / 2)); display: flex; align-items: center; justify-content: space-between; gap: 24px; color: var(--muted); background: #fff; font-size: 0.76rem; }
.footer-brand { color: var(--ink); }
footer > a:last-child { color: var(--ocean); font-weight: 900; }

@media (max-width: 1050px) {
  .route-heading { grid-template-columns: 1fr; gap: 24px; }
  .route-heading .eyebrow { grid-column: auto; margin-bottom: 0; }
  .route-heading > p:last-child { max-width: 680px; }
  .voyage-strip { grid-template-columns: 0.55fr 1.2fr 0.55fr; }
  .lookout-stage { grid-template-columns: repeat(6, minmax(190px, 1fr)); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .lookout-stage::-webkit-scrollbar { display: none; }
  .lookout-stage figure { scroll-snap-align: center; opacity: 1 !important; transform: none !important; }
}

@media (max-width: 720px) {
  .hero { min-height: 800px; }
  .hero-image { background-position: 62% center; }
  .hero::before { background: linear-gradient(180deg, rgba(2,41,56,0.88), rgba(2,54,71,0.76)), linear-gradient(90deg, rgba(2,41,56,0.7), transparent); }
  .site-header { width: calc(100% - 28px); min-height: 72px; }
  .brand span { display: none; }
  .site-header nav { gap: 8px; }
  .site-header nav > a:not(.download-link) { display: none; }
  .hero-content { width: calc(100% - 28px); padding: 110px 0 150px; }
  .hero h1 { font-size: clamp(3.7rem, 19vw, 6rem); line-height: 0.82; }
  .hero-content > p:not(.kicker) { font-size: 1rem; }
  .hero-actions { align-items: stretch; }
  .store-button { width: 100%; justify-content: center; }
  .discover-link { width: fit-content; }
  .hero-tide { grid-template-columns: repeat(2,1fr); }
  .hero-tide span:nth-child(n+3) { display: none; }
  .route { padding: 82px 20px; }
  .route h2, .voyage-copy h2, .lookout h2 { font-size: 2.9rem; }
  .route-line { margin-top: 56px; grid-template-columns: 1fr; border-top: 0; border-left: 3px solid var(--cyan); }
  .route-line article { min-height: 180px; padding: 4px 0 35px 32px; }
  .route-line article::before { top: 0; left: -10px; }
  .route-line h3 { margin-top: 22px; }
  .voyage-strip { min-height: auto; grid-template-columns: 1fr; }
  .voyage-shot { height: 420px; }
  .shot-one { transform: translateX(-23%) rotate(-3deg); }
  .shot-two { display: none; }
  .voyage-copy { padding: 72px 20px; }
  .voyage-copy li { grid-template-columns: 110px 1fr; }
  .lookout { padding: 82px 0; }
  .lookout-heading { width: calc(100% - 28px); align-items: flex-end; }
  .lookout-heading .eyebrow { margin-bottom: 12px; }
  .lookout-controls { display: none; }
  .lookout-stage { width: calc(100% - 28px); min-height: auto; grid-template-columns: repeat(6, minmax(235px, 74vw)); gap: 14px; }
  .lookout-stage figure { scroll-snap-align: center; }
  .lookout-status { margin-top: 38px; }
  .score-band { grid-template-columns: repeat(2,1fr); }
  .score-band div { min-height: 140px; }
  .score-band div:nth-child(3) { border-left: 0; border-top: 1px solid var(--line); }
  .score-band div:nth-child(4) { border-top: 1px solid var(--line); }
  .download { min-height: 650px; }
  .download h2 { font-size: 3.3rem; }
  .download-content > img { width: 100px; height: 100px; }
  footer { padding: 28px 20px; flex-direction: column; align-items: flex-start; justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: 0.01ms !important; }
}
