/* Solutions only. Scene: an owner reviewing tomorrow's work in the evening;
   warm architectural light, quiet dark surfaces, and clear gold wayfinding.
   Existing Cairo / Playfair identity retained; no product-shell changes. */
body.solutions-page {
  --solution-paper: oklch(96% .015 85);
  --solution-muted: oklch(79% .018 85);
  --solution-gold: oklch(82% .12 85);
  --solution-line: oklch(78% .035 80 / .24);
  background: oklch(19% .014 75);
  color: var(--solution-paper);
}
.solutions-page main { overflow: clip; }
.solutions-page main > section { padding-block: clamp(3.5rem, 6vw, 6.5rem); }
.solutions-page main > section:first-of-type {
  position: relative;
  min-height: 720px;
  padding-block: 10rem 5rem;
  display: flex;
  justify-content: flex-start;
  background: none !important;
}
.solutions-page main > section:first-of-type > .absolute { display: none; }
.solutions-page .solution-hero-copy {
  width: min(1280px, 100%);
  max-width: 1280px;
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 4vw, 3rem);
  text-align: start;
  z-index: 2;
}
.solutions-page .solution-disclosure { padding: 1.25rem; margin: 0 auto 2rem; max-width: 1216px; border-block: 1px solid var(--solution-line); font-size: .75rem; color: var(--solution-muted); }
.solutions-page .solution-disclosure p { max-width: 100%; margin-block-end: .5rem; }
.solutions-page .solution-hero-copy > :not(.solution-hero-photo) { max-width: 58%; }
.solutions-page .solution-hero-copy h1 {
  font-size: clamp(2.6rem, 4.4vw, 4.8rem);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -.035em;
  color: var(--solution-paper);
  margin-block: 1.25rem 1.75rem;
  text-wrap: balance;
}
.solutions-page .solution-hero-copy > p {
  font-size: 1.02rem;
  line-height: 1.85;
  margin-inline: 0;
  color: var(--solution-muted);
}
.solutions-page .solution-hero-copy nav { margin-block-end: 2rem; }
.solutions-page .solution-hero-copy nav ol { justify-content: flex-start; flex-wrap: wrap; }
.solutions-page .solution-hero-copy > .flex { justify-content: flex-start; }
.solutions-page .solution-hero-copy > .inline-flex {
  padding: 0;
  border: 0;
  border-radius: 0;
  margin-block-end: .5rem;
  color: var(--solution-gold);
}
.solutions-page .solution-hero-copy > .inline-flex > .rounded-full { display: none; }
.solutions-page .solution-hero-photo {
  position: absolute;
  inset-inline-end: 0;
  inset-block: 0;
  width: 43%;
  margin: 0;
  z-index: 0;
  pointer-events: none;
}
.solutions-page .solution-hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 55% center; opacity: .72; }
.solutions-page .solution-hero-photo::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, oklch(19% .014 75), transparent 36%), linear-gradient(0deg, oklch(19% .014 75), transparent 28%);
}
html[dir="rtl"] .solutions-page .solution-hero-photo::after { background: linear-gradient(270deg, oklch(19% .014 75), transparent 36%), linear-gradient(0deg, oklch(19% .014 75), transparent 28%); }
.solutions-page .solution-hero-photo figcaption { position: absolute; inset-inline-end: 2rem; inset-block-end: 2.5rem; z-index: 1; font-size: .75rem; color: var(--solution-paper); }
.solutions-page main :where(h2) { font-size: clamp(2rem, 3.2vw, 3.25rem); line-height: 1.25; font-weight: 500; }
.solutions-page main :where(h3) { line-height: 1.5; }
.solutions-page main :where(.text-slate-400, .text-slate-500, .text-slate-600) { color: var(--solution-muted); }
.solutions-page main :where(.text-gradient-gold, .text-gradient-vision, .text-gradient-oasis) { background: none; -webkit-text-fill-color: currentColor; color: var(--solution-paper); }
.solutions-page main > section:not(:first-child):not(:last-child) > div > .text-center { text-align: start; max-width: 56rem; }
.solutions-page main > section:not(:first-child) > div > .text-center > p { margin-inline: 0; }
.solutions-page main > section:not(:first-child) > div > .text-center > span { border: 0; padding: 0; border-radius: 0; text-transform: none; }
.solutions-page main :where(a[href="/signup.html"], a[href="/login.html"].inline-flex) { background: var(--solution-gold); color: oklch(21% .02 75); border: 1px solid transparent; }
.solutions-page main a[href="/demo.html"] { background: transparent; color: var(--solution-paper); border: 1px solid var(--solution-line); }
.solutions-page main :where(a.inline-flex, button) { min-height: 44px; }
.solutions-page main a.inline-flex { border-radius: .35rem; }
.solutions-page main .group { box-shadow: none; }
.solutions-page main .group:hover { transform: none; }
.solutions-page .solution-directory { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 3rem; counter-reset: audience; }
.solutions-page .solution-directory > a {
  display: grid;
  grid-template-columns: 2.5rem 1fr;
  gap: .5rem 1rem;
  border: 0;
  border-block-start: 1px solid var(--solution-line);
  border-radius: 0;
  background: none;
  padding: 2rem 0;
  counter-increment: audience;
  transition: background-color .2s ease-out;
}
.solutions-page .solution-directory > a::before { content: counter(audience, decimal-leading-zero); color: var(--solution-gold); grid-column: 1; grid-row: 1 / span 3; font-size: .8rem; padding-top: .45rem; }
.solutions-page .solution-directory > a > .absolute, .solutions-page .solution-directory > a > div { display: none; }
.solutions-page .solution-directory > a > :where(h3, p, span) { grid-column: 2; margin: 0; }
.solutions-page .solution-directory > a h3 { font-size: 1.6rem; }
.solutions-page .solution-directory > a p { margin-block: .3rem .8rem; }
.solutions-page .solution-directory > a:hover h3 { color: var(--solution-gold); }
.solutions-page .solution-workflow { border-block: 1px solid var(--solution-line); background: oklch(23% .014 75); padding: clamp(2rem, 5vw, 4rem); margin: 0 auto; width: min(1216px, calc(100% - 2.5rem)); }
.solutions-page .solution-workflow > div { display: grid; grid-template-columns: .85fr 1.15fr; gap: 4rem; }
.solutions-page .solution-workflow h2 { max-width: 15ch; margin-bottom: 1rem; }
.solutions-page .solution-workflow ol { list-style: none; counter-reset: workflow; }
.solutions-page .solution-workflow li { counter-increment: workflow; display: grid; grid-template-columns: 2rem 1fr; column-gap: 1rem; padding-block: 1.25rem; border-block-start: 1px solid var(--solution-line); }
.solutions-page .solution-workflow li::before { content: counter(workflow, decimal-leading-zero); color: var(--solution-gold); font-size: .8rem; padding-block-start: .4rem; }
.solutions-page .solution-workflow h3 { font-size: 1.15rem; margin-block-end: .5rem; }
.solutions-page .solution-workflow li p { grid-column: 2; color: var(--solution-muted); font-size: .9rem; line-height: 1.85; }
.solutions-page .solution-workflow a { color: var(--solution-gold); display: inline-flex; margin-block-start: 1rem; min-height: 44px; align-items: center; text-decoration: underline; text-underline-offset: .3em; }
.solutions-page .solution-related { width: min(1216px, calc(100% - 2.5rem)); margin: 0 auto; padding-block: 3rem; }
.solutions-page .solution-related > div { display: flex; flex-wrap: wrap; gap: .5rem 2rem; margin-block-start: 1rem; }
.solutions-page .solution-related a { min-height: 44px; display: inline-flex; align-items: center; color: var(--solution-muted); border-bottom: 1px solid var(--solution-line); }
.solutions-page .solution-related a:hover { color: var(--solution-gold); }
.solutions-page .marketing-page-nav { border-color: var(--solution-line); }
.solutions-page main > section:last-of-type { background: oklch(25% .02 75); border-block-start: 1px solid var(--solution-line); }
.solutions-page :where(input, select, textarea) { max-width: 100%; }
.solutions-page [role="log"] { overflow-wrap: anywhere; }
.solutions-page :where([id*="chat-widget"], [id*="chat-panel"], #ai-chat-container, #ai-chat-window) { max-width: calc(100vw - 2rem); max-height: calc(100dvh - 6rem); }
html[dir="rtl"] .solutions-page .solution-hero-copy h1 { line-height: 1.5; letter-spacing: 0; font-weight: 600; }
html[dir="rtl"] .solutions-page :where(.fa-chevron-right, .fa-arrow-left) { transform: rotate(180deg); }
@media (min-width: 1700px) { .solutions-page .solution-hero-photo { width: calc((100% - 1280px) / 2 + 530px); } }
@media (max-width: 900px) {
  .solutions-page main > section:first-of-type { min-height: auto; padding-block: 8rem 3rem; }
  .solutions-page .solution-hero-copy > :not(.solution-hero-photo) { max-width: 100%; }
  .solutions-page .solution-hero-copy h1 { font-size: clamp(2.4rem, 6vw, 4rem); }
  .solutions-page .solution-hero-photo { position: relative; width: 100%; height: 260px; margin-block-start: 2rem; }
  .solutions-page .solution-hero-photo img { object-position: center 48%; }
  .solutions-page .solution-hero-photo::after { background: linear-gradient(0deg, oklch(19% .014 75 / .8), transparent 60%) !important; }
  .solutions-page .solution-hero-photo figcaption { inset-block-end: 1rem; inset-inline-end: 1rem; }
  .solutions-page .solution-workflow > div { grid-template-columns: 1fr; gap: 1.5rem; }
  .solutions-page .solution-workflow h2 { max-width: 100%; }
}
@media (max-width: 600px) {
  .solutions-page .solution-directory { grid-template-columns: 1fr; }
  .solutions-page .solution-directory > a { padding-block: 1.5rem; }
  .solutions-page .solution-hero-copy h1 { font-size: 2.5rem; }
  .solutions-page .solution-hero-copy > .flex > a { width: 100%; }
  .solutions-page .solution-hero-photo { height: 210px; }
  .solutions-page .solution-workflow { padding: 1.5rem; }
}
@media (prefers-reduced-motion: reduce) { .solutions-page *, .solutions-page *::before, .solutions-page *::after { scroll-behavior: auto !important; animation: none !important; transition: none !important; } }
