:root {
  --blue: #1d6adf;
  --blue-deep: #1557c0;
  --band: #1a6ed8;
  --ice: #e8f3fb;
  --card: #eef6fc;
  --ink: #1b2430;
  --muted: #4a5868;
  --nav: #e6edf2;
  --line: #d5e2ee;
  --white: #fff;
  --sans: "Plus Jakarta Sans", "Segoe UI", sans-serif;
  --max: 1120px;
  --shadow: 0 24px 50px rgba(22, 52, 84, 0.18);
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: var(--sans);
  font-size: 1.02rem;
  line-height: 1.55;
}

img, svg { display: block; max-width: 100%; }

a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }

:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  background: var(--blue);
  color: white;
  padding: 0.55rem 0.8rem;
  border-radius: 999px;
  z-index: 30;
}
.skip:focus { top: 1rem; }

.wrap {
  width: min(var(--max), calc(100% - 2.4rem));
  margin-inline: auto;
}

h1, h2, h3 { letter-spacing: -0.035em; line-height: 1.12; margin: 0; }
h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); font-weight: 800; }
p { margin: 0; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--nav);
  border-bottom: 1px solid rgba(20, 40, 60, 0.06);
}

.header-inner {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--ink);
  text-decoration: none;
  font-weight: 800;
  font-size: 1.2rem;
  letter-spacing: -0.03em;
}
.brand:hover { text-decoration: none; color: var(--ink); }
.brand img {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  object-fit: cover;
}

.nav {
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.menu { position: relative; }

.menu-btn,
.nav-toggle,
.store-badge,
.btn {
  font: inherit;
  cursor: pointer;
}

.menu-btn {
  border: 0;
  background: transparent;
  color: var(--ink);
  font-weight: 650;
  padding: 0.7rem 0.85rem;
  border-radius: 10px;
}
.menu-btn:hover,
.menu:hover .menu-btn,
.menu-btn[aria-expanded="true"] { background: rgba(255, 255, 255, 0.55); }

.menu-panel {
  display: none;
  position: absolute;
  top: calc(100% - 2px);
  left: 0;
  min-width: 230px;
  padding: 0.45rem;
  background: white;
  border-radius: 14px;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
}
.menu:hover .menu-panel,
.menu:focus-within .menu-panel,
.menu-btn[aria-expanded="true"] + .menu-panel { display: grid; }
.menu-panel a {
  color: var(--ink);
  padding: 0.62rem 0.75rem;
  border-radius: 10px;
  font-weight: 650;
}
.menu-panel a:hover { background: var(--ice); text-decoration: none; }

.nav-cta {
  margin-left: 0.6rem;
  background: white;
  color: var(--ink);
  border: 1px solid #c9d5df;
  border-radius: 999px;
  padding: 0.55rem 0.95rem;
  font-weight: 750;
  text-decoration: none;
}
.nav-cta:hover { text-decoration: none; border-color: var(--blue); color: var(--blue); }

.nav-toggle {
  display: none;
  border: 1px solid #c9d5df;
  background: white;
  border-radius: 999px;
  padding: 0.4rem 0.75rem;
  font-weight: 700;
}

.hero {
  position: relative;
  text-align: center;
  color: white;
  padding: 5.5rem 0 16rem;
  background:
    linear-gradient(180deg, rgba(18, 70, 110, 0.18) 0%, rgba(18, 70, 110, 0.05) 42%, rgba(232, 243, 251, 0) 68%, #e8f3fb 100%),
    url("../assets/ocean.jpg") center 62% / cover no-repeat;
  overflow: hidden;
}
.hero .kicker {
  position: relative;
  display: inline-block;
  margin: 0 0 0.9rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.22);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.hero h1 {
  position: relative;
  max-width: 16ch;
  margin-inline: auto;
  font-size: clamp(2.5rem, 5.4vw, 4.4rem);
  font-weight: 800;
  text-shadow: 0 8px 30px rgba(12, 48, 78, 0.28);
}
.hero .lede {
  position: relative;
  margin: 1.1rem auto 0;
  max-width: 36rem;
  font-size: 1.2rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.95);
}
.hero .store-row { position: relative; justify-content: center; }

.store-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.5rem;
}

.store-badge {
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  gap: 0.7rem;
  min-width: 196px;
  min-height: 54px;
  padding: 0.4rem 1.05rem 0.4rem 0.75rem;
  border: 1px solid #a6a6a6;
  border-radius: 8px;
  background: #000;
  color: #fff;
  text-align: left;
}
.store-logo {
  width: 26px;
  height: 26px;
  flex: none;
}
.store-badge span {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.05;
}
.store-badge small {
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  opacity: 1;
}
.store-badge.play small {
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.store-badge strong {
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: -0.03em;
}
.store-badge:hover { background: #111; }

.band { padding: 5rem 0; }
.band.ice { background: var(--ice); }
.band.blue { background: var(--band); color: white; }
.band.blue h2 { color: white; }
.band h2 { color: var(--blue); margin-bottom: 0.8rem; }
.band .copy p { color: var(--muted); max-width: 36rem; font-size: 1.05rem; }
.band.blue .copy p { color: rgba(255, 255, 255, 0.92); }

.split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 3rem;
  align-items: center;
}
.split.reverse { grid-template-columns: 1.1fr 0.9fr; }
.split.reverse .phone-slot { order: 2; }

.lift { margin-top: -11rem; position: relative; z-index: 2; }

.phone {
  width: 280px;
  height: 560px;
  margin-inline: auto;
  background: #0e1216;
  border-radius: 38px;
  padding: 10px;
  box-shadow: var(--shadow);
}
.screen {
  height: 100%;
  border-radius: 30px;
  overflow: hidden;
  position: relative;
  background: #d7ebe4;
}
.status {
  position: absolute;
  top: 10px;
  left: 16px;
  z-index: 2;
  font-size: 0.75rem;
  font-weight: 750;
  color: #173044;
}

.map-screen { background: #176f9a; }
.coast { position: absolute; inset: 0; width: 100%; height: 100%; }
.spot {
  position: absolute;
  width: 16px;
  height: 16px;
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  background: #e23b3b;
  box-shadow: 0 4px 0 rgba(0, 0, 0, 0.15);
}
.spot.one { left: 46%; top: 42%; background: #1d6adf; }
.spot.two { left: 62%; top: 58%; }
.hud {
  position: absolute;
  left: 12px;
  right: 12px;
  top: 36px;
  background: rgba(255, 255, 255, 0.92);
  border-radius: 12px;
  padding: 0.45rem 0.6rem;
  display: flex;
  justify-content: space-between;
  font-size: 0.72rem;
  font-weight: 700;
  color: #173044;
}
.dock {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 14px;
  display: flex;
  justify-content: space-between;
}
.dock span, .side-btn {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: white;
  display: grid;
  place-items: center;
  font-weight: 800;
  color: #173044;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
}
.side-btn { position: absolute; right: 12px; }

.activity-screen, .forecast-screen, .list-screen, .species-screen, .id-screen, .tools-screen {
  background: #f7fbfe;
  padding: 42px 16px 16px;
  color: #173044;
}
.app-kicker { font-size: 0.75rem; font-weight: 750; color: var(--blue); text-transform: uppercase; letter-spacing: 0.06em; }
.screen h3 { font-size: 1.35rem; margin: 0.2rem 0 0.8rem; }
.bars { display: flex; align-items: end; gap: 6px; height: 180px; }
.bars i {
  display: block;
  flex: 1;
  height: var(--h);
  border-radius: 8px 8px 3px 3px;
  background: #b9d7f5;
}
.bars i.on { background: var(--blue); }
.best, .note {
  margin-top: 1rem;
  background: var(--ice);
  border-radius: 14px;
  padding: 0.75rem 0.8rem;
  font-weight: 700;
}
.tide {
  height: 120px;
  margin-top: 0.4rem;
}
.mini-rows { display: grid; gap: 0.55rem; margin-top: 1rem; }
.mini-rows div {
  display: flex;
  justify-content: space-between;
  background: white;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.55rem 0.7rem;
  font-size: 0.86rem;
  font-weight: 700;
}
.catch {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 0.7rem;
  align-items: center;
  background: white;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0.65rem;
  margin-bottom: 0.55rem;
}
.blob {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: linear-gradient(135deg, #7ec8e3, #1d6adf);
}
.catch b { display: block; }
.catch span { color: var(--muted); font-size: 0.8rem; }
.fish-hero {
  height: 180px;
  border-radius: 18px;
  background:
    radial-gradient(circle at 60% 50%, #f4d35e 0 18px, transparent 19px),
    linear-gradient(160deg, #12324a, #1d6adf);
  margin-bottom: 0.8rem;
}
.meta { display: flex; justify-content: space-between; padding: 0.45rem 0; border-bottom: 1px solid var(--line); font-size: 0.92rem; }
.id-frame {
  height: 230px;
  border-radius: 18px;
  border: 2px dashed #9eb6cc;
  display: grid;
  place-items: center;
  background: #e7f1f8;
  color: var(--muted);
  font-weight: 750;
  margin: 0.4rem 0 0.8rem;
}
.match { background: #e8f8ee; color: #146c43; border-radius: 12px; padding: 0.7rem; font-weight: 750; }
.measure {
  height: 250px;
  border-radius: 18px;
  background: linear-gradient(#8fd0e8, #1d6f9c);
  position: relative;
  margin-top: 0.5rem;
}
.measure i {
  position: absolute;
  left: 18%;
  top: 30%;
  width: 62%;
  height: 2px;
  background: white;
  transform: rotate(18deg);
}
.measure b {
  position: absolute;
  left: 34%;
  top: 46%;
  background: white;
  border-radius: 999px;
  padding: 0.25rem 0.55rem;
  font-size: 0.8rem;
}

.forecast-list { display: grid; gap: 0.8rem; }
.forecast-list article {
  background: var(--card);
  border-radius: 16px;
  padding: 1.05rem 1.1rem 1.1rem;
}
.forecast-list h3 { font-size: 1.2rem; margin-bottom: 0.3rem; }
.forecast-list p { color: var(--muted); }

.center-head { text-align: center; margin-bottom: 2.2rem; }
.center-head p { color: var(--muted); margin-top: 0.6rem; }

.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.6rem 1.2rem;
}
.features article { text-align: center; padding: 0.4rem 0.8rem; }
.features h3 { font-size: 1.12rem; margin: 0.35rem 0 0.35rem; }
.features p { color: var(--muted); font-size: 0.98rem; }
.icon {
  width: 46px;
  height: 46px;
  margin: 0 auto 0.35rem;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: var(--ice);
  color: var(--blue);
}

.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 1rem 0;
  font-weight: 750;
  font-size: 1.08rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--blue); font-size: 1.4rem; }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--muted); padding-bottom: 1rem; max-width: 46rem; }

.get-app { text-align: center; }
.get-app .store-row { justify-content: center; }
.get-app p { color: var(--muted); margin-top: 0.7rem; }

.site-footer {
  background: #f6f8fa;
  border-top: 1px solid var(--line);
  padding: 2.4rem 0 2rem;
}
.footer-grid {
  display: block;
}
.footer-grid h3 { font-size: 0.95rem; margin-bottom: 0.55rem; }
.footer-grid .brand {
  display: flex;
  color: var(--ink);
  margin-bottom: 0.45rem;
}
.footer-grid p { display: block; color: var(--muted); margin: 0.28rem 0; }
.footer-grid p a { color: var(--muted); }
.fine { margin-top: 1.4rem; color: #7b8794; font-size: 0.92rem; }

.soon-dialog {
  width: min(420px, calc(100% - 2rem));
  border: 0;
  border-radius: 20px;
  padding: 1.4rem 1.3rem 1.25rem;
  box-shadow: var(--shadow);
}
.soon-dialog::backdrop { background: rgba(16, 32, 48, 0.55); }
.soon-dialog h2 { color: var(--blue); font-size: 2rem; margin-bottom: 0.4rem; }
.soon-dialog p { color: var(--muted); margin-bottom: 1rem; }
.soon-dialog .btn {
  border: 0;
  background: var(--blue);
  color: white;
  border-radius: 999px;
  min-width: 6.5rem;
  padding: 0.7rem 1rem;
  font-weight: 750;
}

@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    display: none;
    position: absolute;
    top: 72px;
    left: 0.8rem;
    right: 0.8rem;
    flex-direction: column;
    align-items: stretch;
    background: white;
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 0.5rem;
    box-shadow: var(--shadow);
  }
  .nav.open { display: flex; }
  .menu-panel {
    position: static;
    display: grid;
    box-shadow: none;
    border: 0;
    padding: 0 0 0.3rem 0.4rem;
  }
  .menu-btn { width: 100%; text-align: left; }
  .nav-cta { margin: 0.3rem; text-align: center; }
  .split, .split.reverse, .features, .footer-grid { grid-template-columns: 1fr; }
  .split.reverse .phone-slot { order: 0; }
  .lift { margin-top: -4rem; }
  .hero { padding: 3.4rem 0 8rem; }
  .phone { width: min(280px, 100%); height: 520px; }
}

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