/* ====================================================
   ascentX — brand tokens
   ==================================================== */
:root {
  --black: #000000;
  --white: #ffffff;
  --charcoal: #0d0d0d;
  --gray-bg: #f2f2f2;

  --text: #0d0d0d;
  --text-muted: #666666;
  --text-faint: #999999;
  --border: #e0e0e0;

  --font-body: "Google Sans Flex", "Google Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --font-header: "Avenir", "Avenir Next", -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --font: var(--font-body);

  --container: 1160px;
  --hero-container: 1480px;
  --radius: 14px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6,
.hero-title,
.section-title {
  font-family: var(--font-header);
}

h3 {
  font-size: 20px !important;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
}
.skip-link:focus {
  left: 12px;
  top: 12px;
  background: var(--black);
  color: var(--white);
  padding: 8px 14px;
  border-radius: 8px;
  z-index: 999;
}

/* ====================================================
   Buttons
   ==================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 15px;
  padding: 14px 25px;
  border-radius: 999px;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
  white-space: nowrap;
}

.btn-primary {
  background: var(--black);
  color: var(--white);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.16);
}
.btn-primary:hover {
  background: var(--charcoal);
  transform: translateY(-2px);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.2);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.74);
  color: var(--text);
  border: 1px solid var(--border);
}
.btn-ghost:hover {
  border-color: rgba(13, 13, 13, 0.28);
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(13, 13, 13, 0.08);
}

.btn-small {
  padding: 8px 17px;
  font-size: 14px;
}

.btn-large {
  padding: 16px 32px;
  font-size: 16px;
}

.btn-invert {
  background: var(--white);
  color: var(--black);
}
.btn-invert:hover {
  background: var(--gray-bg);
}

.btn-dark {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.22);
}
.btn-dark:hover {
  border-color: var(--white);
}

/* ====================================================
   Nav
   ==================================================== */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(13, 13, 13, 0.08);
}

.nav-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 12px 32px;
  display: flex;
  align-items: center;
  gap: 28px;
  background: transparent;
}

.nav-logo img {
  height: 26px;
  width: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
  margin-left: 10px;
  flex: 1;
}

.nav-links a {
  font-size: 14px;
  font-weight: 400;
  color: rgba(13, 13, 13, 0.66);
  transition: color 0.2s var(--ease);
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--black);
}

.nav-cta {
  flex-shrink: 0;
  display: flex;
  gap: 10px;
  align-items: center;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  background: none;
  border: none;
  cursor: pointer;
  margin-left: auto;
}
.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--black);
  border-radius: 2px;
  transition: transform 0.25s var(--ease), opacity 0.25s var(--ease);
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-mobile {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 8px 32px 20px;
  border-top: 1px solid var(--border);
}
.nav-mobile a {
  padding: 12px 0;
  font-size: 16px;
  font-weight: 400;
  color: var(--text);
  border-bottom: 1px solid var(--border);
}
.nav-mobile a:last-child {
  border-bottom: none;
  margin-top: 8px;
  text-align: center;
}
.nav-mobile.open {
  display: flex;
}

/* ====================================================
   Reveal animation
   ==================================================== */
/* Hidden-until-revealed state only applies once JS confirms it can
   animate it back in — keeps content visible with no-JS / slow JS. */
.js-ready .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  transition-delay: var(--reveal-delay, 0ms);
}
.js-ready .reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

.js-ready .reveal.in-view > .card,
.js-ready .reveal.in-view > .stat,
.js-ready .reveal.in-view > .workflow-card,
.js-ready .reveal.in-view > .usecase-card,
.js-ready .reveal.in-view > .pricing-card,
.js-ready .reveal.in-view > .arch-col,
.js-ready .reveal.in-view > .mcp-card,
.js-ready .reveal.in-view > .feature-row {
  animation: childRise 0.65s var(--ease) both;
  animation-delay: var(--reveal-delay, 0ms);
}

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

.interactive-card {
  transform: perspective(900px) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg));
  transition: transform 0.18s var(--ease), border-color 0.25s var(--ease), background 0.25s var(--ease);
  will-change: transform;
}

.interactive-card:hover {
  transform: perspective(900px) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg)) translateY(-2px);
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
  }
}

/* Hero is above the fold — animate on load via plain CSS, no JS/observer
   dependency, so it never has a chance to render hidden. */
@keyframes heroIn {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}
.hero-anim {
  animation: heroIn 0.7s var(--ease) both;
}
.hero-anim-1 { animation-delay: 0s; }
.hero-anim-2 { animation-delay: 0.08s; }
.hero-anim-3 { animation-delay: 0.16s; }
.hero-anim-4 { animation-delay: 0.24s; }
.hero-anim-5 { animation-delay: 0.32s; }

/* ====================================================
   Hero
   ==================================================== */
.hero {
  padding: 120px 0 80px;
  text-align: center;
  position: relative;
}

.hero-split {
  text-align: center;
  min-height: calc(100svh - 78px);
  min-height: calc(100vh - 78px);
  display: block;
  padding: 42px 0 0;
  overflow: hidden;
  background: #ffffff;
}

.home-hero {
  min-height: calc(100svh - 62px);
  min-height: calc(100vh - 62px);
  padding: 0;
  display: flex;
  align-items: center;
}

.hero-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-grid {
  width: 100%;
  max-width: var(--hero-container);
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
  align-items: start;
  position: relative;
}

.home-hero .hero-grid {
  min-height: calc(100svh - 62px);
  min-height: calc(100vh - 62px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 32px;
}

.hero-copy {
  max-width: 820px;
  margin: 0 auto;
  min-width: 0;
  position: relative;
  z-index: 2;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  padding: 7px 15px;
  border: 1px solid rgba(13, 13, 13, 0.1);
  border-radius: 999px;
  background:
    linear-gradient(#fff, #fff) padding-box,
    linear-gradient(90deg, rgba(15, 143, 138, 0.28), rgba(13, 13, 13, 0.08)) border-box;
  color: rgba(13, 13, 13, 0.78);
  font-size: 13px;
  font-weight: 700;
  box-shadow: 0 8px 28px rgba(13, 13, 13, 0.04);
}

.eyebrow {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: #0f8f8a;
  margin-bottom: 20px;
}

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

.hero-title {
  margin-top: 24px;
  font-size: clamp(50px, 4.6vw, 74px);
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: 0;
  max-width: 820px;
}

.hero-title-line {
  display: block;
  white-space: nowrap;
}

.hero-title-accent {
  color: #0f8f8a;
  text-shadow: 0 18px 44px rgba(15, 143, 138, 0.14);
}

.text-muted {
  color: var(--text-faint);
}

.hero-sub {
  margin: 22px auto 0;
  font-size: clamp(17px, 1.15vw, 19px);
  line-height: 1.55;
  color: var(--black);
  max-width: 720px;
}

.hero-actions {
  margin-top: 24px;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}

.hero-actions .btn {
  min-height: 52px;
}

.hero-inner .hero-actions,
.cta-inner .hero-actions {
  justify-content: center;
}

.hero-usecases {
  margin-top: 36px;
}

.hero-usecases > p {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-faint);
}

.hero-usecases > div {
  margin-top: 16px;
  display: flex;
  flex-wrap: nowrap;
  gap: 8px;
}

.hero-usecases span {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 8px 14px;
  border: 1px solid var(--border);
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 12px 28px rgba(15, 143, 138, 0.08);
  font-size: 11.5px;
  font-weight: 400;
}

.hero-visual {
  position: relative;
  width: 100%;
  margin: 0 auto;
  min-height: 0;
  z-index: 1;
  animation: none;
  background: var(--white);
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr);
  gap: 22px;
  align-items: stretch;
}

.product-preview-section {
  padding: 72px 0 96px;
  background: var(--white);
  border-top: 1px solid var(--border);
}

.product-preview-section .hero-grid {
  max-width: var(--container);
}

.process-flow-section {
  padding: 76px 0 90px;
  background: var(--white);
  border-top: 1px solid var(--border);
}

.process-flow-container {
  max-width: var(--container);
}

.process-flow-container .section-title {
  max-width: 980px;
}

.process-flow-container .section-sub {
  max-width: 820px;
}

.process-flow-frame {
  margin-top: 42px;
  padding: 12px;
  border: 1px solid rgba(15, 143, 138, 0.18);
  border-radius: 24px;
  background: var(--white);
  box-shadow: 0 24px 70px rgba(10, 18, 18, 0.08);
  overflow: hidden;
}

.process-flow-frame img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 16px;
}

.problem-image-frame {
  margin-top: 38px;
  padding: 8px;
  border: 1px solid rgba(15, 143, 138, 0.14);
  border-radius: 22px;
  background: var(--white);
  box-shadow: 0 22px 60px rgba(13, 13, 13, 0.06);
}

.problem-image-frame img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 16px;
}

.product-preview-section > .container:first-child {
  margin-bottom: 44px;
}

.product-tabs {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: 1fr;
  align-content: start;
  gap: 8px;
  border: 0;
  border-radius: 0;
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  padding-top: 4px;
}

.product-tab {
  position: relative;
  min-height: 52px;
  border: 0;
  background: transparent;
  color: rgba(13, 13, 13, 0.54);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  text-align: left;
  padding: 0 14px 0 18px;
  border-radius: 999px;
  transition: color 0.25s var(--ease), background 0.25s var(--ease);
}

.product-tab:last-child {
  border-right: 0;
}

.product-tab::after {
  content: "";
  position: absolute;
  left: 18px;
  bottom: 8px;
  width: var(--tab-progress, 0%);
  max-width: calc(100% - 36px);
  height: 2px;
  background: var(--black);
  opacity: 0;
  transition: opacity 0.2s var(--ease);
}

.product-tab.active {
  color: var(--black);
  background: rgba(13, 13, 13, 0.04);
}

.product-tab.active::after {
  opacity: 1;
}

.hero-product-frame {
  position: relative;
  left: auto;
  top: auto;
  transform: none;
  width: 100%;
  height: clamp(680px, 82svh, 940px);
  overflow: hidden;
  padding: 0;
  border: 0;
  border-radius: 22px;
  background: var(--white);
  box-shadow: none;
}

.hero-product-frame::before {
  content: none;
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.76);
  z-index: 2;
}

.hero-product-frame img,
.hero-product-frame video {
  width: 100%;
  max-width: none;
  height: 100%;
  display: block;
  object-fit: contain;
  object-position: center top;
  border-radius: 0;
  border: 0;
  transform: translate3d(var(--preview-x, 0px), var(--preview-y, 0px), 0) scale(var(--preview-scale, 1));
  transition: transform 0.7s var(--ease), filter 0.7s var(--ease);
}

.product-insight-card {
  position: absolute;
  left: clamp(24px, 5vw, 88px);
  top: auto;
  bottom: clamp(24px, 5vw, 76px);
  z-index: 4;
  width: min(460px, calc(100vw - 48px));
  padding: 22px;
  border: 1px solid rgba(13, 13, 13, 0.1);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 24px 70px rgba(13, 13, 13, 0.12);
  text-align: left;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: opacity 0.28s var(--ease), transform 0.28s var(--ease);
}

.product-insight-card.is-changing {
  opacity: 0;
  transform: translateY(8px);
}

.product-insight-kicker {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #0f8f8a;
}

.product-insight-card h3 {
  margin-top: 10px;
  font-size: 22px;
  line-height: 1.2;
}

.product-insight-card p:not(.product-insight-kicker) {
  margin-top: 10px;
  color: rgba(13, 13, 13, 0.68);
  font-size: 14px;
  line-height: 1.55;
}

@keyframes heroFloat {
  from { transform: translateY(0); }
  to { transform: translateY(-8px); }
}

@media (min-width: 921px) and (max-height: 860px) {
  .hero-split {
    padding: 32px 0;
  }

  .home-hero {
    padding: 0;
  }

  .home-hero .hero-grid {
    min-height: calc(100svh - 62px);
    min-height: calc(100vh - 62px);
    padding: 32px;
  }

  .hero-grid {
    gap: 28px;
  }

  .hero-title {
    font-size: clamp(46px, 4.2vw, 64px);
    max-width: 760px;
  }

  .hero-sub {
    margin-top: 20px;
    font-size: 16px;
    line-height: 1.52;
    max-width: 620px;
  }

  .hero-actions {
    margin-top: 26px;
  }

  .hero-usecases {
    margin-top: 26px;
  }

  .hero-usecases > p {
    font-size: 11px;
  }

  .hero-usecases > div {
    margin-top: 12px;
  }

  .hero-visual {
    width: 100%;
  }

  .hero-product-frame {
    width: 100%;
    height: clamp(520px, 70svh, 720px);
  }

  .product-preview-section {
    padding: 56px 0 80px;
  }
}

/* ====================================================
   Connected systems
   ==================================================== */
.systems-section {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--white);
}

.logos-container {
  max-width: var(--container);
}

.systems-grid {
  margin-top: 42px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: var(--soft);
}

.systems-grid span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 64px;
  padding: 14px 18px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--white);
  transition: border-color 0.25s var(--ease), transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.systems-grid img {
  display: block;
  max-width: 142px;
  max-height: 30px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: grayscale(1);
  opacity: 0.72;
  transition: filter 0.25s var(--ease), opacity 0.25s var(--ease);
}

.systems-grid span:hover {
  border-color: var(--black);
  box-shadow: var(--shadow);
  transform: translateY(-1px);
}

.systems-grid span:hover img {
  filter: grayscale(0);
  opacity: 1;
}

/* ====================================================
   Section shared
   ==================================================== */
.section {
  padding: 100px 0;
}

.section-title {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.18;
  max-width: 720px;
}

.section-sub {
  margin-top: 18px;
  font-size: 17px;
  line-height: 1.65;
  color: var(--text-muted);
  max-width: 640px;
}

.text-white {
  color: var(--white);
}

/* product showcase */
.showcase {
  padding-top: 75px;
}

.platform-showcase {
  margin-top: 80px;
  padding: 80px 0;
  background: var(--gray-bg);
}

.showcase-copy {
  max-width: 760px;
}

.showcase-frame {
  margin-top: 48px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
  background: var(--gray-bg);
}

.showcase-frame img {
  width: 100%;
  border-radius: 8px;
  border: 1px solid var(--border);
}

/* problem visual */
.problem-visual {
  margin-top: 48px;
  margin-bottom: 8px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  display: flex;
  justify-content: center;
}

.problem-visual img {
  width: 100%;
  max-width: 720px;
}

/* card grid */
.card-grid {
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: border-color 0.25s var(--ease), transform 0.25s var(--ease);
}
.card:hover {
  border-color: var(--black);
  transform: translateY(-4px);
}

.card-num {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--text-faint);
  margin-bottom: 16px;
}

.card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
}

.card p {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--text-muted);
}

/* stats band */
.stats-band {
  margin-top: 80px;
  padding: 64px 0;
  background: var(--gray-bg);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.stat-num {
  font-size: clamp(28px, 4vw, 38px);
  font-weight: 700;
  letter-spacing: 0;
}

.stat-label {
  margin-top: 10px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--text-muted);
  min-height: 42px;
}

.stat-source {
  margin-top: 10px;
  font-size: 12px;
  font-weight: 400;
  color: var(--text-faint);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.stats-footnote {
  margin-top: 36px;
  text-align: center;
  font-size: 15px;
  font-weight: 400;
  color: var(--text-muted);
}

/* steps */
.steps-grid {
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.step {
  border-top: 2px solid var(--black);
  padding-top: 20px;
}

.step-index {
  font-size: 22px;
  font-weight: 700;
}

.step-desc {
  margin-top: 8px;
  font-size: 15px;
  color: var(--text-muted);
}

.platform-build-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 1.05fr);
  gap: 56px;
  align-items: center;
}

.platform-build-copy .section-title,
.platform-build-copy .section-sub {
  max-width: 620px;
}

.platform-steps {
  grid-template-columns: 1fr;
  gap: 18px;
  margin-top: 44px;
}

.platform-steps .step {
  display: grid;
  grid-template-columns: 112px 1fr;
  gap: 24px;
  align-items: start;
  padding-top: 18px;
}

.platform-steps .step-desc {
  margin-top: 2px;
}

.platform-system-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
  background: var(--gray-bg);
}

.platform-system-card img {
  width: 100%;
  border-radius: 10px;
  background: var(--white);
}

.platform-system-card > p:last-child {
  margin-top: 18px;
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--text-muted);
}

.workflow-grid {
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.workflow-card {
  background: var(--gray-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
}

.workflow-card-featured {
  background: var(--black);
  border-color: var(--black);
  color: var(--white);
}

.workflow-card h3 {
  font-size: 22px;
  font-weight: 700;
  line-height: 1.18;
}

.workflow-card p {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 16px;
}

.workflow-card strong {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
  color: var(--text-faint);
}

.workflow-card-featured strong {
  color: rgba(255, 255, 255, 0.45);
}

.workflow-card span {
  font-size: 14px;
  line-height: 1.55;
  color: var(--text-muted);
}

.workflow-card-featured p {
  border-top-color: rgba(255, 255, 255, 0.14);
}

.workflow-card-featured span {
  color: rgba(255, 255, 255, 0.68);
}

/* architecture */
.architecture {
  margin-top: 80px;
  padding: 64px 0;
  background: var(--charcoal);
  color: var(--white);
}

section.architecture {
  margin-top: 0;
  padding: 100px 0;
}

.arch-title {
  font-size: 26px;
  font-weight: 700;
}

.arch-sub {
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 15px;
}

.arch-grid {
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.arch-col-label {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 20px;
}

.arch-list li {
  padding: 14px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.arch-list li strong {
  font-size: 15px;
  font-weight: 700;
}

.arch-list li span {
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.5;
}

.arch-visual-wide {
  margin-top: 56px;
  display: flex;
  justify-content: center;
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px;
}

.product-band {
  background: var(--white);
}

.use-case {
  background: var(--gray-bg);
}

.case-grid {
  margin-top: 56px;
  display: grid;
  grid-template-columns: minmax(320px, 0.9fr) minmax(0, 1.1fr);
  gap: 28px;
  align-items: stretch;
}

.case-summary {
  background: var(--black);
  color: var(--white);
  border-radius: var(--radius);
  padding: 32px;
}

.case-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
}

.case-summary h3 {
  margin-top: 14px;
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 700;
  line-height: 1.15;
}

.case-summary p:last-child {
  margin-top: 22px;
  font-size: 15px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.68);
}

.case-badges {
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.case-badges span {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.82);
  font-size: 12.5px;
  font-weight: 400;
}

.case-flow {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.case-flow > div {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
}

.case-flow span {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-faint);
}

.case-flow h3 {
  margin-top: 18px;
  font-size: 19px;
  font-weight: 700;
}

.case-flow p {
  margin-top: 10px;
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--text-muted);
}

.usecase-grid {
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  align-items: stretch;
}

.usecase-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px;
  min-height: 360px;
  display: flex;
  flex-direction: column;
}

.usecase-card-dark {
  background: var(--black);
  color: var(--white);
  border-color: var(--black);
}

.usecase-card:not(.usecase-card-dark) .case-label {
  color: var(--text-faint);
}

.usecase-card h3 {
  margin-top: 16px;
  font-size: clamp(24px, 2.5vw, 32px);
  font-weight: 700;
  line-height: 1.15;
}

.usecase-card > p:not(.case-label) {
  margin-top: 22px;
  font-size: 15px;
  line-height: 1.65;
  color: var(--text-muted);
}

.usecase-card-dark > p:not(.case-label) {
  color: rgba(255, 255, 255, 0.7);
}

.usecase-detail {
  margin-top: auto;
  padding-top: 24px;
}

.usecase-detail span {
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-faint);
}

.usecase-card-dark .usecase-detail span {
  color: rgba(255, 255, 255, 0.45);
}

.usecase-detail p {
  margin-top: 10px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--text-muted);
}

.usecase-card-dark .usecase-detail p {
  border-top-color: rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.65);
}

.product-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
  gap: 64px;
  align-items: start;
}

.feature-list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--border);
}

.feature-row {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 20px;
  padding: 24px 0;
  border-bottom: 1px solid var(--border);
}

.feature-row > span {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-faint);
}

.feature-row h3 {
  font-size: 19px;
  font-weight: 700;
}

.feature-row p {
  margin-top: 8px;
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--text-muted);
}

.text-soft {
  color: rgba(255, 255, 255, 0.65);
}

.mcp-section {
  background: var(--white);
}

.mcp-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.3fr) minmax(0, 0.7fr);
  gap: 56px;
  align-items: center;
}

.mcp-copy .section-title {
  font-size: clamp(42px, 4vw, 72px);
}

.mcp-copy .section-sub {
  max-width: 420px;
}

.mcp-points {
  margin-top: 30px;
  display: grid;
  gap: 16px;
  max-width: 420px;
}

.mcp-points p {
  padding-top: 16px;
  border-top: 1px solid var(--border);
  font-size: 15px;
  line-height: 1.55;
  color: var(--text-muted);
}

.mcp-points strong {
  color: var(--black);
}

.mcp-video-frame {
  margin-top: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 12px;
  background: var(--white);
  box-shadow: 0 24px 70px rgba(13, 13, 13, 0.06);
}

.mcp-video-frame video {
  width: 100%;
  aspect-ratio: 16 / 10;
  display: block;
  border-radius: 8px;
  background: var(--gray-bg);
  object-fit: cover;
}

.mcp-grid {
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.mcp-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  background: var(--gray-bg);
}

.mcp-card .compare-label {
  color: #0f8f8a;
}

.mcp-card h3 {
  margin-top: 14px;
  font-size: 20px;
  font-weight: 700;
  color: var(--black);
}

.mcp-card p:last-child {
  margin-top: 12px;
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--text-muted);
}

.arch-visual-wide img {
  width: 100%;
  max-width: 640px;
}

.arch-connects-label {
  margin-top: 24px;
  font-size: 13px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.arch-connects {
  margin-top: 8px;
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
}

.expansion-vision {
  background: var(--gray-bg);
}

.final-cta {
  background: var(--black);
  color: var(--white);
  text-align: left;
}

.cta-inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.cta-inner .hero-actions {
  margin-top: 32px;
}

/* templates */
.templates-grid {
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.template-card {
  background: var(--gray-bg);
  border-radius: var(--radius);
  padding: 28px;
  transition: background 0.25s var(--ease), transform 0.25s var(--ease);
}
.template-card:hover {
  background: var(--black);
  transform: translateY(-4px);
}
.template-card:hover * {
  color: var(--white) !important;
}

.template-card h3 {
  font-size: 18px;
  font-weight: 700;
}

.template-flow {
  margin-top: 14px;
  font-size: 14px;
  font-weight: 400;
  color: var(--text);
  line-height: 1.6;
}

.template-stack {
  margin-top: 14px;
  font-size: 12.5px;
  color: var(--text-faint);
}

/* pricing */
.pricing-hero {
  min-height: auto;
  padding-bottom: 72px;
}

.pricing-section {
  padding-top: 72px;
}

.pricing-grid {
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
}

.pricing-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  background: var(--white);
  display: flex;
  flex-direction: column;
}

.pricing-card-featured {
  border-color: var(--black);
  background: var(--gray-bg);
}

.pricing-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-faint);
}

.pricing-card h3 {
  margin-top: 14px;
  font-size: 24px;
  font-weight: 700;
}

.pricing-price {
  margin-top: 24px;
  font-size: clamp(30px, 4vw, 42px);
  font-weight: 700;
  letter-spacing: 0;
}

.pricing-subprice {
  margin-top: 6px;
  font-size: 14px;
  font-weight: 400;
  color: var(--text-muted);
}

.pricing-desc {
  margin-top: 22px;
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--text-muted);
}

.pricing-list {
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.pricing-list li {
  position: relative;
  padding-left: 18px;
  font-size: 14px;
  line-height: 1.45;
  color: var(--text-muted);
}

.pricing-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.58em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--black);
}

/* legal */
.legal-hero {
  padding: 96px 0 64px;
  border-bottom: 1px solid var(--border);
  background: var(--white);
}

.legal-updated {
  margin-top: 28px;
  font-size: 14px;
  font-weight: 400;
  color: var(--text-faint);
}

.legal-section {
  padding: 72px 0 104px;
}

.legal-layout {
  display: grid;
  grid-template-columns: 220px minmax(0, 760px);
  gap: 72px;
  align-items: start;
}

.legal-toc {
  position: sticky;
  top: 96px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.legal-toc a {
  padding: 9px 0;
  font-size: 13.5px;
  font-weight: 400;
  color: var(--text-faint);
  transition: color 0.2s var(--ease);
}

.legal-toc a:hover {
  color: var(--black);
}

.legal-content {
  min-width: 0;
}

.legal-content section {
  scroll-margin-top: 96px;
  padding-bottom: 40px;
  margin-bottom: 40px;
  border-bottom: 1px solid var(--border);
}

.legal-content section:last-child {
  padding-bottom: 0;
  margin-bottom: 0;
  border-bottom: 0;
}

.legal-content h2 {
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: 0;
}

.legal-content h3 {
  margin-top: 28px;
  font-size: 18px;
  font-weight: 700;
}

.legal-content p,
.legal-content li {
  font-size: 15.5px;
  line-height: 1.75;
  color: var(--text-muted);
}

.legal-content p {
  margin-top: 16px;
}

.legal-content ul {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.legal-content li {
  position: relative;
  padding-left: 20px;
}

.legal-content li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--black);
}

/* help center */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.help-hero {
  padding: 112px 0 78px;
  background: var(--white);
  border-bottom: 1px solid var(--border);
}

.help-hero-inner {
  text-align: center;
}

.help-hero .hero-title,
.help-hero .hero-sub {
  margin-left: auto;
  margin-right: auto;
}

.help-search {
  width: min(760px, 100%);
  margin: 34px auto 0;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  padding: 8px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--white);
  box-shadow: 0 18px 48px rgba(13, 13, 13, 0.08);
}

.help-search input {
  min-width: 0;
  border: 0;
  background: transparent;
  padding: 0 18px;
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--text);
  outline: none;
}

.help-search input::placeholder {
  color: var(--text-faint);
}

.help-section {
  padding-top: 82px;
}

.help-steps,
.help-topic-grid {
  margin-top: 52px;
  display: grid;
  gap: 24px;
}

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

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

.help-step,
.help-topic {
  display: block;
  min-height: 100%;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
  padding: 28px;
  transition: transform 0.24s var(--ease), border-color 0.24s var(--ease), box-shadow 0.24s var(--ease);
}

.help-step:hover,
.help-topic:hover {
  transform: translateY(-3px);
  border-color: rgba(15, 143, 138, 0.32);
  box-shadow: 0 18px 48px rgba(13, 13, 13, 0.08);
}

.help-step span,
.help-topic-label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #0f8f8a;
}

.help-step h3,
.help-topic h3 {
  margin-top: 16px;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.2;
}

.help-step p,
.help-topic p:last-child {
  margin-top: 12px;
  font-size: 15px;
  line-height: 1.65;
  color: var(--text-muted);
}

.help-articles {
  background: var(--white);
}

.legal-content a {
  color: var(--black);
  font-weight: 700;
  border-bottom: 1px solid var(--black);
}

/* register */
.register-hero {
  padding-bottom: 56px;
}

.register-section {
  padding-top: 0;
}

.register-card {
  max-width: 560px;
  margin: 0 auto;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px;
  background: var(--white);
}

.register-field {
  margin-bottom: 20px;
}

.register-field label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 8px;
}

.register-field input,
.register-field select {
  width: 100%;
  font-family: var(--font-body);
  font-size: 15px;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--white);
  color: var(--text);
}

.register-field input:focus,
.register-field select:focus {
  outline: none;
  border-color: var(--black);
}

.register-consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 14px;
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.5;
}

.register-consent input {
  margin-top: 3px;
  flex-shrink: 0;
}

.register-consent a {
  color: var(--black);
  font-weight: 700;
  border-bottom: 1px solid var(--black);
}

.register-submit {
  width: 100%;
  margin-top: 8px;
  border: none;
  cursor: pointer;
}

.register-submit:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  transform: none !important;
}

.register-message {
  margin-top: 16px;
  font-size: 14px;
  line-height: 1.5;
}

.register-message.error {
  color: #b42318;
}

.register-message.success {
  color: var(--text);
  font-weight: 700;
}

.register-success {
  text-align: center;
  padding: 40px 20px;
}

.register-success h2 {
  font-size: 24px;
  margin-bottom: 12px;
}

.register-success p {
  color: var(--text-muted);
  line-height: 1.6;
}

.legal-table-wrap {
  margin-top: 22px;
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--white);
}

.legal-table {
  width: 100%;
  min-width: 820px;
  border-collapse: collapse;
}

.legal-table th,
.legal-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
  border-right: 1px solid var(--border);
  text-align: left;
  vertical-align: top;
  font-size: 13.5px;
  line-height: 1.55;
}

.legal-table th {
  color: var(--text);
  font-weight: 700;
  background: var(--gray-bg);
}

.legal-table td {
  color: var(--text-muted);
}

.legal-table th:last-child,
.legal-table td:last-child {
  border-right: 0;
}

.legal-table tr:last-child td {
  border-bottom: 0;
}

/* dark section / category creation */
.section-dark {
  background: var(--black);
}

.compare-grid {
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.compare-col {
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius);
  padding: 32px;
}

.compare-col-active {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.04);
}

.compare-label {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
}

.compare-headline {
  margin-top: 14px;
  font-size: 21px;
  font-weight: 700;
  color: var(--white);
}

.compare-body {
  margin-top: 14px;
  font-size: 14.5px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.6);
}

.flow-strip {
  margin-top: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  font-size: clamp(18px, 3vw, 26px);
  font-weight: 700;
  color: var(--white);
}

.flow-arrow {
  color: rgba(255, 255, 255, 0.35);
}

/* footer */
.footer {
  background: var(--charcoal);
  padding: 56px 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
}

.footer-logo img {
  height: 20px;
}

.footer-links {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
}

.footer-links a {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.55);
  transition: color 0.2s var(--ease);
}
.footer-links a:hover {
  color: var(--white);
}

.footer-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  align-items: center;
}

.footer-contact a {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.72);
  transition: color 0.2s var(--ease);
}

.footer-contact a:hover {
  color: var(--white);
}

.footer-copy {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.35);
}

/* ====================================================
   Type scale normalization
   ==================================================== */
.btn {
  font-size: 16px;
}

.btn-small {
  font-size: 14px;
}

.nav-links a {
  font-size: 15px;
}

.nav-mobile a {
  font-size: 18px;
}

.hero-pill {
  font-size: 15px;
}

.eyebrow,
.product-insight-kicker,
.case-label,
.pricing-label,
.compare-label,
.arch-col-label,
.feature-row > span,
.workflow-card strong,
.usecase-detail span,
.card-num,
.step-desc,
.stat-source {
  font-size: 14px;
}

.hero-title {
  font-size: clamp(50px, 4.6vw, 74px);
}

.hero-sub {
  font-size: clamp(17px, 1.15vw, 19px);
}

.product-tab {
  font-size: 15px;
  font-weight: 700;
}

.product-insight-card h3 {
  font-size: 24px;
}

.product-insight-card p:not(.product-insight-kicker) {
  font-size: 16px;
}

.section-title {
  font-size: clamp(34px, 4.5vw, 56px);
  max-width: 860px;
}

.section-sub {
  font-size: 19px;
  max-width: 760px;
}

.card h3,
.template-card h3 {
  font-size: 22px;
}

.card p,
.platform-system-card > p:last-child,
.feature-row p,
.mcp-card p:last-child,
.compare-body,
.pricing-desc,
.case-flow p,
.usecase-card > p:not(.case-label),
.case-summary p:last-child {
  font-size: 16px;
}

.workflow-card h3,
.pricing-card h3 {
  font-size: 28px;
}

.workflow-card span,
.pricing-list li,
.template-flow,
.stat-label,
.stats-footnote,
.arch-sub,
.arch-list li strong,
.arch-list li span,
.arch-connects,
.usecase-detail p {
  font-size: 16px;
}

.stat-num {
  font-size: clamp(34px, 4.4vw, 48px);
}

.step-index {
  font-size: 28px;
}

.arch-title {
  font-size: 34px;
}

.case-summary h3,
.usecase-card h3,
.legal-content h2 {
  font-size: clamp(30px, 3.6vw, 44px);
}

.case-badges span,
.case-flow span {
  font-size: 14px;
}

.case-flow h3,
.feature-row h3,
.mcp-card h3,
.compare-headline,
.legal-content h3 {
  font-size: 23px;
}

.pricing-price {
  font-size: clamp(38px, 4.4vw, 56px);
}

.pricing-subprice,
.legal-updated,
.register-message,
.footer-links a,
.footer-contact a,
.footer-copy {
  font-size: 16px;
}

.legal-toc a,
.legal-table th,
.legal-table td,
.register-field label,
.register-consent {
  font-size: 15px;
}

.legal-content p,
.legal-content li,
.register-field input,
.register-field select {
  font-size: 17px;
}

.register-success h2 {
  font-size: 30px;
}

/* ====================================================
   Responsive
   ==================================================== */
@media (max-width: 920px) {
  .card-grid,
  .steps-grid,
  .arch-grid,
  .templates-grid,
  .workflow-grid,
  .pricing-grid,
  .compare-grid,
  .usecase-grid,
  .case-flow,
  .mcp-grid {
    grid-template-columns: 1fr 1fr;
  }
	  .product-grid,
	  .case-grid,
	  .hero-grid,
	  .platform-build-grid,
	  .mcp-layout,
	  .legal-layout {
	    grid-template-columns: 1fr;
	    gap: 44px;
	  }
  .hero-split {
    min-height: calc(100svh - 78px);
    min-height: calc(100vh - 78px);
  }
  .home-hero {
    padding: 0;
  }
  .home-hero .hero-grid {
    min-height: calc(100svh - 62px);
    min-height: calc(100vh - 62px);
  }
  .hero-title {
    max-width: 760px;
  }
  .hero-usecases {
    margin-top: 48px;
  }
  .hero-visual {
    min-height: min(46svh, 520px);
  }
  .hero-product-frame {
    left: 0;
    width: 100%;
    top: 50%;
    transform: translateY(-50%);
  }
  .product-preview-section .hero-product-frame {
    top: auto;
    transform: none;
    height: clamp(520px, 68svh, 760px);
  }
  .legal-toc {
    position: static;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0 24px;
    padding-bottom: 28px;
    border-bottom: 1px solid var(--border);
  }
  .nav-links {
    gap: 18px;
  }
  .nav-links a {
    font-size: 15px;
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 40px;
  }
  .systems-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .help-steps,
  .help-topic-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 720px) {
  .nav-links {
    display: none;
  }
  .nav-cta {
    display: none;
  }
  .nav-toggle {
    display: flex;
  }

  .hero {
    padding: 88px 0 56px;
  }
  .hero-split {
    text-align: left;
    min-height: calc(100svh - 62px);
    min-height: calc(100vh - 62px);
    padding: 48px 0;
  }
  .home-hero {
    text-align: center;
    padding: 0;
  }
  .home-hero .hero-grid {
    min-height: calc(100svh - 62px);
    min-height: calc(100vh - 62px);
    padding: 40px 24px;
  }
  .hero-title {
    font-size: clamp(42px, 11vw, 58px);
  }
  .hero-sub {
    margin-top: 22px;
    font-size: 18px;
  }
  .hero-actions {
    margin-top: 30px;
  }
  .hero-usecases {
    display: none;
  }
  .hero-visual {
    display: none;
  }
  .product-preview-section {
    padding: 44px 0 64px;
  }
  .process-flow-section {
    padding: 56px 0 66px;
  }
  .process-flow-frame {
    margin-top: 28px;
    padding: 8px;
    border-radius: 18px;
    overflow-x: auto;
  }
  .process-flow-frame img {
    min-width: 860px;
    border-radius: 12px;
  }
  .product-preview-section .hero-visual {
    display: block;
    width: min(100%, calc(100vw - 32px));
  }
  .product-preview-section .product-tabs {
    grid-template-columns: repeat(2, 1fr);
    border-radius: 18px 18px 0 0;
  }
  .product-preview-section .product-tab {
    min-height: 54px;
    font-size: 14px;
  }
  .product-preview-section .hero-product-frame {
    height: clamp(360px, 58svh, 520px);
    border-radius: 0 0 18px 18px;
  }
  .product-preview-section .product-insight-card {
    display: none;
  }
  .hd-systems {
    flex-wrap: wrap;
  }
  .hd-node {
    flex: 1 1 40%;
  }
  .hd-lines {
    display: none;
  }

  .section {
    padding: 72px 0;
  }

  .legal-hero {
    padding: 80px 0 52px;
  }

  .legal-section {
    padding: 48px 0 72px;
  }

  .legal-toc {
    grid-template-columns: 1fr;
  }

  .card-grid,
  .steps-grid,
  .arch-grid,
  .templates-grid,
  .workflow-grid,
  .pricing-grid,
  .compare-grid,
  .usecase-grid,
  .case-flow,
  .mcp-grid,
  .stats-grid,
  .help-steps,
  .help-topic-grid {
    grid-template-columns: 1fr;
  }

  .help-hero {
    padding: 84px 0 56px;
  }

  .help-search {
    grid-template-columns: 1fr;
    border-radius: 22px;
    padding: 10px;
  }

  .help-search input {
    min-height: 48px;
    text-align: center;
  }

  .help-search .btn {
    width: 100%;
  }

  .systems-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    padding: 8px;
    border-radius: 14px;
  }

  .systems-grid span {
    min-height: 58px;
    padding: 12px 10px;
  }

  .systems-grid img {
    max-width: 118px;
    max-height: 28px;
  }

  .platform-steps .step {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .platform-system-card {
    padding: 18px;
  }

  .workflow-card p {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .flow-strip {
    gap: 14px;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
  .footer-links {
    gap: 14px 20px;
  }
}
