/* Inter is loaded via <link> in index.html (preconnect + stylesheet), not @import */

/* OCN design tokens: palette from the OCN website outline (navy #022547, cyan #18a3de) */
:root {
  --navy: #022547;
  --navy-deep: #011830;
  --cyan: #18a3de;
  --cyan-dark: #0a80b5;
  --cyan-light: #7edbfa;
  --blue: #005393;
  --ok: #2dd4bf;
  --no: #e06c6c;
  --bg: #ffffff;
  --bg-soft: #f5f8fb;
  --text: #14283c;
  --text-muted: #4e6377;
  --text-dim: #7d8fa0;
  --border: rgba(2, 37, 71, 0.12);
  --border-dark: rgba(255, 255, 255, 0.14);
  --cyan-glow: rgba(24, 163, 222, 0.12);
  --gradient-accent: linear-gradient(135deg, #18a3de, #7edbfa);
  --gradient-hero: linear-gradient(180deg, #011830 0%, #022547 55%, #03305c 100%);
  --shadow-lg: 0 24px 48px rgba(2, 37, 71, 0.14);
  --shadow-glow: 0 0 40px rgba(24, 163, 222, 0.18);
  --radius: 16px;
  --radius-sm: 10px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
button, input, select, textarea { font-family: inherit; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
}

/* ===== NAVIGATION ===== */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: all 0.3s ease;
}
nav.scrolled {
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 4px 30px rgba(2, 37, 71, 0.1);
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}
.logo-img {
  height: 44px;
  width: auto;
}
.nav-links {
  display: flex;
  gap: 8px;
  list-style: none;
  align-items: center;
}
.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: 8px;
  transition: all 0.2s;
  cursor: pointer;
}
.nav-links a:hover, .nav-links a.active {
  color: var(--cyan-dark);
  background: var(--cyan-glow);
}
.nav-links .nav-cta {
  background: var(--cyan);
  color: #fff;
  border-radius: 100px;
  padding: 9px 22px;
  font-weight: 700;
}
.nav-links .nav-cta:hover, .nav-links .nav-cta.active {
  background: var(--cyan-dark);
  color: #fff;
}
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: var(--navy);
  z-index: 10;
  position: relative;
}

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 140px 32px 90px;
  background: var(--gradient-hero);
  color: #fff;
  position: relative;
  overflow: hidden;
}
/* brand watermark: a single large white OCN mark behind the hero (assets/ocn-mark-white.svg;
   the white strokes read as a subtle light watermark over the navy hero gradient) */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    url('assets/ocn-mark-white.svg') center / min(900px, 90vw) no-repeat,
    radial-gradient(ellipse at 30% 40%, rgba(24, 163, 222, 0.14) 0%, transparent 55%),
    radial-gradient(ellipse at 75% 70%, rgba(126, 219, 250, 0.08) 0%, transparent 50%);
  opacity: 0.10;
}
.hero-content {
  position: relative;
  z-index: 1;
  max-width: 840px;
}

/* ===== HERO KICKER ===== */
/* the "open multi-chain application network" line, kept as a visually minor line under the H1 */
.hero-kicker {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
  margin: -8px 0 24px;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.5); }
}

/* ===== TYPOGRAPHY ===== */
h1 {
  font-size: clamp(36px, 5vw, 58px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -1.5px;
  margin-bottom: 24px;
}
h1 .accent, h2 .accent {
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-sub {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.72);
  max-width: 680px;
  margin: 0 auto 40px;
  line-height: 1.8;
}

/* ===== BUTTONS ===== */
.hero-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--cyan);
  color: #fff;
  padding: 16px 36px;
  border-radius: 100px;
  border: none;
  font-family: inherit;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s;
  box-shadow: 0 8px 32px rgba(24, 163, 222, 0.35);
}
.hero-cta:hover {
  background: var(--cyan-dark);
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(24, 163, 222, 0.45);
}
.hero-cta svg {
  width: 18px;
  height: 18px;
  transition: transform 0.3s;
}
.hero-cta:hover svg {
  transform: translateX(4px);
}
.hero-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}
.hero-cta-outline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  color: #fff;
  padding: 16px 36px;
  border-radius: 100px;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  transition: all 0.3s;
  border: 1.5px solid rgba(255, 255, 255, 0.4);
}
.hero-cta-outline:hover {
  border-color: var(--cyan-light);
  color: var(--cyan-light);
  transform: translateY(-2px);
}

/* ===== STATS BAR ===== */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border-dark);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius);
  overflow: hidden;
  max-width: 880px;
  margin: 60px auto 0;
}
.stat {
  background: rgba(2, 37, 71, 0.65);
  padding: 28px 20px;
  text-align: center;
}
.stat-eyebrow {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 6px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.stat-value {
  font-size: 25px;
  font-weight: 800;
  line-height: 1.25;
  color: var(--cyan-light);
}
.stat-sub {
  font-size: 14px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.7);
  margin-top: 4px;
}

/* ===== SECTIONS ===== */
section {
  padding: 100px 32px;
  max-width: 1200px;
  margin: 0 auto;
}
.section-dark {
  max-width: 100%;
  background: var(--navy);
  color: #fff;
}
.section-dark .section-inner {
  max-width: 1200px;
  margin: 0 auto;
}
.section-header {
  text-align: center;
  margin-bottom: 64px;
}
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  color: var(--cyan-dark);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.section-dark .section-tag {
  color: var(--cyan-light);
}
.section-tag::before,
.section-tag::after {
  content: '';
  width: 40px;
  height: 1px;
  background: currentColor;
  opacity: 0.5;
}
h2 {
  font-size: clamp(28px, 3.5vw, 40px);
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 16px;
  line-height: 1.2;
}
.section-desc {
  font-size: 17px;
  color: var(--text-muted);
  max-width: 640px;
  margin: 0 auto;
  line-height: 1.7;
}
.section-dark .section-desc {
  color: rgba(255, 255, 255, 0.7);
}

/* ===== WHY NOW: INDUSTRY CONTEXT ===== */
.whynow-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  max-width: 1120px;
  margin: 0 auto;
}
.whynow-card {
  display: flex;
  flex-direction: column;
  padding: 30px 26px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg-soft);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s, border-color 0.2s;
}
.whynow-card:hover {
  transform: translateY(-4px);
  border-color: var(--cyan);
  box-shadow: var(--shadow-lg);
}
.whynow-value {
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: var(--cyan-dark);
  margin-bottom: 10px;
}
.whynow-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.65;
  flex: 1;
}
.whynow-note {
  text-align: center;
  font-size: 16px;
  color: var(--text);
  max-width: 680px;
  margin: 48px auto 0;
  line-height: 1.8;
  font-weight: 500;
}
.whynow-sources {
  text-align: center;
  font-size: 12px;
  color: var(--text-dim);
  max-width: 680px;
  margin: 18px auto 0;
}
.whynow-sources a {
  color: var(--text-dim);
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color 0.2s;
}
.whynow-sources a:hover {
  color: var(--cyan-dark);
}

/* ===== WHY MULTI-CHAIN: SPLIT COMPARISON ===== */
.compare-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 980px;
  margin: 0 auto;
}
.compare-card {
  border-radius: var(--radius);
  padding: 36px 32px;
  border: 1px solid var(--border-dark);
  background: rgba(255, 255, 255, 0.04);
}
.compare-card.compare-open {
  background: rgba(24, 163, 222, 0.1);
  border-color: var(--cyan);
  box-shadow: var(--shadow-glow);
}
.compare-pill {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.5px;
  padding: 5px 14px;
  border-radius: 100px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 20px;
}
.compare-pill.pill-cyan {
  border-color: var(--cyan);
  color: var(--cyan-light);
  background: rgba(24, 163, 222, 0.12);
}
.compare-card h3 {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.3px;
  margin-bottom: 10px;
  color: #fff;
}
.compare-card p {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.7;
  margin-bottom: 22px;
}
.compare-open p {
  color: rgba(255, 255, 255, 0.78);
}
.compare-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.compare-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14.5px;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
}
.compare-open .compare-list li {
  color: rgba(255, 255, 255, 0.85);
}
.compare-list li::before {
  font-weight: 700;
  flex-shrink: 0;
}
.compare-list li.no::before {
  content: '\2715';
  color: var(--no);
}
.compare-list li.yes::before {
  content: '\2713';
  color: var(--ok);
}
.compare-note {
  text-align: center;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.6);
  max-width: 640px;
  margin: 40px auto 0;
}

/* ===== STEP LABEL PILLS (margin / repo tiles) ===== */
.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 16px;
  border-radius: 100px;
  background: var(--cyan-glow);
  border: 1px solid rgba(24, 163, 222, 0.3);
  color: var(--cyan-dark);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.feature-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.6;
}
/* diamond bullet from the outline (assets/diamond-bullet.svg) */
.feature-list li::before {
  content: '';
  width: 10px;
  height: 10px;
  flex-shrink: 0;
  margin-top: 7px;
  background: url('assets/diamond-bullet.svg') center/contain no-repeat;
}

/* ===== PARTICIPANT TYPE CHIPS (margin / repo) ===== */
.participants {
  max-width: 1040px;
  margin: 56px auto 0;
  text-align: center;
}
.participants-label {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 18px;
}
.participants-label::before,
.participants-label::after {
  content: '';
  width: 32px;
  height: 1px;
  background: currentColor;
  opacity: 0.4;
}
.participants-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}
.participants-note {
  margin-top: 16px;
  font-size: 13px;
  color: var(--text-dim);
}
.participant-chip {
  display: inline-flex;
  align-items: center;
  padding: 8px 18px;
  border-radius: 100px;
  border: 1px solid rgba(24, 163, 222, 0.3);
  background: var(--cyan-glow);
  color: var(--cyan-dark);
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
}

/* ===== STATUS PILL (e.g. "In production") ===== */
.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  vertical-align: middle;
  margin-left: 12px;
  padding: 5px 14px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  background: rgba(45, 212, 191, 0.1);
  border: 1px solid rgba(45, 212, 191, 0.5);
  color: #0e9382;
  transform: translateY(-4px);
}
.status-pill::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  animation: pulse 2s ease-in-out infinite;
}

/* ===== FLOW BOXES (margin / repo workflow tiles) ===== */
.flow-box {
  max-width: 1080px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 56px;
  align-items: center;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 44px 48px;
}
.flow-box.reverse {
  direction: rtl;
}
.flow-box.reverse > * {
  direction: ltr;
}
.flow-box-text h3 {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.5px;
  margin-bottom: 16px;
  line-height: 1.3;
}
.flow-box-text p {
  color: var(--text-muted);
  font-size: 15px;
}
.flow-box-text p + p {
  margin-top: 14px;
}
.flow-popout-btn {
  display: block;
  width: 100%;
  cursor: zoom-in;
  text-align: inherit;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 28px 28px 16px;
  transform: translateX(28px);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
}
.flow-box.reverse .flow-popout-btn {
  transform: translateX(-28px);
}
.flow-popout-btn:hover,
.flow-popout-btn:focus-visible {
  transform: translateX(28px) scale(1.02);
  box-shadow: var(--shadow-lg), var(--shadow-glow);
}
.flow-box.reverse .flow-popout-btn:hover,
.flow-box.reverse .flow-popout-btn:focus-visible {
  transform: translateX(-28px) scale(1.02);
}
.flow-popout-hint {
  display: block;
  margin-top: 16px;
  font-size: 12px;
  color: var(--text-dim);
  text-align: center;
  letter-spacing: 0.4px;
}
/* compact step rows inside the pop-out card */
.flow-popout .flow-steps {
  align-items: stretch;
}
.flow-popout .flow-step {
  display: grid;
  grid-template-columns: 40px 1fr;
  column-gap: 16px;
  align-items: center;
  width: 100%;
  text-align: left;
}
.flow-popout .flow-step .step-circle {
  grid-row: 1 / span 2;
  width: 40px;
  height: 40px;
  font-size: 16px;
  margin-bottom: 0;
}
.flow-popout .flow-step .step-title,
.flow-popout .flow-step .step-sub {
  grid-column: 2;
}
.flow-popout .flow-arrow {
  align-self: flex-start;
  width: 40px;
  text-align: center;
  font-size: 16px;
  margin: 2px 0;
}
/* lightbox: enlarged diagram over a dimmed backdrop */
.flow-lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(1, 24, 48, 0.72);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}
.flow-lightbox.open {
  display: flex;
}
.flow-lightbox-dialog {
  position: relative;
  background: var(--bg);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 48px 48px 40px;
  max-width: 1040px;
  width: 100%;
  max-height: 90vh;
  overflow: auto;
}
.flow-lightbox-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: var(--bg-soft);
  color: var(--text-muted);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
}
.flow-lightbox .flow-label {
  margin-bottom: 32px;
}
.flow-lightbox .flow-steps {
  flex-direction: row;
  align-items: flex-start;
  justify-content: center;
  flex-wrap: wrap;
}
.flow-lightbox .flow-step {
  width: 200px;
}
.flow-lightbox .flow-arrow {
  transform: none;
  margin: 18px 0 0;
  padding: 0 8px;
}
.flow-label {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--cyan-dark);
  margin-bottom: 32px;
}
.flow-label::before,
.flow-label::after {
  content: '';
  width: 40px;
  height: 1px;
  background: currentColor;
  opacity: 0.5;
}
.flow-steps {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}
.flow-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 300px;
  max-width: 100%;
}
.flow-step .step-circle {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--cyan-glow);
  border: 1.5px solid rgba(24, 163, 222, 0.4);
  color: var(--cyan-dark);
  font-size: 20px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}
.flow-step .step-title {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 4px;
  line-height: 1.35;
}
.flow-step .step-sub {
  font-size: 12.5px;
  color: var(--text-dim);
  line-height: 1.5;
}
.flow-arrow {
  color: var(--cyan);
  font-size: 20px;
  margin: 6px 0;
  transform: rotate(90deg);
  flex-shrink: 0;
}

/* ===== PROOF: GDF INDUSTRY SANDBOX ===== */
/* two adjacent dark sections (why + proof): keep a subtle seam between them */
.section-dark + .section-dark {
  border-top: 1px solid var(--border-dark);
}
/* proof section band sits behind the dark proof card on a white background.
   Trim the vertical padding (default 100px) so the white band frames the card
   more tightly instead of leaving a large blocky gap above/below it. */
#proof {
  background: var(--bg);
  padding-top: 56px;
  padding-bottom: 56px;
}
.proof-card {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: stretch;
  max-width: 1040px;
  margin: 0 auto;
  padding: 44px 40px;
  border-radius: var(--radius);
  border: 1px solid var(--border-dark);
  /* solid opaque fill matching how the card renders now (navy #022547 with a
     4% white overlay) so it stays a dark box against the white section */
  background: #0c2e4e;
}
.proof-lead {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.proof-eyebrow {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--cyan-light);
  margin-bottom: 22px;
}
.proof-stats {
  display: flex;
  align-self: stretch;
  justify-content: center;
  gap: 44px;
  margin-bottom: 24px;
}
.proof-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.proof-stat-value {
  font-size: 44px;
  font-weight: 800;
  letter-spacing: -1px;
  color: var(--cyan-light);
  line-height: 1;
  margin-bottom: 8px;
}
.proof-stat-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.5;
  max-width: 180px;
}
.proof-headline {
  font-size: 16px;
  font-weight: 500;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.82);
  margin-bottom: 26px;
}
.proof-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 700;
  color: var(--cyan-light);
  text-decoration: none;
  border-bottom: 1px solid rgba(126, 219, 250, 0.4);
  padding-bottom: 2px;
  transition: color 0.2s, border-color 0.2s;
}
.proof-link:hover {
  color: #fff;
  border-color: #fff;
}
.proof-link svg {
  width: 16px;
  height: 16px;
  transition: transform 0.3s;
}
.proof-link:hover svg {
  transform: translateX(4px);
}
.proof-media {
  margin: 0;
  min-width: 0;
}
.proof-image {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  border: 1px solid var(--border-dark);
  background: #fff;
  padding: 12px;
}
.proof-caption {
  margin-top: 12px;
  text-align: center;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.6;
}

/* ===== CTA SECTION ===== */
.cta-section {
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(24, 163, 222, 0.14) 0%, transparent 70%);
  pointer-events: none;
}
.cta-section .section-inner {
  position: relative;
  z-index: 1;
}
.cta-section .section-tag {
  margin-bottom: 24px;
}
.cta-section h2 {
  margin-bottom: 16px;
}
.cta-section p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 17px;
  max-width: 500px;
  margin: 0 auto 36px;
}

/* ===== CONTACT FORM ===== */
.contact-form {
  max-width: 620px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.contact-form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.contact-form label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.5px;
  color: var(--text-muted);
  text-transform: uppercase;
}
.contact-form input,
.contact-form select,
.contact-form textarea {
  font-family: inherit;
  font-size: 15px;
  color: var(--text);
  padding: 13px 16px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--border);
  background: var(--bg-soft);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px var(--cyan-glow);
}
.contact-form textarea {
  resize: vertical;
}
.contact-form .hero-cta {
  align-self: center;
  margin-top: 8px;
}
/* Optional communications-consent checkbox: horizontal layout, not the uppercase field label style */
.contact-form .form-consent {
  flex-direction: row;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: normal;
  text-transform: none;
  color: var(--text-muted);
}
.contact-form .form-consent input[type="checkbox"] {
  width: auto;
  flex: none;
  margin-top: 2px;
  padding: 0;
  border: none;
  background: none;
  accent-color: var(--cyan);
}
/* GDPR implicit processing-consent microcopy */
.contact-form .form-microcopy {
  margin: 0;
  font-size: 12px;
  line-height: 1.5;
  color: var(--text-dim);
  text-align: center;
}
/* Submission feedback */
.contact-form .form-status {
  min-height: 1.2em;
  margin: 0;
  font-size: 14px;
  font-weight: 500;
  text-align: center;
}
.contact-form .form-status.is-success { color: var(--ok); }
.contact-form .form-status.is-error { color: var(--no); }

/* ===== FOOTER ===== */
footer {
  background: var(--navy-deep);
  color: rgba(255, 255, 255, 0.55);
  padding: 48px 32px;
  font-size: 13px;
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-powered {
  display: flex;
  align-items: center;
  gap: 10px;
}
.footer-powered span {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
}
.footer-powered img {
  height: 22px;
  width: auto;
  opacity: 0.85;
}
.footer-links {
  display: flex;
  gap: 24px;
}
.footer-links a {
  color: rgba(255, 255, 255, 0.55);
  text-decoration: none;
  font-size: 12px;
  font-weight: 500;
  transition: color 0.2s;
}
.footer-links a:hover {
  color: var(--cyan-light);
}

/* ===== MEDIA & RESOURCES ===== */
.media-block {
  max-width: 1040px;
  margin: 0 auto 72px;
}
.media-block:last-child {
  margin-bottom: 0;
}
.media-subhead {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--cyan-dark);
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 28px;
}
.media-subhead::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}

/* Videos */
.video-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.video-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius);
  border: 1.5px dashed rgba(24, 163, 222, 0.45);
  background:
    radial-gradient(ellipse at 70% 20%, rgba(24, 163, 222, 0.1) 0%, transparent 60%),
    var(--bg-soft);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s;
}
.video-card:hover .video-frame {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.video-embed {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius);
  border: 1.5px solid var(--border);
  background: #000;
  object-fit: cover;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s;
}
.video-card:hover .video-embed {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.play-glyph {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--cyan);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(24, 163, 222, 0.35);
}
.play-glyph svg {
  width: 22px;
  height: 22px;
  margin-left: 3px;
}
.video-frame-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-dim);
}
.video-title {
  margin-top: 14px;
  font-size: 15px;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.4;
}

/* Files & downloads */
.resource-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.resource-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 22px 24px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg-soft);
  text-decoration: none;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s, border-color 0.2s;
}
.resource-card:hover {
  transform: translateY(-3px);
  border-color: var(--cyan);
  box-shadow: var(--shadow-lg);
}
.resource-icon {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border-radius: var(--radius-sm);
  background: var(--cyan-glow);
  border: 1px solid rgba(24, 163, 222, 0.3);
  color: var(--cyan-dark);
  display: flex;
  align-items: center;
  justify-content: center;
}
.resource-icon svg {
  width: 20px;
  height: 20px;
}
.resource-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.resource-title {
  font-size: 14.5px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.35;
}
.resource-sub {
  font-size: 12px;
  color: var(--text-dim);
}

/* ===== DIVIDER ===== */
.divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
  max-width: 800px;
  margin: 0 auto;
}

/* ===== SCROLL REVEAL ===== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .nav-links {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    padding: 16px 32px;
    gap: 4px;
  }
  .nav-links.open { display: flex; }
  .nav-links a {
    padding: 12px 16px;
    font-size: 16px;
  }
  .nav-links .nav-cta { text-align: center; }
  .logo-img { height: 36px; }

  .whynow-grid { grid-template-columns: 1fr 1fr; }
  .compare-grid { grid-template-columns: 1fr; }
  .proof-card { grid-template-columns: 1fr; gap: 32px; padding: 32px 26px; }
  .stats-bar { grid-template-columns: 1fr; }
  .flow-box, .flow-box.reverse {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 28px 22px;
    direction: ltr;
  }
  .flow-popout-btn,
  .flow-box.reverse .flow-popout-btn,
  .flow-popout-btn:hover,
  .flow-popout-btn:focus-visible,
  .flow-box.reverse .flow-popout-btn:hover,
  .flow-box.reverse .flow-popout-btn:focus-visible {
    transform: none;
  }
  .flow-lightbox-dialog { padding: 48px 20px 32px; }
  .flow-lightbox .flow-steps { flex-direction: column; align-items: center; }
  .flow-lightbox .flow-step { width: 260px; }
  .flow-lightbox .flow-arrow { transform: rotate(90deg); margin: 4px 0; padding: 0; }
  .video-grid, .resource-grid { grid-template-columns: 1fr; }
  .contact-form .form-row { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; text-align: center; }
}

@media (max-width: 560px) {
  .whynow-grid { grid-template-columns: 1fr; }
}
