:root {
  --bg: #ffffff;
  --bg-muted: #f5f7fb;
  --bg-panel: #f8fafc;
  --ink: #0b1220;
  --ink-soft: #1f2a3d;
  --muted: #5b6577;
  --line: #e5e8ee;
  --accent: #1f5cff;
  --accent-soft: #e9efff;
  --accent-warm: #f59d0a;
  --accent-warm-soft: #fff1db;
  --success-soft: #ecfdf3;
  --warning-soft: #fff7ed;
  --shadow: 0 22px 50px rgba(11, 18, 32, 0.08);
  --shadow-soft: 0 16px 36px rgba(15, 24, 44, 0.08);
  --radius-md: 12px;
  --radius-lg: 20px;
  --max-w: 1120px;
  --hero-bg: #edf4fb;
  --display-font: 'Space Grotesk', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --body-font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at top right, rgba(31, 92, 255, 0.08), transparent 32%),
    linear-gradient(180deg, #ffffff 0%, #fbfcff 100%);
  color: var(--ink);
  font-family: var(--body-font);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body.modal-open { overflow: hidden; }

a { color: inherit; text-decoration: none; }

button,
input {
  font: inherit;
}

img {
  display: block;
  max-width: 100%;
}

h1, h2, h3 {
  margin: 0;
  letter-spacing: -0.02em;
  color: var(--ink);
  font-family: var(--display-font);
}

p { margin: 0; color: var(--ink-soft); }

.hidden { display: none !important; }

.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid rgba(229, 232, 238, 0.9);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 68px;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  color: var(--ink);
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--ink) 0%, #23314a 100%);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.brand-name { font-size: 15px; }

.nav-links {
  display: inline-flex;
  align-items: center;
  gap: 28px;
}

.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  transition: color 0.15s ease;
}

.nav-links a:hover { color: var(--ink); }

.nav-cta {
  padding: 9px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink) !important;
  background: #fff;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.nav-cta:hover {
  border-color: var(--ink);
  background: var(--bg-panel);
}

.eyebrow {
  margin: 0 0 14px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}

.hero {
  padding: 70px 0 64px;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(circle at left top, rgba(245, 157, 10, 0.15), transparent 28%),
    radial-gradient(circle at 92% 12%, rgba(31, 92, 255, 0.14), transparent 24%),
    linear-gradient(180deg, #f8fbff 0%, var(--hero-bg) 100%);
}

.hero-shell {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(360px, 1.08fr);
  gap: 36px;
  align-items: center;
}

.hero-copy {
  max-width: 560px;
}

.hero-copy .eyebrow,
.showcase-section .eyebrow {
  color: var(--accent-warm);
}

.hero-copy h1 {
  font-size: clamp(40px, 4.4vw, 56px);
  line-height: 1;
  font-weight: 700;
  max-width: 680px;
}

.hero-copy .lede {
  margin-top: 16px;
  font-size: 18px;
  line-height: 1.58;
  color: var(--muted);
  max-width: 620px;
}

.hero-highlights {
  margin-top: 24px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.hero-highlight {
  padding: 16px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(15, 24, 44, 0.06);
  box-shadow: var(--shadow-soft);
}

.hero-highlight span {
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.hero-highlight strong {
  display: block;
  margin-top: 10px;
  font-size: 17px;
  line-height: 1.3;
  color: var(--ink);
}

.hero-stage {
  position: relative;
  min-height: 500px;
  padding: 28px;
  border-radius: 34px;
  overflow: hidden;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.92) 0%, rgba(255, 255, 255, 0.72) 100%);
  border: 1px solid rgba(15, 24, 44, 0.08);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}

.hero-stage::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.42), transparent 48%);
  pointer-events: none;
}

.hero-orb {
  position: absolute;
  border-radius: 999px;
  filter: blur(8px);
  z-index: 0;
}

.hero-orb-gold {
  left: -32px;
  bottom: 26px;
  width: 240px;
  height: 240px;
  background: radial-gradient(circle, rgba(245, 157, 10, 0.24), rgba(245, 157, 10, 0));
}

.hero-orb-blue {
  top: 0;
  right: 8px;
  width: 180px;
  height: 180px;
  background: radial-gradient(circle, rgba(56, 120, 255, 0.2), rgba(56, 120, 255, 0));
}

.hero-laptop {
  position: absolute;
  left: 22px;
  right: 46px;
  bottom: 30px;
  z-index: 1;
  max-width: 580px;
  padding: 14px 14px 0;
  border-radius: 34px 34px 18px 18px;
  background: linear-gradient(180deg, #223255 0%, #16243c 100%);
  box-shadow: 0 30px 80px rgba(12, 22, 43, 0.24);
  pointer-events: none;
}

.hero-laptop::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: -22px;
  width: calc(100% + 74px);
  height: 22px;
  border-radius: 0 0 28px 28px;
  transform: translateX(-50%);
  background: linear-gradient(180deg, #d6deeb 0%, #bcc7d7 100%);
  box-shadow: 0 10px 24px rgba(15, 24, 44, 0.12);
}

.hero-screen {
  overflow: hidden;
  border-radius: 24px;
  background: #eef4fb;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.hero-screen-phone img {
  object-fit: contain;
  background: #f8fafc;
}

.hero-screen-desktop {
  height: 310px;
}

.hero-phone-stack {
  position: absolute;
  right: 22px;
  bottom: 22px;
  z-index: 2;
  width: min(100%, 338px);
  height: 376px;
  pointer-events: none;
}

.hero-phone {
  position: absolute;
  width: 168px;
  padding: 11px;
  border-radius: 34px;
  background: linear-gradient(180deg, #213253 0%, #17233a 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 28px 70px rgba(11, 21, 43, 0.26);
}

.hero-phone::before {
  content: '';
  position: absolute;
  top: 11px;
  left: 50%;
  width: 96px;
  height: 20px;
  border-radius: 999px;
  transform: translateX(-50%);
  background: #11192b;
  z-index: 2;
}

.hero-screen-phone {
  height: 340px;
  border-radius: 24px;
}

.hero-phone-primary {
  right: 0;
  bottom: 0;
  transform: rotate(4deg);
}

.hero-phone-secondary {
  left: 24px;
  bottom: 62px;
  transform: rotate(-7deg);
}

.marine-ui {
  width: 100%;
  height: 100%;
  background: #f7f9fc;
  color: #172033;
  font-family: Inter, sans-serif;
}

.marine-ui-office {
  display: grid;
  grid-template-columns: 24% 1fr;
  font-size: 10px;
}

.marine-ui-office aside {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 13px 10px;
  background: #172033;
  color: #aeb7c8;
}

.marine-ui-office aside strong { color: white; font-size: 14px; margin-bottom: 8px; }
.marine-ui-office aside span { padding: 5px 6px; border-radius: 5px; }
.marine-ui-office aside .active { background: #27334a; color: white; }
.marine-ui-office main { padding: 14px; }
.marine-ui-heading { display: flex; justify-content: space-between; align-items: center; }
.marine-ui-heading div { display: flex; flex-direction: column; }
.marine-ui-heading small, .marine-ui-phone small { color: #d97706; font-size: 7px; font-weight: 800; letter-spacing: .08em; }
.marine-ui-heading strong { font-size: 14px; }
.marine-ui-heading b { background: #2563eb; color: white; border-radius: 6px; padding: 6px 8px; font-size: 8px; }
.marine-ui-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; margin: 12px 0; }
.marine-ui-stats span { display: flex; flex-direction: column; background: white; border: 1px solid #e3e7ee; border-radius: 7px; padding: 7px; }
.marine-ui-stats small { color: #6b7280; font-size: 6px; }
.marine-ui-stats strong { font-size: 14px; }
.marine-ui-card { display: flex; align-items: center; gap: 7px; background: white; border: 1px solid #e3e7ee; border-radius: 7px; padding: 7px; margin-bottom: 6px; }
.marine-ui-card i { width: 24px; height: 24px; border-radius: 6px; display: grid; place-items: center; background: #e9f1ff; color: #2563eb; font-style: normal; font-weight: 800; }
.marine-ui-card div { display: flex; flex: 1; flex-direction: column; min-width: 0; }
.marine-ui-card small { color: #6b7280; font-size: 7px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.marine-ui-card b { color: #2563eb; font-size: 7px; }
.marine-ui-phone { display: flex; flex-direction: column; gap: 5px; padding: 13px 8px 8px; font-size: 7px; }
.marine-ui-phone > strong { font-size: 11px; margin-bottom: 3px; }
.marine-ui-phone span { display: grid; grid-template-columns: 30px 1fr; background: white; border: 1px solid #e3e7ee; border-radius: 7px; padding: 6px 5px; font-weight: 700; }
.marine-ui-phone span b { color: #d97706; font-size: 6px; }
.marine-ui-phone span em { grid-column: 2; color: #6b7280; font-style: normal; font-weight: 500; font-size: 6px; }

.demo-section {
  background: #fff;
}

.demo-shell {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(420px, 1.22fr);
  gap: 34px;
  align-items: center;
}

.demo-copy h2 {
  font-size: clamp(32px, 4vw, 46px);
  line-height: 1.06;
}

.demo-player-shell {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(248, 250, 252, 0.96) 100%);
  box-shadow: var(--shadow-soft);
}

.demo-video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
  border-radius: 18px;
  background: #0b1220;
  object-fit: cover;
}

.marine-demo-board {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  padding: 16px;
  border-radius: 18px;
  background:
    radial-gradient(circle at top right, rgba(37, 99, 235, 0.16), transparent 44%),
    linear-gradient(145deg, #071427 0%, #102c46 100%);
}

.marine-demo-step {
  display: flex;
  min-height: 122px;
  gap: 12px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.marine-demo-step > span {
  display: grid;
  flex: 0 0 36px;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 11px;
  background: #f59e0b;
  color: #071427;
  font-size: 12px;
  font-weight: 900;
}

.marine-demo-step div {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.marine-demo-step strong {
  font-size: 16px;
  line-height: 1.2;
}

.marine-demo-step small {
  color: #c8d7e8;
  font-size: 12px;
  line-height: 1.45;
}

.demo-caption {
  margin-top: 12px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.video-library-hero {
  padding-bottom: 30px;
  background: linear-gradient(180deg, #f4f8fd 0%, #fff 100%);
}

.video-library-hero h1 {
  max-width: 880px;
  font-size: clamp(40px, 6vw, 68px);
  line-height: 1.02;
}

.video-library-section {
  padding-top: 30px;
}

.video-library-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.video-library-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.video-library-card video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #071427;
  object-fit: cover;
}

.video-library-card > div {
  display: grid;
  gap: 9px;
  padding: 24px;
}

.video-library-card h2 {
  font-size: 24px;
  line-height: 1.15;
}

.video-library-card p:last-child {
  color: var(--muted);
  line-height: 1.65;
}

.showcase-section {
  background: linear-gradient(180deg, #ffffff 0%, #f7fbff 100%);
}

.showcase-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.showcase-card {
  display: grid;
  gap: 18px;
  padding: 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: var(--shadow-soft);
}

.showcase-art {
  overflow: hidden;
  border-radius: 22px;
  background: #eef4fb;
  border: 1px solid rgba(15, 24, 44, 0.06);
}

.showcase-copy {
  display: grid;
  gap: 10px;
}

.showcase-copy h3 {
  font-size: 22px;
  line-height: 1.12;
}

.showcase-copy p {
  font-size: 15px;
  line-height: 1.65;
  color: var(--muted);
}

.cta-row {
  margin-top: 26px;
  display: inline-flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.01em;
  border: 1px solid transparent;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease, transform 0.15s ease;
  cursor: pointer;
}

.button:hover { transform: translateY(-1px); }

.button:disabled {
  cursor: wait;
  opacity: 0.7;
  transform: none;
}

.button.primary {
  background: var(--accent);
  color: #fff;
}

.button.primary:hover { background: #1847d7; }

.button.dark {
  background: var(--ink);
  color: #fff;
}

.button.dark:hover { background: #060b14; }

.button.ghost {
  background: #fff;
  color: var(--ink);
  border-color: var(--line);
}

.button.ghost:hover {
  border-color: var(--ink);
  background: var(--bg-panel);
}

.section {
  padding: 88px 0;
  border-bottom: 1px solid var(--line);
}

.section-muted { background: var(--bg-muted); }

.section-head {
  max-width: 680px;
  margin-bottom: 44px;
}

.section-head-wide {
  max-width: 760px;
}

.section-head h2,
.audience-grid h2,
.cta-band h2 {
  font-size: clamp(28px, 3vw, 38px);
  font-weight: 700;
  line-height: 1.12;
}

.section-copy {
  margin-top: 14px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.65;
}

.billing-note,
.status-banner {
  margin-bottom: 24px;
  padding: 14px 16px;
  border-radius: 16px;
  font-size: 14px;
  line-height: 1.55;
}

.billing-note {
  background: #eef4ff;
  border: 1px solid #d5e2ff;
  color: #26437f;
}

.pricing-summary {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 0 0 14px;
}

.pricing-summary article {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 18px;
}

.pricing-summary span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.pricing-summary strong {
  display: block;
  margin-top: 8px;
  color: var(--ink);
  font-size: 24px;
  line-height: 1.1;
}

.pricing-summary p,
.pricing-disclosure {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.pricing-summary p {
  margin-top: 8px;
}

.pricing-disclosure {
  margin: 0 0 22px;
}

.status-banner {
  background: var(--warning-soft);
  border: 1px solid #fed7aa;
  color: #9a3412;
}

.plans-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.plans-grid-single {
  grid-template-columns: minmax(0, 560px);
  justify-content: center;
}

.plan-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: 0 10px 28px rgba(11, 18, 32, 0.04);
}

.plan-card.featured {
  border-color: #cdd9ff;
  box-shadow: 0 18px 40px rgba(31, 92, 255, 0.12);
}

.plan-card-loading {
  display: grid;
  place-items: center;
  min-height: 240px;
}

.plan-loading,
.comparison-loading {
  color: var(--muted);
  font-size: 15px;
}

.plan-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 16px;
}

.plan-price-group {
  flex-shrink: 0;
  text-align: right;
}

.plan-label {
  margin: 0 0 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}

.plan-head h3 {
  font-size: 24px;
}

.plan-price {
  margin: 0;
  color: var(--ink);
  font-size: 28px;
  font-weight: 800;
  line-height: 1;
}

.plan-price-subcopy {
  margin: 6px 0 0;
  max-width: 170px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.4;
}

.plan-offer {
  display: inline-flex;
  margin-top: 14px;
  flex-shrink: 0;
  padding: 8px 12px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  text-align: center;
}

.plan-description {
  margin-top: 14px;
  color: var(--muted);
}

.plan-meta {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
}

.plan-badges {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.plan-badge {
  display: inline-flex;
  align-items: center;
  padding: 7px 10px;
  border-radius: 999px;
  background: var(--bg-panel);
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  text-transform: capitalize;
}

.plan-highlights {
  margin: 18px 0 0;
  padding: 0 0 0 18px;
  display: grid;
  gap: 10px;
  color: var(--muted);
}

.plan-highlights li {
  padding-left: 2px;
}

.plan-actions {
  margin-top: 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.plan-support-line {
  margin-top: auto;
  padding-top: 18px;
  color: var(--muted);
  font-size: 14px;
}

.capability-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.capability {
  background: #fff;
  padding: 28px 26px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 190px;
}

.capability h3 {
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
}

.capability p {
  font-size: 14px;
  line-height: 1.65;
  color: var(--muted);
}

.install-shell {
  display: grid;
  gap: 8px;
}

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

.install-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-height: 100%;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(11, 18, 32, 0.04);
}

.install-card h3 {
  font-size: 22px;
  line-height: 1.12;
}

.install-card p,
.install-card li {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

.install-card ol {
  margin: 0;
  padding-left: 20px;
  display: grid;
  gap: 10px;
}

.install-card-accent {
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  border-color: #d5e2ff;
}

.install-step {
  display: inline-flex;
  align-self: flex-start;
  padding: 7px 10px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.install-actions {
  margin-top: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.inline-link {
  color: var(--accent);
  font-weight: 700;
}

.inline-link:hover {
  text-decoration: underline;
}

.comparison-shell {
  border: 1px solid var(--line);
  border-radius: 24px;
  overflow: hidden;
  background: #fff;
}

.comparison-table-wrap {
  overflow-x: auto;
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 720px;
}

.comparison-table th,
.comparison-table td {
  padding: 16px 18px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  font-size: 14px;
}

.comparison-table thead th {
  background: var(--bg-panel);
  color: var(--ink);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.comparison-table tbody th {
  width: 22%;
  color: var(--ink);
  font-weight: 600;
}

.comparison-table td {
  color: var(--muted);
}

.audience-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 64px;
  align-items: start;
}

.audience-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--line);
}

.audience-list li {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 24px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}

.audience-list strong {
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
}

.audience-list span {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.6;
}

.faq-grid {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(0, 1.2fr);
  gap: 44px;
}

.faq-list {
  display: grid;
  gap: 16px;
}

.faq-item {
  padding: 22px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
}

.faq-item h3 {
  font-size: 17px;
  line-height: 1.35;
}

.faq-item p {
  margin-top: 10px;
  color: var(--muted);
}

.cta-band {
  padding: 88px 0;
  text-align: center;
}

.cta-band-inner {
  max-width: 720px;
  margin: 0 auto;
}

.cta-band p {
  margin-top: 14px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.65;
}

.cta-band .cta-row { justify-content: center; }

.public-sector-strip {
  background: #fff;
}

.public-sector-strip-inner,
.procurement-grid,
.public-cta-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
  gap: 32px;
  align-items: center;
}

.public-sector-actions {
  display: grid;
  gap: 12px;
  justify-items: stretch;
}

.public-hero {
  padding: 82px 0 72px;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(circle at 12% 18%, rgba(245, 157, 10, 0.15), transparent 28%),
    linear-gradient(180deg, #f8fbff 0%, #edf4fb 100%);
}

.public-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(360px, 0.9fr);
  gap: 42px;
  align-items: center;
}

.public-hero h1 {
  max-width: 760px;
  font-size: clamp(38px, 4.2vw, 56px);
  line-height: 1.02;
}

.public-hero .lede {
  margin-top: 18px;
  max-width: 680px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.6;
}

.public-proof-panel,
.procurement-card {
  border: 1px solid var(--line);
  border-radius: 24px;
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.public-proof-panel {
  padding: 24px;
}

.proof-kicker {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.designation-list {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

.designation-list article {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--bg-panel);
}

.designation-list span {
  display: block;
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.designation-list strong {
  display: block;
  margin-top: 8px;
  color: var(--ink);
  font-size: 30px;
  line-height: 1;
  font-family: var(--display-font);
}

.designation-list p,
.proof-note {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.designation-list p {
  margin-top: 6px;
}

.proof-note {
  margin-top: 18px;
}

.procurement-card {
  padding: 24px;
}

.procurement-card h3 {
  font-size: 22px;
  line-height: 1.12;
}

.procurement-card ul {
  margin: 16px 0 0;
  padding-left: 20px;
  display: grid;
  gap: 10px;
}

.procurement-card li {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.public-cta-panel {
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  box-shadow: var(--shadow-soft);
}

.footer {
  border-top: 1px solid var(--line);
  padding: 28px 0;
  background: #fff;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-copy-group {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.footer-brand {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
}

.footer-copy {
  font-size: 13px;
  color: var(--muted);
}

.footer-links {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-links a {
  font-size: 13px;
  color: var(--muted);
  transition: color 0.15s ease;
}

.footer-links a:hover {
  color: var(--ink);
}

.legal-page {
  min-height: 100vh;
}

.legal-shell {
  width: 100%;
  max-width: 880px;
  margin: 0 auto;
  padding: 72px 24px 96px;
}

.legal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.legal-nav {
  display: inline-flex;
  gap: 12px;
  flex-wrap: wrap;
}

.legal-card {
  padding: 32px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.legal-meta {
  margin-top: 14px;
  font-size: 14px;
  color: var(--muted);
}

.legal-content {
  margin-top: 28px;
  display: grid;
  gap: 24px;
}

.legal-section {
  display: grid;
  gap: 10px;
}

.legal-section h2 {
  font-size: 21px;
  line-height: 1.2;
}

.legal-section p,
.legal-section li {
  font-size: 15px;
  line-height: 1.7;
  color: var(--muted);
}

.legal-list {
  margin: 0;
  padding: 0 0 0 18px;
  display: grid;
  gap: 8px;
}

.legal-pricing-table {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
}

.legal-table-wrap {
  max-width: 100%;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 14px;
}

.legal-table-wrap .legal-pricing-table {
  min-width: 640px;
  border: 0;
  border-radius: 0;
}

.legal-pricing-table th,
.legal-pricing-table td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
  text-align: left;
  vertical-align: top;
}

.legal-pricing-table th {
  background: var(--bg-panel);
  color: var(--ink);
  font-weight: 800;
}

.legal-pricing-table tr:last-child td {
  border-bottom: 0;
}

.modal-shell {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: grid;
  place-items: center;
  padding: 24px;
  overflow-y: auto;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(11, 18, 32, 0.58);
}

.modal-card {
  position: relative;
  width: min(100%, 560px);
  max-height: calc(100dvh - 48px);
  overflow-y: auto;
  padding: 28px;
  border-radius: 24px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 30px 80px rgba(11, 18, 32, 0.24);
}

.modal-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 16px;
}

.modal-eyebrow {
  margin-bottom: 8px;
}

.modal-copy {
  margin-top: 14px;
  color: var(--muted);
}

.modal-close {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.checkout-form {
  margin-top: 22px;
  display: grid;
  gap: 14px;
}

.field {
  display: grid;
  gap: 8px;
}

.field span {
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
}

.password-field {
  position: relative;
  display: flex;
  align-items: center;
}

.field input,
.field select {
  width: 100%;
  min-height: 48px;
  padding: 0 14px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
}

.password-field input {
  padding-right: 48px;
}

.field input:focus,
.field select:focus {
  outline: none;
  border-color: #b6c7ff;
  box-shadow: 0 0 0 4px rgba(31, 92, 255, 0.1);
}

.password-toggle {
  position: absolute;
  right: 10px;
  top: 50%;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  transform: translateY(-50%);
}

.password-toggle:hover {
  color: var(--ink);
  background: rgba(31, 92, 255, 0.08);
}

.password-toggle:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(31, 92, 255, 0.16);
}

.password-toggle svg {
  width: 18px;
  height: 18px;
}

.password-toggle-slash {
  display: none;
}

.password-toggle.is-visible .password-toggle-slash {
  display: block;
}

.checkout-pricing-shell {
  display: grid;
  gap: 10px;
  padding: 16px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: #fffaf0;
}

.checkout-pricing-title {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-warm);
}

.checkout-pricing-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
}

.checkout-pricing-row span {
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
}

.checkout-pricing-row strong {
  color: var(--ink);
  font-size: 15px;
}

.checkout-pricing-copy {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.checkout-payment-shell {
  display: grid;
  gap: 12px;
  padding: 16px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: #f8fbff;
}

.checkout-mode-toggle {
  display: grid;
  gap: 8px;
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: var(--bg-panel);
}

.checkout-legal-shell {
  display: grid;
  gap: 10px;
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: #f8fbff;
}

.checkout-legal-copy {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.checkout-legal-links {
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 6px;
}

.checkout-legal-links a {
  color: var(--accent);
  font-size: 13px;
  font-weight: 600;
}

.checkout-legal-links a:hover {
  text-decoration: underline;
}

.checkout-mode-toggle-label {
  display: flex;
  align-items: start;
  gap: 10px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
}

.checkout-mode-toggle-label input {
  margin-top: 2px;
}

.checkout-mode-toggle-copy {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.checkout-payment-copy {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.checkout-payment-element {
  min-height: 54px;
}

.form-hint {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.form-error {
  padding: 12px 14px;
  border-radius: 14px;
  background: #fff1f2;
  border: 1px solid #fecdd3;
  color: #be123c;
  font-size: 14px;
}

.modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

@media (max-width: 960px) {
  .hero-shell,
  .demo-shell,
  .plans-grid,
  .pricing-summary,
  .faq-grid,
  .audience-grid,
  .showcase-grid,
  .install-grid,
  .public-sector-strip-inner,
  .public-hero-grid,
  .procurement-grid,
  .public-cta-panel {
    grid-template-columns: 1fr;
  }

  .video-library-grid {
    grid-template-columns: 1fr;
  }

  .capability-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-copy {
    max-width: none;
  }
}

@media (max-width: 760px) {
  .nav-links a:not(.nav-cta) { display: none; }

  .hero {
    padding: 40px 0 28px;
  }

  .hero-shell {
    gap: 16px;
  }

  .hero-copy h1 {
    font-size: clamp(33px, 10vw, 40px);
    line-height: 1.03;
  }

  .hero-copy .lede {
    margin-top: 14px;
    font-size: 16px;
    line-height: 1.5;
  }

  .demo-copy h2 {
    font-size: clamp(29px, 8vw, 36px);
    line-height: 1.08;
  }

  .hero-highlights {
    display: none;
  }

  .cta-row {
    display: grid;
    width: 100%;
    margin-top: 22px;
  }

  .hero-stage {
    min-height: 216px;
    height: 216px;
    padding: 14px;
    border-radius: 24px;
  }

  .hero-laptop,
  .hero-phone-stack {
    position: absolute;
    max-width: none;
  }

  .hero-laptop {
    left: 14px;
    right: 62px;
    bottom: 22px;
    width: auto;
    margin-top: 0;
    padding: 8px 8px 0;
    border-radius: 20px 20px 12px 12px;
  }

  .hero-laptop::after {
    bottom: -10px;
    width: calc(100% + 28px);
    height: 10px;
    border-radius: 0 0 18px 18px;
  }

  .hero-screen-desktop {
    height: 126px;
  }

  .hero-phone-stack {
    display: block;
    right: 12px;
    bottom: 14px;
    width: 132px;
    height: 164px;
  }

  .hero-phone {
    position: absolute;
    width: 72px;
    padding: 5px;
    border-radius: 16px;
  }

  .hero-phone::before {
    top: 5px;
    width: 40px;
    height: 8px;
  }

  .hero-screen-phone {
    height: 144px;
    border-radius: 12px;
  }

  .hero-phone-primary {
    right: 0;
    bottom: 0;
    transform: rotate(4deg);
  }

  .hero-phone-secondary {
    left: 0;
    bottom: 28px;
    transform: rotate(-7deg);
  }

  .audience-list li {
    grid-template-columns: 1fr;
    gap: 4px;
  }
}

@media (max-width: 620px) {
  .hero {
    padding-top: 40px;
  }

  .hero-stage,
  .demo-player-shell,
  .showcase-card,
  .hero-highlight,
  .plan-card,
  .faq-item,
  .modal-card {
    padding: 22px;
  }

  .hero-laptop {
    padding: 8px 8px 0;
  }

  .hero-phone {
    padding: 5px;
  }

  .hero-laptop::after {
    width: calc(100% + 48px);
  }

  .hero-screen-desktop {
    height: 118px;
  }

  .hero-screen-phone {
    height: 136px;
  }

  .capability-grid {
    grid-template-columns: 1fr;
  }

  .marine-demo-board {
    grid-template-columns: 1fr;
    padding: 10px;
  }

  .marine-demo-step {
    min-height: 0;
    padding: 14px;
  }

  .comparison-table th,
  .comparison-table td {
    padding: 14px 12px;
  }

  .checkout-pricing-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }

  .legal-card {
    padding: 24px;
  }
}
