/* Vista Lead Generation — Craftbase-inspired 2026 redesign */
:root {
  --ink: #10213f;
  --ink-2: #263550;
  --blue: #256fdd;
  --teal: #1aa79a;
  --sky: #dcecff;
  --paper: #f7f8f5;
  --white: #fff;
  --line: rgba(16, 33, 63, .14);
  --muted: #667085;
  --shadow: 0 24px 70px rgba(16, 33, 63, .10);
  --radius: 30px;
}

html { scroll-behavior: smooth; }
body {
  background: var(--paper) !important;
  color: var(--ink) !important;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
  font-size: 17px;
  line-height: 1.62;
  letter-spacing: -.01em;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  background:
    radial-gradient(circle at 82% 8%, rgba(37,111,221,.09), transparent 28rem),
    radial-gradient(circle at 12% 38%, rgba(26,167,154,.07), transparent 30rem);
}
.shell { width: min(1240px, calc(100% - 48px)) !important; }
.section { padding: 118px 0 !important; }
.section.soft { background: #eef2f4 !important; }
.eyebrow, .pill {
  color: var(--blue) !important;
  font-size: 12px !important;
  font-weight: 800 !important;
  letter-spacing: .14em !important;
  text-transform: uppercase;
}
h1, h2, h3, h4 { color: var(--ink) !important; letter-spacing: -.045em !important; }
h1 { font-size: clamp(52px, 6vw, 88px) !important; line-height: .98 !important; max-width: 13ch; }
h2 { font-size: clamp(40px, 4.4vw, 68px) !important; line-height: 1.02 !important; }
h3 { line-height: 1.12 !important; }
p { color: var(--ink-2); }

.site-header {
  position: sticky !important;
  top: 14px !important;
  z-index: 50;
  width: min(1240px, calc(100% - 36px)) !important;
  margin: 14px auto 0 !important;
  border: 1px solid rgba(16,33,63,.12) !important;
  border-radius: 18px !important;
  background: rgba(255,255,255,.90) !important;
  box-shadow: 0 12px 40px rgba(16,33,63,.08) !important;
  backdrop-filter: blur(18px);
}
.nav-shell { width: 100% !important; min-height: 72px !important; padding: 0 18px 0 22px !important; }
.brand img { width: 168px !important; height: auto !important; }
.desktop-nav { gap: 25px !important; }
.desktop-nav > a, .nav-drop-toggle { color: var(--ink) !important; font-size: 14px !important; font-weight: 700 !important; }
.nav-menu { border-radius: 20px !important; border: 1px solid var(--line) !important; box-shadow: var(--shadow) !important; }
.nav-actions .btn { border-radius: 12px !important; }

.btn {
  border-radius: 12px !important;
  min-height: 52px;
  padding: 0 24px !important;
  font-size: 14px !important;
  font-weight: 800 !important;
  letter-spacing: -.01em;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease !important;
}
.btn:hover { transform: translateY(-2px); }
.btn-dark { background: var(--ink) !important; color: white !important; box-shadow: 0 12px 26px rgba(16,33,63,.16); }
.btn-dark:hover { background: var(--blue) !important; }
.btn-ghost, .btn-outline { border-color: var(--line) !important; background: rgba(255,255,255,.7) !important; color: var(--ink) !important; }

.hero, .inner-hero, .pricing-live-hero {
  min-height: auto !important;
  padding: 94px 0 88px !important;
  background: transparent !important;
}
.hero-grid, .inner-hero-grid, .pricing-live-hero-grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(430px, .92fr) !important;
  gap: clamp(48px, 7vw, 100px) !important;
  align-items: start !important;
}
.hero-copy, .inner-hero-grid > div:first-child, .pricing-live-copy { padding: 0 !important; }
.hero-copy > p, .inner-hero-grid > div:first-child > p, .pricing-live-lead {
  max-width: 610px !important;
  font-size: clamp(18px, 1.6vw, 21px) !important;
  line-height: 1.62 !important;
}
.hero-art, .inner-visual, .green-impact, .pricing-live-visual {
  position: relative !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 16px !important;
  border: 1px solid var(--line) !important;
  box-sizing: border-box !important;
  border-radius: var(--radius) !important;
  overflow: hidden !important;
  background: #fff !important;
  box-shadow: var(--shadow) !important;
  aspect-ratio: 1586 / 992 !important;
  min-height: 0 !important;
  align-self: start !important;
  display: grid !important;
  place-items: center !important;
}
.hero-art::after, .inner-visual::after, .green-impact::after, .pricing-live-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.38);
  border-radius: inherit;
  pointer-events: none;
}
.visual-frame { border: 0 !important; box-shadow: none !important; background: transparent !important; }
.visual-frame > img.visual-composite,
.hero-art > img,
.inner-visual > img,
.green-impact > img,
.pricing-live-platform-shot {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  object-position: center !important;
  margin: 0 !important;
  padding: 0 !important;
  border-radius: inherit !important;
  display: block;
}

/* Each generated editorial image is 1586 × 992. Matching the frame to the
   source ratio keeps faces, screens, hands and room edges in their intended
   positions instead of letting the browser crop them differently by page. */
.hero-art,
.inner-visual,
.green-impact,
.pricing-live-visual,
.step-visual,
.resource-art,
.portrait-art,
.switch-visual {
  aspect-ratio: 1586 / 992 !important;
}
.hero-art > img,
.inner-visual > img,
.green-impact > img,
.pricing-live-visual img,
.step-visual img,
.resource-art img,
.portrait-art img,
.switch-visual > img {
  object-fit: contain !important;
  object-position: 50% 50% !important;
}
.inner-visual > :not(img):not(.about-logo-card), .green-impact > :not(img), .hero-art > :not(img) { display: none !important; }
.about-logo-card { position: absolute !important; right: 22px !important; bottom: 22px !important; max-width: 155px !important; border-radius: 14px !important; }
.metric-hero, .hero-price-note {
  margin-top: 25px !important;
  border-top: 1px solid var(--line) !important;
  padding-top: 20px !important;
  color: var(--muted) !important;
}
.home-hero-proofbar { margin-top: 54px !important; }

.center-head { max-width: 860px !important; margin-bottom: 62px !important; }
.center-head h2 { margin: 12px auto 18px !important; }
.section-head { align-items: end !important; gap: 80px !important; margin-bottom: 58px !important; }
.section-head > div { max-width: 760px !important; }
.section-head > p { max-width: 430px !important; }

.feature-band { padding: 0 0 34px !important; background: transparent !important; }
.four-up {
  background: var(--ink) !important;
  padding: 24px 30px !important;
  border-radius: 22px !important;
}
.mini-feature, .mini-feature b, .mini-feature span { color: white !important; }
.mini-feature svg { stroke: #74d7cf !important; }

.three-info, .process-grid, .step-cards, .pricing-grid, .pricing-live-grid, .resource-grid, .team-grid {
  gap: 22px !important;
}
.info-card, .process-card, .step-card, .price-card, .pricing-live-card, .resource-card, .team-card,
.green-card, .cta-card, .contact-form, .address-card, .booking-frame-wrap {
  border: 1px solid var(--line) !important;
  border-radius: 24px !important;
  background: rgba(255,255,255,.94) !important;
  box-shadow: none !important;
}
.info-card, .process-card, .pricing-live-card { padding: 34px !important; }
.step-card { padding: 16px 16px 32px !important; }
.step-card h3, .step-card p, .step-num { margin-left: 14px !important; margin-right: 14px !important; }
.step-visual, .resource-art, .portrait-art {
  aspect-ratio: 1.6 / 1 !important;
  overflow: hidden !important;
  border-radius: 18px !important;
  margin-bottom: 28px !important;
}
.step-visual img, .resource-art img, .portrait-art img { width: 100% !important; height: 100% !important; object-fit: cover !important; }
.resource-card { padding: 14px 14px 30px !important; overflow: hidden; }
.resource-card > span, .resource-card > h3, .resource-card > p, .resource-card > b { margin-left: 16px !important; margin-right: 16px !important; }
.resource-card h3 { font-size: 28px !important; }
.process-card { min-height: 260px !important; }

.feature-switcher, .split-feature, .faq-layout, .contact-shell {
  gap: clamp(34px, 6vw, 80px) !important;
  align-items: center !important;
}
.switch-list { gap: 0 !important; }
.switch-btn {
  padding: 28px 8px !important;
  border-bottom: 1px solid var(--line) !important;
  background: transparent !important;
}
.switch-btn.active { color: var(--blue) !important; }
.switch-visual { border-radius: var(--radius) !important; overflow: hidden !important; min-height: 0 !important; }
.switch-visual > img { position: absolute; inset: 0; width: 100% !important; height: 100% !important; object-fit: cover !important; }
.switch-visual .tab-pane { background: linear-gradient(180deg, transparent, rgba(16,33,63,.84)) !important; }
.pane-card { background: rgba(255,255,255,.94) !important; border-radius: 20px !important; }

.product-stage { border-radius: var(--radius) !important; background: #e8edf2 !important; box-shadow: none !important; }
.app-window { border-radius: 18px !important; box-shadow: 0 24px 60px rgba(16,33,63,.16) !important; }
.orbit { filter: none !important; }

.split-feature.no-graph {
  grid-template-columns: minmax(0, 820px) !important;
  justify-content: center !important;
}
.split-feature.no-graph > div:first-child {
  padding: clamp(36px, 6vw, 66px) !important;
  border: 1px solid var(--line) !important;
  border-radius: 26px !important;
  background: white !important;
}
.dashboard-cta.no-dashboard-image { padding-bottom: 100px !important; }
.dashboard-cta.no-dashboard-image .center-head {
  padding: clamp(42px, 7vw, 78px) !important;
  max-width: 1000px !important;
  border-radius: 28px !important;
  background: var(--ink) !important;
}
.dashboard-cta.no-dashboard-image .center-head h2,
.dashboard-cta.no-dashboard-image .center-head p { color: white !important; }
.signal-list { display: grid; gap: 10px; margin-top: 24px; }
.signal-list span {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255,255,255,.95);
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
}
.signal-list span::before { content: "✓"; color: var(--teal); font-weight: 900; }

.pricing-grid { grid-template-columns: repeat(3, 1fr) !important; }
.price-card { padding: 38px !important; }
.price-card.featured { background: var(--ink) !important; transform: none !important; }
.price-card.featured h3, .price-card.featured p, .price-card.featured li, .price-card.featured .plan, .price-card.featured .price { color: white !important; }
.vista-go-pricing-section { background: var(--ink) !important; }
.vista-go-pricing-card { border: 0 !important; background: transparent !important; }
.vista-go-pricing-card h2, .vista-go-pricing-card p, .vista-go-pricing-card li, .vista-go-price { color: white !important; }
.pricing-live-platform-wrap { width: 100% !important; height: 100% !important; margin: 0 !important; padding: 0 !important; display: grid !important; place-items: center !important; }
.pricing-live-platform-shot { content: url('/assets/img/craftbase-2026/pricing.webp'); }

.testimonial { border-radius: var(--radius) !important; padding: 18px !important; background: white !important; border: 1px solid var(--line) !important; gap: 50px !important; }
.testimonial blockquote { font-size: clamp(28px, 3vw, 44px) !important; line-height: 1.16 !important; color: var(--ink) !important; }
.testimonial .portrait-art { margin: 0 !important; min-height: 0 !important; }

.team-card-photo { overflow: hidden; }
.team-photo-frame { aspect-ratio: 4 / 5 !important; background: #e8edf2 !important; overflow: hidden !important; }
.team-photo-frame img { width: 100% !important; height: 100% !important; object-fit: cover !important; object-position: 50% 15% !important; }

/* The real Vista platform screenshot is interface content, not photography.
   It must always remain fully visible. */
.platform-shot,
img[src*="vista-lg-platform-dashboard"] {
  object-fit: contain !important;
  object-position: center !important;
  background: white !important;
}
.platform-proof {
  margin: 0 !important;
  padding: 18px !important;
  border: 1px solid var(--line) !important;
  border-radius: 24px !important;
  background: white !important;
  overflow: hidden !important;
}
.platform-proof-image {
  display: block !important;
  width: 100% !important;
  height: auto !important;
  aspect-ratio: 1200 / 750 !important;
  border-radius: 15px !important;
}
.platform-proof figcaption { padding: 14px 4px 2px !important; }
.team-card-body { padding: 26px 28px 32px !important; }

.contact-shell { align-items: stretch !important; }
.contact-home .contact-shell { align-items: start !important; }
.contact-home .contact-shell aside.visual-frame {
  display: grid !important;
  padding: 16px !important;
  gap: 0 !important;
  min-height: 0 !important;
  background: white !important;
  overflow: hidden !important;
}
.contact-home .contact-shell aside.visual-frame > img.visual-composite {
  position: relative !important;
  inset: auto !important;
  display: block !important;
  width: 100% !important;
  height: auto !important;
  aspect-ratio: 1586 / 992 !important;
  object-fit: cover !important;
  object-position: center !important;
  border-radius: 16px !important;
  margin: 0 0 14px !important;
}
.contact-home .contact-shell aside.visual-frame .contact-stat {
  position: relative !important;
  inset: auto !important;
  width: 100% !important;
  margin: 0 !important;
  box-shadow: none !important;
}
.contact-form { padding: clamp(28px, 4vw, 46px) !important; }
.contact-form input, .contact-form select, .contact-form textarea {
  border: 1px solid var(--line) !important;
  border-radius: 11px !important;
  background: #f7f8f5 !important;
}
.booking-frame-wrap { padding: 18px !important; overflow: hidden; }
.booking-frame { border-radius: 16px !important; }

.faq-item { border-bottom: 1px solid var(--line) !important; background: transparent !important; }
.faq-item button { font-size: 19px !important; }

.final-cta, .dashboard-cta { background: transparent !important; }
.cta-card {
  padding: clamp(42px, 7vw, 82px) !important;
  background: var(--ink) !important;
  overflow: hidden;
  position: relative;
}
.cta-card::after { content: ""; position: absolute; width: 360px; height: 360px; right: -100px; top: -150px; border-radius: 50%; background: rgba(37,111,221,.35); filter: blur(5px); }
.cta-card h2, .cta-card p { color: white !important; }

.footer { background: #0b1730 !important; border-radius: 34px 34px 0 0 !important; padding-top: 78px !important; }
.footer h4, .footer a, .footer p, .footer-bottom span { color: rgba(255,255,255,.78) !important; }
.footer h4 { color: white !important; }

@media (max-width: 980px) {
  .desktop-nav, .nav-actions .login-link, .nav-actions > .btn { display: none !important; }
  .menu-toggle { display: inline-flex !important; }
  .hero-grid, .inner-hero-grid, .pricing-live-hero-grid { grid-template-columns: 1fr !important; gap: 42px !important; }
  .hero-art, .inner-visual, .green-impact, .pricing-live-visual { aspect-ratio: 1586 / 992 !important; width: min(100%, 720px) !important; margin-inline: auto !important; }
  h1 { max-width: 15ch; }
  .pricing-grid { grid-template-columns: 1fr !important; }
}

@media (max-width: 720px) {
  .shell { width: min(100% - 28px, 1240px) !important; }
  .site-header { width: calc(100% - 20px) !important; top: 8px !important; margin-top: 8px !important; }
  .nav-shell { min-height: 64px !important; padding: 0 12px 0 16px !important; }
  .brand img { width: 142px !important; }
  .section { padding: 78px 0 !important; }
  .hero, .inner-hero, .pricing-live-hero { padding: 70px 0 62px !important; }
  h1 { font-size: clamp(44px, 13vw, 62px) !important; }
  h2 { font-size: clamp(36px, 10vw, 50px) !important; }
  .hero-art, .inner-visual, .green-impact, .pricing-live-visual { aspect-ratio: 1586 / 992 !important; border-radius: 22px !important; padding: 10px !important; }
  .button-row { align-items: stretch !important; }
  .button-row .btn { width: 100%; justify-content: center; }
  .four-up { grid-template-columns: 1fr 1fr !important; padding: 22px !important; }
  .section-head { display: block !important; }
  .section-head > p { margin-top: 20px !important; }
  .step-cards, .resource-grid, .three-info, .process-grid, .pricing-live-grid { grid-template-columns: 1fr !important; }
  .testimonial { grid-template-columns: 1fr !important; }
  .testimonial .portrait-art { min-height: 0 !important; }
  .footer { border-radius: 24px 24px 0 0 !important; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}
