/* MarinaVex site styles. Shared by every page.
   Colours follow the MarinaVex Brand Colour Guidelines v1.0 (dark theme). */

:root {
  /* MarinaVex Brand Colour Guidelines v1.0, dark theme */
  --navy:    #003D84;  /* Deep Navy Blue       - primary / hero backgrounds */
  --royal:   #0057A8;  /* Royal Marine Blue    - headings & primary buttons */
  --ocean:   #007BC4;  /* Ocean Blue           - section highlights */
  --cyan:    #00A9E6;  /* Cyan Blue            - interactive / hover */
  --teal:    #00C7D9;  /* Aqua Teal            - dividers & icons */
  --orange:  #FF6A00;  /* Bright Arrow Orange  - key action accent, max 4% */
  --white:   #F4F7FA;  /* Soft White Glow      - text on dark */
  --silver:  #C9D3DD;  /* Silver Gray          - borders, secondary text */
  --bg:      #0A1A2B;  /* Dark Background Shadow - base */
  --card:    #0F2740;  /* Card Surface Blue */
  --gradient: linear-gradient(135deg, #003D84 0%, #007BC4 45%, #00C7D9 100%);

  --fg: var(--white);
  --muted: var(--silver);
  --line: rgba(201, 211, 221, 0.18);      /* silver hairline */
  --accent: var(--cyan);
  --accent-soft: rgba(0, 169, 230, 0.14);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: auto; }

body {
  background: var(--bg);
  color: var(--fg);
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; }
img { display: block; max-width: 100%; }

.wrap {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 56px);
}

.eyebrow {
  font-size: 12px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 18px;
}

.eyebrow--hero { color: var(--white); }
.section-title {
  font-size: clamp(30px, 4.6vw, 60px);
  font-weight: 200;
  line-height: 1.08;
  letter-spacing: 0.01em;
  max-width: 820px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: 999px;
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid transparent;
  transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease, transform 0.25s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--royal); color: var(--white); border-color: var(--royal); }
.btn-primary:hover { background: var(--cyan); border-color: var(--cyan); color: var(--bg); }
.btn-ghost { border-color: var(--silver); color: var(--fg); }
.btn-ghost:hover { border-color: var(--cyan); color: var(--cyan); }
.btn-ghost--light { border-color: var(--white); }
.btn-ghost--light:hover { background: var(--white); color: var(--navy); border-color: var(--white); }

/* ---------- Loader ---------- */
#loader {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: var(--gradient);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 22px;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}
#loader.hidden { opacity: 0; visibility: hidden; }
/* Square logo is 500x500. */
#loader .logo {
  width: clamp(140px, 22vw, 220px);
  height: auto;
  aspect-ratio: 1 / 1;
}
#loader .bar {
  width: min(260px, 60vw);
  height: 2px;
  background: rgba(244, 247, 250, 0.3);
  overflow: hidden;
}
#loader .bar span {
  display: block;
  height: 100%;
  width: 0%;
  background: var(--white);
  transition: width 0.2s ease;
}
#loader .pct { font-size: 12px; letter-spacing: 0.2em; color: var(--white); }

/* ---------- Header ---------- */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px clamp(20px, 4vw, 56px);
  background: linear-gradient(to bottom, rgba(10, 26, 43, 0.9), rgba(10, 26, 43, 0));
}
header .brand { display: block; line-height: 0; }
/* Horizontal logo is 2017x780 (2.59:1). 44px tall renders ~114px wide. */
header .brand img {
  height: 44px;
  width: auto;
}
header nav { display: flex; align-items: center; gap: 28px; }
header nav a {
  color: var(--fg);
  text-decoration: none;
  font-size: 12px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  opacity: 0.75;
}
header nav a:hover { opacity: 1; }
header nav a.active { opacity: 1; color: var(--accent); }
header .btn { padding: 10px 20px; font-size: 11px; opacity: 1; }
@media (max-width: 860px) {
  header nav a:not(.btn) { display: none; }
  header .brand img { height: 36px; }
}

/* ---------- Hero ---------- */
.hero {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  position: relative;
  padding-top: 110px;
  padding-bottom: 80px;
  overflow: hidden;
  background: transparent;       /* the fixed .site-bg shows through */
}
/* Navy wash keeps the white type on the navy end of the brand gradient. */
.hero-wash {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(0, 61, 132, 0.92) 0%, rgba(0, 61, 132, 0.7) 45%, rgba(0, 61, 132, 0.25) 100%),
    linear-gradient(to top, rgba(10, 26, 43, 0.6) 0%, rgba(10, 26, 43, 0) 35%);
}
.hero .wrap, .hero .scroll-hint { position: relative; z-index: 2; }
/* ---------- Site-wide wave backdrop ---------- */
.site-bg {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
  filter: saturate(0.85) brightness(0.9);
  pointer-events: none;
}
@media (prefers-reduced-motion: reduce) {
  .site-bg { display: none; }
  .hero { background: var(--gradient); }
}
/* Tagline: the display line of the page. */
/* One line at every width: ~19 characters at 0.06em tracking fits in ~5.2vw. */
.tagline {
  font-size: clamp(26px, 5vw, 64px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #ffffff;
  white-space: nowrap;
  text-shadow:
    0 0 1px #00A9E6,
    0 0 3px #00A9E6,
    0 0 12px rgba(0, 169, 230, 0.8),
    0 0 32px rgba(0, 169, 230, 0.45);
  display: flex;
  align-items: baseline;
  gap: 0 0.22em;
}
.tagline em {
  font-style: normal;
  font-weight: 200;
  font-size: 0.42em;
  letter-spacing: 0.35em;
  color: var(--orange);
  text-shadow: 0 0 12px rgba(255, 106, 0, 0.7);
  transform: translateY(-0.15em);
}
.hero .subhead {
  margin-top: 26px;
  font-size: clamp(20px, 2.4vw, 32px);
  font-weight: 200;
  line-height: 1.25;
  max-width: 900px;
  color: var(--fg);
}
.hero .lead {
  margin-top: 24px;
  color: var(--white);
  font-size: clamp(15px, 1.5vw, 19px);
  line-height: 1.65;
  max-width: 720px;
}
.hero ul {
  list-style: none;
  margin-top: 30px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
}
.hero ul li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--fg);
  opacity: 0.85;
}
.hero ul li::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--teal);
  flex-shrink: 0;
}
.hero .ctas {
  margin-top: 40px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.hero .scroll-hint {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--white);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.hero .scroll-hint::after {
  content: "";
  width: 2px;
  height: 48px;
  background: linear-gradient(to bottom, var(--orange), transparent);
  animation: drop 1.8s ease-in-out infinite;
}
@keyframes drop {
  0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  51% { transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ---------- Stats + trust line ---------- */
.stats {
  position: relative;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
/* Same wash as the hero so the waves continue through the strip. */
.stats::before, .trust::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(90deg, rgba(0, 61, 132, 0.92) 0%, rgba(0, 61, 132, 0.7) 45%, rgba(0, 61, 132, 0.25) 100%),
    linear-gradient(to top, rgba(10, 26, 43, 0.6) 0%, rgba(10, 26, 43, 0) 35%);
}
.stats .wrap, .trust .lane { position: relative; z-index: 1; }
.stats .wrap {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.stats .stat {
  padding: 36px 24px 36px 0;
  border-right: 1px solid var(--line);
}
.stats .stat:not(:first-child) { padding-left: 24px; }
.stats .stat:last-child { border-right: 0; }
.stats .value {
  font-size: clamp(26px, 3vw, 40px);
  font-weight: 200;
  line-height: 1;
  color: var(--fg);
}
.stats .label {
  margin-top: 10px;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.5;
}
@media (max-width: 860px) {
  .stats .wrap { grid-template-columns: repeat(2, 1fr); }
  .stats .stat { border-right: 0; border-bottom: 1px solid var(--line); padding: 28px 0 !important; }
  .stats .stat:nth-last-child(-n+2) { border-bottom: 0; }
}

.trust {
  position: relative;
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
}
.trust .lane {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 10%, #000 90%, transparent);
  mask-image: linear-gradient(to right, transparent, #000 10%, #000 90%, transparent);
}
.trust .track {
  display: flex;
  width: max-content;
  animation: marquee 40s linear infinite;
}
.trust .track span {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--white);
  padding: 0 36px;
  white-space: nowrap;
  position: relative;
  /* Same glyph glow as the video captions. */
  text-shadow:
    0 0 1px #00A9E6,
    0 0 3px rgba(0, 169, 230, 0.95),
    0 0 10px rgba(0, 169, 230, 0.7);
}
.trust .track span::after {
  content: "";
  position: absolute;
  right: -3px;
  top: 50%;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--teal);
  transform: translateY(-50%);
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---------- Scrub sections ---------- */
.scrub {
  --play-scroll: 420vh;
  --hold-scroll: 100vh;
  /* 100vh stage + video scroll distance + completed-frame hold. */
  min-height: calc(100vh + var(--play-scroll) + var(--hold-scroll));
  position: relative;
}
.scrub .stage {
  position: relative;
  height: 100vh;
  width: 100%;
  overflow: hidden;
  background: #000;
  isolation: isolate;
}
.scrub video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  z-index: 0;
  transform: translateZ(0);
  backface-visibility: hidden;
}
.scrub .overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, rgba(10, 26, 43, 0.55) 0%, rgba(10, 26, 43, 0) 30%, rgba(10, 26, 43, 0) 70%, rgba(10, 26, 43, 0.7) 100%);
  pointer-events: none;
  z-index: 1;
}
.scrub .captions {
  position: absolute;
  left: clamp(20px, 5vw, 80px);
  right: clamp(20px, 5vw, 80px);
  bottom: clamp(40px, 8vh, 96px);
  max-width: 640px;
  pointer-events: none;
  z-index: 2;
  transform: translateZ(0);
  isolation: isolate;
}
.scrub .caption {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  opacity: 0.001;
  transform: translate3d(0, 0, 0);
  transition: opacity 0.35s ease;
  will-change: opacity;
  backface-visibility: hidden;
}
/* Glow lives on the glyphs only: a tight blue outline ring plus a soft halo. */
.scrub .caption h2 {
  font-weight: 500;
  -webkit-text-stroke: 0.6px rgba(0, 169, 230, 0.9);
  paint-order: stroke fill;
  text-shadow:
    0 0 1px #00A9E6,
    0 0 2px #00A9E6,
    0 0 6px rgba(0, 169, 230, 0.95),
    0 0 16px rgba(0, 169, 230, 0.75),
    0 0 34px rgba(0, 169, 230, 0.45);
}
.scrub .caption p {
  font-weight: 500;
  color: #ffffff;
  text-shadow:
    0 0 1px #00A9E6,
    0 0 3px rgba(0, 169, 230, 0.95),
    0 0 10px rgba(0, 169, 230, 0.7);
}
.scrub .caption .index {
  font-weight: 600;
  color: #ffffff;
  text-shadow:
    0 0 1px #00A9E6,
    0 0 3px #00A9E6,
    0 0 10px rgba(0, 169, 230, 0.9);
}
.scrub .caption .module {
  font-weight: 600;
  border-color: var(--accent);
  box-shadow: 0 0 10px rgba(0, 169, 230, 0.6);
  text-shadow: 0 0 1px #00A9E6, 0 0 6px rgba(0, 169, 230, 0.9);
}
.scrub .caption.is-active {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}
.scrub .caption .module {
  display: inline-block;
  margin-top: 18px;
  font-size: 11px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--fg);
  border: 1px solid var(--silver);
  padding: 6px 12px;
  border-radius: 999px;
}
.scrub .beats {
  position: absolute;
  top: clamp(90px, 14vh, 130px);
  right: clamp(20px, 4vw, 56px);
  display: flex;
  gap: 8px;
  z-index: 3;
  transform: translateZ(0);
}
.scrub .beats i {
  width: 22px;
  height: 2px;
  background: rgba(201, 211, 221, 0.35);
  transition: background 0.3s ease;
}
.scrub .beats i.is-active { background: var(--orange); }
.scrub .caption .index {
  font-size: 12px;
  letter-spacing: 0.3em;
  color: var(--accent);
  margin-bottom: 14px;
}
.scrub .caption h2 {
  font-size: clamp(30px, 5vw, 72px);
  font-weight: 200;
  line-height: 1;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.scrub .caption p {
  margin-top: 16px;
  color: var(--muted);
  font-size: clamp(14px, 1.4vw, 17px);
  line-height: 1.6;
}
.scrub .progress {
  position: absolute;
  right: clamp(20px, 4vw, 56px);
  top: 50%;
  transform: translateY(-50%);
  width: 2px;
  height: 160px;
  background: rgba(201, 211, 221, 0.3);
  z-index: 3;
}
.scrub .progress span {
  display: block;
  width: 100%;
  height: 0%;
  background: var(--orange);
}

/* ---------- Content breaks (full height) ---------- */
.break {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: 120px 0;
  position: relative;
}
.break::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: rgba(10, 26, 43, 0.82);
}
.break .wrap { position: relative; z-index: 1; }
.break.alt::before { background: rgba(0, 61, 132, 0.84); }
.break.alt .eyebrow { color: var(--teal); }
.break.alt .card, .break.alt .panel { background: var(--card); border-color: rgba(201, 211, 221, 0.22); }

.grid {
  display: grid;
  gap: 20px;
  margin-top: 56px;
}
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); gap: 14px; }
@media (max-width: 1000px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-3, .grid-2, .grid-4 { grid-template-columns: 1fr; } }
.card.tile { padding: 24px 22px; border-radius: 14px; }
.card.tile h3 { font-size: 17px; }
.card.tile p { font-size: 13.5px; margin-top: 8px; }

.card {
  padding: 30px 28px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--card);
  transition: border-color 0.3s ease, background 0.3s ease;
}
.card:hover { border-color: var(--cyan); }
.card .num {
  font-size: 12px;
  letter-spacing: 0.3em;
  color: var(--teal);
  margin-bottom: 18px;
}
.card h3 {
  font-size: clamp(19px, 1.8vw, 24px);
  font-weight: 400;
  line-height: 1.25;
}
.card p {
  margin-top: 12px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
}
.card ul {
  list-style: none;
  margin-top: 18px;
  display: grid;
  gap: 8px;
}
.card ul li {
  font-size: 14px;
  color: var(--fg);
  opacity: 0.85;
  display: flex;
  gap: 10px;
}
.card ul li::before { content: "\2014"; color: var(--teal); }

/* Deployment panels */
.panel {
  padding: clamp(28px, 4vw, 52px);
  border-radius: 22px;
  border: 1px solid var(--line);
  background:
    radial-gradient(80% 60% at 100% 0%, rgba(0, 123, 196, 0.35), transparent 70%),
    var(--card);
}
.panel h3 {
  font-size: clamp(22px, 2.4vw, 32px);
  font-weight: 300;
  line-height: 1.2;
}
.panel p {
  margin-top: 16px;
  color: var(--muted);
  font-size: 15.5px;
  line-height: 1.7;
}
.panel .tag {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--teal);
  border: 1px solid var(--teal);
  padding: 6px 12px;
  border-radius: 999px;
  margin-bottom: 22px;
}

/* FAQ */
.faq { margin-top: 48px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 24px 0;
  font-size: clamp(17px, 1.6vw, 20px);
  font-weight: 400;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  font-size: 24px;
  font-weight: 200;
  color: var(--teal);
  transition: transform 0.3s ease;
  flex-shrink: 0;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p {
  padding: 0 0 26px;
  color: var(--muted);
  font-size: 15.5px;
  line-height: 1.7;
  max-width: 800px;
}

/* ---------- End break (acts as footer) ---------- */
.break--end {
  text-align: center;
}
.break--end::before {
  background:
    radial-gradient(60% 50% at 50% 100%, rgba(0, 61, 132, 0.95), transparent 75%),
    rgba(10, 26, 43, 0.8);
}
.break--end .wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 26px;
}
/* Square logo is 500x500. */
.break--end .logo {
  width: clamp(150px, 20vw, 220px);
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: contain;
}
.tagline--center {
  justify-content: center;
  font-size: clamp(24px, 4.2vw, 52px);
}
.break--end h2 {
  font-size: clamp(22px, 2.8vw, 36px);
  font-weight: 200;
  line-height: 1.1;
  max-width: 760px;
}
.break--end .ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.break--end .contact {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px 44px;
  margin-top: 10px;
  font-size: 14px;
  color: var(--muted);
}
.break--end .person { display: flex; flex-direction: column; gap: 4px; }
.break--end .person a:first-child { color: var(--fg); }
.break--end .contact a { text-decoration: none; }
.break--end .contact a:hover { color: var(--cyan); }
.break--end .fine {
  margin-top: 40px;
  color: var(--muted);
  font-size: 11.5px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  line-height: 1.8;
}

/* =====================================================================
   Shared page chrome and inner-page components
   ===================================================================== */

/* ---------- Header: mobile toggle ---------- */
.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--silver);
  border-radius: 10px;
  background: rgba(10, 26, 43, 0.6);
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--white);
  transition: transform 0.25s ease, opacity 0.25s ease;
}
@media (max-width: 860px) {
  .nav-toggle { display: flex; }
  header nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px clamp(20px, 4vw, 56px) 20px;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 24px 40px rgba(0, 0, 0, 0.45);
    display: none;
  }
  header.nav-open { background: var(--bg); }
  header.nav-open nav { display: flex; }
  header nav a:not(.btn) { display: block; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
  header nav .btn { margin-top: 16px; justify-content: center; }
  header.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  header.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
  header.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

/* ---------- Inner page hero ---------- */
.page-hero {
  min-height: 62vh;
  min-height: 62svh;
  display: flex;
  align-items: flex-end;
  position: relative;
  padding-top: 150px;
  padding-bottom: 64px;
  overflow: hidden;
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(90deg, rgba(0, 61, 132, 0.92) 0%, rgba(0, 61, 132, 0.7) 45%, rgba(0, 61, 132, 0.25) 100%),
    linear-gradient(to top, rgba(10, 26, 43, 0.7) 0%, rgba(10, 26, 43, 0) 40%);
}
.page-hero .wrap { position: relative; z-index: 1; }
.page-hero .eyebrow { color: var(--white); }
.page-hero h1 {
  font-size: clamp(32px, 4.8vw, 64px);
  font-weight: 200;
  line-height: 1.08;
  max-width: 900px;
}
.page-hero .lead {
  margin-top: 22px;
  font-size: clamp(15px, 1.5vw, 19px);
  line-height: 1.65;
  max-width: 720px;
  color: var(--white);
}
.page-hero .ctas { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- Standard content section (no forced full height) ---------- */
.section {
  position: relative;
  padding: clamp(72px, 9vw, 120px) 0;
}
.section::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: rgba(10, 26, 43, 0.82);
}
.section.alt::before { background: rgba(0, 61, 132, 0.84); }
.section.solid::before { background: var(--bg); }
.section .wrap { position: relative; z-index: 1; }
.section.alt .eyebrow { color: var(--teal); }
.section.alt .card, .section.alt .panel { background: var(--card); border-color: rgba(201, 211, 221, 0.22); }
.section .section-lead {
  margin-top: 18px;
  color: var(--muted);
  font-size: clamp(15px, 1.4vw, 18px);
  line-height: 1.65;
  max-width: 680px;
}

/* ---------- Pill lists ---------- */
.pills { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; }
.pills li {
  font-size: 12px;
  letter-spacing: 0.08em;
  padding: 7px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--fg);
  background: rgba(15, 39, 64, 0.6);
}
.pills.teal li { border-color: var(--teal); color: var(--teal); }

/* ---------- Modules page ---------- */
.module-index { margin-top: 40px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
@media (max-width: 1000px) { .module-index { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px) { .module-index { grid-template-columns: repeat(2, 1fr); } }
.module-index a {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 18px 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--card);
  text-decoration: none;
  transition: border-color 0.25s ease, transform 0.25s ease;
}
.module-index a:hover { border-color: var(--cyan); transform: translateY(-2px); }
.module-index .code { font-size: 11px; letter-spacing: 0.25em; color: var(--teal); }
.module-index .name { font-size: 15px; font-weight: 500; }

.module-block {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: clamp(28px, 4vw, 64px);
  padding: clamp(36px, 5vw, 64px) 0;
  border-top: 1px solid var(--line);
  scroll-margin-top: 90px;
}
.module-block:first-of-type { border-top: 0; }
@media (max-width: 900px) { .module-block { grid-template-columns: 1fr; } }
.module-block .meta { display: flex; gap: 14px; align-items: center; margin-bottom: 16px; }
.module-block .meta .code {
  font-size: 12px;
  letter-spacing: 0.25em;
  color: var(--teal);
  border: 1px solid var(--teal);
  padding: 5px 10px;
  border-radius: 999px;
}
.module-block .meta .cat { font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); }
.module-block h2 { font-size: clamp(26px, 3vw, 40px); font-weight: 300; line-height: 1.15; }
.module-block .strap { margin-top: 10px; font-size: clamp(16px, 1.6vw, 20px); color: var(--cyan); font-weight: 400; line-height: 1.4; }
.module-block .summary { margin-top: 18px; color: var(--muted); font-size: 15.5px; line-height: 1.7; }
.module-block .advantage {
  margin-top: 22px;
  padding: 18px 20px;
  border-left: 3px solid var(--orange);
  background: rgba(15, 39, 64, 0.7);
  border-radius: 0 12px 12px 0;
  font-size: 15px;
  line-height: 1.6;
}
.module-block .facts { display: grid; gap: 18px; align-content: start; }
.module-block .fact {
  padding: 20px 22px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--card);
}
.module-block .fact h4 {
  font-size: 11px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 12px;
  font-weight: 600;
}
.module-block .fact ul { list-style: none; display: grid; gap: 7px; }
.module-block .fact ul li { font-size: 14px; display: flex; gap: 10px; line-height: 1.5; }
.module-block .fact ul li::before { content: "\2014"; color: var(--teal); flex-shrink: 0; }
.module-block .pills { margin-top: 18px; }

/* ---------- Videos page ---------- */
.video-grid { margin-top: 48px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 1000px) { .video-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .video-grid { grid-template-columns: 1fr; } }
.video-card {
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  background: var(--card);
  cursor: pointer;
  text-align: left;
  padding: 0;
  color: inherit;
  font: inherit;
  transition: border-color 0.25s ease, transform 0.25s ease;
}
.video-card:hover { border-color: var(--cyan); transform: translateY(-3px); }
.video-card .thumb {
  position: relative;
  aspect-ratio: 16 / 9;
  background: var(--navy);
  overflow: hidden;
}
.video-card .thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.video-card .play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(to top, rgba(10, 26, 43, 0.75), rgba(10, 26, 43, 0.05));
}
.video-card .play span {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: var(--royal);
  border: 2px solid var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 24px rgba(0, 169, 230, 0.6);
  transition: background 0.25s ease, transform 0.25s ease;
}
.video-card:hover .play span { background: var(--cyan); transform: scale(1.06); }
.video-card .play span::after {
  content: "";
  border-left: 18px solid var(--white);
  border-top: 11px solid transparent;
  border-bottom: 11px solid transparent;
  margin-left: 5px;
}
.video-card .body { padding: 20px 22px 24px; }
.video-card .num { font-size: 11px; letter-spacing: 0.3em; color: var(--teal); margin-bottom: 10px; }
.video-card h3 { font-size: 19px; font-weight: 500; }
.video-card p { margin-top: 8px; font-size: 14.5px; color: var(--muted); line-height: 1.55; }
.video-card .dur { margin-top: 14px; font-size: 12px; letter-spacing: 0.15em; text-transform: uppercase; color: var(--cyan); }

/* Modal player */
.modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(10, 26, 43, 0.92);
}
.modal.open { display: flex; }
.modal .frame {
  width: min(1100px, 100%);
  aspect-ratio: 16 / 9;
  background: #000;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 0 60px rgba(0, 169, 230, 0.35);
}
.modal iframe { width: 100%; height: 100%; border: 0; display: block; }
.modal .close {
  position: absolute;
  top: 22px;
  right: 22px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--silver);
  background: rgba(15, 39, 64, 0.8);
  color: var(--white);
  font-size: 22px;
  cursor: pointer;
}
.modal .close:hover { border-color: var(--cyan); color: var(--cyan); }
.modal .modal-ext {
  position: absolute;
  right: 24px;
  bottom: 24px;
  padding: 10px 18px;
  font-size: 11px;
}
.modal .title {
  position: absolute;
  left: 24px;
  bottom: 24px;
  right: 90px;
  font-size: 14px;
  letter-spacing: 0.1em;
  color: var(--white);
}

/* ---------- Pricing ---------- */
.tiers { margin-top: 48px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
@media (max-width: 900px) { .tiers { grid-template-columns: 1fr; } }
.tier {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 32px 30px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--card);
}
.tier.featured { border-color: var(--cyan); box-shadow: 0 0 40px rgba(0, 169, 230, 0.25); }
.tier .badge {
  position: absolute;
  top: -12px;
  left: 30px;
  font-size: 11px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  background: var(--royal);
  color: var(--white);
  padding: 6px 12px;
  border-radius: 999px;
}
.tier h3 { font-size: 22px; font-weight: 500; }
.tier .price { margin-top: 18px; font-size: clamp(34px, 3.4vw, 44px); font-weight: 200; line-height: 1; }
.tier .freq { margin-top: 8px; font-size: 12px; letter-spacing: 0.15em; text-transform: uppercase; color: var(--teal); }
.tier .summary { margin-top: 18px; color: var(--muted); font-size: 15px; line-height: 1.6; }
.tier ul { list-style: none; margin-top: 22px; display: grid; gap: 10px; flex: 1; }
.tier ul li { font-size: 14.5px; display: flex; gap: 10px; }
.tier ul li::before { content: "\2713"; color: var(--teal); }
.tier .btn { margin-top: 28px; justify-content: center; }

.table-wrap { margin-top: 40px; overflow-x: auto; border: 1px solid var(--line); border-radius: 16px; background: var(--card); }
.table { width: 100%; border-collapse: collapse; min-width: 640px; }
.table th, .table td { padding: 16px 20px; text-align: left; font-size: 14.5px; border-bottom: 1px solid var(--line); }
.table th { font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--teal); font-weight: 600; }
.table th:not(:first-child), .table td:not(:first-child) { text-align: center; }
.table tr:last-child td { border-bottom: 0; }
.table td.yes { color: var(--white); }
.table td.opt { color: var(--cyan); }
.table td.no { color: var(--muted); }
.table th.featured { color: var(--white); background: rgba(0, 87, 168, 0.35); }

/* ---------- About ---------- */
.story { margin-top: 40px; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 56px); }
@media (max-width: 860px) { .story { grid-template-columns: 1fr; } }
.story p { color: var(--muted); font-size: clamp(15.5px, 1.4vw, 18px); line-height: 1.75; }
.story p + p { margin-top: 18px; }
.journey { margin-top: 48px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; counter-reset: step; }
@media (max-width: 1000px) { .journey { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .journey { grid-template-columns: 1fr; } }
.journey--3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 1000px) { .journey--3 { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 760px) { .journey--3 { grid-template-columns: 1fr; } }
.journey .step {
  position: relative;
  padding: 28px 24px 24px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--card);
  counter-increment: step;
}
.journey .step::before {
  content: "0" counter(step);
  display: block;
  font-size: 12px;
  letter-spacing: 0.3em;
  color: var(--orange);
  margin-bottom: 14px;
}
.journey .step p { font-size: 15px; line-height: 1.55; }

/* ---------- Contact ---------- */
.form { display: grid; gap: 16px; margin-top: 48px; padding: clamp(24px, 3vw, 36px); border: 1px solid var(--line); border-radius: 20px; background: var(--card); }
.form--centered { max-width: 720px; margin-left: auto; margin-right: auto; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .form .row { grid-template-columns: 1fr; } }
.form label { display: grid; gap: 8px; font-size: 12px; letter-spacing: 0.15em; text-transform: uppercase; color: var(--teal); }
.form input, .form select, .form textarea {
  width: 100%;
  padding: 13px 14px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: rgba(10, 26, 43, 0.7);
  color: var(--white);
  font: inherit;
  font-size: 15px;
  letter-spacing: 0;
  text-transform: none;
}
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(0, 169, 230, 0.2); }
.form select option { background: var(--card); }
.form textarea { min-height: 140px; resize: vertical; }
.form .note { font-size: 13px; color: var(--muted); line-height: 1.5; }
.form .btn { justify-self: start; }
.contact-cards { margin-top: 40px; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 720px) { .contact-cards { grid-template-columns: 1fr; } }
.contact-cards--wide { grid-template-columns: 1fr; margin-top: 16px; }
.contact-cards .card { display: flex; gap: 16px; align-items: flex-start; }
.contact-cards .card .avatar {
  flex: none;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  overflow: hidden;
  border: 1px solid var(--teal);
  background: var(--card);
}
.contact-cards .card .avatar img { width: 100%; height: 100%; object-fit: cover; object-position: center top; display: block; }
.contact-cards .card .avatar.avatar--logo { background: #ffffff; display: flex; align-items: center; justify-content: center; }
.contact-cards .card .avatar.avatar--logo img { width: 72%; height: 72%; object-fit: contain; }
.contact-cards .card .body { flex: 1; min-width: 0; }
.contact-cards .card h3 { font-size: 16px; }
.contact-cards .card p { font-size: 14px; }
.contact-cards .card a { display: block; text-decoration: none; margin-top: 6px; font-size: 15px; }
.contact-cards .card a:hover { color: var(--cyan); }
.contact-cards .card .role { font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--teal); margin-bottom: 6px; }

/* ---------- Footer nav ---------- */
.footer-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 26px; margin-top: 6px; }
.footer-nav a { font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; text-decoration: none; color: var(--muted); }
.footer-nav a:hover { color: var(--cyan); }

/* ---------- Back to top ---------- */
.to-top {
  position: fixed;
  right: clamp(16px, 3vw, 32px);
  bottom: clamp(16px, 3vw, 32px);
  z-index: 60;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid var(--cyan);
  background: var(--royal);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 0 20px rgba(0, 169, 230, 0.45);
  opacity: 0;
  transform: translateY(14px);
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease, background 0.25s ease;
}
.to-top.show { opacity: 1; transform: translateY(0); pointer-events: auto; }
.to-top:hover { background: var(--cyan); color: var(--bg); }
.to-top:focus-visible { outline: 2px solid var(--white); outline-offset: 3px; }

/* ---------- Social links ---------- */
.social-links {
  display: flex;
  align-items: center;
  justify-items: center;
  gap: 10px;
}
.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--silver);
  color: var(--white);
  transition: border-color 0.25s ease, color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}
.social-links a:hover {
  border-color: var(--cyan);
  color: var(--cyan);
  box-shadow: 0 0 14px rgba(0, 169, 230, 0.5);
}

/* Header row: sits between the nav links and the Request Demo button. */
.social-links--header {
  margin: 0 6px;
  padding-left: 6px;
  border-left: 1px solid var(--line);
}
@media (max-width: 860px) {
  .social-links--header {
    width: 100%;
    margin: 18px 0 0;
    padding: 18px 0 0;
    border-left: 0;
    border-top: 1px solid var(--line);
    justify-content: center;
  }
}

/* Footer row: slightly larger, centered under the contact list. */
.social-links--footer {
  justify-content: center;
  gap: 14px;
  margin-top: 8px;
}
.social-links--footer a {
  width: 44px;
  height: 44px;
  border-color: var(--teal);
}
