/* Site-wide refresh: solid surfaces, stronger contrast, two-column structure.
   Loaded after styles.css, futuristic.css, depth.css and showcase.css; before rtl.css on Arabic pages. */

:root {
  /* futuristic.css redefines --ink as slate navy; restore the brand charcoal */
  --ink: #171415;
  --ink-2: #2E2A2A;
  --stone: #F4EFEC;
  --card-rule: #E6DEDB;
  --text: #34373B;
  --text-soft: #50545A;
}

/* ---------- surfaces: drop the washed glass background ---------- */
body { background: #fff; background-image: none; color: var(--text); }
#main > section { background: #fff; }
#main > section.section--mist,
#main > section.section--paper,
#main > section:nth-of-type(even):not(.section--ink):not(.tour-band):not(.section--tight) { background: var(--stone); }
#main > section.section--ink, #main > section.tour-band { background: var(--ink); }
#main > section.section--tight:first-child { background: linear-gradient(180deg, #FBF3F2 0%, #fff 100%); }

/* ---------- type: darker, larger, calmer labels ---------- */
#main p, #main li { color: var(--text); }
.lede { color: var(--text-soft); font-size: clamp(1.08rem, 1.4vw, 1.2rem); line-height: 1.6; }
#main .tour-band p, #main .tour-band li { color: #C9C4C4; }
.eyebrow { font-family: var(--body); font-size: .92rem; font-weight: 600; letter-spacing: 0; text-transform: none;
  color: var(--crimson); display: inline-flex; align-items: center; gap: 10px; }
.eyebrow::before { content: ""; width: 22px; height: 2px; background: currentColor; flex: none; }
.section--ink .eyebrow, .tour-band .eyebrow { color: #F08A90; }
.badges li { font-family: var(--body); font-size: .84rem; letter-spacing: 0; text-transform: none; font-weight: 600;
  color: var(--ink); background: #fff; border: 1px solid var(--card-rule); padding: 6px 12px; }
.crumb { font-family: var(--body); letter-spacing: 0; text-transform: none; font-size: .88rem; }

/* ---------- section heads: heading left, intro right ---------- */
@media (min-width: 960px) {
  .section__head:has(> .lede) { max-width: none; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    column-gap: clamp(40px, 6vw, 96px); align-items: end; }
  .section__head:has(> .lede) > .eyebrow, .section__head:has(> .lede) > h2 { grid-column: 1; }
  .section__head:has(> .lede) > .lede { grid-column: 2; grid-row: 1 / span 2; align-self: end; margin: 0 0 6px; }
}
.section__head h2, .section h2 { color: var(--ink); }
#main .section--ink h2, #main .section--ink h3, #main .section--ink h4, #main .section--ink .section__head h2 { color: #fff; }
#main .section--ink p, #main .section--ink li { color: #C9C4C4; }
#main .section--ink .compliance h4 { color: #fff; }
#main .section--ink .compliance li { color: #BDB7B7; }


/* ---------- cards: solid, ruled, no floating glass ---------- */
.card, .pillar, .caps__item, .step, .mod, .stats div, .compliance > div {
  background: #fff; backdrop-filter: none; -webkit-backdrop-filter: none;
  border: 1px solid var(--card-rule); box-shadow: 0 1px 2px rgba(23,20,21,.04); border-radius: 16px; }
.card:hover, .pillar:hover, .caps__item:hover, .step:hover, .mod:hover, .compliance > div:hover {
  transform: none; background: #fff; box-shadow: 0 12px 28px -16px rgba(23,20,21,.22); border-color: #D8CDCA; }
.caps__item { border-top: 3px solid var(--crimson); padding: 26px 28px; }
.caps__item h4, .mod h4, .card h3, .pillar h3, .pillar h4 { color: var(--ink); font-size: 1.08rem; }
.caps__item p, .mod p, .card p, .pillar p { color: var(--text-soft); font-size: .98rem; line-height: 1.55; }
.mods { gap: 14px; background: transparent; border: 0; box-shadow: none; overflow: visible; }
.mod__ico { color: var(--crimson); font-weight: 700; }
.section--ink .pillar, .section--ink .card { background: #221E1F; border-color: #34302F; }
.section--ink .pillar h3, .section--ink .pillar h4 { color: #fff; }
.section--ink .pillar p, .section--ink .pillar li { color: #BDB7B7; }

/* country comparison: the Oman column leads */
.compliance > div { padding: 26px 24px; }
.compliance h4 { color: var(--ink); }
.compliance li { color: var(--text-soft); }

.section--ink .compliance > div { background: #221E1F; border-color: #34302F; }

/* ---------- FAQ: sticky heading left, question cards right ---------- */
@media (min-width: 960px) {
  .wrap:has(> .faq) { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); column-gap: clamp(40px, 6vw, 96px); align-items: start; }
  .wrap:has(> .faq) > .section__head { display: block; grid-column: 1; grid-row: 1 / span 3; position: sticky; top: 110px; margin: 0; }
  .wrap:has(> .faq) > .faq, .wrap:has(> .faq) > p { grid-column: 2; }
}
.faq { border-top: 0; display: grid; gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--card-rule); border-radius: 14px; padding: 0 24px; transition: border-color .15s, box-shadow .15s; }
.faq details[open] { border-color: var(--crimson); box-shadow: 0 14px 30px -20px rgba(181,50,58,.45); }
.faq summary { padding: 20px 44px 20px 0; font-size: 1.06rem; line-height: 1.4; }
html[dir="rtl"] .faq summary { padding: 20px 0 20px 44px; }
html[dir="rtl"] .faq summary::after { right: auto; left: 6px; }
.faq summary::after { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%;
  background: #FBECEE; font-size: 1.2rem; top: 50%; transform: translateY(-50%); }
.faq details > div, .faq details > p { padding-bottom: 20px; }
.faq details p { color: var(--text-soft); line-height: 1.65; }

/* ---------- tables ---------- */
.tbl-wrap { background: #fff; border-color: var(--card-rule); }
.tbl td { color: var(--text); }

/* ---------- call to action: brand colour, not black ---------- */
.cta { background: linear-gradient(115deg, #C8323F 0%, #8E2730 55%, #4F2527 100%); box-shadow: 0 30px 60px -30px rgba(142,39,48,.6); }
.cta p { color: rgba(255,255,255,.88); }

/* ---------- stats strip ---------- */
.stats dt { color: var(--crimson); }

@media (prefers-reduced-motion: reduce) { .faq details { transition: none; } }

/* text on the crimson call-to-action and announcement bands */
#main .cta p, #main .cta li, #main .cta .lede { color: rgba(255,255,255,.9); }
#main .cta h2, #main .cta h3 { color: #fff; }
#main .cta .eyebrow { color: #FFD9DC; }
/* footer column headings */
.site-foot h4 { color: #fff; }
.site-foot p, .site-foot li { color: #A9A3A3; }
/* buttons on the crimson band: white primary, outlined secondary */
#main .cta .btn--light, #main .cta .btn--primary { background: #fff; color: var(--crimson); border-color: #fff; box-shadow: none; }
#main .cta .btn--outline-light { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.7); }
#main .cta .btn--outline-light:hover { background: rgba(255,255,255,.12); }
/* futuristic.css forces this button crimson with !important; restore white on the crimson band */
#main .cta .btn--light, #main .cta .btn--light:hover, #main .cta .btn--primary, #main .cta .btn--primary:hover {
  background: #fff !important; background-image: none !important; color: var(--crimson) !important; }
#main .cta a:not(.btn) { color: #fff; text-decoration: underline; text-underline-offset: 3px; }

/* screenshots: clean rounded image, no fake window bar */
.pshot__bar { display: none; }
.pshot { border-radius: 14px; border: 1px solid var(--card-rule); box-shadow: 0 30px 60px -28px rgba(23,20,21,.35); }
.tour__panel .pshot { border: 1px solid #3A3536; box-shadow: 0 30px 70px -30px rgba(0,0,0,.7); }
.pshot img { aspect-ratio: 1440 / 626; object-fit: cover; object-position: top left; }

/* industry chips: wrap instead of a horizontal scrollbar */
.solnav { flex-wrap: wrap; overflow: visible; padding-bottom: 0; gap: 10px; }
.solnav a { background: #fff; border: 1px solid var(--card-rule); color: var(--ink); font-weight: 600; }
.solnav a:hover, .solnav a[aria-current="page"] { border-color: var(--crimson); color: var(--crimson); background: #FBECEE; }
/* any remaining horizontal chip rows (tour on phones) scroll without a visible bar */
.tour__list { scrollbar-width: none; }
.tour__list::-webkit-scrollbar { display: none; }

/* ---------- country comparison (dark band) ---------- */
#main .section--ink::after { display: none; }
#main .section--ink { background: var(--ink); }
.compliance { align-items: start; }
.compliance > div { padding: 28px 26px; }
#main .section--ink .compliance > div { background: #221E1F; border: 1px solid #36302F; border-radius: 16px; }
#main .compliance li { color: #D6D0D0 !important; font-size: .96rem; line-height: 1.5; padding-left: 22px; }
#main .compliance li::before { color: #F07A82; }
#main .compliance h4 { font-size: 1.15rem; margin-bottom: 16px; }
#main .compliance a { color: #fff; font-weight: 600; text-decoration: underline; text-underline-offset: 4px; }
/* the Oman column leads */
#main .compliance > div.is-featured, #main .section--ink .compliance > div.is-featured {
  background: linear-gradient(160deg, #CF3743 0%, #8E2730 100%); border-color: transparent;
  box-shadow: 0 24px 50px -24px rgba(207,55,67,.6); }
#main .compliance > div.is-featured h4, #main .compliance > div.is-featured li, #main .compliance > div.is-featured a { color: #fff !important; }
#main .compliance > div.is-featured li::before { color: #fff; }
/* light-section variant */
#main section:not(.section--ink) .compliance > div:not(.is-featured) { background: #fff; }
#main section:not(.section--ink) .compliance > div:not(.is-featured) li { color: var(--text-soft) !important; }
#main section:not(.section--ink) .compliance > div:not(.is-featured) h4 { color: var(--ink); }

/* text inside dark bands (futuristic.css forces grey with !important) */
#main .section--ink .lede, #main .section--ink p { color: #BDB7B7 !important; }
#main .section--ink .eyebrow { color: #F08A90 !important; }

/* timeline steps: keep the description in the content column (it was wrapping into the 78px label column) */
.step > .step__week { grid-row: 1 / span 2; font-family: var(--body); font-weight: 700; font-size: .9rem; letter-spacing: 0; }
.step > h4, .step > p { grid-column: 2; }
@media (max-width: 640px) { .step > .step__week { grid-row: auto; } .step > h4, .step > p { grid-column: 1; } }

/* brand gradients only: no violet */
h1 em { background: linear-gradient(135deg, #D2353E 0%, #7A2229 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.stats dt { background: none; -webkit-text-fill-color: var(--crimson); color: var(--crimson); }

/* dark demo panels in brand charcoal (futuristic.css used navy) */
.console, .india-command, .oman-command { background: linear-gradient(145deg, #2A2526 0%, #1C1819 60%, #141112 100%) !important; }

/* AI page SFDA panel: charcoal, readable text (#main p/li above was overriding it) */
#main .ai-sfda { background: linear-gradient(150deg, #2A2526 0%, #1C1819 60%, #3A1A1D 100%); box-shadow: 0 26px 56px -30px rgba(23,20,21,.7); }
#main .ai-sfda p { color: #CFC9C9; }
#main .ai-sfda li, #main .ai-sfda .ai-check li { color: #E6E1E1; }
#main .ai-sfda h3 { color: #fff; }
#main .ai-sfda .card__tag { font-family: var(--body); letter-spacing: 0; text-transform: none; font-weight: 600; }
