/* Launch polish: readable type, responsive navigation, and the workflow preview. */
html { -webkit-text-size-adjust: 100%; }
body { overflow-x: clip; }
.hero { overflow: clip; }
.hero-inner {
  grid-template-columns: minmax(0, .98fr) minmax(0, 1.02fr);
  gap: clamp(34px, 4vw, 58px);
  min-height: 720px;
  padding: 76px 0 84px;
}
.hero-copy { min-width: 0; }
.hero h1 {
  font-size: clamp(57px, 5.35vw, 76px);
  line-height: 1.075;
  letter-spacing: -.072em;
  max-width: 100%;
  margin: 22px 0 23px;
}
.hero h1 em { display: inline-block; padding: .01em .11em .075em 0; margin-bottom: -.075em; }
.hero-lede { font-size: clamp(17px, 1.55vw, 19px); max-width: 570px; }
.hero-visual { padding: 38px 0 14px; min-width: 0; }
.ambient-one { width: 88%; height: auto; aspect-ratio: 1; }
.ambient-two { width: 53%; height: auto; aspect-ratio: 1; right: 0; }
.workflow-frame { position: relative; z-index: 1; }
.workflow-frame-head {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  margin: 0 2px 12px; color: #637188; font-size: 11px; font-weight: 650;
}
.workflow-preview-label { display: inline-flex; align-items: center; gap: 8px; }
.workflow-preview-label .live-dot { width: 6px; height: 6px; box-shadow: 0 0 0 4px rgba(96,185,138,.14); }
.workflow-play {
  display: inline-flex; align-items: center; gap: 6px; border: 1px solid #dce5f1;
  border-radius: 100px; background: rgba(255,255,255,.8); color: #4d5d73;
  padding: 6px 11px; font-size: 11px; font-weight: 650;
  transition: background .2s ease, border-color .2s ease;
}
.workflow-play:hover { background: white; border-color: #bdd0ed; }
.workflow-play span { font-size: 12px; line-height: 1; }
.workflow-window { transform: none; border-radius: 20px; }
.workflow-window:hover { transform: translateY(-3px); }
.workflow-window .window-top { height: 48px; padding: 0 18px; }
.workflow-window-id { color: #9aa5b6; font-size: 9px; font-weight: 700; letter-spacing: .09em; }
.workflow-app { display: grid; grid-template-columns: 112px minmax(0,1fr); min-height: 405px; }
.workflow-rail {
  display: flex; flex-direction: column; gap: 4px; border-right: 1px solid #eaf0f6;
  padding: 23px 10px 14px; background: rgba(246,249,254,.7);
}
.workflow-rail-label { padding: 0 7px 10px; color: #9ba8b9; font-size: 8px; letter-spacing: .11em; font-weight: 800; }
.workflow-rail-item { display: flex; align-items: center; gap: 8px; padding: 8px 7px; border-radius: 8px; color: #8a97aa; font-size: 10px; font-weight: 600; }
.workflow-rail-item span { font-size: 15px; line-height: 1; }
.workflow-rail-item.is-current { color: #315fae; background: #eaf1ff; }
.workflow-rail-foot { display: flex; align-items: center; gap: 6px; margin-top: auto; padding: 8px 5px 0; border-top: 1px solid #e6edf6; color: #8795a7; font-size: 9px; font-weight: 600; white-space: nowrap; }
.workflow-user-dot { display: grid; place-items: center; width: 19px; height: 19px; border-radius: 50%; background: #dfe9fb; color: #4069ae; font-size: 9px; }
.workflow-main { min-width: 0; padding: 19px 20px 14px; }
.workflow-title-row { display: flex; align-items: start; justify-content: space-between; gap: 12px; }
.workflow-title-row h2 { margin: 5px 0 0; font-size: clamp(17px, 1.6vw, 22px); line-height: 1.13; letter-spacing: -.045em; }
.workflow-title-row p { color: #909cac; font-size: 10px; margin: 3px 0 0; }
.workflow-file-status { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 5px; padding: 5px 8px; background: #eaf8f0; border-radius: 100px; color: #38825d; font-size: 9px; font-weight: 700; white-space: nowrap; }
.workflow-file-status .live-dot { width: 5px; height: 5px; box-shadow: none; }
.workflow-summary { display: grid; grid-template-columns: 1fr .9fr 1fr; gap: 9px; padding: 16px 0 13px; border-bottom: 1px solid #edf1f6; }
.workflow-summary div { min-width: 0; }
.workflow-summary small,.workflow-current small { display: block; color: #9aa5b5; font-size: 8px; font-weight: 750; letter-spacing: .09em; white-space: nowrap; }
.workflow-summary strong { display: block; margin-top: 4px; color: #253347; font-size: 10px; line-height: 1.3; white-space: nowrap; }
.workflow-progress-heading { display: flex; justify-content: space-between; margin-top: 14px; color: #67758a; font-size: 10px; font-weight: 650; }
.workflow-progress-heading strong { color: #3367c3; }
.workflow-main .progress-track { margin: 7px 0 14px; height: 5px; }
.workflow-main .progress-track span { background: linear-gradient(90deg,#5c8df4,#3b71dc); transition: width .7s cubic-bezier(.2,.8,.2,1); }
.workflow-current { display: grid; grid-template-columns: 28px minmax(0,1fr) 16px; align-items: center; gap: 8px; min-height: 67px; padding: 10px 11px; border: 1px solid #dce8fc; border-radius: 11px; background: linear-gradient(120deg,#f1f6ff,#fbfdff); }
.workflow-current.is-updating { animation: workflow-update .55s cubic-bezier(.2,.8,.2,1); }
.workflow-current-icon { display: grid; place-items: center; width: 27px; height: 27px; border-radius: 8px; background: white; color: #4b78cf; box-shadow: 0 2px 8px rgba(42,79,142,.1); font-size: 15px; }
.workflow-current strong { display: block; color: #253347; margin: 3px 0 1px; font-size: 11px; line-height: 1.2; }
.workflow-current p { margin: 0; color: #8190a4; font-size: 9px; line-height: 1.35; }
.workflow-current-check { color: #5597d5; font-weight: 800; align-self: start; }
.workflow-section-label { display: flex; justify-content: space-between; margin: 15px 0 6px; color: #26364d; font-size: 10px; font-weight: 750; }
.workflow-section-label span:last-child { color: #8999ac; font-size: 9px; font-weight: 600; }
.workflow-checklist > div { display: grid; grid-template-columns: 18px minmax(0,1fr) auto; gap: 7px; align-items: center; min-height: 28px; border-top: 1px solid #f1f3f7; color: #8190a1; font-size: 9px; transition: color .3s ease, background .3s ease; }
.workflow-checklist .workflow-check-icon { display: grid; place-items: center; width: 15px; height: 15px; border: 1px solid #d9e1ed; border-radius: 50%; color: #a5b0be; font-size: 8px; font-weight: 700; }
.workflow-checklist .is-done { color: #34445a; }
.workflow-checklist .is-done .workflow-check-icon { background: #53b789; border-color: #53b789; color: white; }
.workflow-checklist .is-current { color: #3366bb; background: rgba(234,242,255,.55); }
.workflow-checklist small { color: #9daaba; font-size: 8px; }
.workflow-checklist .is-done small { color: #459a70; }
.workflow-activity { display: flex; align-items: center; gap: 7px; padding-top: 9px; border-top: 1px solid #eef2f7; color: #758499; font-size: 9px; }
.workflow-activity-pulse { width: 6px; height: 6px; border-radius: 50%; background: #5dbb91; box-shadow: 0 0 0 3px #e8f6ef; }
.workflow-activity-pulse { animation: workflow-pulse 3.3s ease-in-out infinite; }
.workflow-activity small { margin-left: auto; color: #a6b2bf; font-size: 8px; }
.workflow-stages { display: grid; grid-template-columns: repeat(4,1fr); gap: 5px; margin-top: 10px; padding: 5px; border: 1px solid rgba(230,237,247,.9); border-radius: 12px; background: rgba(255,255,255,.72); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); }
.workflow-stages button { display: flex; align-items: center; justify-content: center; gap: 6px; min-width: 0; min-height: 34px; border: 0; border-radius: 8px; background: transparent; color: #8290a2; font-size: 10px; font-weight: 650; transition: background .25s ease, color .25s ease, box-shadow .25s ease; }
.workflow-stages button:hover { background: #eff4fc; }
.workflow-stages button[aria-pressed="true"] { background: white; color: #315fae; box-shadow: 0 2px 8px rgba(38,71,123,.11); }
.workflow-stages button span { font-size: 8px; opacity: .68; }
.workflow-caption { position: relative; z-index: 1; margin: 10px 0 0; text-align: center; color: #9aa6b7; font-size: 10px; }

/* Keep titles, the navigation, and controls inside their layout at all sizes. */
.page-hero h1,.section-intro h2,.wire-copy h2,.close-card h2,.trust-summary h2,.mini-cta h2,.dev-layout h2,.library-heading h2 {
  line-height: 1.12; padding-bottom: .07em; overflow-wrap: normal;
}
.page-hero h1 { margin-bottom: 21px; }
.section-intro h2 { margin-bottom: 18px; }
.wire-copy h2,.close-card h2,.trust-summary h2,.mini-cta h2,.dev-layout h2 { margin-bottom: 18px; }
.page-hero,.section,.close-section { overflow: clip; }
.button,.nav-cta { line-height: 1.25; text-align: center; }
.footer-main nav { flex-wrap: wrap; }
.footer-bottom { line-height: 1.5; }
@keyframes workflow-update {
  from { opacity: .65; transform: translateY(4px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes workflow-pulse {
  0%, 100% { box-shadow: 0 0 0 3px #e8f6ef; }
  50% { box-shadow: 0 0 0 5px rgba(232,246,239,.48); }
}

@media (max-width: 1149px) {
  .hero-inner { display: block; max-width: 920px; min-height: 0; padding: 72px 0 82px; }
  .hero-copy { max-width: 800px; }
  .hero h1 { font-size: clamp(60px, 7.4vw, 88px); }
  .hero-visual { max-width: 820px; margin: 12px auto 0; padding-top: 32px; }
  .workflow-title-row h2 { font-size: 23px; }
  .workflow-app { grid-template-columns: 145px minmax(0,1fr); }
  .workflow-main { padding: 23px 26px 17px; }
  .workflow-summary strong { font-size: 12px; }
  .workflow-checklist > div { font-size: 10px; min-height: 31px; }
}
@media (max-width: 900px) {
  .nav-inner { gap: 12px; }
  .desktop-nav,.nav-cta { display: none; }
  .menu-button { display: block; margin-left: auto; }
  .mobile-nav { display: flex; flex-direction: column; gap: 0; padding: 8px 20px 20px; background: #fff; border-top: 1px solid #edf0f4; }
  .mobile-nav[hidden] { display: none; }
  .mobile-nav a { padding: 12px 2px; font-size: 14px; }
}
@media (max-width: 760px) {
  .hero-inner { padding: 64px 0 58px; }
  .hero h1 { font-size: clamp(42px, 9.2vw, 68px); line-height: 1.08; margin: 18px 0 20px; }
  .page-hero h1 { font-size: clamp(42px, 9.2vw, 68px); overflow-wrap: anywhere; }
  .hero-lede { font-size: 17px; }
  .hero-visual { margin: 17px 0 0; padding: 24px 0 0; }
  .workflow-window:hover { transform: none; }
  .workflow-app { grid-template-columns: 105px minmax(0,1fr); min-height: 0; }
  .workflow-main { padding: 17px 16px 13px; }
  .workflow-title-row h2 { font-size: 18px; }
  .workflow-summary strong { font-size: 10px; }
}
@media (max-width: 560px) {
  .workflow-app { display: block; }
  .workflow-rail { flex-direction: row; align-items: center; gap: 3px; padding: 7px 10px; border-right: 0; border-bottom: 1px solid #eaf0f6; }
  .workflow-rail-label,.workflow-rail-foot { display: none; }
  .workflow-rail-item { padding: 5px 7px; }
  .workflow-main { padding: 18px 16px 15px; }
  .workflow-title-row { align-items: center; }
  .workflow-title-row h2 { font-size: 20px; }
  .workflow-summary { gap: 4px; }
  .workflow-summary strong { font-size: 10px; }
  .workflow-current strong { font-size: 12px; }
  .workflow-current p,.workflow-checklist > div,.workflow-activity { font-size: 10px; }
  .workflow-stages button { font-size: 9px; gap: 3px; }
  .workflow-stages button span { font-size: 7px; }
}
@media (max-width: 390px) {
  .hero h1 { font-size: clamp(39px, 11.4vw, 43px); }
  .workflow-window .window-top { padding: 0 13px; }
  .workflow-main { padding: 16px 13px 13px; }
  .workflow-file-status { font-size: 8px; padding: 4px 6px; }
  .workflow-summary { grid-template-columns: 1fr 1fr; gap: 9px; }
  .workflow-summary div:last-child { grid-column: 1 / -1; }
}
@media (prefers-reduced-motion: reduce) {
  .workflow-main .progress-track span,.workflow-stages button,.workflow-checklist > div,.workflow-play { transition: none; }
  .workflow-current.is-updating,.workflow-activity-pulse { animation: none; }
  .workflow-play { display: none; }
}
