/* Ecomnorme site v4 — the feature pages and the legal pages (site.py), and the footer shared by every page.
   Same identity as the landing: an ink opening with the light-blue stage light, glass, the two rules, the pink brand button. */

/* the feature page's opening */
.f-hero { text-align: center; padding-bottom: 72px; }
@media (min-width: 1024px) { .f-hero { padding-bottom: 96px; } }
.f-hero .ey { color: #A8ACB5; }
.fh-cta { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 10px 22px; margin-top: 28px; }
.fh-link { color: #D7D9DE; font-size: 15px; text-underline-offset: 4px; }
.fh-link:hover { color: #fff; }
.fh-ticks { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 18px; margin: 18px 0 0; padding: 0; font-size: 14px; color: #A8ACB5; }
.fh-ticks li { display: flex; align-items: center; gap: 6px; }
.fh-ticks svg { width: 16px; height: 16px; fill: none; stroke: #7CC49A; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }

/* a chapter of «من قريب» on its own ink band, right after the opening */
.deep.one { padding-block: 0 88px; border-radius: 0; margin-top: -1px; }
.deep.one .dc { margin-top: 0; }
/* a gallery card, large, on the white */
.feat.one { padding-block: 72px 24px; }
.bento.bold.one { display: block; max-width: 900px; margin: 0 auto; }
.bento.bold.one .bc { min-height: 460px; }
@media (min-width: 900px) { .bento.bold.one .bc { flex-direction: row; } .bento.bold.one .bc .cap { order: 0; flex: 0 0 42%; padding: 40px 40px 40px 0; align-self: center; } .bento.bold.one .bc .viz { flex: 1; } }

/* points and steps */
.pts { display: grid; gap: 14px; max-width: 1040px; margin: 0 auto; }
@media (min-width: 720px) { .pts { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .pts { grid-template-columns: repeat(3, 1fr); } }
.pt { padding: 24px; border-radius: 22px; background: rgb(255 255 255 / .75); box-shadow: inset 0 1px 0 #fff, 0 0 0 1px rgb(22 27 37 / .07), 0 20px 40px -28px rgb(22 27 37 / .3); }
.pt h3 { margin: 0; font-size: 18px; font-weight: 700; line-height: 1.4; }
.pt p { margin: 10px 0 0; font-size: 15.5px; line-height: 1.8; color: var(--ink-500); }
.pt ul { margin: 12px 0 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.pt li { position: relative; padding-inline-start: 18px; font-size: 15px; line-height: 1.6; }
.pt li::before { content: ""; position: absolute; inset-inline-start: 2px; top: .62em; width: 7px; height: 7px; border-radius: 50%; background: var(--ink-900); }
.sts { list-style: none; margin: 0 auto; padding: 0; display: grid; gap: 14px; max-width: 1040px; }
@media (min-width: 860px) { .sts { grid-template-columns: repeat(3, 1fr); } }
.sts li { padding: 24px; border-radius: 22px; background: #161B25; color: #fff; }
.sts .u-n { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: rgb(255 255 255 / .1); font-size: 15px; font-weight: 700; }
.sts h3 { margin: 16px 0 0; font-size: 18px; font-weight: 700; line-height: 1.4; }
.sts p { margin: 8px 0 0; font-size: 15px; line-height: 1.8; color: #A8ACB5; }

/* the legal pages: a short ink band under the bar, then the document */
.legal-band { height: 96px; background: #0E1219; }
@media (min-width: 1024px) { .legal-band { height: 112px; } }
.legal { padding-top: 40px; }

/* the footer (every page): Ecomnorme's line and button, the site's pages, where Ecomnorme is available, the fine print */
.sf { padding-block: 56px 32px; background: #fff; border-top: 1px solid #EEF0F3; font-size: 14.5px; }
.sf-top { display: grid; gap: 36px; }
@media (min-width: 960px) { .sf-top { grid-template-columns: 4fr 8fr; gap: 56px; } }
.sf-brand img { display: block; height: 20px; width: auto; }
.sf-brand p { margin: 14px 0 18px; font-size: 16px; color: var(--ink-500); }
.sf-cols { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px 20px; }
@media (min-width: 720px) { .sf-cols { grid-template-columns: repeat(4, 1fr); } }
.sf-cols div { display: flex; flex-direction: column; gap: 10px; }
.sf-h { margin: 0 0 4px; font-size: 13px; font-weight: 700; color: var(--ink-900); }
.sf-cols a { color: var(--ink-500); text-decoration: none; min-height: 24px; }
.sf-cols a:hover { color: var(--ink-900); text-decoration: underline; text-underline-offset: 3px; }
.sf-on { margin-top: 40px; padding-top: 28px; border-top: 1px solid #EEF0F3; }
.sf-stores { list-style: none; margin: 12px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.sf-stores li { display: flex; flex-direction: column; justify-content: center; min-width: 120px; min-height: 48px; padding: 6px 16px; border-radius: 12px;
  background: #161B25; color: #fff; line-height: 1.25; }
.sf-stores small { font-size: 11.5px; color: #A8ACB5; } .sf-stores b { font: 700 15px "Easycod", var(--font); }
.sf-bot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; margin-top: 32px; padding-top: 20px; border-top: 1px solid #EEF0F3; font-size: 13px; color: var(--ink-500); }
.sf-bot p { margin: 0; } .sf-bot a { color: var(--ink-500); }

/* the bar's menus (nav.js): «المنصة» lists the site's pages under the bar; on a phone, a menu button opens them in a sheet */
.nav .dd { position: relative; }
.dd-b { display: inline-flex; align-items: center; gap: 4px; min-height: 36px; padding: 8px 12px; border: 0; border-radius: 8px; background: none; font: inherit; font-size: 14px; color: var(--text-secondary); cursor: pointer; }
.dd-b svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; transition: transform .2s; }
.dd-b[aria-expanded="true"] svg { transform: rotate(180deg); }
.dd-b:hover { color: var(--text-primary); background: color-mix(in srgb, var(--text-primary) 5%, transparent); }
.nav.on-dark .dd-b { color: #C9CCD3; } .nav.on-dark .dd-b:hover { color: #fff; background: rgb(255 255 255 / .08); }
.dd-b:focus-visible { outline: 2px solid currentColor; outline-offset: 2px; }
.dd-p { position: absolute; top: calc(100% + 14px); inset-inline-start: -12px; z-index: 60; display: grid; grid-template-columns: repeat(2, minmax(220px, 1fr)); gap: 4px; padding: 10px; border-radius: 18px;
  background: rgb(255 255 255 / .97); box-shadow: 0 0 0 1px rgb(22 27 37 / .08), 0 24px 48px -16px rgb(22 27 37 / .35); }
.dd-p[hidden] { display: none; }
.dd-p a { display: flex; flex-direction: column; gap: 2px; padding: 10px 12px; border-radius: 12px; text-decoration: none; color: var(--ink-900); }
.dd-p a:hover, .dd-p a:focus-visible { background: #F3F4F6; outline: none; }
.dd-p b { font-size: 14.5px; font-weight: 600; } .dd-p small { font-size: 12.5px; color: var(--ink-500); }
.nav-menu { display: grid; place-items: center; width: 40px; height: 40px; margin-inline-start: 6px; border: 0; border-radius: 10px; background: none; color: inherit; cursor: pointer; }
.nav-menu svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.nav.on-dark .nav-menu { color: #fff; }
@media (min-width: 900px) { .nav-menu { display: none; } }
.m-sheet { pointer-events: auto; max-width: 1160px; margin: 8px auto 0; padding: 12px; border-radius: 18px; display: grid; gap: 2px; max-height: calc(100vh - 90px); overflow: auto;
  background: rgb(255 255 255 / .98); box-shadow: 0 0 0 1px rgb(22 27 37 / .08), 0 24px 48px -16px rgb(22 27 37 / .35); }
.m-sheet[hidden] { display: none; }
.m-sheet a { display: flex; align-items: center; min-height: 44px; padding-inline: 12px; border-radius: 10px; color: var(--ink-900); text-decoration: none; font-size: 15.5px; }
.m-sheet a:hover { background: #F3F4F6; }
.m-h { margin: 10px 12px 4px; font-size: 12.5px; font-weight: 700; color: var(--ink-500); }
.more { display: inline-flex; align-items: center; gap: 6px; margin-top: 12px; font-size: 14.5px; font-weight: 600; color: inherit; text-decoration: underline; text-underline-offset: 4px; }
.bc .cap .more { color: inherit; }
/* the store badges, as Tassyir shows them: black, the company's mark, two lines (owner 2026-12-05) */
.sf-stores { list-style: none; margin: 20px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, max-content); gap: 8px; direction: ltr; justify-content: end; }
.sf-stores li { display: flex; flex-direction: row; justify-content: flex-start; align-items: center; gap: 8px; min-width: 0; min-height: 44px; padding: 6px 12px 6px 10px; border-radius: 9px; background: #000; color: #fff; box-shadow: inset 0 0 0 1px #3A3D44; }
.sf-stores svg { width: 22px; height: 22px; flex: none; }
.sf-stores span { display: flex; flex-direction: column; line-height: 1.15; }
.sf-stores small { font: 500 9.5px/1.2 -apple-system, "Segoe UI", Roboto, sans-serif; color: #fff; letter-spacing: .02em; }
.sf-stores b { font: 600 15px/1.2 -apple-system, "Segoe UI", Roboto, sans-serif; color: #fff; }
@media (max-width: 400px) { .sf-stores { grid-template-columns: repeat(2, 1fr); justify-content: stretch; } }

/* White cards on the white, as light glass (owner 2026-12-05: «البطاقات البيضاء فوق الخلفية البيضاء أعطيها تأثير كلاسي لكن خفيف»):
   behind each group of cards a faint still light (ink grey and a breath of pink), and each card a pane of frosted white — a
   little see-through, a bright top edge, a hairline and a soft shadow. Every page that shows white cards on the white. */
.fqs, .pts, .xts, .crs, .rls, .cmp, .faq { position: relative; isolation: isolate; }
.fqs::before, .pts::before, .xts::before, .crs::before, .rls::before, .faq::before { content: ""; position: absolute; inset: -36px -56px; z-index: -1; pointer-events: none;
  background: radial-gradient(30% 40% at 24% 36%, rgb(22 27 37 / .09), transparent 70%), radial-gradient(26% 36% at 76% 64%, rgb(235 72 94 / .07), transparent 70%), radial-gradient(32% 30% at 52% 96%, rgb(107 113 126 / .09), transparent 70%); }
.fq, .pt, .xt, .cr-card, .rl, .cmp, .faq details, .sp-ph {
  background: linear-gradient(160deg, rgb(255 255 255 / .82), rgb(255 255 255 / .62));
  box-shadow: inset 0 1px 0 #fff, inset 0 0 0 1px rgb(255 255 255 / .6), 0 0 0 1px rgb(22 27 37 / .06), 0 18px 36px -26px rgb(22 27 37 / .28); }
section.faq > .wrap::before { content: none; }

/* Ecomnorme's accounts in the footer's last row (2026-12-05): small marks with their names for screen readers, a 40 px tap */
.sf-end { display: flex; align-items: center; gap: 12px; }
.sf-soc { list-style: none; display: flex; gap: 2px; margin: 0; padding: 0; }
.sf-soc a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; color: var(--ink-500); }
.sf-soc a:hover { color: var(--ink-900); background: #F3F4F6; }
.sf-soc a:focus-visible { outline: 2px solid var(--ink-900); outline-offset: 2px; }
.sf-soc svg { width: 20px; height: 20px; }
