:root {
  --radius: 12px;
  --shadow: 0 4px 20px rgba(10, 30, 40, 0.07);
  --shadow-lg: 0 14px 36px rgba(10, 30, 40, 0.14);
}

html[data-theme="ocean"] {
  --navy: #0c2e3f;
  --navy-dark: #071f2c;
  --teal: #1a8f8f;
  --accent: #ff6b3d;
  --accent-dark: #e8552a;
  --bg: #f7fafb;
  --card: #ffffff;
  --line: #e2e9ec;
  --ink: #0b1c24;
  --ink-soft: #5a6b72;
  --font-display: "Outfit", system-ui, sans-serif;
  --font-body: "Figtree", system-ui, sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  min-height: 100%;
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.03em;
}

a {
  color: var(--navy);
  text-decoration: none;
}

a:hover {
  color: var(--accent-dark);
}

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

ol {
  list-style: none;
}

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 14px;
  border: none;
  transition: 0.2s ease;
  cursor: pointer;
  font-family: inherit;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
}

.btn-primary:hover {
  background: var(--accent-dark);
  color: #fff;
}

.btn-outline {
  background: transparent;
  border: 1px solid var(--line);
  color: var(--ink);
}

.btn-outline:hover {
  border-color: var(--ink);
  color: var(--ink);
}

.btn-ghost-light {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.32);
  color: #fff;
}

.btn-ghost-light:hover {
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
}

header.site {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: rgba(247, 250, 251, 0.88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  transition: background 0.3s, border-color 0.3s;
}

header.site.at-top {
  background: transparent !important;
  border-bottom-color: transparent !important;
  backdrop-filter: none !important;
}

header.site.at-top .logo .word1 {
  color: #fff !important;
}

header.site.at-top nav.main-nav a {
  color: rgba(255, 255, 255, 0.88) !important;
}

header.site.at-top nav.main-nav a:hover {
  color: #fff !important;
}

header.site.at-top .btn-outline {
  border-color: rgba(255, 255, 255, 0.45) !important;
  color: #fff !important;
  background: rgba(255, 255, 255, 0.12) !important;
}

header.site.at-top .burger {
  color: #fff !important;
}

.nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo .mark {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: linear-gradient(160deg, var(--teal), var(--navy));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 13px;
}

.logo .word1 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 18px;
  color: var(--navy);
  letter-spacing: 0.4px;
}

.logo .word2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 9px;
  letter-spacing: 2.4px;
  color: var(--accent-dark);
  margin-top: -2px;
  display: block;
}

nav.main-nav {
  display: flex;
  gap: 28px;
}

nav.main-nav a {
  font-weight: 600;
  font-size: 14px;
  color: var(--ink-soft);
}

nav.main-nav a:hover {
  color: var(--ink);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn-dashboard {
  border-radius: 9999px;
  padding: 0.4rem 0.95rem;
  font-size: 13px;
  font-weight: 600;
  gap: 0.35rem;
  max-width: min(320px, 72vw);
}

.btn-dashboard-name {
  max-width: 9.5rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-weight: 500;
  opacity: 0.92;
}

.btn-dashboard-sep {
  opacity: 0.7;
  font-weight: 400;
}

.burger {
  display: none;
  background: none;
  border: none;
  font-size: 22px;
  color: var(--ink);
}

@media (max-width: 860px) {
  nav.main-nav {
    display: none;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: var(--card);
    border-bottom: 1px solid var(--line);
    padding: 8px 0;
  }

  nav.main-nav.open {
    display: flex;
  }

  nav.main-nav a {
    padding: 14px 20px;
  }

  .burger {
    display: block;
  }

  .nav-actions .btn {
    display: none;
  }

  .nav-actions.is-authenticated .btn-dashboard {
    display: inline-flex;
  }
}

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
  background: #0c5d68;
  overflow: hidden;
}

.hero-sea-wrap {
  position: absolute;
  inset: -8%;
  z-index: 0;
}

.hero-sea {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  transform: scale(1.08);
  will-change: transform;
}

.hero-ripples {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  pointer-events: none;
  mix-blend-mode: soft-light;
  opacity: 0.95;
}

.hero-boat {
  position: absolute;
  left: 50%;
  top: 100%;
  width: min(38vw, 300px);
  height: auto;
  z-index: 1;
  transform: translate3d(-50%, -50%, 0);
  filter: drop-shadow(0 14px 26px rgba(0, 20, 30, 0.28));
  will-change: transform;
  pointer-events: none;
  background: transparent;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

.hero-webgl,
.hero-fallback {
  display: none;
}

.hero-media::before,
.hero-media::after {
  display: none;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.3) 0%,
    transparent 30%,
    transparent 70%,
    rgba(6, 40, 48, 0.1) 100%
  );
}

.hero-inner {
  position: relative;
  z-index: 4;
  padding: 120px 0 100px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  animation: hero-rise 0.9s ease-out both;
  will-change: opacity, transform;
}

@media (max-width: 700px) {
  .hero-boat {
    width: min(52vw, 220px);
  }
}

.hero-brand {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(56px, 10vw, 96px);
  letter-spacing: -0.03em;
  color: #fff;
  margin-bottom: 14px;
  text-shadow: 0 2px 24px rgba(0, 20, 30, 0.25);
}

.hero h1 {
  color: #fff;
  font-size: clamp(36px, 5.8vw, 58px);
  max-width: 14ch;
  line-height: 1.12;
  font-weight: 700;
  text-shadow: 0 2px 28px rgba(0, 20, 30, 0.28);
}

.hero p {
  color: rgba(235, 248, 250, 0.94);
  font-size: clamp(17px, 2vw, 20px);
  margin-top: 22px;
  max-width: 36ch;
  line-height: 1.6;
  text-shadow: 0 1px 16px rgba(0, 20, 30, 0.3);
}

.hero .btn-ghost-light {
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.55);
  color: #fff;
  backdrop-filter: blur(8px);
}

.hero .btn-ghost-light:hover {
  background: rgba(255, 255, 255, 0.3);
  color: #fff;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-top: 30px;
}

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

  .hero-inner {
    padding: 90px 0 80px;
  }
}

.eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 18px;
}

.promise {
  padding: 120px 0 96px;
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.promise-inner {
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
}

.promise h2 {
  font-size: clamp(30px, 4.2vw, 44px);
  line-height: 1.18;
  max-width: 17ch;
  margin: 0 auto 22px;
  font-weight: 700;
}

.promise p {
  color: var(--ink-soft);
  font-size: 17px;
  max-width: 42ch;
  margin: 0 auto;
  line-height: 1.65;
}

.product {
  padding: 96px 0;
  background: var(--bg);
}

.product-head {
  max-width: 560px;
  margin-bottom: 48px;
}

.product-head h2 {
  font-size: clamp(28px, 3.6vw, 40px);
  line-height: 1.18;
  max-width: 16ch;
}

.feature-board {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
  background: #fff;
}

.feature-cell {
  padding: 28px 24px 32px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  transition: background 0.2s ease;
}

.feature-cell:hover {
  background: #fafcfd;
}

.feature-cell h3 {
  font-size: 16px;
  margin-bottom: 10px;
  letter-spacing: -0.02em;
  line-height: 1.3;
}

.feature-cell p {
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.65;
  max-width: 30ch;
}

.cinema {
  margin: 0;
  max-height: 420px;
  overflow: hidden;
  background: var(--navy-dark);
}

.cinema img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  object-position: center;
}

.flow-section {
  padding: 96px 0 108px;
  background: #fff;
}

.flow-head {
  max-width: 560px;
  margin-bottom: 48px;
}

.flow-head h2 {
  font-size: clamp(28px, 3.6vw, 40px);
  line-height: 1.18;
  max-width: 14ch;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--line);
}

.steps li {
  display: grid;
  gap: 18px;
  padding: 32px 28px 8px 0;
  border-right: 1px solid var(--line);
}

.steps li:last-child {
  border-right: none;
  padding-right: 0;
}

.step-num {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--teal);
}

.steps h3 {
  font-size: 18px;
  margin-bottom: 8px;
  line-height: 1.3;
}

.steps p {
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.65;
  max-width: 28ch;
}

.band {
  background: var(--navy-dark);
  color: #dce7e8;
  padding: 80px 0;
}

.band h2 {
  color: #fff;
  font-size: clamp(26px, 3.4vw, 36px);
  line-height: 1.2;
  max-width: 16ch;
  margin-bottom: 14px;
}

.band p {
  max-width: 42ch;
  color: #9fb3b8;
  margin-bottom: 28px;
  font-size: 16px;
  line-height: 1.65;
}

.band .cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

footer.site {
  background: var(--navy-dark);
  color: #dce7e8;
  padding: 48px 0 24px;
  border-top: 1px solid #17313c;
}

footer.site .foot-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 32px;
}

footer.site h4 {
  color: #fff;
  font-size: 13px;
  margin-bottom: 14px;
  letter-spacing: 0;
}

footer.site a {
  color: #9fb3b8;
  font-size: 14px;
  display: inline-block;
  margin-bottom: 8px;
}

footer.site a:hover {
  color: #fff;
}

footer.site .foot-blurb {
  max-width: 280px;
  font-size: 14px;
  color: #8fa5a8;
  margin-top: 12px;
  line-height: 1.6;
}

footer.site .foot-bottom {
  border-top: 1px solid #17313c;
  margin-top: 32px;
  padding-top: 18px;
  font-size: 13px;
  color: #6f858a;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

html.js [data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

html.js [data-reveal].in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html.js [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .hero-media img {
    animation: none;
  }
}

@media (max-width: 900px) {
  .feature-board {
    grid-template-columns: 1fr 1fr;
  }

  .steps {
    grid-template-columns: 1fr;
  }

  .steps li {
    border-right: none;
    border-bottom: 1px solid var(--line);
    padding: 24px 0;
  }

  .steps li:last-child {
    border-bottom: none;
  }

  .cinema img {
    height: 280px;
  }
}

@media (max-width: 640px) {
  .feature-board {
    grid-template-columns: 1fr;
  }

  footer.site .foot-grid {
    grid-template-columns: 1fr;
  }
}

@keyframes hero-rise {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes hero-zoom {
  from {
    transform: scale(1.08);
  }
  to {
    transform: scale(1);
  }
}
