/* Solutions and Enterprise & Government light pages. Builds on /small-business/small-business.css (.sb-page). */

/* Solution cards: one problem, two scales */
.sol-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.sol-card { min-width: 0; display: flex; flex-direction: column; padding: 30px 30px 26px; border: 1px solid rgba(136,182,205,.47); background: radial-gradient(circle at 88% 0%, rgba(136,182,205,.24), transparent 46%), linear-gradient(135deg, #fff 0%, rgba(169,211,230,.22) 100%); box-shadow: 0 16px 36px rgba(34,54,67,.06); }
.sol-top { display: grid; grid-template-columns: 46px 1fr; gap: 16px; align-items: center; margin-bottom: 12px; }
.sol-top svg { width: 46px; height: 46px; padding: 9px; border: 1px solid rgba(47,111,159,.42); border-radius: 50%; fill: none; stroke: var(--accent-navy); stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.55; }
.sol-top .card-label { margin: 0 0 4px; color: var(--accent-blue); }
.sol-card h3 { margin: 0; color: var(--midnight); font-family: var(--serif); font-size: clamp(1.6rem, 2.2vw, 2.1rem); font-weight: 500; letter-spacing: -.025em; line-height: 1; white-space: nowrap; }
.sol-card > p { margin: 0 0 18px; color: #40515c; font-size: .95rem; line-height: 1.56; }
.sol-split { display: grid; grid-template-columns: 1fr 1fr; margin-top: auto; border-top: 1px solid rgba(38,78,104,.16); }
.sol-split div { padding: 16px 18px 4px 0; }
.sol-split div + div { padding-left: 18px; border-left: 1px solid rgba(38,78,104,.16); }
.sol-split b { display: block; margin-bottom: 6px; color: var(--accent-navy); font-size: .66rem; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; }
.sol-split p { margin: 0; color: #4a5c67; font-size: .86rem; line-height: 1.5; }
.sol-split a { display: inline-block; margin-top: 8px; color: var(--accent-blue); font-size: .8rem; font-weight: 700; text-decoration: underline; text-decoration-color: rgba(47,111,159,.35); text-underline-offset: 4px; }
.sol-card.feature { border-color: rgba(47,111,159,.6); background: radial-gradient(circle at 88% 0%, rgba(214,180,110,.2), transparent 40%), linear-gradient(135deg, #fff 0%, rgba(169,211,230,.3) 100%); }

/* Numbers band: landing diagnostic pattern with a source line */
.sb-page .stat-grid h2 { font-size: clamp(2.6rem, 4vw, 3.8rem); }
.sb-page .stat-grid p { max-width: 320px; }
.sb-page .stat-grid small { display: block; margin-top: 10px; color: var(--stone); font-size: .72rem; letter-spacing: .02em; }

/* Two doors reuse the landing path cards */
.sb-page .audience { padding-top: 64px; }
.sb-page .audience .sb-head { margin-bottom: 30px; }
.door-links { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; margin-top: 22px; }
.door-links .button { margin: 0; }
.door-links .text-link { color: var(--accent-navy); font-size: .82rem; font-weight: 700; text-decoration: underline; text-decoration-color: rgba(38,78,104,.4); text-underline-offset: 5px; }

/* Systems band */
.sys-band { display: grid; grid-template-columns: 1fr 1.25fr; gap: 48px; align-items: center; }
.sys-band h2 { margin: 0 0 16px; color: var(--midnight); font-family: var(--serif); font-size: clamp(2.1rem, 3vw, 3.1rem); font-weight: 500; letter-spacing: -.035em; line-height: .98; }
.sys-band h2 span, .sys-band h2 em { display: block; white-space: nowrap; }
.sys-band h2 em { color: var(--accent-blue); font-style: normal; }
.sys-band > div > p { margin: 0 0 12px; color: #40515c; font-size: .97rem; line-height: 1.6; }
.sys-chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; list-style: none; }
.sys-chips li { padding: 9px 15px; border: 1px solid rgba(136,182,205,.55); border-radius: 999px; background: #fff; color: var(--slate); font-size: .8rem; font-weight: 600; }
.sys-chips li.hl { border-color: var(--accent-blue); background: linear-gradient(135deg, #fff 0%, rgba(169,211,230,.45) 100%); color: var(--accent-navy); }
.sys-chips li.hl a { color: inherit; text-decoration: none; }

/* Enterprise: dense card grids */
.ent-grid { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid rgba(38,78,104,.2); background: #fff; }
.ent-grid article { min-width: 0; padding: 26px 24px 24px; border-right: 1px solid rgba(38,78,104,.14); border-bottom: 1px solid rgba(38,78,104,.14); }
.ent-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.ent-grid.cols-4 article:nth-child(4n), .ent-grid.cols-3 article:nth-child(3n) { border-right: 0; }
.ent-grid.cols-4 article:nth-last-child(-n+4), .ent-grid.cols-3 article:nth-last-child(-n+3) { border-bottom: 0; }
.ent-grid .card-label { color: var(--accent-blue); }
.ent-grid h3 { margin: 0 0 8px; color: var(--midnight); font-family: var(--serif); font-size: 1.55rem; font-weight: 600; letter-spacing: -.02em; line-height: 1.05; }
.ent-grid p { margin: 0; color: #4a5c67; font-size: .88rem; line-height: 1.52; }
.ent-quote { max-width: 860px; margin: 34px auto 0; color: var(--midnight); font-family: var(--serif); font-size: clamp(1.5rem, 2.2vw, 2rem); font-style: italic; text-align: center; }
.ent-note { max-width: 860px; margin: 26px auto 0; color: #40515c; font-size: .95rem; line-height: 1.6; text-align: center; }
.cred-strip { display: flex; flex-wrap: wrap; gap: 8px 28px; margin: 22px 0 0; padding: 16px 0 0; border-top: 1px solid rgba(38,78,104,.2); list-style: none; }
.cred-strip li { color: var(--accent-navy); font-size: .68rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; }
.ent-cross { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: center; padding: 34px 38px; border: 1px solid rgba(47,111,159,.45); background: radial-gradient(circle at 90% 0%, rgba(214,180,110,.18), transparent 42%), linear-gradient(135deg, #fff 0%, rgba(169,211,230,.3) 100%); }
.ent-cross h3 { margin: 0 0 10px; color: var(--midnight); font-family: var(--serif); font-size: clamp(1.8rem, 2.6vw, 2.5rem); font-weight: 500; letter-spacing: -.03em; line-height: 1; }
.ent-cross p { margin: 0; color: #40515c; font-size: .95rem; line-height: 1.58; }
.ent-cross ul { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 18px; padding: 0; list-style: none; }
.ent-cross li { padding: 6px 12px; border: 1px solid rgba(136,182,205,.6); border-radius: 999px; background: #fff; color: var(--slate); font-size: .74rem; font-weight: 600; }

@media (max-width: 1280px) {
  .ent-grid.cols-4 { grid-template-columns: repeat(2, 1fr); }
  .ent-grid.cols-4 article:nth-child(2n) { border-right: 0; }
  .ent-grid.cols-4 article:nth-child(2n+1) { border-right: 1px solid rgba(38,78,104,.14); }
  .ent-grid.cols-4 article:nth-last-child(-n+4) { border-bottom: 1px solid rgba(38,78,104,.14); }
  .ent-grid.cols-4 article:nth-last-child(-n+2) { border-bottom: 0; }
}
@media (max-width: 1100px) {
  .sol-card h3 { white-space: normal; }
}
@media (max-width: 900px) {
  .sol-grid, .sys-band, .ent-cross, .ent-grid.cols-3 { grid-template-columns: 1fr; }
  .ent-grid.cols-3 article { border-right: 0; border-bottom: 1px solid rgba(38,78,104,.14); }
  .ent-grid.cols-3 article:last-child { border-bottom: 0; }
  .ent-cross { padding: 28px 24px; gap: 22px; }
}
@media (max-width: 660px) {
  .sol-split { grid-template-columns: 1fr; }
  .sol-split div + div { padding-left: 0; border-left: 0; border-top: 1px solid rgba(38,78,104,.16); }
  .sol-card { padding: 24px 20px 20px; }
  .ent-grid.cols-4 { grid-template-columns: 1fr; }
  .ent-grid article { border-right: 0 !important; border-bottom: 1px solid rgba(38,78,104,.14) !important; }
  .ent-grid article:last-child { border-bottom: 0 !important; }
  .sys-band h2 span, .sys-band h2 em { white-space: normal; }
}

/* Four-step method row */
.sb-steps.four { grid-template-columns: repeat(4, 1fr); }
.sb-steps.four article { padding-inline: 24px; }
@media (max-width: 1100px) { .sb-steps.four { grid-template-columns: repeat(2, 1fr); } .sb-steps.four article:nth-child(3) { border-left: 0; } .sb-steps.four article:nth-child(n+3) { border-top: 1px solid rgba(34,54,67,.16); padding-top: 22px; } }
@media (max-width: 900px) { .sb-steps.four { grid-template-columns: 1fr; } }
