/* ============================================================
   SERVICE PAGE — shared styles for Capture, SI, Hosting
   ============================================================ */

/* ── Hero ────────────────────────────────────────────────── */
.sp-hero {
  background: var(--white);
  min-height: 70vh;
  display: flex;
  align-items: flex-end;
  padding: 0 48px 80px;
  padding-top: calc(var(--nav-h) + 60px);
}

.sp-hero--dark {
  background: var(--dark);
}

/* Fixed tour background — sits behind everything, covered by opaque sections as they scroll in */
.sp-hero-si-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  will-change: transform, border-radius;
  transform-origin: center center;
  overflow: hidden;
  background: var(--dark);
}

.sp-hero-si-bg iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
  pointer-events: none;
}

.sp-hero-si-overlay {
  position: absolute;
  inset: 0;
  background: rgba(28, 28, 30, 0.55);
}

/* Hero section — transparent so the fixed tour bg shows through */
.sp-hero--si-scroll {
  height: 100vh;
  position: relative;
  z-index: 1;
  background: transparent;
}

.sp-hero-si-content {
  position: absolute;
  bottom: calc(80px + 15vh);
  left: 48px;
  right: 48px;
  z-index: 2;
  will-change: transform, opacity;
}

/* All sections need to sit above the fixed tour bg */
.sp-section {
  position: relative;
  z-index: 1;
}

@media (max-width: 1100px) {
  .sp-hero--si-scroll { height: 100vh; }
  .sp-hero-si-content { left: 24px; right: 24px; bottom: 48px; }
}

.sp-hero-si-content .sp-hero-eyebrow,
.sp-hero-si-content .sp-hero-title,
.sp-hero-si-content .sp-hero-sub {
  color: var(--white);
}

.sp-hero-si-content .sp-hero-sub {
  opacity: 0.7;
}

@media (max-width: 1100px) {
  .sp-hero--si-scroll { height: 180vh; }
  .sp-hero-si-content { left: 24px; right: 24px; bottom: 48px; }
}

.sp-hero-inner {
  max-width: 960px;
  width: 100%;
}

.sp-hero-eyebrow {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cyan);
  margin: 0 0 20px;
}

.sp-hero-title {
  font-family: var(--font-head);
  font-size: clamp(64px, 9vw, 120px);
  font-weight: 900;
  line-height: 0.92;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 0 0 32px;
}

.sp-hero--dark .sp-hero-title {
  color: var(--white);
}

.sp-hero-sub {
  font-family: var(--font-body);
  font-size: clamp(16px, 2vw, 20px);
  font-weight: 500;
  line-height: 1.55;
  color: var(--ink);
  opacity: 0.7;
  max-width: 560px;
  margin: 0 0 40px;
}

.sp-hero--dark .sp-hero-sub {
  color: var(--white);
  opacity: 0.65;
}

.sp-hero-cta {
  display: inline-block;
}


/* ── Sections ────────────────────────────────────────────── */
.sp-section {
  padding: 96px 48px;
}

.sp-section--light {
  background: var(--white);
}

.sp-section--dark {
  background: #1c1c1e;
  isolation: isolate;
}

.sp-section--grey {
  background: #f4f4f4;
}

.sp-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.sp-inner--split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
  max-width: 1100px;
  margin: 0 auto;
}

.sp-split-left {}
.sp-split-right {}

.sp-section-header {
  max-width: 700px;
  margin-bottom: 64px;
}

.sp-section-sub {
  font-family: var(--font-body);
  font-size: 17px;
  font-weight: 500;
  line-height: 1.65;
  color: var(--ink);
  opacity: 0.7;
  margin-top: 20px;
}

.sp-section-sub--light {
  color: var(--white);
  opacity: 0.65;
}


/* ── Typography helpers ──────────────────────────────────── */
.sp-eyebrow {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cyan);
  margin: 0 0 16px;
  display: block;
}

.sp-eyebrow--light {
  color: var(--cyan);
}

.sp-title {
  font-family: var(--font-head);
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 0;
}

.sp-title--light {
  color: var(--white);
}

.sp-body {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.7;
  color: var(--ink);
  opacity: 0.8;
  margin: 0 0 20px;
}

.sp-body:last-child { margin-bottom: 0; }

.sp-footnote {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 500;
  color: var(--ink);
  opacity: 0.45;
  margin-top: 16px;
}


/* ── Capture hero ────────────────────────────────────────── */
.cap-hero {
  height: 280vh;
  position: relative;
}

.cap-hero-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
  background: #fff;
}

/* Video: starts small, expands to full bleed — sized by JS */
.cap-video-frame {
  position: absolute;
  top: 0;
  left: 40%;
  right: 40%;
  bottom: auto; /* height set by JS */
  z-index: 1;
  overflow: hidden;
}

.cap-bg-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Text group: sits 50px below the video, scrolls off bottom — top set by JS */
.cap-group {
  position: absolute;
  left: 0;
  right: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 48px;
  box-sizing: border-box;
  pointer-events: none;
  will-change: transform;
}

.cap-title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 900;
  font-size: clamp(60px, 8vw, 110px);
  line-height: 1;
  letter-spacing: -0.02em;
  color: #232323;
  margin: 8px 0 0;
}

.cap-eyebrow {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #00fff7;
  margin: 0 0 20px;
}

.cap-sub {
  font-family: var(--font-body);
  font-size: clamp(14px, 1.4vw, 18px);
  font-weight: 500;
  line-height: 1.65;
  color: #232323;
  opacity: 0.6;
  margin: 40px 0 0;
  max-width: 480px;
}

/* Sections below sit above the sticky hero */
.cap-hero-cta {
  pointer-events: auto;
  margin-top: 36px;
  will-change: transform;
}

.cap-hero ~ .sp-section {
  position: relative;
  z-index: 1;
}

@media (max-width: 1100px) {
  .cap-hero { height: 300vh; }
}

/* ── Video hero (Capture) ────────────────────────────────── */
.sp-hero--video {
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  align-items: flex-end;
  padding: 0 48px 80px;
  padding-top: calc(var(--nav-h) + 40px);
}

.sp-hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.sp-hero-video-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(28, 28, 30, 0.3) 0%,
    rgba(28, 28, 30, 0.2) 40%,
    rgba(28, 28, 30, 0.65) 100%
  );
  z-index: 1;
}

.sp-hero-inner--video {
  position: relative;
  z-index: 2;
}

@media (max-width: 1100px) {
  .sp-hero--video {
    padding: 0 24px 60px;
    padding-top: calc(var(--nav-h) + 40px);
  }
}

/* ── Process steps (Capture) ─────────────────────────────── */
.sp-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 56px;
}

.sp-step {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 32px;
  padding: 40px 0;
  border-top: 1px solid rgba(50, 50, 50, 0.1);
}

.sp-step--last {
  border-bottom: 1px solid rgba(50, 50, 50, 0.1);
}

.sp-step-num {
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 900;
  color: var(--cyan);
  letter-spacing: 0.05em;
  padding-top: 4px;
}

.sp-step-name {
  font-family: var(--font-sub);
  font-size: 20px;
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 12px;
}

.sp-step-copy {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.7;
  color: var(--ink);
  opacity: 0.75;
  margin: 0;
}


/* ── Media cards (Capture) ───────────────────────────────── */
.sp-media-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
  margin-top: 0;
}

.sp-media-card {
  background: rgba(255, 255, 255, 0.04);
  overflow: hidden;
}

.sp-media-visual {
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.sp-media-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.sp-media-visual--placeholder {
  background: rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
}

.sp-media-placeholder-label {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.25);
}

.sp-media-body {
  padding: 28px 32px 36px;
}

.sp-media-name {
  font-family: var(--font-sub);
  font-size: 18px;
  font-weight: 700;
  color: var(--white);
  margin: 0 0 10px;
}

.sp-media-copy {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.65;
  color: var(--white);
  opacity: 0.6;
  margin: 0;
}


/* ── POI cards (Spatial Intelligence) ───────────────────── */
.sp-poi-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
  margin-top: 0;
}

.sp-poi-card {
  padding: 48px 40px;
  border: 1px solid rgba(255, 255, 255, 0.07);
}

.sp-poi-icon {
  display: block;
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 900;
  color: var(--cyan);
  letter-spacing: 0.05em;
  margin-bottom: 20px;
}

.sp-poi-name {
  font-family: var(--font-sub);
  font-size: 20px;
  font-weight: 700;
  color: var(--white);
  margin: 0 0 12px;
}

.sp-poi-copy {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.65;
  color: var(--white);
  opacity: 0.6;
  margin: 0;
}


/* ── Tour comparison (Spatial Intelligence) ──────────────── */
.sp-comparison {
  margin-top: 0;
}

.sp-comparison-toggle {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.sp-toggle-label {
  font-family: var(--font-sub);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-transform: none;
  color: var(--ink);
}

.sp-switch-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.sp-switch-side-label {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
  opacity: 0.3;
  transition: opacity 0.2s, color 0.2s;
}

.sp-switch-side-label--active {
  opacity: 1;
  color: var(--ink);
}

.sp-switch {
  display: inline-flex;
  align-items: center;
  cursor: pointer;
  gap: 0;
}

.sp-switch input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.sp-switch-track {
  width: 52px;
  height: 28px;
  background: rgba(50, 50, 50, 0.15);
  border-radius: 999px;
  position: relative;
  transition: background 0.25s ease;
}

.sp-switch input:checked + .sp-switch-track {
  background: var(--cyan);
}

.sp-switch-thumb {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 22px;
  height: 22px;
  background: var(--white);
  border-radius: 50%;
  box-shadow: 0 1px 4px rgba(0,0,0,0.18);
  transition: transform 0.25s ease;
}

.sp-switch input:checked + .sp-switch-track .sp-switch-thumb {
  transform: translateX(24px);
}

.sp-comparison-embed {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #111;
}

.sp-comparison-embed iframe {
  width: 100%;
  height: 100%;
  display: block;
  border: none;
}


/* ── Structure stats (Spatial Intelligence) ──────────────── */
.sp-structure-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid rgba(50, 50, 50, 0.1);
  margin-top: 56px;
}

.sp-structure-stat {
  padding: 48px 32px 48px 0;
  border-right: 1px solid rgba(50, 50, 50, 0.1);
}

.sp-structure-stat:last-child {
  border-right: none;
  padding-right: 0;
  padding-left: 32px;
}

.sp-structure-stat:not(:first-child):not(:last-child) {
  padding-left: 32px;
}

.sp-stat-number {
  display: block;
  font-family: var(--font-head);
  font-size: clamp(64px, 7vw, 96px);
  font-weight: 900;
  color: var(--ink);
  line-height: 1;
  margin-bottom: 12px;
}

.sp-stat-label {
  font-family: var(--font-sub);
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 8px;
}

.sp-stat-desc {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.6;
  color: var(--ink);
  opacity: 0.6;
  margin: 0;
}


/* ── How It Works two-col (Spatial Intelligence) ────────── */
.sp-hiw-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  margin-top: 64px;
}

.sp-hiw-col-label {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink);
  opacity: 0.4;
  margin: 0 0 32px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(50,50,50,0.1);
}

.sp-hiw-step {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 20px;
  padding: 28px 0;
  border-bottom: 1px solid rgba(50,50,50,0.07);
}

.sp-hiw-step:first-of-type {
  border-top: none;
}

.sp-hiw-num {
  font-family: var(--font-head);
  font-size: 12px;
  font-weight: 900;
  color: var(--cyan);
  letter-spacing: 0.05em;
  padding-top: 3px;
}

.sp-hiw-name {
  font-family: var(--font-sub);
  font-size: 17px;
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 8px;
}

.sp-hiw-copy {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.65;
  color: var(--ink);
  opacity: 0.65;
  margin: 0;
}

.sp-section--dark .sp-hiw-col-label {
  color: var(--white);
  border-bottom-color: rgba(255,255,255,0.1);
}

.sp-section--dark .sp-hiw-step {
  border-bottom-color: rgba(255,255,255,0.07);
}

.sp-section--dark .sp-hiw-name {
  color: var(--white);
}

.sp-section--dark .sp-hiw-copy {
  color: var(--white);
  opacity: 0.55;
}

@media (max-width: 1100px) {
  .sp-hiw-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
}

/* ── Ownership note (Spatial Intelligence) ───────────────── */
.sp-ownership-note {
  margin-top: 64px;
  padding: 40px;
  border: 1px solid rgba(50, 50, 50, 0.1);
  background: #f9f9f9;
}

.sp-ownership-title {
  font-family: var(--font-sub);
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 12px;
}


/* ── Feature list (Hosting) ──────────────────────────────── */
.sp-feature-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.sp-feature {
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 24px;
  padding: 32px 0;
  border-top: 1px solid rgba(50, 50, 50, 0.08);
}

.sp-feature:last-child {
  border-bottom: 1px solid rgba(50, 50, 50, 0.08);
}

.sp-feature-num {
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--cyan);
  font-weight: 700;
  padding-top: 2px;
}

.sp-feature-name {
  font-family: var(--font-sub);
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 8px;
}

.sp-feature-copy {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.65;
  color: var(--ink);
  opacity: 0.7;
  margin: 0;
}


/* ── Code block (Hosting) ────────────────────────────────── */
.sp-code-block {
  margin-top: 48px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.sp-code-label {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.35);
  padding: 16px 28px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  margin: 0;
}

.sp-code {
  padding: 28px;
  margin: 0;
  overflow-x: auto;
  background: transparent;
}

.sp-code code {
  font-family: 'SF Mono', 'Fira Code', 'Courier New', monospace;
  font-size: 14px;
  line-height: 1.7;
  color: var(--cyan);
  white-space: pre;
}


/* ── Pricing card (Hosting) ──────────────────────────────── */
.sp-pricing-card {
  border: 1px solid rgba(50, 50, 50, 0.12);
  margin-top: 56px;
}

.sp-pricing-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 40px 48px;
  border-bottom: 1px solid rgba(50, 50, 50, 0.1);
  flex-wrap: wrap;
  gap: 24px;
}

.sp-pricing-name {
  font-family: var(--font-sub);
  font-size: 22px;
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 6px;
}

.sp-pricing-desc {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  opacity: 0.55;
  margin: 0;
}

.sp-pricing-amount {
  display: flex;
  align-items: baseline;
  gap: 4px;
  white-space: nowrap;
}

.sp-pricing-currency {
  font-family: var(--font-head);
  font-size: 28px;
  font-weight: 900;
  color: var(--ink);
}

.sp-pricing-value {
  font-family: var(--font-head);
  font-size: 72px;
  font-weight: 900;
  line-height: 1;
  color: var(--ink);
}

.sp-pricing-period {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
  opacity: 0.5;
  margin-left: 4px;
}

.sp-pricing-includes {
  padding: 36px 48px;
}

.sp-pricing-includes-label {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink);
  opacity: 0.4;
  margin: 0 0 20px;
}

.sp-pricing-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.sp-pricing-list li {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
  opacity: 0.75;
  padding-left: 20px;
  position: relative;
}

.sp-pricing-list li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--cyan);
  font-weight: 700;
}

.sp-pricing-note {
  margin-top: 32px;
  padding: 28px 32px;
  border: 1px solid rgba(50, 50, 50, 0.08);
  background: #f9f9f9;
}

.sp-pricing-note p {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.65;
  color: var(--ink);
  opacity: 0.65;
  margin: 0;
}


/* ── CTA strip ───────────────────────────────────────────── */
.sp-cta-strip {
  background: var(--ink);
  padding: 96px 48px;
  text-align: center;
}

.sp-cta-inner {
  max-width: 640px;
  margin: 0 auto;
}

.sp-cta-title {
  font-family: var(--font-head);
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: -0.02em;
  color: var(--white);
  margin: 0 0 20px;
}

.sp-cta-sub {
  font-family: var(--font-body);
  font-size: 17px;
  font-weight: 500;
  line-height: 1.55;
  color: var(--white);
  opacity: 0.65;
  margin: 0 0 40px;
}


/* ── Reveal animation (mirrors main.js IntersectionObserver) */
[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}


/* ── Mobile ──────────────────────────────────────────────── */
@media (max-width: 1100px) {
  .sp-hero {
    padding: 0 24px 60px;
    padding-top: calc(var(--nav-h) + 40px);
    min-height: 60vh;
    align-items: flex-end;
  }

  .sp-hero-title {
    font-size: clamp(52px, 12vw, 80px);
  }

  .sp-section {
    padding: 64px 24px;
  }

  .sp-inner--split {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .sp-media-grid {
    grid-template-columns: 1fr;
    gap: 2px;
  }

  .sp-poi-grid {
    grid-template-columns: 1fr;
    gap: 2px;
  }

  .sp-structure-grid {
    grid-template-columns: 1fr;
    border-top: none;
  }

  .sp-structure-stat {
    padding: 32px 0;
    border-right: none;
    border-top: 1px solid rgba(50, 50, 50, 0.1);
  }

  .sp-structure-stat:last-child {
    padding-left: 0;
    border-bottom: 1px solid rgba(50, 50, 50, 0.1);
  }

  .sp-structure-stat:not(:first-child):not(:last-child) {
    padding-left: 0;
  }

  .sp-pricing-top {
    padding: 28px 24px;
    flex-direction: column;
    align-items: flex-start;
  }

  .sp-pricing-includes {
    padding: 24px;
  }

  .sp-pricing-list {
    grid-template-columns: 1fr;
  }

  .sp-comparison-tabs {
    flex-direction: column;
    gap: 2px;
  }

  .sp-step {
    grid-template-columns: 48px 1fr;
    gap: 20px;
  }

  .sp-cta-strip {
    padding: 72px 24px;
  }

  .sp-poi-card {
    padding: 36px 24px;
  }
}


/* ── Hosting page ──────────────────────────────────────────── */

.sp-pricing-cards {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 24px;
  margin-top: 48px;
  align-items: start;
}

.sp-pricing-cards .sp-pricing-card {
  margin-top: 0;
}

.sp-pricing-card--bundle {
  border-color: var(--cyan);
  position: relative;
  transform: translateY(-12px);
  box-shadow: 0 24px 64px rgba(0,255,247,0.08), 0 4px 24px rgba(0,0,0,0.08);
}

.sp-pricing-badge {
  display: inline-block;
  background: var(--cyan);
  color: var(--dark);
  font-family: var(--font-head);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 12px;
  margin-bottom: 20px;
}

.sp-pricing-card--custom {
  border-style: dashed;
  border-color: rgba(50,50,50,0.2);
}

.sp-pricing-value--custom {
  font-family: var(--font-head);
  font-size: 28px;
  font-weight: 700;
  color: var(--ink);
}

.sp-pricing-cta {
  display: inline-block;
  margin-top: 28px;
}

@media (max-width: 960px) {
  .sp-pricing-cards {
    grid-template-columns: 1fr;
  }
  .sp-pricing-card--bundle {
    transform: none;
  }
}

/* Problem grid */
.sp-problem-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  margin-top: 64px;
  border: 2px solid rgba(50,50,50,0.07);
}

.sp-problem-item {
  padding: 40px 36px;
  border: 2px solid rgba(50,50,50,0.07);
}

.sp-problem-name {
  font-family: var(--font-head);
  font-size: 17px;
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 12px;
}

.sp-problem-copy {
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.65;
  color: var(--ink);
  opacity: 0.6;
  margin: 0;
}

/* Ease of use steps */
.sp-ease-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  margin-top: 64px;
  margin-bottom: 64px;
}

.sp-ease-step {
  display: flex;
  flex-direction: column;
}

.sp-ease-num {
  font-family: var(--font-head);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--cyan);
  margin-bottom: 20px;
}

.sp-ease-name {
  font-family: var(--font-head);
  font-size: 17px;
  font-weight: 700;
  color: var(--white);
  margin: 0 0 12px;
}

.sp-ease-copy {
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.65;
  color: var(--white);
  opacity: 0.6;
  margin: 0;
}

/* SI dependency notice */
.sp-notice {
  margin-top: 72px;
}

.sp-notice-inner {
  border-left: 3px solid var(--cyan);
  padding: 28px 32px;
  background: rgba(0,255,247,0.04);
}

.sp-notice-label {
  font-family: var(--font-head);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cyan);
  margin: 0 0 12px;
}

.sp-notice-body {
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.7;
  color: var(--ink);
  margin: 0 0 16px;
  max-width: 680px;
}

.sp-notice-link {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
}

.sp-notice-link:hover {
  color: var(--cyan);
}

/* ── Hosting hero ─────────────────────────────────────────── */
.h-hero { height: 280vh; position: relative; }

.h-hero-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
  background: var(--dark);
}

/* Tour iframe — fills the sticky panel, revealed on scroll */
.h-tour-layer {
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: 0;
}

.h-tour-layer iframe {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(100%, 800px);
  aspect-ratio: 16 / 9;
  height: auto;
  border: none;
  display: block;
}

/* Darkening vignette that fades away as tour reveals */
.h-tour-overlay {
  position: absolute;
  inset: 0;
  background: rgba(14,14,16,0.45);
  pointer-events: none;
}

/* Dark base that fades out after tour is fully in */
.h-dark-layer {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: var(--dark);
}

/* Code window container */
.h-code-layer {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px;
  box-sizing: border-box;
}

.h-code-window {
  width: 100%;
  max-width: 600px;
  aspect-ratio: 16 / 9;
  background: #1a1a1f;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.08);
  overflow: hidden;
  box-shadow: 0 32px 80px rgba(0,0,0,0.5);
  font-family: 'Fira Code', 'JetBrains Mono', 'Cascadia Code', monospace;
}

.h-code-chrome {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: #111114;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.h-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}
.h-dot--red   { background: #ff5f57; }
.h-dot--amber { background: #febc2e; }
.h-dot--green { background: #28c840; }

.h-code-filename {
  margin-left: 8px;
  font-family: var(--font-body);
  font-size: 12px;
  color: rgba(255,255,255,0.35);
  letter-spacing: 0.04em;
}

.h-code-body {
  margin: 0;
  padding: 28px 32px;
  overflow: auto;
  font-size: 14px;
  line-height: 1.7;
  color: #cdd6f4;
  white-space: pre;
}

/* Syntax colours */
.h-t-tag  { color: #89b4fa; }
.h-t-attr { color: #a6e3a1; }
.h-t-eq   { color: #cdd6f4; }
.h-t-str  { color: #f38ba8; }
.h-t-var  { color: #fab387; font-style: italic; }

/* Hero text overlay */
.h-hero-text {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 48px;
  box-sizing: border-box;
  pointer-events: none;
}

.h-hero-text .btn-primary { pointer-events: auto; }

.h-eyebrow {
  font-family: var(--font-head);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cyan);
  margin: 0 0 16px;
}

.h-title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 900;
  font-size: clamp(56px, 8vw, 110px);
  line-height: 1;
  letter-spacing: -0.02em;
  color: #fff;
  margin: 0 0 24px;
}

.h-sub {
  font-family: var(--font-body);
  font-size: clamp(15px, 1.6vw, 18px);
  color: #232323;
  line-height: 1.6;
  margin: 0 0 20px;
}

.h-copy {
  font-family: var(--font-body);
  font-size: clamp(13px, 1.2vw, 15px);
  color: #232323;
  line-height: 1.7;
  max-width: 480px;
  margin: 0 0 40px;
}

/* Tour embed panel (after Problem section) */
.h-tour-panel {
  background: var(--dark);
  padding: 0;
  overflow: hidden;
}

.h-tour-embed {
  position: relative;
  width: 90%;
  margin: 0 auto;
  aspect-ratio: 16 / 9;
  max-height: 60vh;
}

.h-tour-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 900px) {
  .sp-problem-grid { grid-template-columns: 1fr; }
  .sp-ease-grid    { grid-template-columns: 1fr 1fr; gap: 28px; }
  .h-hero-text { padding: 0 24px 60px; }
  .h-code-layer { padding: 24px; }
}

@media (max-width: 600px) {
  .sp-ease-grid { grid-template-columns: 1fr; }
}
