:root {
  --ink: #071f2c;
  --muted: #58707d;
  --panel: rgba(255, 255, 255, 0.88);
  --line: rgba(7, 31, 44, 0.14);
  --sea: #b9edf4;
  --deep: #0b4654;
  --teal: #087f8e;
  --aqua: #57c7d4;
  --gold: #f2b84b;
  --coral: #ec6247;
  --paper: #f7fbf9;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--paper);
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}

.page-shell {
  min-height: 100vh;
  overflow: hidden;
}

.hero {
  position: relative;
  min-height: 92vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  isolation: isolate;
  background: var(--sea);
}

.hero-map {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(rgba(8, 35, 50, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(8, 35, 50, 0.12) 1px, transparent 1px),
    linear-gradient(140deg, #dcf8f4 0 28%, #9edbe7 28% 47%, #c6f3f9 47% 100%);
  background-size: 88px 88px, 88px 88px, cover;
}

.hero-map::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(90deg, rgba(247, 251, 249, 0.94), rgba(247, 251, 249, 0.32) 56%, rgba(4, 43, 54, 0.16));
}

.depth {
  position: absolute;
  border-radius: 46% 54% 61% 39%;
  background:
    repeating-linear-gradient(0deg, rgba(31, 145, 211, 0.54) 0 3px, transparent 3px 17px),
    rgba(85, 176, 206, 0.3);
  opacity: 0.72;
}

.depth-a {
  width: 42vw;
  height: 48vh;
  left: -10vw;
  bottom: -5vh;
  transform: rotate(8deg);
}

.depth-b {
  width: 30vw;
  height: 28vh;
  right: 5vw;
  top: 24vh;
  transform: rotate(-16deg);
}

.route-line {
  position: absolute;
  width: 58vw;
  height: 5px;
  right: 9vw;
  top: 54vh;
  border-radius: 999px;
  background: var(--gold);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.36);
  transform: rotate(-33deg);
}

.grid {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(8, 35, 50, 0.22) 2px, transparent 2px),
    linear-gradient(90deg, rgba(8, 35, 50, 0.22) 2px, transparent 2px);
  background-size: 180px 180px;
  opacity: 0.38;
}

.boat {
  position: absolute;
  right: 34vw;
  top: 38vh;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(8, 35, 50, 0.92);
  box-shadow: 0 18px 42px rgba(8, 35, 50, 0.22);
}

.boat span {
  width: 0;
  height: 0;
  border-left: 12px solid transparent;
  border-right: 12px solid transparent;
  border-bottom: 34px solid #ffffff;
  transform: rotate(22deg);
}

.mark {
  position: absolute;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--coral);
  border: 4px solid white;
  box-shadow: 0 10px 24px rgba(8, 35, 50, 0.22);
}

.mark-a {
  right: 18vw;
  top: 29vh;
}

.mark-b {
  right: 49vw;
  bottom: 24vh;
  background: var(--teal);
}

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

.brand,
.nav-links,
.button {
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 8px 14px 8px 8px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--panel);
  font-weight: 850;
}

.brand img {
  width: 44px;
  height: 44px;
  border-radius: 12px;
}

.nav-links {
  display: flex;
  gap: 8px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.7);
  color: var(--muted);
  font-size: 14px;
  font-weight: 750;
}

.nav-links a {
  padding: 10px 12px;
  border-radius: 12px;
}

.nav-links a:hover {
  background: white;
  color: var(--ink);
}

.hero-content {
  width: min(1180px, calc(100% - 40px));
  margin: auto;
  padding: 72px 0 112px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--teal);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 18px;
  max-width: 760px;
  font-size: clamp(72px, 14vw, 156px);
  line-height: 0.86;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(34px, 6vw, 64px);
  line-height: 0.96;
  letter-spacing: 0;
}

.lead {
  max-width: 660px;
  color: #234a57;
  font-size: clamp(20px, 3vw, 28px);
  line-height: 1.25;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  border-radius: 16px;
  font-weight: 850;
}

.button.primary {
  color: white;
  background: var(--deep);
}

.button.secondary {
  border: 1px solid var(--line);
  background: var(--panel);
}

.showcase-band,
.content-band,
.stores-band {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 82px 0;
}

.section-heading {
  max-width: 760px;
}

.section-heading p,
.stores-band p,
.feature-grid p,
.footer {
  color: var(--muted);
  line-height: 1.55;
}

.device-stage {
  position: relative;
  margin-top: 44px;
  min-height: 540px;
}

.device {
  border: 12px solid #11181d;
  background: #11181d;
  box-shadow: 0 34px 80px rgba(7, 31, 44, 0.22);
}

.tablet {
  width: min(78%, 900px);
  min-height: 520px;
  display: grid;
  grid-template-columns: 230px 1fr;
  border-radius: 30px;
  overflow: hidden;
}

.tablet-sidebar {
  padding: 34px 28px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  color: rgba(255, 255, 255, 0.45);
  background: #073c32;
  font-size: 21px;
  font-weight: 850;
}

.mini-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  color: white;
}

.mini-brand img {
  width: 38px;
  height: 38px;
  border-radius: 10px;
}

.tablet-sidebar span {
  padding: 16px 18px;
  border-radius: 8px;
}

.tablet-sidebar .active {
  color: white;
  background: rgba(255, 255, 255, 0.15);
}

.tablet-main {
  padding: 34px;
  background: #fbfaf4;
}

.screen-pill {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid rgba(8, 35, 50, 0.12);
  border-radius: 8px;
  color: #0b5d51;
  background: #eef7f2;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.tablet-main h3 {
  margin: 24px 0 22px;
  font-size: clamp(32px, 4.5vw, 52px);
  line-height: 0.98;
}

.map-panel {
  position: relative;
  min-height: 250px;
  overflow: hidden;
  border: 1px solid rgba(8, 35, 50, 0.12);
  border-radius: 8px;
  background:
    linear-gradient(rgba(8, 35, 50, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(8, 35, 50, 0.08) 1px, transparent 1px),
    #c5eef2;
  background-size: 58px 58px;
}

.sea-zone {
  position: absolute;
  border-radius: 48% 52% 43% 57%;
  background: rgba(25, 113, 132, 0.32);
}

.zone-a {
  width: 230px;
  height: 260px;
  left: 7%;
  top: 16%;
  transform: rotate(-18deg);
}

.zone-b {
  width: 280px;
  height: 170px;
  right: 5%;
  bottom: -10%;
  transform: rotate(14deg);
}

.route-vector {
  position: absolute;
  width: 64%;
  height: 6px;
  left: 18%;
  top: 49%;
  border-radius: 999px;
  background: var(--gold);
  transform: rotate(-23deg);
}

.waypoint,
.boat-marker {
  position: absolute;
  z-index: 2;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: white;
  font-weight: 900;
}

.waypoint {
  width: 38px;
  height: 38px;
  background: var(--gold);
  border: 3px solid white;
}

.waypoint-a {
  left: 27%;
  top: 56%;
}

.waypoint-b {
  right: 24%;
  top: 28%;
}

.boat-marker {
  width: 48px;
  height: 48px;
  left: 49%;
  top: 43%;
  background: var(--ink);
  box-shadow: 0 14px 26px rgba(7, 31, 44, 0.2);
}

.boat-marker::before {
  width: 0;
  height: 0;
  content: "";
  border-left: 11px solid transparent;
  border-right: 11px solid transparent;
  border-bottom: 29px solid white;
  transform: rotate(18deg);
}

.wind-card {
  position: absolute;
  right: 18px;
  bottom: 18px;
  width: 190px;
  padding: 16px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 12px 30px rgba(7, 31, 44, 0.12);
}

.wind-card strong,
.wind-card span {
  display: block;
}

.wind-card span {
  margin-top: 5px;
  color: var(--muted);
}

.metric-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 16px;
}

.metric-row div {
  padding: 18px;
  border: 1px solid rgba(8, 35, 50, 0.12);
  border-radius: 8px;
  background: white;
}

.metric-row span,
.metric-row strong {
  display: block;
}

.metric-row span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.metric-row strong {
  margin-top: 8px;
  font-size: 22px;
}

.phone {
  position: absolute;
  right: 0;
  bottom: 8px;
  width: min(31%, 330px);
  min-width: 250px;
  border-radius: 32px;
  overflow: hidden;
}

.phone-top {
  padding: 28px 22px;
  color: white;
  background: #073c32;
  font-size: 22px;
  font-weight: 900;
}

.phone-map {
  position: relative;
  min-height: 380px;
  overflow: hidden;
  background:
    linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(140deg, #164d3a, #789044);
  background-size: 48px 48px;
}

.forecast-blob {
  position: absolute;
  width: 140px;
  height: 230px;
  left: 38%;
  top: 52px;
  border-radius: 50%;
  background: rgba(35, 144, 169, 0.68);
  filter: blur(1px);
  transform: rotate(4deg);
}

.wind-arrow {
  position: absolute;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--gold);
  border: 3px solid white;
}

.wind-arrow::after {
  position: absolute;
  inset: 11px 14px 10px;
  content: "";
  border-top: 13px solid white;
  border-left: 7px solid transparent;
  border-right: 7px solid transparent;
  transform: rotate(35deg);
}

.wind-a {
  left: 36%;
  top: 72px;
}

.wind-b {
  right: 18%;
  top: 160px;
}

.wind-c {
  left: 42%;
  bottom: 150px;
}

.phone-card {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  padding: 20px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
}

.phone-card h3 {
  margin-bottom: 8px;
  font-size: 24px;
}

.phone-card p {
  margin-bottom: 16px;
  color: var(--muted);
  font-weight: 700;
}

.phone-card button {
  width: 100%;
  min-height: 48px;
  border: 0;
  border-radius: 8px;
  color: white;
  background: #0b5d51;
  font-weight: 900;
}

.content-band {
  border-top: 1px solid var(--line);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 38px;
}

.feature-grid article {
  min-height: 250px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  box-shadow: 0 18px 44px rgba(7, 31, 44, 0.06);
}

.feature-grid span {
  color: var(--gold);
  font-weight: 900;
}

.feature-grid h3 {
  margin: 48px 0 12px;
  font-size: 23px;
}

.stores-band {
  display: grid;
  grid-template-columns: 1fr minmax(320px, 430px);
  gap: 32px;
  align-items: center;
  border-top: 1px solid var(--line);
}

.store-actions {
  display: grid;
  gap: 12px;
}

.store-badge {
  min-height: 78px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 14px 22px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  color: white;
  background: #101820;
}

.store-badge span {
  color: rgba(255, 255, 255, 0.68);
  font-size: 13px;
  font-weight: 700;
}

.store-badge strong {
  margin-top: 3px;
  font-size: 25px;
}

.store-badge.disabled {
  cursor: default;
  opacity: 0.9;
}

.footer {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 26px 0 40px;
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  border-top: 1px solid var(--line);
  font-size: 14px;
}

.footer a {
  color: var(--deep);
  font-weight: 800;
}

@media (max-width: 980px) {
  .tablet {
    width: 100%;
    grid-template-columns: 190px 1fr;
  }

  .phone {
    position: relative;
    right: auto;
    bottom: auto;
    width: min(380px, 100%);
    margin: 28px auto 0;
  }

  .device-stage {
    min-height: 0;
  }

  .feature-grid,
  .stores-band {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 760px) {
  .hero {
    min-height: 86vh;
  }

  .nav {
    align-items: flex-start;
  }

  .nav-links {
    display: none;
  }

  .hero-content,
  .showcase-band,
  .content-band,
  .stores-band,
  .footer,
  .nav {
    width: min(100% - 28px, 1180px);
  }

  .showcase-band,
  .content-band,
  .stores-band {
    padding: 58px 0;
  }

  .tablet {
    min-height: 0;
    display: block;
    border-width: 10px;
  }

  .tablet-sidebar {
    padding: 18px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    font-size: 13px;
  }

  .mini-brand {
    grid-column: 1 / -1;
    margin-bottom: 4px;
  }

  .tablet-sidebar span {
    padding: 10px 8px;
    text-align: center;
  }

  .tablet-main {
    padding: 20px;
  }

  .map-panel {
    min-height: 230px;
  }

  .wind-card {
    width: 150px;
  }

  .metric-row,
  .feature-grid,
  .stores-band {
    grid-template-columns: 1fr;
  }

  .feature-grid article {
    min-height: auto;
  }

  .feature-grid h3 {
    margin-top: 28px;
  }
}
