/* Solutions pages (owner: builder "solutions").
   /solutions/mortgage-crm/, /marketing-automation/, /data-enrichment/, /reporting/, /integrations/, /mcp/, /mobile-app/
   Structure from the Oct 7 Figma frames (page 11577:39224), restyled into concept 3 (11743:19431):
   charcoal + lime alternating sections, two-tone 40px headings, product mockups inside dark rounded frames.
   Builds on the inner-page kit in site.css (.page-hero, .split, .section-head, .check-list, .eyebrow). */

/* ---------- Section rhythm ---------- */
.sol-section { padding-block: 120px; }
/* Design review v2: every Solutions page uses the homepage's 1280px content column (concept 3: 596 | 64 | 620),
   so section edges line up with the homepage and with each other (sol-a already did this via .sa-wrap). */
.page-solutions main > section > .container { max-width: calc(1280px + 2 * var(--gutter)); }

/* Design review v2: eyebrows are the concept 3 chip (homepage "Free Opportunity Audit" 32px pill, same as .who-chip
   on the Who / Predict pages), not plain lime text, so section labels look the same site-wide. */
.page-solutions main .eyebrow {
  display: inline-flex; align-items: center; align-self: flex-start; height: 32px; padding: 0 12px;
  border-radius: 999px; background: var(--lime-100); color: var(--green-700);
  font-size: 14px; line-height: 1.5; font-weight: 400; white-space: nowrap;
}
.page-solutions main .theme-lime .eyebrow { background: var(--black); color: var(--lime); }
.page-solutions main :is(.section-head--center, .sol-hero--center .page-hero__copy) .eyebrow { align-self: center; }
.page-solutions main .page-hero__copy .eyebrow, .page-solutions main .sol-copy .eyebrow { margin-bottom: 0; }
.sol-section + .sol-section.theme-dark,
.page-hero + .sol-section.theme-dark { border-top: 1px solid var(--n800); }
.sol-stack > * + * { margin-top: 120px; }

/* ---------- Hero ---------- */
.sol-hero { padding-block: 96px; }
.sol-hero .page-hero__copy { gap: 24px; }
.sol-hero .page-hero__copy .body-lg { color: var(--n300); }
.sol-hero__wide { margin-top: 64px; }
.sol-hero--center .page-hero__copy { align-items: center; text-align: center; margin-inline: auto; max-width: 900px; }
.sol-hero--center .page-hero__copy .body-lg { max-width: 760px; }
.sol-hero--center .btn-row { justify-content: center; }

/* ---------- Media frame: mockups sit in a dark rounded panel (concept 3 "Know the moment" / "Transform") ---------- */
.sol-frame {
  position: relative; display: flex; align-items: center; justify-content: center;
  padding: 40px; border-radius: var(--radius-md);
  background: var(--n800); border: 1px solid var(--n600); overflow: hidden;
}
/* Design review v2: one media-panel style on every theme, as on the homepage (pipe-panel / ha-split__visual:
   #262626 fill, #525252 hairline, 16px radius). Was 24px radius, n700 border, and n900 on lime on the non-sol-a pages. */
.theme-lime .sol-frame { background: var(--n800); border-color: var(--n600); }
.sol-frame img { width: 100%; height: auto; }
.sol-frame--tall { min-height: 560px; }
.sol-frame--bleed { align-items: flex-end; padding-bottom: 0; }           /* image anchored to the bottom edge */
.sol-frame--wide { padding: 56px 56px 0; align-items: flex-end; }
.sol-frame--wide img { max-width: 1290px; }
.sol-frame--photo img { max-width: 540px; }
.sol-frame--narrow img { max-width: 480px; }

/* ---------- Split copy ---------- */
.sol-copy { display: flex; flex-direction: column; gap: 24px; max-width: 600px; }
.sol-copy .body-lg { color: var(--n300); }
.theme-lime .sol-copy .body-lg { color: var(--n800); }
.sol-copy .eyebrow { margin-bottom: -8px; }
.sol-label { font-size: 14px; line-height: 1.5; font-weight: 600; color: var(--n400); margin-bottom: -12px; }
.theme-lime .sol-label { color: var(--n700); }
.sol-split--top { align-items: start; }

/* Text link with arrow (Figma "Button / Link Mkt", underlined) */
.sol-link {
  display: inline-flex; align-items: center; gap: 8px; align-self: flex-start;
  font-size: 16px; line-height: 1.5; font-weight: 500;
  text-decoration: underline; text-decoration-thickness: from-font; text-underline-offset: 4px;
  transition: opacity .15s;
}
.sol-link:hover { opacity: .75; }
.sol-link img { width: 16px; height: 16px; }

/* ---------- Icons (SVG masks so they take the text colour) ---------- */
.sol-icon {
  display: inline-block; flex: none; width: 24px; height: 24px; background-color: currentColor;
  -webkit-mask: var(--icon) center / contain no-repeat; mask: var(--icon) center / contain no-repeat;
}

/* ---------- Cards (benefit pillars, feature lists) ---------- */
.sol-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.sol-cards--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.sol-cards--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.sol-card {
  display: flex; flex-direction: column; gap: 12px; padding: 32px;
  border-radius: var(--radius-md); background: var(--black); border: 1px solid var(--n800); color: var(--white);
}
/* review v2: dark cards on lime are #0a0a0a site-wide (site.css .card--black, Who/Predict tiles, lime-section chips); were #1a1a1a here */
.theme-lime .sol-card { background: var(--black); border-color: var(--black); }
.sol-card__icon { width: 48px; height: 48px; margin-bottom: 12px; border-radius: 12px; display: grid; place-items: center; background: var(--lime); color: var(--black); }
.sol-card__num { font-size: 14px; line-height: 1.5; font-weight: 600; color: var(--lime); }
.sol-card h3 { font-size: 24px; line-height: 1.4; font-weight: 600; }
.sol-card p { font-size: 16px; line-height: 1.5; color: var(--n400); }
.sol-card .sol-link { margin-top: auto; padding-top: 8px; color: var(--lime); }

/* ---------- Highlight pills (used under tab panels) ---------- */
.sol-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.sol-pill {
  display: inline-flex; align-items: center; gap: 8px; min-height: 32px; padding: 4px 12px;
  border-radius: 999px; background: var(--n900); border: 1px solid var(--n700);
  font-size: 14px; line-height: 1.4; color: var(--n200);
}
.sol-pill::before { content: ""; flex: none; width: 6px; height: 6px; border-radius: 50%; background: var(--lime); }

/* ---------- Feature explorer (tabs) — mirrors homepage "Transform your pipeline" (11743:21108) ---------- */
.sol-tabs { display: grid; grid-template-columns: 392px minmax(0, 1fr); gap: 32px; max-width: 1280px; margin-inline: auto; }
.sol-tabs__list { display: flex; flex-direction: column; gap: 8px; }
.sol-tab {
  display: flex; flex-direction: column; align-items: flex-start; gap: 2px; width: 100%;
  padding: 16px; border: 1px solid var(--n500); border-radius: 16px;
  background: transparent; color: var(--white); text-align: left;
  transition: background-color .2s, color .2s, border-color .2s;
}
.sol-tab:hover { background: rgba(255, 255, 255, .06); border-color: var(--white); }
.sol-tab.is-active, .sol-tab.is-active:hover { background: var(--white); border-color: var(--white); color: var(--black); }
.sol-tab__title { font-size: 18px; line-height: 1.6; font-weight: 600; }
.sol-tab__desc { font-size: 14px; line-height: 1.5; color: var(--n400); }
.sol-tab.is-active .sol-tab__desc { color: var(--n700); }
.sol-tabs__panel { display: flex; flex-direction: column; border: 1px solid var(--n600); border-radius: 16px; background: var(--n800); overflow: hidden; }
.sol-tabs__panel[hidden] { display: none; }
.sol-tabs__media { flex: 1 1 auto; display: flex; align-items: center; justify-content: center; min-height: 440px; padding: 40px 40px 24px; }
.sol-tabs__media img { width: auto; max-width: 100%; max-height: 440px; }
.sol-tabs__body { display: flex; flex-direction: column; gap: 12px; padding: 24px 32px 32px; border-top: 1px solid var(--n700); background: var(--n850); }
.sol-tabs__body h3 { font-size: 24px; line-height: 1.4; font-weight: 600; }
.sol-tabs__body p { font-size: 16px; line-height: 1.5; color: var(--n400); max-width: 760px; }
.sol-tabs__body .sol-pills { margin-top: 4px; }

/* ---------- Integration logo tiles (matches homepage "Do it all inside Lendware" 11743:20447) ---------- */
.sol-logos { display: flex; flex-wrap: wrap; justify-content: center; gap: 24px; max-width: 936px; margin-inline: auto; }
.sol-logos li { width: 96px; height: 96px; display: flex; align-items: center; justify-content: center; border-radius: 13px; background: var(--white); }
.sol-logos img { width: auto; height: auto; max-width: 64px; max-height: 52px; }
.sol-logos img.is-wide { max-width: 76px; max-height: 40px; }
.sol-logos-foot { display: flex; justify-content: center; margin-top: 48px; }

/* ---------- Stats strip ---------- */
.sol-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.sol-stat { display: flex; flex-direction: column; gap: 8px; padding: 32px; border-radius: var(--radius-md); background: var(--black); color: var(--white); }
.sol-stat__value { font-size: 32px; line-height: 1.3; font-weight: 600; color: var(--lime); }
.sol-stat__label { font-size: 16px; line-height: 1.5; color: var(--n300); }

/* ---------- Numbered list card (Reporting: custom reporting) ---------- */
.sol-list-card { display: flex; flex-direction: column; border-radius: var(--radius-md); background: var(--n800); border: 1px solid var(--n700); overflow: hidden; }
.theme-lime .sol-list-card { background: var(--black); border-color: var(--black); color: var(--white); }
.sol-list-card li { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 20px; align-items: center; padding: 32px; }
.sol-list-card li + li { border-top: 1px solid var(--n700); }
.sol-list-card__num { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; background: var(--lime); color: var(--black); font-weight: 600; }
.sol-list-card__text { font-size: 20px; line-height: 1.4; font-weight: 600; }

/* ---------- Report cards (Reporting: out-of-the-box) ---------- */
.sol-report { display: flex; flex-direction: column; gap: 16px; padding: 24px; border-radius: var(--radius-md); background: var(--n900); color: var(--white); }
.sol-report__bars { display: flex; align-items: flex-end; gap: 6px; height: 104px; padding: 12px; border-radius: 12px; background: var(--n800); }
.sol-report__bars span { flex: 1; border-radius: 3px 3px 0 0; background: var(--lime); }
.sol-report__bars span:nth-child(even) { background: var(--lime-200); opacity: .7; }
.sol-report h3 { font-size: 20px; line-height: 1.4; font-weight: 600; }
.sol-report p { font-size: 14px; line-height: 1.5; color: var(--n400); }

/* ---------- MCP chat mockup (concept 3 MCP panel 11743:21128) ---------- */
.sol-mcp { display: flex; flex-direction: column; align-items: center; gap: 12px; width: 100%; }
.sol-chat { width: 100%; max-width: 476px; display: flex; flex-direction: column; gap: 20px; padding: 20px; border-radius: 13px; background: var(--white); color: var(--black); box-shadow: 0 5px 27px rgba(0, 0, 0, .1); }
.sol-chat__q { align-self: flex-end; padding: 13px 17px; border-radius: 13px; background: var(--lime-200); font-size: 13.4px; line-height: 1.5; }
.sol-chat__answer { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.sol-chat__status { display: inline-flex; align-items: center; gap: 7px; height: 33px; padding: 0 13px; border-radius: 13px; background: var(--n100); color: var(--n700); font-size: 11.7px; line-height: 1.5; white-space: nowrap; }
.sol-chat__status .sol-icon { width: 12px; height: 12px; }
.sol-chat__a { align-self: stretch; padding: 13px 17px; border-radius: 13px; background: var(--n100); font-size: 13.4px; line-height: 1.5; }
.sol-tools { display: flex; gap: 9px; }
.sol-tools li {
  display: flex; align-items: center; justify-content: center; width: 80px; height: 80px; border-radius: 16px;
  background: rgba(255, 246, 247, .2);
  box-shadow: inset 1px 1px 0 rgba(255, 255, 255, .28), inset -1px -1px 0 rgba(255, 255, 255, .12);
}
.sol-tools img { width: 48px; height: 48px; }
.sol-tools--light li { background: var(--white); box-shadow: none; }

/* MCP connector diagram: AI tools wired into Lendware (built from concept 3 MCP tiles) */
.mcp-diagram { display: flex; flex-direction: column; align-items: center; width: 100%; max-width: 400px; }
.mcp-diagram__tools { display: flex; justify-content: space-between; width: 100%; }
.mcp-diagram__tools li { display: flex; flex-direction: column; align-items: center; gap: 12px; width: 96px; font-size: 14px; line-height: 1.4; color: var(--n300); }
.mcp-diagram__tile { width: 96px; height: 96px; border-radius: 16px; background: var(--white); display: grid; place-items: center; }
.mcp-diagram__tile img { width: 52px; height: 52px; }
.mcp-diagram__lines { display: block; width: calc(100% - 96px); height: 64px; margin-top: 12px; }
.mcp-diagram__lines path { fill: none; stroke: var(--n500); stroke-width: 1.5; stroke-dasharray: 4 4; vector-effect: non-scaling-stroke; }
.mcp-diagram__hub { width: 112px; height: 112px; border-radius: 20px; display: grid; place-items: center; background: var(--lime); color: var(--black); box-shadow: 0 0 0 8px rgba(210, 255, 112, .12); }
.mcp-diagram__hub .sol-icon { width: 56px; height: 56px; }
.mcp-diagram__label { margin-top: 20px; font-size: 14px; line-height: 1.5; color: var(--n400); }

/* ---------- Integrations catalog ---------- */
.int-layout { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 64px; align-items: start; }
.int-nav { position: sticky; top: calc(var(--header-h) + 32px); display: flex; flex-direction: column; gap: 4px; }
.int-nav__label { font-size: 14px; line-height: 1.5; font-weight: 600; color: var(--n400); padding: 0 12px 12px; margin-bottom: 8px; border-bottom: 1px solid var(--n800); }
.int-nav a { display: flex; justify-content: space-between; gap: 8px; padding: 10px 12px; border-radius: var(--radius-sm); font-size: 15px; line-height: 1.4; color: var(--n300); transition: background-color .15s, color .15s; }
.int-nav a span { color: var(--n500); font-size: 13px; }
.int-nav a:hover { background: var(--n800); color: var(--white); }
.int-nav a.is-active { background: var(--n800); color: var(--white); box-shadow: inset 2px 0 0 var(--lime); }
.int-group { scroll-margin-top: calc(var(--header-h) + 24px); }
.int-group + .int-group { margin-top: 72px; }
.int-group__title { font-size: 28px; line-height: 1.3; font-weight: 600; }
.int-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 24px; }
.int-card { display: flex; flex-direction: column; gap: 16px; padding: 24px; border-radius: var(--radius-md); background: var(--black); border: 1px solid var(--n800); transition: border-color .15s; }
.int-card:hover { border-color: var(--n600); }
.int-card__logo { width: 72px; height: 72px; border-radius: 14px; background: var(--white); display: grid; place-items: center; }
.int-card__logo img { width: auto; height: auto; max-width: 48px; max-height: 44px; }
.int-card__logo img.is-wide { max-width: 58px; max-height: 32px; }
.int-card h3 { font-size: 20px; line-height: 1.4; font-weight: 600; }
.int-card p { font-size: 14px; line-height: 1.5; color: var(--n400); }

/* ---------- Steps (How it works) ---------- */
.sol-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; counter-reset: step; }

/* ---------- Responsive ---------- */
@media (max-width: 1280px) {
  .sol-tabs { grid-template-columns: 320px minmax(0, 1fr); }
  .int-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 1024px) {
  .sol-section { padding-block: 96px; }
  .sol-stack > * + * { margin-top: 96px; }
  .sol-hero { padding-block: 72px; }
  .sol-copy { max-width: none; }
  .sol-frame--tall { min-height: 0; }
  .sol-cards--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split > .sol-frame img, .page-hero__grid > .sol-frame img { max-width: 600px; }
  .split > .sol-frame--bleed img, .page-hero__grid > .sol-frame--bleed img { max-width: 640px; }
  .sol-tabs { grid-template-columns: 1fr; }
  .sol-tabs__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sol-tabs__media { min-height: 0; }
  .int-layout { grid-template-columns: 1fr; gap: 32px; }
  .int-nav {
    top: var(--header-h); z-index: 5; flex-direction: row; gap: 8px; overflow-x: auto; scrollbar-width: none;
    margin-inline: calc(var(--gutter) * -1); padding: 12px var(--gutter); background: var(--n900); border-bottom: 1px solid var(--n800);
  }
  .int-nav::-webkit-scrollbar { display: none; }
  .int-nav__label { display: none; }
  .int-nav a { flex: none; padding: 8px 14px; border: 1px solid var(--n700); border-radius: 999px; font-size: 14px; white-space: nowrap; }
  .int-nav a span { display: none; }
  .int-nav a.is-active { box-shadow: none; border-color: var(--lime); }
  .int-group { scroll-margin-top: calc(var(--header-h) + 80px); }
}
@media (max-width: 860px) {
  .sol-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 768px) {
  .sol-section { padding-block: 64px; }
  .sol-report__bars { height: 72px; }
  .sol-stack > * + * { margin-top: 64px; }
  .sol-hero { padding-block: 48px 56px; }
  .sol-hero__wide { margin-top: 40px; }
  .sol-frame { padding: 24px; border-radius: var(--radius-md); }
  .sol-frame--wide { padding: 24px 0 0 24px; justify-content: flex-start; }
  .sol-frame--wide img { width: 720px; max-width: none; }   /* show the left part of wide app mockups at a readable size */
  .sol-frame--bleed { padding-bottom: 0; }
  .sol-cards, .sol-cards--4, .sol-cards--2, .sol-stats, .sol-steps { grid-template-columns: 1fr; }
  .sol-card { padding: 24px; }
  .sol-card h3 { font-size: 20px; }
  .sol-tabs__list { grid-template-columns: 1fr 1fr; gap: 8px; }
  .sol-tab { padding: 12px; }
  .sol-tab__title { font-size: 15px; line-height: 1.4; }
  .sol-tab__desc { display: none; }
  .sol-tabs__media { padding: 24px 16px 16px; }
  .sol-tabs__body { padding: 20px; }
  .sol-tabs__body h3 { font-size: 20px; }
  .sol-logos { gap: 12px; }
  .sol-logos li { width: 64px; height: 64px; border-radius: 10px; }
  .sol-logos img { max-width: 42px; max-height: 36px; }
  .sol-logos img.is-wide { max-width: 52px; max-height: 26px; }
  .sol-list-card li { padding: 20px; gap: 16px; }
  .sol-list-card__text { font-size: 17px; }
  .int-grid { grid-template-columns: 1fr; }
  .int-card { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 12px 16px; padding: 20px; }
  .int-card__logo { width: 56px; height: 56px; border-radius: 12px; }
  .int-card__logo img { max-width: 38px; max-height: 34px; }
  .int-card__logo img.is-wide { max-width: 46px; max-height: 22px; }
  .int-card h3 { flex: 1; }
  .int-card p { flex-basis: 100%; }
  .sol-tools li { width: 64px; height: 64px; border-radius: 12px; }
  .sol-tools img { width: 38px; height: 38px; }
  .mcp-diagram__tools li { width: 72px; font-size: 13px; }
  .mcp-diagram__tile { width: 72px; height: 72px; border-radius: 12px; }
  .mcp-diagram__tile img { width: 40px; height: 40px; }
  .mcp-diagram__lines { width: calc(100% - 72px); }
  .mcp-diagram__hub { width: 88px; height: 88px; border-radius: 16px; }
  .mcp-diagram__hub .sol-icon { width: 44px; height: 44px; }
}

/* ---------- Small utilities ---------- */
.sol-icon--sm { width: 16px; height: 16px; }
.sol-cards--spaced { margin-top: 56px; }
.sol-label--block { margin-bottom: 16px; }
.section-head--flush { margin-bottom: 0; }
.section-head--flush .btn-row { justify-content: center; margin-top: 8px; }

/* Text tile for integrations without a logo file yet (swap in the real logo when available) */
.int-card__logo--text { color: var(--black); font-size: 13px; font-weight: 600; letter-spacing: -0.01em; text-align: center; line-height: 1.1; padding: 6px; overflow-wrap: normal; word-break: keep-all; }
.int-group__more { margin-top: 16px; font-size: 14px; color: var(--lime); }

/* =========================================================================
   v2 Solutions A (builder "sol-a"): /solutions/mortgage-crm/ and /solutions/marketing-automation/
   CHANGES-V2 #6-8 and #17. Everything here is scoped to body.sol-a, so the other Solutions pages keep their v1 look.
   Design pass rules (concept 3 / homepage 11743:19431):
   - Type comes only from the site.css scale: display-md 40/1.3/500 two-tone section headings (no eyebrows inside sections,
     the muted line is the label, like the homepage), heading-md 24/1.4/600 for large cards and tab panels,
     heading-sm 20/1.4/600 for 3-up cards, body-lg 18/1.6, body-md 16/1.5, body-sm-medium 14/1.5/500 for card labels.
   - 1280px content column, 24px heading-to-body, 64px head-to-content, 120px section padding (all Solutions pages).
   - Media frames and cards use the 16px system radius; frames are n800 with an n600 hairline (homepage 04 panel).
   ========================================================================= */
.sol-a [id] { scroll-margin-top: calc(var(--header-h) + 24px); }
.sol-a .display-md, .sol-a .sa-media-card h3, .sol-a .sol-card h3 { text-wrap: balance; }
.sol-a .sa-wrap { max-width: calc(1280px + 2 * var(--gutter)); }

/* Headings and body copy */
.sol-a .section-head { gap: 24px; margin-bottom: 64px; }
.sol-a .section-head--center { max-width: 1000px; }
.sol-a .section-head .body-lg { max-width: 760px; }
.sol-a .theme-dark .body-lg { color: var(--n200); }
.sol-a .theme-lime .body-lg { color: var(--black); }
.sol-a .sol-copy { gap: 24px; max-width: 596px; }
.sol-a .sol-copy .check-list { margin-top: 8px; }
.sol-a .sol-copy .sol-link { margin-top: 8px; }
.sol-a .check-list { gap: 12px; }
.sol-a .check-list li { font-size: 16px; line-height: 1.5; }
.sol-a .theme-dark .check-list li { color: var(--n200); }
.sol-a .theme-lime .check-list li { color: var(--black); }

/* Hero: centered two-tone title over the product shot or the capability rail */
.sol-a .sa-hero { padding-block: 96px; }
.sol-a .sol-hero--center .page-hero__copy { max-width: 1160px; gap: 24px; }
.sol-a .sol-hero--center .page-hero__copy .body-lg { max-width: 720px; }
.sol-a .sol-hero--center .page-hero__copy .eyebrow { margin-bottom: 0; }   /* chip eyebrow (review v2): 24px to the title, as on Who pages */
.sol-a .sol-hero--center .btn-row { margin-top: 8px; }
.sol-a .sol-hero__wide { margin-top: 64px; }

/* Media frames */
.sol-a .sol-frame, .sol-a .theme-lime .sol-frame { border-radius: var(--radius-md); background: var(--n800); border-color: var(--n600); }
.sol-a .sol-frame--tall { min-height: 560px; }
.sol-a .sol-frame--fit { min-height: 0; padding: 48px 40px; }

/* 3-up icon cards */
.sol-a .sol-card { gap: 12px; padding: 32px; border-radius: var(--radius-md); }
.sol-a .sol-card__icon { margin-bottom: 12px; }
.sol-a .sol-card h3 { font-size: 20px; line-height: 1.4; font-weight: 600; }
.sol-a .sol-card p { font-size: 16px; line-height: 1.5; color: var(--n400); }
.sol-a .sol-card .sol-link { color: var(--lime); }
.sol-a .sol-cards--spaced { margin-top: 64px; }

/* Media cards: mockup on top, copy below (adoption pillars, AI, co-marketing + lead capture) */
.sa-media-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.sa-media-cards--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.sa-media-card { display: flex; flex-direction: column; min-width: 0; border-radius: var(--radius-md); background: var(--black); border: 1px solid var(--black); color: var(--white); overflow: hidden; }
.theme-dark .sa-media-card { background: var(--black); border-color: var(--n800); }
.sa-media-card__media { flex: none; height: 300px; display: flex; align-items: center; justify-content: center; padding: 32px; background: var(--n800); border-bottom: 1px solid var(--n700); overflow: hidden; }
.sa-media-card__media img { width: auto; height: auto; max-width: 100%; max-height: 100%; }
.sa-media-card__media--bleed { align-items: flex-end; padding-bottom: 0; }
.sa-media-card--lg .sa-media-card__media { height: 400px; padding: 40px; }
.sa-media-card__body { flex: 1 1 auto; display: flex; flex-direction: column; gap: 12px; padding: 32px; }
.sa-media-card__label { font-size: 14px; line-height: 1.5; font-weight: 500; color: var(--lime); }
.sa-media-card h3 { font-size: 20px; line-height: 1.4; font-weight: 600; }
.sa-media-card--lg h3 { font-size: 24px; }
.sa-media-card__body p:not(.sa-media-card__label) { font-size: 16px; line-height: 1.5; color: var(--n400); }
.sa-media-card .sol-pills { margin-top: 4px; }
.sa-media-card .sol-link { margin-top: auto; padding-top: 12px; color: var(--lime); }
.sa-media-card__media--bleed-tr { align-items: flex-start; justify-content: flex-end; padding: 0 0 0 32px; }
.sa-media-card__media--bleed-tr img { width: 100%; max-width: none; max-height: none; }
.sa-media-cards--tall .sa-media-card__media { height: 480px; padding: 32px; }
.sa-media-card__media--mcp .sol-mcp { gap: 16px; }

/* Adoption bento: one wide card (mobile) over two large cards */
.sa-bento { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.sa-bento .sa-media-card__media { height: 360px; }
.sa-bento .sa-media-card__media--bleed { padding: 40px 40px 0; }
.sa-bento .sa-media-card h3 { font-size: 24px; }
.sa-media-card--wide { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.sa-media-card--wide .sa-media-card__media { order: 2; height: auto; min-height: 420px; border-bottom: 0; border-left: 1px solid var(--n700); }
.sa-media-card--wide .sa-media-card__body { justify-content: center; gap: 16px; padding: 56px; }
.sa-media-card--wide .sa-media-card__body .sol-link { margin-top: 8px; }
.sa-media-card__media--mcp .sol-chat { max-width: 440px; }

/* Slim note under the AI cards (Agents: human approval) */
.sa-note { display: flex; align-items: center; gap: 16px; margin-top: 24px; padding: 20px 24px; border-radius: var(--radius-md); border: 1px solid var(--n800); background: var(--black); }
.sa-note__icon { flex: none; width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: var(--lime); color: var(--black); }
.sa-note__icon .sol-icon { width: 20px; height: 20px; }
.sa-note p { flex: 1 1 auto; font-size: 16px; line-height: 1.5; color: var(--n300); }
.sa-note p strong { font-weight: 600; color: var(--white); }
.sa-note .sol-link { flex: none; color: var(--lime); }

/* Marketing hero: capability rail (anchors to each section, in page order) */
.sa-rail { --rail-cols: 7; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 64px; }
.sa-rail a { flex: 0 0 calc((100% - (var(--rail-cols) - 1) * 12px) / var(--rail-cols)); min-width: 0; display: flex; flex-direction: column; justify-content: space-between; gap: 24px; min-height: 120px; padding: 16px; border: 1px solid var(--n700); border-radius: var(--radius-md); background: var(--n900); text-align: left; transition: border-color .15s, background-color .15s; }
.sa-rail a:hover { border-color: var(--lime); background: var(--n850); }
.sa-rail .sol-icon { color: var(--lime); }
.sa-rail__label { font-size: 16px; line-height: 1.5; font-weight: 500; color: var(--white); }

/* Email templates & flyers: schematic builder illustration (not a product screenshot) */
.sa-builder-frame { padding: 56px 56px 40px; }
.sa-builder { position: relative; margin: 0; display: grid; grid-template-columns: 216px 56px auto; grid-template-areas: "blocks flow docs" "saved saved saved"; align-items: center; justify-content: center; column-gap: 32px; row-gap: 40px; }
.sa-builder__blocks { grid-area: blocks; position: relative; }
.sa-builder__label { margin-bottom: 12px; font-size: 14px; line-height: 1.5; font-weight: 500; color: var(--n400); }
.sa-builder__blocks ul { display: flex; flex-direction: column; gap: 8px; }
.sa-block { display: flex; align-items: center; gap: 12px; height: 48px; padding: 0 16px; border-radius: var(--radius-sm); border: 1px solid var(--n700); background: var(--n900); font-size: 14px; line-height: 1.5; font-weight: 500; color: var(--n200); }
.sa-block .sol-icon { width: 18px; height: 18px; color: var(--lime); }
.sa-block--ghost { border-style: dashed; border-color: var(--n600); background: transparent; color: var(--n500); }
.sa-block--ghost .sol-icon { color: var(--n600); }
.sa-block--drag { position: absolute; left: 92px; top: 122px; width: 156px; border-color: var(--lime); background: var(--n800); color: var(--white); transform: rotate(-4deg); box-shadow: 0 16px 32px rgba(0, 0, 0, .45); }
.sa-builder .sa-block__cursor { position: absolute; right: -8px; bottom: -14px; width: 22px; height: 22px; max-width: none; }
.sa-builder__flow { grid-area: flow; width: 56px; height: 16px; overflow: visible; }
.sa-builder__flow path { fill: none; stroke: var(--lime); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.sa-builder__flow path:first-child { stroke-dasharray: 4 5; }
.sa-builder__docs { grid-area: docs; display: flex; align-items: flex-start; gap: 24px; }
.sa-doc { display: flex; flex-direction: column; gap: 10px; padding: 16px; border-radius: 12px; background: var(--white); color: var(--black); box-shadow: 0 20px 48px rgba(0, 0, 0, .35); }
.sa-doc--email { width: 300px; }
.sa-doc--flyer { width: 216px; margin-top: 40px; }
.sa-doc__top { display: flex; align-items: center; gap: 8px; margin-bottom: 4px; }
.sa-doc__logo { flex: none; width: 24px; height: 24px; border-radius: 6px; background: var(--black); box-shadow: inset 0 0 0 6px var(--black), inset 0 0 0 12px var(--lime); }
.sa-doc__tag { margin-left: auto; display: inline-flex; align-items: center; height: 22px; padding: 0 8px; border-radius: 999px; border: 1px solid var(--lime-500); background: var(--lime-100); color: var(--green-700); font-size: 11px; line-height: 1; font-weight: 500; white-space: nowrap; }
.sa-doc--flyer .sa-doc__tag { margin-left: 0; }
.sa-doc__chips { margin-left: auto; display: flex; gap: 4px; }
.sa-doc__chips span { display: inline-flex; align-items: center; height: 20px; padding: 0 6px; border-radius: 999px; background: var(--n100); color: var(--n600); font-size: 10px; line-height: 1; font-weight: 500; }
.sa-doc__img { height: 112px; border-radius: 8px; display: grid; place-items: center; background: linear-gradient(135deg, var(--lime-100), var(--lime-200)); }
.sa-doc__img--tall { height: 128px; background: linear-gradient(160deg, var(--n200), var(--n150)); }
.sa-doc__img .sol-icon { width: 36px; height: 36px; color: var(--green-600); }
.sa-doc__img--tall .sol-icon { color: var(--n500); }
.sa-doc__title { margin-top: 4px; font-size: 15px; line-height: 1.4; font-weight: 600; color: var(--black); }
.sa-doc__title--lg { font-size: 18px; line-height: 1.3; }
.sa-bar { display: block; width: var(--w, 100%); height: 8px; border-radius: 4px; background: var(--n200); }
.sa-bar--sm { height: 6px; background: var(--n150); }
.sa-doc__drop { display: flex; align-items: center; justify-content: center; height: 44px; margin-block: 4px; border: 1.5px dashed var(--green-600); border-radius: 8px; background: var(--lime-50); color: var(--green-700); font-size: 12px; line-height: 1; font-weight: 500; }
.sa-doc__foot { display: flex; flex-direction: column; gap: 6px; padding-top: 10px; border-top: 1px solid var(--n150); }
.sa-doc__lo { display: flex; align-items: center; gap: 8px; margin-top: 4px; padding-top: 10px; border-top: 1px solid var(--n150); }
.sa-doc__avatar { flex: none; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--lime); color: var(--black); font-size: 10px; line-height: 1; font-weight: 600; }
.sa-doc__lo-lines { flex: 1 1 auto; display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.sa-doc__partner { flex: none; display: grid; place-items: center; width: 44px; height: 26px; border-radius: 4px; border: 1px solid var(--n200); color: var(--n500); font-size: 9px; line-height: 1; font-weight: 600; }
.sa-builder__saved { grid-area: saved; justify-self: center; display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--n700); background: var(--n900); font-size: 14px; line-height: 1.5; font-weight: 500; color: var(--n200); }
.sa-builder__saved .sol-icon { width: 16px; height: 16px; color: var(--lime); }

/* sol-a responsive */
@media (max-width: 1280px) {
  .sa-rail { --rail-cols: 4; }
}
@media (max-width: 1024px) {
  .sol-a .sa-hero { padding-block: 72px; }
  .sol-a .sol-copy { max-width: none; }
  .sol-a .sol-frame--tall { min-height: 0; }
  .sol-a .sol-card { padding: 24px; }
  .sa-media-cards { grid-template-columns: 1fr; }
  .sa-media-cards:not(.sa-media-cards--2) .sa-media-card { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); }
  .sa-media-cards:not(.sa-media-cards--2) .sa-media-card__media { height: auto; min-height: 300px; border-bottom: 0; border-right: 1px solid var(--n700); }
  .sa-media-cards--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sa-media-card--lg .sa-media-card__media, .sa-media-cards--tall .sa-media-card__media { height: 360px; padding: 32px; }
  .sa-media-card--lg h3 { font-size: 20px; }
  .sa-media-card__body { padding: 24px; }
  .sa-builder-frame { padding: 40px 24px 32px; }
  .sa-builder { zoom: .84; }
  .sol-a .sol-tabs__list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .sa-bento .sa-media-card__media { height: 300px; }
  .sa-media-card--wide .sa-media-card__media { min-height: 340px; }
  .sa-media-card--wide .sa-media-card__body { padding: 32px; }
  .sa-bento .sa-media-card h3 { font-size: 20px; }
}
@media (max-width: 860px) {
  .sol-a .sol-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sol-a .sol-cards > :last-child:nth-child(odd) { grid-column: 1 / -1; }
  .sa-media-cards--2 { grid-template-columns: 1fr; }
  .sa-media-card--lg .sa-media-card__media, .sa-media-cards--tall .sa-media-card__media { height: 420px; }
  .sa-builder { zoom: .72; }
}
@media (max-width: 768px) {
  .sol-a .sa-hero { padding-block: 48px 56px; }
  .sol-a .sol-hero__wide { margin-top: 40px; }
  .sol-a .section-head { margin-bottom: 40px; gap: 16px; }
  .sol-a .sol-cards--spaced { margin-top: 40px; }
  .sol-a .sol-cards { grid-template-columns: 1fr; }
  .sol-a .sol-frame--tall { padding: 24px; }
  .sa-rail { --rail-cols: 2; gap: 8px; margin-top: 40px; }
  .sa-rail a { flex-basis: calc((100% - 8px) / 2); min-height: 0; gap: 12px; padding: 14px; }
  .sa-rail__label { font-size: 14px; line-height: 1.4; }
  .sa-media-cards:not(.sa-media-cards--2) .sa-media-card { display: flex; }
  .sa-media-cards:not(.sa-media-cards--2) .sa-media-card__media { min-height: 0; height: 240px; padding: 24px; border-right: 0; border-bottom: 1px solid var(--n700); }
  .sa-media-cards:not(.sa-media-cards--2) .sa-media-card__media--bleed { padding-bottom: 0; }
  .sa-media-card--lg .sa-media-card__media, .sa-media-cards--tall .sa-media-card__media { height: 300px; padding: 24px; }
  .sa-bento { grid-template-columns: 1fr; }
  .sa-media-card--wide { display: flex; }
  .sa-media-card--wide .sa-media-card__media { order: 0; min-height: 0; height: 260px; border-left: 0; border-bottom: 1px solid var(--n700); }
  .sa-bento .sa-media-card__media { height: 240px; }
  .sa-bento .sa-media-card__media--bleed { padding: 24px 24px 0; }
  .sa-media-card__media--bleed-tr { padding: 0 0 0 24px; }
  .sa-media-card--wide .sa-media-card__body { padding: 24px; gap: 12px; }
  .sa-media-card__body { padding: 24px; }
  .sa-note { flex-wrap: wrap; align-items: flex-start; padding: 20px; }
  .sa-note p { flex-basis: calc(100% - 56px); }
  .sa-note .sol-link { margin-left: 56px; }
  .sa-builder-frame { padding: 28px 16px 24px; }
  .sol-a .sol-tabs__list { grid-template-columns: 1fr; }
  .sa-builder { zoom: 1; grid-template-columns: 1fr; grid-template-areas: "blocks" "docs" "saved"; row-gap: 24px; justify-items: center; }
  .sa-builder__flow { display: none; }
  .sa-builder__label { text-align: center; }
  .sa-builder__blocks ul { flex-direction: row; flex-wrap: wrap; justify-content: center; gap: 6px; }
  .sa-block { height: 36px; padding: 0 10px; gap: 6px; font-size: 13px; }
  .sa-block .sol-icon { width: 14px; height: 14px; }
  .sa-block--drag { display: none; }
  .sa-builder__docs { position: relative; width: 300px; max-width: 100%; height: 392px; display: block; }
  .sa-doc--email { position: absolute; left: 0; top: 0; zoom: .8; }
  .sa-doc--flyer { position: absolute; right: 0; top: 196px; margin: 0; zoom: .68; }
  .sa-builder__saved { height: auto; min-height: 40px; padding: 8px 14px; font-size: 13px; text-align: left; }
}

/* Nov 11: center the "Read the release" link in the human-approval note */
/* Review Nov 11: margin-block only, so the 768px rule's margin-left: 56px (link under the text, not the icon) still applies */
.sa-note .sol-link { align-self: center; margin-block: 0; padding: 0; line-height: 1.5; display: inline-flex; align-items: center; gap: 8px; }
