/* Long-form Solutions pages (views/site/solution.php), on top of industry.css, ai.css and hub.css. --n-accent and
   --n-soft are the niche's colours, set on .sol */
.sol section.block { padding-block: 96px 0; }
.sol .sec-h .eyebrow, .sol .hub-copy .eyebrow { color: var(--n-accent); }
.sol [aria-selected=true] .hub-tour-n { background: var(--n-accent); }
.sol .hub-points li::before { background-color: var(--n-soft); }
.sol .hub-link { color: var(--n-accent); }
.sol .in-hero h1 { font-size: clamp(40px, 5.2vw, 66px); }
.sol .in-stage .frame img { display: block; }

/* numbers band, just under the hero */
.sol-stats { margin-top: 88px; }
.sol-stats b { color: var(--n-accent); }

/* on this page: a sticky row of links to the sections */
.sol-jump { position: sticky; top: 72px; z-index: 20; margin-top: 40px; background: color-mix(in srgb, var(--ground) 88%, transparent); backdrop-filter: blur(10px); border-block: 1px solid var(--line); }
.sol-jump .wrap { display: flex; gap: 6px; align-items: center; overflow-x: auto; padding-block: 10px; scrollbar-width: none; }
.sol-jump .wrap::-webkit-scrollbar { display: none; }
.sol-jump span { flex: none; font: 600 12px/1 var(--body); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-faint); margin-inline-end: 8px; }
.sol-jump a { flex: none; padding: 8px 14px; border-radius: var(--r-pill); color: var(--ink-muted); font-size: 14px; font-weight: 500; text-decoration: none; transition: background .2s, color .2s; }
.sol-jump a:hover { background: var(--n-soft); color: var(--ink); }
.sol-jump a:focus-visible { outline: none; box-shadow: var(--ring); }
.sol .sol-row, .sol #sol-all, .sol #sol-earn, .sol #sol-faq, .sol #sol-tour { scroll-margin-top: 136px; }
.sol .hub-tour-tabs { top: 144px; }

/* who it's for: four cards */
.sol-who { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.sol-who b { font-size: 18px; }
@media (max-width: 1100px) { .sol-who { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .sol-who { grid-template-columns: 1fr; } }

/* feature rows: bigger media */
.sol .hub-copy h2 { font-size: clamp(28px, 3.2vw, 40px); }
.sol .hub-media .hub-chip-shot { box-shadow: var(--shadow-md); }
.sol-pair { display: grid; gap: 18px; align-items: start; }
.sol-pair.is-duo { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); align-items: center; }
.sol-pair.is-duo .phone { width: auto; max-width: 260px; justify-self: center; }
.sol-pair .hub-chip-shot img { max-height: 560px; object-fit: cover; object-position: top; }
@media (max-width: 600px) { .sol-pair.is-duo { grid-template-columns: 1fr; } .sol-pair.is-duo .phone { max-width: 230px; } }

.sol-fnote { color: var(--ink-faint); font-size: 13px; margin: 0; }

/* everything included: grouped checklist */
.sol-all { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.sol-all > div { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-xl); padding: 26px 26px 22px; display: grid; gap: 16px; align-content: start; }
.sol-all h3 { display: flex; align-items: center; gap: 12px; font: 700 19px/1.2 var(--display); letter-spacing: -.015em; }
.sol-all h3 .in-ic { width: 38px; height: 38px; border-radius: 10px; flex: none; }
.sol-all h3 .in-ic svg { width: 20px; height: 20px; }
.sol-all ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.sol-all li { position: relative; padding-inline-start: 22px; color: var(--ink-muted); font-size: 15px; line-height: 1.45; }
.sol-all li::before { content: ""; position: absolute; inset-inline-start: 2px; top: 6px; width: 10px; height: 6px; border-inline-start: 2px solid var(--n-accent); border-bottom: 2px solid var(--n-accent); transform: rotate(-45deg); }
[dir=rtl] .sol-all li::before { transform: rotate(45deg); }
.sol-all li b { color: var(--ink); font-weight: 600; }
@media (max-width: 1000px) { .sol-all { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .sol-all { grid-template-columns: 1fr; } }

.sol-earn-foot { margin-top: 20px; color: var(--ink-muted); font-size: 15px; }

/* launch plan: numbered steps across */
.sol-steps { list-style: none; margin: 0; padding: 0; counter-reset: st; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
.sol-steps li { counter-increment: st; position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 64px 20px 22px; display: grid; gap: 6px; align-content: start; }
.sol-steps li::before { content: counter(st); position: absolute; top: 20px; inset-inline-start: 20px; width: 32px; height: 32px; border-radius: 50%; background: var(--n-accent); color: #fff; font: 700 14px/32px var(--body); text-align: center; }
.sol-steps b { font: 700 17px/1.25 var(--display); letter-spacing: -.01em; }
.sol-steps span { color: var(--ink-muted); font-size: 14px; line-height: 1.5; }
@media (max-width: 1100px) { .sol-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 700px) { .sol-steps { grid-template-columns: 1fr; } .sol-steps li { padding: 20px 20px 20px 68px; } [dir=rtl] .sol-steps li { padding: 20px 68px 20px 20px; } }

/* where each part is switched on */
.sol-table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-xl); background: var(--surface); }
.sol-table-wrap:focus-visible { outline: none; box-shadow: var(--ring); }
.sol-table { width: 100%; border-collapse: collapse; min-width: 640px; font-size: 15px; }
.sol-table th, .sol-table td { text-align: start; padding: 14px 20px; border-bottom: 1px solid var(--line); vertical-align: top; }
.sol-table thead th { background: var(--panel); font: 600 12px/1.3 var(--body); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-faint); }
.sol-table tbody th { font-weight: 600; width: 28%; }
.sol-table td { color: var(--ink-muted); }
.sol-table tbody tr:last-child > * { border-bottom: 0; }
.sol-table tbody tr:hover > * { background: color-mix(in srgb, var(--n-soft) 45%, transparent); }

/* related product pages */
.sol-related { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.sol-related a { display: grid; gap: 6px; padding: 22px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); text-decoration: none; color: inherit; transition: border-color .2s, box-shadow .2s, transform .2s; }
.sol-related a:hover { border-color: var(--n-accent); box-shadow: var(--shadow-md); transform: translateY(-2px); }
.sol-related b { font: 700 17px/1.25 var(--display); }
.sol-related b::after { content: " →"; color: var(--n-accent); }
.sol-related span { color: var(--ink-muted); font-size: 14px; }
@media (max-width: 1000px) { .sol-related { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .sol-related { grid-template-columns: 1fr; } }

@media (max-width: 1000px) { .sol-stats { margin-top: 64px; } }
@media (prefers-reduced-motion: reduce) { .sol-related a { transition: none; } .sol-related a:hover { transform: none; } }

/* photo credits for the Creative Commons photos in the demo screenshots */
.sol-credits { margin: -64px 0 96px; color: var(--ink-faint); font-size: 13px; }
.sol-credits summary { cursor: pointer; width: max-content; }
.sol-credits summary:focus-visible { outline: none; box-shadow: var(--ring); border-radius: 6px; }
.sol-credits p { margin: 10px 0 6px; max-width: 80ch; }
.sol-credits ul { margin: 0; padding-inline-start: 18px; columns: 2 320px; column-gap: 32px; }
.sol-credits li { break-inside: avoid; margin-bottom: 4px; }
.sol-credits a { color: inherit; }
