/* Solutions, Use Cases and Resources pages. Loads after styles.css and reuses its tokens. */

/* Header: Solutions dropdown */
.primary-nav { gap: 26px; align-items: center; }
.primary-nav .caret { font-size: 0.7em; margin-left: 2px; }
.nav-item { position: static; }
.nav-item > a { display: inline-block; padding: 44px 0; position: relative; }
/* Invisible bridge under the link so the menu stays open while the pointer travels down to it. */
.nav-item:hover > a::after,
.nav-item:focus-within > a::after { content: ""; position: absolute; left: -28px; right: -28px; top: 100%; height: 96px; }
.mega {
  display: none;
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  background: #101c36;
  border-top: 3px solid var(--color-primary);
  border-bottom: 1px solid #26324f;
  box-shadow: 0 30px 50px -20px rgba(0, 0, 0, 0.6);
}
.nav-item:hover .mega,
.nav-item:focus-within .mega { display: block; }
.site-header .mega .wrap { height: auto; justify-content: flex-start; align-items: flex-start; }
.site-header .mega .mega-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
  align-items: start;
  padding-top: 28px;
  padding-bottom: 20px;
}
.mega h3 {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #8fb8ff;
  margin-bottom: 14px;
}
.mega ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.mega ul a { display: block; padding: 9px 12px; font-size: 0.95rem; font-weight: 500; color: #ffffff; border-radius: var(--radius); border-left: 3px solid transparent; }
.mega ul a:hover,
.mega ul a:focus-visible { background: #1b2b4d; border-left-color: var(--color-amber); font-weight: 600; color: #ffffff; text-decoration: none; }
.site-header .mega .mega-foot { display: flex; gap: 24px; padding-top: 14px; padding-bottom: 18px; border-top: 1px solid #2a3b61; }
.mega-foot a { font-size: 0.92rem; font-weight: 600; color: #cfe0ff; }
.mega-foot a:first-child { color: #f2b552; }
.mega-foot a::after { content: " \2192"; }
.mega-foot a:hover { text-decoration: underline; text-underline-offset: 3px; }

/* Use Cases dropdown: compact panel that drops straight down from its button */
.nav-item.nav-compact { position: relative; }
.nav-compact .mega { left: -20px; right: auto; width: 440px; border: 1px solid #26324f; border-top: 3px solid var(--color-primary); border-radius: 0 0 10px 10px; }
.site-header .nav-compact .mega .wrap { width: auto; max-width: none; margin: 0; padding: 0 12px; }
.site-header .nav-compact .mega .mega-grid.mega-grid-one { grid-template-columns: minmax(0, 1fr); padding-top: 22px; padding-bottom: 12px; }
.nav-compact .mega.wide, .nav-item.nav-compact:first-child .mega { width: 700px; }
.site-header .nav-compact .mega .mega-grid.mega-grid-two { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; padding-top: 22px; padding-bottom: 12px; }
.nav-compact .mega .mega-gap { margin-top: 22px; }
.nav-compact .mega h3 { padding-left: 15px; }
.site-header .nav-compact .mega .wrap.mega-foot { margin: 0 12px; padding: 14px 15px 16px; width: auto; }

/* Page sections */
.page-hero .crumbs { font-family: var(--font-mono); font-size: 0.8rem; color: var(--slate-300); margin: 0; }
.page-hero .crumbs a { text-decoration: underline; text-underline-offset: 3px; }
.page-hero .crumbs + .eyebrow { margin-top: 18px; }
.hub-group { padding: 56px 0 8px; }
.hub-group + .hub-group { padding-top: 32px; }
.hub-group:last-of-type { padding-bottom: 72px; }
.hub-group h2 { font-size: 1.6rem; font-weight: 700; }
.hub-sub { color: var(--color-muted); margin: 6px 0 22px; }
.tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 290px), 1fr)); gap: 16px; }
.tile {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 22px;
}
.tile:hover { border-color: var(--color-primary); }
.tile h3 { font-size: 1.12rem; font-weight: 700; }
.tile p { margin: 0; color: var(--color-muted); font-size: 0.95rem; }
.tile .go { margin-top: auto; padding-top: 8px; font-size: 0.88rem; font-weight: 600; color: var(--color-primary); }
.tile .tag { font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--color-amber); }

.sol-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 56px; align-items: start; }
.sol-main h2 { font-size: 1.6rem; font-weight: 700; margin: 0 0 14px; }
.sol-main h2:not(:first-child) { margin-top: 44px; }
.sol-main p { margin: 0 0 14px; max-width: 64ch; }
.sol-panel { background: var(--color-card); border: 1px solid var(--color-border); border-radius: var(--radius); padding: 26px; display: grid; gap: 14px; }
.sol-panel h3 { font-size: 1.1rem; font-weight: 700; }
.sol-panel h3:not(:first-child) { margin-top: 10px; }
.sol-panel p { margin: 0; color: var(--color-muted); }
.sol-shot { margin: 8px 0 0; border: 1px solid var(--color-border); }
.stat-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; margin: 22px 0 0; }
.stat { background: var(--color-card); border: 1px solid var(--color-border); border-radius: var(--radius); padding: 18px; }
.stat b { display: block; font-family: var(--font-display); font-size: 2rem; font-weight: 800; color: var(--color-primary); font-variant-numeric: tabular-nums; }
.stat span { font-size: 0.88rem; color: var(--color-muted); }
.check-list, .plain-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.check-list li { position: relative; padding-left: 26px; }
.check-list li::before { content: ""; position: absolute; left: 0; top: 0.55em; width: 10px; height: 10px; background: var(--color-amber); }
.plain-list li { color: var(--color-fg); }
ol.steps { margin: 0; padding: 0; list-style: none; counter-reset: step; display: grid; gap: 16px; }
ol.steps li { counter-increment: step; position: relative; padding-left: 46px; }
ol.steps li::before {
  content: counter(step);
  position: absolute; left: 0; top: 0;
  width: 30px; height: 30px; border-radius: 50%;
  background: var(--color-amber); color: var(--color-ink);
  display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 700; font-size: 0.9rem;
}
.uc-quote { margin: 36px 0 0; padding: 4px 0 4px 20px; border-left: 4px solid var(--color-amber); }
.uc-quote p { font-size: 1.2rem; font-style: italic; color: var(--color-muted); margin: 0; }
.scenario-tag, .eyebrow-note { font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--color-muted); }
.uc-quote p.scenario-tag { margin-top: 10px; font-size: 0.75rem; font-style: normal; }
.src-note { font-size: 0.85rem; color: var(--color-muted); margin-top: 28px; }
.related { padding: 64px 0; }
.related h2 { font-size: 1.5rem; font-weight: 700; margin-bottom: 18px; }
.related .rel-h { margin-top: 36px; }
.link-list a { color: var(--color-primary); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

@media (max-width: 900px) {
  .sol-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .mega { display: none !important; }
}
@media (prefers-reduced-motion: reduce) { .tile { transition: none; } }

/* Tile hover: gray fill, blue outline that draws around the card, animated "Read more" arrow */
.tile { position: relative; transition: background-color 0.2s ease; }
.tile::after {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: var(--radius);
  pointer-events: none;
  background:
    linear-gradient(var(--color-primary), var(--color-primary)) top left / 0 2px no-repeat,
    linear-gradient(var(--color-primary), var(--color-primary)) top right / 2px 0 no-repeat,
    linear-gradient(var(--color-primary), var(--color-primary)) bottom left / 0 2px no-repeat,
    linear-gradient(var(--color-primary), var(--color-primary)) top left / 2px 0 no-repeat;
}
.tile:hover, .tile:focus-visible { background: #e7ecf4; }
/* Starts at the upper-left corner, runs along the top and down the left side,
   then closes the right side and the bottom, finishing at the lower-right corner. */
.tile:hover::after, .tile:focus-visible::after {
  animation: tile-draw 0.55s ease-out forwards;
}
@keyframes tile-draw {
  0%   { background-size: 0 2px, 2px 0, 0 2px, 2px 0; }
  50%  { background-size: 100% 2px, 2px 0, 0 2px, 2px 100%; }
  100% { background-size: 100% 2px, 2px 100%, 100% 2px, 2px 100%; }
}
.tile:focus-visible { outline: none; }
.tile .go { display: inline-flex; align-items: center; gap: 6px; align-self: flex-start; }
.tile .go-text {
  background: linear-gradient(currentColor, currentColor) left bottom / 0 2px no-repeat;
  padding-bottom: 2px;
  transition: background-size 0.25s ease-out;
}
.tile:hover .go-text, .tile:focus-visible .go-text { background-size: 100% 2px; }
.tile .go-arrow { display: inline-block; transition: transform 0.25s ease-out; }
.tile:hover .go-arrow, .tile:focus-visible .go-arrow { transform: translateX(8px); }
@media (prefers-reduced-motion: reduce) {
  .tile, .tile .go-text, .tile .go-arrow { transition: none; }
  .tile:hover::after, .tile:focus-visible::after { animation: none; background-size: 100% 2px, 2px 100%, 100% 2px, 2px 100%; }
}

/* Solution page: box, then the brief graphic below it */
.sol-side { display: grid; gap: 28px; align-items: start; }
.sol-graphic { margin: 0; text-align: center; }
.sol-graphic img { display: block; width: 100%; max-width: 360px; height: auto; margin: 0 auto; }

/* Homepage product view */
.shot-frame { margin: 0 auto 36px; max-width: 920px; border: 1px solid var(--color-border); border-radius: 8px; overflow: hidden; background: #fff; box-shadow: 0 18px 40px rgba(10,22,40,.14); }
.shot-bar { display: flex; gap: 6px; padding: 10px 14px; background: var(--slate-800); }
.shot-bar span { width: 10px; height: 10px; border-radius: 50%; background: var(--slate-400); opacity: .7; }
.shot-frame img { display: block; width: 100%; height: auto; }
.shot-frame figcaption { padding: 10px 16px; font-size: .875rem; color: var(--color-muted); text-align: center; border-top: 1px solid var(--color-border); }

/* Before / After strip on use cases */
.before-after { background: var(--color-paper); padding: 48px 0; }
.ba-title { margin-bottom: 20px; }
.ba-grid { display: grid; grid-template-columns: 1fr auto 1.3fr; gap: 20px; align-items: stretch; }
.ba-card { border-radius: 8px; padding: 24px; background: var(--color-card); border: 1px solid var(--color-border); }
.ba-before { border-top: 4px solid var(--color-amber); background: var(--color-amber-tint); }
.ba-after { border-top: 4px solid var(--color-primary); }
.ba-label { display: block; font-family: var(--font-mono); font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 10px; color: var(--slate-700); }
.ba-before p { margin: 0; font-size: 1.15rem; font-weight: 600; line-height: 1.4; }
.ba-after ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.ba-after li { display: flex; gap: 10px; align-items: flex-start; }
.ba-after li svg { flex: none; width: 22px; height: 22px; margin-top: 2px; color: var(--color-primary); }
.ba-arrow { display: flex; align-items: center; color: var(--color-primary); }
.ba-arrow svg { width: 36px; height: 36px; }
@media (max-width: 760px) { .ba-grid { grid-template-columns: 1fr; } .ba-arrow { justify-content: center; transform: rotate(90deg); } }

/* Solution page problem statement and solves box */
.problem-lead { font-size: 1.3rem; line-height: 1.5; font-weight: 500; color: var(--color-fg); }
.solves { margin: 8px 0 28px; padding: 18px 22px; border-left: 4px solid var(--color-primary); background: var(--color-primary-tint); border-radius: 0 6px 6px 0; }
.solves-label { display: block; font-family: var(--font-mono); font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; color: var(--color-primary-dark); margin-bottom: 6px; }
.solves p { margin: 0; font-size: 1.1rem; font-weight: 500; }

/* Picture on hub tiles */
.tile-img { display: flex; justify-content: center; align-items: center; height: 120px; margin: -4px 0 10px; order: -1; }
.tile-img img { max-height: 120px; width: auto; max-width: 100%; object-fit: contain; }
.tile { display: flex; flex-direction: column; }

.check-list + p { margin-top: 20px; }

/* Use-case illustrations */
.sol-graphic.sol-photo img { max-width: 100%; border-radius: 8px; box-shadow: 0 10px 28px rgba(10,22,40,.14); }
.tile-photo { display: block; height: auto; margin: -22px -22px 14px; }
.tile-photo img { display: block; width: 100%; max-height: none; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 3px 3px 0 0; }

/* Illustrated page banners (Resources, About, Contact): picture behind the title, with a scrim for legibility */
.page-hero.hero-art {
  background-color: #0a0f1c;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  padding-top: clamp(72px, 10vw, 120px);
  padding-bottom: clamp(72px, 10vw, 120px);
}
.page-hero.hero-art::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 55% 90% at 50% 50%, rgba(10, 15, 28, 0.72) 0%, rgba(10, 15, 28, 0.52) 60%, rgba(10, 15, 28, 0.2) 100%);
  pointer-events: none;
}
.page-hero.hero-art > .wrap { position: relative; z-index: 1; }
.page-hero.hero-art.topo::after { display: none; }
.page-hero.hero-art-resources { background-image: url("assets/images/hero-resources.jpg"); }
.hero-art-about { background-image: url("assets/images/hero-about.jpg"); }
.hero-art-contact { background-image: url("assets/images/hero-contact.jpg"); }
@media (max-width: 700px) {
  .page-hero.hero-art::before { background: rgba(10, 15, 28, 0.78); }
}

.page-hero.hero-art-features { background-image: url("assets/images/hero-features.jpg"); background-position: center 50%; }
.page-hero.hero-art-usecases { background-image: url("assets/images/hero-usecases.jpg"); background-position: center 24%; }
.page-hero.hero-art-capacity { background-image: url("assets/images/hero-capacity.jpg"); background-position: center 34%; }
.page-hero.hero-art-solutions { background-image: url("assets/images/hero-solutions.jpg"); background-position: center 22%; }
.page-hero.hero-art-usecase-detail { background-image: url("assets/images/hero-usecase-detail.jpg"); background-position: center 38%; }
.page-hero.hero-art-resources { background-position: center 22%; }

/* Calculator stepper: three equal boxes */
.calc .stepper { align-items: stretch; }
.calc .stepper li { flex: 1 1 0; }
.calc .stepper button { height: 100%; }

/* Map-and-weather backdrop for solution and use-case detail pages */
.page-hero.hero-gis {
  background-color: #0a0f1c;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding-top: clamp(56px, 8vw, 96px);
  padding-bottom: clamp(56px, 8vw, 96px);
}
.page-hero.hero-gis-solutions { background-image: url("assets/images/hero-gis-solutions.svg"); }
.page-hero.hero-gis-usecases { background-image: url("assets/images/hero-gis-usecases.svg"); }

/* Use-case page video: soften the neon colors to match the site palette */
.hero-video-uc .hero-bg { filter: saturate(0.45) hue-rotate(-28deg) brightness(0.8); }
.page-hero.hero-video-uc .hero-scrim { background: linear-gradient(180deg, rgba(10, 15, 28, 0.62) 0%, rgba(10, 15, 28, 0.78) 100%); }
@media (prefers-reduced-motion: reduce) {
  .hero-video-uc { background: linear-gradient(rgba(10, 15, 28, 0.8), rgba(10, 15, 28, 0.8)), url("assets/video/uc-poster.jpg") center / cover no-repeat; }
}

/* Use-case page banners: each page uses its own illustration */
.page-hero.hero-uc-digital-deputy { background-image: url("assets/images/uc-digital-deputy.jpg"); background-position: center 10%; }
.page-hero.hero-uc-exercises-and-training { background-image: url("assets/images/uc-exercises-and-training.jpg"); background-position: center 22%; }
.page-hero.hero-uc-grant-reimbursement-defended { background-image: url("assets/images/uc-grant-reimbursement-defended.jpg"); background-position: center 18%; }
.page-hero.hero-uc-gray-sky-event { background-image: url("assets/images/uc-gray-sky-event.jpg"); background-position: center 30%; }
.page-hero.hero-uc-institutional-knowledge { background-image: url("assets/images/uc-institutional-knowledge.jpg"); background-position: center 18%; }
.page-hero.hero-uc-plan-compliance { background-image: url("assets/images/uc-plan-compliance.jpg"); background-position: center 15%; }
.page-hero.hero-uc-reimbursement-readiness { background-image: url("assets/images/uc-reimbursement-readiness.jpg"); background-position: center 22%; }
/* One grade for every illustrated banner: the picture shows at the top, the shade deepens under the headline, and a light shadow keeps the words readable */
@media (min-width: 701px) {
  .page-hero.hero-art { padding-top: 240px; }
  .page-hero.hero-art::before {
    background: linear-gradient(180deg, rgba(10, 15, 28, 0) 0%, rgba(10, 15, 28, 0.02) 34%, rgba(10, 15, 28, 0.48) 54%, rgba(10, 15, 28, 0.62) 100%);
  }
  .page-hero.hero-art h1,
  .page-hero.hero-art p,
  .page-hero.hero-art .eyebrow,
  .page-hero.hero-art .crumbs { text-shadow: 0 2px 12px rgba(10, 15, 28, 0.6), 0 1px 3px rgba(10, 15, 28, 0.6); }
}

/* Resources: brief library */
.brief-group { margin: 28px 0 4px; font-size: 1.05rem; }
.brief-sub { margin: 0 0 6px; color: var(--color-text-muted, #4a5368); }
.brief-list { list-style: none; margin: 8px 0 0; padding: 0; border-top: 1px solid #d5dae4; }
.brief-list li { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 14px 0; border-bottom: 1px solid #d5dae4; }
.brief-list li > div { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.brief-name { font-weight: 600; color: inherit; text-decoration: none; }
.brief-name:hover { text-decoration: underline; }
.brief-list span { font-size: .93rem; color: #4a5368; }
.brief-dl { flex: none; font-weight: 600; font-size: .92rem; white-space: nowrap; text-decoration: none; color: #0052cc; border: 1px solid #0052cc; border-radius: 8px; padding: 8px 14px; }
.brief-dl:hover { background: #0052cc; color: #fff; }
.brief-dl span { color: inherit; font-size: inherit; }
@media (max-width: 600px) { .brief-list li { flex-direction: column; align-items: flex-start; } }

/* Mobile menu: the header's fixed 116px wrap height was also clipping the open menu panel */
@media (max-width: 900px) {
  .site-header .wrap { height: 80px; }
  .brand img { height: 64px; }
  .site-header .mobile-nav .wrap {
    height: auto; display: flex; flex-direction: column; align-items: stretch;
    justify-content: flex-start; gap: 0; padding: 6px 24px 22px;
  }
  .mobile-nav {
    background: #f2f4f8; box-shadow: 0 14px 28px rgba(10, 15, 28, .16);
    max-height: calc(100vh - 80px); max-height: calc(100dvh - 80px); overflow-y: auto;
  }
  .mobile-nav a:not(.btn) {
    padding: 15px 4px; font-size: 1.05rem; text-align: left;
    border-bottom: 1px solid var(--color-border, #d5dae4);
  }
  .mobile-nav .btn { margin-top: 18px; padding: 14px 20px; }
}

/* Resources: make brief group headers stand out */
.brief-group {
  margin: 36px 0 0; padding: 16px 20px; background: #0a0f1c; color: #fff;
  font-size: 1.2rem; line-height: 1.25; border-top: 3px solid #e8a33d; border-radius: 10px 10px 0 0;
}
.brief-group + .brief-sub { margin: 0; padding: 0 20px 16px; background: #0a0f1c; color: #c5cde0; font-size: .95rem; }
.brief-list { margin: 0; background: #fff; border: 1px solid #d5dae4; border-top: 0; border-radius: 0 0 10px 10px; }
.brief-list li { padding: 14px 20px; }
.brief-list li:last-child { border-bottom: 0; }
.brief-sub + .brief-list, .brief-group + .brief-list { border-top: 0; }
.brief-group + .brief-sub { max-width: none; box-sizing: border-box; width: 100%; margin-top: -1px; }
.brief-group:has(+ .brief-sub) { padding-bottom: 4px; }

/* Footer LinkedIn logo */
.li-link{display:inline-flex;align-items:center;gap:8px}
.li-link svg{flex:none}

/* Homepage: linked problem cards + tabbed demo */
a.card-link{display:flex;flex-direction:column;text-decoration:none;color:inherit;transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease}
a.card-link:hover,a.card-link:focus-visible{transform:translateY(-4px);box-shadow:0 14px 28px rgba(10,15,28,.14);border-color:var(--color-primary,#0052cc)}
a.card-link p{flex-grow:1}
.card-more{display:inline-flex;align-items:center;gap:8px;margin-top:14px;font-weight:700;color:var(--color-primary,#0052cc)}
.card-more .arr{transition:transform .18s ease}
a.card-link:hover .arr,a.card-link:focus-visible .arr{transform:translateX(5px)}
.demo-tabs{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 26px}
.demo-tab{font:inherit;font-weight:700;font-size:1rem;min-height:44px;padding:10px 22px;border-radius:999px;border:2px solid var(--color-primary,#0052cc);background:#fff;color:var(--color-primary,#0052cc);cursor:pointer;transition:background .15s ease,color .15s ease}
.demo-tab:hover{background:var(--color-primary-tint,#e8f0ff)}
.demo-tab[aria-selected="true"]{background:var(--color-primary,#0052cc);color:#fff}
.demo-tab:focus-visible{outline:3px solid var(--color-amber,#e8a33d);outline-offset:2px}
.demo-panel{display:flex;flex-wrap:wrap;background:#fff;border:1px solid var(--color-border,#dbe3f0);border-radius:14px;overflow:hidden}
.demo-panel[hidden]{display:none}
.demo-img{flex:1 1 520px;min-width:0;background:#0a0f1c}
.demo-img img{display:block;width:100%;height:100%;min-height:300px;object-fit:cover}
.demo-copy{flex:1 1 340px;min-width:0;padding:40px 36px;display:flex;flex-direction:column;justify-content:center;gap:16px;border-top:4px solid var(--color-amber,#e8a33d)}
.demo-copy h3{margin:0;font-size:1.75rem;line-height:1.2}
.demo-copy p{margin:0;font-size:1.1rem;line-height:1.55;color:var(--color-muted,#48597a)}
.demo-links{display:flex;flex-wrap:wrap;gap:14px;align-items:center;margin-top:6px}
.demo-uc{display:inline-flex;align-items:center;min-height:44px;font-weight:700;color:var(--color-primary,#0052cc);text-decoration:none}
.demo-uc:hover{text-decoration:underline;text-underline-offset:3px}
.demo-cta{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:16px;margin-top:28px;padding:22px 28px;background:#0a0f1c;border-top:3px solid var(--color-amber,#e8a33d);border-radius:12px}
.demo-cta span{font-size:1.2rem;font-weight:600;color:#fff}
@media(max-width:600px){.demo-copy{padding:28px 22px}}

/* Solution pages: problem band, why strip, FAQ, lead form */
.problem-band{padding:56px 0;background:var(--color-amber-tint,#fdf3e2);border-top:4px solid var(--color-amber,#e8a33d)}
.problem-band .eyebrow{display:block;font-family:var(--font-mono,monospace);font-size:.78rem;letter-spacing:.1em;text-transform:uppercase;font-weight:700;color:#7a4e00}
.problem-big{margin:12px 0 0;max-width:34em;font-family:var(--font-display,inherit);font-size:clamp(1.45rem,2.6vw,2.1rem);line-height:1.3;font-weight:700;color:var(--color-fg,#0a1628)}
.problem-more{margin:14px 0 0;max-width:60ch;font-size:1.1rem;color:var(--color-muted,#48597a)}
.problem-band .stat-row{margin-top:28px}
.why,.faq{padding:64px 0}
.why h2,.faq h2{font-size:1.7rem;font-weight:700;margin:0}
.why-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:18px;margin-top:24px}
.why-card{padding:22px;background:#fff;border:1px solid var(--color-border,#dbe3f0);border-top:4px solid var(--color-primary,#0052cc);border-radius:10px}
.why-card h3{margin:0 0 8px;font-size:1.15rem}
.why-card p{margin:0;color:var(--color-muted,#48597a)}
.why-more{margin:22px 0 0}
.why-more a{font-weight:700;color:var(--color-primary,#0052cc);text-decoration:none}
.why-more a:hover{text-decoration:underline;text-underline-offset:3px}
.faq-list{display:grid;gap:10px;margin-top:22px;max-width:880px}
.faq-list details{background:#fff;border:1px solid var(--color-border,#dbe3f0);border-radius:10px}
.faq-list summary{position:relative;display:flex;align-items:center;min-height:56px;padding:14px 56px 14px 20px;cursor:pointer;list-style:none;font-weight:700;font-size:1.05rem}
.faq-list summary::-webkit-details-marker{display:none}
.faq-list summary::after{content:"+";position:absolute;right:20px;top:50%;transform:translateY(-50%);font-size:1.6rem;font-weight:400;color:var(--color-primary,#0052cc)}
.faq-list details[open] summary::after{content:"\2212"}
.faq-list summary:focus-visible{outline:3px solid var(--color-amber,#e8a33d);outline-offset:2px;border-radius:10px}
.faq-list details p{margin:0;padding:0 20px 18px;max-width:70ch;line-height:1.6;color:var(--color-muted,#48597a)}
.lead-section{padding:64px 0}
.lead-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.1fr);gap:48px;align-items:start}
.lead-copy h2{margin:0 0 12px;font-size:1.8rem;font-weight:700}
.lead-copy p{margin:0 0 12px;max-width:46ch;color:var(--color-muted,#48597a)}
.lead-copy a{font-weight:700;color:var(--color-primary,#0052cc);text-underline-offset:3px}
.lead-form{padding:28px;background:#fff;border:1px solid var(--color-border,#dbe3f0);border-left:3px solid var(--color-primary,#0052cc);border-radius:var(--radius,8px)}
.lead-form .field{margin-bottom:16px}
.lead-form .field label{display:block;margin-bottom:6px;font-size:.92rem;font-weight:600;color:var(--color-fg,#0a1628)}
.lead-form .opt{font-weight:400;color:var(--color-muted,#48597a)}
.lead-form input[type=text],.lead-form input[type=email],.lead-form textarea{width:100%;padding:11px 12px;font:inherit;border:1px solid var(--color-border,#dbe3f0);border-radius:var(--radius,8px);background:#fff}
.lead-form textarea{min-height:100px;resize:vertical}
.lead-form input:focus-visible,.lead-form textarea:focus-visible{outline:2px solid var(--color-primary,#0052cc);outline-offset:1px}
.lead-form .hp{position:absolute;left:-9999px;height:0;overflow:hidden}
.lead-form .form-status{display:none;margin-top:16px;padding:12px 14px;border-radius:var(--radius,8px);font-size:.95rem}
.lead-form .form-status.ok{display:block;background:var(--color-primary-tint,#e8f0ff);color:var(--color-primary-dark,#003d99)}
.lead-form .form-status.err{display:block;background:var(--color-amber-tint,#fdf3e2);color:var(--color-fg,#0a1628)}
.lead-form .form-note{margin:14px 0 0;font-size:.85rem;color:var(--color-muted,#48597a)}
@media(max-width:860px){.lead-grid{grid-template-columns:1fr;gap:24px}.problem-band,.why,.faq,.lead-section{padding:44px 0}}

.proof-shot{padding:48px 0}.proof-shot figure{margin:0;text-align:center}.proof-shot img{display:block;width:100%;max-width:960px;height:auto;margin:0 auto;border-radius:10px;box-shadow:0 12px 32px rgba(10,22,40,.18)}.proof-shot figcaption{margin-top:14px;font-size:.9rem;color:#4a5568}
@media(max-width:860px){.proof-shot{padding:32px 0}}

/* Help Shape page: frame the faces above the headline */
@media (min-width: 701px) {
  .page-hero.hero-art-helpshape { background-position: center 4%; }
}
