/* SHWIR Public Website — single stylesheet. Logical properties throughout so RTL (ar) and LTR (en) share one layout. */

@font-face { font-family: 'Plex Arabic'; src: url('/assets/fonts/plex-arabic-arabic-400.woff2') format('woff2'); font-weight: 400; font-display: swap; unicode-range: U+0600-06FF, U+0750-077F, U+0870-08FF, U+FB50-FDFF, U+FE70-FEFF, U+200C-200F; }
@font-face { font-family: 'Plex Arabic'; src: url('/assets/fonts/plex-arabic-arabic-500.woff2') format('woff2'); font-weight: 500; font-display: swap; unicode-range: U+0600-06FF, U+0750-077F, U+0870-08FF, U+FB50-FDFF, U+FE70-FEFF, U+200C-200F; }
@font-face { font-family: 'Plex Arabic'; src: url('/assets/fonts/plex-arabic-arabic-600.woff2') format('woff2'); font-weight: 600; font-display: swap; unicode-range: U+0600-06FF, U+0750-077F, U+0870-08FF, U+FB50-FDFF, U+FE70-FEFF, U+200C-200F; }
@font-face { font-family: 'Plex Arabic'; src: url('/assets/fonts/plex-arabic-arabic-700.woff2') format('woff2'); font-weight: 700; font-display: swap; unicode-range: U+0600-06FF, U+0750-077F, U+0870-08FF, U+FB50-FDFF, U+FE70-FEFF, U+200C-200F; }
@font-face { font-family: 'Plex'; src: url('/assets/fonts/plex-latin-400.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Plex'; src: url('/assets/fonts/plex-latin-500.woff2') format('woff2'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'Plex'; src: url('/assets/fonts/plex-latin-600.woff2') format('woff2'); font-weight: 600; font-display: swap; }
@font-face { font-family: 'Plex'; src: url('/assets/fonts/plex-latin-700.woff2') format('woff2'); font-weight: 700; font-display: swap; }

:root {
  /* Brand (from the approved SHWIR mark: deep navy, electric blue, gold) */
  --navy-950: #061024;
  --navy-900: #0b1d3a;
  --navy-800: #11285c;
  --navy-700: #1a3672;
  --blue-600: #1e6bff;
  --blue-500: #3d82ff;
  --blue-50: #eef4ff;
  --gold-300: #ffd977;
  --gold-400: #f7c946;
  --gold-500: #e3b23a;
  --gold-700: #8f6a12;
  --bronze: #b06f3c;
  --bronze-soft: #f6ebe2;
  --silver: #8a96a8;
  --silver-soft: #eef1f5;
  --ink-900: #0e1a2f;
  --ink-700: #34425a;
  --ink-500: #56637a;
  --line: #e3e8f0;
  --surface: #ffffff;
  --tint: #f5f7fb;
  --radius-lg: 22px;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow-sm: 0 1px 2px rgba(11, 29, 58, 0.06);
  --shadow: 0 1px 2px rgba(11, 29, 58, 0.05), 0 12px 32px -12px rgba(11, 29, 58, 0.18);
  --focus: 0 0 0 3px #fff, 0 0 0 5px var(--blue-600);
  --font: 'Plex', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --gutter: 16px;
  --max: 1160px;
}
html[lang='ar'] { --font: 'Plex Arabic', 'Plex', 'Segoe UI', Tahoma, sans-serif; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); font-size: 1rem; line-height: 1.7; color: var(--ink-900); background: var(--surface); overflow-x: hidden; }
html[lang='ar'] body { line-height: 1.85; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue-600); text-underline-offset: 3px; }
h1, h2, h3, h4 { line-height: 1.25; margin: 0 0 0.5em; letter-spacing: -0.01em; }
html[lang='ar'] h1, html[lang='ar'] h2, html[lang='ar'] h3 { letter-spacing: 0; line-height: 1.4; }
h1 { font-size: clamp(2rem, 5.2vw, 3.4rem); font-weight: 700; }
h2 { font-size: clamp(1.5rem, 3.4vw, 2.25rem); font-weight: 700; }
h3 { font-size: 1.15rem; font-weight: 600; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: none; box-shadow: var(--focus); border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.container { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.narrow { max-width: 820px; }
.center { text-align: center; }
.muted { color: var(--ink-500); }
.lead { font-size: 1.12rem; color: var(--ink-500); max-width: 62ch; }

.skip-link { position: absolute; inset-inline-start: 12px; top: -60px; z-index: 100; background: var(--navy-900); color: #fff; padding: 10px 16px; border-radius: var(--radius-sm); }
.skip-link:focus { top: 12px; }
main:focus { outline: none; }

/* ── buttons ── */
.btn { --bg: var(--blue-600); --fg: #fff; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 10px 22px; border-radius: 999px; border: 1.5px solid transparent; background: var(--bg); color: var(--fg); font: inherit; font-weight: 600; font-size: 0.98rem; text-decoration: none; cursor: pointer; transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease; }
.btn:hover:not(:disabled) { transform: translateY(-1px); box-shadow: 0 8px 22px -10px rgba(11, 29, 58, 0.5); }
.btn--primary { --bg: #1757d6; }
.btn--primary:hover { --bg: #1449b5; }
.btn--gold { --bg: linear-gradient(135deg, var(--gold-300), var(--gold-400) 45%, var(--gold-500)); --fg: var(--navy-950); background: var(--bg); }
.btn--ghost { --bg: transparent; --fg: var(--navy-900); border-color: var(--line); background: transparent; }
.btn--ghost-light { --bg: rgba(255, 255, 255, 0.06); --fg: #fff; border-color: rgba(255, 255, 255, 0.28); }
.btn--small { min-height: 40px; padding: 6px 14px; font-size: 0.88rem; }
.btn.is-soon { cursor: not-allowed; opacity: 1; }
.icon--soon { width: 16px; height: 16px; opacity: 0.8; }
.btn.is-soon.btn--ghost { color: var(--ink-500); background: var(--tint); }
.btn.is-soon.btn--ghost-light { color: rgba(255, 255, 255, 0.72); }
.soon-badge { font-size: 0.72rem; font-weight: 600; padding: 2px 9px; border-radius: 999px; background: var(--gold-400); color: var(--navy-950); letter-spacing: 0.01em; }
.icon { flex: none; }
.icon--btn { width: 18px; height: 18px; }
html[dir='rtl'] .icon--btn { transform: scaleX(-1); }
.text-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; text-decoration: none; color: #1757d6; }

/* ── header ── */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, 0.92); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; gap: 16px; min-height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--navy-900); margin-inline-end: auto; }
.brand__mark { width: 40px; height: 46px; border-radius: 10px; object-fit: cover; box-shadow: var(--shadow-sm); }
.brand__name { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1.05rem; }
.brand__name [lang='en'] { font-family: 'Plex', sans-serif; letter-spacing: 0.14em; }
.brand__name [lang='ar'] { font-family: 'Plex Arabic', sans-serif; }
.brand__sep { width: 1px; height: 18px; background: var(--line); }
.menu-toggle { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; background: #fff; font: inherit; font-weight: 600; color: var(--navy-900); cursor: pointer; }
.menu-toggle__bars, .menu-toggle__bars::before, .menu-toggle__bars::after { display: block; width: 18px; height: 2px; background: currentColor; border-radius: 2px; position: relative; content: ''; }
.menu-toggle__bars::before { position: absolute; top: -6px; }
.menu-toggle__bars::after { position: absolute; top: 6px; }
.site-nav { display: none; }
.site-nav.is-open { display: block; position: absolute; inset-inline: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); padding: 12px var(--gutter) 20px; }
.nav-list a { display: block; padding: 12px 6px; color: var(--ink-700); text-decoration: none; font-weight: 500; border-bottom: 1px solid var(--line); }
.nav-list a[aria-current='page'] { color: var(--blue-600); font-weight: 600; }
.nav-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; padding-top: 16px; }
.lang-link { display: inline-flex; align-items: center; min-height: 40px; padding: 6px 14px; border-radius: 999px; border: 1px solid var(--line); text-decoration: none; color: var(--navy-900); font-weight: 600; }
html:not(.js) .site-nav { display: block; position: static; width: 100%; }
html:not(.js) .menu-toggle { display: none; }
html:not(.js) .header-inner { flex-wrap: wrap; }

/* Full desktop menu from 1200px: eight items + language + client login need ~1110px on one row. */
@media (min-width: 1200px) {
  .menu-toggle { display: none; }
  .site-nav, .site-nav.is-open { display: flex; align-items: center; gap: 18px; position: static; padding: 0; border: 0; box-shadow: none; background: transparent; }
  .nav-list { display: flex; gap: 2px; }
  .nav-list a { border: 0; padding: 8px 7px; border-radius: 8px; font-size: 0.9rem; white-space: nowrap; }
  .nav-list a:hover { background: var(--tint); }
  .nav-actions { padding: 0; flex-wrap: nowrap; }
}

/* ── sections ── */
.section { padding-block: clamp(56px, 9vw, 104px); }
.section--tint { background: var(--tint); }
.section--navy { background: radial-gradient(1200px 500px at 85% -10%, rgba(30, 107, 255, 0.28), transparent 60%), linear-gradient(180deg, var(--navy-900), var(--navy-950)); color: #fff; }
.section--navy .lead { color: rgba(255, 255, 255, 0.74); }
.section-head { margin-bottom: clamp(28px, 4vw, 48px); max-width: 720px; }
.eyebrow { display: inline-block; font-weight: 600; font-size: 0.85rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold-400); margin-bottom: 14px; }
html[lang='ar'] .eyebrow { letter-spacing: 0.04em; font-size: 0.95rem; }

/* ── hero ── */
.hero { position: relative; overflow: hidden; color: #fff; background: radial-gradient(900px 520px at 80% 10%, rgba(30, 107, 255, 0.35), transparent 60%), radial-gradient(700px 420px at 10% 100%, rgba(247, 201, 70, 0.12), transparent 60%), linear-gradient(160deg, var(--navy-900), var(--navy-950)); padding-block: clamp(48px, 9vw, 112px) clamp(56px, 9vw, 120px); }
.hero::after { content: ''; position: absolute; inset: 0; background-image: linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px); background-size: 48px 48px; mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%); pointer-events: none; }
.hero-grid { position: relative; z-index: 1; display: grid; gap: 48px; align-items: center; }
.hero h1 { color: #fff; max-width: 15ch; }
.hero-lead { font-size: clamp(1.05rem, 2.2vw, 1.25rem); color: rgba(255, 255, 255, 0.78); max-width: 52ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero-portal { margin-top: 28px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, 0.12); }
.hero-portal__note { margin: 10px 0 0; font-size: 0.88rem; color: rgba(255, 255, 255, 0.6); }
.portal-buttons { display: flex; flex-wrap: wrap; gap: 10px; }
.hero-visual { position: relative; display: grid; gap: 18px; justify-items: center; align-items: center; }
.hero-mark { width: min(240px, 62vw); border-radius: 32px; overflow: hidden; box-shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(255, 255, 255, 0.08); animation: float 9s ease-in-out infinite; }
.hero-mark--logo img { width: min(176px, 44vw); height: auto; }
.hero-mark--text, .hero-mark--logo { display: grid; place-content: center; justify-items: center; gap: 6px; aspect-ratio: 7 / 8; color: #fff; background: radial-gradient(circle at 30% 20%, rgba(30, 107, 255, 0.45), transparent 60%), linear-gradient(160deg, var(--navy-800), var(--navy-950)); border: 1px solid rgba(247, 201, 70, 0.35); }
.hero-mark--text span[lang='ar'] { font-size: clamp(2.6rem, 6vw, 3.6rem); font-weight: 700; color: var(--gold-400); line-height: 1.1; }
.hero-mark--text span[lang='en'] { font-family: 'Plex', sans-serif; letter-spacing: 0.3em; font-weight: 600; }
.hero-stack { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; width: 100%; max-width: 380px; }
.stack-card { display: grid; gap: 7px; padding: 12px 14px; border-radius: 14px; background: rgba(255, 255, 255, 0.92); color: var(--navy-900); box-shadow: 0 14px 30px -14px rgba(0, 0, 0, 0.6); font-weight: 700; font-size: 0.9rem; border-inline-start: 4px solid var(--c); }
.stack-card i { display: block; height: 6px; border-radius: 4px; background: var(--line); }
.stack-card i:last-child { width: 62%; }
.stack-card--bronze { --c: var(--bronze); }
.stack-card--silver { --c: var(--silver); }
.stack-card--gold { --c: var(--gold-500); }
/* The brand mark is never covered: cards sit below it (mobile) or beside it (desktop). */
@media (min-width: 900px) {
  .hero-grid { grid-template-columns: 1.1fr 0.9fr; }
  .hero-visual { grid-template-columns: auto auto; gap: 22px; min-height: 420px; }
  .hero-mark { width: min(280px, 26vw); }
  .hero-stack { grid-template-columns: 1fr; width: 190px; gap: 12px; }
  .stack-card--bronze { margin-inline-start: 24px; }
  .stack-card--silver { margin-inline-start: 12px; }
}

/* ── page hero ── */
.page-hero { background: linear-gradient(160deg, var(--navy-900), var(--navy-950)); color: #fff; padding-block: clamp(44px, 8vw, 88px); }
.page-hero h1 { color: #fff; }
.page-hero .lead { color: rgba(255, 255, 255, 0.76); }

/* ── journey ── */
.journey { display: grid; gap: 16px; counter-reset: s; }
.journey__step { position: relative; padding: 24px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.journey__num { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; margin-bottom: 14px; background: var(--navy-900); color: var(--gold-400); font-weight: 700; }
.journey__step p { color: var(--ink-500); margin: 0; }
@media (min-width: 720px) { .journey { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) {
  .journey { grid-template-columns: repeat(5, 1fr); gap: 20px; }
  .journey__step:not(:last-child)::after { content: ''; position: absolute; top: 44px; inset-inline-end: -20px; width: 20px; height: 2px; background: linear-gradient(90deg, var(--gold-400), var(--blue-600)); }
}

/* ── cards ── */
.cards { display: grid; gap: 16px; }
.status-note { display: inline-flex; align-items: center; gap: 10px; margin: calc(clamp(28px, 4vw, 48px) * -0.5) 0 clamp(24px, 3vw, 36px); padding: 6px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--tint); color: var(--ink-500); font-size: 0.9rem; font-weight: 600; }
.status-note__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold-500); box-shadow: 0 0 0 4px rgba(247, 201, 70, 0.22); }
.card { padding: 26px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); transition: box-shadow 0.25s ease, transform 0.25s ease; }
.card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.card p { color: var(--ink-500); margin: 0; }
.card-title { font-size: 1.2rem; }
.icon--card { width: 44px; height: 44px; padding: 10px; border-radius: 12px; background: var(--blue-50); color: var(--blue-600); margin-bottom: 16px; }
@media (min-width: 720px) { .cards--4, .cards--3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .cards--4 { grid-template-columns: repeat(4, 1fr); } .cards--3 { grid-template-columns: repeat(3, 1fr); } }
.center .text-link, p.center { margin-top: 28px; }

/* ── tiers ── */
.tiers { display: grid; gap: 18px; align-items: stretch; }
.tier { position: relative; display: flex; flex-direction: column; padding: 28px 26px; border-radius: var(--radius-lg); background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.12); color: #fff; }
.section--tint .tier, .section:not(.section--navy) .tier { background: #fff; color: var(--ink-900); border-color: var(--line); box-shadow: var(--shadow-sm); }
.tier__medal { width: 48px; height: 48px; border-radius: 50%; margin-bottom: 18px; background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.85), transparent 40%), var(--m); box-shadow: inset 0 -4px 10px rgba(0, 0, 0, 0.25); }
.tier--bronze { --m: linear-gradient(135deg, #d99a66, var(--bronze) 55%, #7b4a24); }
.tier--silver { --m: linear-gradient(135deg, #e7ecf2, var(--silver) 55%, #5d6878); }
.tier--gold { --m: linear-gradient(135deg, var(--gold-300), var(--gold-400) 50%, var(--gold-700)); }
.tier__name { font-size: 1.5rem; margin-bottom: 2px; }
.tier__tagline { color: var(--gold-400); font-weight: 600; margin-bottom: 14px; }
.section:not(.section--navy) .tier__tagline { color: var(--gold-700); }
.tier__summary { opacity: 0.86; }
.tier__inc { font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.08em; opacity: 0.7; margin-top: auto; padding-top: 10px; }
html[lang='ar'] .tier__inc { letter-spacing: 0; font-size: 0.92rem; }
.tier--featured { border: 1.5px solid var(--gold-400); background: linear-gradient(180deg, rgba(247, 201, 70, 0.12), rgba(255, 255, 255, 0.04)); box-shadow: 0 30px 70px -30px rgba(247, 201, 70, 0.45); }
.section:not(.section--navy) .tier--featured { background: linear-gradient(180deg, #fffaf0, #fff); border-color: var(--gold-500); }
.tier__flag { position: absolute; top: -13px; inset-inline-start: 24px; padding: 4px 12px; border-radius: 999px; background: var(--gold-400); color: var(--navy-950); font-size: 0.78rem; font-weight: 700; }
.tier__flag--inline { position: static; display: inline-block; margin-bottom: 10px; }
@media (min-width: 900px) { .tiers { grid-template-columns: repeat(3, 1fr); } .tier--featured { transform: translateY(-10px); } }

.ticks { display: grid; gap: 8px; margin-top: 8px; }
.ticks li { position: relative; padding-inline-start: 26px; }
/* A checkmark reads the same in both directions, so it is drawn with physical borders and never mirrored. */
.ticks li::before { content: ''; position: absolute; inset-inline-start: 0; top: 0.55em; width: 14px; height: 8px; border-left: 2px solid var(--gold-500); border-bottom: 2px solid var(--gold-500); transform: rotate(-45deg); transform-origin: center; }

/* ── home: samples band ── */
.samples-band { display: grid; gap: 36px; align-items: center; }
.samples-band__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.mini a { display: grid; gap: 4px; aspect-ratio: 3 / 4; align-content: stretch; padding: 14px; border-radius: 14px; text-decoration: none; color: var(--navy-900); background: linear-gradient(180deg, #fff, var(--tint)); border: 1px solid var(--line); box-shadow: var(--shadow-sm); position: relative; overflow: hidden; transition: transform 0.25s ease, box-shadow 0.25s ease; }
.mini a::before { content: ''; position: absolute; inset-inline: 0; top: 0; height: 6px; background: var(--c); }
.mini a:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.mini--bronze { --c: var(--bronze); } .mini--silver { --c: var(--silver); } .mini--gold { --c: var(--gold-500); }
.mini--gold a { border-color: var(--gold-500); }
.mini__lines { display: grid; gap: 6px; align-self: start; margin-top: 10px; }
.mini__lines i { display: block; height: 5px; border-radius: 4px; background: var(--line); }
.mini__lines i:nth-child(2) { width: 78%; } .mini__lines i:nth-child(3) { width: 56%; }
.mini a { grid-template-rows: 1fr auto auto; }
.mini__level { font-weight: 700; }
.mini__lang { font-size: 0.85rem; color: var(--ink-500); }
@media (min-width: 900px) { .samples-band { grid-template-columns: 1fr 1.1fr; gap: 64px; } }

/* ── trust ── */
.trust-list { display: grid; gap: 16px; }
.trust-item { display: flex; gap: 16px; padding: 24px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.trust-item p { margin: 0; color: var(--ink-500); }
.icon--trust { width: 44px; height: 44px; padding: 10px; border-radius: 12px; background: var(--navy-900); color: var(--gold-400); }
@media (min-width: 900px) { .trust-list { grid-template-columns: repeat(3, 1fr); } }

/* ── CTA ── */
.section--cta { padding-block: clamp(40px, 7vw, 80px); }
.cta-card { display: grid; gap: 28px; padding: clamp(26px, 5vw, 48px); border-radius: var(--radius-lg); background: radial-gradient(700px 300px at 100% 0%, rgba(30, 107, 255, 0.3), transparent 60%), linear-gradient(150deg, var(--navy-900), var(--navy-950)); color: #fff; }
.cta-card p { color: rgba(255, 255, 255, 0.76); }
.cta-card .portal-buttons { margin-top: 18px; }
.cta-card .btn.is-soon.btn--ghost { background: rgba(255, 255, 255, 0.06); color: rgba(255, 255, 255, 0.72); border-color: rgba(255, 255, 255, 0.24); }
.cta-contact { display: grid; justify-items: start; gap: 6px; padding: 22px; border-radius: var(--radius); background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.12); }
.cta-contact p { margin: 0; }
.cta-email { color: var(--gold-300); font-size: 1.2rem; font-weight: 600; text-decoration: none; margin-bottom: 10px; }
.icon--cta { width: 40px; height: 40px; color: var(--gold-400); }
@media (min-width: 900px) { .cta-card { grid-template-columns: 1.4fr 1fr; align-items: center; } }

/* ── sample reports page ── */
.notice { margin-top: 32px; padding: 14px 18px; border-radius: var(--radius-sm); background: #fff8e6; border: 1px solid #f1d58a; color: #6b4e00; }
.group-title { font-size: 1.4rem; margin-bottom: 24px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.sample-group { padding-block: 40px 24px; }
.samples { display: grid; gap: 20px; }
.sample { display: grid; border-radius: var(--radius-lg); overflow: hidden; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); scroll-margin-top: 90px; }
.sample__cover { position: relative; display: grid; align-content: space-between; gap: 18px; min-height: 150px; padding: 18px; background: linear-gradient(150deg, var(--navy-900), var(--navy-950)); color: #fff; border-bottom: 4px solid var(--c); }
.sample--bronze { --c: var(--bronze); } .sample--silver { --c: var(--silver); } .sample--gold { --c: var(--gold-500); }
.sample__cover-level { font-weight: 700; font-size: 1.1rem; color: var(--c); filter: brightness(1.35); }
.sample__cover-lines { display: grid; gap: 7px; }
.sample__cover-lines i { display: block; height: 6px; border-radius: 4px; background: rgba(255, 255, 255, 0.14); }
.sample__cover-lines i:nth-child(2) { width: 80%; } .sample__cover-lines i:nth-child(3) { width: 64%; } .sample__cover-lines i:nth-child(4) { width: 40%; }
.sample__cover-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 12px; }
.sample__cover-ph { padding: 3px 10px; border-radius: 999px; border: 1px dashed rgba(255, 255, 255, 0.5); font-size: 0.74rem; line-height: 1.5; color: rgba(255, 255, 255, 0.85); }
.sample__body { display: flex; flex-direction: column; padding: 22px 22px 24px; }
.sample__body h3 { font-size: 1.3rem; }
.sample__lang { color: var(--ink-500); font-weight: 500; font-size: 1rem; }
.sample__body > p { color: var(--ink-500); }
.sample__body h4 { font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--ink-500); margin-top: 4px; }
html[lang='ar'] .sample__body h4 { letter-spacing: 0; font-size: 0.92rem; }
.sample__meta { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 14px; }
.sample__meta div { display: inline-flex; gap: 6px; padding: 4px 10px; border-radius: 999px; background: var(--tint); font-size: 0.85rem; }
.sample__meta dt { color: var(--ink-500); }
.sample__meta dt::after { content: ':'; }
.sample__meta dd { margin: 0; font-weight: 600; }
.sample__action { margin-top: auto; padding-top: 20px; }
.sample__action .btn { width: 100%; }
.soon-badge--block { display: table; margin: 0 auto 10px; }
.sample--featured { border: 1.5px solid var(--gold-500); box-shadow: 0 30px 70px -36px rgba(184, 137, 26, 0.55); }
.dev-hint { margin: 12px 0 0; padding: 8px 10px; border-radius: 8px; background: #f2f5fa; border: 1px dashed #c7d1e0; font-size: 0.76rem; color: var(--ink-500); text-align: start; }
.dev-hint code { font-size: 0.74rem; color: var(--navy-800); }
@media (min-width: 720px) { .samples { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .samples { grid-template-columns: 1fr 1fr 1.12fr; align-items: stretch; } .sample--featured { transform: translateY(-8px); } }

/* ── about / faq / contact ── */
.note { margin-top: 24px; color: var(--ink-500); font-size: 0.95rem; }
.faq { display: grid; gap: 12px; }
.faq__item { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.faq__item summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 20px; cursor: pointer; list-style: none; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: '+'; font-size: 1.4rem; line-height: 1; color: var(--blue-600); transition: transform 0.2s ease; }
.faq__item[open] summary::after { transform: rotate(45deg); }
.faq__q { font-size: 1.05rem; margin: 0; }
.faq__item p { padding: 0 20px 18px; margin: 0; color: var(--ink-500); }
.contact-card { display: grid; justify-items: center; gap: 6px; text-align: center; padding: clamp(28px, 6vw, 56px); border-radius: var(--radius-lg); background: linear-gradient(150deg, var(--navy-900), var(--navy-950)); color: #fff; }
.contact-card .muted { color: rgba(255, 255, 255, 0.7); margin: 0; }
.contact-email { font-size: clamp(1.3rem, 4vw, 1.8rem); font-weight: 700; color: var(--gold-300); text-decoration: none; }
.contact-card .note { color: rgba(255, 255, 255, 0.65); margin-top: 12px; }
.contact-portal { margin-top: 32px; padding: 26px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--tint); }
.contact-portal h2 { font-size: 1.3rem; }
.contact-portal .portal-buttons { margin-top: 12px; }

/* ── footer ── */
.site-footer { background: var(--navy-950); color: rgba(255, 255, 255, 0.82); padding-top: 56px; }
.footer-grid { display: grid; gap: 32px; padding-bottom: 36px; }
.footer-brand img { border-radius: 12px; margin-bottom: 12px; }
.footer-name { font-weight: 700; color: #fff; }
.site-footer .muted { color: rgba(255, 255, 255, 0.6); }
.footer-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 20px; }
.footer-links a { color: rgba(255, 255, 255, 0.82); text-decoration: none; }
.footer-links a:hover { color: #fff; text-decoration: underline; }
.footer-email { color: var(--gold-300); font-weight: 600; font-size: 1.1rem; text-decoration: none; }
.footer-base { border-top: 1px solid rgba(255, 255, 255, 0.1); padding-block: 18px; font-size: 0.88rem; color: rgba(255, 255, 255, 0.55); }
.footer-base p { margin: 0; }
@media (min-width: 900px) { .footer-grid { grid-template-columns: 1.3fr 1fr 0.9fr; } }
.preview-bar { margin: 0; padding: 6px var(--gutter); background: var(--gold-400); color: var(--navy-950); font-size: 0.82rem; font-weight: 700; text-align: center; }

/* ── 404 ── */
.page-404 img { margin: 0 auto 20px; border-radius: 16px; }

/* ── home redesign (scoped to the Home pages only) ──
   Midnight navy feature bands, warm ivory surfaces, white for contrast, gold as a thin accent.
   Logical properties keep every rule, border and icon on the reading-start side (right in Arabic, left in English). */
.page-home {
  --midnight: #08182f;
  --midnight-2: #0b2142;
  --gold: #c9a24a;
  --gold-text: #8a6a22;      /* gold for text on light surfaces (AA contrast) */
  --gold-soft: #e2cf9f;      /* gold for text on navy */
  --ivory: #f7f5f0;
  --stone: #ebe5d8;          /* warm hairline */
  --slate: #4e5b70;
  --band: clamp(52px, 7.5vw, 104px);
}
.page-home h2 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); color: var(--midnight-2); }
.page-home .section { padding-block: var(--band); }
.page-home .section-head { margin-bottom: clamp(24px, 3vw, 40px); }
.page-home .lead { color: var(--slate); }

/* hero */
.page-home .hero--home { background: radial-gradient(700px 480px at 18% 40%, rgba(201, 162, 74, 0.09), transparent 65%), linear-gradient(160deg, var(--midnight-2), var(--midnight) 70%); padding-block: clamp(52px, 8vw, 104px); border-bottom: 1px solid rgba(201, 162, 74, 0.35); }
html[dir='rtl'] .page-home .hero--home { background: radial-gradient(700px 480px at 18% 40%, rgba(201, 162, 74, 0.09), transparent 65%), linear-gradient(200deg, var(--midnight-2), var(--midnight) 70%); }
html[dir='ltr'] .page-home .hero--home { background: radial-gradient(700px 480px at 82% 40%, rgba(201, 162, 74, 0.09), transparent 65%), linear-gradient(160deg, var(--midnight-2), var(--midnight) 70%); }
.page-home .hero--home::after { display: none; }
.hero-lines { position: absolute; inset-block: 0; inset-inline-end: 0; width: min(62%, 760px); height: 100%; color: var(--gold); pointer-events: none; }
html[dir='rtl'] .hero-lines { transform: scaleX(-1); }
.page-home .hero--home .eyebrow { color: var(--gold-soft); letter-spacing: 0.24em; }
html[lang='ar'] .page-home .hero--home .eyebrow { letter-spacing: 0.04em; }
.page-home .hero--home h1 { max-width: 17ch; font-size: clamp(2rem, 4.6vw, 3.2rem); }
.page-home .hero-lead { color: rgba(247, 245, 240, 0.82); }
.page-home .btn--gold { --bg: var(--gold); --fg: var(--midnight); background: var(--gold); border-color: var(--gold); }
.page-home .btn--gold:hover { --bg: #d4b161; background: #d4b161; box-shadow: 0 10px 24px -12px rgba(201, 162, 74, 0.7); }
.page-home .btn--lead { min-height: 54px; padding-inline: 28px; font-size: 1.02rem; }
.page-home .hero--home .btn--ghost-light { background: transparent; border-color: rgba(247, 245, 240, 0.34); }
.page-home .hero--home .btn--ghost-light:hover { border-color: var(--gold-soft); }
.page-home .hero-portal { border-top-color: rgba(201, 162, 74, 0.22); }
.page-home .hero-mark { border-radius: 20px; border: 1px solid rgba(201, 162, 74, 0.5); box-shadow: 0 30px 70px -34px rgba(0, 0, 0, 0.8); }
.page-home .hero-mark--logo { background: radial-gradient(circle at 30% 20%, rgba(30, 107, 255, 0.28), transparent 60%), linear-gradient(160deg, var(--midnight-2), var(--midnight)); }
.page-home .stack-card { background: rgba(8, 24, 47, 0.72); color: #f7f5f0; border: 1px solid rgba(201, 162, 74, 0.28); border-inline-start: 3px solid var(--c); border-radius: 8px; box-shadow: 0 14px 30px -18px rgba(0, 0, 0, 0.8); backdrop-filter: blur(4px); }
.page-home .stack-card i { background: rgba(247, 245, 240, 0.16); }
.page-home .stack-card--gold { --c: var(--gold); }

/* bands */
.band { padding-block: var(--band); }
.band--ivory { background: var(--ivory); }
.band--white { background: #fff; }
.band--flush { padding-top: 0; }

/* problem: editorial statement on ivory */
.statement { display: grid; gap: 20px 56px; padding-top: 28px; border-top: 1px solid var(--stone); position: relative; }
.statement::before { content: ''; position: absolute; top: -1px; inset-inline-start: 0; width: 72px; height: 2px; background: var(--gold); }
.statement__title { margin: 0; max-width: 14ch; }
.statement__copy { font-size: 1.1rem; color: var(--slate); margin-bottom: 18px; max-width: 60ch; }
.statement__closing { margin: 0; max-width: 56ch; font-size: 1.14rem; font-weight: 600; color: var(--midnight-2); padding-inline-start: 18px; border-inline-start: 2px solid var(--gold); }
@media (min-width: 900px) { .statement { grid-template-columns: 5fr 7fr; } }

/* what is SHWIR: navy explanation panel + trust notice */
.explain { display: grid; gap: 28px 48px; padding: clamp(28px, 4.5vw, 52px); border-radius: 6px; color: #f7f5f0; background: radial-gradient(520px 300px at 0% 100%, rgba(201, 162, 74, 0.1), transparent 70%), linear-gradient(160deg, var(--midnight-2), var(--midnight)); box-shadow: 0 34px 70px -44px rgba(8, 24, 47, 0.7); position: relative; overflow: hidden; }
.explain::before { content: ''; position: absolute; top: 0; inset-inline-start: clamp(28px, 4.5vw, 52px); width: 72px; height: 2px; background: var(--gold); }
.explain h2 { color: #fff; }
.explain__main p { margin: 0; font-size: 1.1rem; color: rgba(247, 245, 240, 0.8); max-width: 54ch; }
.trust-notice { display: grid; grid-template-columns: auto 1fr; gap: 16px; align-content: center; padding-block: 6px; padding-inline-start: 24px; border-inline-start: 1px solid rgba(201, 162, 74, 0.45); }
.trust-notice__icon { width: 30px; height: 30px; color: var(--gold); stroke-width: 1.4; }
.trust-notice p { margin: 0; font-size: 1.02rem; font-weight: 500; line-height: 1.75; color: #f7f5f0; }
@media (min-width: 900px) { .explain { grid-template-columns: 7fr 5fr; align-items: center; } }
@media (max-width: 899px) { .trust-notice { padding-inline-start: 0; border-inline-start: 0; padding-top: 22px; border-top: 1px solid rgba(201, 162, 74, 0.35); } }

/* information → one view: asymmetric pair */
.pair { display: grid; gap: 28px; align-items: stretch; }
.line-icon { display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--gold); color: var(--gold-text); margin-bottom: 18px; }
.line-icon .icon { width: 24px; height: 24px; stroke-width: 1.5; }
.pair__info { padding-block: 8px; }
.pair__copy { font-size: 1.06rem; color: var(--slate); margin-bottom: 16px; }
.pair__note { margin: 0; font-size: 0.93rem; color: var(--slate); padding-inline-start: 14px; border-inline-start: 2px solid var(--stone); }
.pair__link { display: none; }
.pair__view { position: relative; padding: clamp(26px, 4vw, 44px); border-radius: 6px; background: var(--ivory); border: 1px solid var(--stone); border-top: 2px solid var(--gold); }
.pair__view .pair__copy { margin-bottom: 24px; }
.view-lines { display: grid; gap: 10px; padding-top: 20px; border-top: 1px solid var(--stone); }
.view-lines i { display: flex; align-items: center; gap: 12px; height: 10px; }
.view-lines i::before { content: ''; flex: none; width: 10px; height: 10px; border-radius: 50%; border: 1.5px solid var(--gold); }
.view-lines i::after { content: ''; height: 6px; border-radius: 3px; background: #ddd6c6; width: 70%; }
.view-lines i:nth-child(2)::after { width: 52%; } .view-lines i:nth-child(3)::after { width: 84%; } .view-lines i:nth-child(4)::after { width: 38%; background: var(--gold); opacity: 0.55; }
@media (min-width: 900px) {
  .pair { grid-template-columns: 5fr auto 7fr; gap: 32px; align-items: center; }
  .pair__link { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--stone); color: var(--gold-text); background: #fff; }
}

/* goals: 3 × 2 grid with gold numerals */
.goal-grid { display: grid; gap: 14px; }
.goal { position: relative; padding: 26px 26px 28px; background: #fff; border: 1px solid var(--stone); border-radius: 6px; transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease; }
.goal::before { content: ''; position: absolute; top: -1px; inset-inline-start: -1px; width: 48px; height: 2px; background: var(--gold); transition: width 0.3s ease; }
.goal:hover { border-color: #d9c79a; box-shadow: 0 18px 36px -26px rgba(8, 24, 47, 0.45); transform: translateY(-2px); }
.goal:hover::before { width: calc(100% + 2px); }
.goal__num { display: block; margin-bottom: 14px; font-size: 0.86rem; font-weight: 700; letter-spacing: 0.12em; color: var(--gold-text); font-family: 'Plex', sans-serif; }
.goal h3 { font-size: 1.12rem; color: var(--midnight-2); margin-bottom: 8px; }
.goal p { margin: 0; color: var(--slate); font-size: 0.97rem; }
@media (min-width: 720px) { .goal-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .goal-grid { grid-template-columns: repeat(3, 1fr); gap: 18px; } }

/* result: navy conclusion panel */
.conclusion { display: grid; gap: 26px; align-items: center; padding: clamp(28px, 4.5vw, 52px); border-radius: 6px; color: #f7f5f0; background: linear-gradient(160deg, var(--midnight-2), var(--midnight)); border-inline-start: 3px solid var(--gold); box-shadow: 0 34px 70px -44px rgba(8, 24, 47, 0.7); }
.conclusion h2 { color: #fff; }
.conclusion p { margin: 0; color: rgba(247, 245, 240, 0.8); font-size: 1.08rem; max-width: 64ch; }
.conclusion .btn { justify-self: start; }
@media (min-width: 900px) { .conclusion { grid-template-columns: 1fr auto; gap: 48px; } }

/* existing sections, harmonised */
.page-home .home-market { background: #fff; }
.page-home .home-market .card { border-radius: 6px; border-color: var(--stone); box-shadow: none; }
.page-home .home-market .card:hover { border-color: #d9c79a; box-shadow: 0 18px 36px -26px rgba(8, 24, 47, 0.45); }
.page-home .home-market .icon--card { background: transparent; border: 1px solid var(--gold); color: var(--gold-text); border-radius: 50%; }
.page-home .home-market .status-note { background: var(--ivory); border-color: var(--stone); }
.page-home .home-market .status-note__dot { background: var(--gold); box-shadow: 0 0 0 4px rgba(201, 162, 74, 0.2); }
.page-home .home-market h3, .page-home .home-trust h3 { color: var(--midnight-2); }
.page-home .home-levels { background: radial-gradient(900px 420px at 50% -10%, rgba(201, 162, 74, 0.1), transparent 60%), linear-gradient(180deg, var(--midnight-2), var(--midnight)); }
.page-home .home-levels h2 { color: #fff; }
.page-home .home-levels .lead { color: rgba(247, 245, 240, 0.74); }
.page-home .home-levels .tier { border-radius: 8px; border-color: rgba(247, 245, 240, 0.14); background: rgba(247, 245, 240, 0.04); }
.page-home .home-levels .tier__tagline { color: var(--gold-soft); }
.page-home .home-levels .tier--featured { border-color: var(--gold); background: linear-gradient(180deg, rgba(201, 162, 74, 0.12), rgba(247, 245, 240, 0.03)); box-shadow: 0 30px 70px -40px rgba(201, 162, 74, 0.5); }
.page-home .home-levels .tier__flag { background: var(--gold); }
.page-home .home-levels .ticks li::before { border-color: var(--gold); }
.page-home .home-samples { background: var(--ivory); }
.page-home .home-samples .mini a { border-radius: 6px; border-color: var(--stone); background: linear-gradient(180deg, #fff, #faf8f3); }
.page-home .home-samples .mini--gold a { border-color: var(--gold); }
.page-home .home-samples .mini--gold { --c: var(--gold); }
.page-home .home-trust { background: #fff; }
.page-home .home-trust .trust-item { border-radius: 6px; border-color: var(--stone); background: var(--ivory); }
.page-home .home-trust .icon--trust { background: var(--midnight-2); color: var(--gold); border-radius: 50%; }
.page-home .section--cta { background: var(--ivory); padding-block: clamp(44px, 6vw, 80px); }
.page-home .cta-card { border-radius: 8px; background: linear-gradient(150deg, var(--midnight-2), var(--midnight)); border-top: 2px solid var(--gold); }
.page-home .cta-card h2 { color: #fff; }
.page-home .home-samples .btn--primary { --bg: var(--midnight-2); }
.page-home .home-samples .btn--primary:hover { --bg: var(--midnight); }

/* ── inner pages redesign: How it works, Services, FAQ, Sample reports (body.page-sub) ──
   Same palette, rhythm and mirroring rules as the Home page. About and Contact are not affected. */
.page-sub {
  --midnight: #08182f;
  --midnight-2: #0b2142;
  --gold: #c9a24a;
  --gold-text: #8a6a22;
  --gold-soft: #e2cf9f;
  --ivory: #f7f5f0;
  --stone: #ebe5d8;
  --slate: #4e5b70;
  --band: clamp(52px, 7.5vw, 104px);
}
.page-sub .section { padding-block: var(--band); }
.page-sub h2 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); color: var(--midnight-2); }
.page-sub .lead { color: var(--slate); }
.page-sub .section-head { margin-bottom: clamp(24px, 3vw, 40px); }

/* page introduction band */
.page-sub .page-hero { position: relative; overflow: hidden; padding-block: clamp(52px, 7vw, 96px); background: radial-gradient(620px 420px at 82% 50%, rgba(201, 162, 74, 0.08), transparent 65%), linear-gradient(160deg, var(--midnight-2), var(--midnight) 70%); border-bottom: 1px solid rgba(201, 162, 74, 0.35); }
html[dir='rtl'] .page-sub .page-hero { background: radial-gradient(620px 420px at 18% 50%, rgba(201, 162, 74, 0.08), transparent 65%), linear-gradient(200deg, var(--midnight-2), var(--midnight) 70%); }
.page-sub .page-hero::after { content: ''; position: absolute; inset-block: 0; inset-inline-end: 0; width: min(46%, 600px); background: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 600 600" preserveAspectRatio="xMidYMid slice"%3E%3Cg fill="none" stroke="%23c9a24a" stroke-width="1"%3E%3Cpath d="M-60 640 C 140 470, 40 300, 300 270 S 600 60, 470 -60" stroke-opacity="0.16"/%3E%3Cpath d="M-44 640 C 156 470, 56 300, 310 270 S 606 60, 481 -60" stroke-opacity="0.24"/%3E%3Cpath d="M-28 640 C 172 470, 72 300, 319 270 S 613 60, 492 -60" stroke-opacity="0.32"/%3E%3Cpath d="M-12 640 C 188 470, 88 300, 329 270 S 619 60, 504 -60" stroke-opacity="0.16"/%3E%3Cpath d="M4 640 C 204 470, 104 300, 338 270 S 626 60, 515 -60" stroke-opacity="0.24"/%3E%3Cpath d="M20 640 C 220 470, 120 300, 348 270 S 632 60, 526 -60" stroke-opacity="0.32"/%3E%3Cpath d="M36 640 C 236 470, 136 300, 358 270 S 638 60, 537 -60" stroke-opacity="0.16"/%3E%3Cpath d="M52 640 C 252 470, 152 300, 367 270 S 645 60, 548 -60" stroke-opacity="0.24"/%3E%3Cpath d="M68 640 C 268 470, 168 300, 377 270 S 651 60, 560 -60" stroke-opacity="0.32"/%3E%3C/g%3E%3C/svg%3E') center / cover no-repeat; pointer-events: none; opacity: 0.9; }
html[dir='rtl'] .page-sub .page-hero::after { transform: scaleX(-1); }
.page-sub .page-hero .container { position: relative; z-index: 1; }
.page-sub .page-hero .container::before { content: ''; display: block; width: 72px; height: 2px; margin-bottom: 22px; background: var(--gold); }
.page-sub .page-hero h1 { font-size: clamp(2rem, 4.2vw, 3rem); max-width: 20ch; margin-bottom: 14px; }
.page-sub .page-hero .lead { color: rgba(247, 245, 240, 0.82); max-width: 60ch; margin: 0; }
@media (max-width: 719px) { .page-sub .page-hero::after { width: 70%; opacity: 0.45; } }

/* buttons: refined gold / midnight */
.page-sub .btn--gold { --bg: var(--gold); --fg: var(--midnight); background: var(--gold); border-color: var(--gold); }
.page-sub .btn--gold:hover { --bg: #d4b161; background: #d4b161; box-shadow: 0 10px 24px -12px rgba(201, 162, 74, 0.7); }
.page-sub .btn--primary { --bg: var(--midnight-2); }
.page-sub .btn--primary:hover { --bg: var(--midnight); }

/* How it works: composed five-step sequence */
.page-sub .how-steps { background: var(--ivory); }
.page-sub .journey { position: relative; gap: 0; }
.page-sub .journey::before { content: ''; position: absolute; inset-block: 22px 22px; inset-inline-start: 21px; width: 1px; background: linear-gradient(180deg, var(--gold), rgba(201, 162, 74, 0.25)); }
.page-sub .journey__step { padding: 0 0 30px; padding-inline-start: 68px; background: transparent; border: 0; border-radius: 0; box-shadow: none; }
.page-sub .journey__step:last-child { padding-bottom: 0; }
.page-sub .journey__step::after { display: none; }
.page-sub .journey__num { position: absolute; top: 0; inset-inline-start: 0; width: 44px; height: 44px; margin: 0; border-radius: 50%; background: var(--midnight-2); color: var(--gold-soft); border: 1px solid var(--gold); font-family: 'Plex', sans-serif; font-size: 0.9rem; letter-spacing: 0.04em; }
.page-sub .journey__step h3 { color: var(--midnight-2); font-size: 1.12rem; padding-top: 8px; }
.page-sub .journey__step p { color: var(--slate); }
.page-sub .how-steps .note { margin: 36px 0 0; padding-inline-start: 14px; border-inline-start: 2px solid var(--gold); color: var(--slate); }
@media (min-width: 1040px) {
  .page-sub .journey { grid-template-columns: repeat(5, 1fr); gap: 0; }
  .page-sub .journey::before { inset-block: 22px auto; inset-inline: 0; width: auto; height: 1px; background: rgba(201, 162, 74, 0.6); }
  .page-sub .journey__step { padding: 70px 22px 30px; padding-inline-start: 22px; border-inline-start: 1px solid var(--stone); }
  .page-sub .journey__step:last-child { padding-bottom: 30px; }
  .page-sub .journey__step:nth-child(odd) { background: #fff; }
  .page-sub .journey__step:first-child { border-inline-start: 0; }
  .page-sub .journey__num { inset-inline-start: 22px; }
  .page-sub .journey__step h3 { padding-top: 0; }
}

/* report levels on inner pages */
.page-sub .sub-levels { background: #fff; }
.page-sub .sub-levels .tier { border-radius: 8px; border-color: var(--stone); box-shadow: none; }
.page-sub .sub-levels .tier__tagline { color: var(--gold-text); }
.page-sub .sub-levels .tier--featured { border-color: var(--gold); background: linear-gradient(180deg, #fbf8f0, #fff); box-shadow: 0 30px 60px -44px rgba(8, 24, 47, 0.5); }
.page-sub .tier__flag { background: var(--gold); color: var(--midnight); }
.page-sub .ticks li::before { border-color: var(--gold); }
.page-sub .sub-levels--navy { background: radial-gradient(900px 420px at 50% -10%, rgba(201, 162, 74, 0.1), transparent 60%), linear-gradient(180deg, var(--midnight-2), var(--midnight)); }
.page-sub .sub-levels--navy h2 { color: #fff; }
.page-sub .sub-levels--navy .btn--primary { --bg: var(--gold); --fg: var(--midnight); background: var(--gold); }
.page-sub .sub-levels--navy .btn--primary:hover { --bg: #d4b161; background: #d4b161; }
.page-sub .sub-levels--navy .lead { color: rgba(247, 245, 240, 0.74); }
.page-sub .sub-levels--navy .tier { border-color: rgba(247, 245, 240, 0.14); background: rgba(247, 245, 240, 0.04); }
.page-sub .sub-levels--navy .tier__tagline { color: var(--gold-soft); }
.page-sub .sub-levels--navy .tier--featured { border-color: var(--gold); background: linear-gradient(180deg, rgba(201, 162, 74, 0.12), rgba(247, 245, 240, 0.03)); box-shadow: 0 30px 70px -40px rgba(201, 162, 74, 0.5); }

/* Services: numbered editorial grid, staggered on desktop */
.page-sub .svc-section { background: var(--ivory); }
.page-sub .svc-section .cards { gap: 18px; }
.page-sub .svc { position: relative; padding: 30px 30px 32px; border-radius: 6px; border-color: var(--stone); box-shadow: none; }
.page-sub .svc::before { content: ''; position: absolute; top: -1px; inset-inline-start: -1px; width: 56px; height: 2px; background: var(--gold); transition: width 0.3s ease; }
.page-sub .svc:hover { transform: none; border-color: #d9c79a; box-shadow: 0 18px 36px -26px rgba(8, 24, 47, 0.45); }
.page-sub .svc:hover::before { width: calc(100% + 2px); }
.page-sub .svc__num { position: absolute; top: 26px; inset-inline-end: 30px; font-family: 'Plex', sans-serif; font-size: 2rem; font-weight: 600; line-height: 1; color: #a8873c; }
.page-sub .svc .icon--card { background: transparent; border: 1px solid var(--gold); color: var(--gold-text); border-radius: 50%; margin-bottom: 20px; }
.page-sub .svc h3 { color: var(--midnight-2); font-size: 1.18rem; }
.page-sub .svc p { color: var(--slate); }
@media (min-width: 1040px) {
  .page-sub .svc-section .cards--4 { grid-template-columns: repeat(2, 1fr); gap: 22px 26px; }
  .page-sub .svc-section .svc:nth-child(even) { transform: translateY(44px); }
  .page-sub .svc-section .svc:nth-child(even):hover { transform: translateY(44px); }
  .page-sub .svc-section { padding-bottom: calc(var(--band) + 44px); }
}

/* FAQ: editorial questions and answers */
.page-sub .faq-section { background: var(--ivory); }
.page-sub .faq { gap: 0; background: #fff; border: 1px solid var(--stone); border-radius: 6px; border-top: 2px solid var(--gold); padding-inline: clamp(18px, 3vw, 36px); }
.page-sub .faq__item { border: 0; border-radius: 0; background: transparent; border-bottom: 1px solid var(--stone); }
.page-sub .faq__item:last-child { border-bottom: 0; }
.page-sub .faq__item summary { display: grid; grid-template-columns: auto 1fr auto; gap: 16px; align-items: center; padding: 22px 0; }
.page-sub .faq__num { font-family: 'Plex', sans-serif; font-size: 0.86rem; font-weight: 700; letter-spacing: 0.1em; color: var(--gold-text); min-width: 2ch; }
.page-sub .faq__q { font-size: 1.08rem; font-weight: 600; color: var(--midnight-2); }
.page-sub .faq__item summary::after { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--gold); color: var(--gold-text); font-size: 1.2rem; }
.page-sub .faq__item[open] summary::after { background: var(--midnight-2); color: var(--gold-soft); border-color: var(--midnight-2); }
.page-sub .faq__item summary:hover .faq__q { color: var(--midnight); text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 6px; }
.page-sub .faq__item p { margin: 0 0 24px; padding: 2px 0 2px; padding-inline-start: 18px; margin-inline-start: calc(2ch + 16px); border-inline-start: 2px solid var(--gold); color: var(--slate); font-size: 1rem; line-height: 1.8; }
@media (max-width: 599px) { .page-sub .faq__item p { margin-inline-start: 0; } }

/* Sample reports: structured report levels */
.page-sub .sample-group { background: var(--ivory); padding-block: clamp(48px, 6vw, 88px); }
.page-sub .sample-group--alt { background: #fff; }
.page-sub .group-title { position: relative; font-size: clamp(1.3rem, 2.2vw, 1.6rem); color: var(--midnight-2); border-bottom-color: var(--stone); padding-bottom: 14px; margin-bottom: 30px; }
.page-sub .group-title::after { content: ''; position: absolute; bottom: -1px; inset-inline-start: 0; width: 72px; height: 2px; background: var(--gold); }
.page-sub .sample { border-radius: 6px; border-color: var(--stone); box-shadow: none; background: #fff; }
.page-sub .sample-group:not(.sample-group--alt) .sample { background: #fff; }
.page-sub .sample-group--alt .sample { background: #fff; border-color: var(--stone); }
.page-sub .sample__cover { min-height: 132px; background: radial-gradient(360px 160px at 100% 0%, rgba(201, 162, 74, 0.1), transparent 70%), linear-gradient(160deg, var(--midnight-2), var(--midnight)); border-bottom: 2px solid var(--c); }
.page-sub .sample--gold { --c: var(--gold); }
.page-sub .sample__cover-lines i { background: rgba(247, 245, 240, 0.14); }
.page-sub .sample__body h3 { color: var(--midnight-2); }
.page-sub .sample__body > p { color: var(--slate); }
.page-sub .sample__meta div { background: var(--ivory); border: 1px solid var(--stone); }
.page-sub .sample__body h4 { color: var(--gold-text); }
.page-sub .sample--featured { border: 1px solid var(--gold); box-shadow: 0 30px 60px -44px rgba(8, 24, 47, 0.55); }
.page-sub .tier__flag--inline { align-self: flex-start; letter-spacing: 0.02em; }
.page-sub .sample:hover { border-color: #d9c79a; }
.page-sub .sample--featured:hover { border-color: var(--gold); }

/* customer-portal panel */
.page-sub .section--cta { background: var(--ivory); padding-block: clamp(44px, 6vw, 80px); }
.page-sub .sample-group--alt + .section--cta, .page-sub .sub-levels + .section--cta { background: #fff; }
.page-sub .sub-levels--navy + .section--cta { background: var(--ivory); }
.page-sub .faq-section + .section--cta, .page-sub .sample-group--alt + .section--cta, .page-sub .sub-levels:not(.sub-levels--navy) + .section--cta { padding-top: 0; }
.page-sub .cta-card { border-radius: 8px; background: linear-gradient(150deg, var(--midnight-2), var(--midnight)); border-top: 2px solid var(--gold); }
.page-sub .cta-card h2 { color: #fff; }

/* ── About and Contact (body.page-about / body.page-contact, also .page-sub) ── */
.page-sub .about-section { background: var(--ivory); }
.page-sub .about-blocks { gap: 18px; }
.page-sub .about-block { position: relative; border-radius: 6px; border-color: var(--stone); box-shadow: none; padding: clamp(26px, 3.5vw, 40px); }
.page-sub .about-block:hover { transform: none; box-shadow: none; }
.page-sub .about-block .card-title { font-size: 1.25rem; color: var(--midnight-2); }
.page-sub .about-block p { color: var(--slate); font-size: 1.04rem; line-height: 1.85; }
.page-sub .about-block--1 { background: transparent; border: 0; border-top: 1px solid var(--stone); border-radius: 0; padding-inline: 0; display: grid; gap: 12px 56px; }
.page-sub .about-block--1::before { content: ''; position: absolute; top: -1px; inset-inline-start: 0; width: 72px; height: 2px; background: var(--gold); }
.page-sub .about-block--1 .card-title { font-size: clamp(1.4rem, 2.4vw, 1.9rem); margin: 0; }
.page-sub .about-block--1 p { font-size: clamp(1.1rem, 1.8vw, 1.3rem); color: var(--midnight-2); font-weight: 500; line-height: 1.75; max-width: 46ch; }
.page-sub .about-block--2 { background: #fff; border-top: 2px solid var(--gold); }
.page-sub .about-block--3 { background: linear-gradient(160deg, var(--midnight-2), var(--midnight)); border-color: var(--midnight-2); border-inline-start: 3px solid var(--gold); }
.page-sub .about-block--3 .card-title { color: #fff; }
.page-sub .about-block--3 p { color: rgba(247, 245, 240, 0.84); }
.about-block__icon { width: 30px; height: 30px; margin-bottom: 14px; color: var(--gold); stroke-width: 1.4; }
@media (min-width: 720px) { .page-sub .about-blocks { grid-template-columns: 1fr 1fr; } .page-sub .about-block--1 { grid-column: 1 / -1; } }
@media (min-width: 900px) { .page-sub .about-block--1 { grid-template-columns: 5fr 7fr; padding-block: 34px 30px; margin-bottom: 18px; } .page-sub .about-blocks { gap: 22px; } }

.page-sub .contact-section { background: var(--ivory); }
.page-sub .contact-grid { display: grid; gap: 22px; }
.page-sub .contact-card { justify-items: start; text-align: start; gap: 8px; padding: clamp(28px, 4.5vw, 52px); border-radius: 6px; background: #fff; color: var(--midnight-2); border: 1px solid var(--stone); border-top: 2px solid var(--gold); }
.page-sub .contact-card .icon--cta { width: 52px; height: 52px; padding: 13px; border-radius: 50%; border: 1px solid var(--gold); color: var(--gold-text); margin-bottom: 10px; }
.page-sub .contact-card .muted { color: var(--slate); font-weight: 600; font-size: 0.95rem; }
.page-sub .contact-email { color: var(--midnight-2); font-size: clamp(1.6rem, 3.6vw, 2.3rem); letter-spacing: 0.01em; text-decoration: underline; text-decoration-color: var(--gold); text-decoration-thickness: 2px; text-underline-offset: 8px; }
.page-sub .contact-email:hover { color: var(--midnight); text-decoration-color: var(--midnight-2); }
.page-sub .contact-card .note { margin-top: 18px; padding-inline-start: 14px; border-inline-start: 2px solid var(--stone); color: var(--slate); }
.page-sub .contact-portal { margin: 0; padding: clamp(28px, 4.5vw, 44px); border-radius: 6px; border: 0; border-inline-start: 3px solid var(--gold); background: linear-gradient(160deg, var(--midnight-2), var(--midnight)); color: #f7f5f0; display: grid; align-content: center; }
.page-sub .contact-portal h2 { color: #fff; font-size: clamp(1.3rem, 2.2vw, 1.6rem); }
.page-sub .contact-portal p { color: rgba(247, 245, 240, 0.8); }
.page-sub .contact-portal .btn.is-soon.btn--ghost { background: rgba(255, 255, 255, 0.06); color: rgba(255, 255, 255, 0.78); border-color: rgba(247, 245, 240, 0.3); }
@media (min-width: 900px) { .page-sub .contact-grid { grid-template-columns: 7fr 5fr; align-items: stretch; } }
.page-sub .about-section + .section--cta { padding-top: 0; }

/* ── subtle motion ── */
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
html.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity 0.6s ease, transform 0.6s ease; }
html.js .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html.js .reveal { opacity: 1; transform: none; }
}
@media print { .site-header, .site-footer, .preview-bar { display: none; } }
