/* =========================================================
   TradeFlow Digital — stylesheet
   Navy #0A1628 / Electric Orange #FF6B2B / White / Light gray
   ========================================================= */

:root {
  --navy:        #0A1628;
  --navy-700:    #0E1E36;
  --navy-600:    #142844;
  --navy-line:   #1E3454;
  --orange:      #FF6B2B;
  --orange-700:  #E8551A;
  --orange-soft: rgba(255, 107, 43, 0.12);
  --white:       #FFFFFF;
  --off:         #F4F6F9;
  --gray-100:    #EDF1F6;
  --gray-300:    #C7D0DC;
  --gray-500:    #6B7787;
  --ink:         #0A1628;
  --ink-soft:    #41506A;

  --maxw: 1200px;
  --radius: 14px;
  --radius-sm: 8px;
  --shadow-card: 0 18px 40px -22px rgba(10, 22, 40, 0.45);
  --shadow-lift: 0 30px 60px -28px rgba(10, 22, 40, 0.55);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);

  --ff: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --ff-display: 'Archivo', 'Inter', system-ui, sans-serif;
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--ff);
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
button { font-family: inherit; cursor: pointer; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; padding: 0; }

/* ---------- layout helpers ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* keyboard-only skip link */
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  background: var(--orange); color: #fff; font-weight: 700; font-size: 14px;
  padding: 10px 16px; border-radius: var(--radius-sm);
  transition: top 0.18s var(--ease);
}
.skip-link:focus { top: 12px; }
.section { padding: 72px 0; position: relative; }
.section--tight { padding: 60px 0; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 13px; font-weight: 700; letter-spacing: 0.14em;
  /* darker orange for AA contrast on light section backgrounds;
     the accent bar (::before) stays bright orange, and dark sections
     override back to --orange below */
  text-transform: uppercase; color: #C2410C;
  margin-bottom: 18px;
}
.eyebrow::before {
  content: ""; width: 26px; height: 2px; background: var(--orange); display: inline-block;
}
.demos .eyebrow, .contact .eyebrow { color: var(--orange); }
.eyebrow--center { justify-content: center; }

h1, h2, h3 { font-family: var(--ff-display); line-height: 1.08; letter-spacing: -0.02em; font-weight: 800; }
/* demo mockups emulate client sites — keep them on the body font */
.mini h1, .mini h2, .mini h3, .mini h4, .mini h5 { font-family: var(--ff); }
.h-sec {
  font-size: clamp(27px, 3.4vw, 38px);
  font-weight: 800; letter-spacing: -0.025em;
}
.lead {
  font-size: clamp(17px, 1.5vw, 19px);
  color: var(--ink-soft); max-width: 56ch;
}
.text-center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-weight: 700; font-size: 15.5px; letter-spacing: -0.01em;
  padding: 15px 26px; border-radius: var(--radius-sm); border: 2px solid transparent;
  transition: transform .18s var(--ease), background .18s var(--ease), box-shadow .18s var(--ease), color .18s var(--ease);
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--orange); color: #fff; box-shadow: 0 10px 22px -12px rgba(255,107,43,.5); }
.btn--primary:hover { background: var(--orange-700); transform: translateY(-2px); box-shadow: 0 14px 26px -12px rgba(255,107,43,.55); }
.btn--ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.28); }
.btn--ghost:hover { border-color: #fff; background: rgba(255,255,255,.06); transform: translateY(-2px); }
/* outline button for light backgrounds (ghost is white-on-transparent, dark-only) */
.btn--outline { background: transparent; color: var(--ink); border-color: var(--gray-300); }
.btn--outline:hover { border-color: var(--navy); background: var(--off); transform: translateY(-2px); }
.btn--dark { background: var(--navy); color: #fff; }
.btn--dark:hover { background: var(--navy-600); transform: translateY(-2px); }
.btn--block { width: 100%; }
.btn--lg { padding: 17px 30px; font-size: 16.5px; }

/* =========================================================
   HEADER
   ========================================================= */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(10, 22, 40, 0.82);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: background .25s var(--ease), border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.header.is-scrolled {
  background: rgba(8, 18, 33, 0.96);
  border-bottom-color: var(--navy-line);
  box-shadow: 0 10px 30px -20px rgba(0,0,0,.8);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: center; gap: 11px; color: #fff; }
.brand__mark {
  width: 38px; height: 38px; border-radius: 9px;
  background: var(--orange); display: grid; place-items: center;
  box-shadow: 0 8px 18px -8px rgba(255,107,43,.8);
}
.brand__name { font-family: var(--ff-display); font-weight: 800; font-size: 19px; letter-spacing: -0.02em; }
.brand__name span { color: var(--orange); }

.nav__links { display: flex; align-items: center; gap: 30px; }
.nav__links a {
  color: var(--gray-300); font-weight: 600; font-size: 15px; position: relative;
  transition: color .15s var(--ease);
}
.nav__links a::after {
  content: ""; position: absolute; left: 0; bottom: -6px; height: 2px; width: 0;
  background: var(--orange); transition: width .22s var(--ease);
}
.nav__links a:hover { color: #fff; }
.nav__links a:hover::after { width: 100%; }
.nav__cta { display: flex; align-items: center; gap: 14px; }

.hamburger {
  display: none; background: transparent; border: 0; width: 44px; height: 44px;
  position: relative; border-radius: 8px;
}
.hamburger span {
  position: absolute; left: 10px; right: 10px; height: 2.5px; background: #fff; border-radius: 2px;
  transition: transform .3s var(--ease), opacity .2s var(--ease), top .3s var(--ease);
}
.hamburger span:nth-child(1) { top: 15px; }
.hamburger span:nth-child(2) { top: 21px; }
.hamburger span:nth-child(3) { top: 27px; }
.hamburger.is-open span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.hamburger.is-open span:nth-child(2) { opacity: 0; }
.hamburger.is-open span:nth-child(3) { top: 21px; transform: rotate(-45deg); }

/* mobile drawer */
.mobile-nav {
  position: fixed; inset: 72px 0 auto 0; z-index: 99;
  background: var(--navy); border-bottom: 1px solid var(--navy-line);
  transform: translateY(-120%); transition: transform .34s var(--ease);
  padding: 14px 24px 26px;
}
.mobile-nav.is-open { transform: translateY(0); }
.mobile-nav a {
  display: block; color: #fff; font-weight: 600; font-size: 17px;
  padding: 15px 4px; border-bottom: 1px solid var(--navy-line);
}
.mobile-nav .btn { margin-top: 18px; }

/* =========================================================
   HERO
   ========================================================= */
.hero {
  background: var(--navy); color: #fff; position: relative; overflow: hidden;
  padding: 120px 0 84px;
}
.hero__grid-bg {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.055) 1px, transparent 1px);
  background-size: 56px 56px;
  will-change: background-position;
  animation: hero-grid-drift 18s linear infinite;
  mask-image: radial-gradient(ellipse 80% 70% at 70% 20%, #000 30%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 70% 20%, #000 30%, transparent 78%);
}
@keyframes hero-grid-drift {
  from { background-position: 0 0, 0 0; }
  to { background-position: 56px 0, 56px 0; }
}
.hero__glow {
  position: absolute; width: 620px; height: 620px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,107,43,.22), transparent 65%);
  top: -180px; right: -120px; pointer-events: none;
}
.hero__diag {
  position: absolute; right: -8%; top: 0; bottom: 0; width: 46%;
  background: repeating-linear-gradient(135deg, rgba(255,107,43,.05) 0 2px, transparent 2px 22px);
  transform: skewX(-8deg); pointer-events: none;
}
.hero .wrap { position: relative; z-index: 2; }
.hero__layout {
  display: block;
}
.hero__inner { max-width: 600px; }

/* hero visual: generated tradesperson composite used as a full-bleed backdrop.
   The image already carries the person + browser/phone/review mockups on its
   own navy background, so we cover the right half and feather the left edge
   into the hero navy behind the headline. */
.hero__bg-img {
  position: absolute; top: 0; right: 0; bottom: 0;
  width: min(60%, 880px);
  background: image-set(url("/Media/hero-tradesperson.webp") type("image/webp"),
                        url("/Media/hero-tradesperson.png") type("image/png")) right center / cover no-repeat;
  background: -webkit-image-set(url("/Media/hero-tradesperson.webp") type("image/webp"),
                                url("/Media/hero-tradesperson.png") type("image/png")) right center / cover no-repeat;
  z-index: 1; pointer-events: none;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 38%);
          mask-image: linear-gradient(90deg, transparent 0, #000 38%);
}
.hero__pill {
  display: inline-flex; align-items: center; gap: 9px;
  background: var(--navy-600); border: 1px solid var(--navy-line);
  padding: 8px 15px; border-radius: 100px; font-size: 13.5px; font-weight: 600;
  color: var(--gray-300); margin-bottom: 26px;
}
.hero__pill .dot { width: 8px; height: 8px; border-radius: 50%; background: #38D27A; box-shadow: 0 0 0 4px rgba(56,210,122,.18); }
.hero h1 {
  font-size: clamp(38px, 4.6vw, 58px); font-weight: 800; letter-spacing: -0.03em;
  margin-bottom: 22px;
}
.hero h1 em { font-style: normal; color: var(--orange); position: relative; white-space: nowrap; }
.hero h1 em::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 4px; height: 12px;
  background: var(--orange-soft); z-index: -1;
}
.hero__sub { font-size: clamp(18px, 2vw, 20px); color: var(--gray-300); max-width: 52ch; margin-bottom: 30px; }
.hero__cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero__stats {
  display: flex; gap: 40px; margin-top: 56px; flex-wrap: wrap;
  border-top: 1px solid var(--navy-line); padding-top: 30px;
}
.hero__stat .n { font-size: 32px; font-weight: 800; letter-spacing: -0.03em; color: #fff; }
.hero__stat .n span { color: var(--orange); }
.hero__stat .l { font-size: 14px; color: #97A3B4; font-weight: 500; }

/* =========================================================
   WHO WE SERVE
   ========================================================= */
.serve { background: var(--white); padding: 72px 0; }
.serve__head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 26px;
}
.serve__head .h-sec { max-width: 560px; }
.serve__intro {
  max-width: 430px;
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.55;
  padding-bottom: 4px;
}
.trades {
  display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px;
}
.trade {
  min-height: 74px;
  background: var(--off); border: 1px solid var(--gray-100); border-radius: var(--radius-sm);
  padding: 14px 16px; display: flex; align-items: center; gap: 12px;
  transition: transform .22s var(--ease), box-shadow .22s var(--ease), border-color .22s var(--ease);
}
.trade:hover { transform: translateY(-3px); box-shadow: var(--shadow-card); border-color: rgba(255,107,43,.4); }
.trade__icon {
  width: 38px; height: 38px; border-radius: 9px; background: var(--navy);
  display: grid; place-items: center; color: var(--orange); flex: 0 0 38px;
}
.trade__icon svg { width: 20px; height: 20px; }
.trade h3 { font-size: 16px; font-weight: 800; letter-spacing: -0.01em; }
.trade--text {
  justify-content: center;
  background: #fff;
}
.trade--text h3 { color: var(--ink-soft); }

/* =========================================================
   SERVICES
   ========================================================= */
.services { background: var(--off); }
.services__head { max-width: 720px; margin-bottom: 34px; }
/* Single-plan layout: was a 2-column comparison grid, now one centered card. */
.cards-3 { display: grid; grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; }
.scard {
  background: #fff; border: 1px solid var(--gray-100); border-radius: var(--radius);
  padding: 34px 30px; display: flex; flex-direction: column; height: 100%;
  box-shadow: var(--shadow-card); position: relative;
  transition: transform .22s var(--ease), box-shadow .22s var(--ease);
}
.scard:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); }
.scard--feature { border: 2px solid var(--orange); background: var(--navy); color: #fff; }
.scard--feature .scard__price-from,
.scard--feature .scard__feat { color: var(--gray-300); }
.scard--feature .scard__feat svg { color: var(--orange); }
.scard__badge {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--orange); color: #fff; font-size: 12px; font-weight: 800;
  letter-spacing: 0.06em; text-transform: uppercase; padding: 6px 16px; border-radius: 100px;
  white-space: nowrap; box-shadow: 0 8px 18px -8px rgba(255,107,43,.6);
}
.scard__badge svg { width: 13px; height: 13px; }
.scard__kicker { font-size: 13px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--orange); margin-bottom: 14px; }
.scard h3 { font-size: 23px; font-weight: 800; margin-bottom: 18px; }
.scard__feats { display: flex; flex-direction: column; gap: 13px; margin-bottom: 26px; flex: 1; }
.scard__feat { display: flex; gap: 11px; align-items: flex-start; font-size: 15px; color: var(--ink-soft); }
.scard__feat svg { width: 19px; height: 19px; flex: 0 0 19px; margin-top: 2px; color: var(--orange); }
.scard__price { display: flex; align-items: baseline; gap: 6px; margin-bottom: 22px; }
.scard__price-from { font-size: 13px; color: var(--gray-500); font-weight: 600; }
.scard__price .amt { font-size: 32px; font-weight: 900; letter-spacing: -0.03em; }
.scard__price .per { font-size: 15px; color: var(--gray-500); font-weight: 600; }
.scard--feature .scard__price .amt, .scard--feature h3 { color: #fff; }
.addon-strips { max-width: 920px; margin: 22px auto 0; display: flex; flex-direction: column; gap: 14px; }
.addon-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: #fff;
  border: 1px solid var(--gray-100);
  border-radius: var(--radius);
  padding: 24px 28px;
  box-shadow: var(--shadow-card);
}
.addon-strip__kicker {
  display: block;
  color: var(--orange);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.addon-strip strong {
  display: block;
  color: var(--ink);
  font-size: 22px;
  letter-spacing: -0.02em;
  margin-bottom: 4px;
}
.addon-strip p {
  color: var(--ink-soft);
  max-width: 64ch;
}
.addon-strip__price {
  flex: 0 0 auto;
  color: var(--orange);
  font-size: 30px;
  font-weight: 900;
  letter-spacing: -0.03em;
}

/* =========================================================
   DEMO SHOWCASE
   ========================================================= */
.demos { background: var(--navy); color: #fff; }
.demos__head { max-width: 720px; margin-bottom: 54px; }
.demos__head .lead { color: var(--gray-300); }
.demo-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.demo__label { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; gap: 12px; }
.demo__label .tag { display: inline-flex; align-items: center; gap: 9px; font-weight: 700; font-size: 15px; }
.demo__label .tag .ico { width: 30px; height: 30px; border-radius: 7px; background: var(--navy-600); display: grid; place-items: center; color: var(--orange); }
.demo__label .ico svg { width: 17px; height: 17px; }
.viewbtn { font-size: 13.5px; font-weight: 700; color: var(--orange); display: inline-flex; align-items: center; gap: 6px; }
.viewbtn:hover { color: #fff; }

/* browser chrome */
.browser { background: #fff; border-radius: 12px; overflow: hidden; box-shadow: 0 32px 64px -30px rgba(0,0,0,.55); color: var(--ink); }
.browser__bar { background: #E9EDF2; padding: 11px 14px; display: flex; align-items: center; gap: 12px; border-bottom: 1px solid #D7DEE7; }
.browser__dots { display: flex; gap: 7px; }
.browser__dots i { width: 11px; height: 11px; border-radius: 50%; display: block; }
.browser__dots i:nth-child(1){ background:#FF5F57; } .browser__dots i:nth-child(2){ background:#FEBC2E; } .browser__dots i:nth-child(3){ background:#28C840; }
.browser__url { flex: 1; background: #fff; border: 1px solid #D7DEE7; border-radius: 7px; padding: 6px 12px; font-size: 12.5px; color: var(--gray-500); display: flex; align-items: center; gap: 7px; }
.browser__url svg { width: 12px; height: 12px; color: #34A853; }
.browser__view { height: 360px; overflow-y: auto; overflow-x: hidden; }
.demo-shot { width: 100%; height: auto; display: block; }
.demo-frame { width: 100%; height: 100%; border: 0; display: block; background: #fff; }
.browser__view::-webkit-scrollbar { width: 8px; }
.browser__view::-webkit-scrollbar-thumb { background: rgba(0,0,0,.18); border-radius: 8px; }

/* mini site */
.mini { font-size: 14px; }
.mini__hero { padding: 40px 30px; color: #fff; }
.mini__hero h4 { font-size: 26px; font-weight: 900; letter-spacing: -0.02em; line-height: 1.12; margin-bottom: 16px; max-width: 18ch; }
.mini__hero .mbtn { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; font-size: 14px; padding: 12px 20px; border-radius: 7px; }
.mini__nav { display: flex; align-items: center; justify-content: space-between; padding: 14px 30px; font-weight: 800; }
.mini__nav .ph { font-size: 13px; font-weight: 700; }
.mini__svc { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; padding: 26px 30px; background: #fff; }
.mini__svc .cell { border: 1px solid #E6EBF1; border-radius: 9px; padding: 16px 14px; text-align: center; }
.mini__svc .cell .ci { width: 38px; height: 38px; border-radius: 9px; display: grid; place-items: center; margin: 0 auto 11px; }
.mini__svc .cell .ci svg { width: 20px; height: 20px; }
.mini__svc .cell h5 { font-size: 13.5px; font-weight: 800; margin-bottom: 3px; }
.mini__svc .cell p { font-size: 11.5px; color: var(--gray-500); }
.mini__trust {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 11px; font-weight: 700; padding: 5px 12px; border-radius: 100px;
  margin-bottom: 12px; letter-spacing: 0.03em;
}
.mini__sub {
  font-size: 13px; color: rgba(255,255,255,.7); margin: 8px 0 18px; line-height: 1.45;
}
.mini__stats {
  display: grid; grid-template-columns: repeat(3, 1fr);
  padding: 12px 16px; border-bottom: 1px solid #E6EBF1;
}
.mstat { text-align: center; padding: 8px 4px; }
.msn { font-size: 19px; font-weight: 900; letter-spacing: -0.03em; }
.msl { font-size: 10px; color: var(--gray-500); font-weight: 600; margin-top: 2px; text-transform: uppercase; letter-spacing: 0.04em; }
.mini__cta-bar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 20px; gap: 10px; font-size: 12.5px; font-weight: 700;
}
.mini__reviews { padding: 22px 30px 34px; background: #F6F8FA; }
.mini__reviews .rh { display: flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 700; color: var(--ink-soft); margin-bottom: 14px; }
.mini__reviews .rh .stars { color: #FBBC04; letter-spacing: 2px; }
.mreviews { display: flex; flex-direction: column; gap: 10px; }
.mreview { background: #fff; border: 1px solid #E6EBF1; border-radius: 9px; padding: 13px 15px; }
.mreview .top { display: flex; align-items: center; gap: 10px; margin-bottom: 7px; }
.mreview .av { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; font-weight: 800; color: #fff; }
.mreview .nm { font-size: 12.5px; font-weight: 800; }
.mreview .st { font-size: 11px; color: #FBBC04; letter-spacing: 1.5px; }
.mreview p { font-size: 12px; color: var(--ink-soft); line-height: 1.45; }

/* =========================================================
   AI BOT EXPLAINER
   ========================================================= */
.bot { background: var(--white); }

/* condensed homepage teaser (full experience lives on /lead-bot/) */
.bot-teaser { max-width: 780px; margin: 0 auto; text-align: center; }
.bot-teaser .lead { margin: 16px auto 0; }
.bot-steps {
  display: flex; gap: 14px; justify-content: center; flex-wrap: wrap;
  margin: 28px 0 30px;
}
.bot-steps__item {
  display: flex; align-items: center; gap: 10px;
  background: var(--off); border: 1px solid var(--gray-100);
  border-radius: var(--radius); padding: 14px 18px;
  font-size: 14.5px; font-weight: 600; color: var(--ink-soft);
  flex: 1 1 240px; max-width: 300px; text-align: left;
}
.bot-steps__n {
  flex: 0 0 30px; width: 30px; height: 30px; border-radius: 8px;
  background: var(--navy); color: #fff; font-weight: 900; font-size: 15px;
  display: grid; place-items: center;
}
.bot-steps__item:first-child .bot-steps__n { background: var(--orange); }
.bot-teaser__cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* teaser with chatbot illustration (2-col on desktop) */
.bot-teaser--split {
  max-width: 1060px; text-align: left;
  display: grid; grid-template-columns: 1.05fr 0.95fr;
  gap: 56px; align-items: center;
}
.bot-teaser--split .lead { margin: 16px 0 0; }
.bot-teaser--split .bot-steps { flex-direction: column; flex-wrap: nowrap; justify-content: flex-start; gap: 12px; margin: 26px 0; }
.bot-teaser--split .bot-steps__item { flex: 0 0 auto; max-width: none; }
.bot-teaser--split .bot-teaser__cta { justify-content: flex-start; }
.bot-teaser__media { display: flex; justify-content: center; }
.bot-teaser__media img { width: 100%; max-width: 400px; height: auto; }

@media (max-width: 860px) {
  .bot-teaser--split { grid-template-columns: 1fr; gap: 30px; text-align: center; }
  .bot-teaser--split .bot-steps { flex-direction: row; flex-wrap: wrap; justify-content: center; }
  .bot-teaser--split .bot-steps__item { flex: 1 1 240px; max-width: 300px; }
  .bot-teaser--split .bot-teaser__cta { justify-content: center; }
  .bot-teaser__media { order: -1; }
  .bot-teaser__media img { max-width: 250px; }
}

/* /lead-bot/ page: 2-col hero (text + chat) and a 3-across steps row */
.hero--split .hero__layout { display: grid; grid-template-columns: minmax(0,1.05fr) minmax(0,0.95fr); gap: 56px; align-items: center; }
.hero--split .hero__inner { max-width: 620px; }
.steps.steps--row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.steps.steps--row .step { flex-direction: column; }
.bot__layout { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 60px; align-items: center; }
.bot__head { margin-bottom: 38px; }
.steps { display: flex; flex-direction: column; gap: 14px; }
.step { display: flex; gap: 18px; align-items: flex-start; padding: 20px; border-radius: var(--radius); background: var(--off); border: 1px solid var(--gray-100); transition: transform .2s var(--ease), box-shadow .2s var(--ease); }
.step:hover { transform: translateX(4px); box-shadow: var(--shadow-card); }
.step__n { flex: 0 0 44px; width: 44px; height: 44px; border-radius: 11px; background: var(--navy); color: #fff; font-weight: 900; font-size: 18px; display: grid; place-items: center; }
.step--active .step__n { background: var(--orange); }
.step h4 { font-size: 17px; font-weight: 800; margin-bottom: 4px; }
.step p { font-size: 14.5px; color: var(--ink-soft); }
.bot__cta { margin-top: 30px; }

/* chat widget mockup */
.chatwrap { display: flex; justify-content: center; }
.chat {
  width: 100%; max-width: 380px; background: #fff; border-radius: 20px;
  box-shadow: var(--shadow-lift); overflow: hidden; border: 1px solid var(--gray-100);
  color: var(--ink); /* stay dark-on-light even inside dark sections (e.g. hero) */
}
.bubble--bot { color: var(--ink); }
.chat__head { background: var(--navy); color: #fff; padding: 18px 20px; display: flex; align-items: center; gap: 13px; }
.chat__head .bot-av { width: 40px; height: 40px; border-radius: 11px; background: var(--orange); display: grid; place-items: center; position: relative; }
.chat__head .bot-av svg { width: 22px; height: 22px; color: #fff; }
.chat__head .bot-av .on { position: absolute; right: -2px; bottom: -2px; width: 13px; height: 13px; border-radius: 50%; background: #38D27A; border: 2.5px solid var(--navy); }
.chat__head .who { font-size: 15px; font-weight: 800; }
.chat__head .stat { font-size: 12px; color: var(--gray-300); }
.chat__body { padding: 20px; display: flex; flex-direction: column; gap: 12px; background: #F6F8FA; min-height: 300px; }
.bubble { max-width: 80%; padding: 11px 15px; font-size: 14px; line-height: 1.45; border-radius: 16px; }
.bubble--bot { background: #fff; border: 1px solid #E6EBF1; align-self: flex-start; border-bottom-left-radius: 5px; }
.bubble--user { background: var(--orange); color: #fff; align-self: flex-end; border-bottom-right-radius: 5px; font-weight: 500; }
.chat__quick { display: flex; gap: 8px; flex-wrap: wrap; align-self: flex-start; }
.chat__quick span { font-size: 12.5px; font-weight: 700; color: var(--orange); border: 1.5px solid var(--orange); border-radius: 100px; padding: 6px 13px; }
.chat__foot { padding: 13px 16px; border-top: 1px solid #E6EBF1; display: flex; align-items: center; gap: 10px; background: #fff; }
.chat__foot .inp { flex: 1; font-size: 13.5px; color: var(--gray-500); }
.chat__foot .send { width: 36px; height: 36px; border-radius: 9px; background: var(--orange); display: grid; place-items: center; color: #fff; }
.chat__foot .send svg { width: 17px; height: 17px; }

/* =========================================================
   PRICING TABLE
   ========================================================= */
.pricing { background: var(--off); padding: 72px 0; }
.pricing__head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 26px;
}
.pricing__head .lead {
  max-width: 480px;
  margin: 0;
  padding-bottom: 5px;
}
.ptable { width: 100%; border-collapse: separate; border-spacing: 0; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-card); border: 1px solid var(--gray-100); }
.ptable th, .ptable td { padding: 16px 20px; text-align: center; border-bottom: 1px solid var(--gray-100); }
.ptable thead th { background: var(--navy); color: #fff; font-size: 17px; font-weight: 800; letter-spacing: -0.01em; }
.ptable thead th:first-child { text-align: left; background: var(--navy-700); }
.ptable thead th .sub { display: block; font-size: 12.5px; font-weight: 600; color: var(--gray-300); margin-top: 3px; }
.ptable thead th.is-pop { background: var(--orange); position: relative; }
.ptable tbody th { text-align: left; font-weight: 700; font-size: 15px; color: var(--ink); background: var(--off); }
.ptable td .yes { color: var(--orange); }
.ptable td .yes svg { width: 22px; height: 22px; }
.ptable td .no { color: var(--gray-300); font-size: 20px; font-weight: 700; }
.ptable .price-row td, .ptable .price-row th { font-weight: 800; }
.ptable .price-row td { font-size: 17px; }
.ptable .cta-row td, .ptable .cta-row th { border-bottom: 0; padding-top: 12px; padding-bottom: 20px; }
.ptable .cta-row th { background: var(--off); }
.ptable .price-row .pop-price { color: var(--orange); }
.ptable td.col-pop { background: var(--orange-soft); }
.ptable .check { display: inline-flex; }

/* =========================================================
   WEBSITE CARE
   ========================================================= */
.care { background: #fff; padding: 72px 0; }
.care__head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 24px;
}
.care__head .lead {
  max-width: 500px;
  margin: 0;
  padding-bottom: 5px;
}
.care-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.care-item {
  min-height: 0;
  background: var(--off);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-sm);
  padding: 16px 18px;
}
.care-item strong { display: block; color: var(--ink); font-size: 15.5px; margin-bottom: 4px; }
.care-item span { display: block; color: var(--ink-soft); font-size: 13.5px; line-height: 1.45; }
.care-item--hero { background: rgba(255,107,43,.07); border-color: var(--orange); }
.care-item--hero strong { color: var(--orange); }

/* =========================================================
   TESTIMONIALS
   ========================================================= */
.testi { background: var(--white); }
.testi__head { max-width: 720px; margin-bottom: 50px; }
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.tcard { background: var(--off); border: 1px solid var(--gray-100); border-radius: var(--radius); padding: 30px; display: flex; flex-direction: column; transition: transform .22s var(--ease), box-shadow .22s var(--ease); }
.tcard:hover { transform: translateY(-3px); box-shadow: var(--shadow-card); }
.tcard__stars { color: #FBBC04; font-size: 17px; letter-spacing: 2px; margin-bottom: 16px; }
.tcard__quote { font-size: 18px; font-weight: 600; line-height: 1.5; letter-spacing: -0.01em; margin-bottom: 24px; flex: 1; }
.tcard__by { display: flex; align-items: center; gap: 13px; }
.tcard__av { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: 16px; color: #fff; }
.tcard__name { font-weight: 800; font-size: 15px; }
.tcard__trade { font-size: 13px; color: var(--gray-500); display: flex; align-items: center; gap: 7px; margin-top: 2px; }
.tcard__badge { font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.05em; color: var(--orange); background: var(--orange-soft); padding: 3px 9px; border-radius: 100px; }

/* =========================================================
   FAQ
   ========================================================= */
.faq { background: var(--off); }
.faq__layout { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 60px; align-items: start; }
.faq__list { display: flex; flex-direction: column; gap: 12px; }
.acc { background: #fff; border: 1px solid var(--gray-100); border-radius: var(--radius); overflow: hidden; transition: box-shadow .2s var(--ease), border-color .2s var(--ease); }
.acc.is-open { box-shadow: var(--shadow-card); border-color: rgba(255,107,43,.4); }
.acc__q { width: 100%; background: transparent; border: 0; text-align: left; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 24px; font-size: 17px; font-weight: 700; color: var(--ink); letter-spacing: -0.01em; }
.acc__ic { flex: 0 0 26px; width: 26px; height: 26px; border-radius: 7px; background: var(--off); display: grid; place-items: center; transition: background .2s var(--ease), transform .3s var(--ease); position: relative; }
.acc__ic::before, .acc__ic::after { content: ""; position: absolute; background: var(--ink); border-radius: 2px; }
.acc__ic::before { width: 12px; height: 2px; } .acc__ic::after { width: 2px; height: 12px; transition: transform .3s var(--ease); }
.acc.is-open .acc__ic { background: var(--orange); }
.acc.is-open .acc__ic::before, .acc.is-open .acc__ic::after { background: #fff; }
.acc.is-open .acc__ic::after { transform: rotate(90deg); }
.acc__a { max-height: 0; overflow: hidden; transition: max-height .34s var(--ease); }
.acc__a-inner { padding: 0 24px 24px; color: var(--ink-soft); font-size: 15.5px; line-height: 1.65; }

/* =========================================================
   CONTACT
   ========================================================= */
.contact { background: var(--navy); color: #fff; }
.contact__layout { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 64px; align-items: start; }
.contact__head h2 { font-size: clamp(30px, 4vw, 44px); margin-bottom: 18px; }
.contact__head .lead { color: var(--gray-300); margin-bottom: 34px; }
.contact__info { display: flex; flex-direction: column; gap: 18px; }
.cinfo { display: flex; align-items: center; gap: 15px; }
.cinfo__ic { width: 46px; height: 46px; border-radius: 11px; background: var(--navy-600); border: 1px solid var(--navy-line); display: grid; place-items: center; color: var(--orange); }
.cinfo__ic svg { width: 21px; height: 21px; }
.cinfo .lbl { font-size: 12.5px; color: var(--gray-500); font-weight: 600; }
.cinfo .val { font-size: 16px; font-weight: 700; }
.cinfo .val a { transition: color .15s var(--ease); }
.cinfo .val a:hover { color: var(--orange); }
.book-call {
  margin-top: 28px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius);
  padding: 24px;
}
.book-call__label {
  display: block;
  color: var(--yellow);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.book-call h3 { color: #fff; font-size: 24px; margin-bottom: 8px; }
.book-call p { color: var(--gray-300); margin-bottom: 18px; }

.form { background: #fff; color: var(--ink); border-radius: var(--radius); padding: 34px; box-shadow: var(--shadow-lift); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 17px; }
.field label { display: block; font-size: 13.5px; font-weight: 700; margin-bottom: 7px; }
.field label .opt { font-weight: 500; color: var(--gray-500); }
.field input, .field select, .field textarea {
  width: 100%; font-family: inherit; font-size: 15px; color: var(--ink);
  padding: 13px 15px; border: 1.5px solid var(--gray-100); border-radius: var(--radius-sm);
  background: var(--off); transition: border-color .16s var(--ease), background .16s var(--ease), box-shadow .16s var(--ease);
}
.field input::placeholder, .field textarea::placeholder { color: var(--gray-300); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: 0; border-color: var(--orange); background: #fff; box-shadow: 0 0 0 3px var(--orange-soft);
}
.field textarea { resize: vertical; min-height: 110px; }
.hp-field { display: none; }
.form__error {
  margin-top: 14px; font-size: 14px; color: #C0392B; line-height: 1.5;
}
.form__error a { font-weight: 700; text-decoration: underline; }
.form__success {
  display: none; text-align: center; padding: 50px 30px;
}
.form__success.is-on { display: block; }
.form__success .check-big { width: 66px; height: 66px; border-radius: 50%; background: var(--orange-soft); color: var(--orange); display: grid; place-items: center; margin: 0 auto 20px; }
.form__success .check-big svg { width: 34px; height: 34px; }
.form__success h3 { font-size: 23px; margin-bottom: 10px; }
.form__success p { color: var(--ink-soft); font-size: 15.5px; }

/* =========================================================
   FOOTER
   ========================================================= */
.footer { background: var(--navy-700); color: var(--gray-300); padding: 64px 0 30px; border-top: 1px solid var(--navy-line); }
.footer__top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid var(--navy-line); }
.footer__brand .brand { margin-bottom: 16px; }
.footer__brand p { font-size: 15px; max-width: 38ch; color: var(--gray-500); }
.footer__col h5 { color: #fff; font-size: 14px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 18px; }
.footer__col ul { display: flex; flex-direction: column; gap: 11px; }
.footer__col a { font-size: 15px; transition: color .15s var(--ease); }
.footer__col a:hover { color: var(--orange); }
.footer__bottom { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 26px; flex-wrap: wrap; }
.footer__bottom p { font-size: 13.5px; color: var(--gray-500); }

.cookie-banner {
  position: fixed;
  left: 20px;
  right: 20px;
  bottom: 20px;
  z-index: 120;
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  background: #fff;
  border: 1px solid var(--gray-100);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--shadow-card);
}
.cookie-banner[hidden] { display: none; }
.cookie-banner strong { display: block; color: var(--ink); margin-bottom: 3px; }
.cookie-banner p { color: var(--ink-soft); font-size: 14px; line-height: 1.45; }
.cookie-banner__actions { display: flex; gap: 10px; flex: 0 0 auto; }
.cookie-banner .btn { padding: 10px 16px; font-size: 14px; }

/* ---------- sticky mobile CTA (shown only on narrow screens) ---------- */
.mobile-cta {
  display: none;
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  gap: 10px;
  background: rgba(10, 22, 40, 0.92);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  border-top: 1px solid var(--navy-line);
  transform: translateY(120%); transition: transform 0.28s var(--ease);
}
.mobile-cta.is-on { transform: translateY(0); }
.mobile-cta__btn { flex: 1; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1024px) {
  /* narrow the backdrop and fade it harder so it never sits under the text */
  .hero__bg-img {
    width: min(52%, 520px);
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 62%);
            mask-image: linear-gradient(90deg, transparent 0, #000 62%);
  }
  .hero--split .hero__layout { grid-template-columns: 1fr; gap: 40px; }
  .steps.steps--row { grid-template-columns: 1fr; }
  .serve__head { display: block; }
  .serve__intro { margin-top: 12px; }
  .trades { grid-template-columns: repeat(3, 1fr); }
  .pricing__head,
  .care__head { display: block; }
  .pricing__head .lead,
  .care__head .lead { margin-top: 12px; padding-bottom: 0; }
  .bot__layout { grid-template-columns: 1fr; gap: 44px; }
  .care-grid { grid-template-columns: repeat(2, 1fr); }
  .faq__layout { grid-template-columns: 1fr; gap: 36px; }
  .contact__layout { grid-template-columns: 1fr; gap: 44px; }
}
@media (max-width: 860px) {
  .nav__links, .nav__cta .btn { display: none; }
  .hamburger { display: block; }
  .mobile-cta { display: flex; }
  body { padding-bottom: 68px; }
  .cards-3 { grid-template-columns: 1fr; max-width: 440px; margin: 0 auto; }
  .scard--feature { order: -1; }
  .addon-strip { max-width: 440px; align-items: flex-start; flex-direction: column; }
  .demo-grid { grid-template-columns: 1fr; gap: 28px; }
  .browser__view { height: 380px; }
  .testi-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .section { padding: 52px 0; }
  .serve { padding: 52px 0; }
  .pricing,
  .care { padding: 52px 0; }
  .hero { padding: 112px 0 64px; }
  .browser__view { height: 340px; }
  .hero__bg-img { display: none; }
  .hero h1 { font-size: clamp(31px, 8.6vw, 38px); }
  .hero h1 em { white-space: normal; }
  .wrap { padding: 0 18px; }
  .trades { grid-template-columns: 1fr 1fr; }
  .trade { min-height: 62px; padding: 12px; }
  .trade h3 { font-size: 14.5px; }
  .hero__stats { gap: 26px; }
  .hero__stat .n { font-size: 28px; }
  .form__row { grid-template-columns: 1fr; gap: 0; }
  .form { padding: 24px; }
  .care-grid { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr; }
  .ptable th, .ptable td { padding: 15px 10px; font-size: 13px; }
  .ptable thead th { font-size: 14px; }
  .hero__cta { width: 100%; }
  .hero__cta .btn { flex: 1; }
  .cookie-banner { align-items: stretch; flex-direction: column; }
  .cookie-banner__actions { width: 100%; }
  .cookie-banner__actions .btn { flex: 1; }
}
@media (max-width: 380px) {
  .trades { grid-template-columns: 1fr; }
}

/* =========================================================
   MOBILE PRICING CARDS
   ========================================================= */
.pricing-mobile { display: none; }

.pmcard {
  background: #fff; border: 2px solid var(--gray-100); border-radius: var(--radius);
  padding: 28px 24px; position: relative; box-shadow: var(--shadow-card);
}
.pmcard--pop { border-color: var(--orange); margin-top: 8px; }
.pmcard__badge {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--orange); color: #fff; font-size: 12px; font-weight: 800;
  letter-spacing: 0.06em; text-transform: uppercase; padding: 5px 16px; border-radius: 100px;
  white-space: nowrap; box-shadow: 0 8px 18px -8px rgba(255,107,43,.6);
}
.pmcard__badge svg { width: 13px; height: 13px; }
.pmcard__name { font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.12em; color: var(--orange); margin-bottom: 10px; }
.pmcard__price { font-size: 28px; font-weight: 900; letter-spacing: -0.03em; }
.pmcard__sub { font-size: 15px; font-weight: 600; color: var(--gray-500); }
.pmcard__list { display: flex; flex-direction: column; gap: 11px; margin: 20px 0 24px; padding: 0; }
.pmcard__list li { display: flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 500; list-style: none; }
.pmcard__list li svg { width: 17px; height: 17px; flex: 0 0 17px; }
.pmcard__yes { color: var(--ink); }
.pmcard__yes svg { color: var(--orange); }
.pmcard__no { color: var(--gray-500); }
.pmcard__no span { font-size: 18px; font-weight: 700; width: 17px; text-align: center; display: inline-block; }

@media (max-width: 600px) {
  .ptable { display: none; }
  .pricing-mobile { display: flex; flex-direction: column; gap: 20px; }
}

/* =========================================================
   MOBILE: MINI-SITE RESPONSIVE
   ========================================================= */
@media (max-width: 560px) {
  .mini__hero { padding: 28px 18px; }
  .mini__hero h4 { font-size: 21px; }
  .mini__nav { padding: 12px 18px; }
  .mini__svc { grid-template-columns: 1fr 1fr; padding: 16px 14px; gap: 8px; }
  .mini__reviews { padding: 16px 18px 24px; }
  .mini__cta-bar { padding: 12px 14px; flex-wrap: wrap; gap: 8px; }

  /* ---- hero stats: force 3-column grid so they never wrap ---- */
  .hero__stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .hero__stat .l { font-size: 12px; }
}

/* =========================================================
   DEMO TRIGGER HOVER
   ========================================================= */
.demo-trigger {
  cursor: pointer;
  transition: transform .24s var(--ease), box-shadow .24s var(--ease);
}
.demo-trigger:hover {
  transform: translateY(-3px);
  box-shadow: 0 42px 80px -28px rgba(0,0,0,.7);
}
.demo-trigger:focus-visible {
  outline: 3px solid var(--orange); outline-offset: 4px; border-radius: 12px;
}
.viewbtn { background: transparent; border: 0; padding: 0; }

/* =========================================================
   SCROLL REVEAL (class added by JS; no-JS users see everything)
   ========================================================= */
.reveal {
  opacity: 0; transform: translateY(16px);
  transition: opacity .6s var(--ease), transform .6s var(--ease);
  transition-delay: var(--reveal-delay, 0s);
}
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
  }
  .hero__grid-bg {
    animation: none;
  }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* =========================================================
   DEMO MODAL
   ========================================================= */
.demo-modal {
  position: fixed; inset: 0; z-index: 300;
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
  opacity: 0; pointer-events: none;
  transition: opacity .26s var(--ease);
}
.demo-modal.is-open { opacity: 1; pointer-events: all; }
.demo-modal__bd {
  position: absolute; inset: 0;
  background: rgba(4, 10, 20, 0.85);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.demo-modal__wrap {
  position: relative; z-index: 1;
  width: 100%; max-width: 920px;
  transform: translateY(28px) scale(0.97);
  transition: transform .32s var(--ease);
  max-height: calc(100vh - 40px);
  display: flex; flex-direction: column;
}
.demo-modal.is-open .demo-modal__wrap { transform: translateY(0) scale(1); }
.demo-modal__box {
  background: #fff; border-radius: 18px;
  overflow: hidden; box-shadow: 0 60px 120px -20px rgba(0,0,0,.8);
  display: flex; flex-direction: column;
  max-height: calc(100vh - 40px);
}
.demo-modal__top {
  flex: 0 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 22px; background: var(--navy);
}
.demo-modal__title { font-size: 15px; font-weight: 800; color: #fff; letter-spacing: -0.01em; }
.demo-modal__close {
  width: 36px; height: 36px; border-radius: 9px;
  background: rgba(255,255,255,.1); border: 0; color: #fff;
  display: grid; place-items: center;
  transition: background .15s var(--ease);
  flex: 0 0 36px;
}
.demo-modal__close:hover { background: rgba(255,255,255,.22); }
.demo-modal__close svg { width: 16px; height: 16px; }
.demo-modal__view {
  height: min(64vh, 580px) !important;
  overflow-y: auto !important;
}
.demo-modal__view::-webkit-scrollbar { width: 8px; }
.demo-modal__view::-webkit-scrollbar-thumb { background: rgba(0,0,0,.18); border-radius: 8px; }
.demo-modal__foot {
  flex: 0 0 auto;
  padding: 16px 22px; background: var(--off);
  border-top: 1px solid var(--gray-100);
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
}
.demo-modal__hint { font-size: 13.5px; color: var(--ink-soft); font-weight: 500; margin-right: auto; }
.demo-modal__open { font-size: 14px; font-weight: 700; color: var(--orange); white-space: nowrap; }
.demo-modal__open:hover { color: var(--orange-700); text-decoration: underline; }
.demo-modal__cta { flex: 0 0 auto; }

@media (max-width: 860px) {
  .demo-modal { padding: 12px; }
  .demo-modal__foot { flex-direction: column; align-items: flex-start; }
  .demo-modal__cta { width: 100%; justify-content: center; }
}
