@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Manrope:wght@400;500;600;700;800&family=Outfit:wght@400;500;600;700&family=Space+Grotesk:wght@400;500;600;700&display=swap');

:root {
  --bg: #fcf9f8;
  --bg-alt: #f6f3f2;
  --bg-dark: #0c0a09;
  --surface: #fcf9f8;
  --surface-alt: #f6f3f2;
  --surface-card: #ffffff;
  --text: #1c1b1b;
  --text-secondary: #57534e;
  --text-muted: #78716c;
  --line: rgba(28, 27, 27, 0.06);
  --line-light: #f6f3f2;
  --accent: #006d37;
  --accent-hover: #005a2d;
  --accent-container: #3ecf77;
  --accent-on-dark: #4ade80;
  --accent-light: rgba(0, 109, 55, 0.06);
  --tertiary: #004ced;
  --container: min(1200px, calc(100vw - 3rem));
  --font-heading: "Manrope", sans-serif;
  --font-body: "Inter", sans-serif;
  --font-label: "Space Grotesk", sans-serif;
  --shadow-ambient: 0 4px 40px rgba(28, 27, 27, 0.05);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.eyebrow {
  font-family: var(--font-body);
}

.container {
  width: var(--container);
  margin: 0 auto;
}

/* ─── Header ─── */

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: #0c0a09;
  border-bottom: none;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  text-decoration: none;
}

.logo-lockup {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: #ffffff;
  text-decoration: none;
}

.logo-mark {
  width: 2.7rem;
  height: 2.7rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.logo-mark svg {
  display: block;
  width: 100%;
  height: auto;
}

.logo-ring {
  fill: none;
  stroke: var(--accent);
  stroke-width: 1.6;
  opacity: 0.22;
}

.logo-link {
  stroke: currentColor;
  stroke-width: 2.8;
  stroke-linecap: round;
  opacity: 0.3;
}

.logo-node {
  fill: currentColor;
}

.logo-core {
  fill: var(--accent);
}

.logo-wordmark {
  font-family: "Outfit", sans-serif;
  font-weight: 700;
  font-size: 1.7rem;
  line-height: 1;
  letter-spacing: -0.04em;
  color: currentColor;
}

.logo-dot {
  color: var(--accent);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 2rem;
  font-size: 0.94rem;
}

.site-nav a {
  position: relative;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.6);
  font-weight: 500;
  transition: color 0.15s;
}

.site-nav a:not(.nav-cta):hover {
  color: #ffffff;
}

.site-nav a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 2px;
  background-color: var(--accent);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.site-nav a:not(.nav-cta):hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-cta {
  background: linear-gradient(135deg, var(--accent), var(--accent-container)) !important;
  border: none !important;
  border-radius: 6px !important;
  padding: 0.5rem 1.15rem !important;
  color: #fff !important;
  font-weight: 600 !important;
  transition: opacity 0.15s !important;
}

.nav-cta:hover {
  opacity: 0.9 !important;
  color: #fff !important;
}

/* ─── Hamburger Toggle ─── */

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  width: 48px;
  height: 48px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: #fff;
  border-radius: 1px;
  transition: transform 0.3s, opacity 0.3s;
}

.nav-toggle.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ─── Section Grids ─── */

.compliance-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
  align-items: center;
}

.api-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.stats-intro-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 3rem;
  align-items: center;
}

/* ─── Hero ─── */

.hero {
  position: relative;
  text-align: center;
  padding: 6rem 0 4rem;
  background-color: var(--bg-dark);
  background-image:
    radial-gradient(circle at center, var(--bg-dark) 20%, transparent 80%),
    linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 100% 100%, 48px 48px, 48px 48px;
  color: #ffffff;
  overflow: hidden;
}

.section-bg-video {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  z-index: 0;
  opacity: 0.35;
  mix-blend-mode: screen;
  pointer-events: none;
}

.section-with-video {
  position: relative;
  overflow: hidden;
}

.section-with-video .container {
  position: relative;
  z-index: 1;
}

.hero .container {
  position: relative;
  z-index: 1;
}

.hero h1 {
  color: #ffffff;
  max-width: 36ch;
  padding-top: 40pt;
  margin-left: auto;
  margin-right: auto;
}

.hero-eyebrow {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
  margin: 0 0 0.25rem;
}

.hero .lead {
  color: rgba(255, 255, 255, 0.6);
  font-size: 1.4rem;
  max-width: 72ch;
}

.hero-cta {
  margin-top: 2.5rem;
  display: inline-block;
  font-size: 1.05rem;
  padding: 0.85rem 2rem;
}

.hero .button-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-container));
  color: #ffffff;
  border: none;
}

.hero .button-primary:hover {
  background: #15803d;
}

.hero .button-secondary {
  color: rgba(255, 255, 255, 0.7);
}

.hero .button-secondary:hover {
  color: #ffffff;
}

.hero-grid {
  max-width: 780px;
  margin: 0 auto;
  align-items: center;
  margin-top: 2rem;
}

.hero-lead {
  margin: 0;
  font-size: 1.4rem;
}

.hero-actions-inline {
  margin-top: 0;
  justify-content: flex-start;
}

h1,
h2,
h3 {
  font-family: var(--font-heading);
  line-height: 1.15;
  margin: 0;
}

h1 {
  font-size: clamp(2.4rem, 5vw, 3.75rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

h2 {
  font-size: clamp(1.6rem, 3.6vw, 2.5rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  max-width: 24ch;
  line-height: 1.15;
}

h3 {
  font-size: 1.18rem;
  font-weight: 600;
  margin-bottom: 0.6rem;
  letter-spacing: -0.01em;
}

.eyebrow {
  margin: 0 0 0.75rem;
  color: var(--text-muted);
  letter-spacing: 0.08em;
  font-weight: 600;
  font-size: 0.8rem;
  text-transform: uppercase;
}

.lead {
  margin: 1.5rem auto 0;
  color: var(--text-secondary);
  max-width: 56ch;
  font-size: 1.05rem;
  line-height: 1.7;
}

.hero-actions {
  margin-top: 2rem;
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: center;
}

/* ─── Buttons ─── */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.25rem;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.15s;
  cursor: pointer;
}

.button-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-container));
  color: #fff;
  border: none;
}

.button-primary:hover {
  background: linear-gradient(135deg, var(--accent-hover), var(--accent));
  color: #fff;
}

.button-primary::after {
  content: "→";
  font-size: 1.1em;
  transition: transform 0.15s;
}

.button-primary:hover::after {
  transform: translateX(3px);
}

.button-secondary {
  color: var(--text);
  border: none;
  padding-left: 0;
  font-weight: 500;
}

.button-secondary::after {
  content: "→";
  font-size: 1.1em;
  transition: transform 0.15s;
}

.button-secondary:hover {
  color: var(--accent);
}

.button-secondary:hover::after {
  transform: translateX(3px);
}

/* ─── Sections ─── */

.section {
  padding: 5rem 0;
}

.section+.section {
  padding-top: 0;
}
.section-alt+.section {
  padding-top: 5rem;
}

.section-head {
  margin-bottom: 3.5rem;
}

.section-head--center {
  text-align: center;
}

.section-head p:not(.eyebrow) {
  font-size: 1.15rem;
}

/* Alternating section backgrounds */
.section-alt {
  background: var(--bg-alt);
  padding: 5rem 0;
}

.section-dark {
  background: var(--bg-dark);
  color: #fff;
  padding: 5rem 0;
}

.section-dark .eyebrow {
  color: rgba(255, 255, 255, 0.5);
}

.section-dark .lead,
.section-dark .text-secondary {
  color: rgba(255, 255, 255, 0.6);
}

/* ─── Delivery contrast ─── */

.contrast-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 0;
  align-items: stretch;
}

.contrast-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 0.25rem;
  color: var(--accent);
}

.contrast-card {
  border: none;
  border-radius: 10px;
  background: var(--surface-card);
  padding: 2rem;
  box-shadow: var(--shadow-ambient);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.contrast-card h3 {
  margin-bottom: 0.9rem;
}

.contrast-card-old {
  background: var(--bg-alt);
  box-shadow: none;
}

.contrast-card-new {
  background: var(--surface-card);
}

.contrast-label {
  margin: 0 0 0.6rem;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.contrast-card-new .contrast-label {
  color: var(--accent);
  font-weight: 700;
}

.contrast-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}

.contrast-list li {
  position: relative;
  padding-left: 1.2rem;
  color: var(--text-secondary);
  line-height: 1.55;
}

.contrast-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.47rem;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

/* ─── Cards ─── */

.card-grid {
  display: grid;
  gap: 1.25rem;
}

.three-up {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.two-up {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.four-up {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

/* ─── Carousel (mobile only) ─── */

.carousel-dots {
  display: none;
}

.card,
.mini-card,
.roadmap {
  border: none;
  border-radius: 10px;
  background: var(--surface-card);
  box-shadow: var(--shadow-ambient);
}

.card {
  padding: 2rem;
}

.card p {
  margin: 0;
  color: var(--text-secondary);
  line-height: 1.65;
}

.card-tag {
  margin: 0 0 0.5rem;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  color: var(--accent);
  font-weight: 700;
}

.card-emphasis {
  background: var(--surface-alt);
  border-color: var(--line);
}

/* ─── Split layout ─── */

.split {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 1.25rem;
}

.vision-quote {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 1.5rem;
  background: var(--surface-alt);
  font-size: 1.02rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

.tick-list {
  margin: 0;
  padding: 1.25rem 1.5rem;
  list-style: none;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.tick-list li {
  margin: 0;
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.tick-list li+li {
  margin-top: 0.65rem;
}

.tick-list li::before {
  content: "";
  display: inline-block;
  width: 18px;
  height: 18px;
  margin-right: 0.6rem;
  vertical-align: -3px;
  background: var(--accent);
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='currentColor'%3E%3Cpath fill-rule='evenodd' d='M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z' clip-rule='evenodd'/%3E%3C/svg%3E") center / contain no-repeat;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='currentColor'%3E%3Cpath fill-rule='evenodd' d='M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z' clip-rule='evenodd'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* ─── AI Section ─── */

.realtime-head h2 {
  max-width: none;
}

.realtime-head p {
  max-width: 48em;
  margin: 1rem auto 0;
  color: var(--text-secondary);
  line-height: 1.7;
}

.realtime-columns {
  margin-bottom: 1.25rem;
  align-items: stretch;
}

.realtime-column {
  position: relative;
  overflow: hidden;
}

.realtime-column.card-emphasis {
  background: linear-gradient(165deg, rgba(22, 163, 74, 0.08) 0%, var(--surface-alt) 58%);
}

.realtime-list {
  margin-top: 1rem;
}

.realtime-list li + li {
  margin-top: 0.55rem;
}

.realtime-benefits .mini-card {
  border: 1px solid var(--line);
  background: var(--surface-alt);
  position: relative;
}

.realtime-benefits .mini-card::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, rgba(22, 163, 74, 0.55), rgba(22, 163, 74, 0));
}

.ai-split {
  align-items: stretch;
  margin-bottom: 1.25rem;
}

.ai-flow-card {
  background: linear-gradient(165deg, #102e1d 0%, #0c0a09 100%);
  border: 1px solid rgba(74, 222, 128, 0.2);
  box-shadow: none;
}

.ai-flow-card h3 {
  margin: 0 0 1rem;
  color: #ffffff;
}

.ai-flow-card .card-tag {
  margin: 0 0 0.4rem;
  color: var(--accent-on-dark);
}

.ai-flow {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}

.ai-flow li {
  display: grid;
  grid-template-columns: 1.5rem 1fr;
  gap: 0.65rem;
  align-items: start;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.92rem;
  line-height: 1.55;
}

.ai-flow-step-index {
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1;
  color: var(--accent-on-dark);
  background: rgba(74, 222, 128, 0.18);
  margin-top: 0.1rem;
}

.ai-capability-grid {
  margin-top: 1.25rem;
}

.realtime-usecases {
  margin-bottom: 1.25rem;
}

.realtime-usecases h3 {
  margin-bottom: 0.9rem;
}

.realtime-tabs-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.realtime-tab {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface-alt);
  color: var(--text-secondary);
  padding: 0.42rem 0.8rem;
  font-family: var(--font-label);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: all 0.15s ease;
}

.realtime-tab:hover {
  border-color: rgba(0, 109, 55, 0.34);
  color: var(--text);
}

.realtime-tab.is-active {
  background: rgba(22, 163, 74, 0.12);
  border-color: rgba(22, 163, 74, 0.38);
  color: var(--accent);
}

.realtime-tabs-body {
  margin-top: 0.9rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface-alt);
  padding: 1rem 1.1rem;
}

.realtime-tab-panel {
  display: none;
}

.realtime-tab-panel.is-active {
  display: block;
  animation: details-show 0.3s ease;
}

.realtime-tab-what {
  margin: 0;
  font-size: 0.94rem;
  font-weight: 600;
  color: var(--text);
}

.realtime-feature-list {
  margin-top: 0.75rem;
}

.realtime-feature-list li + li {
  margin-top: 0.52rem;
}

/* ─── Mini cards ─── */

.mini-card {
  padding: 1.1rem;
}

.mini-card h3 {
  font-size: 1rem;
}

.mini-card p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 0.92rem;
}

.readiness-layout {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(220px, 0.9fr);
  gap: 1rem;
  align-items: stretch;
}

.readiness-main-card {
  height: 100%;
}

.readiness-side-stack {
  display: grid;
  grid-template-rows: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  min-height: 460px;
}

.readiness-side-card {
  border: 1px solid var(--line);
  background: var(--surface-card);
  box-shadow: var(--shadow-ambient);
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.readiness-side-card h3 {
  margin-bottom: 0.45rem;
}

/* ─── Feature list ─── */

.feature-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.feature-list li {
  color: var(--text-secondary);
  margin: 0;
  padding-left: 1.6rem;
  position: relative;
}

.feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 5px;
  width: 14px;
  height: 14px;
  background: var(--accent);
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='currentColor'%3E%3Cpath fill-rule='evenodd' d='M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z' clip-rule='evenodd'/%3E%3C/svg%3E") center / contain no-repeat;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='currentColor'%3E%3Cpath fill-rule='evenodd' d='M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z' clip-rule='evenodd'/%3E%3C/svg%3E") center / contain no-repeat;
}

.feature-list li+li {
  margin-top: 0.45rem;
}

.readiness-chips {
  margin: 0.95rem 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.readiness-chips li {
  font-size: 0.82rem;
  font-family: var(--font-label);
  color: var(--text-muted);
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 0.22rem 0.56rem;
  white-space: nowrap;
  line-height: 1.3;
}

.readiness-compliance-card .feature-list li {
  line-height: 1.6;
}

.readiness-compliance-card .feature-list li + li {
  margin-top: 0.95rem;
}

/* ─── Product support ─── */

.support-card .card-tag {
  margin-bottom: 0.4rem;
}

.support-mini-grid {
  margin-top: 1.25rem;
}

/* ─── Roadmap ─── */

.roadmap {
  margin-top: 1.25rem;
  padding: 1.25rem 1.5rem;
  background: var(--surface-alt);
}

.roadmap p {
  margin: 0;
  color: var(--text-secondary);
}

/* ─── Stats ─── */

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem 3rem;
}

.stat-item {
  text-align: left;
}

.stat-number {
  font-family: var(--font-label);
  font-size: clamp(2.4rem, 4.5vw, 3.5rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--text);
}

.stat-number .accent {
  color: var(--accent);
}

.stat-label {
  margin-top: 0.35rem;
  color: var(--text-secondary);
  font-size: 0.95rem;
}

/* ─── Icon grid (compliance features) ─── */

.icon-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3rem 4rem;
}

.icon-feature {
  display: flex;
  gap: 1rem;
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  cursor: pointer;
}

.icon-feature:hover {
  transform: translateY(-4px) scale(1.02);
}

.icon-feature .icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  color: var(--text);
  transition: color 0.3s ease, transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.icon-feature:hover .icon {
  color: var(--accent);
  transform: scale(1.15) rotate(5deg);
}

.icon-feature h3 {
  margin-bottom: 0.4rem;
  transition: color 0.3s ease;
}

.icon-feature:hover h3 {
  color: var(--accent);
}

.icon-feature p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ─── Comparison Table ─── */

.ct {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  background: var(--surface-card);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-ambient);
  font-size: 0.95rem;
}

.ct-header,
.ct-row summary {
  display: grid;
  grid-template-columns: 0.8fr 1fr 1fr auto;
  align-items: center;
  gap: 0.5rem;
}

.ct-header {
  font-weight: 600;
  padding: 0 1.25rem 0.75rem;
  border-bottom: 1px solid var(--line);
}

.ct-header .ct-cell {
  font-family: var(--font-label);
}

.ct-cell {
  text-align: left;
}

.ct-header .ct-cell {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: 0.03em;
  color: var(--text-muted);
  padding: 0 1.25rem;
}

.ct-header .ct-highlight {
  color: var(--accent);
}

#comparison .ct-header {
  padding-top: 0.8rem;
}

#comparison .ct-header .ct-legacy-title {
  white-space: nowrap;
  font-size: 1rem;
  letter-spacing: 0.01em;
}

.ct-row {
  border-bottom: 1px solid var(--line);
}

.ct-row:last-child {
  border-bottom: none;
}

.ct-row summary {
  padding: 1rem 1.25rem;
  cursor: pointer;
  list-style: none;
  transition: background 0.15s;
}

.ct-row summary::-webkit-details-marker {
  display: none;
}

.ct-row summary:hover {
  background: rgba(0, 0, 0, 0.02);
}

.ct-row summary .ct-cell {
  padding: 0 1.25rem;
  font-size: 0.95rem;
}

.ct-row summary .ct-cell:first-child {
  font-weight: 600;
  color: var(--text);
}

.ct-row summary .ct-highlight {
  font-weight: 500;
  color: var(--text);
}

.ct-row summary .ct-muted {
  color: var(--text-muted);
}

.ct-chevron {
  color: var(--accent);
  opacity: 1;
  transition: transform 0.2s, background 0.2s;
  flex-shrink: 0;
  background: rgba(22, 163, 74, 0.08);
  border-radius: 50%;
}

.ct-row summary:hover .ct-chevron {
  background: rgba(22, 163, 74, 0.15);
}

.ct-row[open] .ct-chevron {
  transform: rotate(180deg);
}

.ct-detail {
  padding: 0 1.25rem 1.25rem;
}

details.ct-row[open] .ct-detail {
  animation: details-show 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}

@keyframes details-show {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.ct-detail p {
  padding: 0;
  margin: 0;
  margin-left: 29.85%;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-secondary);
}

@media (max-width: 720px) {

  .ct-header,
  .ct-row summary {
    grid-template-columns: 1fr auto;
  }

  .ct-header .ct-cell:nth-child(2),
  .ct-header .ct-cell:nth-child(3),
  .ct-row summary .ct-muted {
    display: none;
  }

  .ct-row summary .ct-highlight {
    display: none;
  }

  .ct-row summary .ct-cell:first-child {
    font-size: 0.9rem;
    padding-left: 0;
  }

  .ct {
    max-width: 100%;
  }

  .ct-detail {
    display: block;
    padding-left: 1.25rem;
  }

  .ct-header .ct-cell {
    padding-left: 0;
  }

  .ct-detail p {
    margin-left: 0;
    padding: 0;
  }
}

/* ─── API section ─── */

.api-features {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.api-feature {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.api-feature strong {
  font-size: 0.95rem;
  color: #ffffff;
}

.api-feature span {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.5;
}

.api-code-block {
  background: #1c1917;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  overflow: hidden;
  font-family: "SF Mono", "Fira Code", "Fira Mono", Menlo, monospace;
  font-size: 0.85rem;
  line-height: 1.6;
}

.api-code-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.api-code-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
}

.api-code-label {
  margin-left: 0.75rem;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.8rem;
}

.api-code {
  margin: 0;
  padding: 1.25rem;
  overflow-x: auto;
  color: rgba(255, 255, 255, 0.85);
}

.api-code code {
  font-family: inherit;
}

.code-comment {
  color: rgba(255, 255, 255, 0.3);
}

.code-key {
  color: #93c5fd;
}

.code-string {
  color: #86efac;
}

.code-bool {
  color: #fbbf24;
}

.code-num {
  color: #fbbf24;
}

.api-code-response {
  padding: 0.75rem 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.8rem;
}

@media (max-width: 720px) {
  .api-code-block {
    font-size: 0.75rem;
  }
}

/* ─── Journey cards (Bank Enablement) ─── */

.journey-lead {
  margin: 1rem 0 0;
  max-width: 68ch;
  color: rgba(255, 255, 255, 0.62);
  line-height: 1.7;
}

.journey-pillars {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.85rem;
  margin: 2rem 0 0;
}

.journey-pillar {
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.02);
  border-radius: 8px;
  padding: 1rem;
}

.journey-pillar h3 {
  font-size: 1rem;
  margin-bottom: 0.45rem;
  color: #fff;
}

.journey-pillar p {
  margin: 0;
  color: rgba(255, 255, 255, 0.58);
  line-height: 1.55;
  font-size: 0.88rem;
}

.journey-cards {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  margin-top: 2.5rem;
  margin-left: -1.5rem;
  margin-right: -1.5rem;
}

.journey-card {
  border-left: 1px solid rgba(255, 255, 255, 0.12);
  padding: 1.5rem;
  display: grid;
  grid-template-rows: auto auto auto 1fr;
  align-content: start;
  min-height: 280px;
}

.journey-card:first-child {
  border-left: none;
}

.journey-num {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.4);
}

.journey-icon {
  margin: 0.75rem 0 0.5rem;
}

.journey-card h3 {
  font-size: clamp(1.3rem, 2.5vw, 1.6rem);
  font-weight: 600;
  color: #fff;
  align-self: end;
  margin-bottom: 0.75rem;
}

.journey-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.9rem;
  line-height: 1.55;
}

.journey-proof {
  margin-top: 0.85rem;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.85rem;
}

.journey-proof-item {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  padding: 0.95rem 1rem;
  background: rgba(255, 255, 255, 0.02);
}

.journey-proof-item span {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.12rem;
  letter-spacing: -0.01em;
  color: #ffffff;
}

.journey-proof-item p {
  margin: 0.3rem 0 0;
  font-size: 0.82rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.56);
}

/* ─── Footer ─── */

.footer {
  margin-top: 0;
  background: var(--bg-dark);
  color: #fff;
}

.footer-cta-stack {
  display: grid;
  gap: 1.75rem;
}

.comparison-cta {
  margin-top: 5rem;
}

.comparison-cta .footer-cta-card {
  background: linear-gradient(135deg, #04723b 0%, #1f9f5b 52%, #3cc97a 100%);
  border-color: rgba(255, 255, 255, 0.18);
  box-shadow: 0 20px 44px rgba(0, 109, 55, 0.22);
}

.comparison-cta .footer-cta-card h2 {
  color: #ffffff;
}

.comparison-cta .footer-cta-sub {
  color: rgba(255, 255, 255, 0.86);
}

.comparison-cta .footer-cta-visual {
  background: transparent;
  border: none;
  border-radius: 0;
}

.comparison-cta .footer-cta-btn {
  background: #ffffff !important;
  color: #0b6e43 !important;
  box-shadow: 0 10px 24px rgba(0, 60, 31, 0.2);
}

.comparison-cta .footer-cta-btn:hover {
  background: #f4fff8 !important;
  color: #075f39 !important;
}

.footer-cta-card {
  background: var(--bg-alt);
  border-radius: 16px;
  padding: 3rem 3rem;
  border: 1px solid var(--line);
  text-align: center;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  text-align: left;
}

.footer-cta-variant {
  margin: 0 0 0.8rem;
  font-family: var(--font-body);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
}

.footer-cta-card h2 {
  color: var(--text);
  max-width: none;
  margin: 0 0 1rem;
}

.footer-cta-sub {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.7;
  margin: 0 0 2rem;
}

.footer-cta-actions {
  display: flex;
  gap: 1rem;
}

.footer-cta-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.cta-visual-desktop {
  display: block;
}

.footer-cta-visual svg {
  width: 100%;
  max-width: 520px;
  height: auto;
}

.footer-cta-btn {
  padding: 1rem 2.5rem !important;
  font-size: 1.05rem !important;
  border-radius: 8px !important;
}

.footer-links {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 2.5rem 0 1.5rem;
}

.footer-links-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.footer-links h4 {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
  margin: 0 0 0.75rem;
  color: #fff;
}

.footer-links ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-links li+li {
  margin-top: 0.4rem;
}

.footer-links a {
  text-decoration: none;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.92rem;
  transition: color 0.15s;
}

.footer-links a:hover {
  color: #fff;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 1.5rem 0 2rem;
  display: flex;
  gap: 2rem;
  align-items: flex-start;
}

.footer-brand {
  color: #fff;
  flex-shrink: 0;
}

.footer-brand .logo-mark {
  width: 2.35rem;
  height: 2.35rem;
}

.footer-brand .logo-wordmark {
  font-size: 1.45rem;
}

.footer-legal {
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.82rem;
  line-height: 1.55;
  margin: 0;
}

.footer-legal-link {
  color: rgba(255, 255, 255, 0.4);
  text-decoration: underline;
  text-underline-offset: 2px;
  font-size: 0.78rem;
}

.footer-legal-link:hover {
  color: rgba(255, 255, 255, 0.7);
}

/* ─── Animations ─── */

body.motion-ready [data-reveal] {
  opacity: 0;
  transform: translateY(20px);
}

body.motion-ready [data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 600ms ease, transform 600ms cubic-bezier(0.2, 0.8, 0.2, 1);
  transition-delay: var(--delay, 0ms);
}

/* Staggered items */
body.motion-ready .stagger-item {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 600ms ease, transform 600ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

body.motion-ready [data-reveal].is-visible .stagger-item,
body.motion-ready .is-visible.stagger-item {
  opacity: 1;
  transform: translateY(0);
  transition-delay: calc(var(--stagger-idx, 0) * 80ms);
}

/* Card Hover Effects */
.card,
.mini-card,
.contrast-card,
.journey-pillar,
.journey-proof-item {
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.3s ease, border-color 0.3s ease;
}

.card:hover,
.mini-card:hover,
.contrast-card:hover,
.journey-pillar:hover,
.journey-proof-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px -10px rgba(0, 0, 0, 0.08);
}

.journey-pillar:hover,
.journey-proof-item:hover {
  border-color: rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.05);
}

/* Hero Section Animations */
.hero .hero-eyebrow,
.hero h1,
.hero .hero-grid,
.hero .hero-illustration {
  opacity: 0;
  animation: heroFadeInUp 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

.hero .hero-eyebrow {
  animation-delay: 0.1s;
}

.hero h1 {
  animation-delay: 0.25s;
}

.hero .hero-grid {
  animation-delay: 0.4s;
}

.hero .hero-illustration {
  animation-delay: 0.6s;
}

@keyframes heroFadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ─── SVG Illustrations ─── */

.hero-illustration-mobile,
.platform-illustration-mobile,
.compliance-illustration-mobile {
  display: none;
}

.hero-illustration {
  margin-top: 3rem;
  padding-bottom: 16pt;
  display: flex;
  justify-content: center;
}

.hero-illustration svg {
  width: 100%;
  max-width: 960px;
  height: auto;
}

.platform-illustration {
  margin: 2.5rem 0 0;
  display: flex;
  justify-content: center;
}

.platform-illustration svg {
  width: 100%;
  max-width: 800px;
  height: auto;
}

.stats-illustration {
  display: flex;
  justify-content: center;
  align-items: center;
}

.stats-illustration svg {
  width: 100%;
  max-width: 320px;
  height: auto;
}

/* Compliance illustration */

.compliance-illustration {
  display: flex;
  justify-content: center;
  align-items: center;
}

.compliance-illustration svg {
  width: 100%;
  max-width: 540px;
  height: auto;
}

/* Mind-map curved paths */

.mindmap-path {
  stroke-linecap: round;
  transition: stroke 0.3s ease, stroke-width 0.3s ease;
}

.platform-illustration svg:hover .mindmap-path {
  stroke: #d6d3d1;
}

/* SVG Interactions & Animations */

.svg-node {
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  /*cursor: pointer;*/
}

.svg-node rect {
  transition: stroke 0.3s ease, stroke-width 0.3s ease, filter 0.3s ease, fill 0.3s ease;
}

.svg-node:hover {
  transform: translateY(-2px);
}

.svg-node:hover rect {
  stroke: var(--accent);
  fill: var(--surface);
  filter: drop-shadow(0 4px 6px rgba(22, 163, 74, 0.15));
}

.hero .svg-node:hover rect {
  fill: #292524;
}

/* Compliance center hub — green on hover */
.compliance-illustration .core-node:hover rect[fill="#0c0a09"] {
  fill: #15803d;
}

.compliance-illustration .core-node:hover rect[fill="none"] {
  fill: none;
  stroke: #006d37;
}

.compliance-illustration .core-node:hover text {
  fill: #ffffff !important;
}

.svg-node text {
  transition: fill 0.3s ease;
}

.inner-node:hover rect {
  stroke-width: 1.5;
}

.outer-node:hover rect {
  stroke-width: 1.5;
}

.core-node {
  cursor: default;
}

.core-node:hover {
  transform: translateY(-2px) scale(1.02);
}

.core-node:hover rect[stroke="#006d37"] {
  fill: #15803d;
}

.core-node:hover text {
  fill: #ffffff !important;
}

/* Base keyframes for replacing SMIL */

@keyframes pulseOpacity {
  0% {
    opacity: 0.6;
  }

  50% {
    opacity: 0;
  }

  100% {
    opacity: 0.6;
  }
}

@keyframes pulseExpand {
  0% {
    opacity: 0.7;
    transform: scale(0.9);
  }

  100% {
    opacity: 0;
    transform: scale(1.2);
  }
}

@keyframes pulseExpandCoreLayer {
  0% {
    opacity: 0.5;
    transform: scale(0.98);
  }

  100% {
    opacity: 0;
    transform: scale(1.05);
  }
}

.core-node-pulse {
  animation: pulseExpand 7s infinite cubic-bezier(0.25, 0.46, 0.45, 0.94);
  transform-origin: center;
  transform-box: fill-box;
}

.core-layer-pulse {
  animation: pulseExpandCoreLayer 9s infinite cubic-bezier(0.25, 0.46, 0.45, 0.94);
  transform-origin: center;
  transform-box: fill-box;
}

@keyframes drawRing {
  from {
    stroke-dashoffset: 565.5;
  }

  to {
    stroke-dashoffset: 0.28;
  }
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

@keyframes spinReverse {
  from {
    transform: rotate(360deg);
  }

  to {
    transform: rotate(0deg);
  }
}

@keyframes dotFadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes dotPulse {
  0% {
    r: 4;
  }

  50% {
    r: 6;
  }

  100% {
    r: 4;
  }
}

/* Stats trigger animations when in view */
.is-visible .uptime-ring {
  animation: drawRing 5s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.spin-slow {
  animation: spin 180s linear infinite;
  transform-origin: 110px 110px;
}

.spin-slow-reverse {
  animation: spinReverse 135s linear infinite;
  transform-origin: 110px 110px;
}

.is-visible .ring-dot {
  animation: dotFadeIn 5s ease forwards, dotPulse 6s ease 5s infinite;
}

/* ─── Cost Visualization Options ─── */

/* Option A: Stacked Bar Chart */
.cost-bar-chart {
  max-width: 700px;
  margin: 2.5rem auto 0;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.cost-bar-group {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.cost-bar-label {
  width: 120px;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.7);
  text-align: right;
  flex-shrink: 0;
}

.cost-bar-track {
  flex: 1;
  position: relative;
}

.cost-bar-stack {
  display: flex;
  height: 48px;
  border-radius: 6px;
  overflow: hidden;
  transition: width 0.8s ease;
}

.cost-bar-segment {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 600;
  color: #fff;
  transition: flex 0.6s ease;
}

.cost-bar-segment span {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  padding: 0 0.4rem;
}

.cost-license {
  background: #57534e;
}

.cost-ops {
  background: #a8a29e;
}

.cost-consulting {
  background: #d6d3d1;
  color: #292524;
}

.cost-license-solid {
  background: #15803d;
}

.cost-ops-solid {
  background: #22c55e;
}

.cost-consulting-solid {
  background: #86efac;
  color: #15803d;
}

.cost-bar-total {
  width: 50px;
  text-align: left;
  font-weight: 700;
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.5);
}

.cost-legend {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}

.cost-legend-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.5);
}

.cost-dot {
  width: 12px;
  height: 12px;
  border-radius: 3px;
  display: inline-block;
}

/* Cost detail reveal */
/* ─── Cost Two-Column Layout ─── */

.cost-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  margin-top: 3rem;
}

.cost-layout .scale-visual {
  margin-top: 0;
  margin-bottom: 0;
}

/* ─── Cost Tabs ─── */

.cost-tabs {
  background: rgba(255, 255, 255, 0.04);
  border: none;
  border-radius: 12px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
}

.cost-tabs-heading {
  color: #fff;
  font-size: 1.4rem;
  font-weight: 400;
  margin: 0 0 1.5rem;
}

.cost-tabs-nav {
  display: flex;
  flex-direction: row;
  gap: 0.6rem;
  margin-bottom: 1.75rem;
}

.cost-tab {
  display: block;
  flex: 1;
  text-align: center;
  padding: 0.9rem 1.25rem;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: none;
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.92rem;
  white-space: nowrap;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.cost-tab:hover {
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.03);
}

.cost-tab.is-active {
  border-color: var(--accent-on-dark);
  background: rgba(74, 222, 128, 0.1);
  color: var(--accent-on-dark);
}

.cost-tabs-body {
  flex: 1;
  position: relative;
  min-height: 200px;
}

.cost-tab-panel {
  display: none;
  animation: costFadeIn 0.3s ease;
}

.cost-tab-panel.is-active {
  display: block;
}

@keyframes costFadeIn {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: translateY(0); }
}

.cost-tab-what {
  color: rgba(255, 255, 255, 0.7) !important;
  font-weight: 600;
  font-size: 1rem !important;
  border-left: 2px solid var(--accent-on-dark);
  padding-left: 0.75rem;
  margin-bottom: 1rem !important;
}

.cost-tab-panel p {
  margin: 0 0 0.75rem;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.92rem;
  line-height: 1.7;
}

.cost-tab-panel p:last-child {
  margin-bottom: 0;
}

.cost-tab-subheading {
  color: rgba(255, 255, 255, 0.35);
  font-size: 0.78rem;
  font-weight: 600;
  font-style: italic;
  margin: 1.5rem 0 0.25rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.cost-tab-subheading + p {
  font-size: 0.78rem !important;
  color: rgba(255, 255, 255, 0.3) !important;
  line-height: 1.55 !important;
}

/* Mobile accordion — hidden on desktop */
.cost-mobile-accordion {
  display: none;
}

.cost-m-acc {
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.cost-m-acc + .cost-m-acc {
  margin-top: 0.6rem;
}

.cost-m-acc summary {
  padding: 1rem 1.25rem;
  cursor: pointer;
  list-style: none;
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 600;
  color: #fff;
  min-height: 48px;
  display: flex;
  align-items: center;
}

.cost-m-acc summary::-webkit-details-marker {
  display: none;
}

.cost-m-acc-body {
  padding: 0 1.25rem 1.25rem;
}

.cost-m-acc-body p {
  margin: 0 0 0.6rem;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.88rem;
  line-height: 1.65;
}

.cost-m-acc-body p:last-child {
  margin-bottom: 0;
}

.cost-callout h3 {
  color: #fff;
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
}

.cost-callout p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.95rem;
  line-height: 1.7;
  margin: 0;
}

/* Option B: Waterfall */
.waterfall-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  max-width: 700px;
  margin: 0 auto;
}

.waterfall-bars {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 0.5rem;
  height: 320px;
}

.waterfall-step {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  height: 100%;
}

.waterfall-bar {
  width: 80px;
  border-radius: 4px 4px 0 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 600;
  color: #fff;
  transition: height 0.6s ease;
}

.waterfall-license {
  background: #57534e;
}

.waterfall-ops {
  background: #a8a29e;
}

.waterfall-consult {
  background: #d6d3d1;
  color: #292524;
}

.waterfall-total {
  background: #44403c;
}

.waterfall-license-solid {
  background: #15803d;
}

.waterfall-ops-solid {
  background: #22c55e;
}

.waterfall-consult-solid {
  background: #86efac;
}

.waterfall-total-solid {
  background: #006d37;
}

/* Option C: Cost Cards */
.cost-card-note {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

.cost-compare-bars {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.cost-compare-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.cost-compare-label {
  width: 50px;
  font-size: 0.75rem;
  font-weight: 600;
  flex-shrink: 0;
}

.cost-compare-track {
  flex: 1;
  height: 20px;
  background: var(--line-light);
  border-radius: 4px;
  overflow: hidden;
}

.cost-compare-fill {
  height: 100%;
  border-radius: 4px;
  transition: width 0.8s ease;
}

.cost-card-stat {
  margin-top: 0.75rem;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--accent);
}

/* Option D: Balance Scale */
.scale-visual {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 2.5rem;
  margin-top: 3rem;
  margin-bottom: 3.5rem;
  min-height: 360px;
}

.scale-side {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.scale-column {
  display: flex;
  flex-direction: column;
  width: 160px;
  border-radius: 8px 8px 2px 2px;
  overflow: hidden;
}

.scale-bar {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.92);
  transition: height 0.6s ease;
}

.scale-column .scale-bar + .scale-bar {
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.scale-bar span {
  letter-spacing: 0.01em;
}

.scale-block-license {
  background: #57534e;
}

.scale-block-ops {
  background: #a8a29e;
}

.scale-block-consult {
  background: #d6d3d1;
  color: #3f3a36;
}

.scale-block-license-s {
  background: #006d37;
}

.scale-block-ops-s {
  background: #3ecf77;
}

.scale-block-consult-s {
  background: #8fe8af;
}

.scale-label {
  margin-top: 0.75rem;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.7);
}

.scale-multiplier {
  margin: 0 0 0.25rem;
  font-size: 1.75rem;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.52);
}

.scale-fulcrum {
  align-self: flex-end;
  position: relative;
  bottom: calc(0.75rem + 1.25rem * 1.6);
}

/* Option E: Table with Inline Bars */
.cost-table {
  max-width: 800px;
  margin: 0 auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}

.cost-table-header {
  display: grid;
  grid-template-columns: 120px 1fr 1fr;
  background: var(--bg-alt);
  border-bottom: 1px solid var(--line);
}

.cost-table-header .cost-table-cell {
  font-weight: 600;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
}

.cost-table-row {
  display: grid;
  grid-template-columns: 120px 1fr 1fr;
  border-bottom: 1px solid var(--line);
}

.cost-table-row:last-child {
  border-bottom: none;
}

.cost-table-cell {
  padding: 1rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  justify-content: center;
}

.cost-table-label {
  font-weight: 600;
  font-size: 0.9rem;
}

.cost-inline-bar {
  height: 16px;
  border-radius: 3px;
  transition: width 0.8s ease;
}

.cost-inline-text {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.cost-table-total {
  background: var(--bg-alt);
}

/* Option F: Interactive Calculator */
.calc-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin-top: 2rem;
}

.calc-inputs {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.calc-slider-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.calc-label {
  font-size: 0.9rem;
  font-weight: 500;
  display: flex;
  justify-content: space-between;
}

.calc-value {
  font-weight: 700;
  color: var(--accent);
}

.calc-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 6px;
  border-radius: 3px;
  background: var(--line);
  outline: none;
}

.calc-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--accent);
  cursor: pointer;
  border: 2px solid #fff;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
}

.calc-results {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.calc-result-card {
  padding: 1.25rem;
  border-radius: 8px;
  border: 1px solid var(--line);
}

.calc-result-card h3 {
  margin-bottom: 0.75rem;
  font-size: 1rem;
}

.calc-result-legacy {
  background: #fafaf9;
}

.calc-result-solid {
  background: rgba(22, 163, 74, 0.04);
  border-color: rgba(22, 163, 74, 0.2);
}

.calc-breakdown {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.calc-line {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.calc-total-line {
  border-top: 1px solid var(--line);
  padding-top: 0.5rem;
  margin-top: 0.25rem;
  font-weight: 700;
  color: var(--text);
}

.calc-savings {
  text-align: center;
  padding: 1rem;
  background: rgba(22, 163, 74, 0.08);
  border-radius: 8px;
  font-size: 1rem;
  color: var(--text);
}

.calc-savings strong {
  color: var(--accent);
  font-size: 1.25rem;
}

/* ─── Responsive ─── */

@media (max-width: 980px) {
  .hero-grid {
    max-width: 100%;
  }

  .three-up,
  .four-up {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .split {
    grid-template-columns: 1fr;
  }

  .icon-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }

  .footer-links-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
  }

  .journey-cards {
    grid-template-columns: repeat(3, 1fr);
  }

  .journey-card {
    min-height: 220px;
  }

  .journey-pillars,
  .journey-proof {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .readiness-layout {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .readiness-side-stack {
    grid-column: 1 / -1;
    min-height: 0;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: none;
  }

}

@media (max-width: 720px) {
  /* ─ Header & Hamburger ─ */
  .nav-toggle {
    display: flex;
  }

  .header-content {
    flex-wrap: wrap;
  }

  .logo-lockup {
    gap: 0.6rem;
  }

  .logo-mark {
    width: 2.35rem;
    height: 2.35rem;
  }

  .logo-wordmark {
    font-size: 1.45rem;
  }

  .site-nav {
    display: none;
    flex-direction: column;
    width: 100%;
    gap: 0;
    padding: 0.5rem 0;
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    min-height: 48px;
    display: flex;
    align-items: center;
    padding: 0 0.25rem;
  }

  /* ─ Left-align section headers ─ */
  .section-head--center,
  .hero {
    text-align: left;
  }

  .readiness-layout {
    grid-template-columns: 1fr;
  }

  .readiness-side-stack {
    grid-column: auto;
    grid-template-columns: 1fr;
  }

  /* ─ Show mobile SVGs, hide desktop decorative SVGs ─ */
  .hero-illustration-mobile {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
    opacity: 0;
    animation: heroFadeInUp 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) 0.6s forwards;
  }

  .hero-illustration-mobile svg {
    width: 100%;
    max-width: 320px;
    height: auto;
  }

  .platform-illustration-mobile {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
  }

  .platform-illustration-mobile svg {
    width: 100%;
    height: auto;
  }

  .compliance-illustration-mobile {
    display: flex;
    justify-content: center;
    margin-top: 1rem;
  }

  .compliance-illustration-mobile svg {
    width: 100%;
    height: auto;
  }

  .hero-illustration,
  .platform-illustration,
  .compliance-illustration {
    display: none;
  }

  /* ─ Stack section grids ─ */
  .compliance-grid,
  .api-grid,
  .stats-intro-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  /* ─ Platform cards carousel ─ */
  .platform-cards {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 1rem;
    padding-bottom: 0.5rem;
  }

  .platform-cards > .card {
    flex: 0 0 85%;
    scroll-snap-align: start;
  }

  .carousel-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1rem;
  }

  .carousel-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--line);
    transition: background 0.2s;
  }

  .carousel-dot.is-active {
    background: var(--accent);
  }

  /* ─ Cost layout stack on mobile ─ */
  .cost-layout {
    grid-template-columns: 1fr;
  }

  /* ─ Footer CTA stack on mobile ─ */
  .comparison-cta {
    margin-top: 2rem;
  }

  .footer-cta-card {
    grid-template-columns: 1fr;
    padding: 2.5rem 1.5rem;
  }

  .footer-cta-visual {
    display: none;
  }

  /* ─ Product support cards ─ */
  #support .card {
    padding: 1rem;
  }

  #support .card h3 {
    font-size: 1rem;
  }

  #support .feature-list li {
    font-size: 0.82rem;
    padding-left: 1.3rem;
  }

  #support .feature-list li::before {
    width: 12px;
    height: 12px;
    top: 4px;
  }

  /* ─ Roadmap box ─ */
  .roadmap {
    padding: 1rem;
  }

  .roadmap h3 {
    font-size: 1rem;
  }

  .roadmap p {
    font-size: 0.82rem;
  }

  /* ─ Scale down balance scale ─ */
  .scale-visual {
    gap: 1rem;
    min-height: 240px;
  }

  .scale-column {
    width: 100px;
  }

  .scale-bar {
    font-size: 0.625rem;
  }

  .scale-fulcrum svg {
    width: 40px;
    height: 40px;
  }

  /* ─ Cost: show accordion, hide tabs on mobile ─ */
  .cost-tabs {
    display: none;
  }

  .cost-mobile-accordion {
    display: block;
  }

  .realtime-tab {
    flex: 1 1 calc(50% - 0.25rem);
    text-align: center;
  }

  .realtime-tabs-body {
    padding: 0.9rem;
  }

  .ct-row summary {
    min-height: 48px;
  }

  /* ─ Existing mobile rules ─ */
  .hero {
    padding-top: 3.5rem;
  }

  .hero .lead {
    font-size: 1.15rem;
  }

  .contrast-grid {
    grid-template-columns: 1fr;
  }

  /* ─ Banks section reorder: proof on top, then pillars ─ */
  #banks {
    display: flex;
    flex-direction: column;
  }

  #banks .section-head {
    order: 0;
  }

  #banks .journey-cards {
    order: 1;
  }

  #banks .journey-dots {
    order: 2;
  }

  .journey-proof {
    order: 3;
    grid-template-columns: repeat(2, 1fr);
    margin-top: 2rem;
  }

  .journey-proof-item:nth-child(-n+2) {
    grid-column: 1 / -1;
  }

  .journey-pillars {
    order: 4;
    grid-template-columns: repeat(2, 1fr);
    margin-top: 0.85rem;
  }

  .contrast-arrow {
    transform: rotate(90deg);
    padding: 0.5rem 0;
  }

  .two-up,
  .three-up {
    grid-template-columns: 1fr;
  }

  .four-up {
    grid-template-columns: repeat(2, 1fr);
  }

  .realtime-head p {
    max-width: none;
    margin-left: 0;
    margin-right: 0;
  }

  .realtime-benefits {
    grid-template-columns: 1fr;
  }

  .stats-grid {
    grid-template-columns: 1fr;
  }

  .footer-links-grid {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 2rem 0;
  }

  .section-head {
    margin-bottom: 2rem;
  }

  .section-alt,
  .section-dark {
    margin-top: 0;
    padding: 2rem 0;
  }

  /* ─ Journey cards carousel ─ */
  .journey-cards {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 1rem;
    margin-left: 0;
    margin-right: 0;
    padding-bottom: 0.5rem;
  }

  .journey-card {
    flex: 0 0 80%;
    scroll-snap-align: start;
    min-height: auto;
    border-left: none;
    border-top: none;
    padding: 1.25rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
  }

  .journey-dots {
    display: flex;
  }

  .journey-dots .carousel-dot {
    background: rgba(255, 255, 255, 0.2);
  }

  .journey-dots .carousel-dot.is-active {
    background: var(--accent);
  }

  .journey-num {
    margin-bottom: 1rem;
  }
}
