/* The fitted opening is self-contained; shared navigation, map, chat and all
   later sections keep their normal size and flow. Fonts are bundled locally. */
.landing-hive .hero { padding: 0 24px 80px; text-align: center; }
.hero-opening { margin-inline: auto; padding: 48px 0 40px; }
.hero-opening .hero-demo-layout {
  width: 100%; max-width: 1200px; margin: 0 auto; display: grid;
  grid-template-columns: minmax(0, 1fr) 280px; gap: 80px;
  align-items: center; text-align: left;
}
.hero-demo-copy { min-width: 0; }
.hero-opening .hero-badge {
  max-width: 100%; gap: 10px; padding: 6px 16px; border: 1px solid #d1d5db;
  border-radius: 999px; background: #fff; color: #111827;
  font: 800 12px/1.5 var(--font-heading); letter-spacing: .04em;
  box-shadow: 0 1px 2px #00000004;
}
.hero-opening .status-dot { width: 8px; height: 8px; flex-basis: 8px; background: #ff916d; }
.status-dot, .hero-phone-test-dot, .hero-phone-live i { animation: hero-status-blink 1.5s ease-in-out infinite; }
@keyframes hero-status-blink {
  0%, 100% { opacity: 1; }
  50% { opacity: .2; }
}
@media (prefers-reduced-motion: reduce) {
  .status-dot, .hero-phone-test-dot, .hero-phone-live i { animation: none; }
}
.hero-opening .hero-slogan {
  margin: 30px 0 20px; color: #fc4505; font: 800 14px/1.6 var(--font-heading);
  letter-spacing: .04em; text-transform: uppercase;
}
.hero-stepper { display: none; }
.hero-opening h1 {
  margin: 0 0 28px; color: #030712; font: 900 clamp(48px, 5vw, 72px)/1.05 var(--font-heading);
  letter-spacing: -.035em; text-transform: uppercase;
}
.hero-opening h1 > span { color: #ff4d15; }
.hero-opening .hero-description {
  max-width: 600px; margin: 0 0 32px; color: #4b5563; font-size: 20px;
  line-height: 1.6; font-weight: 400;
}
.hero-opening .hero-cta {
  display: grid; grid-template-columns: 1fr 1.14fr 1fr; max-width: 640px;
  gap: 12px; justify-content: start;
}
.hero-opening .hero-action {
  width: auto; min-height: 58px; gap: 8px; padding: 13px 16px; border: 1px solid transparent;
  border-radius: 8px; font: 800 13px/1.4 var(--font-heading); letter-spacing: .04em;
  text-align: left; box-shadow: none;
}
.hero-action svg { width: 16px; height: 16px; flex-shrink: 0; }
.hero-action-icon { display: flex; flex-shrink: 0; }
.hero-action-icon svg { fill: currentColor; }
.hero-action-arrow { display: none; }
.hero-opening .hero-action--primary { color: #fff; background: #ff4d15; box-shadow: 0 10px 25px -5px #ff4d1540; }
.hero-opening .hero-action--primary:hover { background: #e83c08; }
.hero-opening .hero-action--light { background: #fff; border-color: #e2e8f0; color: #111827; }
.hero-opening .hero-action--light:hover { background: #f1f5f9; }
.hero-action--light > svg { color: #ff4d15; }
.hero-opening .hero-action--dark { background: #1f242d; color: #fff; }
.hero-opening .hero-action--dark:hover { background: #090d13; }
.hero-action--dark > svg { color: #fb923c; fill: currentColor; }
.hero-opening .stats-grid {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 600px;
  gap: 16px; margin: 32px 0 0; padding-top: 26px; border-top: 1px solid #e5e7eb;
}
.hero-opening .stat-card { min-width: 0; padding: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; }
.hero-opening .stat-card + .stat-card { border-left: 1px solid #e5e7eb; padding-left: 20px; }
.hero-opening .stat-num { margin: 0 0 6px; color: #ff4d15; font: 900 30px/1 var(--font-heading); letter-spacing: -.04em; }
.hero-opening .stat-label { margin-bottom: 3px; color: #111827; font: 800 11px/1.3 var(--font-heading); letter-spacing: .015em; }
.hero-opening .stat-card p { color: #6b7280; font-size: 11px; line-height: 1.4; }
.hero-opening .hero-phone-demo { width: 280px; text-align: center; padding-top: 5px; }
.hero-opening .hero-phone-demo > p { margin: 24px 0 3px; color: #111827; font: 800 14px/1.4 var(--font-heading); letter-spacing: -.02em; }
.hero-phone-shell {
  position: relative; width: 280px; height: 570px; margin: 0 auto; padding: 6px;
  border-radius: 44px; background: #121417;
  box-shadow: 0 0 0 1px #484e58, 0 0 0 3.5px #22262c, 0 0 0 4.5px #15181c, 0 25px 60px -10px #00000045, 0 0 40px #ff57222e;
}
.hero-phone-volume, .hero-phone-power { position: absolute; width: 3px; background: #353941; }
.hero-phone-volume { left: -7px; top: 110px; height: 34px; border-radius: 2px 0 0 2px; box-shadow: 0 42px #353941; }
.hero-phone-power { right: -7px; top: 128px; height: 48px; border-radius: 0 2px 2px 0; }
.hero-phone-screen {
  position: relative; width: 100%; height: 100%; border-radius: 38px;
  overflow: hidden; color: #fff; border: 1px solid #0009;
  background: radial-gradient(circle at 50% 25%, #ff5722 0%, #a82700 45%, #180903 80%, #090a0d 100%);
}
.hero-phone-status { position: relative; display: flex; align-items: center; justify-content: space-between; padding: 10px 16px 0; font-size: 11px; font-weight: 600; user-select: none; }
.hero-phone-camera { position: absolute; left: calc(50% - 7px); top: 10px; width: 14px; height: 14px; border: 4px solid #0a0a0c; border-radius: 50%; background: #02182b; box-shadow: 0 0 0 1px #1c1f24; }
.hero-phone-signal { display: inline-flex; align-items: center; gap: 5px; font-size: 10px; }
.hero-phone-signal svg { width: 14px; height: 12px; }
.hero-phone-battery { position: relative; width: 19px; height: 10px; padding: 1px; border: 1px solid #fffc; border-radius: 3px; background: #fff; background-clip: content-box; }
.hero-phone-battery::after { content: ''; position: absolute; width: 1px; height: 4px; right: -3px; top: 2px; background: #fff9; }
.hero-phone-lockscreen { padding-top: 40px; text-align: center; user-select: none; }
.hero-phone-lock { display: grid; place-items: center; width: 29px; height: 29px; margin: 0 auto 5px; border-radius: 50%; border: 1px solid #ffffff1a; background: #0006; color: #fffc; }
.hero-phone-lock svg { width: 14px; height: 14px; }
.hero-phone-clock { font: 700 48px/1 var(--font-body); letter-spacing: -.045em; text-shadow: 0 4px 18px #0003; }
.hero-phone-date { margin-top: 8px; font-size: 11px; font-weight: 500; text-transform: uppercase; letter-spacing: .14em; color: #fed7aa; }
.hero-phone-notification { margin: 16px 10px 0; padding: 12px; border: 1px solid #fff3; border-radius: 16px; background: #00000059; backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: 0 15px 30px #0002; }
.hero-phone-app { display: flex; align-items: center; gap: 8px; margin-bottom: 9px; color: #fffc; font: 700 10px/1 var(--font-heading); letter-spacing: .06em; text-transform: uppercase; }
.hero-phone-app-icon { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 8px; background: linear-gradient(135deg,#ff7844,#e63f08); box-shadow: 0 0 0 1px #fff3; }
.hero-phone-app-icon svg { width: 14px; height: 14px; }
.hero-phone-live { display: inline-flex; align-items: center; gap: 4px; margin-left: auto; padding: 4px 6px; border-radius: 99px; background: #10b98126; border: 1px solid #34d3994d; color: #6ee7b7; font: 700 8px/1 var(--font-body); letter-spacing: 0; white-space: nowrap; }
.hero-phone-live i { width: 5px; height: 5px; border-radius: 50%; background: #34d399; }
.hero-phone-message { text-align: left; margin-bottom: 10px; }
.hero-phone-message strong { font: 800 13.5px/1.3 var(--font-heading); letter-spacing: -.025em; }
.hero-phone-message p { margin-top: 2px; font-size: 10px; line-height: 1.3; color: #ffffffb3; }
.hero-phone-test { display: flex; align-items: center; justify-content: center; gap: 6px; width: 100%; min-height: 36px; padding: 8px; border: 0; border-radius: 11px; background: #fff; color: #09090b; font: 800 10.5px/1.3 var(--font-heading); cursor: pointer; box-shadow: 0 3px 6px #0002; }
.hero-phone-test:hover { background: #f4f4f5; }
.hero-phone-test-dot { width: 6px; height: 6px; border-radius: 50%; background: #ff4d15; }
.hero-phone-controls { position: absolute; bottom: 24px; left: 20px; right: 20px; display: flex; align-items: center; justify-content: space-between; color: #ffffffb3; }
.hero-phone-shortcut { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; border: 1px solid #ffffff26; background: #0006; }
.hero-phone-shortcut svg { width: 16px; height: 16px; }
.hero-phone-swipe { display: grid; justify-items: center; font-size: 9px; text-transform: uppercase; }
.hero-phone-swipe svg { width: 12px; height: 12px; }
.hero-phone-gesture { position: absolute; bottom: 10px; left: calc(50% - 48px); width: 96px; height: 4px; border-radius: 4px; background: #ffffffb3; }
@media (max-width: 1023px) {
  .landing-hive .hero { padding: 0 20px 64px; }
  .hero-opening { max-width: 640px; padding: 48px 0 44px; }
  .hero-opening .hero-demo-layout { display: flex; flex-direction: column; align-items: stretch; gap: 32px; text-align: left; }
  .hero-opening .hero-badge { padding: 6px 12px; gap: 8px; font-size: clamp(8px, 2.5vw, 11px); letter-spacing: .025em; white-space: nowrap; }
  .hero-opening .hero-slogan { display: none; }
  .hero-stepper { display: flex; flex-wrap: wrap; gap: 6px; margin: 20px 0 12px; padding: 0; list-style: none; font: 800 10px/1.5 var(--font-heading); letter-spacing: .01em; text-transform: uppercase; }
  .hero-stepper li { position: relative; padding: 2px 7px; background: #0f172a; border: 1px solid #0f172a; border-radius: 6px; color: #fff; }
  .hero-stepper li:first-child { background: #ff4d151a; border-color: #ff4d1533; color: #e63d08; }
  .hero-stepper li:not(:last-child) { margin-right: 14px; }
  .hero-stepper li:not(:last-child)::after { content: ''; position: absolute; right: -12px; top: 8px; width: 5px; height: 5px; border-top: 1.5px solid #9ca3af; border-right: 1.5px solid #9ca3af; transform: rotate(45deg); }
  .hero-opening h1 { font-size: clamp(27px, 8.72vw, 54px); line-height: 1.08; margin-bottom: 20px; letter-spacing: -.035em; }
  .hero-opening .hero-description { max-width: none; margin: 0 0 26px; font-size: 14px; line-height: 1.6; }
  .hero-opening .hero-cta { max-width: none; grid-template-columns: 1fr 1fr; gap: 10px; }
  .hero-opening .hero-action { min-width: 0; min-height: 44px; padding: 12px; border-radius: 12px; font-size: 11px; justify-content: center; }
  .hero-opening .hero-action--primary { grid-column: 1 / -1; min-height: 54px; padding: 14px 20px; font-size: 13px; justify-content: start; background: linear-gradient(90deg,#ff5722,#ff4d15,#fc4505); border-color: #fb923c66; }
  .hero-action-icon { display: grid; place-items: center; width: 24px; height: 24px; margin-right: 2px; border-radius: 8px; background: #fff3; }
  .hero-action-icon svg { width: 14px; height: 14px; }
  .hero-action-arrow { display: flex; margin-left: auto; }
  .hero-action-desktop { display: none; }
  .hero-opening .hero-action--light { background: #f8fafc; }
  .hero-opening .stats-grid { max-width: none; gap: 8px; margin-top: 24px; padding-top: 16px; padding-bottom: 8px; }
  .hero-opening .stat-card + .stat-card { padding-left: 10px; }
  .hero-opening .stat-num { font-size: 20px; margin-bottom: 4px; }
  .hero-opening .stat-label { font-size: 10px; letter-spacing: -.03em; margin-bottom: 2px; }
  .hero-opening .stat-card p { font-size: 9.5px; line-height: 1.3; }
  .hero-opening .hero-phone-demo { width: 100%; }
  .hero-opening .hero-phone-demo > p { margin-top: 22px; font-size: 12px; }
  .hero-phone-shell { width: 252px; height: 510px; padding: 5px; border-radius: 40px; }
  .hero-phone-screen { border-radius: 35px; }
  .hero-phone-volume { top: 95px; height: 30px; box-shadow: 0 39px #353941; }
  .hero-phone-power { top: 112px; height: 40px; }
  .hero-phone-status { padding: 8px 14px 0; }
  .hero-phone-lockscreen { padding-top: 32px; }
  .hero-phone-clock { font-size: 42px; }
  .hero-phone-date { font-size: 10px; }
  .hero-phone-notification { margin-top: 14px; padding: 10px; }
  .hero-phone-app { gap: 6px; font-size: 9px; margin-bottom: 8px; }
  .hero-phone-app-icon { width: 20px; height: 20px; border-radius: 6px; }
  .hero-phone-app-icon svg { width: 12px; height: 12px; }
  .hero-phone-live-desktop { display: none; }
  .hero-phone-message strong { font-size: 12px; }
  .hero-phone-message p { font-size: 9.5px; }
  .hero-phone-test { min-height: 44px; font-size: 10px; }
  .hero-phone-shortcut { width: 32px; height: 32px; }
  .hero-phone-swipe { font-size: 8px; }
  .hero-phone-gesture { width: 80px; left: calc(50% - 40px); }
}
