:root {
  --ocean-950: #03141d;
  --ocean-900: #051c25;
  --ocean-850: #061923;
  --ocean-800: #082a36;
  --ocean-600: #213847;
  --sea-500: #00b4d7;
  --sea-300: #5acce3;
  --teal: #1fa67a;
  --sand: #f4c97a;
  --sunset: #ff7b5c;
  --foam: #eaf3f7;
  --paper: #ffffff;
  --muted: rgba(255, 255, 255, 0.72);
  --faint: rgba(255, 255, 255, 0.1);
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

.page {
  min-height: 100vh;
  background:
    radial-gradient(circle at 20% 0%, rgba(0, 180, 215, 0.18), transparent 26rem),
    linear-gradient(180deg, var(--ocean-900), var(--ocean-850) 46%, #04131b);
}

.hero {
  min-height: 680px;
  position: relative;
  overflow: hidden;
  background-image:
    linear-gradient(90deg, rgba(3, 20, 29, 0.92), rgba(3, 20, 29, 0.68), rgba(3, 20, 29, 0.38)),
    linear-gradient(180deg, rgba(3, 20, 29, 0.05), rgba(3, 20, 29, 0.82)),
    url("/assets/splash_image.png");
  background-size: cover;
  background-position: center;
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 900;
  font-size: 22px;
}

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

.nav-links,
.footer-links {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.nav-links a {
  padding: 6px 4px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
  font-weight: 700;
  transition: color 0.15s;
}

.nav-links a:hover {
  color: var(--sea-300);
}

.hero-inner,
.section,
.showcase,
.footer,
.simple-hero,
.legal-wrap,
.support-wrap,
.feature-list {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(420px, 1fr);
  align-items: center;
  gap: 70px;
  padding: 70px 0 78px;
}

.pill {
  display: inline-flex;
  border: 1px solid rgba(94, 215, 235, 0.28);
  border-radius: 999px;
  padding: 8px 14px;
  color: #bff4ff;
  background: rgba(0, 180, 215, 0.16);
  font-size: 13px;
  font-weight: 900;
}

h1,
h2,
h3 {
  margin: 0;
  letter-spacing: 0;
}

.hero h1 {
  margin-top: 22px;
  max-width: 640px;
  font-size: clamp(38px, 6vw, 58px);
  line-height: 1.08;
  font-weight: 950;
}

.hero p,
.simple-hero p,
.section-lede,
.showcase p {
  max-width: 640px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.6;
}

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

.button {
  min-height: 58px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  padding: 12px 20px;
  font-weight: 900;
}

.button-primary {
  min-width: 172px;
  flex-direction: column;
  align-items: flex-start;
  color: #fff;
  background: var(--sea-500);
  box-shadow: 0 16px 38px rgba(0, 180, 215, 0.28);
}

.button-primary small {
  color: rgba(255, 255, 255, 0.76);
  font-size: 11px;
  line-height: 14px;
  text-transform: uppercase;
}

.button-secondary {
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.12);
}

/* ── Static product panels ───────────────────── */

.eyebrow {
  color: var(--sea-300);
  font-size: 13px;
  font-weight: 950;
  text-transform: uppercase;
}

.product-board {
  width: min(100%, 520px);
  justify-self: end;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 30px;
  padding: 20px;
  background:
    linear-gradient(145deg, rgba(234, 243, 247, 0.98), rgba(255, 255, 255, 0.92)),
    var(--foam);
  color: var(--ocean-800);
  box-shadow: 0 22px 52px rgba(0, 0, 0, 0.28);
}

.hero-board {
  width: min(100%, 540px);
}

.compact-board {
  width: min(100%, 430px);
}

.feature-board {
  width: min(100%, 500px);
}

.board-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.board-header .eyebrow {
  color: #3a5360;
  font-size: 12px;
}

.board-header h3 {
  margin-top: 6px;
  color: var(--ocean-800);
  font-size: clamp(25px, 3vw, 34px);
  line-height: 1.12;
  font-weight: 950;
}

.status-pill {
  flex-shrink: 0;
  border-radius: 999px;
  padding: 8px 11px;
  background: rgba(0, 180, 215, 0.14);
  color: #007c96;
  font-size: 12px;
  font-weight: 950;
}

.status-pill.sand {
  background: #fef6e6;
  color: #a57925;
}

.route-panel {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
  margin-top: 22px;
  border-radius: 22px;
  padding: 18px;
  background: rgba(8, 42, 54, 0.07);
}

.route-line {
  height: 2px;
  background: linear-gradient(90deg, var(--sea-500), rgba(31, 166, 122, 0.55), #8da1ab);
}

.route-stop {
  color: #0083a0;
  font-size: 13px;
  font-weight: 950;
}

.route-stop.muted {
  color: #5f7681;
}

.board-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 14px;
}

.surface-card {
  min-height: 134px;
  border: 1px solid rgba(8, 42, 54, 0.08);
  border-radius: 20px;
  padding: 17px;
  background: #fff;
}

.surface-card.accent {
  background: #fef6e6;
  border-color: rgba(244, 201, 122, 0.55);
}

.surface-card span,
.surface-card small {
  display: block;
  color: #5f7681;
  font-size: 12px;
  font-weight: 900;
}

.surface-card strong {
  display: block;
  margin-top: 10px;
  color: var(--ocean-800);
  font-size: 29px;
  line-height: 1;
  font-weight: 950;
}

.surface-card small {
  margin-top: 12px;
  line-height: 1.35;
}

.task-stack {
  margin-top: 14px;
  border: 1px solid rgba(8, 42, 54, 0.08);
  border-radius: 20px;
  padding: 8px 14px;
  background: rgba(8, 42, 54, 0.06);
}

.task {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 0;
  color: #3a5360;
  font-size: 13px;
  font-weight: 900;
}

.task span {
  width: 17px;
  height: 17px;
  flex-shrink: 0;
  border: 1px solid rgba(8, 42, 54, 0.22);
  border-radius: 6px;
}

.task.done span {
  border-color: var(--teal);
  background: var(--teal);
}

/* ── Port list ────────────────────────────────── */

.port-list {
  margin-top: 14px;
  border-radius: 22px;
  padding: 4px 14px;
  background: rgba(8, 42, 54, 0.06);
}

.port-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(8, 42, 54, 0.08);
}

.port-item:last-child {
  border-bottom: none;
}

.port-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
  background: rgba(8, 42, 54, 0.2);
}

.port-dot.active {
  background: var(--sea-500);
}

.port-info strong {
  display: block;
  color: var(--ocean-800);
  font-size: 13px;
  font-weight: 900;
}

.port-info small {
  color: #5f7681;
  font-size: 11px;
  font-weight: 800;
}

/* ── Guest avatars ────────────────────────────── */

.guest-strip {
  display: flex;
  gap: 10px;
  margin-top: 18px;
  padding: 18px;
  border-radius: 22px;
  background: rgba(8, 42, 54, 0.06);
}

.guest-strip span {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--sea-500);
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 900;
  color: #fff;
}

.guest-strip span:last-child {
  background: rgba(8, 42, 54, 0.14);
  color: #5f7681;
  font-size: 11px;
}

/* ── Passport stats and stamps ────────────────── */

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

.stat {
  border-radius: 18px;
  padding: 16px;
  background: #fff;
}

.stat strong {
  display: block;
  color: var(--ocean-800);
  font-size: 30px;
  line-height: 1;
  font-weight: 950;
}

.stat small {
  display: block;
  color: #5f7681;
  font-size: 11px;
  font-weight: 800;
  margin-top: 3px;
}

.stamps-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 12px;
  padding: 12px;
  background: rgba(8, 42, 54, 0.06);
  border-radius: 20px;
}

.stamp-sm {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  border: 2px solid var(--sand);
  background: #fef6e6;
  color: #b98d3a;
  display: grid;
  place-items: center;
  text-align: center;
}

.stamp-sm strong {
  display: block;
  font-size: 13px;
  font-weight: 950;
  line-height: 1.2;
}

.stamp-sm small {
  display: block;
  font-size: 9px;
  font-weight: 800;
}

/* ── Section layouts ──────────────────────────── */

.section {
  padding: 82px 0;
}

.section h2,
.showcase h2,
.simple-hero h1 {
  margin-top: 8px;
  max-width: 780px;
  font-size: clamp(38px, 6vw, 58px);
  line-height: 1.08;
  font-weight: 950;
}

.cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 30px;
}

.card {
  border: 1px solid var(--faint);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.08);
  padding: 22px;
}

.card h3 {
  color: #fff;
  font-size: 21px;
  line-height: 1.25;
  font-weight: 900;
}

.card p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
}

.showcase {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 430px);
  align-items: center;
  gap: 48px;
  padding: 82px 0;
}

/* ── Simple inner pages ───────────────────────── */

.simple-top {
  background: var(--ocean-900);
}

.simple-hero {
  padding: 72px 0 40px;
}

.feature-index {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 34px;
  max-width: 860px;
}

.feature-index a {
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 14px;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.82);
  font-size: 13px;
  font-weight: 900;
}

/* ── Feature list ─────────────────────────────── */

.feature-list {
  padding: 18px 0 24px;
}

.feature-row {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(360px, 1fr);
  align-items: center;
  gap: 76px;
  padding: 66px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.feature-row-alt .feature-copy {
  order: 2;
}

.feature-row-alt .product-board {
  justify-self: start;
}

.feature-row:last-child {
  border-bottom: none;
}

.feature-copy .eyebrow {
  display: block;
}

.feature-copy h2 {
  color: #fff;
  font-size: clamp(28px, 4vw, 38px);
  line-height: 1.18;
  font-weight: 950;
  margin-top: 10px;
  max-width: 480px;
}

.feature-copy p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
  margin-top: 14px;
  max-width: 480px;
}

/* ── Legal pages ──────────────────────────────── */

.legal-wrap {
  max-width: 760px;
  padding: 56px 0 80px;
}

.legal-wrap h2 {
  margin-top: 48px;
  font-size: 20px;
  font-weight: 800;
  color: #fff;
}

.legal-wrap h2:first-child {
  margin-top: 0;
}

.legal-wrap p {
  margin-top: 14px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.75;
}

/* ── Support page ─────────────────────────────── */

.support-wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 420px);
  gap: 34px;
  align-items: start;
  padding: 56px 0 86px;
}

.support-form,
.support-panel {
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.07);
  padding: 24px;
}

.form-row {
  display: grid;
  gap: 8px;
  margin-bottom: 18px;
}

.form-row label {
  color: #fff;
  font-size: 13px;
  font-weight: 900;
}

.form-row input,
.form-row textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 12px;
  background: rgba(3, 20, 29, 0.56);
  color: #fff;
  font: inherit;
  font-size: 15px;
  line-height: 1.5;
  padding: 13px 14px;
}

.form-row textarea {
  resize: vertical;
}

.form-row input::placeholder,
.form-row textarea::placeholder {
  color: rgba(255, 255, 255, 0.44);
}

.form-row input:focus,
.form-row textarea:focus {
  outline: 2px solid rgba(90, 204, 227, 0.45);
  border-color: var(--sea-300);
}

.support-submit {
  border: 0;
  cursor: pointer;
}

.support-note,
.support-panel p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
}

.support-note {
  margin: 16px 0 0;
}

.support-note a,
.support-email {
  color: #9fefff;
  font-weight: 900;
}

.support-panel h2 {
  margin-top: 10px;
  color: #fff;
  font-size: clamp(28px, 4vw, 38px);
  line-height: 1.16;
  font-weight: 950;
}

.support-panel p {
  margin-top: 14px;
}

.support-email {
  display: inline-flex;
  margin-top: 20px;
}

/* ── Footer ───────────────────────────────────── */

.footer {
  border-top: 1px solid var(--faint);
  padding: 38px 0 50px;
}

.footer p,
.fine {
  color: rgba(255, 255, 255, 0.56);
}

.footer-links {
  margin-top: 18px;
  gap: 18px;
}

.footer-links a {
  color: #9fefff;
  font-size: 13px;
  font-weight: 900;
}

.fine {
  margin-top: 22px;
  font-size: 12px;
  line-height: 1.6;
}

/* ── Responsive ───────────────────────────────── */

@media (max-width: 900px) {
  .hero-inner,
  .showcase,
  .feature-row {
    grid-template-columns: 1fr;
  }

  .product-board {
    justify-self: start;
  }

  .cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .feature-index {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .support-wrap {
    grid-template-columns: 1fr;
  }

  .feature-row-alt .feature-copy {
    order: initial;
  }
}

@media (max-width: 620px) {
  .nav,
  .hero-inner,
  .section,
  .showcase,
  .footer,
  .simple-hero,
  .legal-wrap,
  .support-wrap,
  .feature-list {
    width: min(100% - 28px, 1180px);
  }

  .hero {
    min-height: auto;
  }

  .hero-inner {
    padding: 44px 0 62px;
  }

  .nav-links {
    width: 100%;
  }

  .nav-links a {
    flex: 1;
    text-align: center;
  }

  .hero h1 {
    font-size: 40px;
  }

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

  .feature-row {
    padding: 56px 0;
    gap: 30px;
  }

  .button {
    width: 100%;
  }

  .hero-inner,
  .showcase {
    gap: 34px;
  }

  .support-wrap {
    grid-template-columns: 1fr;
    padding-top: 34px;
  }

  .product-board {
    border-radius: 24px;
    padding: 15px;
  }

  .board-header {
    flex-direction: column;
    gap: 12px;
  }

  .board-grid,
  .feature-index,
  .stats-row {
    grid-template-columns: 1fr;
  }

  .surface-card {
    min-height: 108px;
  }

  .guest-strip {
    flex-wrap: wrap;
  }
}
