/* ==========================================================================
   oceanaid.ai — styles
   1. Tokens   2. Base   3. Type   4. Buttons & chips   5. Header/nav
   6. Layout helpers   7. Sections   8. Footer   9. Motion   10. Responsive   11. Print
   ========================================================================== */

/* 1. Tokens ------------------------------------------------------------- */
:root {
  --navy: #0B1526;
  --navy-1: #0D1830;
  --navy-2: #0F1B33;
  --surface-dark: #12203A;
  --light: #F4F7FB;
  --white: #FFFFFF;
  --accent: #00B4D8;      /* cyan: dark bands only */
  --primary: #1A2FB5;     /* royal blue: light bands only */
  --mint: #72EFDD;        /* third colour, used sparingly on navy: hero highlight, timeline dots, trust checks, live dot */

  --font-display: 'Outfit', 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  --font-body: 'Manrope', -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;

  --radius: 16px;
  --radius-sm: 12px;
  --container: 1200px;
  --gutter: 24px;
  --nav-h: 64px;
  --section-y: 96px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* Band contexts: every colour decision flows from these */
.band--navy, .band--navy-1, .band--navy-2, .site-header, .site-footer {
  --bg: var(--navy);
  --text: #F3F7FB;
  --muted: #8FA3BC;
  --accent-c: var(--accent);
  --surface: var(--surface-dark);
  --border: rgba(255, 255, 255, .14);
  --border-soft: rgba(255, 255, 255, .08);
  --btn-fg: var(--navy);
  --zebra: rgba(255, 255, 255, .03);
  color: var(--text);
  background: var(--bg);
}
.band--navy-1 { --bg: var(--navy-1); }
.band--navy-2 { --bg: var(--navy-2); }
.band--light {
  --bg: var(--light);
  --text: #0F1B2D;
  --muted: #5B6B80;
  --accent-c: var(--primary);
  --surface: var(--white);
  --border: #D9E2EE;
  --border-soft: #E6ECF3;
  --btn-fg: #FFFFFF;
  --zebra: rgba(11, 21, 38, .03);
  color: var(--text);
  background: var(--bg);
}

/* 2. Base --------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 16px); }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.55;
  color: #F3F7FB;
  background: var(--navy);
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, video, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1rem; }
ul { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--accent-c, var(--accent)); outline-offset: 2px; border-radius: 4px; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 12px; top: -100px; z-index: 1000;
  padding: 10px 14px; border-radius: 8px; background: var(--accent); color: var(--navy); font-weight: 600;
}
.skip-link:focus { top: 12px; }

/* 3. Type ---------------------------------------------------------------- */
h1, h2, h3 { font-family: var(--font-display); font-weight: 700; margin: 0; }
h1 { font-size: clamp(2.25rem, 4.8vw, 3.5rem); line-height: 1.06; letter-spacing: -.02em; }
h2 { font-size: clamp(1.75rem, 3.4vw, 2.375rem); line-height: 1.1; letter-spacing: -.015em; }
h3 { font-size: 1.25rem; font-weight: 600; line-height: 1.25; font-family: var(--font-body); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  margin: 0 0 14px; font-size: .8125rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  color: var(--accent-c);
}
.subhead { font-size: 1.25rem; line-height: 1.45; margin: 16px 0 0; max-width: 40ch; }
.lead { font-size: 1.125rem; }
.body { margin-top: 16px; max-width: 65ch; }
.body p:last-child { margin-bottom: 0; }
.muted { color: var(--muted); }
.caption { font-size: .9375rem; color: var(--muted); margin: 10px 0 0; }
.small { font-size: .875rem; }
.center { text-align: center; }
.center .subhead, .center .body { margin-left: auto; margin-right: auto; max-width: 64ch; }
.tabular { font-variant-numeric: tabular-nums; }

/* 4. Buttons & chips ----------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 22px; border-radius: 12px;
  font-weight: 600; font-size: 1rem; line-height: 1.2; text-align: center;
  border: 1px solid transparent; transition: filter .15s var(--ease), background-color .15s var(--ease), border-color .15s var(--ease), transform .15s var(--ease);
}
.btn:hover { filter: brightness(1.06); }
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--accent-c); color: var(--btn-fg); border-color: var(--accent-c); }
.btn--secondary { background: transparent; color: var(--text); border-color: var(--text); }
.btn--secondary:hover { background: rgba(127, 127, 127, .08); }
.btn .icon { width: 20px; height: 20px; flex: none; }
.text-link { font-weight: 600; color: var(--accent-c); text-underline-offset: 3px; }
.text-link:hover { text-decoration: underline; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 28px; }
.cta-row .text-link { padding: 12px 4px; }
.cta-note { margin: 12px 0 0; font-size: .875rem; color: var(--muted); max-width: 60ch; }

.chip {
  display: inline-flex; align-items: center; gap: 6px; white-space: nowrap;
  padding: 3px 10px; border-radius: 999px; border: 1px solid currentColor;
  font-size: .75rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; line-height: 1.4;
  vertical-align: middle;
}
.chip--ok { color: var(--accent-c); }
.chip--soon, .chip--wip { color: var(--muted); }
.check-list .chip, .plan .chip, .works-with .chip { white-space: normal; text-align: left; line-height: 1.3; }

.check-list { display: grid; gap: 12px; margin-top: 22px; }
.check-list li { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; }
.check-list .icon { width: 22px; height: 22px; color: var(--accent-c); margin-top: 2px; }
.check-list .chip { margin-left: 6px; }

/* 5. Header / nav -------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  height: var(--nav-h);
  background: linear-gradient(rgba(11, 21, 38, .75), rgba(11, 21, 38, 0));
  border-bottom: 1px solid transparent;
  transition: background-color .2s var(--ease), border-color .2s var(--ease);
  margin-bottom: calc(-1 * var(--nav-h)); /* overlaps the hero */
}
.site-header.scrolled { background: rgba(11, 21, 38, .92); border-bottom-color: rgba(255, 255, 255, .1); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.nav {
  height: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter);
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.brand { display: inline-flex; align-items: center; gap: 10px; flex: none; }
.brand img { height: 28px; width: auto; }
.brand-mark { display: none; }          /* colour mark: phones only */
.brand-wordmark { display: block; }     /* colour wordmark with the mark: tablets and up */
.nav .btn { white-space: nowrap; }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.nav-actions .btn { min-height: 40px; padding: 8px 18px; font-size: .9375rem; }
.nav-actions .nav-signin { font-weight: 600; font-size: .9375rem; padding: 8px 12px; color: #F3F7FB; white-space: nowrap; border-radius: 10px; }
.nav-actions .nav-signin:hover { color: var(--accent); }
.nav-actions .btn--primary { background: var(--accent); color: var(--navy); }
.nav-actions .btn-full { display: none; }
.nav-actions .btn-compact { display: inline-flex; min-height: 36px; padding: 6px 14px; font-size: .875rem; border-radius: 10px; }

/* 6. Layout helpers ------------------------------------------------------ */
.container { max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--section-y) 0; position: relative; }
.rule-top { border-top: 1px solid var(--border-soft); }
.grid { display: grid; gap: var(--gutter); grid-template-columns: repeat(12, minmax(0, 1fr)); align-items: center; }
.col-5 { grid-column: span 5; } .col-6 { grid-column: span 6; } .col-7 { grid-column: span 7; } .col-12 { grid-column: 1 / -1; }
.stack { display: grid; gap: 20px; }

.media-card {
  position: relative; overflow: hidden; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--border);
}
.media-card > img, .media-card > video, .media-card > picture, .media-card > picture img { width: 100%; height: 100%; object-fit: cover; }
.media-card--square { aspect-ratio: 1 / 1; }
.media-card--wide { aspect-ratio: 16 / 9; }
.media-card--sm { border-radius: var(--radius-sm); }
.media-chip {
  position: absolute; left: 14px; bottom: 14px; z-index: 2;
  padding: 6px 10px; border-radius: 8px; font-size: .8125rem; font-weight: 600;
  background: rgba(11, 21, 38, .78); color: #F3F7FB; backdrop-filter: blur(4px);
}
/* Play/pause control: covers the whole card while paused; shrinks to a corner pause button while playing
   so the clip can always be stopped by mouse, touch or keyboard (WCAG 2.2.2). */
.play-btn {
  position: absolute; inset: 0; z-index: 3; display: flex; align-items: center; justify-content: center;
  width: 100%; height: 100%; color: #fff; background: rgba(11, 21, 38, .15); border-radius: inherit;
  transition: background-color .2s var(--ease), opacity .2s var(--ease);
}
.play-btn:hover { background: rgba(11, 21, 38, .3); }
.play-btn .icon { width: 48px; height: 48px; filter: drop-shadow(0 2px 8px rgba(0, 0, 0, .4)); }
.play-btn .icon-pause { display: none; }
.play-btn span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.play-btn:focus-visible { outline: 0; box-shadow: inset 0 0 0 3px var(--accent); }
.is-playing > .play-btn {
  inset: auto 12px 12px auto; width: 44px; height: 44px; border-radius: 50%;
  background: rgba(11, 21, 38, .55); opacity: .75;
}
.is-playing > .play-btn:hover, .is-playing > .play-btn:focus-visible { opacity: 1; background: rgba(11, 21, 38, .8); }
.is-playing > .play-btn:focus-visible { box-shadow: 0 0 0 3px var(--accent); }
.is-playing > .play-btn .icon { width: 28px; height: 28px; }
.is-playing > .play-btn .icon-play { display: none; }
.is-playing > .play-btn .icon-pause { display: block; }
.hero .is-playing > .play-btn { bottom: 14px; right: 14px; }
.is-playing > .media-chip { max-width: calc(100% - 86px); }

.browser-frame { position: relative; padding-top: 28px; }
.browser-frame::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 28px;
  background: rgba(255, 255, 255, .06); border-bottom: 1px solid var(--border);
}
.browser-frame::after {
  content: ''; position: absolute; top: 10px; left: 14px; width: 8px; height: 8px; border-radius: 50%;
  background: #8FA3BC; box-shadow: 14px 0 0 #8FA3BC, 28px 0 0 #8FA3BC; opacity: .7;
}
.browser-frame video, .browser-frame img { width: 100%; height: auto; }

.raised-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; }

/* 7. Sections ------------------------------------------------------------ */

/* Hero */
.hero { position: relative; min-height: 92vh; min-height: 92svh; display: flex; align-items: center; overflow: hidden; padding: calc(var(--nav-h) + 48px) 0 72px; }
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 35%; }
.hero-bg::after {
  content: ''; position: absolute; inset: 0;
  background:
    linear-gradient(to bottom, rgba(11, 21, 38, 0) 60%, var(--navy) 100%),
    linear-gradient(90deg, rgba(11, 21, 38, .88) 0%, rgba(11, 21, 38, .55) 55%, rgba(11, 21, 38, .35) 100%);
}
.hero .container { position: relative; z-index: 1; width: 100%; }
.hero-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gutter); align-items: center; }
.hero-copy { grid-column: 1 / span 6; }
.hero-media { grid-column: 8 / span 5; display: flex; justify-content: flex-end; }
.hero-media .media-card { width: 100%; max-width: 440px; }
.hero h1 { max-width: 14ch; }
.hero .subhead { max-width: 38ch; }
.trust-line { display: flex; flex-wrap: wrap; gap: 10px 24px; margin: 26px 0 0; font-size: .9375rem; color: #DCE5F0; }
.trust-line li { display: inline-flex; align-items: center; gap: 8px; }
.trust-line .icon { width: 18px; height: 18px; color: var(--accent); flex: none; }

/* The day: timeline rail (draws in as each stage scrolls into view) */
.day { position: relative; }
.day .eyebrow { position: relative; }
.day .eyebrow::before { content: ''; width: 10px; height: 10px; border-radius: 50%; background: var(--mint); flex: none; box-shadow: 0 0 0 0 rgba(114, 239, 221, .55); }
.js .day.rail-in .eyebrow::before { animation: dot-pulse 1.6s ease-out 1 .4s; }
@keyframes dot-pulse { 0% { box-shadow: 0 0 0 0 rgba(114, 239, 221, .55); } 100% { box-shadow: 0 0 0 14px rgba(114, 239, 221, 0); } }
.hl { font-style: normal; color: var(--mint); }
.trust-line .icon { color: var(--mint); }
.hero .media-chip::before { content: ''; display: inline-block; width: 8px; height: 8px; margin-right: 8px; border-radius: 50%; background: var(--mint); vertical-align: middle; box-shadow: 0 0 0 3px rgba(114, 239, 221, .22); }

/* Legend chips */
.legend { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.legend-label { font-size: .8125rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-top: 18px; }
.legend .tag { padding: 6px 10px; border-radius: 8px; border: 1px solid var(--border); background: var(--surface); font-size: .875rem; }

/* Two-up clips */
.clip-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* Install & compatibility */
.step-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.step { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 20px; }
.step .num { font-family: var(--font-display); font-weight: 700; font-size: 1.75rem; color: var(--accent-c); line-height: 1; }
.step h3 { margin-top: 10px; font-size: 1.0625rem; }
.step p { margin: 6px 0 0; color: var(--muted); font-size: .9375rem; }
.works-with { display: grid; gap: 10px; }
.works-with li { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 16px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm); }
.works-with li span:first-child { font-weight: 500; }
.works-with .chip { flex: none; }

/* System map: what the products are and the two ways captains use them */
.sysmap { margin: 56px 0 0; }
.sysmap-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 24px; margin-bottom: 22px; }
.sysmap-head h3 { font-size: 1.375rem; }
.sysmap-legend { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: .8125rem; color: var(--muted); }
.sysmap-legend span { display: inline-flex; align-items: center; gap: 8px; }
.sysmap-legend i { display: inline-block; width: 26px; height: 0; border-top: 2px solid var(--accent-c); }
.sysmap-legend i.dash { border-top-style: dashed; }
.sm-grid {
  display: grid; column-gap: 0; row-gap: 14px; align-items: stretch;
  grid-template-columns: minmax(0, 1.2fr) 72px minmax(0, 1.3fr) 72px minmax(0, 1.35fr) 104px minmax(0, 1.1fr);
  grid-template-areas:
    "l1h l1h l1h l1h l1h .   hub"
    "l1a l1b l1c l1d l1e s1  hub"
    "l2h l2h l2h l2h l2h .   hub"
    "l2a l2a l2a l2a l2a s2  hub";
}
.sm-lane-head { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin-top: 10px; }
.sm-lane-head:first-child { margin-top: 0; }
.sm-lane-head p { margin: 0; font-size: .9375rem; color: var(--muted); }
.sm-tag { display: inline-flex; align-items: center; padding: 4px 11px; border-radius: 999px; font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; background: var(--accent-c); color: var(--btn-fg); }
.sm-tag--alt { background: var(--mint); color: var(--navy); }
.sm-l1h { grid-area: l1h; } .sm-l2h { grid-area: l2h; }
.sm-src { grid-area: l1a; } .sm-a1 { grid-area: l1b; } .sm-core { grid-area: l1c; } .sm-a2 { grid-area: l1d; } .sm-outs { grid-area: l1e; }
.sm-rec { grid-area: l2a; } .sm-s1 { grid-area: s1; } .sm-s2 { grid-area: s2; } .sm-hub { grid-area: hub; }
.sm-arrow.sm-merge { display: none; }
.sm-node {
  display: flex; align-items: flex-start; gap: 14px; padding: 16px 18px;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm); font-size: .9375rem; line-height: 1.35;
}
.sm-node > div { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.sm-node strong { font-weight: 600; font-size: 1rem; }
.sm-node small { font-size: .8125rem; color: var(--muted); }
.sm-node .icon { width: 28px; height: 28px; color: var(--accent-c); flex: none; margin-top: 2px; }
.sm-note { display: inline-flex; align-self: flex-start; margin-top: 4px; padding: 2px 8px; border-radius: 999px; border: 1px solid var(--border); font-size: .6875rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.sm-note--ok { border-color: var(--accent-c); color: var(--accent-c); }
.sm-core { border-width: 2px; border-color: var(--accent-c); box-shadow: 0 12px 40px rgba(0, 180, 216, .12); padding: 20px; align-items: center; }
.sm-core .icon { width: 36px; height: 36px; }
.sm-core strong { font-size: 1.125rem; font-family: var(--font-display); font-weight: 700; }
.sm-outs { display: grid; gap: 12px; align-content: center; }
.sm-hub { border-style: dashed; border-width: 2px; align-items: center; padding: 22px 20px; }
.sm-hub .icon { width: 36px; height: 36px; }
.sm-hub strong { font-size: 1.125rem; font-family: var(--font-display); font-weight: 700; }
.sm-hub .sm-note--ok { border-color: var(--mint); color: var(--mint); }
/* connectors: a line with an arrowhead and a small label above it */
.sm-arrow { position: relative; display: flex; align-items: flex-end; justify-content: center; min-height: 44px; padding: 0 6px 12px; align-self: center; }
.sm-arrow::before { content: ''; position: absolute; left: 0; right: 8px; bottom: 4px; border-top: 2px solid var(--accent-c); }
.sm-arrow::after { content: ''; position: absolute; right: 1px; bottom: -1px; width: 9px; height: 9px; border-top: 2px solid var(--accent-c); border-right: 2px solid var(--accent-c); transform: rotate(45deg); }
.sm-arrow span { font-size: .6875rem; line-height: 1.3; color: var(--muted); text-align: center; font-weight: 500; }
.sm-arrow--dash::before { border-top-style: dashed; }
.sm-s1, .sm-s2 { align-self: center; }
@media (max-width: 1023.98px) {
  .sm-grid {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "l1h" "l1a" "l1b" "l1c" "l1d" "l1e" "l2h" "l2a" "merge" "hub";
  }
  .sm-s1, .sm-s2 { display: none; }
  .sm-arrow.sm-merge { display: flex; grid-area: merge; }
  .sm-outs { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .sm-arrow { min-height: 60px; flex-direction: row; align-items: center; justify-content: flex-start; padding: 0 0 0 calc(50% + 14px); }
  .sm-arrow::before { left: 50%; right: auto; top: 0; bottom: 10px; width: 0; border-left: 2px solid var(--accent-c); border-top: 0; }
  .sm-arrow--dash::before { border-left-style: dashed; }
  .sm-arrow::after { left: calc(50% - 4px); right: auto; top: auto; bottom: 6px; transform: rotate(135deg); }
  .sm-arrow span { text-align: left; }
  .sm-lane-head { margin-top: 18px; }
  .sm-l1h { margin-top: 0; }
}
@media (max-width: 479.98px) {
  .sm-outs { grid-template-columns: minmax(0, 1fr); }
}

.compare-wrap { max-width: 960px; margin: 40px auto 0; }
.compare { width: 100%; border-collapse: separate; border-spacing: 0; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); overflow: visible; }
.compare th, .compare td { padding: 16px 18px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--border-soft); }
.compare thead th { position: sticky; top: var(--nav-h); z-index: 2; background: var(--surface); font-family: var(--font-display); font-size: 1.375rem; font-weight: 700; border-bottom: 2px solid var(--border); }
.compare thead th:first-child { border-top-left-radius: var(--radius); }
.compare thead th:last-child { border-top-right-radius: var(--radius); }
.compare thead th a { color: var(--accent-c); }
.compare thead th a:hover { text-decoration: underline; }
.compare thead th .chip { display: inline-flex; margin-top: 8px; font-family: var(--font-body); white-space: normal; line-height: 1.3; }
.compare tbody th { font-weight: 600; color: var(--muted); width: 30%; }
.compare tbody tr:nth-child(even) td, .compare tbody tr:nth-child(even) th { background: var(--zebra); }
.compare tbody tr:last-child th, .compare tbody tr:last-child td { border-bottom: 0; }
.compare td[colspan] { text-align: center; }
.compare .price td { font-family: var(--font-display); font-size: 1.5rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.compare .avail td { font-weight: 500; }
.table-note { margin: 14px 0 0; }
.trust-strip { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 12px; margin: 18px 0 0; font-size: .9375rem; color: var(--muted); }
.trust-strip li + li::before { content: '·'; margin-right: 10px; }
.box-mini { width: 120px; margin: 0 auto 8px; }

/* Marlin Connect: phones */
/* Three identical phones on one baseline; captions share a fixed height so the row stays level */
.phones { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; align-items: start; }
.phone-wrap { display: grid; gap: 12px; justify-items: center; }
.phone { position: relative; width: 100%; max-width: 240px; aspect-ratio: 9 / 19.5; border-radius: 36px; border: 1px solid rgba(255, 255, 255, .2); padding: 12px; background: #06101f; box-shadow: 0 24px 60px rgba(0, 0, 0, .35); }
.phone img { width: 100%; height: 100%; object-fit: cover; object-position: top; border-radius: 26px; }
.phone-wrap .caption { text-align: center; min-height: 2.6em; margin-top: 0; }
.ribbon { position: absolute; top: 22px; right: 10px; z-index: 2; padding: 4px 10px; border-radius: 6px; background: var(--surface); border: 1px solid var(--border); color: var(--muted); font-size: .6875rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.store-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.store-row .btn { padding-left: 16px; padding-right: 18px; }
.store-row .btn small { display: block; font-size: .6875rem; font-weight: 500; letter-spacing: .02em; opacity: .8; }
.store-row .btn .label { text-align: left; line-height: 1.1; }

/* Ocean Hub tabs */
.tabs { display: flex; justify-content: center; gap: 8px; margin: 40px 0 20px; flex-wrap: wrap; }
.tab { padding: 10px 18px; border-radius: 999px; border: 1px solid var(--border); font-weight: 600; font-size: .9375rem; color: var(--text); background: transparent; transition: background-color .15s, color .15s; }
.tab:hover { background: rgba(255, 255, 255, .06); }
.tab[aria-selected="true"] { background: var(--accent-c); color: var(--btn-fg); border-color: var(--accent-c); }
.viewer { max-width: 1100px; margin: 0 auto; }
.viewer-frame { position: relative; aspect-ratio: 16 / 10; }
.viewer-frame .panel { position: absolute; inset: 28px 0 0 0; opacity: 0; transition: opacity .2s var(--ease); pointer-events: none; }
.viewer-frame .panel.is-active { opacity: 1; pointer-events: auto; }
.viewer-frame .panel img, .viewer-frame .panel video { width: 100%; height: 100%; object-fit: cover; object-position: top left; }
.viewer-caption { text-align: center; margin-top: 12px; min-height: 1.5em; }
.hub-groups { display: grid; gap: 22px; }
.hub-groups h3 { font-size: 1.0625rem; margin-bottom: 8px; color: var(--accent-c); }
.hub-groups .check-list { margin-top: 0; gap: 10px; }

/* Plans */
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; max-width: 1100px; margin: 40px auto 0; }
.plan { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; position: relative; }
.plan--pro { border-top: 3px solid var(--accent-c); }
.plan .tier { font-family: var(--font-display); font-weight: 700; font-size: 1.5rem; display: flex; align-items: center; gap: 10px; }
.plan .tier .chip { font-family: var(--font-body); }
.plan .price { margin: 12px 0 18px; font-family: var(--font-display); font-weight: 700; font-size: 2.5rem; line-height: 1; font-variant-numeric: tabular-nums; }
.plan .price .per { font-family: var(--font-body); font-weight: 500; font-size: 1rem; color: var(--muted); margin-left: 6px; }
.plan .check-list { margin-top: 0; margin-bottom: 24px; gap: 10px; font-size: .9375rem; }
.plan .btn { margin-top: auto; width: 100%; }
.plan .plan-note { margin: 10px 0 0; font-size: .8125rem; color: var(--muted); text-align: center; }
.plan .lead { margin-bottom: 24px; }
.plans-note { margin: 22px auto 0; max-width: 70ch; text-align: center; }

/* Impact (photo band) */
.impact { position: relative; min-height: 60vh; display: flex; align-items: flex-end; overflow: hidden; }
.impact-bg { position: absolute; inset: 0; }
.impact-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }
.impact-bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(11, 21, 38, .55) 0%, rgba(11, 21, 38, .2) 50%, rgba(11, 21, 38, .05) 100%); }
.impact .container { position: relative; z-index: 1; padding-top: 140px; padding-bottom: 72px; }
.impact-copy { max-width: 560px; }
.impact h2 { max-width: 26ch; }
.impact .btn--secondary { color: #fff; border-color: rgba(255, 255, 255, .8); }

/* Final CTA */
.closer { position: relative; overflow: hidden; padding: 112px 0; }
.closer-bg { position: absolute; inset: 0; opacity: .6; }
.closer-bg img { width: 100%; height: 100%; object-fit: cover; }
.closer-bg::after { content: ''; position: absolute; inset: 0; background: var(--navy); mix-blend-mode: multiply; opacity: .3; }
.closer .container { position: relative; z-index: 1; max-width: 720px; text-align: center; }
.closer .cta-row { justify-content: center; }
.closer .signin { display: block; margin-top: 18px; }

/* 8. Footer -------------------------------------------------------------- */
.site-footer { border-top: 1px solid rgba(255, 255, 255, .1); padding: 64px 0 40px; }
.footer-grid { display: grid; grid-template-columns: 1.2fr repeat(4, 1fr); gap: 32px var(--gutter); }
.footer-brand img { width: 140px; height: auto; }
.footer-brand p { margin: 14px 0 0; color: var(--muted); font-size: .9375rem; }
.site-footer h3 { font-size: .8125rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin: 0 0 14px; }
.site-footer li { margin: 0 0 10px; }
.site-footer li a { font-size: .9375rem; color: #DCE5F0; display: inline-flex; align-items: center; gap: 8px; }
.site-footer li a:hover { color: var(--accent); }
.site-footer li a .icon { width: 18px; height: 18px; }
.footer-legal { margin: 40px 0 0; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .08); color: var(--muted); font-size: .8125rem; line-height: 1.6; }

/* 9. Motion -------------------------------------------------------------- */
.js [data-reveal] { opacity: 0; transform: translateY(16px); transition: opacity .4s var(--ease), transform .4s var(--ease); transition-delay: calc(var(--i, 0) * 60ms); }
.js [data-reveal].in { opacity: 1; transform: none; }
@keyframes hero-zoom { from { transform: scale(1); } to { transform: scale(1.05); } }
.hero-bg img { will-change: transform; animation: hero-zoom 24s linear forwards; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
  .js .day::before { transform: none !important; }
  .hero-bg img { animation: none; }
}

/* 10. Responsive --------------------------------------------------------- */
@media (min-width: 768px) {
  .nav-actions .btn-full { display: inline-flex; }
  .nav-actions .btn-compact { display: none; }
}
@media (min-width: 1024px) {
  .day::before { content: ''; position: absolute; left: max(calc(50% - var(--container) / 2 - 2px), calc(var(--gutter) / 2 - 1px)); top: 0; bottom: 0; width: 2px; background: linear-gradient(var(--mint), rgba(0, 180, 216, .35)); opacity: .75; transform-origin: top; }
  .js .day::before { transform: scaleY(0); transition: transform 1.1s cubic-bezier(.22, 1, .36, 1); }
  .js .day.rail-in::before { transform: scaleY(1); }
}
@media (max-width: 1023.98px) {
  .grid { grid-template-columns: minmax(0, 1fr); }
  .col-5, .col-6, .col-7 { grid-column: auto; }
  .grid > .order-first { order: -1; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy, .hero-media { grid-column: auto; }
  .hero-media { justify-content: flex-start; margin-top: 40px; }
  .phones { max-width: 720px; }
}
@media (max-width: 899.98px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .plans { grid-template-columns: 1fr 1fr; }
  .plans .plan:last-child { grid-column: 1 / -1; }
}
@media (max-width: 767.98px) {
  :root { --nav-h: 56px; --section-y: 64px; }
  body { font-size: 1rem; }
  .brand-mark { display: block; }
  .brand-wordmark { display: none; }
  .brand img { height: 26px; }
  .hero { min-height: 0; padding-top: calc(var(--nav-h) + 40px); padding-bottom: 56px; }
  .hero h1 { font-size: clamp(2.25rem, 10vw, 2.6rem); max-width: none; }
  .hero-bg img { object-position: 60% 40%; }
  .hero-bg::after { background: linear-gradient(to bottom, rgba(11, 21, 38, .82) 0%, rgba(11, 21, 38, .82) 70%, var(--navy) 100%); }
  .hero .cta-row .btn { width: 100%; }
  .trust-line { flex-direction: column; gap: 10px; }
  .hero-media .media-card { max-width: none; }
  .cta-row .btn { width: 100%; }
  .clip-row { grid-template-columns: 1fr; }
  .step-grid { grid-template-columns: 1fr; }
  .spec-grid { grid-template-columns: 1fr; }
  .works-with li { align-items: flex-start; flex-direction: column; gap: 8px; }
  .phones { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 16px; padding: 4px 4px 12px; -webkit-overflow-scrolling: touch; max-width: none; }
  .phone-wrap { flex: 0 0 72vw; scroll-snap-align: center; transform: none !important; }
  .phone-wrap .phone { max-width: none; }
  .tabs { justify-content: flex-start; overflow-x: auto; flex-wrap: nowrap; padding-bottom: 4px; }
  .tab { flex: none; }
  .impact { min-height: 0; display: block; }
  .impact-bg { position: relative; height: 240px; }
  .impact-bg::after { background: linear-gradient(to top, var(--navy) 0%, rgba(11, 21, 38, .2) 40%, rgba(11, 21, 38, 0) 100%); }
  .impact .container { padding-top: 32px; padding-bottom: 64px; }
  .closer { padding: 72px 0; }
  .closer .cta-row .btn { width: 100%; }
  .footer-grid { grid-template-columns: 1fr; }
  .raised-card { padding: 22px; }
  .browser-frame { padding-top: 22px; }
  .browser-frame::before { height: 22px; }
  .browser-frame::after { top: 7px; left: 10px; width: 6px; height: 6px; box-shadow: 11px 0 0 #8FA3BC, 22px 0 0 #8FA3BC; }
  .viewer-frame .panel { inset: 22px 0 0 0; }
}
@media (max-width: 639.98px) {
  .plans { grid-template-columns: 1fr; }
  .plans .plan:last-child { grid-column: auto; }
  /* Compare table becomes stacked blocks */
  .compare, .compare thead, .compare tbody, .compare tr, .compare th, .compare td { display: block; }
  .compare thead { display: none; } /* column names come from data-label; the model links repeat in the footer */
  .compare tbody tr { padding: 14px 16px; border-bottom: 1px solid var(--border-soft); }
  .compare tbody tr:nth-child(even) { background: var(--zebra); }
  .compare tbody tr:nth-child(even) td, .compare tbody tr:nth-child(even) th { background: transparent; }
  .compare tbody th { width: auto; padding: 0 0 8px; border: 0; font-size: .8125rem; letter-spacing: .06em; text-transform: uppercase; }
  .compare tbody td { padding: 6px 0; border: 0; display: grid; grid-template-columns: 90px 1fr; gap: 12px; }
  .compare tbody td::before { content: attr(data-label); font-weight: 600; color: var(--muted); font-size: .875rem; }
  .compare tbody td[colspan] { display: block; text-align: left; }
  .compare tbody td[colspan]::before { display: none; }
  .compare .price td { font-size: 1.25rem; }
  .compare .price td::before { font-size: .875rem; align-self: center; }
  .compare tbody tr:last-child { border-bottom: 0; }
  .store-row .btn { width: 100%; }
}
@media (max-width: 399.98px) {
  .nav-actions .nav-signin { padding: 8px 6px; }
}

/* No-JS: keep everything visible and static — controls that need script are hidden, all content shows */
.no-js .play-btn,
.no-js .tabs,
.no-js .viewer-caption { display: none; }
.no-js .viewer-frame { aspect-ratio: auto; }
.no-js .viewer-frame .panel { position: static; opacity: 1; pointer-events: auto; }

/* 10b. Products overview, install photo, glass cards, badges --------------- */
.products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 40px; }
.product { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; transition: border-color .15s var(--ease), transform .15s var(--ease); }
.product:hover { border-color: var(--accent-c); transform: translateY(-2px); }
.product-media { height: 190px; display: flex; align-items: center; justify-content: center; margin-bottom: 20px; border-radius: var(--radius-sm); background: rgba(255, 255, 255, .04); overflow: hidden; padding: 14px; }
.product-media img { max-height: 100%; width: auto; max-width: 100%; object-fit: contain; }
.product-media .phone--mini { height: 100%; width: auto; max-width: none; aspect-ratio: 9 / 19.5; padding: 5px; border-radius: 16px; box-shadow: 0 10px 30px rgba(0, 0, 0, .35); }
.product-media .phone--mini picture, .product-media .phone--mini img { width: 100%; height: 100%; max-height: none; object-fit: cover; object-position: top; border-radius: 12px; }
.product .kicker { margin: 0 0 6px; font-size: .75rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--accent-c); }
.product h3 { font-family: var(--font-display); font-weight: 700; font-size: 1.375rem; }
.product p:not(.kicker) { margin: 10px 0 0; color: var(--muted); font-size: .9375rem; }
.product .links { margin-top: auto; padding-top: 20px; display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: .9375rem; }
.media-card--portrait { aspect-ratio: 4 / 5; }
.works-with--cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.works-with--cols li:last-child { grid-column: 1 / -1; }
.box-card--sm { max-width: 640px; }
.drawing--sm { max-width: 520px; margin: 22px auto 0; opacity: .9; }
.flag { width: 20px; height: 20px; border-radius: 50%; flex: none; display: inline-block; vertical-align: -4px; }
.trust-line li { display: flex; align-items: center; gap: 8px; }
.flag--lg { width: 22px; height: 22px; margin-right: 8px; vertical-align: -5px; }
.glass { background: rgba(11, 21, 38, .58); border: 1px solid rgba(255, 255, 255, .14); border-radius: var(--radius); padding: 32px; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: 0 24px 60px rgba(0, 0, 0, .25); }
.impact-copy.glass { max-width: 600px; }
.closer .glass { text-align: center; padding: 40px 32px; }
.phone-wrap .caption .chip { margin-left: 6px; }
@media (max-width: 1023.98px) {
  .products { grid-template-columns: 1fr; }
  .works-with--cols { grid-template-columns: 1fr; }
  .drawing--sm { max-width: 100%; }
}
@media (max-width: 767.98px) {
  .glass { padding: 24px 20px; }
  .closer .glass { padding: 32px 20px; }
}

/* 11. Print ---------------------------------------------------------------- */
/* Browsers drop background colours when printing, so the navy bands would print near-white text
   on white paper, and scroll-reveal blocks not yet in view would print at opacity 0. */
@media print {
  .js [data-reveal] { opacity: 1 !important; transform: none !important; transition: none !important; }
  body, .band--navy, .band--navy-1, .band--navy-2, .site-footer, .closer {
    --text: #0F1B2D; --muted: #5B6B80; --accent-c: var(--primary); --btn-fg: #0F1B2D;
    --border: #D9E2EE; --border-soft: #E6ECF3;
    color: #0F1B2D; background: #fff;
  }
  .site-header, .skip-link, .play-btn, .hero-bg, .impact-bg, .closer-bg, .media-chip, video { display: none !important; }
  .hero, .impact, .closer { min-height: 0; }
  .hero h1, .impact h2, .trust-line, .site-footer a, .sm-tag, .sm-note { color: #0F1B2D; }
  .btn { border: 1px solid #0F1B2D; color: #0F1B2D !important; background: #fff !important; }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: .75em; color: #5B6B80; }
  .nav-actions a[href^="http"]::after, .btn[href^="http"]::after, .store-btn::after { content: none; }
  .day::before { display: none; }
  .viewer-frame { aspect-ratio: auto; }
  .viewer-frame .panel { position: static; opacity: 1; }
}
