/* Shared solution-page template (.sp-*): banner hero, what it does, how it works, features, who uses it, other solutions.
   Site tokens: Gilroy, #000 / #404040 / #797979, accent #06b22d, #f8f9fa, square corners. */
.sp-head { max-width: 720px; margin: 0 auto 56px; text-align: center; }
html body.system-page main .sp-head h2 { margin: 0 0 16px; }
html body.system-page main .sp-head p { margin: 0; font-size: 18px; line-height: 26px; font-weight: 500; color: #404040; }
html body.system-page main .sp-head--light h2 { color: #fff; }

/* banner hero: black, green glows, copy left / product shot right, header transparent on top */
html body.system-page main .q-page-hero--banner.sp-hero { position: relative; isolation: isolate; overflow: hidden; min-height: 720px; display: flex; align-items: center; background: #000; padding: calc(var(--header-h) + 56px) 24px 88px !important; text-align: left; }
.sp-hero::before, .sp-hero::after { content: ""; position: absolute; z-index: -1; width: 460px; height: 460px; border-radius: 50%; background: #06b22d; filter: blur(200px); pointer-events: none; }
.sp-hero::before { left: calc(50% - 720px + 40px); bottom: -180px; }
.sp-hero::after { right: calc(50% - 720px - 40px); top: -220px; opacity: .7; }
.sp-hero-grid { max-width: 1250px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: center; width: 100%; }
.sp-hero-copy { display: flex; flex-direction: column; align-items: flex-start; gap: 24px; }
.sp-kicker { margin: 0; padding: 8px 16px; border: 1px solid rgba(255, 255, 255, .35); font-size: 14px; line-height: 17px; font-weight: 600; text-transform: uppercase; color: #fff; }
html body.system-page main .q-page-hero--banner.sp-hero h1 { margin: 0; text-align: left; color: #fff !important; font-size: 64px !important; line-height: 72px !important; letter-spacing: -1.5px !important; font-weight: 400 !important; }
html body.system-page main .q-page-hero--banner.sp-hero .sp-lead { margin: 0; max-width: 540px; text-align: left; font-size: 20px !important; line-height: 28px !important; font-weight: 500; color: #c8c8c8 !important; }
.sp-actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 8px; }
.sp-hero-shot { margin: 0; border: 1px solid rgba(255, 255, 255, .18); box-shadow: 0 40px 80px -30px rgba(6, 178, 45, .35); background: #0b0d0c; }
.sp-hero-shot img { display: block; width: 100%; height: auto; }

/* what it does */
.sp-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin: 0; padding: 0; list-style: none; }
.sp-grid > li { display: flex; flex-direction: column; gap: 12px; padding: 32px; background: #f8f9fa; }
.sp-ico { display: grid; place-items: center; width: 56px; height: 56px; margin-bottom: 20px; background: #fff; color: #06b22d; }
html body.system-page main .sp-grid h3 { margin: 0; }
html body.system-page main .sp-grid p { margin: 0; font-size: 16px; line-height: 22px; font-weight: 500; color: #404040; }

/* how it works */
html body.system-page main .sp-flow { position: relative; isolation: isolate; overflow: hidden; background: #000; }
.sp-flow::before { content: ""; position: absolute; z-index: -1; left: -120px; bottom: -220px; width: 420px; height: 420px; border-radius: 50%; background: #06b22d; filter: blur(190px); pointer-events: none; }
.sp-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin: 0; padding: 0; list-style: none; counter-reset: s; }
.sp-steps > li { padding: 32px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .16); }
html body.system-page main .sp-steps h3 { margin: 0 0 12px; color: #fff; }
html body.system-page main .sp-steps p { margin: 0; font-size: 16px; line-height: 22px; font-weight: 500; color: #c8c8c8; }

/* features: three alternating rows with a screenshot, then a card grid */
.sp-row { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; margin-bottom: 96px; }
.sp-row--flip .sp-row-copy { order: 2; }
.sp-row-copy { display: flex; flex-direction: column; gap: 20px; }
html body.system-page main .sp-features h3 { margin: 0; }
.sp-row-img { margin: 0; border: 1px solid #e5e5e5; background: #0b0d0c; }
.sp-row-img img { display: block; width: 100%; height: auto; }
.sp-list { display: flex; flex-direction: column; gap: 14px; margin: 0; padding: 0; list-style: none; }
.sp-list li { display: flex; align-items: flex-start; gap: 12px; font-size: 18px; line-height: 26px; font-weight: 500; color: #404040; }
.sp-list svg { flex: none; margin-top: 4px; color: #06b22d; }
.sp-list--tight { gap: 10px; }
.sp-list--tight li { font-size: 16px; line-height: 22px; }
.sp-more-head { margin: 0 0 32px; padding-top: 40px; border-top: 1px solid #e5e5e5; }
html body.system-page main .sp-more-head h3 { font-size: 32px !important; line-height: 38px !important; font-weight: 500 !important; }
.sp-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin: 0; padding: 0; list-style: none; }
.sp-cards > li { display: flex; flex-direction: column; gap: 16px; padding: 28px; background: #f8f9fa; }

/* who uses it */
html body.system-page main .sp-roles { position: relative; isolation: isolate; overflow: hidden; background: #000; }
.sp-roles::after { content: ""; position: absolute; z-index: -1; right: -140px; top: -220px; width: 420px; height: 420px; border-radius: 50%; background: #06b22d; opacity: .6; filter: blur(190px); pointer-events: none; }
.sp-role-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px; margin: 0; padding: 0; list-style: none; }
.sp-role-grid > li { padding: 28px; border: 1px solid rgba(255, 255, 255, .22); }
html body.system-page main .sp-role-grid h3 { margin: 0 0 12px; color: #fff; }
html body.system-page main .sp-role-grid p { margin: 0; font-size: 16px; line-height: 22px; font-weight: 500; color: #c8c8c8; }

/* other solutions */
html body.system-page main .sp-others { background: #f8f9fa; }
.sp-other-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin: 0; padding: 0; list-style: none; border-top: 1px solid #e5e5e5; }
.sp-other-list li { border-bottom: 1px solid #e5e5e5; }
.sp-other-list a { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 28px 24px 28px 0; font-size: 20px; line-height: 26px; font-weight: 500; color: #000; transition: color var(--dur-fast, 200ms) var(--ease, ease); }
.sp-other-list a:hover { color: #06b22d; }
.sp-other-list svg { flex: none; }

@media (max-width: 1100px) { .sp-grid, .sp-cards { grid-template-columns: repeat(2, 1fr); } .sp-steps { grid-template-columns: repeat(2, 1fr); } .sp-other-list { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 900px) {
  html body.system-page main .q-page-hero--banner.sp-hero { min-height: 0; padding-bottom: 64px !important; }
  .sp-hero-grid { grid-template-columns: 1fr; gap: 40px; }
  html body.system-page main .q-page-hero--banner.sp-hero h1 { font-size: 44px !important; line-height: 52px !important; letter-spacing: -1px !important; }
  .sp-row { grid-template-columns: 1fr; gap: 28px; margin-bottom: 64px; }
  .sp-row--flip .sp-row-copy { order: 0; }
  .sp-head { margin-bottom: 40px; }
  .sp-hero::before, .sp-hero::after { left: -160px; width: 320px; height: 320px; filter: blur(140px); }
  .sp-hero::after { left: auto; right: -160px; }
}
@media (max-width: 700px) {
  html body.system-page main .q-page-hero--banner.sp-hero h1 { font-size: 36px !important; line-height: 42px !important; }
  .sp-grid, .sp-cards, .sp-steps, .sp-other-list { grid-template-columns: 1fr; }
  .sp-list li { font-size: 16px; line-height: 24px; }
}
html body.system-page main .sp-hero .sp-kicker { margin: 0 !important; width: auto; }

/* icons on the light grey cards: no white box, a little larger */
.sp-ico { display: block; width: auto; height: auto; margin-bottom: 20px; background: none; }
.sp-ico svg { display: inline-block; vertical-align: top; width: 40px; height: 40px; }

.sp-steps > li { min-height: 140px; }

/* How it works: numbered steps joined by a line (replaces the card style) */
.sp-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 32px; counter-reset: s; }
.sp-steps > li { counter-increment: s; position: relative; min-height: 0; padding: 0; background: none; border: 0; }
.sp-steps > li::before { content: counter(s); position: relative; z-index: 1; display: grid; place-items: center; width: 54px; height: 54px; margin-bottom: 28px; border-radius: 50%; background: rgba(255, 255, 255, .12); color: #fff; font-size: 20px; line-height: 1; font-weight: 700; transition: background var(--dur-fast, 200ms) var(--ease, ease); }
.sp-steps > li::after { content: ""; position: absolute; top: 27px; left: 70px; right: -16px; height: 1px; background: rgba(255, 255, 255, .22); }
.sp-steps > li:last-child::after { display: none; }
.sp-steps > li:hover::before { background: #06b22d; }
html body.system-page main .sp-steps h3 { margin: 0 0 10px; font-size: 20px; line-height: 26px; font-weight: 600; color: #fff; }
html body.system-page main .sp-steps p { max-width: 260px; }
@media (max-width: 1100px) { .sp-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px 32px; } .sp-steps > li:nth-child(2)::after { display: none; } }
@media (max-width: 700px) {
  .sp-steps { grid-template-columns: 1fr; gap: 0; }
  .sp-steps > li { padding: 0 0 36px 78px; }
  .sp-steps > li:last-child { padding-bottom: 0; }
  .sp-steps > li::before { position: absolute; left: 0; top: 0; margin: 0; }
  .sp-steps > li::after, .sp-steps > li:nth-child(2)::after { display: block; top: 54px; bottom: 0; left: 26px; right: auto; width: 1px; height: auto; }
  .sp-steps > li:last-child::after { display: none; }
  html body.system-page main .sp-steps p { max-width: none; }
}

/* Who uses it: heading on the left, a ruled list of roles on the right (replaces the outlined cards) */
.sp-roles .ind-d-container { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.4fr); gap: 80px; align-items: start; }
.sp-roles .sp-head { position: sticky; top: 140px; max-width: none; margin: 0; text-align: left; }
.sp-role-grid { display: flex; flex-direction: column; gap: 0; border-bottom: 1px solid rgba(255, 255, 255, .2); }
.sp-role-grid > li { position: relative; display: grid; grid-template-columns: 56px minmax(0, 1fr); column-gap: 24px; align-items: start; padding: 32px 0; border: 0; border-top: 1px solid rgba(255, 255, 255, .2); transition: padding-left var(--dur-base, 300ms) var(--ease, ease); }
.sp-role-grid > li::before { content: ""; grid-row: 1 / span 2; width: 48px; height: 48px; background: #06b22d; -webkit-mask: var(--ic) center / contain no-repeat; mask: var(--ic) center / contain no-repeat; }
.sp-role-grid > li:hover { padding-left: 12px; }
html body.system-page main .sp-role-grid h3 { margin: 0 0 8px; font-size: 26px; line-height: 32px; font-weight: 500; }
html body.system-page main .sp-role-grid p { max-width: 520px; }
.sp-role-grid > li:nth-child(6n+1) { --ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M24 6l15 6v10c0 10-6.4 17-15 20-8.6-3-15-10-15-20V12l15-6z'/%3E%3Cpath d='M17 24l5 5 9-10'/%3E%3C/svg%3E"); }
.sp-role-grid > li:nth-child(6n+2) { --ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='10' y='8' width='20' height='32'/%3E%3Cpath d='M30 20h8v20H30M16 15h2M22 15h2M16 22h2M22 22h2M16 29h2M22 29h2M20 40v-6'/%3E%3C/svg%3E"); }
.sp-role-grid > li:nth-child(6n+3) { --ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='24' cy='15' r='6'/%3E%3Cpath d='M12 40c0-7 5-12 12-12s12 5 12 12M6 36h4M38 36h4'/%3E%3C/svg%3E"); }
.sp-role-grid > li:nth-child(6n+4) { --ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='24' cy='17' r='7'/%3E%3Cpath d='M10 41c0-8 6-13 14-13s14 5 14 13'/%3E%3C/svg%3E"); }
.sp-role-grid > li:nth-child(6n+5) { --ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='17' cy='18' r='6'/%3E%3Ccircle cx='33' cy='20' r='5'/%3E%3Cpath d='M6 40c0-7 5-12 11-12s11 5 11 12M30 30c6 0 11 4 12 10'/%3E%3C/svg%3E"); }
.sp-role-grid > li:nth-child(6n) { --ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='8' y='10' width='32' height='22'/%3E%3Cpath d='M16 40h16M24 32v8'/%3E%3C/svg%3E"); }
@media (max-width: 1000px) { .sp-roles .ind-d-container { grid-template-columns: 1fr; gap: 40px; } .sp-roles .sp-head { position: static; } }
@media (max-width: 700px) { .sp-role-grid > li { grid-template-columns: 44px minmax(0, 1fr); column-gap: 16px; padding: 24px 0; } .sp-role-grid > li::before { width: 40px; height: 40px; } html body.system-page main .sp-role-grid h3 { font-size: 22px; line-height: 28px; } .sp-role-grid > li:hover { padding-left: 0; } }
html body.system-page main .sp-roles { overflow: clip; } /* keeps the glow clipped without turning the section into a scroll container, so the heading can stick */
html body.system-page main .sp-roles .sp-head p { margin: 16px 0 0; max-width: 420px; font-size: 18px; line-height: 28px; font-weight: 500; color: #c8c8c8; }
@media (max-width: 1000px) { html body.system-page main .sp-roles .sp-head p { max-width: 560px; } }
