/* VelocityQoE marketing site
   Brand colors sampled from the logo: navy #023672, teal #0AB6C1 */

:root {
  --navy: #023672;
  --navy-700: #16457a;
  --navy-900: #011f44;
  --teal: #0ab6c1;
  --teal-ink: #06838c;      /* teal that passes contrast on white */
  --teal-soft: #e3f7f8;
  --ink: #0b1f3a;
  --muted: #4a6283;
  --line: #dce6f0;
  --bg: #ffffff;
  --bg-soft: #f3f7fb;
  --down: #c2410c;

  --font-head: "Outfit", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(2, 54, 114, .06), 0 2px 8px rgba(2, 54, 114, .05);
  --shadow-lg: 0 24px 60px -20px rgba(2, 54, 114, .35), 0 8px 20px -8px rgba(2, 54, 114, .15);
  --gutter: 24px;
  --header-h: 72px;

  color-scheme: light;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }

h1, h2, h3 {
  font-family: var(--font-head);
  color: var(--navy);
  line-height: 1.12;
  margin: 0;
  letter-spacing: -0.01em;
  text-wrap: balance;
}

p { margin: 0; }

svg { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 var(--gutter); }

.sr-only {
  position: absolute; 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: -48px; z-index: 100;
  background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 8px;
  text-decoration: none; font-weight: 600;
}
.skip-link:focus { top: 12px; }

:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; border-radius: 6px; }

.eyebrow {
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--teal-ink);
  margin-bottom: 14px;
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-body); font-weight: 600; font-size: 15px;
  padding: 11px 20px; border-radius: 10px; border: 1.5px solid transparent;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform .15s ease, background-color .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-lg { padding: 15px 26px; font-size: 16px; border-radius: 12px; }
.btn-primary,
.btn-teal { position: relative; overflow: hidden; isolation: isolate; }
.btn-primary::after,
.btn-teal::after {
  content: ""; position: absolute; z-index: -1; top: 0; bottom: 0; left: -70%; width: 45%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .3), transparent);
  transform: skewX(-20deg); transition: left .7s ease;
}
.btn-primary:hover::after,
.btn-teal:hover::after { left: 135%; }
.btn-primary { background: var(--navy); color: #fff; box-shadow: 0 6px 16px -6px rgba(2, 54, 114, .55); }
.btn-primary:hover { background: var(--navy-700); }
.btn-ghost { background: #fff; color: var(--navy); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--navy); }
.btn-teal { background: var(--teal); color: var(--navy-900); box-shadow: 0 8px 22px -8px rgba(10, 182, 193, .7); }
.btn-teal:hover { background: #2cc6d0; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .86);
  backdrop-filter: saturate(1.4) blur(12px);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.site-header.scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 20px -16px rgba(2, 54, 114, .4); }
.header-inner { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand img { height: 40px; width: auto; }
.logo-lockup { position: relative; display: inline-flex; flex: 0 0 auto; padding-right: 14px; }
.logo-trademark {
  position: absolute; right: 0; top: 18%;
  color: var(--navy); font-family: var(--font-body); font-size: 12px;
  font-weight: 600; line-height: 1;
}
.footer-brand .logo-trademark { color: #fff; }

.nav { display: flex; align-items: center; gap: 30px; }
.nav a:not(.btn) {
  text-decoration: none; font-size: 15px; font-weight: 500; color: var(--muted);
  transition: color .15s ease;
}
.nav a:not(.btn):hover { color: var(--navy); }

.nav-toggle {
  display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 10px;
  background: #fff; cursor: pointer; padding: 0; position: relative;
}
.nav-toggle span {
  position: absolute; left: 12px; right: 12px; height: 2px; background: var(--navy); border-radius: 2px;
  transition: transform .2s ease, opacity .2s ease;
}
.nav-toggle span:nth-child(1) { top: 15px; }
.nav-toggle span:nth-child(2) { top: 21px; }
.nav-toggle span:nth-child(3) { top: 27px; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* Hero */
.hero {
  position: relative; overflow: hidden;
  padding: 72px 0 96px;
  background:
    radial-gradient(1100px 500px at 85% -10%, rgba(10, 182, 193, .12), transparent 60%),
    linear-gradient(180deg, var(--bg-soft) 0%, #fff 100%);
}
.hero-shapes { position: absolute; inset: 0; pointer-events: none; }
/* echoes of the logo mark: a slanted navy bar and a teal triangle */
.shape-bar {
  position: absolute; right: 31%; top: -140px; width: 70px; height: 620px;
  background: var(--navy); opacity: .035; border-radius: 0 0 40px 40px;
  transform: rotate(-26deg); transform-origin: top;
}
.shape-tri {
  position: absolute; right: -80px; top: -60px; width: 520px; height: 460px;
  background: var(--teal); opacity: .07;
  clip-path: polygon(0 18%, 100% 0, 52% 100%);
}

.hero-grid { position: relative; display: grid; grid-template-columns: 1.02fr 1fr; gap: 64px; align-items: center; }

.hero h1 { font-size: clamp(40px, 5.4vw, 66px); font-weight: 700; letter-spacing: -0.025em; }
.hero h1 .accent {
  white-space: nowrap;
  background: linear-gradient(90deg, var(--teal-ink), var(--teal));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.lede { margin-top: 22px; font-size: 19px; color: var(--muted); max-width: 34em; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-points { list-style: none; padding: 0; margin: 30px 0 0; display: flex; flex-wrap: wrap; gap: 10px 22px; }
.hero-points li { display: flex; align-items: center; gap: 8px; font-size: 14.5px; color: var(--muted); font-weight: 500; }
.hero-points svg { width: 18px; height: 18px; color: var(--teal-ink); stroke-width: 2.5; flex: none; }

/* Sample report card */
.hero-visual { position: relative; }
.report-card {
  margin: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg); padding: 24px 24px 34px;
  position: relative; z-index: 1;
}
.rc-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.rc-kicker { font-size: 11.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.rc-title { font-family: var(--font-head); font-weight: 600; font-size: 18px; color: var(--navy); margin-top: 2px; }
.rc-title span { color: var(--muted); font-weight: 500; font-size: 15px; margin-left: 6px; }
.rc-status {
  display: inline-flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 600;
  color: var(--teal-ink); background: var(--teal-soft); padding: 5px 11px; border-radius: 999px;
}
.rc-status i { width: 7px; height: 7px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 3px rgba(10, 182, 193, .25); }
.rc-status b { font-weight: 600; }
.rc-status { transition: background-color .3s ease, color .3s ease; }
.rc-status.processing { color: var(--muted); background: #eef3f8; }
.rc-status.processing i { background: #f59e0b; box-shadow: 0 0 0 3px rgba(245, 158, 11, .22); animation: blink 1s ease-in-out infinite; }
@keyframes blink { 50% { opacity: .35; } }

.rc-hero-number { margin: 18px 0 10px; padding: 16px 18px; border-radius: var(--radius); background: var(--navy); color: #fff; position: relative; overflow: hidden; }
.rc-hero-number::after {
  content: ""; position: absolute; right: -30px; top: -20px; width: 150px; height: 130px;
  background: var(--teal); opacity: .22; clip-path: polygon(0 18%, 100% 0, 52% 100%);
}
.rc-label { font-size: 13px; color: #b9cbe0; font-weight: 500; }
.rc-big { font-family: var(--font-head); font-size: 36px; font-weight: 700; letter-spacing: -0.02em; line-height: 1.15; font-variant-numeric: tabular-nums; }
.rc-delta { font-size: 13.5px; font-weight: 600; color: var(--teal); }

.rc-bridge { width: 100%; border-collapse: collapse; font-size: 14px; }
.rc-bridge th { text-align: left; font-weight: 500; color: var(--ink); padding: 8px 0; white-space: nowrap; }
.rc-bridge td { padding: 8px 0; }
.rc-bridge tr + tr { border-top: 1px solid #edf2f7; }
.rc-bridge .num { text-align: right; font-variant-numeric: tabular-nums; font-weight: 600; color: var(--navy); white-space: nowrap; padding-left: 12px; }
.rc-bridge .num.up { color: var(--teal-ink); }
.rc-bridge .num.down { color: var(--down); }
.rc-bar-cell { width: 34%; padding-left: 14px !important; }
.rc-bar {
  display: block; height: 8px; width: var(--w); border-radius: 4px;
  transform-origin: left;
}
.rc-bar.up { background: linear-gradient(90deg, var(--teal), #5fd3da); }
.rc-bar.down { background: #f4b393; }
.rc-total th { font-weight: 600; color: var(--navy); }
.rc-final { border-top: 2px solid var(--navy) !important; }
.rc-final th, .rc-final .num { font-size: 15px; }


.rc-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 14px; }
.rc-tiles div { background: var(--bg-soft); border-radius: 12px; padding: 10px 12px; }
.rc-tiles p { font-size: 11.5px; color: var(--muted); font-weight: 500; line-height: 1.3; }
.rc-tiles strong { display: block; font-family: var(--font-head); font-size: 19px; color: var(--navy); font-variant-numeric: tabular-nums; margin-top: 3px; }
.rc-tiles span { font-size: 11px; color: var(--muted); }

.float-card {
  position: absolute; z-index: 2; left: -36px; bottom: 6px;
  display: flex; align-items: center; gap: 12px;
  background: #fff; border: 1px solid var(--line); border-radius: 14px;
  padding: 12px 16px 12px 12px; box-shadow: var(--shadow-lg);
  animation: floaty 6s ease-in-out infinite;
}
.float-icon { width: 36px; height: 36px; border-radius: 10px; background: var(--teal); color: #fff; display: grid; place-items: center; flex: none; }
.float-icon svg { width: 20px; height: 20px; stroke-width: 3; }
.float-title { font-weight: 600; font-size: 14px; color: var(--navy); }
.float-sub { font-size: 13px; color: var(--muted); }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }

.sample-note { margin-top: 44px; font-size: 12.5px; color: var(--muted); text-align: right; }

/* Hero motion: velocity streaks at the logo's angle */
.hero-streaks span {
  position: absolute; top: -220px; width: 2px; height: 200px; border-radius: 2px;
  background: linear-gradient(180deg, transparent, rgba(10, 182, 193, .5), transparent);
  rotate: -36deg; opacity: 0;
  animation: streak 9s linear infinite;
}
.hero-streaks span:nth-child(1) { left: 8%;  animation-delay: 0s; }
.hero-streaks span:nth-child(2) { left: 30%; animation-delay: 3.2s; height: 140px; }
.hero-streaks span:nth-child(3) { left: 52%; animation-delay: 1.4s; }
.hero-streaks span:nth-child(4) { left: 70%; animation-delay: 5.1s; height: 160px; }
.hero-streaks span:nth-child(5) { left: 86%; animation-delay: 2.3s; height: 120px; }
.hero-streaks span:nth-child(6) { left: 42%; animation-delay: 6.6s; height: 180px; }
@keyframes streak {
  0%   { translate: 0 0; opacity: 0; }
  12%  { opacity: .55; }
  70%  { opacity: .4; }
  100% { translate: 680px 940px; opacity: 0; }
}

/* Hero card builds itself (only when motion is allowed; HTML holds the final state) */
.motion .rc-step { opacity: 0; translate: 0 6px; transition: opacity .35s ease, translate .35s ease; }
.motion .rc-step.landed { opacity: 1; translate: 0 0; }
.motion .rc-step .rc-bar { transform: scaleX(0); transition: transform .7s cubic-bezier(.2, .7, .2, 1) .1s; }
.motion .rc-step.landed .rc-bar { transform: scaleX(1); }
.motion .rc-delta,
.motion .rc-tiles { opacity: 0; transition: opacity .5s ease; }
.motion .report-card.built .rc-delta,
.motion .report-card.built .rc-tiles { opacity: 1; }
.motion .rc-step.landed .num { animation: flash 1s ease; }
@keyframes flash { 0% { background: rgba(10, 182, 193, .18); } 100% { background: transparent; } }
.motion .float-card { opacity: 0; scale: .92; transition: opacity .4s ease, scale .5s cubic-bezier(.3, 1.6, .5, 1); }
.motion .float-card.popped { opacity: 1; scale: 1; }

/* Stats band */
.stats { background: var(--navy); color: #fff; position: relative; overflow: hidden; }
.stats::before {
  content: ""; position: absolute; left: -60px; top: -40px; width: 300px; height: 260px;
  background: var(--teal); opacity: .1; clip-path: polygon(0 18%, 100% 0, 52% 100%);
}
.stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); position: relative; }
.stat { padding: 40px 32px; }
.stat + .stat { border-left: 1px solid rgba(255, 255, 255, .14); }
.stat strong { display: block; font-family: var(--font-head); font-size: 44px; font-weight: 700; color: var(--teal); letter-spacing: -0.02em; line-height: 1.1; }
.stat p { color: #d2deec; margin-top: 6px; font-size: 16px; }

/* Sections */
.section { padding: 104px 0; }
.section-head { max-width: 720px; margin-bottom: 52px; }
.section-head h2 { font-size: clamp(32px, 3.8vw, 46px); font-weight: 700; letter-spacing: -0.02em; }
.section-head > p:not(.eyebrow) { margin-top: 18px; font-size: 18px; color: var(--muted); }

/* Compare */
.compare-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.compare-card { border-radius: var(--radius-lg); padding: 36px; }
.compare-card h3 { font-size: 22px; font-weight: 600; margin-bottom: 20px; }
.compare-card ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.compare-card li { display: flex; gap: 12px; align-items: flex-start; font-size: 16.5px; }
.compare-card li svg { width: 22px; height: 22px; flex: none; margin-top: 2px; padding: 4px; border-radius: 50%; stroke-width: 3; }
.compare-card.old { background: var(--bg-soft); border: 1px solid var(--line); color: var(--muted); }
.compare-card.old h3 { color: var(--muted); }
.compare-card.old svg { background: #e3e9f1; color: #8296b0; }
.compare-card.new { background: var(--navy); color: #e8eff7; box-shadow: var(--shadow-lg); position: relative; overflow: hidden; }
.compare-card.new::after {
  content: ""; position: absolute; right: -40px; bottom: -50px; width: 220px; height: 190px;
  background: var(--teal); opacity: .14; clip-path: polygon(0 18%, 100% 0, 52% 100%);
}
.compare-card.new h3 { color: #fff; }
.compare-card.new svg { background: var(--teal); color: var(--navy-900); }

/* Speed race */
.race {
  margin: 0 0 28px; padding: 28px 32px 22px; border-radius: var(--radius-lg);
  background: var(--bg-soft); border: 1px solid var(--line);
}
.race-title { font-family: var(--font-head); font-weight: 600; font-size: 18px; color: var(--navy); margin-bottom: 18px; }
.race-row + .race-row { margin-top: 18px; }
.race-meta { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 8px; font-size: 15px; color: var(--muted); font-weight: 500; }
.race-meta strong { font-family: var(--font-head); font-size: 17px; color: var(--muted); font-weight: 600; }
.race-meta .race-brand { color: var(--navy); font-weight: 600; }
.race-meta .race-fast { color: var(--teal-ink); }
.race-track { position: relative; height: 14px; border-radius: 999px; background: #e3eaf2; }
.race-fill { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 999px; }
.race-fill.old { width: 75%; background: #9fb3cb; }
.race-range {
  position: absolute; left: 75%; right: 0; top: 0; bottom: 0; border-radius: 0 999px 999px 0;
  background: repeating-linear-gradient(-45deg, #9fb3cb 0 5px, transparent 5px 10px);
  opacity: .8;
}
.race-fill.new { width: max(3.57%, 12px); background: linear-gradient(90deg, var(--teal-ink), var(--teal)); box-shadow: 0 0 0 4px rgba(10, 182, 193, .15); }
.race-flag {
  position: absolute; left: calc(max(3.57%, 12px) + 12px); top: 50%; translate: 0 -50%;
  display: inline-flex; align-items: center; gap: 6px; white-space: nowrap;
  font-size: 13px; font-weight: 600; color: #fff; background: var(--navy);
  padding: 4px 11px 4px 8px; border-radius: 999px; box-shadow: var(--shadow-sm);
}
.race-flag svg { width: 15px; height: 15px; color: var(--teal); stroke-width: 3; }
.race-axis { position: relative; display: flex; justify-content: space-between; margin-top: 14px; padding-top: 8px; border-top: 1px dashed var(--line); font-size: 12px; color: var(--muted); }
.race-axis span { width: 0; display: flex; justify-content: center; white-space: nowrap; }
.race-axis span:first-child { justify-content: flex-start; }
.race-axis span:last-child { justify-content: flex-end; }

.motion .race-fill.old { width: 0; transition: width 3.2s cubic-bezier(.45, .05, .55, .95) .3s; }
.motion .race-range { opacity: 0; transition: opacity .6s ease 3.4s; }
.motion .race-fill.new { width: 0; transition: width .45s cubic-bezier(.2, .8, .2, 1) .3s; }
.motion .race-flag { opacity: 0; scale: .85; transition: opacity .3s ease .75s, scale .4s cubic-bezier(.3, 1.6, .5, 1) .75s; }
.motion .race-meta strong { opacity: 0; transition: opacity .4s ease; }
.motion .race-row:nth-child(3) .race-meta strong { transition-delay: .75s; }
.motion .race-row:nth-child(2) .race-meta strong { transition-delay: 3.4s; }
.motion .race.run .race-fill.old { width: 75%; }
.motion .race.run .race-range { opacity: .8; }
.motion .race.run .race-fill.new { width: max(3.57%, 12px); }
.motion .race.run .race-flag { opacity: 1; scale: 1; }
.motion .race.run .race-meta strong { opacity: 1; }

/* How it works */
.how { background: var(--bg-soft); }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: none; position: relative; }
.steps::before {
  content: ""; position: absolute; top: 27px; left: 28px; right: 28px; height: 2px;
  background: repeating-linear-gradient(90deg, var(--line) 0 8px, transparent 8px 14px);
}
.step { position: relative; }
.step-num {
  position: relative; z-index: 1;
  display: grid; place-items: center; width: 56px; height: 56px; border-radius: 16px;
  background: #fff; border: 1.5px solid var(--line); box-shadow: var(--shadow-sm);
  font-family: var(--font-head); font-weight: 700; font-size: 22px; color: var(--navy);
  margin-bottom: 22px;
}
.step:last-child .step-num { background: var(--navy); color: #fff; border-color: var(--navy); }
.step h3 { font-size: 20px; font-weight: 600; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 16px; }

/* Features */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature {
  border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 30px;
  background: #fff; transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.feature:hover { border-color: #b8cde0; box-shadow: var(--shadow-sm); transform: translateY(-2px); }
.feature-icon {
  display: grid; place-items: center; width: 48px; height: 48px; border-radius: 13px;
  background: var(--teal-soft); color: var(--teal-ink); margin-bottom: 20px;
}
.feature-icon svg { width: 24px; height: 24px; }
.feature h3 { font-size: 20px; font-weight: 600; margin-bottom: 8px; }
.feature p { color: var(--muted); font-size: 16px; }

/* Who */
.who { background: linear-gradient(180deg, #fff 0%, var(--bg-soft) 100%); }
.who-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 20px; }
.who-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 30px 28px 28px;
  position: relative; overflow: hidden;
}
.who-card::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: linear-gradient(90deg, var(--navy), var(--teal)); }
.who-icon {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px;
  background: var(--navy); color: #fff; margin-bottom: 18px;
}
.who-icon svg { width: 22px; height: 22px; }
.who-card h3 { font-size: 19px; font-weight: 600; margin-bottom: 8px; }
.who-card p { color: var(--muted); font-size: 15.5px; }
.who-card a { color: var(--teal-ink); text-decoration: underline; }

/* Monitor */
.monitor-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.monitor-copy h2 { font-size: clamp(32px, 3.6vw, 44px); font-weight: 700; letter-spacing: -0.02em; }
.monitor-copy > p:not(.eyebrow) { margin-top: 18px; font-size: 18px; color: var(--muted); }
.check-list { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 12px; }
.check-list li { display: flex; align-items: center; gap: 12px; font-weight: 500; }
.check-list svg { width: 22px; height: 22px; padding: 4px; border-radius: 50%; background: var(--teal-soft); color: var(--teal-ink); stroke-width: 3; flex: none; }

.alerts-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); padding: 10px 8px; }
.alerts-head { display: flex; justify-content: space-between; align-items: baseline; padding: 14px 18px 12px; font-family: var(--font-head); font-weight: 600; font-size: 17px; color: var(--navy); border-bottom: 1px solid var(--line); }
.alerts-head span { font-family: var(--font-body); font-size: 13px; color: var(--muted); font-weight: 500; }
.alerts-card ul { list-style: none; margin: 0; padding: 6px 0 0; }
.alerts-card li { display: flex; gap: 14px; align-items: flex-start; padding: 14px 18px; border-radius: 12px; transition: background-color .15s ease; }
.alerts-card li:hover { background: var(--bg-soft); }
.alerts-card strong { display: block; font-weight: 600; font-size: 15.5px; color: var(--ink); }
.alerts-card span { font-size: 13.5px; color: var(--muted); }
.alerts-live { display: inline-flex; align-items: center; gap: 7px; }
.alerts-live i { width: 7px; height: 7px; border-radius: 50%; background: var(--teal); animation: live 2s ease-out infinite; }
@keyframes live { 0% { box-shadow: 0 0 0 0 rgba(10, 182, 193, .5); } 100% { box-shadow: 0 0 0 9px rgba(10, 182, 193, 0); } }
.motion .alerts-card li { opacity: 0; translate: 0 10px; transition: opacity .45s ease, translate .45s ease, background-color .15s ease; }
.motion .alerts-card.run li { opacity: 1; translate: 0 0; }
.motion .alerts-card.run li:nth-child(1) { transition-delay: .2s, .2s, 0s; }
.motion .alerts-card.run li:nth-child(2) { transition-delay: .8s, .8s, 0s; }
.motion .alerts-card.run li:nth-child(3) { transition-delay: 1.4s, 1.4s, 0s; }
.motion .alerts-card.run li:nth-child(4) { transition-delay: 2s, 2s, 0s; }
.dot { width: 10px; height: 10px; border-radius: 50%; margin-top: 7px; flex: none; }
.dot.up { background: var(--teal); box-shadow: 0 0 0 4px rgba(10, 182, 193, .18); }
.dot.watch { background: #f59e0b; box-shadow: 0 0 0 4px rgba(245, 158, 11, .18); }

/* FAQ */
.faq { background: var(--bg-soft); }
.faq-inner { display: grid; grid-template-columns: .8fr 1.2fr; gap: 64px; align-items: start; }
.faq-aside { margin-top: 18px; font-size: 17px; color: var(--muted); }
.faq-aside a { color: var(--teal-ink); font-weight: 600; text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
.faq-list { display: grid; gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 0 22px; transition: border-color .2s ease; }
.faq details[open] { border-color: #b8cde0; }
.faq summary {
  list-style: none; cursor: pointer; padding: 20px 32px 20px 0; position: relative;
  font-family: var(--font-head); font-weight: 600; font-size: 18px; color: var(--navy);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 2px; top: 50%; width: 10px; height: 10px; margin-top: -7px;
  border-right: 2.5px solid var(--teal-ink); border-bottom: 2.5px solid var(--teal-ink);
  transform: rotate(45deg); transition: transform .2s ease;
}
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq details p { padding: 0 0 20px; color: var(--muted); }

/* CTA */
.cta { position: relative; overflow: hidden; background: var(--navy); color: #fff; padding: 96px 0; }
.cta-shapes span {
  position: absolute; right: -120px; top: -80px; width: 560px; height: 480px;
  background: var(--teal); opacity: .14; clip-path: polygon(0 18%, 100% 0, 52% 100%);
}
.cta::before {
  content: ""; position: absolute; left: 8%; bottom: -200px; width: 80px; height: 520px;
  background: #fff; opacity: .04; border-radius: 40px; transform: rotate(-26deg);
}
.cta-grid { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: end; }
.cta h2 { color: #fff; font-size: clamp(36px, 4.4vw, 54px); font-weight: 700; letter-spacing: -0.02em; }
.cta-copy p { margin-top: 18px; font-size: 19px; color: #d2deec; max-width: 30em; }
.demo-booking { display: flex; align-items: center; gap: 22px; margin-top: 28px; padding: 22px; border: 1px solid rgba(255,255,255,.25); border-radius: var(--radius-lg); background: rgba(255,255,255,.06); }
.demo-booking-copy { flex: 1; min-width: 0; }
.demo-booking h3 { color: #fff; font-size: 21px; line-height: 1.3; }
.demo-booking-copy p { font-size: 15px; margin: 10px 0 18px; }
.demo-booking .btn { white-space: normal; text-align: center; }
.demo-booking-qr { flex: 0 0 180px; margin: 0; text-align: center; }
.demo-booking-qr a { display: block; background: #fff; }
.demo-booking-qr img { display: block; width: 180px; height: 180px; }
.demo-booking-qr figcaption { margin-top: 8px; color: #d2deec; font-size: 12px; }
.demo-request-heading { grid-column: 1 / -1; }
.demo-request-heading h3 { font-size: 22px; color: var(--navy); }
.demo-request-heading p { color: var(--muted); margin-top: 6px; font-size: 15px; }
.demo-booking a:focus-visible { outline: 3px solid #fff; outline-offset: 4px; }
@media (max-width: 600px) { .demo-booking { flex-direction: column; align-items: stretch; } .demo-booking-qr { flex-basis: auto; align-self: center; } .demo-booking-copy .btn { width: 100%; } }

.cta-form {
  background: #fff; color: var(--ink); border-radius: var(--radius-lg); padding: 28px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px; box-shadow: var(--shadow-lg);
}
.field { display: grid; gap: 6px; }
.field label { font-size: 14px; font-weight: 600; color: var(--navy); }
.field input,
.field select {
  font: inherit; font-size: 16px; color: var(--ink);
  padding: 11px 13px; border: 1.5px solid var(--line); border-radius: 10px; background: #fff;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.field input:focus,
.field select:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 4px rgba(10, 182, 193, .18); }
.field input.invalid { border-color: var(--down); }
.cta-form .btn { grid-column: 1 / -1; margin-top: 4px; }
.form-note { grid-column: 1 / -1; font-size: 14px; color: var(--muted); min-height: 1em; text-align: center; }
.form-note:empty { display: none; }
.form-note[data-state="error"] { color: #a32626; }
.form-note[data-state="success"] { color: #176340; }
.cta-form .btn:disabled { opacity: .65; cursor: wait; }
.form-trap { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

@media (min-width: 1081px) {
  .cta-grid { row-gap: 0; align-items: start; }
  .cta-copy { display: contents; }
  .cta-copy > h2, .cta-copy > p, .demo-booking { grid-column: 1; }
  .demo-booking { align-self: end; }
  .cta-form { grid-column: 2; grid-row: 2 / 4; align-self: stretch; margin-top: 18px; }
}

/* Footer */
.site-footer { background: var(--navy-900); color: #b9cbe0; padding: 56px 0 28px; }
.footer-grid { display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap; }
.footer-brand img { width: 300px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 12px 28px; }
.footer-links a { text-decoration: none; font-size: 15px; font-weight: 500; color: #d2deec; }
.footer-links a:hover { color: var(--teal); }
.footer-base {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 24px;
  margin-top: 40px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: 13.5px;
}

/* Scroll reveal */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s cubic-bezier(.2, .7, .2, 1); }
.js .reveal.in { opacity: 1; transform: none; }

/* Responsive */
@media (max-width: 1080px) {
  .hero-grid { grid-template-columns: 1fr; gap: 56px; }
  .hero-visual { max-width: 560px; margin: 0 auto; width: 100%; }
  .float-card { left: -20px; }
  .who-grid { grid-template-columns: repeat(2, 1fr); }
  .who-card:last-child { grid-column: 1 / -1; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
  .steps::before { display: none; }
  .faq-inner { grid-template-columns: 1fr; gap: 0; }
  .cta-grid { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 1200px) {
  :root { --header-h: 64px; }
  .nav-toggle { display: block; }
  .nav {
    position: absolute; left: 0; right: 0; top: var(--header-h);
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line);
    padding: 8px var(--gutter) 20px;
    box-shadow: 0 20px 30px -20px rgba(2, 54, 114, .3);
    display: none;
  }
  .nav.open { display: flex; }
  .nav a:not(.btn) { padding: 14px 0; border-bottom: 1px solid #edf2f7; font-size: 16px; color: var(--navy); }
  .nav-cta { margin-top: 16px; }
  .brand img { height: 34px; }

}

@media (max-width: 860px) {
  .monitor-grid { grid-template-columns: 1fr; gap: 44px; }
  .compare-grid { grid-template-columns: 1fr; }
  .section { padding: 80px 0; }
  .stats-grid { grid-template-columns: 1fr; }
  .stat { padding: 28px 0; }
  .stat + .stat { border-left: 0; border-top: 1px solid rgba(255, 255, 255, .14); }
}

@media (max-width: 600px) {
  :root { --gutter: 16px; }
  body { font-size: 16px; }
  .hero { padding: 48px 0 72px; }
  .lede { font-size: 17.5px; }
  .hero-ctas .btn { flex: 1 1 100%; }
  .report-card { padding: 18px 16px 16px; }
  .faq-aside { margin-bottom: 28px; }
  .rc-big { font-size: 30px; }
  .rc-bridge { font-size: 13px; }
  .rc-bar-cell { width: 22%; padding-left: 10px !important; }
  .rc-tiles { gap: 8px; }
  .rc-tiles div { padding: 9px 9px; }
  .rc-tiles strong { font-size: 16px; }
  .float-card { position: relative; left: auto; bottom: auto; margin: -10px 12px 0; animation: none; }
  .sample-note { text-align: center; margin-top: 14px; }
  .feature-grid, .who-grid, .steps { grid-template-columns: 1fr; }
  .compare-card { padding: 26px 22px; }
  .race { padding: 22px 18px 18px; }
  .race-axis span:nth-child(even) { visibility: hidden; }
  .cta { padding: 72px 0; }
  .cta-form { grid-template-columns: 1fr; padding: 22px; }
  .footer-brand img { width: 240px; }
  .footer-base { flex-direction: column; }
}

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

/* Compact desktop navigation with both demo and contact actions. */
@media (min-width:1201px) and (max-width:1400px) {
  .site-header .nav {gap:12px;}
  .site-header .nav a:not(.btn) {font-size:14px;}
  .site-header .nav-cta {padding-left:14px;padding-right:14px;}
}
