.solutions-trigger {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 22px;
  padding: 5px 0;
  border: 0;
  border-bottom: 1px solid #9bc4bc;
  background: transparent;
  color: #d6eee7;
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}

html.solutions-modal-open,
html.solutions-modal-open body { overflow: hidden; }

.solutions-modal {
  --solutions-ink: #0f3c41;
  --solutions-muted: #52666a;
  --solutions-line: #dbe5e1;
  --solutions-paper: #fff;
  --solutions-card: #fff;
  box-sizing: border-box;
  width: min(750px, calc(100% - 40px));
  max-width: none;
  max-height: calc(100vh - 40px);
  max-height: calc(100dvh - 40px);
  margin: auto;
  padding: 0;
  overflow: auto;
  overscroll-behavior: contain;
  border: 0;
  border-radius: 24px;
  background: var(--solutions-paper);
  color: var(--solutions-ink);
  font-family: 'Montserrat', sans-serif;
  box-shadow: 0 32px 100px #001c2459;
}

.solutions-modal:not([open]) { display: none; }
.solutions-modal *, .solutions-modal *::before, .solutions-modal *::after { box-sizing: border-box; }
.solutions-modal::backdrop { background: #051f2ac9; backdrop-filter: blur(7px); }
.solutions-modal[open] { animation: solutions-enter .25s ease-out; }
.solutions-content { position: relative; padding: 40px 32px 25px; }
.solutions-heading { margin: 7px 35px 25px 0; font-size: 17px; font-weight: 700; line-height: 1.5; }

.solutions-close {
  position: absolute;
  top: 18px;
  right: 18px;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 1px solid var(--solutions-line);
  border-radius: 50%;
  background: var(--solutions-card);
  color: var(--solutions-ink);
  font: 28px/1 sans-serif;
  cursor: pointer;
}

.solutions-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.solutions-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  min-width: 0;
  padding: 20px;
  border: 1px solid var(--solutions-line);
  border-radius: 14px;
  background: var(--solutions-card);
  color: var(--solutions-ink);
  text-decoration: none;
  transition: border-color .2s, box-shadow .2s, transform .2s;
}

.solutions-card:hover { border-color: #3e9380; box-shadow: 0 6px 18px #0f3c410d; transform: translateY(-2px); }
.solutions-card:first-child { border-color: #a4d6bf; background: #f1faf5; }
.solutions-icon { display: grid; place-items: center; width: 36px; height: 36px; flex-shrink: 0; border-radius: 10px; background: #e7f3ed; color: #246651; }
.solutions-icon svg { width: 23px; height: 23px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.solutions-card-copy { display: grid; gap: 7px; }
.solutions-card strong { font-size: 14px; font-weight: 700; line-height: 1.5; }
.solutions-card-copy > span { color: var(--solutions-muted); font-size: 11px; line-height: 1.6; }
.solutions-arrow { position: absolute; top: 20px; right: 20px; color: #51736b; font-size: 20px; line-height: 1; }
.solutions-footer { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 22px; }
.solutions-footer > span { max-width: 25ch; color: var(--solutions-muted); font-size: 10px; line-height: 1.6; }
.solutions-footer button { flex-shrink: 0; padding: 10px 0; border: 0; background: transparent; color: var(--solutions-ink); font: inherit; font-size: 11px; font-weight: 700; cursor: pointer; text-decoration: underline; text-underline-offset: 4px; }
.solutions-trigger:focus-visible, .solutions-modal a:focus-visible, .solutions-modal button:focus-visible { outline: 3px solid #319d79; outline-offset: 4px; }

.dark .solutions-modal { --solutions-ink: #e0f1eb; --solutions-muted: #b1c8bf; --solutions-line: #38574e; --solutions-paper: #162f2d; --solutions-card: #1b3733; }
.dark .solutions-card:first-child { background: #23473b; border-color: #579b7e; }
.dark .solutions-icon { background: #2b5244; color: #b4e5d2; }
.dark .solutions-arrow { color: #b4e5d2; }

@media (max-width: 760px) {
  .solutions-modal { width: calc(100% - 24px); max-height: calc(100vh - 24px); max-height: calc(100dvh - 24px); border-radius: 18px; }
  .solutions-content { padding: 22px; }
  .solutions-close { top: 16px; right: 16px; }
  .solutions-heading { margin: 0 35px 16px 0; font-size: 15px; }
  .solutions-card { padding: 16px; gap: 12px; }
  .solutions-arrow { top: 16px; right: 16px; }
}

@media (max-width: 480px) {
  .solutions-grid { grid-template-columns: 1fr; gap: 9px; }
  .solutions-card { flex-direction: row; align-items: center; padding: 14px 34px 14px 14px; }
  .solutions-card-copy { gap: 3px; }
  .solutions-card strong { font-size: 12px; }
  .solutions-card-copy > span { font-size: 10px; }
  .solutions-arrow { top: 50%; right: 12px; transform: translateY(-50%); font-size: 17px; }
  .solutions-footer { gap: 12px; }
}

@keyframes solutions-enter { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
@media (prefers-reduced-motion: reduce) {
  .solutions-modal[open] { animation: none; }
  .solutions-card { transition: none; }
  .solutions-card:hover { transform: none; }
}
