:root {
  --accent: #0b7a9e;
  --accent-hover: #096a89;
  --navy: #0a1a2b;
  --ink: #0f1720;
  --mist: #d8e1e8;
  --white: #ffffff;

  --nav-h: 76px;
  --gutter: clamp(20px, 6vw, 112px);
  --radius-pill: 0;

  --ease-out: cubic-bezier(.2, .7, .2, 1);
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--white);
  color: var(--ink);
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Helvetica, Arial, sans-serif;
  font-feature-settings: 'ss01', 'cv11';
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: inherit; text-decoration: none; }
img { display: block; }

.text-link {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1.5px;
}
.text-link:hover { color: var(--accent-hover); }

:focus-visible {
  outline: 3px solid rgba(11, 122, 158, .55);
  outline-offset: 3px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  cursor: pointer;
  background: var(--accent);
  color: var(--white);
  border-radius: var(--radius-pill);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.005em;
  white-space: nowrap;
  transition: background .18s ease, transform .18s var(--ease-out), box-shadow .18s ease;
}
.btn:hover { background: var(--accent-hover); }
.btn:active { transform: translateY(1px); }

.btn-nav {
  height: 42px;
  padding: 0 22px;
  font-size: 15px;
  border-radius: 0;
}

.btn-demo {
  height: 46px;
  padding: 0 22px;
  font-size: 16px;
}
.btn-demo:hover {
  transform: translateY(-1px);
}

/* ---------- Nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--white);
  height: var(--nav-h);
  border-bottom: 1px solid var(--mist);
}
.nav-inner {
  height: 100%;
  padding: 0 var(--gutter);
  display: flex;
  align-items: center;
  gap: 44px;
}
.brand { flex: none; }
.brand img {
  width: 40px;
  height: 40px;
  border-radius: 10px;
}

.nav-links {
  display: flex;
  align-items: stretch;
  align-self: stretch;
  gap: 32px;
  font-size: 15.5px;
  font-weight: 500;
  letter-spacing: -0.005em;
}
.nav-item {
  display: flex;
  align-items: center;
  color: var(--ink);
}
.nav-item > a,
.nav-trigger {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 0;
  margin: 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  letter-spacing: inherit;
  cursor: pointer;
  transition: color .18s ease;
}
a.nav-item { position: relative; }
a.nav-item::after,
.nav-trigger::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .22s var(--ease-out);
}
a.nav-item::after { bottom: calc(50% - 16px); }
a.nav-item:hover,
.nav-trigger:hover,
.has-menu.is-open .nav-trigger { color: var(--accent); }
a.nav-item:hover::after,
.has-menu.is-open .nav-trigger::after { transform: scaleX(1); }

.chevron {
  flex: none;
  transition: transform .22s var(--ease-out);
}
.has-menu.is-open .chevron { transform: rotate(180deg); }

/* ---------- Platform mega menu ---------- */
.mega {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--white);
  border-top: 1px solid var(--mist);
  opacity: 0;
  transform: translateY(-6px);
  pointer-events: none;
  transition: opacity .18s ease, transform .22s var(--ease-out);
}
.has-menu.is-open .mega {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}
.mega-inner {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 64px;
  padding: 32px var(--gutter) 36px;
}
.mega-intro {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  padding-top: 10px;
}
.mega-heading {
  margin: 0;
  font-size: 30px;
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1;
  color: var(--ink);
}
.btn-mega {
  height: 42px;
  padding: 0 22px;
  font-size: 15px;
  border-radius: 0;
}
.mega-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.mega-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(280px, 360px));
  gap: 4px 32px;
  align-content: start;
}
.mega-link {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 12px 14px;
  margin: 0 -14px;
  border-radius: 0;
  transition: background .16s ease;
}
.mega-link:hover { background: rgba(11, 122, 158, .07); }
.mega-name {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.mega-desc {
  font-size: 14px;
  font-weight: 400;
  line-height: 1.4;
  color: #5b6773;
}

.btn-nav { margin-left: auto; }

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  margin-right: -10px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.nav-toggle span {
  width: 22px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform .22s var(--ease-out), opacity .22s ease;
}
.nav.is-open .nav-toggle span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav.is-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav.is-open .nav-toggle span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  height: calc(100vh - var(--nav-h));
  height: calc(100svh - var(--nav-h));
  min-height: 620px;
  max-height: 1100px;
  overflow: hidden;
  color: var(--white);
}
.hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 32%;
}
.hero-tint {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 58% 52% at 16% 84%, rgba(10, 26, 43, .68) 0%, rgba(10, 26, 43, 0) 100%),
    linear-gradient(180deg, rgba(10, 26, 43, .06) 0%, rgba(10, 26, 43, .12) 38%, rgba(10, 26, 43, .58) 72%, rgba(10, 26, 43, .82) 100%),
    linear-gradient(90deg, rgba(10, 26, 43, .55) 0%, rgba(10, 26, 43, .18) 45%, rgba(10, 26, 43, 0) 75%);
}
.hero-inner {
  position: absolute;
  inset: 0;
  padding: 0 var(--gutter) clamp(48px, 7vh, 88px);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.hero-copy {
  max-width: 640px;
}
.hero-title {
  margin: 0;
  font-size: clamp(52px, 6.2vw, 100px);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: .95;
}
.hero-sub {
  margin: 22px 0 0;
  font-size: clamp(19px, 1.75vw, 28px);
  font-weight: 400;
  line-height: 1.35;
  letter-spacing: -0.01em;
  color: rgba(255, 255, 255, .92);
}
.hero-copy .btn-demo {
  margin-top: 32px;
}

/* Backed by */
.yc {
  margin-top: 40px;
  display: flex;
  align-items: center;
  gap: 12px;
  width: max-content;
}
.yc-backed {
  font-size: 15px;
  font-weight: 500;
  line-height: 1;
  color: rgba(255, 255, 255, .9);
}
.yc-pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 9px 16px 9px 10px;
  border-radius: 0;
  background: var(--white);
  transition: transform .22s var(--ease-out);
}
.yc:hover .yc-pill {
  transform: translateY(-2px);

}
.yc-mark {
  width: 26px;
  height: 26px;
  border-radius: 0;
  flex: none;
}
.yc-word {
  color: var(--ink);
  font-size: 17px;
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1;
  white-space: nowrap;
}

/* ---------- Page-load sequence (the one motion moment) ---------- */
@keyframes rise {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: none; }
}
.hero-title,
.hero-sub,
.hero-copy .btn-demo,
.yc {
  animation: rise .8s var(--ease-out) both;
}
.hero-sub            { animation-delay: .12s; }
.hero-copy .btn-demo { animation-delay: .24s; }
.yc                  { animation-delay: .42s; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) and (min-width: 641px) {
  .hero-tint {
    background:
      radial-gradient(ellipse 70% 62% at 14% 76%, rgba(10, 26, 43, .72) 0%, rgba(10, 26, 43, 0) 100%),
      linear-gradient(180deg, rgba(10, 26, 43, .06) 0%, rgba(10, 26, 43, .12) 38%, rgba(10, 26, 43, .58) 72%, rgba(10, 26, 43, .82) 100%),
      linear-gradient(90deg, rgba(10, 26, 43, .55) 0%, rgba(10, 26, 43, .18) 45%, rgba(10, 26, 43, 0) 75%);
  }
}

@media (max-width: 900px) {
  :root { --nav-h: 68px; }
  .nav-inner { gap: 32px; }
  .nav-links { gap: 24px; font-size: 15px; }
  .mega-inner { grid-template-columns: 180px minmax(0, 1fr); gap: 40px; }
  .mega-heading { font-size: 26px; }
  .mega-list { min-width: 0; }
  .mega-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .brand img { width: 36px; height: 36px; border-radius: 9px; }
  .hero-copy { max-width: 560px; }
}

@media (max-width: 640px) {
  :root { --nav-h: 60px; }
  .nav-inner { gap: 14px; }
  .nav-toggle { display: flex; }

  .nav-links {
    position: absolute;
    top: var(--nav-h);
    left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--white);
    border-bottom: 1px solid var(--mist);
    padding: 6px 0 10px;
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: transform .2s var(--ease-out), opacity .2s ease;
  }
  .nav-item { display: block; }
  .nav-item > a,
  .nav-trigger {
    display: flex;
    width: 100%;
    justify-content: space-between;
    padding: 14px var(--gutter);
    font-size: 17px;
    text-align: left;
  }
  a.nav-item { display: block; padding: 14px var(--gutter); font-size: 17px; }
  a.nav-item::after,
  .nav-trigger::after { display: none; }
  .nav.is-open .nav-links { transform: none; opacity: 1; pointer-events: auto; }

  /* Platform accordion inside the drawer */
  .mega {
    position: static;
    display: none;
    border-top: 0;
    box-shadow: none;
    opacity: 1;
    transform: none;
    pointer-events: auto;
    background: #f6f9fb;
  }
  .has-menu.is-open .mega { display: block; }
  .mega-inner { grid-template-columns: 1fr; gap: 12px; padding: 8px var(--gutter) 18px; }
  .mega-intro { order: 2; gap: 0; margin-top: 8px; }
  .mega-heading { display: none; }
  .btn-mega { height: 40px; padding: 0 18px; font-size: 14px; }
  .mega-list { gap: 4px; }
  .mega-grid { grid-template-columns: 1fr; gap: 0; }
  .mega-link { padding: 10px 0; margin: 0; border-radius: 0; }
  .mega-link:hover { background: none; }
  .mega-name { font-size: 16px; }
  .mega-desc { font-size: 13.5px; }

  .btn-nav { height: 38px; padding: 0 16px; font-size: 14px; }

  .hero { min-height: 600px; }
  .hero-img { object-position: 38% 50%; }
  .hero-tint {
    background:
      linear-gradient(180deg, rgba(10, 26, 43, .10) 0%, rgba(10, 26, 43, .25) 40%, rgba(10, 26, 43, .80) 100%);
  }
  .hero-inner { padding-bottom: 40px; }
  .hero-copy { max-width: 100%; }
  .hero-title { font-size: clamp(46px, 14vw, 64px); }
  .hero-sub { margin-top: 16px; font-size: 16px; max-width: none; }
  .hero-copy .btn-demo { margin-top: 28px; height: 44px; padding: 0 22px; font-size: 15px; }

  .yc { margin-top: 32px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
}

/* ---------- Active nav item ---------- */
a.nav-item.is-active,
.has-menu.is-active .nav-trigger { color: var(--accent); }
a.nav-item.is-active::after { transform: scaleX(1); }

/* ---------- Interior pages ---------- */
.wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.page-hero {
  padding: clamp(56px, 8vw, 104px) 0 clamp(40px, 5vw, 64px);
}
.page-hero h1 {
  margin: 0;
  font-size: clamp(40px, 5vw, 68px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
}
.lede {
  margin: 20px 0 0;
  max-width: 58ch;
  font-size: clamp(18px, 1.4vw, 22px);
  line-height: 1.45;
  color: #3a4654;
}
.page-actions {
  margin-top: 32px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

/* Hero with a screenshot on the right */
.page-hero.split .wrap {
  display: grid;
  grid-template-columns: minmax(340px, 4fr) minmax(0, 8fr);
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
  max-width: 1320px;
}
.page-hero.split h1 { font-size: clamp(34px, 3.6vw, 48px); white-space: nowrap; }
.page-hero.split .lede { font-size: clamp(16px, 1.2vw, 18px); max-width: none; }
.page-hero-media { margin: 0; }
.page-hero-media img {
  width: 100%;
  height: auto;
  border-radius: 0;
  border: 1px solid var(--mist);
}

.btn-primary {
  height: 42px;
  padding: 0 20px;
  font-size: 15px;
}
.btn-ghost {
  background: transparent;
  color: var(--accent);
  box-shadow: inset 0 0 0 1.5px rgba(11, 122, 158, .4);
}
.btn-ghost:hover { background: rgba(11, 122, 158, .06); }

.feature {
  padding: clamp(40px, 6vw, 80px) 0;
  border-top: 1px solid var(--mist);
}
.feature-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.feature.reverse .feature-text { order: 2; }
.feature.reverse .feature-grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.feature h2 {
  margin: 0;
  font-size: clamp(26px, 2.6vw, 36px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
}
.feature p {
  margin: 16px 0 0;
  max-width: 52ch;
  font-size: 17px;
  line-height: 1.55;
  color: #3a4654;
}
.feature ul {
  list-style: none;
  margin: 22px 0 0;
  padding: 0;
}
.feature li {
  padding: 12px 0;
  border-top: 1px solid var(--mist);
  font-size: 16px;
  line-height: 1.4;
}
.feature-media { margin: 0; }
.feature-media img {
  width: 100%;
  height: auto;
  border-radius: 0;
  border: 1px solid var(--mist);
}
.feature-media.team img { max-width: 78%; margin-left: auto; }
/* ---------- Recreated product screenshots (vector, scaled to fit) ---------- */
.shot {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--mist);
  background: var(--white);
  aspect-ratio: 1600 / 810;
}
.shot-canvas {
  position: absolute;
  top: 0; left: 0;
  width: 1600px;
  height: 810px;
  transform-origin: 0 0;
  transform: scale(var(--shot-scale, .5));
  font-size: 15px;
  line-height: 1.35;
  color: #1f2a37;
  letter-spacing: 0;
}
/* Staggered fill-in when the section reveals */
.shot .ra-a { opacity: 0; transform: translateY(6px); transition: opacity .45s ease, transform .5s var(--ease-out); }
.is-in .shot .ra-a { opacity: 1; transform: none; transition-delay: var(--d, 0s); }

/* RMS app frame */
.ra { display: grid; grid-template-columns: 176px minmax(0, 1fr) 288px; }
.ra-main, .ra-right, .ra-side { min-height: 0; overflow: hidden; }
.ra-ic { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.ra-side { display: flex; flex-direction: column; border-right: 1px solid #e5eaef; padding: 14px 14px 12px; }
.feature-media .shot img.ra-logo { width: 44px; height: 44px; margin: 0 0 0 52px; border: 0; border-radius: 9px; }
.feature .shot p { margin: 4px 0 0; font-size: 13.5px; line-height: 1.4; color: #4a5661; max-width: none; }
.ra-dept { margin: 16px 0 12px; padding: 10px 14px; border: 1px solid #e0e6ec; border-radius: 12px; background: #f3f6f9; font-weight: 600; display: flex; align-items: center; justify-content: space-between; font-size: 15px; }
.ra-dept .ra-ic { width: 14px; height: 14px; color: #6b7885; }
.ra-nav, .ra-foot { display: flex; flex-direction: column; gap: 4px; }
.ra-foot { margin-top: auto; border-top: 1px solid #e5eaef; padding-top: 8px; }
.ra-item { display: flex; align-items: center; gap: 12px; padding: 8px 10px; color: #1f2a37; font-size: 15.5px; }
.ra-item .ra-ic { color: #4a5661; }
.ra-sub { margin: 0 0 0 16px; padding: 7px 12px; border-left: 2px solid #dfe5ea; font-size: 15px; color: #1f2a37; }
.ra-sub.is-active { background: #e3edf5; border-left-color: var(--accent); }

.ra-main { min-width: 0; display: flex; flex-direction: column; }
.ra-tabs { display: flex; gap: 38px; padding: 0 22px; height: 52px; align-items: center; border-bottom: 1px solid #e5eaef; font-size: 15.5px; color: #4a5661; font-weight: 500; }
.ra-tabs span { position: relative; display: flex; align-items: center; gap: 8px; height: 52px; }
.ra-tabs b { font-weight: 500; font-size: 11.5px; color: #4a5661; background: #e8edf2; border-radius: 999px; padding: 2px 7px; }
.ra-tabs .is-active { color: var(--accent); }
.ra-tabs .is-active::after { content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--accent); }
.ra-scroll { padding: 4px 22px 0; display: flex; flex-direction: column; gap: 18px; }
.ra-person { border: 1px solid #e5eaef; border-radius: 4px; }
.ra-person header { display: flex; align-items: center; gap: 10px; padding: 10px 18px; background: #e6f0f7; border-left: 3px solid var(--accent); }
.ra-kind { font-size: 11.5px; letter-spacing: .04em; color: #4a5661; }
.ra-person header strong { font-size: 17px; font-weight: 600; }
.ra-saved { margin-left: auto; font-size: 12.5px; color: #4a5661; }
.ra-del { display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 12px; border: 1px solid #f1c7c7; background: var(--white); color: #c03535; font: inherit; font-size: 14px; border-radius: 3px; }
.ra-del .ra-ic { width: 14px; height: 14px; }
.ra-pbody { padding: 12px 18px 18px; }
.ra-textarea { height: 34px; border: 1px solid #d5dde3; border-radius: 3px; }
.ra-pbody h4 { margin: 14px 0 10px; font-size: 15.5px; font-weight: 600; }
.ra-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-bottom: 12px; }
.ra-field { border: 1px solid #cfd8df; border-radius: 3px; padding: 8px 10px 10px; min-height: 66px; }
.ra-field label { display: block; font-size: 14px; color: #3a4654; margin-bottom: 8px; }
.ra-req { color: #c03535; font-weight: 600; }
.ra-val { position: relative; display: flex; align-items: center; justify-content: space-between; font-size: 15px; color: #1f2a37; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; padding-right: 4px; }
.ra-caret { width: 0; height: 0; border-left: 4px solid transparent; border-right: 4px solid transparent; border-top: 5px solid #4a5661; flex: none; margin-left: 8px; }
.ra-cal { width: 15px; height: 15px; color: #1f2a37; }
.ra-note { margin-top: 10px; font-size: 12.5px; color: #4a5661; line-height: 1.35; }
.ra-field.is-error { border-color: #d24a4a; }
.ra-field.is-error label { color: #c03535; }
.ra-errico .ra-ic { width: 14px; height: 14px; color: #c03535; vertical-align: -2px; margin-left: 4px; }
.ra-errwrap { border: 1px solid #d24a4a; border-radius: 3px; }
.ra-errwrap .ra-field { border: 0; min-height: 66px; }
.ra-err { padding: 0 10px 8px; font-size: 12.5px; color: #c03535; }

.ra-right { border-left: 1px solid #e5eaef; padding: 12px 12px 12px 12px; font-size: 14.5px; }
.ra-seg { display: flex; padding: 3px; border: 1px solid #e0e6ec; border-radius: 8px; background: #f3f6f9; margin-bottom: 14px; }
.ra-seg span { flex: 1; text-align: center; padding: 8px 0; font-size: 15px; color: #4a5661; }
.ra-seg .is-active { background: var(--white); border-radius: 6px; color: #1f2a37; font-weight: 600; border: 1px solid #e0e6ec; }
.ra-right h3 { margin: 0; font-size: 18.5px; font-weight: 600; letter-spacing: -0.01em; }
.ra-muted { margin: 4px 0 0; font-size: 13.5px; color: #4a5661; }
.ra-links { margin: 14px 0; padding: 4px 0; border-top: 1px solid #e5eaef; border-bottom: 1px solid #e5eaef; }
.ra-links div { display: flex; align-items: center; gap: 12px; padding: 10px 8px; font-size: 15.5px; }
.ra-links .ra-ic { color: #4a5661; }
.ra-nibrs { display: flex; align-items: center; justify-content: space-between; margin-top: 6px; }
.ra-nibrs span { font-size: 12.5px; font-weight: 600; color: #4a5661; }
.ra-nibrs button, .ra-ghost { font: inherit; font-size: 13.5px; padding: 6px 12px; border-radius: 4px; border: 1px solid #cfe0ea; background: #eaf3f8; color: var(--accent); font-weight: 500; }
.ra-ghost { background: var(--white); color: #1f2a37; border-color: #cfd8df; }
.ra-badge { margin-top: 10px; padding: 8px 10px; background: #fdecec; color: #c03535; font-weight: 600; font-size: 14px; border-radius: 3px; }
.ra-ori { margin-top: 12px; line-height: 1.9; }
.ra-inc { margin: 12px 0 8px; font-weight: 600; font-size: 14.5px; }
.ra-inc b { margin-left: 6px; font-weight: 500; color: #4a5661; font-size: 12.5px; }
.ra-warn { display: flex; gap: 8px; align-items: flex-start; padding: 10px 10px; margin-bottom: 8px; border: 1px solid #e5eaef; border-radius: 3px; font-size: 13.5px; line-height: 1.4; color: #4a5661; }
.ra-warn strong { color: #1f2a37; font-weight: 600; }
.ra-warn .ra-ic { margin-top: 2px; color: #c98a10; }
.ra-warn.is-err .ra-ic { color: #c03535; }
.ra-code { float: right; font-size: 11.5px; color: #4a5661; background: #e8edf2; border-radius: 999px; padding: 1px 7px; }

/* Dispatch call screen: rebuilt chrome over a cropped aerial */
.shot .ra-pop { opacity: 0; transform: translate(-50%, -50%) scale(.6); transition: opacity .35s ease, transform .45s var(--ease-out); }
.is-in .shot .ra-pop { opacity: 1; transform: translate(-50%, -50%) scale(1); transition-delay: var(--d, 0s); }
.shot-canvas.dc { height: 792px; }
.dc { display: grid; grid-template-columns: 105px minmax(0, 1fr); font-size: 10px; line-height: 1.35; color: #1f2a37; }
.dc .ra-ic { width: 11px; height: 11px; }
.dc-side { display: flex; flex-direction: column; border-right: 1px solid #e5eaef; padding: 10px 8px 8px; min-height: 0; overflow: hidden; }
.feature-media .shot img.dc-logo { width: 24px; height: 24px; margin: 0 0 0 33px; border: 0; border-radius: 5px; }
.dc-dept { margin: 12px 0 10px; padding: 5px 8px; border: 1px solid #e0e6ec; border-radius: 8px; background: #f3f6f9; font-weight: 600; display: flex; align-items: center; justify-content: space-between; font-size: 9.5px; }
.dc-dept .ra-ic { width: 9px; height: 9px; color: #6b7885; }
.dc-nav, .dc-foot { display: flex; flex-direction: column; gap: 2px; }
.dc-foot { margin-top: auto; border-top: 1px solid #e5eaef; padding-top: 6px; }
.dc-item { display: flex; align-items: center; gap: 7px; padding: 5px 6px; font-size: 9.5px; border-radius: 4px; }
.dc-item .ra-ic { color: #4a5661; }
.dc-item.is-active { background: #e3edf5; font-weight: 600; }
.dc-item.is-active .ra-ic { color: var(--accent); }
.dc-item.is-muted { color: #8b97a3; }
.dc-item.is-muted .ra-ic { color: #a2adb8; }
.dc-sub { margin: 0 0 0 10px; padding: 4px 8px; border-left: 2px solid #dfe5ea; font-size: 9px; color: #3a4654; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dc-main { display: flex; flex-direction: column; min-width: 0; min-height: 0; }
.dc-top { height: 40px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 0 16px; border-bottom: 1px solid #e5eaef; font-size: 9.5px; color: #3a4654; }
.dc-pill { display: inline-flex; align-items: center; gap: 5px; margin-left: 6px; padding: 4px 8px; border: 1px solid #e0e6ec; border-radius: 999px; background: #f3f6f9; color: #1f2a37; font-weight: 600; }
.dc-pill i { width: 6px; height: 6px; border-radius: 50%; background: #f0961e; }
.dc-pill .ra-ic { width: 9px; height: 9px; color: #4a5661; }
.dc-tabs { display: flex; gap: 220px; font-size: 13px; font-weight: 500; color: #5b6773; }
.dc-tabs span { position: relative; height: 40px; display: flex; align-items: center; }
.dc-tabs .is-active { color: var(--accent); }
.dc-tabs .is-active::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--accent); }
.dc-view { justify-self: end; }
.dc-body { display: grid; grid-template-columns: 249px minmax(0, 1fr); min-height: 0; flex: 1; }
.dc-panel { padding: 14px 14px 0; border-right: 1px solid #e5eaef; background: var(--white); overflow: hidden; }
.dc-panel h3 { margin: 0; font-size: 13px; font-weight: 700; letter-spacing: 0; }
.dc-caps { margin: 6px 0 0; font-size: 8.5px; font-weight: 600; text-transform: uppercase; letter-spacing: .02em; color: #3a4654; line-height: 1.35; }
.feature .shot .dc-caps { font-size: 8.5px; margin: 6px 0 0; color: #3a4654; }
.dc-row { display: flex; gap: 6px; margin-top: 12px; }
.dc-select { flex: 1; display: flex; align-items: center; justify-content: space-between; padding: 6px 8px; border: 1px solid #cfd8df; border-radius: 3px; font-size: 9.5px; }
.dc-select .ra-caret { border-top-width: 4px; }
.dc-btn { padding: 6px 10px; border-radius: 3px; background: #e8edf2; color: #8b97a3; font-weight: 600; font-size: 9.5px; }
.dc-panel hr { border: 0; border-top: 1px solid #e5eaef; margin: 12px -14px; }
.dc-kv2 { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.dc-kv, .dc-kv2 { margin-bottom: 10px; font-size: 9.5px; }
.dc-kv label, .dc-kv2 label { display: block; font-size: 8.5px; color: #6b7885; margin-bottom: 2px; }
.dc-kv a { color: var(--accent); }
.dc-kv small { display: block; font-size: 8px; color: #8b97a3; margin-top: 1px; }
.dc-ai label { display: block; font-weight: 700; font-size: 9.5px; margin-bottom: 6px; }
.feature .shot .dc-ai p { margin: 0; font-size: 9.5px; line-height: 1.4; color: #1f2a37; }
.dc-nearby { display: grid; grid-template-columns: 8px 1fr 1fr; align-items: center; gap: 6px; margin-top: 12px; padding: 8px 10px; border: 1px solid #e0e6ec; border-radius: 3px; font-size: 9px; }
.dc-nearby strong { font-weight: 700; }
.dc-nearby em { font-style: normal; text-align: right; color: #3a4654; font-size: 8.5px; }
.dc-caret-r { transform: rotate(-90deg); border-top-width: 4px; }
.dc-map { position: relative; overflow: hidden; background: url("assets/dispatch-map.jpg") 0 0 / 1246px 752px no-repeat #6b7b6a; }
.dc-ctl { position: absolute; display: flex; flex-direction: column; gap: 6px; }
.dc-ctl span { width: 24px; height: 24px; display: grid; place-items: center; background: var(--white); border-radius: 50%; color: #3a4654; font-weight: 700; font-size: 11px; box-shadow: 0 1px 2px rgba(0, 0, 0, .18); }
.dc-ctl span .ra-ic { width: 11px; height: 11px; }
.dc-ctl .is-active { color: var(--accent); }
.dc-ctl .is-dark { background: #1f2a37; color: var(--white); }
.dc-ctl-top { right: 10px; top: 8px; }
.dc-ctl-zoom { right: 10px; bottom: 30px; gap: 2px; }
.dc-ctl-zoom span { border-radius: 4px; width: 22px; height: 20px; }
.dc-ctl-zoom .dc-north { font-size: 8px; }
.dc-ctl-loc { right: 10px; bottom: 2px; }
.dc-pin { position: absolute; padding: 3px 6px; border-radius: 3px; color: var(--white); font-size: 8.5px; font-weight: 700; white-space: nowrap; box-shadow: 0 1px 2px rgba(0, 0, 0, .3); }
.dc-pin::after { content: ''; position: absolute; left: 50%; bottom: -4px; width: 6px; height: 6px; background: inherit; transform: translateX(-50%) rotate(45deg); }
.dc-pin.red { background: #d9342b; }
.dc-pin.orange { background: #f0961e; }
.dc-route { position: absolute; left: 424px; top: 690px; width: 400px; height: 55px; display: grid; grid-template-columns: 1fr auto auto auto auto; align-items: center; gap: 10px; padding: 8px 12px; background: rgba(255, 255, 255, .96); border-radius: 4px; box-shadow: 0 2px 8px rgba(0, 0, 0, .2); }
.dc-route-text { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.dc-route small { font-size: 8px; color: #6b7885; white-space: nowrap; }
.dc-route strong { font-size: 11px; font-weight: 700; white-space: nowrap; }
.dc-route b { display: block; color: var(--accent); font-weight: 700; }
.dc-route-dist { text-align: right; }
.dc-route-dist b { font-size: 10.5px; }
.dc-route-eta { text-align: center; display: flex; flex-direction: column; }
.dc-route-eta b { font-size: 14px; }
.dc-follow { padding: 4px 8px; border: 1px solid #cfd8df; border-radius: 999px; font-size: 8.5px; font-weight: 600; }
.dc-close { width: 18px; height: 18px; display: grid; place-items: center; border-radius: 50%; background: #e8edf2; color: #6b7885; font-size: 12px; }

/* Case graph: inline SVG that draws itself in when the section reveals */
.mock-meta { flex: none; margin-left: auto; white-space: nowrap; font-size: 12.5px; font-weight: 500; color: #7a8794; }
.graph { display: block; width: 100%; height: auto; font-family: inherit; }
.graph .edge {
  stroke: #b9c6d0;
  stroke-width: 1.5;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  transition: stroke-dashoffset .9s var(--ease-out);
}
.graph .edge.hot { stroke: var(--accent); stroke-width: 2; }
.graph .node {
  opacity: 0;
  transition: opacity .5s ease;
}
.graph .node .box { fill: var(--white); stroke: #c9d4dc; stroke-width: 1; }
.graph .node .t { font-size: 13px; font-weight: 600; fill: var(--ink); }
.graph .node .s { font-size: 11px; fill: #6b7885; }
.graph .node.center .box { fill: var(--accent); stroke: var(--accent); }
.graph .node.center .t, .graph .node.center .s { fill: var(--white); }
.graph .node.center .s { fill: rgba(255, 255, 255, .8); }
.graph .node.hot .box { stroke: var(--accent); stroke-width: 1.5; }
.graph .node.linked .box { fill: #f3f7f9; }
.graph .pulse {
  fill: none;
  stroke: var(--accent);
  stroke-width: 1.5;
  opacity: 0;
  transform-box: fill-box;
  transform-origin: center;
}
.is-in .graph .pulse { animation: graph-pulse 2.6s ease-out 1.6s infinite; }
@keyframes graph-pulse {
  0%   { transform: scale(1);    opacity: .55; }
  70%  { transform: scale(1.18); opacity: 0; }
  100% { transform: scale(1.18); opacity: 0; }
}
/* Reveal order: outer nodes, then links, then the case at the center */
.is-in .graph .node { opacity: 1; }
.is-in .graph .node:nth-of-type(1) { transition-delay: .20s; }
.is-in .graph .node:nth-of-type(2) { transition-delay: .30s; }
.is-in .graph .node:nth-of-type(3) { transition-delay: .40s; }
.is-in .graph .node:nth-of-type(4) { transition-delay: .50s; }
.is-in .graph .node:nth-of-type(5) { transition-delay: .60s; }
.is-in .graph .node:nth-of-type(6) { transition-delay: .70s; }
.is-in .graph .node:nth-of-type(7) { transition-delay: .10s; }
.is-in .graph .edge { stroke-dashoffset: 0; }
.is-in .graph .edge:nth-of-type(1) { transition-delay: .55s; }
.is-in .graph .edge:nth-of-type(2) { transition-delay: .65s; }
.is-in .graph .edge:nth-of-type(3) { transition-delay: .75s; }
.is-in .graph .edge:nth-of-type(4) { transition-delay: .85s; }
.is-in .graph .edge:nth-of-type(5) { transition-delay: 1.05s; }
.is-in .graph .edge:nth-of-type(6) { transition-delay: 1.15s; }
.is-in .graph .edge:nth-of-type(7) { transition-delay: 1.25s; }
.feature-media.plain img {
  border: 0;
  box-shadow: none;
  border-radius: 0;
  max-width: 320px;
  max-height: 560px;
  width: auto;
  margin: 0 auto;
}
.placeholder {
  aspect-ratio: 16 / 10;
  display: grid;
  place-items: center;
  border-radius: 0;
  border: 1.5px dashed #c5d0d8;
  background: #f6f9fb;
  color: #7b8792;
  font-size: 15px;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.product-card {
  display: block;
  padding: 28px;
  border: 1px solid var(--mist);
  border-radius: 0;
  transition: border-color .18s ease, transform .18s var(--ease-out);
}
.product-card:hover {
  border-color: rgba(11, 122, 158, .5);
  transform: translateY(-2px);
}
.product-card h3 {
  margin: 0;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.015em;
}
.product-card p {
  margin: 10px 0 0;
  font-size: 16px;
  line-height: 1.5;
  color: #3a4654;
}
.product-card .more {
  display: inline-block;
  margin-top: 16px;
  font-size: 15px;
  font-weight: 500;
  color: var(--accent);
}

.cta-band {
  background: var(--accent);
  color: var(--white);
  padding: clamp(48px, 6vw, 80px) 0;
}
.cta-band h2 {
  margin: 0;
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.1;
}
.cta-band p {
  margin: 14px 0 0;
  max-width: 50ch;
  font-size: 18px;
  line-height: 1.45;
  color: rgba(255, 255, 255, .88);
}
.cta-band p.wide { max-width: 80ch; }
.cta-band .btn {
  margin-top: 28px;
  background: var(--white);
  color: var(--accent);
}
.cta-band .btn:hover { background: #eef6f9; }

/* ---------- Intelligence page ---------- */
.photo-hero.dark-hero { background: var(--navy); }
.pillar-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.product-card.pillar:hover { transform: none; border-color: var(--mist); }
.product-card .num {
  display: block;
  margin-bottom: 14px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--accent);
}

/* CSS-built product mockups, used where a screenshot is not available yet */
.mock {
  background: var(--white);
  border: 1px solid var(--mist);
  border-radius: 0;
  overflow: hidden;
  font-size: 14px;
  line-height: 1.45;
}
.mock-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--mist);
  background: #f6f9fb;
}
.mock-bar span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #d5dde3;
}
.mock-bar em {
  font-style: normal;
  font-size: 13px;
  font-weight: 500;
  color: #5b6773;
}
.mock-body { padding: 18px 20px 20px; display: grid; gap: 12px; }
.mock-row {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity .45s ease, transform .5s var(--ease-out);
}
.is-in .mock-row { opacity: 1; transform: none; }
.is-in .mock-row:nth-child(1) { transition-delay: .25s; }
.is-in .mock-row:nth-child(2) { transition-delay: .40s; }
.is-in .mock-row:nth-child(3) { transition-delay: .55s; }
.is-in .mock-row:nth-child(4) { transition-delay: .70s; }
.is-in .mock-row:nth-child(5) { transition-delay: .85s; }
.is-in .mock-row:nth-child(6) { transition-delay: 1s; }

.mock-q {
  justify-self: end;
  max-width: 85%;
  padding: 10px 14px;
  border-radius: 2px;
  background: var(--accent);
  color: var(--white);
}
.mock-a {
  max-width: 92%;
  padding: 12px 14px;
  border-radius: 2px;
  background: #f1f5f8;
  color: var(--ink);
}
.mock-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  padding: 5px 10px;
  border: 1px solid rgba(11, 122, 158, .35);
  border-radius: 2px;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--accent);
  background: rgba(11, 122, 158, .06);
}

.mock-field {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  gap: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--mist);
}
.mock-field:last-child { border-bottom: 0; padding-bottom: 0; }
.mock-field label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #7a8794;
  padding-top: 2px;
}
.tag {
  display: inline-block;
  margin-left: 6px;
  padding: 2px 8px;
  border-radius: 2px;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: .02em;
  vertical-align: 1px;
  background: #eef2f5;
  color: #4a5661;
}
.tag.ok { background: #e6f5ec; color: #1d7a45; }
.tag.link { background: rgba(11, 122, 158, .10); color: var(--accent); }
.tag.warn { background: #fdf1e2; color: #9a5a0c; }

.mock-call {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--mist);
}
.mock-hist {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 12px;
  color: #3a4654;
}
.mock-hist time, .mock-log time {
  font-size: 12.5px;
  font-weight: 500;
  color: #7a8794;
  font-variant-numeric: tabular-nums;
  padding-top: 1px;
}
.mock-sum {
  margin-top: 4px;
  padding: 10px 12px;
  border-left: 3px solid var(--accent);
  background: rgba(11, 122, 158, .06);
  color: var(--ink);
  font-weight: 500;
}

.mock-src { display: grid; gap: 10px; color: #3a4654; }
.progress {
  display: block;
  height: 4px;
  background: var(--mist);
  overflow: hidden;
}
.progress i {
  display: block;
  height: 100%;
  width: 68%;
  background: var(--accent);
  transform-origin: left;
  transform: scaleX(0);
  transition: transform 1.6s var(--ease-out) .6s;
}
.is-in .progress i { transform: scaleX(1); }
.mock-draft {
  position: relative;
  padding: 12px 14px;
  background: #f6f9fb;
  border-left: 3px solid var(--accent);
  color: var(--ink);
  font-size: 13.5px;
  line-height: 1.55;
}
.mock-draft label {
  display: block;
  margin-bottom: 6px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #7a8794;
}
.caret {
  display: inline-block;
  width: 2px;
  height: 1em;
  margin-left: 2px;
  vertical-align: -2px;
  background: var(--accent);
  animation: caret-blink 1s steps(1) infinite;
}
@keyframes caret-blink { 50% { opacity: 0; } }
.mock-check {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  color: #3a4654;
}
.mock-check + .mock-check { padding-top: 10px; border-top: 1px solid var(--mist); }

.mock-listen {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--mist);
  font-size: 13px;
  font-weight: 500;
  color: var(--accent);
}
.mock-q small {
  display: block;
  margin-bottom: 3px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .7);
}
.wave {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  height: 18px;
}
.wave i {
  display: block;
  width: 3px;
  height: 6px;
  background: var(--accent);
  animation: wave-bob 1.1s ease-in-out infinite;
}
.wave i:nth-child(2) { animation-delay: .15s; }
.wave i:nth-child(3) { animation-delay: .30s; }
.wave i:nth-child(4) { animation-delay: .45s; }
.wave i:nth-child(5) { animation-delay: .60s; }
@keyframes wave-bob {
  0%, 100% { height: 5px; }
  50% { height: 18px; }
}

.mock-log {
  display: grid;
  grid-template-columns: 64px 84px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  color: #3a4654;
}
.mock-log .who {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink);
}
.mock-log .who.ai { color: var(--accent); }

@media (max-width: 900px) {
  .pillar-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .mock-body { padding: 14px 14px 16px; }
  .mock-log { grid-template-columns: 58px minmax(0, 1fr); }
  .mock-log .who { grid-column: 2; }
  .mock-log div { grid-column: 2; }
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(40px, 5vw, 72px);
  align-items: start;
}
.form {
  display: grid;
  gap: 16px;
  max-width: 600px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form label {
  display: grid;
  gap: 6px;
  font-size: 14px;
  font-weight: 500;
}
.form input,
.form textarea {
  font: inherit;
  font-size: 16px;
  padding: 12px 14px;
  border: 1px solid #cfd8df;
  border-radius: 0;
  background: var(--white);
  color: var(--ink);
}
.form textarea { min-height: 140px; resize: vertical; }
.form input:focus,
.form textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(11, 122, 158, .18);
}
.form .btn { justify-self: start; }
.contact-aside h2 {
  margin: 0;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.015em;
}
.contact-aside p {
  margin: 10px 0 0;
  font-size: 16px;
  line-height: 1.55;
  color: #3a4654;
}
.contact-aside a { color: var(--accent); font-weight: 500; }
.contact-aside > * + h2 { margin-top: 28px; }

/* Team */
.team-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 40px;
  max-width: 960px;
  margin-left: auto;
  margin-right: auto;
}
.feature.founders h2 { text-align: center; }
.team-card {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 24px;
  padding: 32px 36px;
  border: 1px solid var(--mist);
  border-radius: 0;
}
.team-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(11, 122, 158, .12);
  color: var(--accent);
  display: grid;
  place-items: center;
  font-weight: 600;
  font-size: 22px;
}
img.team-avatar { object-fit: cover; display: block; }
.team-body {
  display: flex;
  flex-direction: column;
}
.team-card h3 { margin: 0; font-size: 20px; font-weight: 600; }
.team-card p { margin: 4px 0 0; font-size: 15px; color: #5b6773; }
.team-card .team-bio {
  margin: 16px 0 0;
  padding: 0;
  font-size: 16px;
  line-height: 1.55;
  text-wrap: pretty;
  color: var(--ink);
}
.team-card .team-bio li { padding: 10px 0; }
.team-card .team-bio li:last-child { border-bottom: 1px solid var(--mist); }
.team-links {
  display: flex;
  gap: 10px;
  margin-top: auto;
  padding-top: 18px;
}
.team-links a {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 0;
  border: 1px solid var(--mist);
  color: #5b6773;
  transition: color .18s ease, border-color .18s ease, background .18s ease;
}
.team-links a:hover {
  color: var(--accent);
  border-color: rgba(11, 122, 158, .4);
  background: rgba(11, 122, 158, .06);
}

/* Footer */
.footer {
  border-top: 1px solid var(--mist);
  padding: 36px 0 32px;
  color: #5b6773;
  font-size: 14px;
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px 48px;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-weight: 600;
  font-size: 15px;
}
.footer-brand img { border-radius: 7px; }
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.footer-links a:hover { color: var(--accent); }
.footer-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
}
.footer-meta a:hover { color: var(--accent); }

@media (max-width: 900px) {
  .feature-grid,
  .feature.reverse .feature-grid,
  .contact-grid,
  .product-grid,
  .team-grid,
  .page-hero.split .wrap { grid-template-columns: 1fr; }
  .feature.reverse .feature-text { order: 0; }
  .feature-media.team img { max-width: 100%; }
  .form-row { grid-template-columns: 1fr; }
}

/* Keep the footer at the bottom on short pages */
body {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
}
main { flex: 1 0 auto; }

/* ---------- Photo hero (product pages) ---------- */
.photo-hero {
  position: relative;
  height: clamp(520px, 66vh, 760px);
  overflow: hidden;
  color: var(--white);
}
.photo-hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 60% 50%;
}
.photo-hero-tint {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(10, 26, 43, .90) 0%, rgba(10, 26, 43, .78) 30%, rgba(10, 26, 43, .42) 55%, rgba(10, 26, 43, .10) 80%, rgba(10, 26, 43, 0) 100%),
    linear-gradient(180deg, rgba(10, 26, 43, .10) 0%, rgba(10, 26, 43, 0) 40%, rgba(10, 26, 43, .30) 100%);
}
.photo-hero-inner {
  position: relative;
  height: 100%;
  padding: 0 var(--gutter);
  display: flex;
  align-items: center;
}
.photo-hero-copy { max-width: 460px; }
.photo-hero h1 {
  margin: 0;
  font-size: clamp(40px, 4.6vw, 64px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
}
.photo-hero .lede {
  color: rgba(255, 255, 255, .9);
  font-size: clamp(15px, 1.15vw, 18px);
  max-width: none;
}
.photo-hero .btn-primary { box-shadow: none; }

/* About page: flag behind the header */
.flag-hero .photo-hero-img { object-position: 50% 50%; }
.flag-hero .photo-hero-tint {
  background:
    linear-gradient(90deg, rgba(10, 26, 43, .92) 0%, rgba(10, 26, 43, .84) 35%, rgba(10, 26, 43, .55) 65%, rgba(10, 26, 43, .30) 100%),
    linear-gradient(180deg, rgba(10, 26, 43, .20) 0%, rgba(10, 26, 43, .35) 100%);
}
.flag-hero .photo-hero-copy { max-width: 620px; }
.flag-hero .lede { font-size: clamp(16px, 1.25vw, 19px); }
.flag-hero .text-link { color: var(--white); }
.flag-hero .text-link:hover { color: rgba(255, 255, 255, .8); }
.btn-ghost-light {
  background: transparent;
  color: var(--white);
  box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .55);
}
.btn-ghost-light:hover { background: rgba(255, 255, 255, .12); }
.photo-hero .btn-ghost-light { box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .6); }

@media (max-width: 1100px) and (min-width: 641px) {
  .photo-hero-tint {
    background:
      linear-gradient(rgba(10, 26, 43, .32), rgba(10, 26, 43, .32)),
      linear-gradient(90deg, rgba(10, 26, 43, .85) 0%, rgba(10, 26, 43, .55) 45%, rgba(10, 26, 43, .10) 100%);
  }
}

@media (max-width: 640px) {
  .photo-hero { height: auto; min-height: 560px; }
  .photo-hero-img { object-position: 12% 50%; }
  .photo-hero-tint {
    background: linear-gradient(180deg, rgba(10, 26, 43, .35) 0%, rgba(10, 26, 43, .55) 45%, rgba(10, 26, 43, .85) 100%);
  }
  .photo-hero-inner { align-items: flex-end; padding-top: 64px; padding-bottom: 40px; }
}

/* ---------- Landing page sections ---------- */
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* Scroll reveal (applied by site.js on pages that opt in) */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .5s ease, transform .55s var(--ease-out);
  will-change: opacity, transform;
}
.reveal.is-in {
  opacity: 1;
  transform: none;
  transition: opacity .7s ease, transform .8s var(--ease-out);
}
.reveal.reveal-late.is-in { transition-delay: .12s; }
.reveal.reveal-later.is-in { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; }
}

/* Scroll cue: small bobbing arrow at the foot of a photo hero */
.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 22px;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, .55);
  border-radius: 0;
  background: rgba(10, 26, 43, .25);
  backdrop-filter: blur(4px);
  transform: translateX(-50%);
  animation: cue-bob 2.2s ease-in-out infinite;
  transition: opacity .3s ease, background .18s ease;
}
.scroll-cue:hover { background: rgba(255, 255, 255, .16); }
.scroll-cue.is-hidden { opacity: 0; pointer-events: none; }
@keyframes cue-bob {
  0%, 100% { transform: translate(-50%, 0); }
  50% { transform: translate(-50%, 7px); }
}
.section-anchor { scroll-margin-top: var(--nav-h); }
.section-head {
  margin-bottom: clamp(32px, 4vw, 48px);
}
.section-head h2 {
  margin: 0;
  font-size: clamp(30px, 3.4vw, 46px);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.05;
}
.section-head .lede { margin-top: 16px; }
.section-head.compact { margin-bottom: 28px; }
.section-head.compact h2 { font-size: clamp(26px, 2.6vw, 36px); letter-spacing: -0.02em; line-height: 1.1; }
.hero { height: calc(100vh - var(--nav-h) - 56px); height: calc(100svh - var(--nav-h) - 56px); }

/* Feature section with a larger screenshot */
.feature.media-wide .wrap {
  max-width: 1320px;
  grid-template-columns: minmax(300px, 4fr) minmax(0, 8fr);
  gap: clamp(28px, 4vw, 56px);
}
.feature.reverse.media-wide .wrap {
  grid-template-columns: minmax(0, 8fr) minmax(300px, 4fr);
}
@media (max-width: 900px) {
  .feature.media-wide .wrap,
  .feature.reverse.media-wide .wrap { grid-template-columns: 1fr; }
}

/* ---------- Phone mockup ---------- */
.phone-stage {
  display: grid;
  place-items: center;
  padding: clamp(16px, 2vw, 32px) 0;
}
.phone-frame {
  position: relative;
  width: clamp(220px, 22vw, 280px);
  padding: 12px;
  border-radius: 44px;
  background: #0e1a24;
  box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .08);
}
.phone-frame img {
  width: 100%;
  height: auto;
  border-radius: 34px;
  display: block;
}
.phone-notch {
  position: absolute;
  top: 22px;
  left: 50%;
  width: 34%;
  height: 24px;
  transform: translateX(-50%);
  border-radius: 999px;
  background: #0e1a24;
  z-index: 1;
}
@media (max-width: 640px) {
  .phone-frame { width: min(260px, 70vw); }
}

/* ---------- Responsive hardening ---------- */

/* Large monitors: let the content column breathe and scale type up a step */
@media (min-width: 1800px) {
  :root { --nav-h: 84px; }
  /* Content spans gutter to gutter, matching the nav; text is capped by ch widths */
  .wrap,
  .feature.media-wide .wrap { max-width: none; margin: 0; }
  .feature-grid { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); }
  .feature.reverse .feature-grid { grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); }
  .feature-grid:has(.phone-stage) { grid-template-columns: 1fr 1fr; }
  .feature.media-wide .wrap { grid-template-columns: minmax(0, 3fr) minmax(0, 9fr); }
  .feature.reverse.media-wide .wrap { grid-template-columns: minmax(0, 9fr) minmax(0, 3fr); }
  .feature p { max-width: 48ch; }
  .feature-media.plain img { max-height: 640px; }
  .phone-frame { width: 340px; }
  .nav-links { font-size: 17px; gap: 40px; }
  .btn-nav { height: 46px; padding: 0 26px; font-size: 16px; }
  .hero-copy { max-width: 760px; }
  .hero-sub { font-size: 30px; }
  .lede { font-size: 23px; }
  .feature p, .product-card p { font-size: 18px; }
  .feature li { font-size: 17px; }
  .team-grid { max-width: 1280px; }
  .photo-hero { height: clamp(620px, 64vh, 900px); }
  .photo-hero-copy { max-width: 620px; }
  .phone-frame { width: 320px; }
}

/* Very wide (ultrawide / 4K): cap the hero so it never becomes a letterbox slab */
@media (min-width: 2400px) {
  .hero { max-height: 1200px; }
  .hero-title { font-size: 120px; }
}

/* Tablets in portrait: tighten hero copy and section rhythm */
@media (min-width: 641px) and (max-width: 900px) {
  .hero-copy { max-width: 520px; }
  .hero-title { font-size: clamp(52px, 8vw, 72px); }
  .hero-sub { font-size: 20px; }
  .page-hero h1 { font-size: clamp(36px, 6vw, 52px); }
  .feature-media.plain img { max-height: 480px; }
}

/* Phones: iOS safe areas (notch / home indicator) and comfortable tap targets */
@supports (padding: env(safe-area-inset-left)) {
  @media (max-width: 640px) {
    .nav-inner,
    .wrap,
    .hero-inner,
    .photo-hero-inner,
    .nav-links a.nav-item {
      padding-left: max(var(--gutter), env(safe-area-inset-left));
      padding-right: max(var(--gutter), env(safe-area-inset-right));
    }
    .footer { padding-bottom: calc(32px + env(safe-area-inset-bottom)); }
    .hero-inner { padding-bottom: calc(40px + env(safe-area-inset-bottom)); }
  }
}
@media (max-width: 640px) {
  .btn-nav { height: 40px; }
  .nav-toggle { width: 44px; height: 44px; }
  .footer-links a,
  .footer-meta a { display: inline-block; padding: 6px 0; }
  .product-card .more { padding: 6px 0; }
  .form input,
  .form textarea { font-size: 16px; }   /* keeps iOS from zooming the page on focus */
  .cta-band h2 { font-size: 26px; }
  .cta-band p { font-size: 16px; }
  .section-head h2 { font-size: 30px; }
  .feature h2 { font-size: 26px; }
}

/* Small phones (iPhone SE and similar) */
@media (max-width: 380px) {
  .hero-title { font-size: 44px; }
  .hero-sub { font-size: 16px; }
  .hero-copy .btn-demo { height: 40px; padding: 0 18px; font-size: 14.5px; }
  .yc-word { font-size: 15px; }
  .page-hero h1, .photo-hero h1 { font-size: 34px; }
  .page-actions .btn { height: 46px; padding: 0 20px; font-size: 15px; }
  .phone-frame { width: min(240px, 78vw); }
}

/* Short landscape phones: don't let the hero swallow the viewport */
@media (max-height: 500px) and (orientation: landscape) {
  .hero { height: auto; min-height: 0; padding-top: 72px; }
  .hero-inner { position: relative; padding-bottom: 32px; }
  .hero-img, .hero-tint { position: absolute; }
  .photo-hero { height: auto; min-height: 0; }
  .photo-hero-inner { padding: 72px 0 32px; }
}

/* Hover effects only where hover exists (avoid sticky hover on touch) */
@media (hover: none) {
  .btn:hover { background: var(--accent); }
  .btn-ghost:hover { background: transparent; }
  .btn-ghost-light:hover { background: transparent; }
  .product-card:hover { transform: none; border-color: var(--mist); }
  .yc:hover .yc-pill { transform: none; }
  .btn-demo:hover { transform: none; }
}

/* Never allow sideways scroll from a stray wide element */
html, body { overflow-x: clip; }
img, video, svg { max-width: 100%; }

@media (max-width: 640px) {
  .footer-inner { flex-direction: column; align-items: flex-start; gap: 18px; }
  .footer-links { gap: 6px 20px; }
  .footer-meta { flex-direction: column; gap: 4px; }
}

/* CAD hero: keep the dispatcher's screen in frame */
.cad-hero-img { object-position: 50% 22%; }
@media (max-width: 640px) { .cad-hero-img { object-position: 30% 50%; } }

/* ---------- Demo request modal ---------- */
.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 24px;
  opacity: 0;
  transition: opacity .2s ease;
}
.modal.is-open { opacity: 1; }
.modal[hidden] { display: none; }
.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 26, 43, .72);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.modal-card {
  position: relative;
  width: min(720px, 100%);
  max-height: 100%;
  min-height: 320px;
  background: var(--white);
  box-shadow: 0 40px 90px rgba(0, 0, 0, .45);
  transform: translateY(12px) scale(.985);
  transition: transform .22s var(--ease-out);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.modal.is-open .modal-card { transform: none; }
.modal-close {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 2;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border: 0;
  background: var(--navy);
  color: var(--white);
  cursor: pointer;
  transition: background .18s ease;
}
.modal-close:hover { background: var(--accent); }
.modal-body {
  flex: 1 1 auto;
  min-height: 0;
  width: 100%;
  overflow-y: auto;
  padding: 40px 8px 16px;
}
.modal-body iframe { display: block; width: 100%; border: 0; }
html.modal-open,
html.modal-open body { overflow: hidden; }

@media (max-width: 640px) {
  .modal { padding: 0; }
  .modal-card { width: 100%; max-height: 100%; max-height: 100dvh; }
}
.modal-close:focus-visible { outline: 2px solid var(--white); outline-offset: -6px; }

/* Scroll arrow is a desktop affordance; on phones it collides with the hero copy */
@media (max-width: 640px), (max-height: 500px) and (orientation: landscape) {
  .scroll-cue { display: none; }
}

/* ---------- Intelligence page: hero orb ---------- */
.alyx-hero .photo-hero-inner { justify-content: space-between; gap: clamp(24px, 4vw, 64px); }
.alyx-hero .photo-hero-copy { max-width: 540px; }
.orb-stage {
  position: relative;
  flex: none;
  width: clamp(300px, 32vw, 440px);
  aspect-ratio: 1;
  animation: rise .9s var(--ease-out) .2s both;
}
.orb { position: absolute; inset: 0; display: grid; place-items: center; }
.orb-ring {
  position: absolute;
  left: 50%; top: 50%;
  width: 46%;
  aspect-ratio: 1;
  margin: -23% 0 0 -23%;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .38);
  opacity: 0;
  animation: orb-ring 3.6s ease-out infinite;
}
.orb-ring:nth-child(2) { animation-delay: 1.2s; }
.orb-ring:nth-child(3) { animation-delay: 2.4s; }
@keyframes orb-ring {
  0%   { transform: scale(.9); opacity: .65; }
  100% { transform: scale(2.1); opacity: 0; }
}
.orb-core {
  position: relative;
  width: 31%;
  aspect-ratio: 1;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--white);
  background: radial-gradient(circle at 35% 30%, #2aa3c9 0%, var(--accent) 45%, #065a76 100%);
  box-shadow: 0 0 0 10px rgba(11, 122, 158, .18), 0 0 70px rgba(11, 122, 158, .55);
  animation: orb-breathe 3.6s ease-in-out infinite;
}
@keyframes orb-breathe {
  0%, 100% { transform: scale(1); }
  50%      { transform: scale(1.05); }
}
.orb-wake {
  position: absolute;
  left: 50%; bottom: 3%;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 14px;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .22);
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
  backdrop-filter: blur(4px);
}
.orb-wake .wave i { background: var(--white); }
.orb-chip {
  position: absolute;
  padding: 8px 12px;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--white);
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .22);
  white-space: nowrap;
  backdrop-filter: blur(4px);
  animation: chip-float 5s ease-in-out infinite;
}
.orb-chip.c1 { left: -4%;  top: 12%;    animation-delay: 0s; }
.orb-chip.c2 { right: -8%; top: 27%;    animation-delay: 1.3s; }
.orb-chip.c3 { left: -8%;  bottom: 30%; animation-delay: 2.1s; }
.orb-chip.c4 { right: -4%; bottom: 17%; animation-delay: 3s; }
@keyframes chip-float {
  0%, 100% { translate: 0 0; }
  50%      { translate: 0 -6px; }
}
@media (max-width: 1100px) {
  .orb-chip { display: none; }
  .orb-stage { width: clamp(240px, 30vw, 320px); }
}
@media (max-width: 640px) {
  .orb-stage { display: none; }
}

/* ---------- Intelligence page: pillars with icons ---------- */
.pillar-grid.four { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.pillar-ic,
.ask-ic {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  background: rgba(11, 122, 158, .08);
  color: var(--accent);
}
.pillar-ic { margin-bottom: 18px; }
.pillar-ic svg,
.ask-ic svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
@media (max-width: 1100px) { .pillar-grid.four { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px)  { .pillar-grid.four { grid-template-columns: 1fr; } }

/* ---------- Intelligence page: example prompts ---------- */
.ask-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
.ask-card {
  position: relative;
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 8px 18px;
  padding: 26px 28px 24px;
  border: 1px solid var(--mist);
  background: var(--white);
}
.ask-card::before {
  content: '';
  position: absolute;
  left: -1px; top: -1px; bottom: -1px;
  width: 3px;
  background: var(--accent);
}
.ask-ic { grid-row: 1 / span 2; }
.ask-card blockquote {
  margin: 0;
  font-size: 17.5px;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.35;
  color: var(--ink);
}
.ask-card p {
  margin: 0;
  max-width: none;
  font-size: 15px;
  line-height: 1.5;
  color: #3a4654;
}
@media (max-width: 760px) {
  .ask-grid { grid-template-columns: 1fr; }
  .ask-card { padding: 22px 22px 20px; }
}

/* ---------- Intelligence page: natural-language search mock ---------- */
.srch {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border: 1.5px solid var(--accent);
  box-shadow: 0 0 0 3px rgba(11, 122, 158, .12);
  background: var(--white);
  font-size: 14.5px;
  color: var(--ink);
}
.srch svg { width: 18px; height: 18px; flex: none; fill: none; stroke: var(--accent); stroke-width: 2; stroke-linecap: round; }
.chip.muted { color: #5b6773; border-color: var(--mist); background: #f6f9fb; }
.hit {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 12px 14px;
  border: 1px solid var(--mist);
}
.face {
  width: 44px; height: 44px;
  display: grid;
  place-items: center;
  background: #e6eef3;
  color: #7a8794;
}
.face svg { width: 30px; height: 30px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.hit-body strong { font-size: 15px; }
.hit-sub { margin-top: 2px; font-size: 12.5px; line-height: 1.4; color: #5b6773; }
.score { font-size: 13px; font-weight: 600; color: var(--accent); font-variant-numeric: tabular-nums; }
.facematch {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  padding: 12px 14px;
  background: #f6f9fb;
  border-left: 3px solid var(--accent);
  font-size: 13.5px;
  line-height: 1.45;
  color: var(--ink);
}
.scan { position: relative; width: 64px; height: 64px; overflow: hidden; }
.scan svg { width: 100%; height: 100%; fill: none; stroke: #7a8794; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.scan .corner { stroke: var(--accent); stroke-width: 3; }
.scanline {
  position: absolute;
  left: 6px; right: 6px; top: 6px;
  height: 2px;
  background: var(--accent);
  box-shadow: 0 0 8px rgba(11, 122, 158, .8);
  opacity: 0;
}
.is-in .scanline { animation: scan 2.2s ease-in-out 1s infinite; }
@keyframes scan {
  0%   { top: 6px;  opacity: 0; }
  12%  { opacity: 1; }
  88%  { opacity: 1; }
  100% { top: 56px; opacity: 0; }
}

/* ---------- Intelligence page: analytics mock ---------- */
.viz-grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: 12px;
}
.viz-panel {
  margin: 0;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--mist);
  background: var(--white);
}
.viz-panel figcaption {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 10px 12px 8px;
  border-bottom: 1px solid var(--mist);
}
.viz-panel figcaption strong { font-size: 13px; font-weight: 600; }
.viz-panel figcaption span { font-size: 11.5px; color: #7a8794; }
.viz-panel svg { display: block; width: 100%; height: auto; margin-top: auto; }
.heatmap .spot {
  opacity: 0;
  transform: scale(.6);
  transform-box: fill-box;
  transform-origin: center;
  transition: opacity .8s ease, transform 1s var(--ease-out);
}
.is-in .heatmap .spot { opacity: 1; transform: none; }
.is-in .heatmap .spot:nth-child(1) { transition-delay: .7s; }
.is-in .heatmap .spot:nth-child(2) { transition-delay: .9s; }
.is-in .heatmap .spot:nth-child(3) { transition-delay: 1.1s; }
.is-in .heatmap .spot:nth-child(4) { transition-delay: 1.3s; }
.heatmap .pins circle { opacity: 0; transition: opacity .4s ease 1.5s; }
.is-in .heatmap .pins circle { opacity: .7; }
.linechart .line {
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  transition: stroke-dashoffset 1.6s var(--ease-out) .9s;
}
.is-in .linechart .line { stroke-dashoffset: 0; }
.linechart .dots circle,
.linechart .lbl { opacity: 0; transition: opacity .4s ease 2.3s; }
.is-in .linechart .dots circle,
.is-in .linechart .lbl { opacity: 1; }
@media (max-width: 640px) { .viz-grid { grid-template-columns: 1fr; } }

/* ---------- Intelligence page: body camera mock ---------- */
.bc-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: linear-gradient(180deg, #0a1a2b 0%, #10283d 55%, #1b3449 100%);
  color: var(--white);
}
.feature-media.plain .bc-img,
.bc-img {
  position: absolute;
  max-width: none;
  max-height: none;
  margin: 0;
  border: 0;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 50%;
}
.bc-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(10, 26, 43, .55) 0%, rgba(10, 26, 43, 0) 22%);
}
.bc-box {
  position: absolute;
  border: 2px solid var(--accent);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, .3);
  opacity: 0;
  transform: scale(.7);
  transition: opacity .35s ease, transform .45s var(--ease-out);
}
.is-in .bc-box { opacity: 1; transform: none; transition-delay: var(--d, 0s); }
.bc-box em {
  position: absolute;
  left: -2px; bottom: 100%;
  padding: 2px 6px;
  background: var(--accent);
  color: var(--white);
  font-style: normal;
  font-size: 10.5px;
  font-weight: 600;
  white-space: nowrap;
}
.bc-box-face { left: 47.5%; top: 15%; width: 11%; aspect-ratio: 3 / 4; }
.bc-rec {
  position: absolute;
  left: 12px; top: 10px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .06em;
}
.bc-rec i { width: 8px; height: 8px; border-radius: 50%; background: #e0423a; animation: caret-blink 1.2s steps(1) infinite; }
.bc-time { position: absolute; right: 12px; top: 10px; font-size: 11px; font-variant-numeric: tabular-nums; color: rgba(255, 255, 255, .85); }
.bc-track { position: absolute; left: 12px; right: 12px; bottom: 10px; height: 3px; background: rgba(255, 255, 255, .25); }
.bc-played {
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 34%;
  background: var(--white);
  transform-origin: left;
  transform: scaleX(0);
  transition: transform 1.4s var(--ease-out) .5s;
}
.is-in .bc-played { transform: scaleX(1); }
.bc-track b { position: absolute; top: -3px; width: 2px; height: 9px; background: var(--accent); }
.bc-moments { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
.bc-moments div {
  padding-top: 10px;
  border-top: 2px solid var(--mist);
  font-size: 12px;
  line-height: 1.3;
  color: #3a4654;
}
.bc-moments time {
  display: block;
  margin-bottom: 2px;
  font-size: 11.5px;
  font-weight: 600;
  color: #7a8794;
  font-variant-numeric: tabular-nums;
}
.bc-moments .is-now { border-top-color: var(--accent); color: var(--ink); font-weight: 500; }
.bc-moments .is-now time { color: var(--accent); }
.bc-extract { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.bc-extract div { display: flex; flex-direction: column; gap: 2px; padding: 10px 12px; border: 1px solid var(--mist); }
.bc-extract label { font-size: 10.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: #7a8794; }
.bc-extract strong { font-size: 18px; font-weight: 600; letter-spacing: -0.01em; }
.bc-extract span { font-size: 12px; color: #5b6773; }
@media (max-width: 640px) {
  .bc-moments { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .bc-extract { grid-template-columns: 1fr 1fr; }
  .hit { grid-template-columns: 40px minmax(0, 1fr) auto; gap: 10px; }
}
@media (max-width: 640px) {
  .mock-meta { display: none; }
}

/* ---------- RMS/CAD dropdown in the nav ---------- */
.has-menu { position: relative; }
.nav-trigger { white-space: nowrap; }
.has-menu.is-active .nav-trigger::after { transform: scaleX(1); }
.drop {
  position: absolute;
  top: 100%;
  left: -14px;
  min-width: 216px;
  padding: 8px;
  background: var(--white);
  border: 1px solid var(--mist);
  box-shadow: 0 14px 36px rgba(10, 26, 43, .12);
  opacity: 0;
  transform: translateY(-6px);
  pointer-events: none;
  transition: opacity .18s ease, transform .22s var(--ease-out);
}
.has-menu.is-open .drop {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}
.drop-link {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 10px 12px;
  transition: background .16s ease;
}
.drop-link:hover,
.drop-link.is-active { background: rgba(11, 122, 158, .07); }
.drop-name {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.drop-link.is-active .drop-name { color: var(--accent); }
.drop-desc {
  font-size: 13px;
  font-weight: 400;
  color: #5b6773;
}

@media (max-width: 640px) {
  .has-menu { position: static; }
  .drop {
    position: static;
    display: none;
    min-width: 0;
    padding: 4px 0 8px;
    border: 0;
    box-shadow: none;
    background: #f6f9fb;
    opacity: 1;
    transform: none;
    pointer-events: auto;
  }
  .has-menu.is-open .drop { display: block; }
  .drop-link { padding: 10px var(--gutter) 10px calc(var(--gutter) + 16px); }
}

/* ---------- Home: featured Alyx panel ---------- */
.alyx-panel {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(24px, 4vw, 64px);
  align-items: center;
  padding: clamp(32px, 5vw, 64px);
  background: var(--navy);
  color: var(--white);
}
.alyx-panel .eyebrow {
  display: block;
  margin-bottom: 14px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #7fd0ea;
}
.alyx-panel h2 {
  margin: 0;
  font-size: clamp(34px, 3.8vw, 54px);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.02;
}
.alyx-panel .lede {
  margin-top: 18px;
  max-width: 50ch;
  font-size: clamp(17px, 1.3vw, 20px);
  color: rgba(255, 255, 255, .88);
}
.alyx-points { list-style: none; margin: 22px 0 0; padding: 0; }
.alyx-points li {
  padding: 10px 0;
  border-top: 1px solid rgba(255, 255, 255, .14);
  font-size: 16px;
  line-height: 1.4;
}
.alyx-panel .page-actions { margin-top: 28px; }
.alyx-panel .orb-stage { width: 100%; max-width: 380px; margin: 0 auto; }
@media (max-width: 900px) {
  .alyx-panel { grid-template-columns: 1fr; }
  .alyx-panel .orb-stage { max-width: 300px; }
}
@media (max-width: 640px) {
  .alyx-panel .orb-stage { display: block; max-width: 240px; }
}
