:root {
  --navy: #00264B;
  --navy-deep: #00264B;
  --teal: #00554E;
  --gold: #B3B5B4;
  --gold-soft: #D8DAD9;
  --ink: #20313F;
  --muted: #617078;
  --line: #D8DCDA;
  --warm: #F7F7F5;
  --white: #ffffff;
  --danger: #9c3e35;
  --shadow: 0 22px 55px rgba(8, 29, 52, .11);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; overflow-x: hidden; color: var(--ink); background: var(--white); font-family: 'DM Sans', 'IBM Plex Sans Arabic', Arial, sans-serif; font-size: 16px; line-height: 1.65; }
[dir="rtl"] body { font-family: 'IBM Plex Sans Arabic', 'DM Sans', Arial, sans-serif; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }
input, textarea, select { width: 100%; border: 1px solid #c8d0d2; border-radius: 4px; color: var(--ink); background: #fff; padding: .75rem .85rem; outline: none; transition: border-color .2s, box-shadow .2s; }
input:focus, textarea:focus, select:focus { border-color: var(--teal); box-shadow: 0 0 0 3px rgba(11, 104, 101, .13); }
textarea { min-height: 120px; resize: vertical; }
input:disabled { color: #879096; background: #f2f3f3; }
label { display: grid; gap: .38rem; color: #34404a; font-size: .88rem; font-weight: 600; }
h1, h2, h3, p { margin-top: 0; }
h1, h2 { font-family: 'Playfair Display', Georgia, serif; line-height: 1.08; letter-spacing: -.035em; }
[dir="rtl"] h1, [dir="rtl"] h2 { font-family: 'IBM Plex Sans Arabic', Arial, sans-serif; line-height: 1.35; letter-spacing: 0; }
h1 { font-size: clamp(2.8rem, 5.8vw, 5.6rem); }
h2 { font-size: clamp(2rem, 3.8vw, 3.65rem); }
h3 { font-size: 1.24rem; line-height: 1.27; }
.container { width: min(1180px, calc(100% - 48px)); margin: 0 auto; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }
.skip-link { position: fixed; z-index: 100; inset: 8px auto auto 8px; padding: .5rem .8rem; color: #fff; background: var(--navy); transform: translateY(-200%); }
.skip-link:focus { transform: translateY(0); }
.eyebrow { margin-bottom: .85rem; color: var(--teal); font-size: .68rem; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }
.eyebrow--light { color: var(--gold-soft); }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 47px; border: 1px solid transparent; border-radius: 3px; padding: .7rem 1.13rem; font-size: .87rem; font-weight: 700; line-height: 1.2; text-align: center; transition: background .2s, border-color .2s, color .2s, transform .2s; }
.button:hover { transform: translateY(-2px); }
.button--small { min-height: 38px; padding: .53rem .82rem; font-size: .77rem; }
.button--wide { width: 100%; }
.button--gold { color: #1b2530; background: var(--gold); }
.button--gold:hover { background: #d0b177; }
.button--ghost { color: #fff; border-color: rgba(255,255,255,.45); }
.button--ghost:hover { border-color: #fff; background: rgba(255,255,255,.1); }
.button--outline { color: var(--navy); border-color: var(--navy); }
.button--outline:hover { color: #fff; background: var(--navy); }
.button--dark { color: #fff; background: var(--navy); }
.button--dark:hover { background: var(--teal); }
.text-link { display: inline-flex; gap: .45rem; align-items: center; color: var(--navy); font-size: .88rem; font-weight: 700; }
.text-link span { transition: transform .2s; }
.text-link:hover span { transform: translateX(4px); }
[dir="rtl"] .text-link:hover span { transform: translateX(-4px); }
.fine-print { margin: .8rem 0 0; color: var(--muted); font-size: .73rem; line-height: 1.5; }

.site-header { position: sticky; z-index: 20; top: 0; background: rgba(255,255,255,.96); border-bottom: 1px solid #eceeec; backdrop-filter: blur(14px); }
.header-inner { display: grid; grid-template-columns: 200px 1fr auto; align-items: center; min-height: 78px; gap: 1.25rem; }
.brand { display: inline-flex; align-items: center; width: 180px; }
.brand img { width: 100%; height: 51px; object-fit: contain; object-position: left center; }
[dir="rtl"] .brand img { object-position: right center; }
.primary-nav { display: flex; justify-content: center; gap: clamp(.8rem, 1.8vw, 1.8rem); }
.primary-nav a { position: relative; padding: .6rem 0; color: #45505c; font-size: .77rem; font-weight: 600; white-space: nowrap; }
.primary-nav a::after { position: absolute; content: ''; right: 0; bottom: .22rem; left: 0; height: 1px; background: var(--teal); transform: scaleX(0); transform-origin: left; transition: transform .2s; }
.primary-nav a:hover, .primary-nav a.is-active { color: var(--navy); }
.primary-nav a:hover::after, .primary-nav a.is-active::after { transform: scaleX(1); }
.header-actions { display: flex; align-items: center; justify-content: flex-end; gap: .75rem; }
.language-toggle { color: var(--navy); font-size: .75rem; font-weight: 700; }
.icon-link { display: inline-flex; align-items: center; gap: .35rem; color: #394550; font-size: .73rem; font-weight: 700; }
.icon-link span { display: grid; width: 20px; height: 20px; place-items: center; color: #fff; background: var(--teal); border-radius: 50%; font-size: .65rem; }
.menu-button { display: none; width: 42px; border: 0; background: transparent; padding: 8px; }
.menu-button span:not(.sr-only) { display: block; height: 2px; margin: 5px 0; background: var(--navy); }

.flash-stack { position: fixed; z-index: 50; top: 92px; right: 24px; display: grid; gap: .5rem; width: min(380px, calc(100% - 48px)); }
[dir="rtl"] .flash-stack { right: auto; left: 24px; }
.flash { padding: .85rem 1rem; color: #fff; background: var(--navy); border-radius: 4px; box-shadow: var(--shadow); font-size: .85rem; }
.flash--error { background: var(--danger); }

.hero { overflow: hidden; color: #fff; background: var(--navy-deep); }
.hero-grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: clamp(2rem, 7vw, 7rem); align-items: center; min-height: 590px; padding: 4.5rem 0; }
.hero-copy h1 { max-width: 680px; margin-bottom: 1.45rem; }
.hero-lead { max-width: 560px; color: #d8e0e6; font-size: 1.08rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }
.hero-note { display: flex; align-items: center; gap: .75rem; margin-top: 3.4rem; color: #bbc9d1; font-size: .78rem; }
.hero-note span { width: 28px; height: 1px; background: var(--gold); }
.hero-visual { position: relative; justify-self: end; width: min(100%, 545px); padding-bottom: 2.6rem; }
.hero-visual > img { width: 100%; height: 442px; object-fit: cover; filter: saturate(.73) contrast(1.05); }
.hero-visual::after { position: absolute; z-index: 0; top: -19px; right: -19px; width: 70%; height: 72%; border: 1px solid rgba(214,191,149,.8); content: ''; }
[dir="rtl"] .hero-visual::after { right: auto; left: -19px; }
.hero-card { position: absolute; z-index: 1; bottom: 0; left: -48px; max-width: 310px; padding: 1.6rem 1.55rem; color: var(--navy); background: #f5f2eb; box-shadow: 0 18px 38px rgba(0,0,0,.25); }
[dir="rtl"] .hero-card { right: -48px; left: auto; }
.hero-card__mark { display: block; margin-bottom: .6rem; color: var(--teal); font-size: 1.4rem; }
.hero-card p { margin: 0; font-family: 'Playfair Display', Georgia, serif; font-size: 1.12rem; line-height: 1.38; }
[dir="rtl"] .hero-card p { font-family: 'IBM Plex Sans Arabic', Arial, sans-serif; }
.pillar-strip { color: #e4e8e9; background: #112c45; }
.pillars { display: grid; grid-template-columns: repeat(4, 1fr); }
.pillars > div { display: grid; grid-template-columns: 31px 1fr; align-items: center; min-height: 92px; gap: .6rem; padding: 1rem 1.3rem; border-right: 1px solid rgba(255,255,255,.13); }
[dir="rtl"] .pillars > div { border-right: 0; border-left: 1px solid rgba(255,255,255,.13); }
.pillars > div:first-child { border-left: 1px solid rgba(255,255,255,.13); }
[dir="rtl"] .pillars > div:first-child { border-right: 1px solid rgba(255,255,255,.13); border-left: 0; }
.pillars span { color: var(--gold-soft); font-size: .69rem; }
.pillars strong { font-size: .78rem; font-weight: 600; }

.section { padding: clamp(4rem, 8vw, 8rem) 0; }
.section--warm { background: var(--warm); }
.section-heading { display: flex; justify-content: space-between; gap: 2rem; align-items: end; margin-bottom: 2.6rem; }
.section-heading h2 { max-width: 610px; margin: 0; }
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.product-grid--four { grid-template-columns: repeat(4, 1fr); }
.product-card { position: relative; display: flex; min-height: 300px; flex-direction: column; overflow: hidden; padding: 1.7rem; border: 1px solid #e1e4e3; background: #fff; transition: transform .25s, box-shadow .25s; }
.product-card::before { position: absolute; top: 0; right: 0; width: 76px; height: 76px; content: ''; clip-path: polygon(100% 0, 0 0, 100% 100%); opacity: .14; }
.product-card:hover { box-shadow: var(--shadow); transform: translateY(-5px); }
.product-card--navy::before { background: var(--navy); }
.product-card--teal::before { background: var(--teal); }
.product-card--gold::before { background: var(--gold); }
.product-card__tag { align-self: flex-start; margin-bottom: 1.5rem; color: var(--muted); font-size: .63rem; letter-spacing: .08em; }
.product-card h3 { max-width: 250px; margin-bottom: .65rem; color: var(--navy); }
.product-card > p:not(.eyebrow) { color: var(--muted); font-size: .86rem; line-height: 1.58; }
.product-card__meta { display: flex; flex-wrap: wrap; gap: .55rem 1rem; margin-top: auto; color: #64717a; font-size: .7rem; }
.product-card__footer { display: flex; align-items: center; justify-content: space-between; gap: .6rem; padding-top: 1.15rem; margin-top: .85rem; border-top: 1px solid #eaeded; }
.product-card__footer strong { color: var(--navy); font-size: 1rem; }
.split-feature { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(2.5rem, 10vw, 9rem); }
.split-feature__image { position: relative; }
.split-feature__image::before { position: absolute; z-index: -1; top: 30px; right: -28px; bottom: -30px; left: 30px; content: ''; background: #e9efee; }
[dir="rtl"] .split-feature__image::before { right: 30px; left: -28px; }
.split-feature__image img { width: 100%; height: 440px; object-fit: cover; filter: saturate(.72); }
.split-feature__copy { max-width: 500px; }
.split-feature__copy h2 { margin-bottom: 1.25rem; }
.split-feature__copy > p:not(.eyebrow) { margin-bottom: 1.8rem; color: var(--muted); }
.interest-form { display: flex; gap: .55rem; min-width: min(100%, 435px); }
.interest-form input { border: 0; }

.page-intro { padding: clamp(4rem, 8vw, 8.1rem) 0 clamp(3rem, 5vw, 4.8rem); color: #fff; background: var(--navy); }
.page-intro h1 { max-width: 850px; margin-bottom: 1rem; }
.page-intro p:not(.eyebrow) { max-width: 620px; margin: 0; color: #dbe4e8; font-size: 1.06rem; }
.page-intro--compact { padding: 4.2rem 0 3.5rem; }
.page-intro--compact h1 { margin: 0; font-size: clamp(2.8rem, 5vw, 4.7rem); }
.store-toolbar { display: flex; justify-content: space-between; gap: 1.4rem; align-items: center; margin-bottom: 2rem; }
.filter-pills { display: flex; flex-wrap: wrap; gap: .5rem; }
.filter-pills button { border: 1px solid #d7dddd; border-radius: 50px; padding: .48rem .8rem; color: #56616a; background: #fff; font-size: .73rem; }
.filter-pills button.is-active, .filter-pills button:hover { color: #fff; border-color: var(--navy); background: var(--navy); }
.store-search { width: min(100%, 230px); }
.store-search input { padding: .55rem .75rem; font-size: .77rem; }

.product-detail { padding: clamp(3rem, 7vw, 7rem) 0; background: #f7f7f5; }
.product-detail__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2rem, 8vw, 8rem); align-items: start; }
.product-detail__visual { position: sticky; top: 110px; min-height: 490px; padding: 2.2rem; overflow: hidden; border: 1px solid #dce1df; background: #fff; }
.product-detail__visual::before { position: absolute; right: 0; bottom: 0; left: 0; height: 42%; content: ''; background: var(--navy); }
.product-detail__visual .eyebrow, .product-detail__visual > p:last-child { position: relative; z-index: 1; }
.product-detail__visual > p:last-child { position: absolute; bottom: 1.4rem; color: #d5e0e5; font-size: .75rem; }
.document-stack { position: relative; z-index: 1; width: 65%; height: 260px; margin: 3.5rem auto 0; }
.document-stack span { position: absolute; display: block; width: 100%; height: 220px; border: 1px solid #d7dddd; background: #fff; box-shadow: 0 12px 22px rgba(0,0,0,.13); }
.document-stack span:nth-child(1) { top: 20px; left: -20px; transform: rotate(-5deg); }
.document-stack span:nth-child(2) { top: 12px; right: -15px; transform: rotate(5deg); }
.document-stack span:nth-child(3) { display: grid; top: 0; place-items: center; color: #fff; background: var(--teal); }
.document-stack b { display: grid; width: 74px; height: 74px; place-items: center; border: 1px solid rgba(255,255,255,.65); border-radius: 50%; font-family: 'Playfair Display', Georgia, serif; font-size: 2.6rem; }
.back-link { display: inline-flex; margin-bottom: 2.1rem; color: var(--muted); font-size: .8rem; }
.product-detail__copy h1 { max-width: 670px; color: var(--navy); font-size: clamp(2.4rem, 4.4vw, 4.8rem); }
.product-detail__lead { max-width: 670px; color: var(--muted); font-size: 1.04rem; }
.detail-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; padding: 1.6rem 0; margin: 2rem 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.detail-list div { display: grid; gap: .3rem; }
.detail-list span { color: var(--muted); font-size: .7rem; }
.detail-list strong { color: var(--navy); font-size: .85rem; }
.purchase-box { padding: 1.25rem; border: 1px solid #d6dddd; background: #fff; }
.purchase-box > div { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1rem; }
.purchase-box span { color: var(--muted); font-size: .74rem; }
.purchase-box strong { color: var(--navy); font-size: 1.4rem; }
.purchase-box > p { margin: .7rem 0 0; color: var(--muted); font-size: .72rem; text-align: center; }

.cart-layout, .checkout-layout { display: grid; grid-template-columns: 1.4fr .7fr; gap: 2rem; align-items: start; }
.cart-list { border-top: 1px solid var(--line); }
.cart-item { display: flex; justify-content: space-between; gap: 1.5rem; padding: 1.35rem 0; border-bottom: 1px solid var(--line); }
.cart-item h3 { margin: .1rem 0 .35rem; color: var(--navy); }
.cart-item p:not(.eyebrow) { margin: 0; color: var(--muted); font-size: .78rem; }
.cart-item__side { display: grid; align-content: space-between; justify-items: end; gap: .7rem; min-width: 90px; }
.cart-item__side strong { color: var(--navy); }
.link-button { border: 0; padding: 0; color: var(--danger); background: transparent; font-size: .73rem; }
.order-summary { position: sticky; top: 104px; padding: 1.45rem; border: 1px solid #dce1df; background: #f7f8f7; }
.order-summary > div { display: flex; justify-content: space-between; gap: 1rem; margin: .8rem 0; color: var(--muted); font-size: .84rem; }
.order-summary > div strong { color: var(--ink); }
.order-summary hr { border: 0; border-top: 1px solid var(--line); }
.order-summary .order-summary__total { align-items: center; color: var(--navy); font-size: .95rem; }
.order-summary__total strong { font-size: 1.3rem; }
.order-summary .button { margin-top: 1rem; }
.empty-state, .success-card { grid-column: 1 / -1; max-width: 680px; padding: 3rem; margin: 0 auto; text-align: center; border: 1px solid #dfe5e4; background: #f8f9f8; }
.empty-state h2, .success-card h2 { color: var(--navy); }
.empty-state p, .success-card p:not(.eyebrow) { color: var(--muted); }
.success-icon { display: grid; width: 58px; height: 58px; place-items: center; margin: 0 auto 1.2rem; color: #fff; background: var(--teal); border-radius: 50%; font-size: 1.5rem; }
.order-number { color: var(--navy) !important; font-size: .82rem; font-weight: 700; letter-spacing: .08em; }
.checkout-card { max-width: 710px; padding: clamp(1.4rem, 4vw, 3rem); margin: 0 auto; border: 1px solid #dce1df; background: #f9f9f8; }
.checkout-card > div:first-child { padding-bottom: 1.6rem; margin-bottom: 1.6rem; border-bottom: 1px solid var(--line); }
.checkout-card h2 { margin: .55rem 0 .75rem; color: var(--navy); font-size: clamp(1.8rem, 3vw, 2.6rem); }
.checkout-card p { color: var(--muted); }
.test-badge { display: inline-flex; border: 1px solid var(--gold); padding: .2rem .45rem; color: #7d633b; font-size: .63rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.checkout-card form { display: grid; gap: 1rem; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .9rem; }

.viewer-shell { min-height: calc(100vh - 78px); padding: 1.5rem; background: #d8dddd; }
.viewer-topbar { display: flex; justify-content: space-between; gap: 1rem; align-items: center; max-width: 900px; margin: 0 auto 1rem; color: #55606a; font-size: .75rem; }
.viewer-topbar a { color: var(--navy); font-weight: 700; }
.viewer-document { position: relative; max-width: 900px; min-height: 920px; padding: clamp(2.2rem, 8vw, 7rem); margin: 0 auto; overflow: hidden; color: #25313b; background: #fff; box-shadow: 0 5px 22px rgba(12, 43, 78, .15); user-select: none; }
.viewer-document header { padding-bottom: 2rem; border-bottom: 1px solid var(--line); }
.viewer-document h1 { margin-bottom: 1.1rem; color: var(--navy); font-size: clamp(2rem, 4vw, 3.8rem); }
.viewer-document h2 { margin: 2rem 0 .8rem; color: var(--navy); font-family: 'DM Sans', 'IBM Plex Sans Arabic', Arial, sans-serif; font-size: 1.25rem; letter-spacing: 0; }
.viewer-document p, .viewer-document li { max-width: 650px; color: #52606a; }
.viewer-document li { margin-bottom: .55rem; }
.viewer-callout { margin-top: 2rem; padding: 1.2rem; border-left: 3px solid var(--gold); background: #f7f4ee; }
[dir="rtl"] .viewer-callout { border-right: 3px solid var(--gold); border-left: 0; }
.viewer-callout p { margin: .35rem 0 0; }
.viewer-watermark { position: fixed; z-index: 30; top: 49%; left: 50%; width: 150vw; color: rgba(12, 43, 78, .13); font-size: 1.35rem; font-weight: 700; letter-spacing: .11em; pointer-events: none; text-align: center; transform: translate(-50%, -50%) rotate(-31deg); user-select: none; }
.viewer-message { max-width: 600px; padding: 3rem; margin: 10vh auto; text-align: center; background: #fff; box-shadow: var(--shadow); }
.viewer-message h1 { color: var(--navy); font-size: clamp(2rem, 4vw, 3rem); }
.viewer-message p { color: var(--muted); }
@media print { .site-header, .site-footer, .viewer-topbar, .viewer-watermark { display: none !important; } .protected-view .viewer-document { display: none !important; } }

.service-hero, .platform-hero { color: #fff; background: var(--navy-deep); }
.service-hero__grid { display: grid; grid-template-columns: 1fr .9fr; min-height: 520px; gap: 4rem; align-items: center; padding: 4.5rem 0; }
.service-hero h1 { margin-bottom: 1.25rem; }
.service-hero p:not(.eyebrow) { max-width: 630px; color: #d5dfe4; font-size: 1.05rem; }
.service-hero__image { position: relative; }
.service-hero__image::after { position: absolute; top: -17px; right: -17px; width: 60%; height: 50%; border: 1px solid var(--gold); content: ''; }
[dir="rtl"] .service-hero__image::after { right: auto; left: -17px; }
.service-hero__image img { width: 100%; height: 370px; object-fit: cover; filter: saturate(.7); }
.service-layout { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2.5rem, 9vw, 9rem); align-items: start; }
.service-list h2 { max-width: 500px; color: var(--navy); }
.service-list ul { display: grid; gap: .7rem; padding: 0; margin: 1.8rem 0 0; list-style: none; }
.service-list li { display: flex; gap: .7rem; align-items: start; padding-bottom: .7rem; border-bottom: 1px solid var(--line); color: #45515b; }
.service-list li::before { color: var(--teal); content: '—'; }
.contact-form { display: grid; gap: .9rem; padding: clamp(1.35rem, 3vw, 2.4rem); background: var(--warm); border-top: 3px solid var(--teal); }
.contact-form h2 { margin: -.3rem 0 .75rem; color: var(--navy); font-size: clamp(1.65rem, 3vw, 2.45rem); }
.platform-hero { min-height: 620px; padding: clamp(5rem, 11vw, 10rem) 0; background-image: radial-gradient(circle at 80% 5%, rgba(11,104,101,.8), transparent 34%), linear-gradient(120deg, var(--navy-deep), var(--navy)); }
.platform-hero h1 { max-width: 920px; margin-bottom: 1rem; }
.platform-hero p:not(.eyebrow) { max-width: 645px; color: #d8e0e6; font-size: 1.07rem; }
.interest-form { margin-top: 2rem; }

.prose-grid { display: grid; grid-template-columns: .65fr 1.35fr; gap: clamp(2rem, 12vw, 11rem); }
.prose-grid h2 { color: var(--navy); }
.prose-grid p { max-width: 720px; color: #4d5963; font-size: 1.05rem; }
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: .8rem; padding-top: 1.6rem; margin-top: 2rem; border-top: 1px solid var(--line); }
.values > div { display: grid; gap: .35rem; }
.values span { color: var(--gold); font-size: .68rem; }
.values strong { color: var(--navy); font-size: .84rem; }
.faq-list { max-width: 860px; }
.faq-list details { padding: 1.15rem 0; border-bottom: 1px solid var(--line); }
.faq-list details:first-child { border-top: 1px solid var(--line); }
.faq-list summary { display: flex; justify-content: space-between; gap: 1.2rem; cursor: pointer; color: var(--navy); font-weight: 700; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary span { color: var(--teal); font-size: 1.2rem; }
.faq-list details[open] summary span { transform: rotate(45deg); }
.faq-list p { max-width: 720px; margin: 1rem 0 .2rem; color: var(--muted); font-size: .9rem; }
.contact-page { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(2.5rem, 10vw, 10rem); align-items: start; }
.contact-details h2 { color: var(--navy); }
.contact-details > p { color: var(--muted); }
.contact-details dl { display: grid; gap: 1rem; margin-top: 2rem; }
.contact-details dl > div { display: grid; gap: .2rem; padding-bottom: 1rem; border-bottom: 1px solid var(--line); }
.contact-details dt { color: var(--teal); font-size: .68rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.contact-details dd { margin: 0; color: #3f4d57; font-size: .92rem; }
.contact-details dd a { text-decoration: underline; }
.account-layout { display: grid; grid-template-columns: .9fr 1.1fr; gap: 0; max-width: 940px; margin: 0 auto; border: 1px solid #dfe4e3; }
.account-panel { padding: clamp(1.8rem, 4vw, 3.4rem); background: #fff; }
.account-panel h2 { color: var(--navy); }
.account-panel form { display: grid; gap: 1rem; }
.divider { display: grid; grid-template-columns: 1fr auto 1fr; gap: .7rem; align-items: center; margin: 1.5rem 0; color: var(--muted); font-size: .7rem; }
.divider::before, .divider::after { height: 1px; content: ''; background: var(--line); }
.google-button { display: flex; gap: .75rem; align-items: center; justify-content: center; min-height: 47px; border: 1px solid #ccd4d5; color: #35414c; font-size: .85rem; font-weight: 700; }
.google-button span { display: grid; width: 20px; height: 20px; place-items: center; color: #fff; background: #4285f4; border-radius: 50%; font-size: .75rem; }
.account-side { padding: clamp(1.8rem, 4vw, 3.4rem); color: #fff; background: var(--navy); }
.account-side h2 { color: #fff; font-size: clamp(1.8rem, 3vw, 2.6rem); }
.account-side p:not(.eyebrow) { color: #d7e1e5; }
.library { grid-column: 1 / -1; padding: clamp(1.8rem, 4vw, 3.4rem); }
.library-head { display: flex; justify-content: space-between; align-items: start; gap: 2rem; padding-bottom: 1.5rem; margin-bottom: .6rem; border-bottom: 1px solid var(--line); }
.library-head h2 { margin: 0; color: var(--navy); font-size: 2.1rem; }
.library-list { display: grid; }
.library-item { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.35rem 0; border-bottom: 1px solid var(--line); }
.library-item h3 { margin: 0 0 .2rem; color: var(--navy); }
.library-item p:not(.eyebrow) { margin: 0; color: var(--muted); font-size: .78rem; }
.access-status { color: var(--muted); font-size: .75rem; font-weight: 700; }
.admin-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.role-card { padding: 1.5rem; border-top: 2px solid var(--teal); background: var(--warm); }
.role-card span { color: var(--gold); font-size: .72rem; }
.role-card h2 { margin: .7rem 0; color: var(--navy); font-size: 1.8rem; }
.role-card p { margin: 0; color: var(--muted); font-size: .82rem; }
.legal-copy { max-width: 850px; }
.legal-copy h2 { color: var(--navy); }
.legal-copy p { color: #4d5963; }
.legal-note { padding: 1.1rem 1.2rem; margin-top: 1.6rem; border-left: 3px solid var(--gold); background: #f8f5ef; font-size: .84rem; }
[dir="rtl"] .legal-note { border-right: 3px solid var(--gold); border-left: 0; }

.dashboard-gate { display: grid; min-height: calc(100vh - 78px); place-items: center; padding: 4rem 24px; color: #fff; background: radial-gradient(circle at 75% 15%, rgba(11,104,101,.72), transparent 34%), var(--navy-deep); }
.dashboard-gate__panel { width: min(100%, 690px); padding: clamp(2rem, 6vw, 4.5rem); background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.16); }
.dashboard-gate h1 { margin-bottom: 1rem; }
.dashboard-gate p:not(.eyebrow) { max-width: 520px; color: #d5e0e5; }
.dashboard-gate form { display: inline-block; margin: 1rem .85rem 0 0; }
[dir="rtl"] .dashboard-gate form { margin-right: 0; margin-left: .85rem; }
.dashboard-gate .text-link { margin-top: 1rem; color: #fff; }
.dashboard-hero { color: #fff; background: var(--navy-deep); }
.dashboard-hero__inner { display: flex; justify-content: space-between; gap: 2rem; align-items: center; min-height: 240px; padding: 3rem 0; }
.dashboard-hero h1 { margin: 0 0 .65rem; font-size: clamp(2.5rem, 4.8vw, 4.35rem); }
.dashboard-hero p:not(.eyebrow) { margin: 0; color: #cfdae0; }
.dashboard-user { display: flex; gap: .8rem; align-items: center; min-width: 190px; padding: .8rem; background: rgba(255,255,255,.07); }
.dashboard-user > span { display: grid; flex: 0 0 auto; width: 42px; height: 42px; place-items: center; color: #fff; background: var(--teal); border-radius: 50%; font-size: .85rem; font-weight: 700; }
.dashboard-user div { display: grid; }
.dashboard-user strong { font-size: .84rem; }
.dashboard-user small { color: var(--gold-soft); font-size: .69rem; }
.dashboard-shell { min-height: 720px; padding: 2.1rem 0 6rem; background: #f4f6f5; }
.dashboard-nav { display: flex; gap: .15rem; width: max-content; max-width: 100%; padding: .35rem; margin-bottom: 2.4rem; overflow-x: auto; border: 1px solid #dbe2e1; background: #fff; }
.dashboard-nav a { padding: .58rem .87rem; color: #65717a; border-radius: 2px; font-size: .75rem; font-weight: 700; white-space: nowrap; }
.dashboard-nav a:hover, .dashboard-nav a.is-active { color: #fff; background: var(--navy); }
.dashboard-quicklinks { display: flex; flex-wrap: wrap; gap: .5rem .9rem; align-items: center; padding: .8rem 0 1.6rem; }
.dashboard-quicklinks span { color: var(--teal); font-size: .68rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; }
.dashboard-quicklinks a { color: #52616b; font-size: .72rem; font-weight: 700; }
.dashboard-quicklinks a:hover { color: var(--teal); }
.dashboard-section-head { display: flex; justify-content: space-between; gap: 1.5rem; align-items: end; margin-bottom: 1.5rem; }
.dashboard-section-head .eyebrow { margin-bottom: .4rem; }
.dashboard-section-head h2 { margin: 0; color: var(--navy); font-size: clamp(2rem, 4vw, 3.1rem); }
.dashboard-count { border: 1px solid #cad6d6; padding: .35rem .55rem; color: var(--teal); background: #fff; font-size: .72rem; font-weight: 700; }
.metric-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: .85rem; margin-bottom: 1.4rem; }
.metric-grid article { display: grid; gap: .3rem; min-height: 148px; padding: 1.25rem; background: #fff; border-top: 3px solid var(--teal); box-shadow: 0 8px 18px rgba(12,43,78,.035); }
.metric-grid article:nth-child(2) { border-color: var(--gold); }
.metric-grid article:nth-child(3) { border-color: #597f96; }
.metric-grid article:nth-child(4) { border-color: #244d67; }
.metric-grid span { color: var(--muted); font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .07em; }
.metric-grid strong { color: var(--navy); font-family: 'Playfair Display', Georgia, serif; font-size: 2rem; line-height: 1.1; }
[dir="rtl"] .metric-grid strong { font-family: 'IBM Plex Sans Arabic', Arial, sans-serif; }
.metric-grid small { color: #859097; font-size: .67rem; line-height: 1.4; }
.dashboard-two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem; align-items: start; }
.dashboard-two-col--wide { grid-template-columns: minmax(0, 1.5fr) minmax(300px, .72fr); }
.dashboard-panel { padding: clamp(1.2rem, 2.5vw, 1.8rem); background: #fff; border: 1px solid #e0e6e4; box-shadow: 0 8px 18px rgba(12,43,78,.025); }
.dashboard-panel--table { padding: 0; overflow: hidden; }
.panel-head { display: flex; justify-content: space-between; gap: 1rem; align-items: start; margin-bottom: 1.4rem; }
.dashboard-panel--table .panel-head { padding: 1.45rem 1.45rem 0; }
.panel-head h3, .dashboard-panel > h3 { margin: 0 0 .25rem; color: var(--navy); font-size: 1.08rem; }
.panel-head p { margin: 0; color: var(--muted); font-size: .74rem; line-height: 1.45; }
.panel-empty { display: grid; min-height: 178px; place-items: center; padding: 1.5rem; color: var(--muted); background: #fafbfa; font-size: .82rem; text-align: center; }
.dashboard-list { border-top: 1px solid #edf0ef; }
.dashboard-list > div { display: flex; justify-content: space-between; gap: 1rem; align-items: center; padding: .95rem 0; border-bottom: 1px solid #edf0ef; }
.dashboard-list > div > div { display: grid; gap: .15rem; }
.dashboard-list strong { color: var(--navy); font-size: .76rem; }
.dashboard-list span { color: var(--muted); font-size: .7rem; }
.dashboard-list b { color: var(--navy); font-size: .8rem; text-align: right; }
[dir="rtl"] .dashboard-list b { text-align: left; }
.status { display: inline-flex; align-items: center; width: max-content; max-width: 100%; padding: .18rem .4rem; border-radius: 50px; font-size: .62rem; font-style: normal; font-weight: 700; line-height: 1.2; text-transform: capitalize; white-space: nowrap; }
.status--test_paid, .status--active, .status--reviewed { color: #1a655c; background: #e5f3ef; }
.status--refunded, .status--inactive { color: #8b5641; background: #f7eae4; }
.status--draft { color: #765d32; background: #f6efdb; }
.status--review { color: #3f607c; background: #e5eef6; }
.workflow-list { display: grid; gap: 1rem; padding: 0; margin: 0; list-style: none; }
.workflow-list li { display: grid; grid-template-columns: 27px 1fr; gap: .65rem; }
.workflow-list li > span { display: grid; width: 27px; height: 27px; place-items: center; color: var(--teal); border: 1px solid #bcd4d2; border-radius: 50%; font-size: .62rem; font-weight: 700; }
.workflow-list strong { color: var(--navy); font-size: .78rem; }
.workflow-list p { margin: .15rem 0 0; color: var(--muted); font-size: .71rem; line-height: 1.45; }
.table-wrap { overflow-x: auto; }
.table-wrap table { width: 100%; min-width: 600px; border-collapse: collapse; }
.table-wrap th { padding: .72rem 1rem; color: #77828a; background: #f6f8f7; border-top: 1px solid #e4eae8; border-bottom: 1px solid #e4eae8; font-size: .64rem; font-weight: 700; letter-spacing: .06em; text-align: left; text-transform: uppercase; }
[dir="rtl"] .table-wrap th { text-align: right; }
.table-wrap td { padding: .85rem 1rem; color: #46525b; border-bottom: 1px solid #edf0ef; font-size: .75rem; vertical-align: middle; }
.table-wrap tr:last-child td { border-bottom: 0; }
.table-wrap td strong, .table-wrap td small { display: block; }
.table-wrap td strong { color: var(--navy); font-size: .78rem; }
.table-wrap td small { margin-top: .12rem; color: #7c878f; font-size: .65rem; line-height: 1.35; }
.table-action { padding: 0; color: var(--teal); border: 0; background: transparent; font-size: .69rem; font-weight: 700; }
.inline-form { display: flex; gap: .35rem; align-items: center; }
.inline-form select { min-width: 93px; padding: .35rem .25rem; font-size: .66rem; }
.empty-cell { padding: 2.5rem !important; color: var(--muted) !important; text-align: center; }
.dashboard-form { display: grid; gap: .8rem; margin-top: 1rem; }
.dashboard-form textarea { min-height: 64px; }
.role-pill { display: inline-flex; padding: .2rem .43rem; color: var(--navy); background: #edf2f3; border-radius: 50px; font-size: .65rem; font-weight: 700; text-transform: capitalize; }
.role-pill--manager { color: #fff; background: var(--navy); }
.role-pill--editor { color: #fff; background: var(--teal); }
.role-pill--author { color: #674d23; background: #f4e7c9; }
.page-editor-list { display: grid; gap: .85rem; }
.page-editor-list details { padding: 0; }
.page-editor-list summary { display: flex; justify-content: space-between; gap: 1rem; align-items: center; padding: 1.1rem 1.25rem; cursor: pointer; color: var(--navy); list-style: none; }
.page-editor-list summary::-webkit-details-marker { display: none; }
.page-editor-list summary > div { display: flex; gap: .8rem; align-items: center; }
.page-editor-list summary strong { font-size: .86rem; }
.page-editor-list summary span { color: var(--muted); font-size: .7rem; }
.page-editor-list summary > span { color: var(--teal); font-size: 1.2rem; }
.page-editor-list details[open] summary { border-bottom: 1px solid var(--line); }
.page-editor-list details[open] summary > span { transform: rotate(45deg); }
.page-editor-form { padding: 1.2rem; margin: 0; }
.checkbox-label { display: flex; grid-template-columns: auto 1fr; align-items: center; }
.checkbox-label input { width: 16px; height: 16px; }
.settings-form { display: grid; gap: 1rem; }
.settings-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .85rem; }
.settings-grid__wide { grid-column: 1 / -1; }
.settings-save { justify-self: start; padding-right: 2rem; padding-left: 2rem; }

.site-footer { padding-top: 4rem; color: #c9d1d5; background: var(--navy-deep); }
.footer-grid { display: grid; grid-template-columns: 1.45fr repeat(3, 1fr); gap: 2.5rem; padding-bottom: 3.2rem; }
.footer-brand { display: inline-block; margin-bottom: .65rem; color: #fff; font-size: 1.25rem; font-weight: 700; letter-spacing: .08em; }
.site-footer p { margin-bottom: .45rem; font-size: .8rem; }
.footer-note { max-width: 280px; color: #aebcc4; }
.footer-title { margin-bottom: .85rem !important; color: var(--gold-soft); font-size: .67rem !important; font-weight: 700; letter-spacing: .11em; text-transform: uppercase; }
.site-footer a:not(.footer-brand) { display: block; margin-bottom: .48rem; color: #d3dce0; font-size: .78rem; }
.site-footer a:not(.footer-brand):hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; gap: 1rem; padding: 1rem 0; border-top: 1px solid rgba(255,255,255,.13); color: #95a4ae; font-size: .65rem; }

@media (max-width: 1050px) {
  .metric-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 820px) {
  .dashboard-hero__inner { display: grid; min-height: auto; padding: 2.4rem 0; }
  .dashboard-user { justify-self: start; }
  .dashboard-two-col, .dashboard-two-col--wide { grid-template-columns: 1fr; }
  .settings-grid { grid-template-columns: 1fr; }
  .settings-grid__wide { grid-column: auto; }
}
@media (max-width: 540px) {
  .dashboard-gate { padding: 2rem 15px; }
  .dashboard-gate__panel { padding: 1.8rem 1.35rem; }
  .dashboard-shell { padding-top: 1.3rem; }
  .dashboard-section-head { align-items: start; flex-direction: column; }
  .dashboard-nav { margin-bottom: 1.5rem; }
  .metric-grid { grid-template-columns: 1fr; }
  .metric-grid article { min-height: 105px; }
  .dashboard-list > div { align-items: start; flex-direction: column; }
  .dashboard-list b { text-align: left; }
  [dir="rtl"] .dashboard-list b { text-align: right; }
}

.checkout-coupon { display: grid; gap: .42rem; margin: 1rem 0; color: var(--navy); font-size: .86rem; font-weight: 700; }
.checkout-coupon span { display: flex; justify-content: space-between; gap: 1rem; }
.checkout-coupon small { color: #73808b; font-weight: 500; }
.checkout-coupon input { width: 100%; min-height: 46px; border: 1px solid #cfd7d8; border-radius: 4px; padding: .7rem .85rem; color: var(--navy); font: inherit; letter-spacing: .04em; text-transform: uppercase; }

/* Public storefront polish */
.site-header { border-bottom-color: rgba(12,43,78,.09); box-shadow: 0 8px 28px rgba(8,29,52,.035); }
.header-inner { min-height: 74px; }
.brand { width: 188px; }
.brand img { height: 48px; }
.primary-nav a { color: #394957; font-size: .76rem; }
.hero { background: radial-gradient(circle at 82% 10%, rgba(11,104,101,.34), transparent 30%), linear-gradient(125deg, #00264B 0%, #00264B 58%, #00554E 100%); }
.hero-grid { grid-template-columns: minmax(0, 1.04fr) minmax(420px, .96fr); gap: clamp(2rem, 5vw, 5rem); min-height: 610px; }
.hero-copy h1 { max-width: 640px; font-size: clamp(3.1rem, 5.15vw, 5.3rem); }
.hero-lead { max-width: 525px; font-size: 1.02rem; }
.hero-visual { width: min(100%, 530px); padding: 0 0 3.2rem; }
.hero-visual > img { height: 455px; border-radius: 4px 4px 64px 4px; filter: saturate(.76) contrast(1.06) brightness(.9); }
.hero-visual::after { top: -16px; right: -16px; width: 68%; height: 68%; border-color: rgba(214,191,149,.7); }
.hero-card { left: -34px; max-width: 330px; padding: 1.45rem 1.5rem; border-left: 3px solid var(--gold); box-shadow: 0 22px 48px rgba(0,0,0,.25); }
[dir="rtl"] .hero-card { right: -34px; left: auto; border-right: 3px solid var(--gold); border-left: 0; }
.hero-card p { font-size: 1.04rem; }
.pillar-strip { background: linear-gradient(90deg, #00264B, #00554E); }
.product-card { min-height: 318px; border-color: #e2e8e7; border-radius: 8px; box-shadow: 0 7px 20px rgba(8,29,52,.035); }
.product-card::before { width: 90px; height: 90px; opacity: .12; }
.product-card:hover { box-shadow: 0 20px 42px rgba(8,29,52,.13); transform: translateY(-6px); }
.product-card__tag { padding: .22rem .48rem; margin-bottom: 1.15rem; border: 1px solid #dce5e4; border-radius: 50px; background: #f9fbfa; }
.product-card h3 { max-width: 290px; font-size: 1.3rem; }
.product-card__footer { padding-top: 1rem; }
.page-intro { background: linear-gradient(120deg, #00264B 0%, #00554E 100%); }
.site-footer { background: linear-gradient(120deg, #00264B, #00554E); }
.footer-bottom { color: #aab7c0; }

@media (max-width: 820px) {
  .header-actions .icon-link { display: inline-flex; }
  .hero-grid { grid-template-columns: 1fr; gap: 2.7rem; min-height: 0; }
  .hero-copy h1 { max-width: 680px; }
  .hero-visual { justify-self: start; }
  [dir="rtl"] .hero-visual { justify-self: end; }
}
@media (max-width: 540px) {
  .brand { width: 154px; }
  .brand img { height: 42px; }
  .header-actions { gap: .5rem; }
  .header-actions .icon-link { font-size: 0; gap: 0; }
  .header-actions .icon-link span { font-size: .65rem; }
  .hero-grid { padding: 3.6rem 0 4.4rem; }
  .hero-copy h1 { font-size: clamp(2.65rem, 13.2vw, 3.6rem); }
  .hero-visual > img { height: 325px; border-radius: 3px 3px 38px 3px; }
  .hero-card { left: 0; max-width: calc(100% - 22px); }
  [dir="rtl"] .hero-card { right: 0; }
  .product-card { min-height: 285px; }
}
@media (max-width: 1050px) {
  .header-inner { grid-template-columns: 178px 1fr auto; gap: .7rem; }
  .primary-nav { gap: .8rem; }
  .header-actions .icon-link { display: none; }
  .product-grid--four { grid-template-columns: repeat(3, 1fr); }
  .admin-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 820px) {
  .container { width: min(100% - 36px, 1180px); }
  .header-inner { grid-template-columns: 1fr auto auto; min-height: 68px; }
  .brand { width: 157px; }
  .brand img { height: 43px; }
  .menu-button { display: block; order: 2; }
  .primary-nav { position: absolute; top: 68px; right: 0; left: 0; display: none; flex-direction: column; gap: 0; padding: .5rem 18px 1rem; border-bottom: 1px solid #e6e9e8; background: #fff; box-shadow: 0 15px 28px rgba(8,29,52,.09); }
  .primary-nav.is-open { display: flex; }
  .primary-nav a { padding: .7rem 0; border-bottom: 1px solid #edf0ef; }
  .primary-nav a::after { display: none; }
  .header-actions { order: 3; }
  .header-actions .button { display: none; }
  .hero-grid, .split-feature, .service-hero__grid, .service-layout, .contact-page, .product-detail__grid, .prose-grid { grid-template-columns: 1fr; }
  .hero-grid { gap: 3rem; padding: 4rem 0 5rem; }
  .hero-copy h1 { max-width: 680px; }
  .hero-visual { justify-self: stretch; width: 100%; padding-right: 25px; }
  [dir="rtl"] .hero-visual { padding-right: 0; padding-left: 25px; }
  .hero-visual > img { height: 390px; }
  .hero-card { left: 0; }
  [dir="rtl"] .hero-card { right: 0; }
  .pillars { grid-template-columns: repeat(2, 1fr); }
  .pillars > div:nth-child(3) { border-left: 1px solid rgba(255,255,255,.13); }
  [dir="rtl"] .pillars > div:nth-child(3) { border-right: 1px solid rgba(255,255,255,.13); border-left: 0; }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .split-feature { gap: 3rem; }
  .split-feature__copy { max-width: 640px; }
  .product-detail__visual { position: relative; top: auto; min-height: 400px; }
  .cart-layout, .checkout-layout { grid-template-columns: 1fr; }
  .order-summary { position: relative; top: auto; }
  .service-hero__grid { gap: 2rem; min-height: auto; }
  .service-hero__image img { height: 330px; }
  .service-layout { gap: 3rem; }
  .contact-details { max-width: 600px; }
  .account-layout { grid-template-columns: 1fr; }
  .account-side { order: -1; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 540px) {
  body { font-size: 15px; }
  .container { width: min(100% - 30px, 1180px); }
  h1 { font-size: clamp(2.45rem, 12vw, 3.6rem); }
  h2 { font-size: clamp(1.9rem, 9vw, 2.7rem); }
  .header-actions { gap: .55rem; }
  .hero-actions, .interest-form { flex-direction: column; align-items: stretch; }
  .hero-visual { padding-right: 10px; }
  [dir="rtl"] .hero-visual { padding-right: 0; padding-left: 10px; }
  .hero-visual > img { height: 315px; }
  .hero-card { max-width: calc(100% - 10px); padding: 1.15rem; }
  .hero-card p { font-size: 1rem; }
  .pillars > div { min-height: 74px; padding: .75rem; }
  .section-heading, .store-toolbar, .library-head, .library-item { align-items: flex-start; flex-direction: column; }
  .section-heading { gap: 1rem; }
  .product-grid, .product-grid--four, .admin-grid, .detail-list, .values, .form-grid { grid-template-columns: 1fr; }
  .product-card { min-height: 270px; }
  .store-search { width: 100%; }
  .product-detail__visual { min-height: 330px; padding: 1.35rem; }
  .document-stack { width: 57%; height: 210px; margin-top: 1.5rem; }
  .document-stack span { height: 180px; }
  .cart-item { gap: .7rem; }
  .cart-item__side { align-items: end; }
  .empty-state, .success-card, .viewer-message { padding: 2rem 1.2rem; }
  .viewer-shell { padding: .6rem; }
  .viewer-topbar { align-items: start; flex-wrap: wrap; font-size: .68rem; }
  .viewer-document { min-height: 700px; padding: 2rem 1.4rem; }
  .viewer-watermark { font-size: .87rem; }
  .service-hero__image img { height: 280px; }
  .footer-grid { grid-template-columns: 1fr; gap: 1.6rem; }
  .footer-bottom { flex-direction: column; }
  .flash-stack { top: 80px; right: 15px; width: calc(100% - 30px); }
  [dir="rtl"] .flash-stack { right: auto; left: 15px; }
}

/* 2026 production UX refinement */
:root { --radius-sm: 8px; --radius-md: 16px; --radius-lg: 28px; }
body { text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; }
.brand img { width: auto; max-width: 100%; object-fit: contain; }
.button { border-radius: var(--radius-sm); box-shadow: 0 8px 22px rgba(8,29,52,.08); }
.button:focus-visible, a:focus-visible, summary:focus-visible { outline: 3px solid rgba(187,152,96,.65); outline-offset: 4px; }
.hero-copy, .hero-visual, .product-card, .split-feature__copy { min-width: 0; }
.hero-copy h1, .page-intro h1, .service-hero h1 { overflow-wrap: anywhere; }
.product-card, .contact-form, .purchase-box, .dashboard-panel { border-radius: var(--radius-md); }
.product-card { isolation: isolate; }
.account-register { margin-top: 1.15rem; border: 1px solid var(--line); border-radius: var(--radius-sm); }
.account-register summary { cursor: pointer; padding: .85rem 1rem; color: var(--navy); font-size: .82rem; font-weight: 700; }
.account-register form { padding: 0 1rem 1rem; }
.account-register[open] summary { border-bottom: 1px solid var(--line); margin-bottom: 1rem; }
.viewer-document { border-radius: 4px; }
@media (max-width: 820px) {
  .site-header { backdrop-filter: blur(20px); }
  .header-inner { grid-template-columns: minmax(0,1fr) auto auto; }
  .brand { min-width: 0; }
  .hero-grid { overflow: hidden; }
  .hero-copy h1 { font-size: clamp(2.7rem, 10vw, 4.25rem); }
  .hero-visual { padding-inline: 0 18px; }
  [dir="rtl"] .hero-visual { padding-inline: 18px 0; }
  .hero-card { width: min(88%, 340px); }
  .primary-nav { max-height: calc(100vh - 68px); overflow-y: auto; }
}
@media (max-width: 540px) {
  .header-inner { gap: .35rem; }
  .brand { width: min(145px, 42vw); }
  .language-toggle { padding: .45rem; }
  .menu-button { width: 38px; padding: 6px; }
  .hero { min-height: auto; }
  .hero-grid { padding-top: 3rem; }
  .hero-copy h1 { font-size: clamp(2.45rem, 12.5vw, 3.45rem); line-height: 1.02; }
  [dir="rtl"] .hero-copy h1 { line-height: 1.27; }
  .hero-lead { font-size: .98rem; }
  .hero-note { margin-top: 2.25rem; }
  .hero-visual > img { height: 300px; }
  .hero-card { position: relative; inset: auto !important; width: calc(100% - 14px); max-width: none; margin: -34px 0 0 14px; }
  [dir="rtl"] .hero-card { margin-right: 14px; margin-left: 0; }
  .pillars { grid-template-columns: 1fr 1fr; }
  .pillars strong { font-size: .72rem; }
  .account-panel, .account-side { padding: 1.45rem; }
}

/* Premium commerce product cards */
.product-card {
  position: relative;
  display: flex;
  min-height: 420px;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  padding: 1.5rem;
  border: 1px solid rgba(12,43,78,.1);
  border-radius: 24px;
  background: linear-gradient(180deg,rgba(255,255,255,.99),rgba(247,249,249,.98));
  box-shadow: 0 10px 30px rgba(12,43,78,.08);
  transition: transform .28s ease,box-shadow .28s ease,border-color .28s ease;
}
.product-card::before {
  position: absolute;
  inset: 0;
  content: '';
  background: radial-gradient(circle at top right,rgba(187,152,96,.12),transparent 31%);
  pointer-events: none;
}
.product-card:hover {
  border-color: rgba(187,152,96,.38);
  box-shadow: 0 22px 52px rgba(12,43,78,.15);
  transform: translateY(-8px);
}
.product-card__head {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .8rem;
  margin-bottom: 1.35rem;
}
.product-card__category,
.product-card__lang {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: .45rem .82rem;
  border-radius: 999px;
  font-size: .73rem;
  font-weight: 700;
}
.product-card__category {
  color: var(--teal);
  background: rgba(11,104,101,.08);
}
.product-card__lang {
  color: var(--muted);
  border: 1px solid rgba(12,43,78,.1);
  background: rgba(255,255,255,.78);
}

.product-card__content {
  position: relative;
  z-index: 1;
  flex: 1;
}
.product-card__title {
  max-width: 100%;
  margin: 0 0 .85rem;
  color: var(--navy);
  font-size: clamp(1.35rem,2vw,1.75rem);
  line-height: 1.28;
  letter-spacing: -.025em;
}
[dir="rtl"] .product-card__title {
  line-height: 1.48;
  letter-spacing: 0;
}
.product-card__summary {
  min-height: 84px;
  margin: 0 0 1.15rem;
  overflow: hidden;
  color: var(--muted);
  font-size: .92rem;
  line-height: 1.75;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}
.product-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
  margin-top: .9rem;
}
.product-chip {
  display: inline-flex;
  align-items: center;
  padding: .5rem .78rem;
  border: 1px solid rgba(12,43,78,.07);
  border-radius: 999px;
  color: var(--navy);
  background: rgba(12,43,78,.045);
  font-size: .72rem;
  font-weight: 700;
}

.product-card__footer {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.3rem;
  margin-top: 1.35rem;
  border-top: 1px solid rgba(12,43,78,.09);
}
.product-card__price-wrap {
  display: flex;
  flex-direction: column;
  gap: .18rem;
}
.product-card__price-label {
  color: var(--muted);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.product-card__price {
  color: var(--navy);
  font-size: 1.75rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -.03em;
}
.product-card__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .45rem;
  min-width: 142px;
  min-height: 48px;
  padding: .82rem 1.05rem;
  border-radius: 14px;
  color: #fff;
  background: var(--navy);
  box-shadow: 0 10px 24px rgba(12,43,78,.18);
  font-size: .82rem;
  font-weight: 800;
  transition: background .22s ease,color .22s ease,transform .22s ease;
}
.product-card__cta:hover {
  color: var(--navy-deep);
  background: var(--gold);
  transform: translateY(-2px);
}
.product-card__cta span { font-size: 1rem; }
.product-card__cta:focus-visible {
  outline: 3px solid rgba(187,152,96,.38);
  outline-offset: 3px;
}

@media (max-width: 820px) {
  .product-card { min-height: 390px; border-radius: 20px; }
  .product-card__summary { min-height: 78px; }
}
@media (max-width: 540px) {
  .product-card { min-height: auto; padding: 1.2rem; }
  .product-card__title { font-size: 1.45rem; }
  .product-card__summary { min-height: auto; -webkit-line-clamp: 3; }
  .product-card__footer { align-items: stretch; flex-direction: column; }
  .product-card__cta { width: 100%; }
}

/* Expanded launch content and mobile hardening */
.hero-copy, .hero-copy h1, .hero-copy p, .section-heading > *, .service-hero__grid > *, .product-detail__grid > * { min-width: 0; }
.hero-copy h1, .page-intro h1, .service-hero h1 { overflow-wrap: anywhere; }
.store-confidence { border-bottom: 1px solid var(--line); background: #fff; }
.trust-strip { display: grid; grid-template-columns: repeat(4, 1fr); }
.trust-strip > div { display: grid; gap: .32rem; min-height: 116px; align-content: center; padding: 1.25rem 1.35rem; border-inline-end: 1px solid var(--line); }
.trust-strip > div:first-child { border-inline-start: 1px solid var(--line); }
.trust-strip strong { color: var(--navy); font-size: .82rem; }
.trust-strip span { color: var(--muted); font-size: .73rem; line-height: 1.5; }
.service-depth { border-top: 1px solid #e6e8e5; }
.insight-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.insight-grid article { min-height: 245px; padding: 1.65rem; border: 1px solid #dde3e1; background: #fff; }
.insight-grid article > span { display: inline-flex; margin-bottom: 2rem; color: var(--gold); font-size: .7rem; font-weight: 700; }
.insight-grid h3 { max-width: 280px; color: var(--navy); font-size: 1.2rem; }
.insight-grid p { margin: 0; color: var(--muted); font-size: .86rem; }
.platform-story { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(2.5rem, 9vw, 8rem); align-items: start; }
.platform-story h2, .about-principles h2 { color: var(--navy); }
.platform-points { display: grid; gap: 0; border-top: 1px solid var(--line); }
.platform-points article { padding: 1.25rem 0; border-bottom: 1px solid var(--line); }
.platform-points h3 { margin-bottom: .35rem; color: var(--navy); }
.platform-points p { max-width: 680px; margin: 0; color: var(--muted); font-size: .88rem; }
.about-principles > div:first-child { max-width: 620px; margin-bottom: 2.4rem; }
.account-register { margin-top: 1.3rem; border-top: 1px solid var(--line); padding-top: 1rem; }
.account-register summary { cursor: pointer; color: var(--teal); font-size: .82rem; font-weight: 700; }
.account-register form { margin-top: 1rem; }
@media (max-width: 820px) {
  .trust-strip { grid-template-columns: repeat(2, 1fr); }
  .insight-grid { grid-template-columns: 1fr; }
  .insight-grid article { min-height: 0; }
  .platform-story { grid-template-columns: 1fr; gap: 2rem; }
  .hero-copy { width: 100%; max-width: 100%; overflow: hidden; }
  .hero-copy h1 { width: 100%; max-width: 100%; font-size: clamp(2.65rem, 11.5vw, 4.4rem); line-height: 1.08; }
  .hero-lead { width: 100%; max-width: 100%; }
}
@media (max-width: 540px) {
  .trust-strip { grid-template-columns: 1fr; }
  .trust-strip > div { min-height: 92px; border-inline-start: 1px solid var(--line); }
  .hero { overflow: clip; }
  .hero-grid { width: calc(100% - 30px); max-width: calc(100% - 30px); }
  .hero-copy h1 { font-size: clamp(2.45rem, 12.8vw, 3.35rem); }
  .hero-lead { font-size: .96rem; }
  .hero-visual { max-width: 100%; }
  .insight-grid article { padding: 1.35rem; }
  .insight-grid article > span { margin-bottom: 1.2rem; }
}
@media (max-width: 540px) {
  html, body { width: 100%; max-width: 100%; overflow-x: hidden; }
  .container, .hero-grid, .hero-copy, .hero-copy h1, .hero-copy p, .hero-actions, .hero-note, .hero-visual { min-width: 0 !important; max-width: 100% !important; }
  .hero-copy h1 { width: auto !important; white-space: normal !important; overflow-wrap: break-word !important; word-break: normal; }
  .hero-grid { width: min(100% - 30px, 1180px) !important; }
  .hero-visual { width: 100% !important; padding-inline: 0 !important; }
  .hero-visual::after { right: 0; left: auto; }
  [dir="rtl"] .hero-visual::after { right: auto; left: 0; }
  .hero-card { width: calc(100% - 14px); max-width: calc(100% - 14px); }
}

/* Expanded consulting and management-system pages */
.service-hero--expanded { padding: 5.5rem 0 6rem; }
.service-hero--expanded .service-hero__grid { align-items: center; gap: 5rem; }
.service-hero__copy { max-width: 690px; }
.service-hero__copy h1 { max-width: 760px; }
.service-hero__copy > p:not(.eyebrow) { max-width: 660px; font-size: 1.12rem; }
.service-hero__actions { display: flex; flex-wrap: wrap; gap: .85rem; margin-top: 2rem; }
.service-hero--expanded .service-hero__image { position: relative; }
.service-hero--expanded .service-hero__image img { min-height: 520px; object-fit: cover; }
.service-hero__stat { position: absolute; right: -1.5rem; bottom: -2rem; width: min(360px, 86%); padding: 1.45rem 1.6rem; background: var(--warm); color: var(--navy); border-left: 3px solid var(--gold); box-shadow: var(--shadow); }
[dir="rtl"] .service-hero__stat { right: auto; left: -1.5rem; border-left: 0; border-right: 3px solid var(--gold); }
.service-hero__stat strong, .service-hero__stat span { display: block; }
.service-hero__stat strong { font-family: 'Playfair Display', 'IBM Plex Sans Arabic', serif; font-size: 1.35rem; }
.service-hero__stat span { margin-top: .35rem; color: var(--muted); font-size: .92rem; }
.service-intro-band { padding: 4.25rem 0; border-bottom: 1px solid var(--line); background: var(--white); }
.service-intro-band__grid { display: grid; grid-template-columns: .7fr 2fr; gap: 4rem; align-items: start; }
.service-intro-band h2 { margin: 0 0 1rem; max-width: 760px; font-family: 'Playfair Display', 'IBM Plex Sans Arabic', serif; font-size: clamp(2.2rem, 4vw, 4.1rem); line-height: 1.08; color: var(--navy); }
.service-intro-band p:last-child { max-width: 780px; margin: 0; color: var(--muted); font-size: 1.08rem; }
.service-section-heading { align-items: end; }
.service-section-heading > p { max-width: 440px; color: var(--muted); }
.service-card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.2rem; margin-top: 3rem; }
.service-card { min-height: 290px; padding: 1.8rem; background: var(--white); border: 1px solid var(--line); box-shadow: 0 16px 40px rgba(8,29,52,.05); transition: transform .2s ease, box-shadow .2s ease; }
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.service-card > span { display: inline-flex; width: 2.35rem; height: 2.35rem; align-items: center; justify-content: center; border-radius: 50%; background: rgba(11,104,101,.09); color: var(--teal); font-weight: 700; font-size: .78rem; }
.service-card h3 { margin: 1.4rem 0 .75rem; color: var(--navy); font-size: 1.35rem; }
.service-card p { margin: 0; color: var(--muted); }
.service-process { margin-top: 2.5rem; border-top: 1px solid var(--line); }
.service-process article { display: grid; grid-template-columns: 90px 1fr; gap: 2rem; padding: 2rem 0; border-bottom: 1px solid var(--line); }
.service-process article > span { color: var(--gold); font-weight: 700; letter-spacing: .12em; }
.service-process h3 { margin: 0 0 .45rem; color: var(--navy); font-size: 1.45rem; }
.service-process p { max-width: 790px; margin: 0; color: var(--muted); }
.section--navy { background: var(--navy); color: var(--white); }
.service-deliverables-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 5rem; align-items: start; }
.service-deliverables-grid h2 { margin: .5rem 0 1rem; font-family: 'Playfair Display', 'IBM Plex Sans Arabic', serif; font-size: clamp(2.3rem, 4vw, 4.1rem); line-height: 1.08; }
.service-deliverables-grid > div:first-child > p:last-child { color: rgba(255,255,255,.72); }
.deliverable-list { border-top: 1px solid rgba(255,255,255,.2); }
.deliverable-list div { display: grid; grid-template-columns: 56px 1fr; gap: 1rem; padding: 1.25rem 0; border-bottom: 1px solid rgba(255,255,255,.18); }
.deliverable-list span { color: var(--gold-soft); font-size: .8rem; letter-spacing: .1em; }
.deliverable-list strong { font-weight: 600; }
.outcome-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.2rem; margin-top: 2.5rem; }
.outcome-grid article { padding: 2rem; border: 1px solid var(--line); background: var(--white); }
.outcome-grid span { color: var(--gold); font-weight: 700; }
.outcome-grid h3 { margin: 1rem 0 .65rem; color: var(--navy); font-size: 1.55rem; }
.outcome-grid p { margin: 0; color: var(--muted); }
.service-sectors-band { padding: 4rem 0; background: linear-gradient(120deg, var(--navy-deep), var(--teal)); color: var(--white); }
.service-sectors-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 4rem; align-items: center; }
.service-sectors-grid h2 { margin: .45rem 0 0; max-width: 560px; font-family: 'Playfair Display', 'IBM Plex Sans Arabic', serif; font-size: clamp(2rem, 3.4vw, 3.5rem); line-height: 1.08; }
.sector-tags { display: flex; flex-wrap: wrap; gap: .75rem; }
.sector-tags span { padding: .7rem 1rem; border: 1px solid rgba(255,255,255,.28); background: rgba(255,255,255,.07); border-radius: 999px; font-size: .92rem; }
.service-faq-grid { display: grid; grid-template-columns: .72fr 1.28fr; gap: 5rem; align-items: start; }
.service-faq-grid h2 { margin: .4rem 0 .8rem; max-width: 480px; font-family: 'Playfair Display', 'IBM Plex Sans Arabic', serif; font-size: clamp(2.2rem, 3.7vw, 3.8rem); line-height: 1.08; color: var(--navy); }
.service-faq-grid > div:first-child > p:last-child { color: var(--muted); }
.faq-list--service { max-width: none; }
.service-contact-grid { display: grid; grid-template-columns: 1fr .9fr; gap: 5rem; align-items: start; }
.service-contact-copy h2 { margin: .5rem 0 1rem; max-width: 720px; font-family: 'Playfair Display', 'IBM Plex Sans Arabic', serif; font-size: clamp(2.3rem, 4vw, 4.2rem); line-height: 1.08; color: var(--navy); }
.service-contact-copy > p:not(.eyebrow) { max-width: 700px; color: var(--muted); font-size: 1.05rem; }
.service-contact-points { display: grid; gap: .7rem; margin-top: 2rem; }
.service-contact-points span { position: relative; padding-inline-start: 1.5rem; color: var(--navy); font-weight: 600; }
.service-contact-points span::before { content: '✓'; position: absolute; inset-inline-start: 0; color: var(--teal); }
.service-contact-form { box-shadow: var(--shadow); }
@media (max-width: 980px) {
  .service-hero--expanded .service-hero__grid,
  .service-intro-band__grid,
  .service-deliverables-grid,
  .service-sectors-grid,
  .service-faq-grid,
  .service-contact-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .service-card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .service-hero--expanded .service-hero__image img { min-height: 430px; }
  .service-hero__stat { right: 1rem; }
  [dir="rtl"] .service-hero__stat { right: auto; left: 1rem; }
}
@media (max-width: 680px) {
  .service-hero--expanded { padding: 3.5rem 0 4.5rem; }
  .service-hero--expanded .service-hero__grid { gap: 2.5rem; }
  .service-hero__actions { display: grid; }
  .service-hero__actions .button { width: 100%; text-align: center; }
  .service-hero--expanded .service-hero__image img { min-height: 330px; }
  .service-hero__stat { position: relative; right: auto; bottom: auto; width: calc(100% - 1.5rem); margin: -2rem 0 0 auto; }
  [dir="rtl"] .service-hero__stat { left: auto; margin: -2rem auto 0 0; }
  .service-intro-band { padding: 3.25rem 0; }
  .service-intro-band__grid { gap: 1rem; }
  .service-card-grid, .outcome-grid { grid-template-columns: 1fr; }
  .service-card { min-height: auto; }
  .service-process article { grid-template-columns: 48px 1fr; gap: 1rem; }
  .service-deliverables-grid, .service-faq-grid, .service-contact-grid { gap: 2rem; }
  .sector-tags { gap: .55rem; }
  .sector-tags span { width: 100%; border-radius: 4px; }
}

/* Final mobile containment */
.service-hero--expanded,
.service-hero--expanded .service-hero__grid,
.service-hero--expanded .service-hero__copy,
.service-hero--expanded .service-hero__image,
.service-intro-band__grid,
.service-card-grid,
.service-deliverables-grid,
.service-sectors-grid,
.service-faq-grid,
.service-contact-grid { min-width: 0; max-width: 100%; }
.service-hero--expanded { overflow: hidden; }
.service-hero--expanded .service-hero__image img { display: block; width: 100%; max-width: 100%; }
.service-hero__copy h1 { width: 100%; max-width: 100%; }

@media (max-width: 680px) {
  .service-hero--expanded .service-hero__grid { width: min(100% - 30px, 1180px); }
  .service-hero__copy h1 { font-size: clamp(2.15rem, 10vw, 3.05rem); line-height: 1.22; overflow-wrap: anywhere; }
  [dir="rtl"] .service-hero__copy h1 { line-height: 1.35; }
  .service-hero__copy > p:not(.eyebrow) { max-width: 100%; font-size: 1rem; }
  .service-hero__stat { box-sizing: border-box; max-width: 100%; }
}

@media (max-width: 540px) {
  .header-inner {
    grid-template-columns: minmax(0, 1fr) 38px auto;
    grid-template-areas: "brand menu actions";
    width: min(100% - 24px, 1180px);
  }
  .brand { grid-area: brand; justify-self: start; width: min(132px, 38vw); overflow: hidden; }
  .menu-button { grid-area: menu; justify-self: center; }
  .header-actions { grid-area: actions; justify-self: end; min-width: 0; }
  [dir="rtl"] .header-inner {
    grid-template-columns: auto 38px minmax(0, 1fr);
    grid-template-areas: "actions menu brand";
  }
  [dir="rtl"] .brand { justify-self: end; }
  [dir="rtl"] .header-actions { justify-self: start; }
  .header-actions .icon-link { display: none; }
  .header-actions .language-toggle { display: inline-flex; }
}

/* Trust, expertise and sample sections */
.founder-section { background: #fff; }
.founder-layout { display: grid; grid-template-columns: .92fr 1.08fr; gap: clamp(2rem, 8vw, 7rem); align-items: center; }
.founder-media { position: relative; }
.founder-media::after { position: absolute; content: ''; inset: 24px -24px -24px 24px; z-index: -1; border: 1px solid rgba(187,152,96,.55); }
[dir="rtl"] .founder-media::after { inset: 24px 24px -24px -24px; }
.founder-media img { width: 100%; height: 480px; object-fit: cover; filter: saturate(.78) contrast(1.03); }
.founder-copy h2 { max-width: 660px; color: var(--navy); }
.founder-copy > p:not(.eyebrow) { max-width: 680px; color: var(--muted); }
.founder-highlights { display: flex; flex-wrap: wrap; gap: .55rem; margin-top: 1.5rem; }
.founder-highlights span { padding: .48rem .7rem; border: 1px solid #d8e1df; color: var(--navy); background: #fbfcfb; font-size: .72rem; font-weight: 700; }
.expertise-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.expertise-grid article { min-height: 160px; padding: 1.35rem; background: #fff; border: 1px solid #e0e6e4; }
.expertise-grid article span { color: var(--gold); font-size: .7rem; font-weight: 700; }
.expertise-grid h3 { margin: 2.1rem 0 0; color: var(--navy); font-size: 1.02rem; }
.market-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.market-grid article { padding: 1.7rem; border-top: 3px solid var(--teal); background: #f7f8f6; }
.market-grid strong { display: block; margin-bottom: .6rem; color: var(--navy); font-size: 1.35rem; }
.market-grid p { margin: 0; color: var(--muted); font-size: .84rem; }
.methodology-band { padding: clamp(4rem, 8vw, 7rem) 0; color: #fff; background: linear-gradient(120deg, #00264B, #00554E); }
.methodology-head { max-width: 760px; margin-bottom: 2.5rem; }
.methodology-head h2 { margin: 0; }
.methodology-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.methodology-grid article { min-height: 210px; padding: 1.35rem; border: 1px solid rgba(255,255,255,.16); background: rgba(255,255,255,.045); }
.methodology-grid article > span { color: var(--gold-soft); font-size: .7rem; font-weight: 700; }
.methodology-grid h3 { margin: 2.2rem 0 .65rem; color: #fff; }
.methodology-grid p { margin: 0; color: #cbd6dc; font-size: .8rem; }
.sample-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.sample-grid article { display: flex; min-height: 220px; flex-direction: column; justify-content: space-between; padding: 1.5rem; border: 1px solid #dce3e1; background: linear-gradient(145deg,#fff,#f5f7f5); }
.sample-grid article > div > span { color: var(--teal); font-size: .66rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.sample-grid h3 { margin: .75rem 0 .55rem; color: var(--navy); font-size: 1.25rem; }
.sample-grid p { color: var(--muted); font-size: .84rem; }
.certification-band { padding: 3.5rem 0; color: #fff; background: var(--teal); }
.certification-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: end; }
.certification-layout h2 { margin: 0; font-size: clamp(2rem,4vw,3.4rem); }
.certification-layout > p { margin: 0; color: #d9e8e6; }
.sample-document-section { background: #eef1ef; }
.sample-document { position: relative; max-width: 920px; padding: clamp(2rem,6vw,5rem); margin: 0 auto; overflow: hidden; background: #fff; box-shadow: var(--shadow); }
.sample-document__stamp { position: absolute; top: 28px; right: -36px; padding: .45rem 3.2rem; color: #fff; background: var(--gold); font-size: .7rem; font-weight: 700; transform: rotate(38deg); }
[dir="rtl"] .sample-document__stamp { right: auto; left: -36px; transform: rotate(-38deg); }
.sample-document h2 { color: var(--navy); }
.sample-document > p:not(.eyebrow) { color: var(--muted); }
.sample-table { display: grid; margin: 2rem 0; border: 1px solid var(--line); }
.sample-table > div { display: grid; grid-template-columns: .42fr 1fr; gap: 1rem; padding: 1rem; border-bottom: 1px solid var(--line); }
.sample-table > div:last-child { border-bottom: 0; }
.sample-table strong { color: var(--navy); font-size: .8rem; }
.sample-table span { color: var(--muted); font-size: .8rem; }
.sample-document__cta { padding-top: 1.5rem; border-top: 1px solid var(--line); }
.sample-document__cta p { color: var(--muted); }
@media (max-width: 820px) {
  .founder-layout, .certification-layout { grid-template-columns: 1fr; }
  .expertise-grid, .market-grid { grid-template-columns: repeat(2, 1fr); }
  .methodology-grid { grid-template-columns: repeat(2, 1fr); }
  .founder-media img { height: 390px; }
}
@media (max-width: 540px) {
  .expertise-grid, .market-grid, .methodology-grid, .sample-grid { grid-template-columns: 1fr; }
  .founder-media img { height: 310px; }
  .sample-table > div { grid-template-columns: 1fr; gap: .3rem; }
}

/* Sultation palette and spacing system — 2026-08-03 */
:root {
  --navy: #00264B;
  --navy-deep: #00264B;
  --teal: #00554E;
  --gold: #B3B5B4;
  --gold-soft: #D8DAD9;
  --ink: #20313F;
  --muted: #617078;
  --line: #D8DCDA;
  --warm: #F7F7F5;
  --white: #FFFFFF;
  --shadow: 0 20px 50px rgba(0,38,75,.12);
}
html { overflow-x: hidden; }
body { line-height: 1.75; overflow-wrap: break-word; }
p, li, dd, td, th, label, a, button, input, textarea, select { word-spacing: normal; }
p { margin-bottom: 1rem; }
h1, h2, h3 { margin-bottom: .85em; }
h1, h2 { line-height: 1.14; }
h3 { line-height: 1.42; }
[dir="rtl"] body { line-height: 1.9; }
[dir="rtl"] h1, [dir="rtl"] h2 { line-height: 1.45; }
[dir="rtl"] h3 { line-height: 1.6; }
.hero, .page-intro, .service-hero, .platform-hero, .dashboard-hero, .site-footer,
.methodology-band, .section--navy, .dashboard-gate { background-color: var(--navy); }
.hero { background-image: linear-gradient(130deg, #00264B 0%, #00264B 58%, #00554E 100%); }
.pillar-strip { background: linear-gradient(90deg, #00264B, #00554E); }
.page-intro { background: linear-gradient(120deg, #00264B, #00554E); }
.site-footer { background: linear-gradient(120deg, #00264B, #00554E); }
.platform-hero, .dashboard-gate { background-image: radial-gradient(circle at 80% 5%, rgba(0,85,78,.72), transparent 35%), linear-gradient(120deg,#00264B,#00554E); }
.methodology-band { background: linear-gradient(120deg,#00264B,#00554E); }
.service-sectors-band { background: linear-gradient(120deg,#00264B,#00554E); }
.button--gold { color: #00264B; background: #B3B5B4; }
.button--gold:hover { color: #fff; background: #00554E; }
.eyebrow--light, .pillars span, .methodology-grid article > span,
.deliverable-list span, .dashboard-user small, .footer-title { color: #D8DAD9; }
.hero-note span, .viewer-callout, .legal-note, .founder-media::after { border-color: #B3B5B4; }
.product-card::before { background: radial-gradient(circle at top right,rgba(179,181,180,.18),transparent 31%); }
.product-card:hover { border-color: rgba(0,85,78,.38); }
.section, .page-intro, .service-hero--expanded, .service-intro-band,
.platform-hero, .methodology-band, .certification-band { scroll-margin-top: 86px; }
.hero-copy > *, .split-feature__copy > *, .founder-copy > *, .service-hero__copy > *,
.page-intro .container > *, .service-contact-copy > *, .legal-copy > * { max-width: 100%; }
.hero-copy p, .split-feature__copy p, .founder-copy p, .service-hero__copy p,
.service-intro-band p, .service-card p, .methodology-grid p, .market-grid p,
.sample-grid p, .product-card__summary, .faq-list p, .legal-copy p { line-height: 1.8; }
[dir="rtl"] .hero-copy p, [dir="rtl"] .split-feature__copy p, [dir="rtl"] .founder-copy p,
[dir="rtl"] .service-hero__copy p, [dir="rtl"] .service-intro-band p,
[dir="rtl"] .service-card p, [dir="rtl"] .methodology-grid p,
[dir="rtl"] .market-grid p, [dir="rtl"] .sample-grid p,
[dir="rtl"] .product-card__summary, [dir="rtl"] .faq-list p, [dir="rtl"] .legal-copy p { line-height: 2; }
.hero-copy h1, .page-intro h1, .service-hero h1, .section-heading h2,
.founder-copy h2, .service-intro-band h2, .service-contact-copy h2 { text-wrap: balance; }
.product-card__title, .product-card__summary, .service-card h3, .market-grid strong,
.methodology-grid h3, .sample-grid h3 { overflow-wrap: anywhere; }
