:root {
  color-scheme: light;
  --ink: #08292d;
  --ink-soft: #31565b;
  --reef: #0b6f78;
  --reef-dark: #063b43;
  --foam: #f5fbf9;
  --sand: #f3e3c5;
  --sun: #f0a45a;
  --coral: #f26157;
  --lime: #b9d85c;
  --white: #ffffff;
  --line: rgba(8, 41, 45, 0.12);
  --shadow: 0 28px 80px rgba(5, 26, 29, 0.24);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--foam);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
  text-rendering: optimizeLegibility;
}

img,
svg {
  display: block;
}

img {
  max-width: 100%;
}

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

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

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 20;
  transform: translateY(-160%);
  border-radius: 999px;
  background: var(--white);
  color: var(--ink);
  padding: 10px 14px;
  box-shadow: var(--shadow);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(20px, 5vw, 72px);
  color: var(--white);
  transition: background-color 180ms ease, box-shadow 180ms ease, color 180ms ease;
}

.site-header.is-scrolled {
  background: rgba(245, 251, 249, 0.92);
  color: var(--ink);
  box-shadow: 0 10px 30px rgba(8, 41, 45, 0.1);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  overflow: hidden;
  border-radius: 10px;
  background: transparent;
  box-shadow: 0 8px 20px rgba(5, 26, 29, 0.18);
}

.site-header.is-scrolled .brand-mark {
  background: transparent;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(16px, 3vw, 34px);
  font-size: 0.95rem;
  font-weight: 700;
}

.nav-links a {
  opacity: 0.88;
}

.nav-links a:hover {
  opacity: 1;
}

.hero {
  position: relative;
  min-height: min(820px, 84svh);
  overflow: hidden;
  background: var(--reef-dark);
  color: var(--white);
}

.hero-image,
.hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
  object-position: center 48%;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(5, 26, 29, 0.86) 0%, rgba(5, 26, 29, 0.54) 44%, rgba(5, 26, 29, 0.2) 100%),
    linear-gradient(180deg, rgba(5, 26, 29, 0.18) 0%, rgba(5, 26, 29, 0.2) 72%, rgba(5, 26, 29, 0.76) 100%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(300px, 0.82fr);
  align-items: center;
  gap: clamp(32px, 6vw, 84px);
  width: min(1180px, calc(100% - 40px));
  min-height: min(820px, 84svh);
  margin: 0 auto;
  padding: 108px 0 54px;
}

.hero-copy {
  max-width: 700px;
}

.hero-app-icon {
  width: 88px;
  height: 88px;
  margin-bottom: 22px;
  border-radius: 22px;
  box-shadow: 0 18px 44px rgba(5, 26, 29, 0.34);
}

.eyebrow {
  margin-bottom: 14px;
  color: var(--sun);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 10ch;
  font-size: clamp(4rem, 11vw, 8.8rem);
  line-height: 0.86;
  letter-spacing: 0;
}

.hero-lede {
  max-width: 590px;
  margin-top: 28px;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(1.15rem, 2.1vw, 1.55rem);
  line-height: 1.33;
}

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

.hero-actions.centered {
  justify-content: center;
}

.store-button {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  min-height: 58px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.93);
  color: var(--ink);
  padding: 10px 18px 10px 15px;
  font-size: 1rem;
  font-weight: 900;
  line-height: 1.05;
  box-shadow: 0 20px 44px rgba(5, 26, 29, 0.18);
  transition: transform 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
}

.store-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 24px 54px rgba(5, 26, 29, 0.24);
}

.store-button-dark {
  background: var(--ink);
  color: var(--white);
}

.store-button svg {
  width: 24px;
  height: 24px;
  flex: 0 0 auto;
  fill: currentColor;
}

.store-button span {
  display: grid;
  gap: 2px;
}

.store-button small {
  display: block;
  font-size: 0.67rem;
  font-weight: 750;
  opacity: 0.76;
}

.device-preview {
  position: relative;
  width: min(500px, 100%);
  min-height: 660px;
  margin-left: auto;
}

.phone-frame {
  position: absolute;
  right: 12px;
  top: 0;
  width: min(330px, 72vw);
  margin: 0;
  border: 10px solid rgba(5, 26, 29, 0.92);
  border-radius: 46px;
  background: #050d0f;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.phone-frame img {
  width: 100%;
  height: auto;
}

.watch-frame {
  position: absolute;
  left: 0;
  bottom: 88px;
  width: min(172px, 38vw);
  margin: 0;
  border: 8px solid #080d0e;
  border-radius: 42px;
  background: #000;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.watch-frame img {
  width: 100%;
  height: auto;
}

.trust-strip {
  background: var(--reef-dark);
  color: var(--white);
}

.strip-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 18px 0;
}

.strip-inner span {
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  padding: 8px 14px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 0.86rem;
  font-weight: 800;
}

.section {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(72px, 9vw, 118px) 0;
}

.section-intro {
  padding-bottom: clamp(56px, 8vw, 94px);
}

.section-heading {
  display: grid;
  gap: 8px;
  max-width: 760px;
}

.section-heading.compact {
  max-width: 700px;
  margin: 0 auto 34px;
  text-align: center;
}

.section-heading h2,
.split-copy h2,
.spots-copy h2,
.download-section h2 {
  font-size: clamp(2.15rem, 4.4vw, 4.25rem);
  line-height: 1;
  letter-spacing: 0;
}

.section-heading .eyebrow,
.split-copy .eyebrow,
.spots-copy .eyebrow,
.download-section .eyebrow {
  color: var(--reef);
}

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

.feature-card {
  display: grid;
  gap: 18px;
  min-height: 310px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  padding: clamp(22px, 3vw, 30px);
  box-shadow: 0 18px 45px rgba(8, 41, 45, 0.08);
}

.feature-icon {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 18px;
  background: #e1f0eb;
  color: var(--reef);
}

.feature-icon svg {
  width: 27px;
  height: 27px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.feature-card h3,
.workflow h3,
.spots-grid h3 {
  font-size: clamp(1.25rem, 2vw, 1.55rem);
  line-height: 1.13;
}

.feature-card p,
.workflow p,
.spots-grid p,
.split-copy p,
.download-section p,
.site-footer p {
  color: var(--ink-soft);
  font-size: 1rem;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(320px, 0.88fr);
  align-items: center;
  gap: clamp(28px, 6vw, 82px);
  padding: clamp(64px, 8vw, 104px) clamp(20px, 5vw, 72px);
  background: var(--white);
}

.split-media {
  overflow: hidden;
  min-height: 520px;
  border-radius: 8px;
}

.split-media img {
  width: 100%;
  height: 100%;
  min-height: 520px;
  object-fit: cover;
}

.split-copy {
  max-width: 560px;
}

.split-copy p {
  margin-top: 22px;
  font-size: 1.08rem;
}

.check-list {
  display: grid;
  gap: 14px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 32px;
  color: var(--ink);
  font-weight: 750;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 3px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: inset 0 0 0 6px rgba(255, 255, 255, 0.48);
}

.workflow {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.workflow article {
  display: grid;
  gap: 13px;
  min-height: 250px;
  border-top: 4px solid var(--sun);
  border-radius: 8px;
  background: var(--white);
  padding: 28px;
  box-shadow: 0 18px 45px rgba(8, 41, 45, 0.08);
}

.workflow span {
  color: var(--coral);
  font-size: 0.86rem;
  font-weight: 900;
}

.surf-spots {
  display: grid;
  grid-template-columns: minmax(280px, 0.68fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
  padding: clamp(68px, 9vw, 120px) clamp(20px, 5vw, 72px);
  background: #092f34;
  color: var(--white);
}

.spots-copy {
  max-width: 520px;
}

.spots-copy .eyebrow {
  color: var(--sun);
}

.spots-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.spots-grid article {
  display: grid;
  gap: 12px;
  min-height: 230px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  padding: 24px;
}

.spots-grid p {
  color: rgba(255, 255, 255, 0.72);
}

.download-section {
  position: relative;
  overflow: hidden;
  padding: clamp(74px, 10vw, 128px) 20px;
  background: var(--sand);
  text-align: center;
}

.download-inner {
  width: min(820px, 100%);
  margin: 0 auto;
}

.download-section p {
  max-width: 650px;
  margin: 20px auto 0;
  font-size: 1.1rem;
}

.site-footer {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 28px;
  padding: 34px clamp(20px, 5vw, 72px);
  background: #041f22;
  color: var(--white);
}

.footer-brand .brand-mark {
  background: transparent;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.24);
}

.site-footer p {
  max-width: 420px;
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.68);
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 18px;
  color: rgba(255, 255, 255, 0.78);
  font-weight: 750;
}

.site-footer nav a:hover {
  color: var(--white);
}

@media (max-width: 980px) {
  .hero {
    min-height: auto;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    min-height: auto;
    padding: 108px 0 48px;
  }

  .hero h1 {
    max-width: none;
  }

  .device-preview {
    min-height: 700px;
    width: min(460px, 100%);
    margin: 0 auto;
  }

  .phone-frame {
    right: 0;
  }

  .watch-frame {
    left: 0;
    top: 318px;
    bottom: auto;
  }

  .feature-grid,
  .workflow,
  .split-section,
  .surf-spots,
  .spots-grid {
    grid-template-columns: 1fr;
  }

  .feature-card,
  .workflow article,
  .spots-grid article {
    min-height: 0;
  }

  .split-section,
  .surf-spots {
    padding-left: 20px;
    padding-right: 20px;
  }

  .split-copy {
    max-width: 720px;
  }

  .split-media,
  .split-media img {
    min-height: 360px;
  }
}

@media (max-width: 720px) {
  .site-header {
    align-items: flex-start;
    padding: 14px 16px;
  }

  .brand {
    font-size: 0.96rem;
  }

  .brand-mark {
    width: 34px;
    height: 34px;
    border-radius: 9px;
  }

  .nav-links {
    gap: 12px;
    font-size: 0.82rem;
  }

  .nav-links a:nth-child(2) {
    display: none;
  }

  .hero-inner {
    width: min(100% - 32px, 1180px);
    padding-top: 98px;
  }

  .hero h1 {
    font-size: clamp(4.3rem, 19vw, 6rem);
  }

  .hero-app-icon {
    width: 74px;
    height: 74px;
    margin-bottom: 18px;
    border-radius: 18px;
  }

  .hero-lede {
    margin-top: 20px;
  }

  .store-button {
    width: 100%;
    justify-content: center;
  }

  .device-preview {
    min-height: 620px;
  }

  .phone-frame {
    width: min(284px, 76vw);
    border-radius: 40px;
  }

  .watch-frame {
    width: min(150px, 38vw);
    border-radius: 36px;
    top: 328px;
  }

  .section {
    width: min(100% - 32px, 1180px);
  }

  .feature-card,
  .workflow article {
    min-height: 0;
  }

  .site-footer {
    display: grid;
  }

  .site-footer nav {
    justify-content: flex-start;
  }
}

@media (max-width: 440px) {
  .site-header {
    position: absolute;
  }

  .nav-links {
    display: none;
  }

  .hero-inner {
    padding-top: 90px;
  }

  .device-preview {
    min-height: 590px;
  }

  .phone-frame {
    right: -8px;
  }

  .watch-frame {
    left: -2px;
    top: 338px;
  }

  .strip-inner {
    width: min(100% - 24px, 1180px);
  }
}

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