@font-face {
  font-family: 'Geist';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('./images/s_geist_v5_gyBhhwUxId8gMGYQMKR3pzfaWI_RruMImpna.woff2') format('woff2'),
       url('https://fonts.gstatic.com/s/geist/v5/gyBhhwUxId8gMGYQMKR3pzfaWI_RruMImpna.woff2') format('woff2');
}

@font-face {
  font-family: 'Stack Sans Headline';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('https://fonts.gstatic.com/s/stacksansheadline/v1/1PtFg9jZXvmMnkLnuURbaukKZJTyrDV326uH6mSinjBIwc6KJQFCqgUA3ZCX.woff2') format('woff2');
}

:root {
  --bg: #f7f7f7;
  --surface: #ffffff;
  --obsidian: #131515;
  --ink: #131515;
  --muted: #626666;
  --orange: #ff4c00;
  --orange-soft: #ff6b2b;
  --border: #e7e5e4;
  --font-display: 'Stack Sans Headline', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-sans: 'Geist', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

/* Floating 3-pill header */
.nav-wrap {
  position: fixed;
  top: 18px;
  left: 0;
  right: 0;
  z-index: 60;
  display: flex;
  justify-content: center;
  padding: 0 16px;
  pointer-events: none;
}

.nav-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  pointer-events: auto;
  flex-wrap: wrap;
  justify-content: center;
}

.nav-pill {
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(19, 21, 21, 0.08);
  border-radius: 999px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
  height: 48px;
  display: flex;
  align-items: center;
  padding: 0 18px;
  gap: 10px;
}

.brand-pill {
  padding: 0 16px 0 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: -0.02em;
}

.brand-pill img {
  width: 30px;
  height: 30px;
  border-radius: 9px;
}

.links-pill {
  gap: 24px;
  font-size: 14px;
  font-weight: 500;
  color: #2b2d2d;
}

.links-pill a:hover {
  color: var(--orange);
}

.actions-pill {
  padding: 6px;
  gap: 6px;
}

.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  transition: transform 0.15s ease, background 0.15s ease;
}

.icon-btn:hover {
  transform: translateY(-1px);
}

.icon-btn-primary {
  background: var(--orange);
  color: #ffffff;
}

.icon-btn-dark {
  background: #f0f0f0;
  color: var(--obsidian);
}

/* Warm Espresso-to-Burnt-Orange Hero Stage */
.hero {
  position: relative;
  min-height: 920px;
  padding: 126px 24px 0;
  background:
    radial-gradient(65% 60% at 24% 48%, rgba(255, 76, 0, 0.62) 0%, rgba(163, 46, 0, 0.42) 45%, rgba(16, 12, 10, 0.96) 100%),
    linear-gradient(125deg, #6e2204 0%, #2a1006 42%, #0c0c0d 100%);
  color: #ffffff;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

#hero-orb-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0.72;
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 980px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 14px 5px 6px;
  border-radius: 999px;
  background: rgba(19, 21, 21, 0.56);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(8px);
  font-size: 13px;
  margin-bottom: 24px;
}

.hero-tag-pill {
  background: var(--obsidian);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.18);
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
}

.hero h1 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(46px, 7.2vw, 90px);
  line-height: 0.98;
  letter-spacing: -0.04em;
  font-weight: 700;
  max-width: 820px;
}

.hero-sub {
  margin: 22px 0 0;
  font-size: 18px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.84);
  max-width: 580px;
}

.hero-ctas {
  margin-top: 30px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.btn-hero-white {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #ffffff;
  color: #131515;
  padding: 15px 28px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.25);
  transition: transform 0.16s ease;
}

.btn-hero-white:hover {
  transform: translateY(-2px);
}

.btn-hero-glass {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.24);
  color: #ffffff;
  padding: 15px 26px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 500;
  backdrop-filter: blur(10px);
  transition: transform 0.16s ease, background 0.16s ease;
}

.btn-hero-glass:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.hero-stage {
  position: relative;
  z-index: 2;
  margin-top: 52px;
  width: 100%;
  max-width: 1120px;
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr) 230px;
  gap: 20px;
  align-items: end;
}

.float-stat {
  background: rgba(19, 21, 21, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(16px);
  border-radius: 24px 24px 0 0;
  padding: 24px 20px 28px;
  text-align: left;
  color: #ffffff;
}

.stat-badge {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--orange);
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 16px;
  margin-bottom: 16px;
}

.float-stat h4 {
  margin: 0 0 6px;
  font-family: var(--font-display);
  font-size: 17px;
}

.float-stat p {
  margin: 0;
  font-size: 13px;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.7);
}

.hero-frame {
  background: #0a0a0c;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-bottom: 0;
  border-radius: 26px 26px 0 0;
  padding: 12px 12px 0;
  box-shadow: 0 -10px 60px rgba(255, 76, 0, 0.22);
}

.hero-frame img {
  display: block;
  width: 100%;
  border-radius: 16px 16px 0 0;
}

/* Main Content Containers */
.section {
  max-width: 1160px;
  margin: 0 auto;
  padding: 108px 24px;
}

.kicker-pill {
  display: inline-block;
  padding: 7px 16px;
  border-radius: 999px;
  border: 1px solid #e2dfdf;
  background: #ffffff;
  font-size: 13px;
  font-weight: 500;
  color: #3a3d3d;
}

.section-heading {
  font-family: var(--font-display);
  font-size: clamp(32px, 4.4vw, 48px);
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin: 18px 0 0;
  max-width: 760px;
}

/* Bento Grid (Mixed Crisp White & #131515 Obsidian Cards) */
.bento-grid {
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 18px;
}

.bento-card {
  border-radius: 24px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 250px;
}

.bento-light {
  background: #ffffff;
  border: 1px solid var(--border);
  color: var(--ink);
}

.bento-dark {
  background: var(--obsidian);
  color: #ffffff;
}

.span-7 { grid-column: span 7; }
.span-5 { grid-column: span 5; }
.span-4 { grid-column: span 4; }

.bento-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--orange);
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-family: var(--font-display);
  margin-bottom: 22px;
}

.bento-card h3 {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-size: 24px;
  letter-spacing: -0.02em;
}

.bento-card p {
  margin: 0;
  font-size: 15px;
  line-height: 1.55;
  opacity: 0.78;
}

/* Dotted Light Section (Workflow Switcher matching reference mid.png) */
.dotted-panel {
  background-color: #ffffff;
  background-image: radial-gradient(rgba(19, 21, 21, 0.11) 1px, transparent 1px);
  background-size: 18px 18px;
  border: 1px solid var(--border);
  border-radius: 32px;
  padding: 68px 40px;
  text-align: center;
}

.dotted-panel .section-heading {
  margin-left: auto;
  margin-right: auto;
}

.tab-row {
  margin-top: 32px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.tab-btn {
  cursor: pointer;
  border: 1px solid #dedad6;
  background: #ffffff;
  color: #2b2d2d;
  border-radius: 12px;
  padding: 10px 18px;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 500;
  transition: all 0.15s ease;
}

.tab-btn.active {
  background: var(--obsidian);
  border-color: var(--obsidian);
  color: #ffffff;
  box-shadow: 0 6px 18px rgba(19, 21, 21, 0.16);
}

.tab-showcase {
  margin: 34px auto 0;
  max-width: 960px;
  background: var(--obsidian);
  border-radius: 24px;
  padding: 20px;
  color: #ffffff;
  text-align: left;
}

.tab-showcase-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 6px 8px 18px;
}

.tab-showcase-meta h4 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 22px;
}

.tab-showcase-meta p {
  margin: 4px 0 0;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.72);
}

.tab-showcase img {
  display: block;
  width: 100%;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

/* Metrics + Interactive Orb Sandbox */
.metrics-split {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 32px;
  align-items: center;
}

.big-orange-num {
  font-family: var(--font-display);
  font-size: clamp(68px, 9vw, 120px);
  line-height: 0.92;
  letter-spacing: -0.05em;
  color: var(--orange);
  font-weight: 700;
  margin: 18px 0 12px;
}

.orb-sandbox {
  position: relative;
  height: 440px;
  border-radius: 28px;
  background: #050506;
  border: 1px solid #222226;
  overflow: hidden;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 20px;
  color: #ffffff;
}

.orb-sandbox.is-light {
  background: #ffffff;
  border-color: var(--border);
  color: var(--ink);
}

#demo-orb-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.orb-hud {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
}

.orb-toggle {
  cursor: pointer;
  border-radius: 999px;
  padding: 6px 12px;
  border: 1px solid rgba(255, 90, 31, 0.5);
  background: rgba(255, 90, 31, 0.14);
  color: #ff7a45;
  font-size: 12px;
  font-weight: 600;
}

.orb-sandbox.is-light .orb-toggle {
  color: #ea4b00;
}

/* Setup Steps & Highlights (Cards matching ref_low.png) */
.steps-grid {
  margin-top: 42px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.quote-card {
  background: #eceae8;
  border-radius: 22px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
}

.quote-card h4 {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: 20px;
}

.quote-card p {
  margin: 0;
  font-size: 15px;
  line-height: 1.55;
  color: #2f3131;
}

.code-chip {
  display: inline-block;
  background: #ffffff;
  border: 1px solid #dedad6;
  border-radius: 10px;
  padding: 8px 12px;
  font-family: 'Cascadia Code', Consolas, monospace;
  font-size: 12px;
  color: #131515;
  word-break: break-all;
}

/* Exact Horizon Rotating Planet + Cloud Mist + 3-Column Metrics (from olive-surprise-804598) */
.planet-section {
  width: 100%;
  padding: 96px 24px 64px;
  background: var(--bg);
  text-align: center;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.planet-section .section-heading {
  margin-left: auto;
  margin-right: auto;
  max-width: 640px;
}

.planet-metric-wrap {
  position: relative;
  display: inline-block;
  margin-top: 22px;
  z-index: 3;
}

.planet-metric {
  font-family: var(--font-display);
  font-size: clamp(64px, 8.8vw, 120px);
  line-height: 0.94;
  letter-spacing: -0.045em;
  color: var(--orange);
  font-weight: 700;
  text-shadow: 0 10px 15px rgba(255, 76, 0, 0.5);
}

.planet-tilt-chip {
  position: absolute;
  right: -30px;
  bottom: 0;
  background: #ffffff;
  border: 1px solid #ece9e6;
  box-shadow: 0 10px 26px rgba(19, 21, 21, 0.12);
  border-radius: 999px;
  padding: 7px 16px;
  font-size: 13px;
  font-weight: 600;
  color: #131515;
  transform: rotate(-4deg);
  white-space: nowrap;
  z-index: 4;
}

.planet-bottom {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  margin-top: 10px;
}

.planet-frame {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1080px;
  aspect-ratio: 2.45455;
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow: visible;
}

.planet-clip {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: clip;
  background-color: var(--bg);
}

.planet-video-box {
  width: 100%;
  aspect-ratio: 1.35;
  mix-blend-mode: darken;
  position: relative;
}

.planet-video-box video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 50%;
  display: block;
}

.planet-cloud {
  position: absolute;
  z-index: 1;
  pointer-events: none;
  user-select: none;
}

.planet-cloud-1 {
  height: 250px;
  bottom: -30px;
  left: -230px;
}

.planet-cloud-2 {
  height: 450px;
  bottom: -300px;
  left: -30px;
}

.planet-cloud-3 {
  height: 450px;
  bottom: -60px;
  right: -250px;
  transform: rotateX(180deg);
}

.planet-cloud-blur {
  position: absolute;
  z-index: 1;
  pointer-events: none;
  user-select: none;
  width: 1600px;
  height: 300px;
  bottom: -240px;
  left: calc(50% - 800px);
  background-color: var(--bg);
  filter: blur(10px);
}

.planet-metrics-strip {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 840px;
  margin: 24px auto 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 50px;
  text-align: center;
}

.pm-num {
  font-family: var(--font-display);
  font-size: clamp(44px, 5vw, 68px);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
  color: #131515;
}

.pm-accent {
  color: var(--orange);
}

.pm-label {
  margin-top: 10px;
  font-size: 15px;
  line-height: 1.4;
  color: #525555;
}

/* FAQ Accordion Section (matching ref_p2.png) */
.faq-grid {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 36px;
  align-items: start;
}

.faq-side-card {
  margin-top: 26px;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 26px;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 18px 22px;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.15s ease;
}

.faq-item:hover {
  border-color: #d6d3d1;
}

.faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 600;
  color: var(--ink);
}

.faq-toggle {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #f1f0ee;
  color: #131515;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 500;
  flex-shrink: 0;
}

.faq-a {
  display: none;
  margin-top: 12px;
  font-size: 14.5px;
  line-height: 1.58;
  color: #525555;
}

.faq-item.open .faq-a {
  display: block;
}

/* CTA & Footer */
.cta-band {
  background: var(--obsidian);
  color: #ffffff;
  border-radius: 32px;
  padding: 72px 36px;
  text-align: center;
}

.cta-band h2 {
  margin: 0 auto;
  font-family: var(--font-display);
  font-size: clamp(34px, 5vw, 56px);
  line-height: 1.04;
  letter-spacing: -0.03em;
  max-width: 680px;
}

.cta-band p {
  margin: 16px auto 0;
  color: rgba(255, 255, 255, 0.72);
  max-width: 540px;
  font-size: 16px;
}

footer {
  max-width: 1160px;
  margin: 0 auto;
  padding: 36px 24px 64px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 13px;
  color: var(--muted);
}

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

.footer-links a:hover {
  color: var(--orange);
}

@media (max-width: 960px) {
  .hero-stage {
    grid-template-columns: 1fr;
  }
  .float-stat {
    display: none;
  }
  .span-7, .span-5, .span-4 {
    grid-column: span 12;
  }
  .metrics-split {
    grid-template-columns: 1fr;
  }
  .steps-grid {
    grid-template-columns: 1fr;
  }
  .faq-grid {
    grid-template-columns: 1fr;
  }
  .planet-metrics-strip {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .planet-tilt-chip {
    position: relative;
    right: auto;
    bottom: auto;
    display: inline-block;
    margin-top: 12px;
  }
  .links-pill {
    display: none;
  }
}
