/* Deep Breath — Solutions (fact-dense, citable)
   Extends styles.css. Same rhythm as publications-page.css. */

.page-solutions {
  background: var(--bg);
  color: var(--text);
}

.page-solutions .nav a[aria-current="page"] {
  color: #fff;
}

.sol-inner {
  width: min(1120px, 100%);
  margin: 0 auto;
}

.sol-narrow {
  width: min(760px, 100%);
}

/* ---------- Hero ---------- */
.sol-hero {
  position: relative;
  padding:
    calc(var(--header-h) + 3.25rem)
    clamp(1.25rem, 4vw, 2.75rem)
    clamp(2.75rem, 6vh, 4rem);
  overflow: hidden;
}

.sol-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 50% 45% at 72% 28%, rgba(86, 204, 242, 0.1) 0%, transparent 55%),
    radial-gradient(ellipse 40% 40% at 18% 82%, rgba(242, 86, 236, 0.07) 0%, transparent 50%);
  pointer-events: none;
}

.sol-hero-inner {
  position: relative;
  z-index: 1;
}

.sol-hero-layout {
  display: grid;
  gap: 1.75rem 2.5rem;
}

@media (min-width: 900px) {
  .sol-hero-layout {
    grid-template-columns: minmax(0, 1fr) 15.5rem;
    align-items: start;
  }
}

.sol-aside {
  font-size: 0.75rem;
  line-height: 1.5;
  color: #9ca3af;
  padding: 0.95rem 1rem;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
}

.sol-aside p {
  margin: 0 0 0.65rem;
}

.sol-aside p:last-child {
  margin-bottom: 0;
}

.sol-aside strong {
  color: #d1d5db;
  font-weight: 650;
}

.sol-kicker {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cyan);
  margin: 0 0 1rem;
}

.sol-hero h1 {
  font-size: clamp(2.15rem, 5vw, 3.4rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.05;
  margin: 0 0 1.15rem;
  max-width: 18ch;
}

.sol-hero h1 .grad {
  background: linear-gradient(100deg, var(--cyan) 0%, #9b7cff 48%, var(--magenta) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.sol-lead {
  font-size: clamp(1rem, 1.4vw, 1.14rem);
  line-height: 1.65;
  color: var(--text-muted);
  max-width: 44rem;
  margin: 0 0 1.25rem;
}

.sol-lead a {
  color: var(--cyan);
  font-weight: 600;
  text-decoration: none;
}

.sol-lead a:hover {
  text-decoration: underline;
}

.sol-quote {
  max-width: 46rem;
  padding: 1.1rem 1.25rem;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
}

.sol-quote p {
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.6;
  color: #e5e7eb;
}

.sol-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.5rem;
}

.sol-crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.55rem;
  font-size: 0.82rem;
  color: #9ca3af;
  margin: 0 0 1.1rem;
}

.sol-crumbs a {
  color: var(--cyan);
  text-decoration: none;
}

.sol-crumbs a:hover {
  text-decoration: underline;
}

/* ---------- Sections ---------- */
.sol-section {
  padding: clamp(3rem, 6vh, 4.5rem) clamp(1.25rem, 4vw, 2.75rem);
}

.sol-section--light {
  background: #f4f7fb;
  color: #0f172a;
}

.sol-section--dark {
  background: #000;
  color: #fff;
}

.sol-section--muted {
  background: #eef2f7;
  color: #0f172a;
}

.sol-section .sol-kicker {
  color: #2f80ed;
}

.sol-section--dark .sol-kicker {
  color: var(--cyan);
}

.sol-section h2 {
  font-size: clamp(1.55rem, 3vw, 2.25rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin: 0 0 0.75rem;
}

.sol-intro {
  font-size: 1.02rem;
  line-height: 1.65;
  color: #64748b;
  max-width: 44rem;
  margin: 0 0 1.75rem;
}

.sol-section--dark .sol-intro {
  color: var(--text-muted);
}

.sol-body {
  font-size: 1rem;
  line-height: 1.65;
  color: #334155;
  max-width: 46rem;
  margin: 0 0 1rem;
}

.sol-section--dark .sol-body {
  color: #d1d5db;
}

/* ---------- Hub cards ---------- */
.sol-cards {
  display: grid;
  gap: 1rem;
}

@media (min-width: 800px) {
  .sol-cards--2 {
    grid-template-columns: 1fr 1fr;
  }
}

.sol-compare-list {
  display: grid;
  gap: 1rem;
}

.sol-compare-item {
  padding: 1.25rem 1.3rem 1.2rem;
  border-radius: 16px;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.08);
}

.sol-section--dark .sol-compare-item {
  background: #0a0a0a;
  border-color: rgba(255, 255, 255, 0.1);
}

.sol-compare-item h3 {
  margin: 0.45rem 0 0.65rem;
  font-size: 1.2rem;
  letter-spacing: -0.025em;
}

.sol-compare-item .sol-body {
  max-width: none;
}

.sol-compare-item .sol-note {
  margin-top: 0.85rem;
}

.sol-card {
  display: grid;
  align-content: start;
  gap: 0.7rem;
  padding: 1.35rem 1.4rem 1.25rem;
  border-radius: 18px;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.04);
  text-decoration: none;
  color: inherit;
}

a.sol-card {
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

a.sol-card:hover {
  border-color: rgba(47, 128, 237, 0.35);
  transform: translateY(-2px);
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.08);
}

.sol-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  margin: 0;
}

.sol-card p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.55;
  color: #475569;
}

.sol-card-link {
  font-size: 0.9rem;
  font-weight: 600;
  color: #2f80ed;
}

.sol-note {
  margin: 0;
  padding: 0.85rem 1rem;
  border-radius: 12px;
  background: #f1f5f9;
  font-size: 0.92rem;
  line-height: 1.55;
  color: #334155;
}

.sol-section--dark .sol-note {
  background: rgba(255, 255, 255, 0.05);
  color: #d1d5db;
}

/* ---------- Split lists ---------- */
.sol-split {
  display: grid;
  gap: 1rem;
}

@media (min-width: 800px) {
  .sol-split {
    grid-template-columns: 1fr 1fr;
  }
}

.sol-panel {
  padding: 1.2rem 1.25rem;
  border-radius: 16px;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.08);
}

.sol-section--dark .sol-panel {
  background: #0a0a0a;
  border-color: rgba(255, 255, 255, 0.1);
}

.sol-panel h3 {
  margin: 0 0 0.65rem;
  font-size: 1.02rem;
}

.sol-panel ul,
.sol-steps {
  margin: 0;
  padding-left: 1.15rem;
  font-size: 0.95rem;
  line-height: 1.55;
  color: #334155;
}

.sol-section--dark .sol-panel ul {
  color: #d1d5db;
}

.sol-steps {
  list-style: decimal;
}

.sol-steps li + li {
  margin-top: 0.55rem;
}

/* ---------- Tables ---------- */
.sol-table-wrap {
  overflow-x: auto;
  border-radius: 16px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: #fff;
}

.sol-section--dark .sol-table-wrap {
  border-color: rgba(255, 255, 255, 0.1);
  background: #0a0a0a;
}

.sol-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
}

.sol-table th,
.sol-table td {
  text-align: left;
  vertical-align: top;
  padding: 0.85rem 1rem;
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}

.sol-table th {
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #64748b;
  font-weight: 700;
  background: #f8fafc;
}

.sol-table tr:last-child td {
  border-bottom: 0;
}

.sol-table a {
  color: #2f80ed;
  font-weight: 600;
  text-decoration: none;
}

.sol-table a:hover {
  text-decoration: underline;
}

.sol-section--dark .sol-table th {
  background: #111;
  color: #9ca3af;
}

.sol-section--dark .sol-table td {
  border-bottom-color: rgba(255, 255, 255, 0.06);
}

.sol-chip {
  display: inline-flex;
  align-items: center;
  padding: 0.14rem 0.5rem;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #2f80ed;
  background: rgba(47, 128, 237, 0.12);
}

.sol-chip--warn {
  color: #b45309;
  background: rgba(245, 158, 11, 0.16);
}

.sol-chip--ok {
  color: #047857;
  background: rgba(16, 185, 129, 0.14);
}

/* ---------- FAQ ---------- */
.sol-faq {
  display: grid;
  gap: 0.65rem;
}

.sol-faq details {
  border-radius: 14px;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  padding: 0.85rem 1.05rem;
}

.sol-section--dark .sol-faq details {
  background: #0a0a0a;
  border-color: rgba(255, 255, 255, 0.1);
}

.sol-faq summary {
  cursor: pointer;
  font-weight: 650;
  font-size: 0.98rem;
  list-style: none;
}

.sol-faq summary::-webkit-details-marker {
  display: none;
}

.sol-faq details p {
  margin: 0.7rem 0 0.15rem;
  font-size: 0.95rem;
  line-height: 1.6;
  color: #475569;
}

.sol-section--dark .sol-faq details p {
  color: #d1d5db;
}

/* ---------- Disclaimer ---------- */
.sol-disclaimer {
  font-size: 0.88rem;
  line-height: 1.55;
  color: #64748b;
  max-width: 48rem;
  margin: 1.25rem 0 0;
}

.sol-section--dark .sol-disclaimer {
  color: #9ca3af;
}

@media (max-width: 640px) {
  .sol-hero h1 {
    max-width: none;
  }
}
