:root {
  --bg: #0b0f14;
  --panel: #101723;
  --text: #eef2f8;
  --muted: #a5b3c7;
  --line: rgba(255, 255, 255, 0.1);
  --primary: #f59e0b;
  --primary2: #0ea5e9;
}
body {
  margin: 0;
  /* Prevent padding/width surprises across breakpoints */
  box-sizing: border-box;
  font-family:
    Inter,
    system-ui,
    Segoe UI,
    Roboto,
    Arial;
  background:
    radial-gradient(
      1100px 480px at 60% -10%,
      rgba(245, 158, 11, 0.22),
      transparent 60%
    ),
    radial-gradient(
      900px 480px at 0% 20%,
      rgba(14, 165, 233, 0.12),
      transparent 60%
    ),
    var(--bg);
  color: var(--text);
}
*, *::before, *::after { box-sizing: inherit; }
.wrap {
  max-width: 1180px;
  margin: 0 auto;
  /* Keep consistent side gutters + support iOS safe areas */
  padding-left: max(24px, env(safe-area-inset-left));
  padding-right: max(24px, env(safe-area-inset-right));
  padding-top: 0;
  padding-bottom: 0;
}
.topbar {
  position: sticky;
  top: 0;
  background: rgba(11, 15, 20, 0.78);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  z-index: 20;
}
.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  /* Explicit horizontal padding so menu never hugs screen edges on narrow viewports */
  padding-top: 14px;
  padding-bottom: 14px;
  padding-left: max(24px, env(safe-area-inset-left));
  padding-right: max(24px, env(safe-area-inset-right));
}

@media (max-width: 520px) {
  .wrap {
    padding-left: max(16px, env(safe-area-inset-left));
    padding-right: max(16px, env(safe-area-inset-right));
  }
  .topbar-inner {
    padding-left: max(16px, env(safe-area-inset-left));
    padding-right: max(16px, env(safe-area-inset-right));
  }
}
.brand {
  display: flex;
  gap: 10px;
  align-items: center;
  text-decoration: none;
  color: var(--text);
  font-weight: 850;
}
.brand-name {
  font-size: 22px;
  line-height: 1;
}
/* Logo mark image */
.brand-mark {
  width: 41px;
  height: 41px;
  display: block;
  object-fit: contain;
}

.nav {
  display: flex;
  gap: 16px;
  align-items: center;
}
/* Keep all nav items vertically centered (links + button) */
.nav a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 650;
  display: inline-flex;
  align-items: center;
  line-height: 1;
}
.nav a:not(.btn) {
  padding: 10px 0;
}
.btn {
  padding: 10px 14px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 750;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.btn-ghost {
  border: 1px solid var(--line);
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
}
.btn-primary {
  background: var(--primary);
  color: white;
}
.btn-secondary {
  border: 1px solid rgba(14, 165, 233, 0.35);
  color: var(--text);
  background: rgba(14, 165, 233, 0.06);
}
.hero {
  padding: 66px 0 44px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 40px;
  align-items: center;
}
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 10px;
  border: 1px solid rgba(14, 165, 233, 0.25);
  background: rgba(14, 165, 233, 0.08);
  border-radius: 999px;
  color: var(--muted);
  font-weight: 700;
  font-size: 12px;
}
.k-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
}
h1 {
  font-size: 46px;
  line-height: 1.06;
  margin: 14px 0 14px;
}
.lead {
  font-size: 18px;
  line-height: 1.6;
  color: var(--muted);
  max-width: 62ch;
}
.cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 18px;
}
.metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 28px;
}
.metric {
  border: 1px solid var(--line);
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.05),
    rgba(255, 255, 255, 0.02)
  );
  border-radius: 16px;
  padding: 14px;
  box-shadow: 0 10px 28px rgba(2, 6, 23, 0.06);
}
.metric-num {
  font-size: 20px;
  font-weight: 850;
}
.metric-sub {
  margin-top: 6px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.4;
}
.img-frame {
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 12px;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.05),
    rgba(255, 255, 255, 0.02)
  );
  box-shadow: 0 20px 50px rgba(2, 6, 23, 0.1);
}
.img-frame img {
  width: 100%;
  height: auto;
  border-radius: 16px;
  display: block;
}
.footer {
  border-top: 1px solid var(--line);
  padding: 18px 0 28px;
  color: var(--muted);
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}
.foot-links a {
  color: var(--muted);
  text-decoration: none;
  margin-left: 12px;
}
@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
  .metrics {
    grid-template-columns: 1fr;
  }
}

/* Metrics block imported from style 07 */
.metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 30px;
}
.metric {
  border-left: 2px solid rgba(147, 197, 253, 0.7);
  padding-left: 14px;
}
.metric-num {
  font-size: 20px;
  font-weight: 900;
}
.metric-sub {
  margin-top: 6px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.4;
}
@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
  .metrics {
    grid-template-columns: 1fr;
  }
}

/* Requested tweaks */
.img-frame {
  background: transparent !important;
  box-shadow: 0 22px 54px rgba(2, 6, 23, 0.1);
}
.metrics .metric {
  border-radius: 0 !important;
}
.metrics {
  border-radius: 0 !important;
}

/* Screen 2: How it works */
.how {
  padding: 56px 0 72px;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0),
    rgba(14, 165, 233, 0.03)
  );
}
.how h2 {
  margin: 0 0 10px;
  font-size: 26px;
}
.how-sub {
  margin: 0 0 22px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.6;
  max-width: 80ch;
}
.flow {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
}
.flow-step {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.92);
  padding: 14px;
  box-shadow: 0 10px 28px rgba(2, 6, 23, 0.05);
}
.flow-step.auto {
  border-top: 3px solid rgba(16, 185, 129, 0.8);
}
.flow-step.manual {
  border-top: 3px solid rgba(245, 158, 11, 0.85);
}
.flow-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}
.tag {
  font-size: 12px;
  font-weight: 850;
  padding: 5px 10px;
  border: 1px solid var(--line);
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.05),
    rgba(255, 255, 255, 0.02)
  );
  text-transform: none;
}
.tag.auto {
  border-color: rgba(16, 185, 129, 0.35);
  background: rgba(16, 185, 129, 0.08);
}
.tag.manual {
  border-color: rgba(245, 158, 11, 0.35);
  background: rgba(245, 158, 11, 0.1);
}
.n {
  font-weight: 900;
  color: var(--muted);
}
.flow-title {
  font-weight: 900;
  margin-bottom: 8px;
}
.flow-text {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}
.how-cta {
  margin-top: 18px;
}
@media (max-width: 1100px) {
  .flow {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 720px) {
  .flow {
    grid-template-columns: 1fr;
  }
  .how {
    padding-top: 40px;
  }
}

/* --- Workflow timeline (style 02 applied) --- */
.how {
  --how-text: var(--text, #0b1220);
  --how-muted: var(--muted, #526071);
  --how-line: #e5e7eb;
  --how-auto: var(--primary);
  --how-manual: var(--primary2);
  --how-accent: var(--primary);
}

/* Screen 4 (variant 07): square KPI piles + centered content */
.screen4 {
  padding: 64px 0 78px;
}
.screen4 h2 {
  margin: 0 0 12px;
  font-size: 34px;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--primary);
}
.screen4 .sub {
  margin: 0 0 26px;
  color: var(--muted);
  line-height: 1.8;
  max-width: 78ch;
}
.kpi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 28px;
}
.kpi-card {
  position: relative;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  padding: 22px 18px;
  box-shadow: 0 16px 50px rgba(2, 6, 23, 0.12);
  border-radius: 0; /* square piles */
  min-height: 160px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.kpi-num {
  font-weight: 950;
  letter-spacing: -0.02em;
  font-size: 34px;
}
.kpi-sub {
  margin-top: 10px;
  color: var(--muted);
  line-height: 1.55;
  font-size: 13px;
  max-width: 38ch;
}
.screen4 .corner {
  position: absolute;
  width: 14px;
  height: 14px;
  border: 2px solid rgba(245, 158, 11, 0.75);
}
.screen4 .c1 {
  left: 12px;
  top: 12px;
  border-right: none;
  border-bottom: none;
}
.screen4 .c2 {
  right: 12px;
  top: 12px;
  border-left: none;
  border-bottom: none;
  border-color: rgba(14, 165, 233, 0.75);
}
.screen4 .c3 {
  left: 12px;
  bottom: 12px;
  border-right: none;
  border-top: none;
  border-color: rgba(16, 185, 129, 0.7);
}
.screen4 .c4 {
  right: 12px;
  bottom: 12px;
  border-left: none;
  border-top: none;
}
@media (max-width: 900px) {
  .kpi-grid {
    grid-template-columns: 1fr;
  }
}
.how .timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 10px;
  align-items: stretch;
}
.how .line {
  position: absolute;
  left: 0;
  right: 0;
  top: 23px;
  height: 2px;
  background: var(--how-auto);
}
.how .node {
  position: relative;
  height: 100%;
  min-width: 0;
}
.how .dot {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--how-accent);
  position: relative;
  z-index: 2;
  margin: 8px auto 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 900;
  font-size: 12px;
}
.how .node.auto .dot {
  background: var(--how-auto);
}
.how .node.manual .dot {
  background: var(--how-manual);
}
.how .box {
  border: 1px solid var(--how-line);
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.05),
    rgba(255, 255, 255, 0.02)
  );
  padding: 10px;
  box-shadow: 0 10px 24px rgba(2, 6, 23, 0.06);
  height: 100%;
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.how .top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 10px;
}
.how .tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 3px 8px;
  border: 1px solid var(--how-line);
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.05),
    rgba(255, 255, 255, 0.02)
  );
  font-size: 10px;
  font-weight: 700;
  white-space: nowrap;
}
.how .tag.auto {
  border-color: rgba(16, 185, 129, 0.35);
  background: rgba(16, 185, 129, 0.08);
}
.how .tag.manual {
  border-color: rgba(245, 158, 11, 0.35);
  background: rgba(245, 158, 11, 0.1);
}
.how .t {
  font-weight: 900;
  margin: 0;
  line-height: 1.15;
}
.how .d {
  color: var(--how-muted);
  font-size: 13px;
  line-height: 1.45;
  min-width: 0;
  overflow-wrap: anywhere;
  word-break: break-word;
}
@media (max-width: 1100px) {
  .how .timeline {
    grid-template-columns: 1fr;
  }
  .how .line {
    display: none;
  }
  .how .dot {
    margin-left: 0;
  }
}

/* --- Fix overlap: ensure flow and CTA separation --- */
.how .timeline {
  margin-bottom: 80px;
}
.how-cta {
  position: relative;
  z-index: 1;
}

.how {
  position: relative;
}
.how .line {
  z-index: 0;
}
.how .node,
.how .box,
.how .dot {
  position: relative;
  z-index: 1;
}

.how .how-cta {
  margin-top: 40px;
}

/* Step 5: orange (original manual color) */
.how .timeline > .node:nth-child(6) .dot {
  background: #f59e0b;
}

/* Revisions note under workflow */
.how-revisions {
  margin-top: 18px;
  max-width: 78ch;
}
.how-revisions h3 {
  margin: 0 0 8px;
  font-size: 16px;
  letter-spacing: -0.01em;
}
.how-revisions p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

/* Make the first screen fill the viewport so section 2 doesn't peek */
.hero {
  min-height: calc(100vh - 72px);
  display: flex;
  align-items: center;
  padding: 28px 0 28px;
}
@media (max-width: 900px) {
  .hero {
    min-height: calc(100vh - 64px);
    align-items: flex-start;
    padding: 22px 0 28px;
  }
}

a {
  color: inherit;
}

/* Platform page */
.page-hero {
  padding: 56px 0 18px;
}
.page-hero h1 {
  margin: 0 0 10px;
  font-size: 40px;
  letter-spacing: -0.02em;
}
.page-lead {
  margin: 0;
  color: var(--muted);
  max-width: 86ch;
  line-height: 1.65;
}
.page-body {
  padding: 18px 0 72px;
}
.page-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 16px;
  align-items: stretch;
}
.page-card {
  grid-column: span 6;
  border: 1px solid var(--line);
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.05),
    rgba(255, 255, 255, 0.02)
  );
  border-radius: 18px;
  padding: 18px;
}
.page-card-wide {
  grid-column: 1 / -1;
}
.page-card h2 {
  margin: 0 0 10px;
  font-size: 16px;
  letter-spacing: -0.01em;
}
.page-card ul {
  margin: 0;
  padding-left: 18px;
}
.page-card li {
  margin: 7px 0;
}
.page-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}
.page-cta {
  grid-column: 1/-1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border: 1px solid rgba(245, 158, 11, 0.35);
  background:
    radial-gradient(
      900px 220px at 20% 0%,
      rgba(245, 158, 11, 0.18),
      transparent 60%
    ),
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.05),
      rgba(255, 255, 255, 0.02)
    );
  border-radius: 18px;
  padding: 18px;
}
.page-cta h3 {
  margin: 0 0 6px;
  font-size: 18px;
}
.page-cta p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}
@media (max-width: 980px) {
  .page-card {
    grid-column: 1/-1;
  }
  .page-hero h1 {
    font-size: 32px;
  }
  .page-cta {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ===== Home: separators ===== */
.screen-separator {
  height: 1px;
  background: var(--line);
  width: 100%;
}

/* ===== Hero tweaks (approved) ===== */
@media (min-width: 901px) {
  /* Screen 1: upper spacing reduced by 20% */
  .hero {
    padding-top: 8px !important;
  }
}
.hero-left h1 {
  line-height: 1.14;
  margin-bottom: 22px;
}
.hero-left .lead {
  line-height: 1.92;
  margin-bottom: 30px;
  max-width: 78ch;
}
.hero-actions {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}
.hero-right {
  align-self: flex-start;
  margin-top: -12px;
}

/* Learn more: orange outline */
.hero .btn-ghost.learnmore {
  border: 2px solid #f59e0b !important;
  background: transparent !important;
}
.hero .btn-ghost.learnmore:hover {
  background: rgba(245, 158, 11, 0.1) !important;
}

/* ===== Screen2 option2 (approved) ===== */
.section.screen2.s2v2 .wrap {
  max-width: 1180px;
}
.section.screen2.s2v2 .s2-row {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 51px;
  padding: 22px 0 44px;
  border-top: 2px solid var(--line);
}
.section.screen2.s2v2 .s2-row:first-child {
  border-top: none;
  padding-top: 0;
}
.section.screen2.s2v2 h2 {
  margin: 0;
  font-size: 34px;
  line-height: 1.15;
}
.section.screen2.s2v2 p {
  margin: 8px 0 0;
  max-width: 74ch;
  color: var(--muted);
  line-height: 1.9;
}
@media (max-width: 980px) {
  .section.screen2.s2v2 .s2-row {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}

/* ===== Screen3 industries ===== */
.section.screen3 {
  padding: 78px 0 96px;
}
.section.screen3 .s3-title {
  font-size: 34px;
  line-height: 1.15;
  margin: 0 0 26px;
}
.industries-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 16px;
}
.industry-card {
  grid-column: span 4;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.02);
  overflow: hidden;
  padding: 0 0 18px;
}
.industry-img {
  height: 180px;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.industry-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.industry-card h3 {
  margin: 16px 16px 0;
  font-size: 16px;
  line-height: 1.35;
}
.industry-sub {
  margin: 10px 16px 0;
  color: var(--muted);
  line-height: 1.75;
  max-width: 60ch;
}
@media (max-width: 980px) {
  .industry-card {
    grid-column: span 12;
  }
  .industry-img {
    height: 220px;
  }
}

/* --- Screen 3: reduce brightness (photos + section) --- */
.section.screen3 {
  background: rgba(0, 0, 0, 0.1);
}
.section.screen3 .industry-card {
  background: rgba(255, 255, 255, 0.015);
}
.section.screen3 .industry-img img {
  filter: brightness(0.82) contrast(0.95) saturate(0.9);
}

/* --- Screen 3 header size increase --- */
.section.screen3 .industry-card h3 {
  font-size: 20px;
  line-height: 1.35;
  font-weight: 700;
}

/* --- Orange big headers (Screen 1 + Screen 3) --- */
.hero h1 {
  color: var(--primary);
}
.section.screen3 .s3-title {
  color: var(--primary);
}

/* --- Spacing: separator (Screen 1 -> Screen 2) --- */
.screen-separator + .section.screen2 {
  /* Screen 2: upper spacing +30% */
  padding-top: 36px !important; /* was 28 */
}

/* --- Screen 2: more space between the 3 blocks --- */
.section.screen2.s2v2 .s2-row {
  /* Screen 2: upper +30%, lower +50% */
  padding: 39px 0 84px !important; /* was 30 / 56 */
}
.section.screen2.s2v2 .s2-row:first-child {
  padding-top: 13px !important; /* was 10 */
}

/* Screen 3: upper +30%, lower +50% */
.section.screen3 {
  padding: 102px 0 144px;
}

/* Screen 4: upper +30%, lower +50% */
.screen4 {
  padding: 84px 0 117px;
}

/* Platform page (Option 6: Feature Rows) */
body.platform-page .hero {
  padding: 62px 0 10px;
}
body.platform-page .hero-inner {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
}
body.platform-page .kicker {
  color: var(--muted);
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 12px;
  border: none;
  background: none;
  padding: 0;
  border-radius: 0;
}
body.platform-page h1 {
  margin: 10px 0 10px;
  font-size: 44px;
  letter-spacing: -0.03em;
  line-height: 1.08;
}
body.platform-page .lead {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
  max-width: 76ch;
  font-size: 18px;
}
body.platform-page .hero-cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
body.platform-page .btn-secondary {
  border-color: rgba(245, 158, 11, 0.35);
  background: rgba(245, 158, 11, 0.12);
}

/* Platform page (no intro hero) */
body.platform-page .platform-title {
  padding: 48px 0 6px;
}
body.platform-page .platform-title h1 {
  margin: 0;
  color: var(--primary);
}

/* Workflow header should match Solution header */
body.platform-page .how h2 {
  margin: 0 0 10px;
  font-size: 44px;
  letter-spacing: -0.03em;
  line-height: 1.08;
  color: var(--primary);
}
@media (max-width: 980px) {
  body.platform-page .how h2 {
    font-size: 32px;
  }
}

body.platform-page .rows {
  padding: 10px 0 72px;
}
body.platform-page .row {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 18px;
  align-items: start;
  border-top: 1px solid var(--line);
  padding: 18px 0;
}
body.platform-page .row:first-child {
  border-top: none;
}
body.platform-page .row-left h2 {
  margin: 0;
  font-size: 16px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #ffe4b5;
}
body.platform-page .row-right {
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.02);
}
body.platform-page .row-right ul {
  margin: 0;
  padding-left: 18px;
}
body.platform-page .row-right li {
  margin: 8px 0;
}
body.platform-page .row-right p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}
body.platform-page .alt .row-right {
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.05),
    rgba(255, 255, 255, 0.02)
  );
}
body.platform-page .muted {
  margin-top: 10px;
}

body.platform-page .band {
  margin-top: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border: 1px solid rgba(245, 158, 11, 0.35);
  background: rgba(245, 158, 11, 0.1);
  border-radius: 18px;
  padding: 18px;
}
body.platform-page .band h3 {
  margin: 0 0 6px;
  font-size: 18px;
}
body.platform-page .band p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

@media (max-width: 980px) {
  body.platform-page .hero-inner {
    flex-direction: column;
    align-items: flex-start;
  }
  body.platform-page .row {
    grid-template-columns: 1fr;
  }
  body.platform-page .band {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* Platform / Workflow (Option 1 arrows) */
body.platform-page .how.workflow-v1 .wf {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 10px;
  margin-top: 22px;
}
body.platform-page .how.workflow-v1 .wf-step {
  position: relative;
}

/* Arrow headline — same orange as primary buttons */
body.platform-page .how.workflow-v1 .wf-arrow {
  position: relative;
  padding: 14px 12px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary);
  border: none;
  box-shadow: 0 14px 38px rgba(2, 6, 23, 0.22);
  clip-path: polygon(
    0 0,
    calc(100% - 18px) 0,
    100% 50%,
    calc(100% - 18px) 100%,
    0 100%,
    18px 50%
  );
}
body.platform-page .how.workflow-v1 .wf-step:first-child .wf-arrow {
  clip-path: polygon(
    0 0,
    calc(100% - 18px) 0,
    100% 50%,
    calc(100% - 18px) 100%,
    0 100%,
    0 50%
  );
}
body.platform-page .how.workflow-v1 .wf-step:last-child .wf-arrow {
  clip-path: polygon(0 0, 100% 0, 100% 50%, 100% 100%, 0 100%, 18px 50%);
}

body.platform-page .how.workflow-v1 .wf-title {
  font-weight: 950;
  font-size: 18px;
  line-height: 1.12;
  text-align: center;
  color: white;
  width: 100%;
}
/* Nudge first/last arrow text for optical centering */
body.platform-page .how.workflow-v1 .wf-step:first-child .wf-title {
  transform: translateX(-4px);
}
body.platform-page .how.workflow-v1 .wf-step:last-child .wf-title {
  transform: translateX(4px);
}
body.platform-page .how.workflow-v1 .wf-title br {
  content: "";
}

/* Text blocks below arrows: 10% narrower */
body.platform-page .how.workflow-v1 .wf-desc {
  margin: 10px auto 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
  width: 90%;
}

@media (max-width: 1100px) {
  body.platform-page .how.workflow-v1 .wf {
    grid-template-columns: repeat(3, 1fr);
  }
  /* Keep chevron arrows on narrower screens (previously downgraded to rounded rectangles) */
  body.platform-page .how.workflow-v1 .wf-arrow {
    /* Slightly smaller chevron depth so it stays sharp even when columns get narrow */
    clip-path: polygon(
      0 0,
      calc(100% - 14px) 0,
      100% 50%,
      calc(100% - 14px) 100%,
      0 100%,
      14px 50%
    );
    border-radius: 0;
  }
  body.platform-page .how.workflow-v1 .wf-step:first-child .wf-arrow {
    clip-path: polygon(
      0 0,
      calc(100% - 14px) 0,
      100% 50%,
      calc(100% - 14px) 100%,
      0 100%,
      0 50%
    );
  }
  body.platform-page .how.workflow-v1 .wf-step:last-child .wf-arrow {
    clip-path: polygon(0 0, 100% 0, 100% 50%, 100% 100%, 0 100%, 14px 50%);
  }
}
@media (max-width: 700px) {
  body.platform-page .how.workflow-v1 .wf {
    grid-template-columns: 1fr;
  }
}

/* === Workflow spacing tweaks (v4) === */
body.platform-page section.how {
  padding-top: 18px;
  padding-bottom: 18px;
}
body.platform-page section.how h2 {
  margin-bottom: 18px;
}
body.platform-page section.how .how-sub {
  margin-top: 0;
  margin-bottom: 28px;
}
/* Arrow grid spacing */
body.platform-page .how.workflow-v1 .wf {
  margin-top: 0;
  row-gap: 22px;
}
/* Per-step vertical rhythm */
body.platform-page .how.workflow-v1 .wf-step {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
body.platform-page .how.workflow-v1 .wf-desc {
  margin-top: 0;
  width: 90%;
  margin-left: auto;
  margin-right: auto;
  padding-top: 2px;
}
@media (max-width: 1100px) {
  body.platform-page .how.workflow-v1 .wf {
    row-gap: 18px;
  }
  body.platform-page .how.workflow-v1 .wf-step {
    gap: 14px;
  }
}

/* Get started steps */
.gs-steps {
  margin-top: 18px;
  padding-left: 22px;
}
.gs-steps li {
  font-weight: 850;
  margin: 0 0 18px 0;
}
.gs-step-title {
  font-weight: 850;
  margin-bottom: 6px;
}
.gs-step-text {
  font-weight: 400;
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

/* Get started layout tweaks v3 */
.gs-narrow {
  max-width: 720px;
  margin: 0 auto;
}
@media (max-width: 900px) {
  .gs-narrow {
    max-width: 640px;
  }
}
.gs-demo-title {
  margin-top: 26px;
  margin-bottom: 10px;
  color: var(--primary);
  letter-spacing: -0.02em;
}
.gs-demo-text {
  font-weight: 750;
  color: var(--text);
}
.gs-demo-text a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 900;
}
.gs-demo-text a:hover {
  text-decoration: underline;
}

/* Get started left align v4 */
.gs-narrow {
  text-align: left;
}
.gs-steps {
  text-align: left;
}

/* Get started left align fix v5 */
body .gs-narrow {
  text-align: left !important;
  margin-left: 0 !important;
  margin-right: auto !important;
}
body .gs-steps {
  text-align: left !important;
}

/* Book a demo highlight frame v7 (brighter + contrast) */
.gs-demo-card {
  border: 1px solid rgba(255, 122, 0, 0.35);
  border-radius: 16px;
  padding: 18px 18px 16px;
  background: rgba(255, 122, 0, 0.06);
  box-shadow: 0 14px 45px rgba(2, 6, 23, 0.18);
  margin-top: 34px;
}
.gs-demo-card .gs-demo-title {
  margin-top: 0;
}
.gs-demo-card .gs-demo-text {
  margin-bottom: 0;
}
