/* Ameen AI DXB. One stylesheet for every page and language.
   Layout uses logical properties (inline-start/end), so dir="rtl" mirrors without overrides. */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #faf8f3;
  --surface: #ffffff;
  --tint: #f3efe6;
  --ink: #0e1818;
  --ink-muted: #4d5958;
  --ink-faint: #6f7a79;
  --divider: #e6dfcd;
  --border: #d7cfb8;
  --teal: #0e5050;
  --teal-hover: #0a3f3f;
  --teal-light: #e4ecec;
  --copper: #b4632a;
  --copper-text: #9a5222;
  --copper-light: #f5e6d5;
  --copper-on-dark: #e0975f;
  --dark: #0d1818;

  --font-display: 'Space Grotesk', system-ui, -apple-system, 'Segoe UI', Helvetica, Arial, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', Helvetica, Arial, sans-serif;
  --font-arabic: 'IBM Plex Sans Arabic', 'Noto Sans Arabic', 'Geeza Pro', 'Damascus', Tahoma, system-ui, sans-serif;

  --fs-sm: 0.875rem;
  --fs-md: 1.125rem;
  --fs-lg: 1.375rem;
  --fs-h3: 1.25rem;
  --fs-h2: clamp(1.875rem, 1.3rem + 2.2vw, 2.875rem);
  --fs-h1: clamp(2.375rem, 1.3rem + 4.2vw, 4.25rem);

  --wrap: 1180px;
  --pad: clamp(1.125rem, 4vw, 2.5rem);
  --section: clamp(4rem, 9vw, 7.5rem);
  --header-h: 68px;
  --track: -0.025em;
  --lh-head: 1.08;
  --lh-body: 1.65;
}

html[lang="ar"] {
  --font-display: var(--font-arabic);
  --font-body: var(--font-arabic);
  --track: 0;
  --lh-head: 1.3;
  --lh-body: 1.85;
}

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  background: var(--bg); color: var(--ink);
  font-family: var(--font-body); font-size: 1rem; line-height: var(--lh-body);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
h1, h2, h3 { font-family: var(--font-display); letter-spacing: var(--track); line-height: var(--lh-head); font-weight: 600; text-wrap: balance; }
html[lang="de"] :is(h1, h2, h3) { hyphens: auto; overflow-wrap: break-word; }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); line-height: 1.25; }
p, li, dd { text-wrap: pretty; }
a { color: inherit; }
ul, ol { list-style: none; }
table { border-collapse: collapse; width: 100%; }
th { font-weight: inherit; text-align: start; }
.ltr { unicode-bidi: isolate; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

:focus-visible { outline: 2px solid var(--copper); outline-offset: 3px; border-radius: 4px; }
.skip { position: absolute; inset-inline-start: 1rem; top: -4rem; z-index: 100; background: var(--teal); color: var(--bg); padding: 0.6rem 1rem; border-radius: 6px; }
.skip:focus { top: 1rem; }

.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--pad)); margin-inline: auto; padding-inline: var(--pad); }

.ico { width: 1.1em; height: 1.1em; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ico.fill { fill: currentColor; stroke: none; }
[dir="rtl"] .arrow { transform: scaleX(-1); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55rem;
  font-family: var(--font-body); font-weight: 600; font-size: 1rem; line-height: 1.2; text-decoration: none;
  padding: 0.8rem 1.25rem; border-radius: 8px; border: 1.5px solid transparent; cursor: pointer;
  transition: background-color 0.15s, color 0.15s, border-color 0.15s;
}
.btn-lg { padding: 1rem 1.5rem; font-size: 1.0625rem; }
.btn-sm { padding: 0.55rem 0.95rem; font-size: var(--fs-sm); }
.btn-primary { background: var(--teal); color: var(--bg); }
.btn-primary:hover { background: var(--teal-hover); }
.btn-outline { border-color: var(--ink); color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: var(--bg); }
.btn-light { background: var(--bg); color: var(--teal); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--bg); border-block-end: 1px solid transparent; transition: border-color 0.2s; }
.site-header.scrolled { border-block-end-color: var(--divider); }
.bar { display: flex; align-items: center; justify-content: space-between; gap: 1.25rem; min-height: var(--header-h); }
.bar-end { display: flex; align-items: center; gap: 0.75rem; }
.nav { display: flex; gap: 1.6rem; }
.nav a { font-size: 0.9375rem; font-weight: 500; color: var(--ink-muted); text-decoration: none; padding-block: 0.4rem; }
.nav a:hover { color: var(--teal); }

.logo { display: inline-flex; align-items: center; gap: 0.7rem; text-decoration: none; color: var(--ink); }
.logo-mark { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 9px; background: var(--teal); color: var(--bg); font-family: var(--font-arabic); font-weight: 700; font-size: 1.55rem; line-height: 40px; padding-block-start: 0.55rem; overflow: hidden; }
.logo-name { display: flex; flex-direction: column; gap: 0.1rem; }
.logo-row { display: flex; align-items: center; gap: 0.5rem; line-height: 1; }
.logo-latin { font-family: 'Space Grotesk', system-ui, sans-serif; font-weight: 700; font-size: 1.2rem; letter-spacing: -0.02em; }
.logo-div { width: 1px; height: 1rem; background: var(--border); }
.logo-ar { font-family: var(--font-arabic); font-weight: 700; font-size: 1.15rem; }
.logo-tag { font-family: 'Inter', system-ui, sans-serif; font-weight: 600; font-size: 0.6875rem; letter-spacing: 0.14em; color: var(--ink-muted); line-height: 1.2; }
.logo-tag span { color: var(--copper-text); }

.lang { position: relative; }
.lang summary { display: inline-flex; align-items: center; gap: 0.4rem; list-style: none; cursor: pointer; font-size: var(--fs-sm); font-weight: 500; padding: 0.5rem 0.7rem; border-radius: 8px; border: 1px solid var(--border); }
.lang summary::-webkit-details-marker { display: none; }
.lang summary:hover { border-color: var(--teal); }
.lang ul { position: absolute; inset-inline-end: 0; top: calc(100% + 6px); min-width: 11rem; background: var(--surface); border: 1px solid var(--border); border-radius: 10px; padding: 0.35rem; box-shadow: 0 10px 30px rgba(14, 24, 24, 0.12); }
.lang a { display: block; padding: 0.5rem 0.75rem; border-radius: 6px; text-decoration: none; font-size: 0.9375rem; }
.lang a:hover { background: var(--tint); }
.lang a[aria-current] { color: var(--teal); font-weight: 600; }
.lang a[lang="ar"], .drawer-langs a[lang="ar"], .f-langs a[lang="ar"] { font-family: var(--font-arabic); }

.back { display: inline-flex; align-items: center; gap: 0.4rem; font-size: var(--fs-sm); font-weight: 500; text-decoration: none; color: var(--ink-muted); }
.back:hover { color: var(--teal); }
.back .arrow { transform: scaleX(-1); }
[dir="rtl"] .back .arrow { transform: none; }

.menu-btn { display: none; width: 42px; height: 42px; border: 1px solid var(--border); border-radius: 8px; background: none; cursor: pointer; flex-direction: column; align-items: center; justify-content: center; gap: 5px; }
.menu-btn span { width: 18px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform 0.2s, opacity 0.2s; }
.menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-btn[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.drawer { display: none; }
.drawer.open { display: flex; flex-direction: column; position: fixed; inset: var(--header-h) 0 0 0; background: var(--bg); padding: 1rem var(--pad) 2rem; overflow-y: auto; }
.drawer > a:not(.btn) { padding: 0.9rem 0; font-size: 1.125rem; font-weight: 500; text-decoration: none; border-block-end: 1px solid var(--divider); }
.drawer-langs { display: flex; flex-wrap: wrap; gap: 0.5rem; padding-block: 1.25rem; }
.drawer-langs a { padding: 0.45rem 0.8rem; border: 1px solid var(--border); border-radius: 999px; font-size: var(--fs-sm); text-decoration: none; }
.drawer-langs a[aria-current] { background: var(--teal); border-color: var(--teal); color: var(--bg); }

/* Shared section pieces */
.section { padding-block: var(--section); }
.tint { background: var(--tint); }
.kicker { font-size: 0.9375rem; font-weight: 600; color: var(--copper-text); margin-block-end: 0.9rem; }
.lede { font-size: var(--fs-md); color: var(--ink-muted); max-width: 60ch; }
.sec-head { max-width: 50rem; margin-block-end: clamp(2.5rem, 5vw, 4rem); }
.sec-head h2 + .lede { margin-block-start: 1.25rem; }

/* Hero */
.hero { padding-block: clamp(2.5rem, 6vw, 5rem) clamp(3rem, 7vw, 5.5rem); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.hero-tag { display: flex; flex-wrap: wrap; gap: 0.35rem 0.9rem; font-size: var(--fs-sm); font-weight: 500; color: var(--ink-muted); margin-block-end: 1.5rem; }
.hero-tag span + span { padding-inline-start: 0.9rem; border-inline-start: 1px solid var(--border); }
.hero h1 { font-size: var(--fs-h1); font-weight: 700; }
.hero h1 span { display: block; }
.hero h1 span + span { color: var(--teal); }
.hero-sub { font-size: var(--fs-md); color: var(--ink-muted); max-width: 56ch; margin-block: 1.5rem 2rem; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.hero-meta { display: grid; grid-template-columns: repeat(4, auto); justify-content: start; gap: 1rem 2.25rem; margin-block-start: 2.75rem; padding-block-start: 1.5rem; border-block-start: 1px solid var(--divider); }
.hero-meta dt { font-size: 0.8125rem; color: var(--ink-faint); }
.hero-meta dd { font-weight: 600; font-size: 0.9375rem; }

/* The stack-audit ledger: the page's signature element */
.ledger-wrap { position: relative; }
.ledger-wrap::before { content: ""; position: absolute; inset: 14px -14px -14px 14px; background: var(--teal-light); border-radius: 6px; }
[dir="rtl"] .ledger-wrap::before { inset: 14px 14px -14px -14px; }
.ledger { position: relative; background: var(--surface); border: 1px solid var(--border); border-radius: 6px; overflow: hidden; display: block; }
.ledger caption { display: block; text-align: start; padding: 1.1rem 1.4rem; font-size: var(--fs-sm); font-weight: 600; color: var(--ink-muted); border-block-end: 1px solid var(--divider); background: var(--bg); }
.ledger tbody, .ledger tfoot { display: block; }
.ledger tr { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 0.95rem 1.4rem; }
.ledger tbody tr { border-block-end: 1px solid var(--divider); border-inline-start: 3px solid transparent; }
.ledger th { display: flex; flex-direction: column; }
.ledger td { display: flex; flex-direction: column; align-items: flex-end; text-align: end; white-space: nowrap; }
.l-name { font-weight: 600; }
.l-meta { font-size: var(--fs-sm); color: var(--ink-faint); }
.l-val { font-family: var(--font-display); font-weight: 600; font-size: 1.0625rem; font-variant-numeric: tabular-nums; }
.l-flag { font-size: 0.75rem; font-weight: 600; color: var(--copper-text); }
.ledger tr.flag { border-inline-start-color: var(--copper); background: linear-gradient(to right, var(--copper-light), var(--copper-light)) no-repeat; background-size: 100% 100%; }
.ledger tr.flag .l-val { color: var(--copper-text); }
.ledger tfoot tr { background: var(--teal); color: var(--bg); padding-block: 1.25rem; }
.ledger tfoot th { font-weight: 500; }
.ledger tfoot td { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.5rem, 1rem + 1.6vw, 2rem); letter-spacing: var(--track); }

@media (prefers-reduced-motion: no-preference) {
  .ledger tr.flag { background-size: 0% 100%; animation: sweep 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) forwards; }
  [dir="rtl"] .ledger tr.flag { background-position: right; }
  .ledger tr.flag:nth-child(2) { animation-delay: 0.5s; }
  .ledger tr.flag:nth-child(4) { animation-delay: 0.85s; }
  .ledger tr.flag:nth-child(5) { animation-delay: 1.2s; }
  .ledger tfoot td { opacity: 0; animation: rise 0.6s 1.7s ease-out forwards; }
  @keyframes sweep { to { background-size: 100% 100%; } }
  @keyframes rise { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
}

/* Differentiator strip */
.strip { border-block: 1px solid var(--divider); }
.strip-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.strip-grid li { padding: 1.5rem 1.5rem; border-inline-start: 1px solid var(--divider); display: flex; flex-direction: column; gap: 0.15rem; }
.strip-grid li:first-child { border-inline-start: 0; padding-inline-start: 0; }
.strip-grid strong { font-family: var(--font-display); font-size: 1.0625rem; font-weight: 600; }
.strip-grid span { font-size: var(--fs-sm); color: var(--ink-muted); }

/* Problem */
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(2rem, 6vw, 5rem); }
.split-head h2 { margin-block-end: 1.25rem; }
.prose p { font-size: var(--fs-md); margin-block-end: 1.15rem; max-width: 62ch; }
.prose .closer { font-family: var(--font-display); font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2.125rem); font-weight: 600; letter-spacing: var(--track); color: var(--teal); margin-block: 1.75rem 0; line-height: 1.2; }

.outcomes { margin-block-start: clamp(3rem, 6vw, 5rem); }
.outcomes-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.5rem 1rem; padding-block-end: 1rem; border-block-end: 2px solid var(--ink); }
.note { font-size: var(--fs-sm); color: var(--ink-faint); }
.outcome-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.outcome { display: flex; flex-direction: column; padding: 1.5rem 1.5rem 0.5rem; border-inline-start: 1px solid var(--divider); }
.outcome:first-child { border-inline-start: 0; padding-inline-start: 0; }
.o-label { font-size: var(--fs-sm); font-weight: 600; color: var(--copper-text); }
.o-metric { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.75rem, 1.2rem + 1.6vw, 2.5rem); letter-spacing: var(--track); line-height: 1.15; margin-block-start: 0.75rem; }
.o-sub { font-weight: 600; font-size: 0.9375rem; margin-block-end: 0.75rem; }
.o-desc { font-size: var(--fs-sm); color: var(--ink-muted); flex: 1; }
.o-time { font-size: 0.8125rem; color: var(--ink-faint); margin-block-start: 1rem; }

/* Services */
.service-list { border-block-start: 2px solid var(--ink); }
.service { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 5fr) minmax(0, 3fr); gap: 1rem clamp(1.5rem, 3vw, 3rem); padding-block: 1.75rem; border-block-end: 1px solid var(--border); align-items: start; }
.service h3 { font-size: 1.375rem; }
.service p { color: var(--ink-muted); }
.tags { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.tags li { font-size: 0.8125rem; font-weight: 500; padding: 0.2rem 0.6rem; border: 1px solid var(--border); border-radius: 999px; background: var(--bg); }
.audit { display: flex; align-items: center; justify-content: space-between; gap: 2rem; margin-block-start: 2.5rem; padding: clamp(1.75rem, 4vw, 2.75rem); background: var(--teal); color: var(--bg); border-radius: 10px; text-decoration: none; }
.audit .kicker { color: var(--copper-on-dark); }
.audit h3 { font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); margin-block-end: 0.6rem; }
.audit p:not(.kicker) { max-width: 62ch; opacity: 0.88; }
.audit .btn { flex: none; }
.audit:hover .btn { background: var(--surface); }

/* Departments */
.dept-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3rem clamp(1.5rem, 4vw, 3.5rem); }
.dept h3 { font-size: 1.5rem; padding-block-end: 0.9rem; border-block-end: 2px solid var(--teal); }
.dept li { padding-block: 0.7rem; border-block-end: 1px solid var(--divider); font-size: 0.9375rem; color: var(--ink-muted); }

/* Who we serve */
.band { background: var(--teal); color: var(--bg); }
.band .kicker { color: var(--copper-on-dark); }
.who-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.who-big { display: flex; flex-direction: column; }
.who-num { font-family: 'Space Grotesk', system-ui, sans-serif; font-weight: 700; font-size: clamp(5rem, 2rem + 11vw, 10rem); line-height: 0.9; letter-spacing: -0.05em; }
[dir="rtl"] .who-num { text-align: end; }
.who-label { font-family: var(--font-display); font-size: var(--fs-lg); font-weight: 600; margin-block-start: 1rem; }
.who-cap { font-size: var(--fs-sm); opacity: 0.75; }
.who-points { display: grid; grid-template-columns: 1fr 1fr; gap: 0 2.5rem; }
.who-points li { padding-block: 1.4rem; border-block-start: 1px solid rgba(250, 248, 243, 0.22); }
.who-points h3 { font-size: 1.125rem; margin-block-end: 0.4rem; }
.who-points p { font-size: 0.9375rem; opacity: 0.82; }
.who-aside { margin-block-start: 3rem; padding-block-start: 1.75rem; border-block-start: 1px solid rgba(250, 248, 243, 0.22); max-width: 78ch; opacity: 0.92; }

/* Approach: a real sequence, so it is numbered */
.steps { display: grid; grid-template-columns: repeat(5, 1fr); counter-reset: step; }
.step { counter-increment: step; position: relative; padding-block-start: 3.75rem; padding-inline-end: 1.5rem; }
.step::before { content: counter(step); position: absolute; inset-block-start: 0; inset-inline-start: 0; z-index: 1; width: 2.5rem; height: 2.5rem; border-radius: 50%; display: grid; place-items: center; background: var(--bg); border: 2px solid var(--teal); color: var(--teal); font-family: 'Space Grotesk', system-ui, sans-serif; font-weight: 700; }
.step:first-child::before { background: var(--teal); color: var(--bg); }
.step::after { content: ""; position: absolute; inset-block-start: 1.25rem; inset-inline: 0; height: 2px; background: var(--border); }
.step:last-child::after { display: none; }
.step h3 { margin-block-end: 0.35rem; }
.step-tag { display: inline-block; font-size: 0.8125rem; font-weight: 600; color: var(--copper-text); background: var(--copper-light); padding: 0.1rem 0.55rem; border-radius: 999px; margin-block-end: 0.5rem; }
.step p { font-size: 0.9375rem; color: var(--ink-muted); }

/* Partners */
.vendors { display: grid; grid-template-columns: repeat(5, 1fr); border-block-start: 2px solid var(--ink); margin-block-end: 2.5rem; }
.vendors li { padding: 1.25rem 1.25rem 1.25rem 0; display: flex; flex-direction: column; gap: 0.2rem; }
[dir="rtl"] .vendors li { padding: 1.25rem 0 1.25rem 1.25rem; }
.vendors strong { font-family: 'Space Grotesk', system-ui, sans-serif; font-size: 1.375rem; font-weight: 600; letter-spacing: -0.02em; }
[dir="rtl"] .vendors strong { text-align: end; }
.vendors span { font-size: var(--fs-sm); color: var(--ink-muted); }
.matrix-scroll { overflow-x: auto; background: var(--surface); border: 1px solid var(--border); border-radius: 10px; }
.matrix { min-width: 760px; font-size: 0.9375rem; }
.matrix th, .matrix td { padding: 0.9rem 1rem; border-block-end: 1px solid var(--divider); vertical-align: middle; }
.matrix td, .matrix thead th:not(:first-child) { text-align: center; }
.matrix thead th { font-family: 'Space Grotesk', system-ui, sans-serif; font-weight: 600; background: var(--bg); }
html[lang="ar"] .matrix thead th:first-child { font-family: var(--font-arabic); }
.matrix tbody th, .matrix tfoot th { position: sticky; inset-inline-start: 0; background: var(--surface); min-width: 13rem; }
.matrix thead th:first-child { position: sticky; inset-inline-start: 0; }
.m-main { display: block; font-weight: 600; }
.m-sub { display: block; font-size: 0.8125rem; color: var(--ink-faint); }
.lv { display: inline-block; min-width: 4.5rem; padding: 0.2rem 0.65rem; border-radius: 999px; font-size: 0.8125rem; font-weight: 600; }
.lv-best { background: var(--teal); color: var(--bg); }
.lv-yes { background: var(--teal-light); color: var(--teal); }
.lv-partial { background: var(--copper-light); color: var(--copper-text); }
.lv-no { color: var(--ink-faint); border: 1px dashed var(--border); }
.matrix tfoot th, .matrix tfoot td { border-block-end: 0; background: var(--bg); vertical-align: top; }
.matrix tfoot td strong { display: block; font-size: var(--fs-sm); }
.matrix tfoot td span { display: block; font-size: 0.8125rem; color: var(--ink-muted); }
.partners-foot { margin-block-start: 2rem; max-width: 80ch; color: var(--ink-muted); }
.partners-foot strong { color: var(--ink); }

/* Why us */
.pillars { display: grid; grid-template-columns: 1fr 1fr; gap: 0 clamp(2rem, 5vw, 4.5rem); }
.pillar { padding-block: 2rem; border-block-start: 2px solid var(--ink); }
.pillar h3 { font-size: 1.5rem; margin-block-end: 0.75rem; }
.pillar p { color: var(--ink-muted); max-width: 58ch; }
.proof { display: flex; align-items: center; justify-content: space-between; gap: 2rem; margin-block-start: 2rem; padding: clamp(1.5rem, 4vw, 2.5rem); background: var(--copper-light); border-inline-start: 4px solid var(--copper); border-radius: 0 10px 10px 0; }
[dir="rtl"] .proof { border-radius: 10px 0 0 10px; }
.proof h3 { font-size: 1.5rem; margin-block-end: 0.6rem; }
.proof p:not(.kicker) { max-width: 66ch; }
.proof .btn { flex: none; }

/* FAQ */
.faq-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.faq-side { position: sticky; top: calc(var(--header-h) + 2rem); }
.faq-side h2 { margin-block-end: 1.25rem; }
.direct { margin-block-start: 2rem; padding: 1.5rem; background: var(--surface); border: 1px solid var(--border); border-radius: 10px; }
.direct h3 { font-size: 1.0625rem; }
.direct p { margin-block: 0.4rem 1rem; color: var(--ink-muted); }
.direct p .ltr { font-weight: 600; color: var(--ink); }
.faq-item { border-block-end: 1px solid var(--border); }
.faq-item:first-child { border-block-start: 2px solid var(--ink); }
.faq-item summary { display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; list-style: none; cursor: pointer; padding-block: 1.35rem; font-family: var(--font-display); font-weight: 600; font-size: 1.1875rem; letter-spacing: var(--track); line-height: 1.3; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: ""; flex: none; width: 0.6rem; height: 0.6rem; border-right: 2px solid var(--teal); border-bottom: 2px solid var(--teal); transform: rotate(45deg) translate(-2px, -2px); transition: transform 0.2s; }
.faq-item[open] summary::after { transform: rotate(-135deg) translate(-2px, -2px); }
.faq-item summary:hover { color: var(--teal); }
.faq-body { padding-block-end: 1.5rem; max-width: 68ch; }
.faq-body p { color: var(--ink-muted); }
.faq-body p + p { margin-block-start: 0.9rem; }

/* Contact */
.dark { background: var(--dark); color: var(--bg); }
.dark .kicker { color: var(--copper-on-dark); }
.dark .lede { color: rgba(250, 248, 243, 0.78); margin-block-start: 1.25rem; }
.contact-grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.promise-title { font-size: 1rem; margin-block: 2.25rem 0.75rem; color: rgba(250, 248, 243, 0.7); font-family: var(--font-body); font-weight: 600; letter-spacing: 0; }
.promise li { display: flex; gap: 0.75rem; align-items: flex-start; padding-block: 0.7rem; border-block-start: 1px solid rgba(250, 248, 243, 0.16); }
.promise .ico { color: var(--copper-on-dark); margin-block-start: 0.3em; stroke-width: 2.5; }
.contact-card { background: var(--bg); color: var(--ink); border-radius: 12px; padding: clamp(1.5rem, 3vw, 2.25rem); }
.contact-card h3 { font-size: 1.5rem; margin-block-end: 1rem; }
.channel { display: flex; align-items: center; gap: 1rem; padding: 0.95rem 0; border-block-start: 1px solid var(--divider); text-decoration: none; }
.channel:hover .ch-val { color: var(--teal); }
.channel > .arrow { margin-inline-start: auto; color: var(--ink-faint); }
.ch-ico { display: grid; place-items: center; width: 2.75rem; height: 2.75rem; border-radius: 50%; background: var(--teal-light); color: var(--teal); flex: none; font-size: 1.15rem; }
.ch-text { display: flex; flex-direction: column; min-width: 0; }
.ch-label { font-size: var(--fs-sm); color: var(--ink-muted); }
.ch-val { font-weight: 600; overflow-wrap: anywhere; }
.addr { display: flex; gap: 1rem; padding-block-start: 1.25rem; border-block-start: 1px solid var(--divider); font-size: 0.9375rem; color: var(--ink-muted); }
.addr .ico { color: var(--teal); margin-block-start: 0.25em; font-size: 1.15rem; }
.addr strong { display: block; color: var(--ink); }

/* Footer */
.footer { background: var(--dark); color: rgba(250, 248, 243, 0.78); padding-block: 3.5rem 1.75rem; border-block-start: 1px solid rgba(250, 248, 243, 0.14); font-size: 0.9375rem; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 2.5rem; }
.footer .logo { color: var(--bg); }
.footer .logo-tag { color: rgba(250, 248, 243, 0.7); }
.footer .logo-tag span { color: var(--copper-on-dark); }
.footer .logo-div { background: rgba(250, 248, 243, 0.3); }
.f-brand p { margin-block: 1.25rem; max-width: 36ch; }
.f-langs { display: flex; flex-wrap: wrap; gap: 0.4rem 1rem; }
.f-langs a { text-decoration: none; }
.f-langs a[aria-current] { color: var(--bg); font-weight: 600; text-decoration: underline; text-underline-offset: 4px; }
.f-col h2 { font-family: var(--font-body); font-size: var(--fs-sm); font-weight: 600; letter-spacing: 0; color: var(--bg); margin-block-end: 1rem; }
.f-col li { margin-block-end: 0.65rem; }
.footer a { text-decoration: none; }
.footer a:hover { color: var(--bg); }
.f-col small { display: block; font-size: 0.8125rem; opacity: 0.65; }
.f-meta { margin-block-start: 1.25rem; padding-block-start: 1rem; border-block-start: 1px solid rgba(250, 248, 243, 0.14); font-size: 0.8125rem; }
.f-meta div { display: flex; justify-content: space-between; gap: 1rem; padding-block: 0.2rem; }
.f-meta dd { color: var(--bg); font-variant-numeric: tabular-nums; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.75rem 2rem; margin-block-start: 3rem; padding-block-start: 1.5rem; border-block-start: 1px solid rgba(250, 248, 243, 0.14); font-size: var(--fs-sm); }
.footer-bottom nav { display: flex; gap: 1.5rem; }
.build { opacity: 0.6; margin-inline-start: 0.35rem; }
.footer.slim { padding-block: 0 1.75rem; }
.footer.slim .footer-bottom { margin-block-start: 0; border-block-start: 0; }

.wa-fab { position: fixed; inset-block-end: 1.25rem; inset-inline-end: 1.25rem; z-index: 40; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: #1faa59; color: #fff; font-size: 1.6rem; box-shadow: 0 6px 20px rgba(14, 24, 24, 0.25); }
.wa-fab:hover { background: #17924a; }

/* Legal and 404 pages */
.legal { max-width: calc(46rem + 2 * var(--pad)); padding-block: clamp(2.5rem, 6vw, 4.5rem) var(--section); }
.legal h1 { font-size: var(--fs-h2); font-weight: 700; margin-block-end: 1.25rem; }
.legal .lead { font-size: var(--fs-md); color: var(--ink-muted); }
.legal-note { margin-block-end: 1.5rem; padding: 1rem 1.25rem; background: var(--copper-light); border-inline-start: 4px solid var(--copper); font-size: 0.9375rem; }
.legal h2 { font-size: 1.5rem; margin-block: 2.75rem 0.9rem; padding-block-start: 1.5rem; border-block-start: 1px solid var(--divider); }
.legal h3 { font-size: 1.0625rem; margin-block: 1.5rem 0.5rem; font-family: var(--font-body); letter-spacing: 0; }
.legal p { margin-block-end: 1rem; }
.legal ul { margin-block-end: 1rem; padding-inline-start: 1.25rem; list-style: disc; }
.legal li { margin-block-end: 0.5rem; padding-inline-start: 0.25rem; }
.legal li::marker { color: var(--copper); }
.legal a:not(.btn) { color: var(--teal); text-underline-offset: 3px; }
.notfound { min-height: 55vh; }
.notfound .lead { margin-block-end: 2rem; }

/* Responsive */
@media (max-width: 1080px) {
  .nav, .bar-cta { display: none; }
  .menu-btn { display: inline-flex; }
  .home .bar .lang { display: none; }
}
@media (max-width: 960px) {
  .hero-grid, .split, .who-grid, .faq-grid, .contact-grid { grid-template-columns: minmax(0, 1fr); }
  .ledger-wrap { margin-inline-end: 14px; max-width: 34rem; }
  .faq-side { position: static; }
  .service { grid-template-columns: minmax(0, 1fr); gap: 0.75rem; }
  .dept-grid { grid-template-columns: 1fr 1fr; }
  .outcome-grid { grid-template-columns: 1fr 1fr; }
  .outcome { padding: 1.5rem 0 1.5rem; border-inline-start: 0; border-block-end: 1px solid var(--divider); }
  .outcome:nth-child(odd) { padding-inline-end: 1.5rem; }
  .outcome:nth-child(even) { padding-inline-start: 1.5rem; border-inline-start: 1px solid var(--divider); }
  .strip-grid { grid-template-columns: 1fr 1fr; }
  .strip-grid li:nth-child(odd) { border-inline-start: 0; padding-inline-start: 0; }
  .strip-grid li:nth-child(n+3) { border-block-start: 1px solid var(--divider); }
  .steps { grid-template-columns: minmax(0, 1fr); }
  .step { padding-block: 0 1.75rem; padding-inline: 3.75rem 0; }
  .step::after { inset-block: 0; inset-inline: 1.2rem auto; width: 2px; height: auto; }
  .vendors { grid-template-columns: repeat(3, 1fr); }
  .audit, .proof { flex-direction: column; align-items: flex-start; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .hero-meta { grid-template-columns: 1fr 1fr; }
  .hero-tag { flex-direction: column; }
  .hero-tag span + span { padding-inline-start: 0; border-inline-start: 0; }
  .dept-grid, .who-points, .pillars, .footer-grid { grid-template-columns: minmax(0, 1fr); }
  .outcome-grid, .strip-grid { grid-template-columns: minmax(0, 1fr); }
  .outcome:nth-child(n) { padding-inline: 0; border-inline-start: 0; }
  .strip-grid li:nth-child(n) { padding-inline-start: 0; border-inline-start: 0; padding-block: 1rem; }
  .strip-grid li:nth-child(n+2) { border-block-start: 1px solid var(--divider); }
  .vendors { grid-template-columns: 1fr 1fr; }
  .hero-ctas .btn { width: 100%; }
  .ledger tr { padding-inline: 1rem; }
  .ledger caption { padding-inline: 1rem; }
  .logo-tag { display: none; }
  .back span { display: none; }
  .back { padding: 0.6rem; border: 1px solid var(--border); border-radius: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
@media print {
  .site-header, .wa-fab, .drawer { display: none; }
}
