:root {
  color-scheme: light;
  --navy: #031423;
  --navy-2: #061c31;
  --navy-3: #0a2d4d;
  --cyan: #08a8f5;
  --blue: #1768ff;
  --teal: #26d7c4;
  --orange: #ff8a1f;
  --paper: #f5f8fc;
  --white: #ffffff;
  --line: #d7e3ee;
  --line-dark: rgb(255 255 255 / 0.14);
  --text: #0d2034;
  --muted: #607086;
  --muted-dark: #a9bad1;
  --shadow: 0 24px 70px rgb(3 20 35 / 0.18);
  --shadow-dark: 0 30px 90px rgb(0 0 0 / 0.35);
  --container: 1180px;
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--text);
  font-size: 16px;
  line-height: 1.6;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  content: "";
  background:
    linear-gradient(90deg, rgb(23 104 255 / 0.04) 1px, transparent 1px) 0 0 / 72px 72px,
    linear-gradient(rgb(3 20 35 / 0.05) 1px, transparent 1px) 0 0 / 72px 72px,
    linear-gradient(180deg, #eef5fb 0%, #f7fbff 42%, #ffffff 100%);
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
summary {
  font: inherit;
}

:focus-visible {
  outline: 3px solid var(--cyan);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 1000;
  padding: 10px 14px;
  transform: translateY(-160%);
  border-radius: 6px;
  background: var(--white);
  color: var(--navy);
  font-weight: 800;
  box-shadow: var(--shadow);
}

.skip-link:focus {
  transform: translateY(0);
}

.container {
  width: min(calc(100% - 32px), var(--container));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--line-dark);
  background: rgb(3 20 35 / 0.92);
  color: var(--white);
  backdrop-filter: blur(18px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--cyan);
  font-size: 1.45rem;
  font-weight: 500;
  letter-spacing: 0;
}

.brand img {
  width: 94px;
  height: auto;
}

.desktop-nav,
.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.desktop-nav a,
.header-link {
  padding: 10px 12px;
  border-radius: 6px;
  color: #d9e8f6;
  font-size: 0.92rem;
  font-weight: 700;
}

.desktop-nav a:hover,
.header-link:hover {
  background: rgb(255 255 255 / 0.08);
  color: var(--white);
}

.header-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-weight: 850;
  line-height: 1.1;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease,
    color 180ms ease;
}

.header-cta {
  padding: 12px 16px;
  background: linear-gradient(135deg, var(--cyan), var(--blue));
  color: var(--white);
  box-shadow: 0 14px 34px rgb(8 168 245 / 0.22);
}

.button {
  padding: 15px 20px;
}

.button:hover,
.header-cta:hover {
  transform: translateY(-2px);
}

.button-primary {
  background: linear-gradient(135deg, var(--cyan), var(--blue));
  color: var(--white);
  box-shadow: 0 18px 44px rgb(8 168 245 / 0.22);
}

.button-secondary {
  border-color: rgb(255 255 255 / 0.26);
  background: rgb(255 255 255 / 0.08);
  color: var(--white);
}

.plans-section .button-secondary {
  border-color: var(--line);
  color: var(--navy);
  background: var(--white);
}

.mobile-menu {
  display: none;
  position: relative;
}

.mobile-menu summary {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid var(--line-dark);
  border-radius: 6px;
  cursor: pointer;
  list-style: none;
}

.mobile-menu summary::-webkit-details-marker {
  display: none;
}

.mobile-menu summary span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 2px 0;
  background: var(--white);
}

.mobile-menu nav {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  display: grid;
  min-width: 240px;
  padding: 12px;
  border: 1px solid var(--line-dark);
  border-radius: 8px;
  background: var(--navy-2);
  box-shadow: var(--shadow-dark);
}

.mobile-menu nav a {
  padding: 11px 10px;
  border-radius: 6px;
  color: #e9f4ff;
  font-weight: 750;
}

.mobile-menu nav a:hover {
  background: rgb(255 255 255 / 0.08);
}

.hero-section {
  position: relative;
  overflow: hidden;
  min-height: calc(100svh - 76px);
  padding: clamp(42px, 7vh, 76px) 0 clamp(30px, 5vh, 54px);
  background:
    radial-gradient(circle at 70% 30%, rgb(8 168 245 / 0.1), transparent 38%),
    linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 54%, #04111e 100%);
  color: var(--white);
}

.hero-section::before,
.hero-section::after {
  position: absolute;
  inset: auto auto 0 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  content: "";
}

.hero-section::before {
  background:
    linear-gradient(90deg, rgb(255 255 255 / 0.055) 1px, transparent 1px) 0 0 / 86px 86px,
    linear-gradient(rgb(255 255 255 / 0.045) 1px, transparent 1px) 0 0 / 86px 86px;
  mask-image: linear-gradient(90deg, transparent, #000 28%, #000 80%, transparent);
}

.hero-section::after {
  background:
    linear-gradient(110deg, transparent 0%, transparent 42%, rgb(8 168 245 / 0.18) 42.15%, transparent 43%),
    linear-gradient(110deg, transparent 0%, transparent 52%, rgb(255 255 255 / 0.14) 52.12%, transparent 52.55%);
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.45fr) minmax(0, 0.55fr);
  align-items: center;
  gap: clamp(32px, 4vw, 54px);
}

.hero-copy {
  max-width: 560px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--cyan);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 560px;
  margin-bottom: clamp(14px, 2.4vh, 22px);
  font-size: clamp(2.55rem, 3.55vw, 3.15rem);
  line-height: 1.02;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2.25rem, 4vw, 3.4rem);
  line-height: 1.04;
  letter-spacing: 0;
}

h3 {
  font-size: 1.32rem;
  line-height: 1.18;
  letter-spacing: 0;
}

.hero-copy > p:not(.eyebrow, .microcopy) {
  color: #c8d7e8;
  font-size: clamp(1rem, 1.25vw, 1.08rem);
  line-height: 1.58;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: clamp(18px, 3vh, 26px);
}

.microcopy {
  margin: clamp(10px, 1.8vh, 14px) 0 0;
  color: #d8e7f7;
  font-size: 0.92rem;
  font-weight: 800;
}

.hero-product {
  position: relative;
  min-height: 0;
}

.hero-frame,
.screen-card,
.demo-panel,
.plan-card,
.final-card,
.origin-photo,
.security-grid article,
.principle-card,
.trajectory-map {
  border: 1px solid rgb(215 227 238 / 0.78);
  border-radius: 8px;
  background: rgb(255 255 255 / 0.86);
  box-shadow: var(--shadow);
}

.hero-frame {
  position: relative;
  overflow: hidden;
  width: 100%;
  height: clamp(310px, 52vh, 490px);
}

.hero-screen {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  background: var(--white);
  opacity: 0;
  transform: translateY(10px) scale(0.985);
  transition:
    opacity 520ms ease,
    transform 520ms ease;
}

.hero-showcase.is-reduced-motion .hero-screen {
  transform: none;
  transition: none;
}

.hero-screen.is-active {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.hero-caption {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: fit-content;
  max-width: 100%;
  margin: clamp(10px, 1.6vh, 14px) auto 0;
  padding: 9px 12px;
  border: 1px solid rgb(255 255 255 / 0.2);
  border-radius: 999px;
  background: rgb(255 255 255 / 0.14);
  color: #d8e7f7;
  font-size: 0.86rem;
  line-height: 1.2;
  box-shadow: 0 16px 44px rgb(0 0 0 / 0.12);
}

.hero-caption span {
  color: var(--white);
  font-weight: 900;
}

.hero-caption strong {
  color: #c9e7f6;
  font-weight: 700;
}

.hero-showcase-controls {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: clamp(10px, 1.6vh, 14px);
}

.hero-showcase-controls button {
  position: relative;
  width: 12px;
  height: 12px;
  padding: 0;
  border: 1px solid rgb(255 255 255 / 0.44);
  border-radius: 999px;
  background: rgb(255 255 255 / 0.18);
  cursor: pointer;
  transition:
    width 200ms ease,
    background 200ms ease,
    border-color 200ms ease;
}

.hero-showcase-controls button.is-active {
  width: 34px;
  border-color: var(--cyan);
  background: var(--cyan);
}

.hero-showcase-controls button:focus-visible {
  outline: 3px solid rgb(30 144 255 / 0.42);
  outline-offset: 4px;
}

.hero-showcase-controls span {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.hero-showcase-toggle {
  width: 26px;
  height: 26px;
  padding: 0;
  border: 1px solid rgb(255 255 255 / 0.22);
  border-radius: 999px;
  background: rgb(255 255 255 / 0.11);
  color: #d8e7f7;
  cursor: pointer;
  font-size: 0.72rem;
  font-weight: 850;
  line-height: 1;
}

.hero-showcase-toggle:hover,
.hero-showcase-toggle:focus-visible {
  border-color: rgb(8 168 245 / 0.58);
  color: var(--white);
  outline: none;
}

.section {
  padding: 96px 0;
}

.two-column,
.origin-grid,
.faq-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: 48px;
}

.reverse > :first-child {
  order: 2;
}

.section p,
.check-list {
  color: var(--muted);
  font-size: 1.06rem;
}

.highlight-line {
  color: var(--navy);
  font-weight: 900;
}

.trajectory-map {
  position: relative;
  display: grid;
  min-height: 420px;
  place-items: center;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgb(23 104 255 / 0.06) 1px, transparent 1px) 0 0 / 46px 46px,
    linear-gradient(rgb(3 20 35 / 0.055) 1px, transparent 1px) 0 0 / 46px 46px,
    linear-gradient(135deg, #ffffff, #eef7ff);
}

.trajectory-map::before,
.trajectory-map::after {
  position: absolute;
  content: "";
  background: linear-gradient(90deg, transparent, var(--cyan), transparent);
  opacity: 0.55;
}

.trajectory-map::before {
  width: 70%;
  height: 2px;
  transform: rotate(23deg);
}

.trajectory-map::after {
  width: 64%;
  height: 2px;
  transform: rotate(-18deg);
}

.record-stream,
.trajectory-core,
.principle-card {
  position: absolute;
  z-index: 1;
  border-radius: 8px;
  font-weight: 900;
}

.record-stream {
  min-width: 132px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  background: rgb(255 255 255 / 0.92);
  color: var(--navy-3);
  box-shadow: 0 12px 34px rgb(3 20 35 / 0.08);
}

.record-stream span,
.record-stream strong {
  display: block;
}

.record-stream span {
  color: var(--muted);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.record-stream strong {
  color: var(--navy);
  font-size: 1.02rem;
}

.stream-a {
  top: 44px;
  left: 36px;
}

.stream-b {
  top: 88px;
  right: 38px;
}

.stream-c {
  left: 78px;
  bottom: 82px;
}

.trajectory-core {
  display: grid;
  place-items: center;
  width: 190px;
  height: 140px;
  border: 1px solid rgb(8 168 245 / 0.38);
  background: linear-gradient(135deg, var(--navy), var(--navy-3));
  color: var(--white);
  text-align: center;
  box-shadow: var(--shadow-dark);
}

.trajectory-core span {
  color: var(--cyan);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.section-heading {
  max-width: 820px;
  margin: 0 auto 42px;
  text-align: center;
}

.section-heading.narrow {
  max-width: 760px;
}

.principle-card {
  right: 26px;
  bottom: 26px;
  max-width: 270px;
  padding: 18px 20px;
  border: 1px solid rgb(8 168 245 / 0.35);
  background: linear-gradient(135deg, #ffffff, #edf9ff);
  color: var(--navy);
  font-size: 1rem;
  font-weight: 900;
  box-shadow: 0 14px 34px rgb(3 20 35 / 0.08);
}

.screen-card {
  overflow: hidden;
  background: var(--white);
}

.screen-card img {
  width: 100%;
  height: 100%;
  max-height: 520px;
  object-fit: cover;
  object-position: left top;
}

.check-list {
  display: grid;
  gap: 12px;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 30px;
}

.check-list li::before {
  position: absolute;
  left: 0;
  content: "✓";
  color: var(--teal);
  font-weight: 900;
}

.multiclinic-proof {
  display: grid;
  gap: 14px;
}

.multiclinic-proof article {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(135deg, #ffffff, #edf9ff);
  box-shadow: 0 14px 34px rgb(3 20 35 / 0.07);
}

.multiclinic-proof span {
  color: var(--cyan);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.multiclinic-proof h3 {
  margin: 8px 0 6px;
}

.product-section {
  scroll-margin-top: 92px;
  padding: clamp(42px, 6vw, 72px) 0;
  background: linear-gradient(180deg, #ffffff, #edf5fb);
}

.product-demo {
  display: grid;
  grid-template-columns: minmax(280px, 0.32fr) minmax(0, 0.68fr);
  gap: clamp(18px, 2.2vw, 30px);
  align-items: start;
  padding: clamp(16px, 2.1vw, 26px);
  border: 1px solid var(--line);
  border-radius: 10px;
  background:
    radial-gradient(circle at 72% 18%, rgb(8 168 245 / 0.09), transparent 34%),
    linear-gradient(135deg, rgb(255 255 255 / 0.98), rgb(240 249 252 / 0.96));
  box-shadow: 0 28px 80px rgb(3 20 35 / 0.11);
}

.demo-control {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: clamp(8px, 1vw, 12px);
}

.demo-control h2 {
  font-size: clamp(1.92rem, 2.45vw, 2.7rem);
  line-height: 1.06;
  margin-bottom: 12px;
}

.demo-control > p:not(.eyebrow) {
  margin-bottom: 16px;
  font-size: 1.02rem;
  line-height: 1.52;
}

.demo-tabs {
  display: grid;
  gap: 8px;
  align-content: start;
  margin-top: 8px;
}

.demo-tab {
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
  color: var(--navy);
  cursor: pointer;
  font-weight: 850;
  text-align: left;
  padding: 11px 14px;
}

.demo-tab.is-active {
  border-color: rgb(8 168 245 / 0.42);
  background: var(--navy);
  color: var(--white);
}

.demo-panel {
  display: grid;
  grid-template-rows: minmax(0, auto) auto;
  overflow: hidden;
  padding: 0;
  border: 1px solid rgb(12 49 72 / 0.13);
  border-radius: 8px;
  background: rgb(255 255 255 / 0.96);
  box-shadow: 0 18px 60px rgb(3 20 35 / 0.1);
}

.demo-screen {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  min-height: clamp(250px, 27vw, 380px);
  padding: clamp(14px, 1.5vw, 20px);
  background: linear-gradient(180deg, #ffffff, #f6fbff);
}

.demo-caption {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  padding: clamp(16px, 1.8vw, 22px);
  border-top: 1px solid var(--line);
  background:
    linear-gradient(90deg, rgb(255 255 255 / 0.98), rgb(239 249 253 / 0.96));
}

.demo-caption span {
  color: var(--cyan);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.demo-caption h3 {
  margin: 10px 0 8px;
}

.demo-panel img {
  width: 100%;
  height: auto;
  max-height: clamp(250px, 27vw, 380px);
  border: 1px solid var(--line);
  border-radius: 6px;
  object-fit: contain;
  object-position: left top;
  background: var(--white);
  opacity: 0;
  transform: scale(0.992);
  transition:
    opacity 320ms ease,
    transform 320ms ease;
}

.product-demo.is-reduced-motion .demo-panel img {
  transform: none;
  transition: none;
}

.demo-panel img.is-loaded {
  opacity: 1;
  transform: scale(1);
}

.demo-carousel-controls {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}

.demo-dot {
  width: 9px;
  height: 9px;
  border: 1px solid rgb(12 49 72 / 0.24);
  border-radius: 999px;
  background: rgb(12 49 72 / 0.12);
}

.demo-dot.is-active {
  width: 28px;
  border-color: var(--cyan);
  background: var(--cyan);
}

.demo-toggle {
  width: 28px;
  height: 28px;
  padding: 0;
  border: 1px solid rgb(8 168 245 / 0.24);
  border-radius: 999px;
  background: rgb(8 168 245 / 0.08);
  color: var(--navy);
  cursor: pointer;
  font-size: 0.74rem;
  font-weight: 900;
  line-height: 1;
}

.demo-toggle:hover,
.demo-toggle:focus-visible {
  border-color: var(--cyan);
  outline: none;
}

.flow-section {
  background: var(--navy);
  color: var(--white);
}

.flow-section p {
  color: var(--muted-dark);
}

.flow-list {
  position: relative;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0;
  padding: 0;
  margin: 28px 0 0;
  list-style: none;
}

.flow-list::before {
  position: absolute;
  top: 38px;
  left: 8%;
  right: 8%;
  height: 2px;
  content: "";
  background: linear-gradient(90deg, var(--cyan), var(--teal), var(--orange));
}

.flow-list li {
  position: relative;
  min-height: 128px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  justify-content: flex-start;
  padding: 56px 12px 14px;
  color: var(--white);
  font-size: 1.08rem;
  font-weight: 900;
  text-align: center;
}

.flow-list span {
  position: absolute;
  top: 12px;
  left: 50%;
  z-index: 1;
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  transform: translateX(-50%);
  border: 1px solid var(--line-dark);
  border-radius: 50%;
  background: #06223b;
  color: var(--cyan);
  font-size: 0.78rem;
}

.flow-list small {
  color: var(--muted-dark);
  font-size: 0.85rem;
  font-weight: 700;
}

.origin-photo {
  overflow: hidden;
  background: var(--navy);
}

.origin-photo img {
  width: 100%;
  height: clamp(420px, 45vw, 520px);
  object-fit: cover;
  object-position: center top;
}

.security-section {
  background: linear-gradient(180deg, #ffffff, #f5fbff);
}

.security-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.security-grid article {
  min-height: 214px;
  padding: 24px;
  box-shadow: 0 12px 40px rgb(3 20 35 / 0.08);
}

.security-grid span {
  display: inline-flex;
  margin-bottom: 24px;
  color: var(--cyan);
  font-size: 0.82rem;
  font-weight: 900;
}

.plans-section {
  background:
    linear-gradient(90deg, rgb(23 104 255 / 0.06) 1px, transparent 1px) 0 0 / 84px 84px,
    linear-gradient(180deg, #f7fbff, #ffffff);
}

.plans-section .section-heading {
  margin-bottom: 32px;
}

.plans-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.plan-card {
  position: relative;
  padding: clamp(22px, 2.4vw, 30px);
}

.plan-card.featured {
  border-color: rgb(8 168 245 / 0.38);
  background: linear-gradient(135deg, var(--navy), var(--navy-3));
  color: var(--white);
  box-shadow: var(--shadow-dark);
}

.plan-card h3 {
  margin-bottom: 10px;
  font-size: clamp(2.1rem, 3vw, 2.55rem);
}

.plan-label,
.launch-seal {
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.launch-seal {
  display: inline-flex;
  padding: 8px 10px;
  border-radius: 6px;
  background: rgb(8 168 245 / 0.16);
  color: #9de7ff;
}

.plan-card ul {
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 18px 0;
  list-style: none;
}

.plan-card li {
  position: relative;
  padding-left: 28px;
  font-weight: 800;
}

.plan-card li::before {
  position: absolute;
  left: 0;
  content: "✓";
  color: var(--teal);
}

.plan-card.featured p,
.plan-card.featured li {
  color: #d8e8f7;
}

.pricing-note {
  max-width: 920px;
  margin: 18px auto 0;
  padding: 16px 18px;
  border: 1px solid rgb(255 138 31 / 0.28);
  border-radius: 8px;
  background: #fff9f2;
  color: #5f4b33;
  font-size: 0.98rem;
}

.faq-grid {
  align-items: start;
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-list details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 12px 30px rgb(3 20 35 / 0.06);
}

.faq-list summary {
  min-height: 64px;
  padding: 18px 20px;
  cursor: pointer;
  color: var(--navy);
  font-weight: 900;
}

.faq-list p {
  padding: 0 20px 20px;
}

.final-cta {
  padding: 36px 0 50px;
}

.final-card {
  padding: clamp(30px, 5vw, 58px);
  background:
    linear-gradient(90deg, rgb(255 255 255 / 0.05) 1px, transparent 1px) 0 0 / 72px 72px,
    linear-gradient(135deg, var(--navy), #082744);
  color: var(--white);
  text-align: center;
}

.final-card .hero-actions {
  justify-content: center;
}

.site-footer {
  padding: 32px 0;
  background: #020d18;
  color: #d8e8f6;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr 1fr;
  gap: 28px;
  align-items: start;
}

.footer-brand {
  margin-bottom: 14px;
}

.site-footer nav,
.legal-note {
  display: grid;
  gap: 10px;
}

.site-footer a:hover {
  color: var(--cyan);
}

.legal-note {
  color: var(--muted-dark);
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}

@media (max-width: 1080px) {
  .desktop-nav,
  .header-actions {
    display: none;
  }

  .mobile-menu {
    display: block;
  }

  .hero-grid,
  .two-column,
  .origin-grid,
  .faq-grid {
    grid-template-columns: 1fr;
  }

  .reverse > :first-child {
    order: initial;
  }

  .flow-list,
  .security-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .product-demo {
    grid-template-columns: 1fr;
  }

  .demo-tabs {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .demo-caption {
    grid-template-columns: 1fr;
  }

  .demo-carousel-controls {
    justify-content: flex-start;
  }
}

@media (min-width: 901px) and (max-width: 1080px) {
  .hero-grid {
    grid-template-columns: minmax(0, 0.45fr) minmax(0, 0.55fr);
  }

  .hero-frame {
    height: clamp(300px, 50vh, 410px);
  }
}

@media (max-width: 760px) {
  .container {
    width: min(calc(100% - 24px), var(--container));
  }

  .section {
    padding: 70px 0;
  }

  .hero-section {
    min-height: auto;
    padding: 50px 0 42px;
  }

  .hero-grid {
    gap: 24px;
  }

  h1 {
    font-size: 2.34rem;
    line-height: 1.04;
  }

  h2 {
    font-size: 2rem;
  }

  .hero-copy > p:not(.eyebrow, .microcopy),
  .section p,
  .check-list {
    font-size: 1rem;
  }

  .hero-copy > p:not(.eyebrow, .microcopy) {
    line-height: 1.48;
  }

  .hero-actions {
    margin-top: 16px;
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .hero-frame {
    height: 330px;
  }

  .hero-caption {
    width: 100%;
    border-radius: 8px;
    text-align: center;
    flex-direction: column;
  }

  .plans-grid,
  .security-grid {
    grid-template-columns: 1fr;
  }

  .flow-list {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .flow-list::before {
    top: 0;
    bottom: 0;
    left: 25px;
    right: auto;
    width: 2px;
    height: auto;
    background: linear-gradient(180deg, var(--cyan), var(--teal), var(--orange));
  }

  .flow-list li {
    min-height: auto;
    align-items: flex-start;
    padding: 12px 12px 12px 76px;
    text-align: left;
  }

  .flow-list span {
    top: 50%;
    left: 25px;
    transform: translate(-50%, -50%);
  }

  .demo-tabs {
    display: none;
  }

  .demo-tab {
    min-width: 170px;
    scroll-snap-align: start;
  }

  .product-section {
    padding: 56px 0;
  }

  .product-demo {
    padding: 12px;
  }

  .demo-screen {
    min-height: auto;
    padding: 10px;
  }

  .demo-panel img {
    max-height: none;
  }

  .trajectory-map {
    min-height: 340px;
  }

  .record-stream {
    min-width: 108px;
    padding: 12px;
    font-size: 0.86rem;
  }

  .stream-a {
    left: 14px;
  }

  .stream-b {
    right: 14px;
  }

  .stream-c {
    left: 18px;
  }

  .principle-card {
    right: 14px;
    bottom: 18px;
    max-width: 220px;
  }

  .origin-photo img {
    height: 420px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .demo-tabs {
    display: none;
  }

  .trajectory-map {
    display: flex;
    flex-direction: column;
    min-height: auto;
    gap: 28px;
    align-items: stretch;
    justify-content: flex-start;
    overflow: visible;
    padding: 22px;
  }

  .trajectory-map::before {
    top: 34px;
    bottom: 118px;
    left: 50%;
    width: 2px;
    height: auto;
    transform: translateX(-50%);
    background: linear-gradient(180deg, rgb(8 168 245 / 0.18), rgb(6 191 166 / 0.48), rgb(255 113 22 / 0.18));
  }

  .trajectory-map::after {
    display: none;
  }

  .record-stream,
  .trajectory-core,
  .principle-card {
    position: relative;
    inset: auto;
    z-index: 1;
    width: 100%;
    max-width: none;
  }

  .record-stream,
  .principle-card {
    padding: 16px 18px;
    text-align: center;
  }

  .trajectory-core {
    order: 2;
    width: 100%;
    height: auto;
    min-height: 104px;
    padding: 20px;
  }

  .stream-a {
    order: 1;
  }

  .stream-b {
    order: 3;
  }

  .stream-c {
    order: 4;
  }

  .principle-card {
    order: 5;
    background: linear-gradient(135deg, #ffffff, #edf9ff);
  }

  .stream-a::after,
  .trajectory-core::after,
  .stream-b::after {
    position: absolute;
    left: 50%;
    bottom: -26px;
    z-index: 2;
    content: "\2193";
    width: 28px;
    height: 28px;
    display: grid;
    place-items: center;
    border-radius: 999px;
    background: var(--white);
    color: var(--cyan);
    font-weight: 900;
    transform: translateX(-50%);
    box-shadow: 0 8px 18px rgb(3 20 35 / 0.08);
  }
}

@media (max-width: 430px) {
  .brand img {
    width: 82px;
  }

  .brand span {
    font-size: 1.2rem;
  }

  h1 {
    font-size: 2.35rem;
  }

  .trajectory-core {
    width: 100%;
    height: auto;
    min-height: 104px;
  }
}
