@import url('https://fonts.googleapis.com/css2?family=Exo+2:wght@500;600;700&family=Inter:wght@400;500;600;700;800&display=swap');

/* ===== RESET ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
[id] { scroll-margin-top: 80px; } /* offset for the fixed 64px header + 16px breathing room */
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: radial-gradient(ellipse at 50% 60%, #ffffff 0%, #f0f2f5 40%, #e4e8ed 100%);
  color: #e0e0e0;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
a { color: #4fc3f7; text-decoration: none; transition: color 0.2s; }
a:hover { color: #81d4fa; }
img { max-width: 100%; display: block; }

/* ===== BUTTONS ===== */
.btn-primary {
  background: #1565c0;
  color: #fff;
  border: none;
  padding: 10px 24px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: all 0.2s;
  letter-spacing: -0.2px;
}
.btn-primary:hover { background: #1976d2; box-shadow: 0 4px 20px rgba(21, 101, 192, 0.4); }

.btn-outline {
  background: transparent;
  color: #4fc3f7;
  border: 1.5px solid rgba(79, 195, 247, 0.4);
  padding: 10px 24px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: all 0.2s;
  letter-spacing: -0.2px;
}
.btn-outline:hover { background: rgba(79, 195, 247, 0.08); border-color: #4fc3f7; }

.btn-lg { padding: 14px 32px; font-size: 15px; }
.btn-full { width: 100%; }

/* ===== HEADER ===== */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  flex-direction: column;
}
/* Single consolidated bar: logo, nav, and access CTA on one row. */
.header-bar {
  height: 64px;
  background: rgba(12, 17, 28, 0.82);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255,255,255,0.07);
  display: flex;
  align-items: center;
  gap: 30px;
  padding: 0 32px;
}
.header-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}
.header-logo img { height: 30px; }
.logo-text { font-size: 20px; font-weight: 700; letter-spacing: -0.5px; }
.logo-text .w { color: #fff; }
.logo-text .c { color: #4fc3f7; }

.header-nav {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-left: auto;
}
.nav-link {
  color: rgba(255,255,255,0.68);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.2px;
}
.nav-link:hover { color: #fff; }
.header-cta { white-space: nowrap; }

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: #fff;
  font-size: 24px;
  cursor: pointer;
  padding: 4px;
}
.mobile-nav {
  display: none;
  position: fixed;
  top: 64px; left: 0; right: 0;
  background: rgba(10, 10, 18, 0.98);
  border-bottom: 1px solid rgba(255,255,255,0.05);
  padding: 16px 24px;
  flex-direction: column;
  gap: 16px;
  z-index: 99;
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  color: rgba(255,255,255,0.6);
  font-size: 16px;
  font-weight: 500;
  padding: 8px 0;
}

/* ===== HERO ===== */
.hero {
  /* The light/dark divide is pinned to the bottom of the copy block rather than
     to 50% of the viewport, so the CTAs always sit on the light half no matter
     how tall the band grows. Everything below the line belongs to the steps. */
  --hero-split: 620px;
  min-height: max(100vh, 880px);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 88px 24px 22px;
  position: relative;
  /* visible so the monitor stand can hang past the hero into the next section;
     every decorative layer below is inset, so nothing else escapes */
  overflow: visible;
  background: #0a0a12;
}
/* Top half: CAD exploded view with diagonal gradient overlay */
.hero-bg-top {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: var(--hero-split);
  background: url('../assets/images/demo13_exploded.png') center 30% / cover no-repeat;
  pointer-events: none;
  z-index: 0;
}
.hero-overlay-top {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: var(--hero-split);
  background:
    linear-gradient(to top right,
      rgba(210, 220, 232, 0.95) 0%,
      rgba(200, 214, 230, 0.88) 25%,
      rgba(185, 200, 220, 0.72) 50%,
      rgba(170, 190, 215, 0.45) 75%,
      rgba(160, 185, 210, 0.2) 100%
    );
  pointer-events: none;
  z-index: 1;
}
/* Bottom half: engineer photo with dark overlay */
.hero-bg-bottom {
  position: absolute;
  top: var(--hero-split); left: 0; right: 0;
  bottom: 0;
  background: url('../assets/images/hero_engineer.jpg') center center / cover no-repeat;
  pointer-events: none;
  z-index: 0;
}
.hero-overlay-bottom {
  position: absolute;
  top: var(--hero-split); left: 0; right: 0;
  bottom: 0;
  background: rgba(10, 14, 24, 0.85);
  pointer-events: none;
  z-index: 1;
}
.hero-grid {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background:
    linear-gradient(rgba(255,255,255,0.012) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.012) 1px, transparent 1px);
  background-size: 80px 80px;
  pointer-events: none;
  z-index: 2;
}
.hero-glow-1 {
  position: absolute;
  top: -300px; right: -200px;
  width: 900px; height: 900px;
  background: radial-gradient(circle, rgba(21, 101, 192, 0.12), transparent 65%);
  pointer-events: none;
  z-index: 2;
}
.hero-glow-2 {
  position: absolute;
  bottom: -200px; left: -100px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(0, 230, 118, 0.06), transparent 65%);
  pointer-events: none;
  z-index: 2;
}
.hero-band {
  width: min(100%, 1400px);
  min-height: 520px;
  padding: 18px 18px 0 58px;
  display: flex;
  align-items: center;
  position: relative;
  z-index: 2;
  background: none;
  border: none;
  border-radius: 0;
  box-shadow: none;
}
.hero-content {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 56px;
  position: relative;
  z-index: 2;
}
.hero-text {
  flex: 0 1 620px;
  max-width: 620px;
  padding-left: 0;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(0, 230, 118, 0.08);
  border: 1px solid rgba(0, 230, 118, 0.15);
  color: #00E676;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1.5px;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 16px;
}
.hero-badge::before {
  content: '';
  width: 6px; height: 6px;
  background: #00E676;
  border-radius: 50%;
  animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}
.hero-eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: #1565c0;
  margin-bottom: 14px;
}
.hero-title {
  font-family: 'Exo 2', 'Inter', sans-serif;
  font-size: clamp(46px, 4vw, 60px);
  font-weight: 600;
  line-height: 1.06;
  letter-spacing: -1px;
  margin-bottom: 18px;
  color: #2d3436;
}
.hero-title .accent { color: #2d3436; }
.hero-title .green { color: #2d3436; }
.hero-subtitle {
  font-size: 18px;
  color: rgba(45, 52, 54, 0.7);
  line-height: 1.55;
  margin-bottom: 24px;
  max-width: 430px;
}
.hero-buttons { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-buttons .btn-primary {
  background: #1565c0;
  padding: 14px 30px;
  font-size: 15px;
  font-weight: 700;
  border-radius: 6px;
  letter-spacing: 0.1px;
}
.hero-buttons .btn-primary:hover {
  background: #1976d2;
  box-shadow: 0 6px 22px rgba(21, 101, 192, 0.35);
}
/* Secondary sits on the light upper half of the hero, so the cyan outline used
   elsewhere on dark sections would not hold contrast here. */
.hero-buttons .btn-outline {
  background: transparent;
  color: #1565c0;
  border: 1.5px solid rgba(21, 101, 192, 0.45);
  padding: 14px 30px;
  font-size: 15px;
  font-weight: 700;
  border-radius: 6px;
  letter-spacing: 0.1px;
}
.hero-buttons .btn-outline:hover {
  background: rgba(21, 101, 192, 0.08);
  border-color: #1565c0;
}
.hero-image {
  /* Fixed visual width so bezel, stand and base keep true monitor proportions.
     The stand is allowed to hang ~24px past the hero into the section below. */
  flex: 0 0 auto;
  width: clamp(480px, 34vw, 600px);
  max-width: 100%;
  margin-left: auto;
  margin-bottom: -24px;
  transform: translate(-32px, 0);
  position: relative;
  z-index: 4;
}
/* Thin-bezel 16:10 workstation panel. The clip is 16:9, so it is letterboxed
   into the taller screen rather than stretched - no scaleX on the asset. */
.hero-image .monitor-frame img,
.hero-image .monitor-frame video {
  width: 100%;
  aspect-ratio: 16 / 10;
  height: auto;
  max-height: none;
  object-fit: contain;
  background: #05070a;
  border-radius: 2px;
}
.hero-image .monitor-frame {
  border-radius: 12px;
  padding: 8px 8px 26px;   /* thin top/sides, slightly deeper chin */
}
.hero-image .monitor-frame::before { top: 4px; }
.hero-image .monitor-frame::after { bottom: 6px; width: 11px; height: 11px; }
.monitor-frame {
  position: relative;
  background: linear-gradient(180deg, #17191e 0%, #08090b 100%);
  border-radius: 22px;
  border: 1px solid rgba(255,255,255,0.12);
  padding: 14px 14px 32px;
  box-shadow:
    0 26px 70px rgba(0,0,0,0.5),
    0 10px 26px rgba(0,0,0,0.22),
    inset 0 1px 0 rgba(255,255,255,0.08),
    0 0 0 1px rgba(0,0,0,0.35);
}
.monitor-frame::before {
  content: '';
  position: absolute;
  top: 7px;
  left: 50%;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  transform: translateX(-50%);
  background: radial-gradient(circle at 35% 35%, rgba(255,255,255,0.18), #0c0d10 58%, #020304 100%);
  box-shadow: 0 0 0 1px rgba(255,255,255,0.06);
}
.monitor-frame::after {
  content: '';
  position: absolute;
  bottom: 9px;
  left: 50%;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  transform: translateX(-50%);
  background: radial-gradient(circle at 35% 35%, rgba(255,255,255,0.9), #8d939b 22%, #4e555c 40%, #20252b 72%, #0e1013 100%);
  box-shadow:
    inset 0 1px 1px rgba(255,255,255,0.2),
    0 0 0 1px rgba(0,0,0,0.35);
}
.monitor-frame img,
.monitor-frame video {
  width: 100%;
  border-radius: 4px;
  box-shadow: 0 0 0 1px rgba(255,255,255,0.08);
}
/* video is inline by default, which leaves a baseline gap inside the bezel */
.monitor-frame video { display: block; }
.monitor-stand {
  width: 92px;
  height: 48px;
  margin: 0 auto;
  background: linear-gradient(180deg, #f7f8fa 0%, #d3d7dd 28%, #adb3bb 62%, #8f959d 100%);
  clip-path: polygon(36% 0, 64% 0, 74% 100%, 26% 100%);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.85),
    0 8px 18px rgba(0,0,0,0.18);
  transform: translateY(-2px);
}
.monitor-stand::after {
  content: '';
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, rgba(255,255,255,0.52), transparent 22%, transparent 78%, rgba(0,0,0,0.08));
  margin: 0 auto;
}
.monitor-base {
  width: 190px;
  height: 24px;
  background: linear-gradient(180deg, #f4f5f7 0%, #d8dce1 26%, #a5abb3 76%, #90969e 100%);
  margin: 0 auto;
  border-radius: 0 0 54px 54px / 0 0 24px 24px;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.78),
    0 12px 24px rgba(0,0,0,0.18);
  transform: perspective(260px) rotateX(58deg) translateY(-8px);
}

/* ===== HERO ACTIONS STRIP ===== */
.hero-actions {
  position: absolute;
  top: var(--hero-split); left: 0; right: 0;
  bottom: 0;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0 40px;
  text-align: center;
}
.hero-actions-heading {
  position: absolute;
  top: 12px;
  left: 0; right: 0;
  font-size: 15px;
  color: rgba(255,255,255,0.55);
  font-weight: 500;
  letter-spacing: 0.3px;
}
.hero-actions-grid {
  display: flex;
  justify-content: space-evenly;
  width: 100%;
  position: relative;
}
.hero-action-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  flex: 1;
  position: relative;
}
/* Connector drawn from each item to the next. Items are equal-width flex
   children, so centre-to-centre is exactly one item width; 56px clears the
   50px icon radius at both ends without any percentage guesswork. */
.hero-action-item::after {
  content: '';
  position: absolute;
  top: 50px;
  left: calc(50% + 56px);
  width: calc(100% - 112px);
  height: 1px;
  background: linear-gradient(90deg, rgba(79,195,247,0.05), rgba(79,195,247,0.45), rgba(79,195,247,0.05));
  pointer-events: none;
}
.hero-action-item:last-child::after { content: none; }
.hero-action-icon {
  width: 100px;
  height: 100px;
}
.hero-action-icon svg {
  width: 100%;
  height: 100%;
}
.hero-action-title {
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.4px;
  text-transform: uppercase;
}
.hero-action-desc {
  font-size: 14px;
  color: rgba(255,255,255,0.72);
  line-height: 1.55;
  max-width: 260px;
}

/* ===== SOCIAL PROOF ===== */
.social-proof {
  padding: 32px 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: #e8ecf0;
  border-top: 1px solid rgba(0,0,0,0.06);
  border-bottom: 1px solid rgba(0,0,0,0.06);
}
.social-proof p {
  font-size: 13px;
  color: rgba(0,0,0,0.4);
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 600;
}

/* ===== VALUE PROPS ===== */
.value-props { padding: 100px 60px; background: radial-gradient(ellipse at 50% 30%, #ffffff 0%, #f0f2f5 40%, #e4e8ed 100%); }
.section-header { text-align: center; margin-bottom: 56px; }
.section-header h2 {
  font-size: 36px;
  font-weight: 800;
  color: #1a1d24;
  margin-bottom: 14px;
  letter-spacing: -1px;
}
.section-header p {
  font-size: 16px;
  color: rgba(0,0,0,0.45);
  max-width: 500px;
  margin: 0 auto;
  line-height: 1.6;
}
.cards {
  display: flex;
  gap: 20px;
  max-width: 1100px;
  margin: 0 auto;
}
.card {
  flex: 1;
  background: #ffffff;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 16px;
  padding: 36px 28px;
  text-align: center;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}
.card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--card-accent, #4fc3f7), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}
.card:hover { border-color: rgba(0,0,0,0.12); transform: translateY(-6px); box-shadow: 0 12px 36px rgba(0,0,0,0.1); }
.card:hover::before { opacity: 1; }
.card-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 22px;
}
.card-icon svg { width: 26px; height: 26px; }
.card h3 {
  font-size: 18px;
  font-weight: 700;
  color: #1a1d24;
  margin-bottom: 12px;
  letter-spacing: -0.3px;
}
.card p {
  font-size: 14px;
  color: rgba(0,0,0,0.5);
  line-height: 1.7;
}
.card-agent {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.2px;
  margin-top: 20px;
  text-transform: uppercase;
}

/* ===== STATS ===== */
.stats-bar {
  padding: 60px 60px;
  background: rgba(255,255,255,0.5);
  border-top: 1px solid rgba(0,0,0,0.04);
  border-bottom: 1px solid rgba(0,0,0,0.04);
}
.stats-grid {
  display: flex;
  justify-content: center;
  gap: 80px;
  max-width: 900px;
  margin: 0 auto;
}
.stat { text-align: center; }
.stat-number {
  font-size: 42px;
  font-weight: 800;
  color: #1a1d24;
  letter-spacing: -1.5px;
  margin-bottom: 4px;
}
.stat-label {
  font-size: 13px;
  color: rgba(0,0,0,0.4);
  font-weight: 500;
}

/* ===== FEATURES ===== */
.features { padding: 60px 60px 40px; max-width: 1200px; margin: 0 auto; }
.feature-row {
  display: flex;
  align-items: center;
  gap: 80px;
  margin-bottom: 100px;
}
.feature-row.reverse { flex-direction: row-reverse; }
.feature-text { flex: 1; }
.feature-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.feature-text h3 {
  font-size: 32px;
  font-weight: 800;
  color: #1a1d24;
  margin-bottom: 18px;
  line-height: 1.15;
  letter-spacing: -1px;
}
.feature-text p {
  font-size: 15px;
  color: rgba(0,0,0,0.5);
  line-height: 1.75;
  margin-bottom: 24px;
}
.feature-image, .feature-media { flex: 1; max-width: 520px; }
.feature-image img, .feature-media > .media-placeholder img, .feature-media video {
  width: 100%;
  border-radius: 12px;
  border: 1px solid rgba(79, 195, 247, 0.08);
  box-shadow: 0 16px 56px rgba(0,0,0,0.4);
  transition: transform 0.3s, box-shadow 0.3s;
}
.feature-image img:hover, .feature-media > .media-placeholder img:hover, .feature-media video:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 72px rgba(0,0,0,0.5);
}
/* Monitor frame inside feature sections */
.feature-media .monitor-frame {
  transform: none;
  width: 100%;
}
.feature-media .monitor-frame img,
.feature-media .monitor-frame video {
  border: none;
  box-shadow: 0 0 0 1px rgba(255,255,255,0.08);
}
.feature-media .monitor-stand {
  width: 72px;
  height: 38px;
}
.feature-media .monitor-base {
  width: 150px;
  height: 20px;
}
.feature-media:hover .monitor-frame {
  transform: translateY(-4px);
  transition: transform 0.3s;
}
.media-placeholder {
  position: relative;
}
.media-placeholder::after {
  content: attr(data-label);
  position: absolute;
  bottom: 12px;
  right: 12px;
  background: rgba(0,0,0,0.6);
  color: rgba(255,255,255,0.5);
  font-size: 10px;
  padding: 3px 8px;
  border-radius: 4px;
  letter-spacing: 0.5px;
  pointer-events: none;
}

/* ===== CTA ===== */
.cta-section {
  padding: 120px 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-glow {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 800px; height: 400px;
  background: radial-gradient(ellipse, rgba(79, 195, 247, 0.08), transparent 70%);
  pointer-events: none;
}
.cta-section h2 {
  font-size: 40px;
  font-weight: 800;
  color: #1a1d24;
  margin-bottom: 16px;
  letter-spacing: -1.5px;
  position: relative;
}
.cta-section > p {
  font-size: 17px;
  color: rgba(0,0,0,0.45);
  margin-bottom: 12px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
  position: relative;
}
.cta-email {
  font-size: 14px;
  color: rgba(0,0,0,0.35);
  margin-bottom: 32px;
  position: relative;
}
.cta-email a { color: #4fc3f7; }

/* Contact form */
.contact-form {
  max-width: 440px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
}
.contact-form input, .contact-form textarea {
  background: #ffffff;
  border: 1px solid rgba(0,0,0,0.12);
  border-radius: 8px;
  padding: 12px 16px;
  color: #1a1d24;
  font-size: 14px;
  font-family: inherit;
  outline: none;
  transition: border-color 0.2s;
}
.contact-form input:focus, .contact-form textarea:focus {
  border-color: rgba(79, 195, 247, 0.4);
}
.contact-form input::placeholder, .contact-form textarea::placeholder {
  color: rgba(0,0,0,0.35);
}
.contact-form textarea { resize: vertical; min-height: 80px; }
.form-row { display: flex; gap: 12px; }
.form-row input { flex: 1; }

/* ===== FOOTER ===== */
.site-footer {
  padding: 32px 48px;
  border-top: 1px solid rgba(0,0,0,0.06);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: rgba(0,0,0,0.35);
}
.footer-logo img { height: 20px; opacity: 0.5; }
.footer-nav { display: flex; gap: 20px; }
.footer-nav a { color: rgba(0,0,0,0.35); font-size: 12px; }
.footer-nav a:hover { color: rgba(0,0,0,0.6); }

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .header-bar { padding: 0 20px; gap: 16px; }
  .header-bar .nav-link { display: none; }
  .header-cta { display: none; }
  .mobile-menu-btn { display: block; margin-left: auto; }

  .hero {
    min-height: auto;
    height: auto;
    padding: 96px 20px 0;   /* the steps strip supplies its own bottom padding */
    /* .hero is a flex row on desktop, where the steps strip is absolute and so
       never a flex item. Once the strip rejoins flow it would sit BESIDE the
       hero band, so the axis has to turn vertical here. */
    flex-direction: column;
    align-items: center;
  }
  /* The two-tone split and the absolutely-positioned steps strip below only
     work in the side-by-side desktop composition. Once the hero stacks, the
     strip must rejoin normal flow or it lands on top of the monitor. */
  .hero-bg-bottom,
  .hero-overlay-bottom { display: none; }
  .hero-bg-top,
  .hero-overlay-top { height: 100%; }
  .hero-band {
    min-height: auto;
    padding: 0;
  }
  /* Stack the monitor beneath the copy and let it size to the column. */
  .hero-content {
    flex-direction: column;
    text-align: center;
    gap: 44px;
  }
  .hero-text {
    flex: none;
    max-width: 560px;
    padding-left: 0;
    transform: none;
  }
  .hero-eyebrow { text-align: center; }
  .hero-title {
    font-size: clamp(34px, 6vw, 44px);
    letter-spacing: -1px;
  }
  .hero-subtitle { margin: 0 auto 32px; }
  .hero-buttons { justify-content: center; flex-wrap: wrap; }
  .hero-image {
    width: min(100%, 560px);
    max-width: 100%;
    margin: 0 auto;
    margin-bottom: 0;
    transform: none;
  }

  .value-props, .features, .cta-section, .stats-bar, .social-proof { padding-left: 24px; padding-right: 24px; }

  .cards { flex-direction: column; align-items: center; }
  .card { max-width: 400px; width: 100%; }

  .feature-row, .feature-row.reverse { flex-direction: column; gap: 40px; }
  .feature-image, .feature-media { max-width: 100%; }
  .feature-text h3 { font-size: 26px; }

  .stats-grid { gap: 40px; flex-wrap: wrap; }

  .section-header h2 { font-size: 28px; }
  .cta-section h2 { font-size: 30px; }

  /* Connect / Ask / Trace: back into document flow, stacked one per row, and
     full-bleed via the 100vw trick so it does not depend on the hero padding. */
  .hero-actions {
    position: static;
    width: 100vw;
    margin: 44px 0 0 calc(50% - 50vw);
    padding: 46px 24px 48px;
    background: rgba(10, 14, 24, 0.92);
  }
  .hero-actions-grid {
    flex-direction: column;
    align-items: center;
    gap: 38px;
  }
  .hero-action-item { max-width: 420px; }
  .hero-action-icon { width: 72px; height: 72px; }
  /* the connector only makes sense across a horizontal row */
  .hero-action-item::after { content: none; }

  .form-row { flex-direction: column; }
  .site-footer { flex-direction: column; gap: 16px; text-align: center; }
}

/* ----- Phones: normal document flow, nothing layered or transformed ----- */
@media (max-width: 768px) {
  /* decorative 800px glow would otherwise widen the document on a phone */
  .cta-section { overflow: hidden; }
  .secondary-workflows { padding-left: 20px; padding-right: 20px; }

  .hero { padding: 88px 16px 0; }
  .hero-content { gap: 32px; }

  .hero-eyebrow { font-size: 11px; letter-spacing: 1.4px; }
  .hero-title {
    font-size: clamp(2rem, 8.5vw, 2.75rem);
    line-height: 1.06;
    margin: 0 0 16px;
  }
  .hero-subtitle { font-size: 1rem; line-height: 1.55; margin: 0 auto 28px; }

  /* Full-width stacked CTAs with a comfortable tap target. */
  .hero-buttons {
    flex-direction: column;
    width: 100%;
    max-width: 360px;
    margin: 0 auto;
    gap: 12px;
  }
  .hero-buttons .btn-primary,
  .hero-buttons .btn-outline {
    width: 100%;
    min-height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px 20px;
  }

  /* Monitor sits in flow, above the steps - never behind them. */
  .hero-image {
    /* 100% of the already-padded column, not vw: vw includes the scrollbar
       width, which pushes the monitor past the content box and creates a
       few px of horizontal scroll. This lands at the same visual size. */
    width: 100%;
    max-width: 520px;
    margin: 0 auto;
    position: static;
    transform: none;
    inset: auto;
  }
  .hero-image .monitor-frame { padding: 6px 6px 18px; border-radius: 10px; }
  .monitor-stand { width: 68px; height: 34px; }
  .monitor-base { width: 140px; height: 18px; }

  .hero-actions { margin-top: 40px; padding: 42px 20px 44px; }
  .hero-action-title { font-size: 17px; }
  .hero-action-desc { font-size: 14px; max-width: 340px; }

  /* Full-width drawer under the bar. */
  .mobile-nav { padding: 12px 20px 20px; }
  .mobile-nav a { display: block; padding: 14px 0; }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 32px;
    white-space: normal;
  }
  .hero-subtitle { font-size: 16px; }
  .stats-grid { gap: 24px; }
  .stat-number { font-size: 32px; }
}
