/* ═══════════════════════════════════════════════════════════════════════════
   Bliska Ltd. — company site (9 languages, LTR + RTL)
   Colours and type follow the Bliska Brand Identity Guidelines v1.0.
   Layout: one screen, no page scroll. The frame is exactly the viewport; the
   menu swaps panels inside it. Without JavaScript the panels simply stack.
   Direction-aware: inline-start/end everywhere, so Arabic and Darija mirror.
   ═══════════════════════════════════════════════════════════════════════════ */

/* ── Fonts (all OFL, self-hosted; browsers fetch only the ranges in use) ── */
@font-face { font-family: "Inter"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url("../fonts/inter-latin-opsz-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url("../fonts/inter-latin-ext-opsz-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url("../fonts/inter-cyrillic-opsz-normal.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url("../fonts/inter-cyrillic-ext-opsz-normal.woff2") format("woff2");
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F; }
@font-face { font-family: "Almarai"; font-weight: 400; font-display: swap; src: url("../fonts/Almarai-Regular.woff2") format("woff2"); }
@font-face { font-family: "Almarai"; font-weight: 700; font-display: swap; src: url("../fonts/Almarai-Bold.woff2") format("woff2"); }
@font-face { font-family: "Almarai"; font-weight: 800; font-display: swap; src: url("../fonts/Almarai-ExtraBold.woff2") format("woff2"); }
@font-face { font-family: "Noto Sans Tifinagh"; font-weight: 400; font-display: swap;
  src: url("../fonts/noto-sans-tifinagh-tifinagh-400-normal.woff2") format("woff2");
  unicode-range: U+02C7, U+0301-0302, U+0304, U+0306-0307, U+0309, U+0323, U+0331, U+200C-200D, U+202E, U+25CC, U+2D30-2D7F; }

:root {
  --green: #5b9b65; --teal: #276c65; --navy: #1f3a6b; --navy-deep: #14315f; --ink: #1a2e35;
  --sage: #a9cbae; --mint: #e7f1e8; --sky: #e4e9f2; --slate: #5e6e75; --paper: #f7f8f5; --white: #fff;
  --line: #e2e6e1; --line-strong: #cfd6d0;
  --grad-green: linear-gradient(135deg, var(--green), var(--teal));
  --grad-teal-navy: linear-gradient(135deg, var(--teal), var(--navy));
  --radius: 18px; --gutter: clamp(16px, 3.2vw, 48px);
  --shadow: 0 1px 2px rgba(26, 46, 53, .05), 0 12px 32px -18px rgba(26, 46, 53, .28);
  --font: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --track-tight: -.03em; --track-display: -.045em; --track-caps: .16em;
  color-scheme: light;
}
/* Arabic script (Arabic, Darija): Almarai, no negative tracking, no caps. */
:lang(ar), :lang(ary) { --font: "Almarai", "Inter", system-ui, sans-serif; --track-tight: 0; --track-display: 0; --track-caps: 0; }
/* Tifinagh (Amazigh): Noto Sans Tifinagh, Inter for Latin bits. */
:lang(zgh) { --font: "Noto Sans Tifinagh", "Inter", system-ui, sans-serif; --track-tight: 0; --track-display: -.01em; --track-caps: .04em; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 400 16px/1.55 var(--font); font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
:lang(ar) body, :lang(ary) body { line-height: 1.7; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--navy); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--teal); }
:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3, p, dl, dd, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
[dir="ltr"] { unicode-bidi: isolate; }

.skip { position: absolute; inset-inline-start: -9999px; top: 8px; z-index: 10; padding: 8px 14px; background: var(--ink); color: #fff; border-radius: 8px; }
.skip:focus { inset-inline-start: 8px; }

/* ── Frame ─────────────────────────────────────────────────────────────── */
.frame { display: grid; grid-template-rows: auto 1fr auto; min-height: 100vh; }
html.js, html.js body { height: 100%; overflow: hidden; }
html.js .frame { height: 100vh; height: 100dvh; min-height: 0; }

/* ── Header ────────────────────────────────────────────────────────────── */
.top {
  position: relative; z-index: 5;
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 20px;
  padding: 14px var(--gutter); padding-top: max(14px, env(safe-area-inset-top));
  border-bottom: 1px solid var(--line); background: rgba(247, 248, 245, .94);
}
.brand { display: inline-flex; border-radius: 8px; }
.brand img { height: 34px; width: auto; }
.nav { display: flex; justify-content: center; gap: 4px; }
.nav a {
  padding: 8px 14px; border-radius: 999px; color: var(--slate);
  font-size: .92rem; font-weight: 550; text-decoration: none; white-space: nowrap;
  transition: color .15s ease, background-color .15s ease;
}
.nav a:hover { color: var(--ink); background: rgba(26, 46, 53, .05); }
.nav a[aria-current="page"] { color: var(--navy); background: var(--sky); font-weight: 650; }
.top__end { display: flex; align-items: center; gap: 10px; }

/* Language menu: <details>, works without JavaScript. */
.lang { position: relative; }
.lang summary {
  display: inline-flex; align-items: center; gap: 6px; min-width: 44px; height: 40px; padding: 0 12px;
  border: 1px solid var(--line-strong); border-radius: 10px; cursor: pointer; list-style: none;
  color: var(--ink); font-size: .85rem; font-weight: 650; user-select: none;
}
.lang summary::-webkit-details-marker { display: none; }
.lang summary::after { content: ""; width: 6px; height: 6px; border-inline-end: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-2px) rotate(45deg); opacity: .6; }
.lang[open] summary, .lang summary:hover { border-color: var(--ink); }
.lang__menu {
  position: absolute; inset-inline-end: 0; top: calc(100% + 8px); z-index: 20; min-width: 190px; padding: 6px;
  background: var(--white); border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 18px 40px -16px rgba(26, 46, 53, .35);
}
.lang__menu a { display: block; padding: 9px 12px; border-radius: 8px; color: var(--ink); text-decoration: none; font-size: .92rem; }
.lang__menu span:lang(ar), .lang__menu span:lang(ary) { font-family: "Almarai", sans-serif; }
.lang__menu span:lang(zgh) { font-family: "Noto Sans Tifinagh", sans-serif; }
.lang__menu a:hover { background: var(--paper); }
.lang__menu a { display: flex; align-items: center; gap: 10px; }
/* Flags: 4:3, hairline frame so white areas (e.g. the UK flag) stay visible. */
.flag { flex: 0 0 auto; width: 20px; height: 15px; border-radius: 3px; object-fit: cover; box-shadow: 0 0 0 1px rgba(26, 46, 53, .14); }
.lang summary .flag { margin-inline-end: 2px; }

.lang__menu a[aria-current="true"] { background: var(--sky); color: var(--navy); font-weight: 650; }

/* ── Buttons ───────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 20px; border-radius: 12px; border: 1px solid transparent;
  font-size: .95rem; font-weight: 600; line-height: 1.2; text-decoration: none; white-space: nowrap;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease, transform .15s ease;
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--navy); color: #fff; }
.btn--primary:hover { background: var(--navy-deep); color: #fff; }
.btn--ghost { border-color: var(--line-strong); color: var(--ink); background: transparent; }
.btn--ghost:hover { border-color: var(--ink); color: var(--ink); }
.top__cta { padding: 10px 16px; font-size: .9rem; height: 40px; }

/* ── App download buttons ──────────────────────────────────────────────── */
.stores { display: flex; flex-wrap: wrap; gap: 10px; margin-top: clamp(18px, 4vh, 34px); }
.store {
  display: inline-flex; align-items: center; gap: 10px; min-width: 158px; padding: 9px 16px 9px 13px;
  border-radius: 12px; background: var(--ink); color: #fff; text-decoration: none; line-height: 1.15;
  transition: background-color .15s ease, transform .15s ease;
}
a.store:hover { background: #0f1f24; color: #fff; transform: translateY(-1px); }
.store svg { flex: 0 0 auto; }
.store__txt { display: grid; text-align: start; }
.store__txt small { font-size: .66rem; letter-spacing: .02em; opacity: .78; }
.store__txt b { font-size: 1.02rem; font-weight: 650; letter-spacing: -.01em; }
.store--soon { background: transparent; color: var(--slate); box-shadow: inset 0 0 0 1px var(--line-strong); cursor: default; }
.hero__more { display: inline-flex; gap: 6px; margin-top: 16px; color: var(--navy); font-weight: 600; text-decoration: none; }
.hero__more:hover { color: var(--teal); text-decoration: underline; }
.product .stores { margin-top: 14px; gap: 8px; }
.product .store { min-width: 0; padding: 7px 12px 7px 10px; }
.product .store__txt b { font-size: .92rem; }

/* ── Stage & panels ────────────────────────────────────────────────────── */
.stage { position: relative; min-height: 0; outline: none; }
.panel { padding: clamp(20px, 4vh, 48px) var(--gutter); }
html.js .panel {
  position: absolute; inset: 0; overflow: hidden;
  display: grid; align-content: center; gap: clamp(16px, 3.2vh, 36px);
  animation: panel-in .35s ease both;
}
html.js .panel[hidden] { display: none; }
@keyframes panel-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.panel > * { width: 100%; max-width: 1240px; margin-inline: auto; }

.eyebrow { color: var(--teal); font-size: .78rem; font-weight: 650; letter-spacing: var(--track-caps); text-transform: uppercase; }
.title { margin-top: 10px; font-size: clamp(1.7rem, min(3.6vw, 5.4vh), 3rem); font-weight: 700; letter-spacing: var(--track-tight); line-height: 1.12; color: var(--navy); }
.intro { margin-top: 14px; max-width: 48rem; color: var(--slate); font-size: clamp(.98rem, min(1.3vw, 2.1vh), 1.12rem); }

/* ── Overview ──────────────────────────────────────────────────────────── */
.panel--hero > * { max-width: none; }
html.js .panel--hero { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); align-items: center; align-content: stretch; column-gap: clamp(24px, 4vw, 72px); }
.panel--hero { max-width: 1336px; margin-inline: auto; }
.hero__copy { max-width: 42rem; }
.display {
  margin-top: 16px; color: var(--ink); font-weight: 750; letter-spacing: var(--track-display); line-height: 1;
  font-size: clamp(2.5rem, min(7.2vw, 10.5vh), 6.4rem);
}
:lang(ar) .display, :lang(ary) .display { font-weight: 800; line-height: 1.25; font-size: clamp(2.3rem, min(6.4vw, 9.4vh), 5.6rem); }
:lang(zgh) .display { font-weight: 400; line-height: 1.2; font-size: clamp(2.2rem, min(5.6vw, 8.6vh), 5rem); }
:lang(ru) .display, :lang(fr) .display, :lang(es) .display, :lang(pt) .display, :lang(ary-Latn) .display { font-size: clamp(2.3rem, min(6.2vw, 9.6vh), 5.6rem); }
.lede { margin-top: clamp(14px, 3vh, 28px); max-width: 36rem; color: var(--slate); font-size: clamp(1rem, min(1.45vw, 2.4vh), 1.22rem); line-height: 1.6; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: clamp(18px, 4vh, 36px); }

.hero__art { position: relative; justify-self: center; width: min(100%, 52vh, 520px); aspect-ratio: 1; display: grid; place-items: center; }
.rings { position: absolute; inset: 0; direction: ltr; }
.rings i { position: absolute; left: 42%; top: 53%; border-radius: 50%; border: 1px solid var(--sage); transform: translate(-50%, -50%); }
.rings i:nth-child(1) { width: 46%; height: 46%; background: var(--mint); border-color: transparent; }
.rings i:nth-child(2) { width: 72%; height: 72%; opacity: .7; }
.rings i:nth-child(3) { width: 98%; height: 98%; opacity: .4; border-style: dashed; }
.hero__mark { position: relative; width: 52%; filter: drop-shadow(0 18px 30px rgba(20, 49, 95, .22)); }
.story { position: absolute; inset: 0; pointer-events: none; }
.story__item {
  position: absolute; display: grid; gap: 1px; padding: 8px 12px; padding-inline-start: 22px; border-radius: 10px;
  background: rgba(255, 255, 255, .94); border: 1px solid var(--line); box-shadow: var(--shadow);
  font-size: .78rem; color: var(--slate); white-space: nowrap;
}
.story__item b { color: var(--ink); font-size: .82rem; font-weight: 650; }
.story__item::before { content: ""; position: absolute; top: 50%; inset-inline-start: 10px; width: 7px; height: 7px; border-radius: 50%; transform: translateY(-50%); }
.story__item--map  { left: 0;  top: 12%; }
.story__item--road { right: 0; top: 28%; }
.story__item--pin  { left: 4%; bottom: 14%; }
.story__item--map::before  { background: var(--green); }
.story__item--road::before { background: var(--white); border: 2px solid var(--navy); width: 9px; height: 9px; }
.story__item--pin::before  { background: var(--navy); }

/* ── Company ───────────────────────────────────────────────────────────── */
.company { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.25fr); gap: clamp(12px, 1.6vw, 20px); align-items: stretch; }
.statement { padding: clamp(18px, 3vh, 30px); border-radius: var(--radius); color: #fff; overflow: hidden; }
.statement--mission { background: var(--grad-green); }
.statement--vision { background: var(--grad-teal-navy); }
.statement h3 { font-size: .78rem; font-weight: 650; letter-spacing: var(--track-caps); text-transform: uppercase; opacity: .85; }
.statement p { margin-top: 12px; font-size: clamp(1.05rem, min(1.6vw, 2.6vh), 1.45rem); font-weight: 600; line-height: 1.35; letter-spacing: -.01em; }
:lang(ar) .statement p, :lang(ary) .statement p { letter-spacing: 0; line-height: 1.6; }
.values { padding: clamp(18px, 3vh, 28px); border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow); }
.values__title { font-size: .78rem; font-weight: 650; letter-spacing: var(--track-caps); text-transform: uppercase; color: var(--teal); }
.values dl { margin-top: 14px; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(12px, 2.2vh, 20px) 22px; }
.values dt { font-weight: 700; color: var(--navy); }
.values dd { margin-top: 4px; color: var(--slate); font-size: .9rem; line-height: 1.5; }

/* ── Product ───────────────────────────────────────────────────────────── */
.product-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(12px, 1.6vw, 20px); align-items: stretch; }
.product { display: flex; flex-direction: column; padding: clamp(20px, 3.4vh, 32px); border-radius: var(--radius); background: var(--white); box-shadow: 0 0 0 1px var(--sky), var(--shadow); }
.product__top { display: flex; align-items: center; justify-content: space-between; }
.product__top img { width: 44px; height: auto; }
.status { padding: 5px 10px; border-radius: 999px; background: var(--mint); color: var(--teal); font-size: .75rem; font-weight: 650; }
.status::before { content: ""; display: inline-block; width: 7px; height: 7px; margin-inline-end: 6px; border-radius: 50%; background: var(--green); vertical-align: 1px; }
.product h3 { margin-top: clamp(12px, 2.2vh, 20px); font-size: clamp(1.5rem, min(2.4vw, 3.8vh), 2rem); font-weight: 750; letter-spacing: -.03em; color: var(--ink); }
.product__tag { margin-top: 2px; color: var(--teal); font-weight: 600; }
.product__desc { margin-top: 10px; color: var(--slate); font-size: .95rem; line-height: 1.6; max-width: 36rem; }
.links { margin-top: auto; padding-top: clamp(12px, 2.4vh, 22px); display: grid; gap: 2px; }
.links a { display: flex; align-items: baseline; gap: 16px; padding: 10px 0; border-top: 1px solid var(--line); color: var(--ink); font-weight: 600; text-decoration: none; }
.links a::after { content: "↗"; color: var(--teal); font-weight: 600; }
[dir="rtl"] .links a::after { content: "↖"; }
.links a span { margin-inline-start: auto; color: var(--slate); font-size: .82rem; font-weight: 450; }
.links a:hover { color: var(--teal); }
/* With four links (Google Play switched on), use two columns so the card keeps its height. */
.links:has(> li:nth-child(4)) { grid-template-columns: 1fr 1fr; column-gap: 20px; }

.how { padding: clamp(20px, 3.4vh, 32px); border-radius: var(--radius); background: var(--ink); color: #fff; }
.how__title { font-size: .78rem; font-weight: 650; letter-spacing: var(--track-caps); text-transform: uppercase; color: var(--sage); }
.steps { margin-top: clamp(12px, 2.4vh, 20px); display: grid; gap: clamp(10px, 2vh, 18px); counter-reset: step; }
.steps li { display: grid; grid-template-columns: 32px 1fr; column-gap: 14px; counter-increment: step; }
/* Areas of work, not a sequence: a brand "pin" marker instead of numbers. */
.steps li::before {
  content: ""; grid-row: span 2; align-self: start; justify-self: center; margin-top: 6px;
  width: 12px; height: 12px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 5px rgba(91, 155, 101, .18);
}
.steps b { font-weight: 650; font-size: 1rem; }
.steps span { color: #b9c4c8; font-size: .9rem; line-height: 1.5; }

/* ── Directory ─────────────────────────────────────────────────────────── */
.directory { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(12px, 1.6vw, 20px); }
.dir-group { padding: clamp(16px, 2.6vh, 24px); border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow); }
.dir-group h3 { font-size: .74rem; font-weight: 650; letter-spacing: var(--track-caps); text-transform: uppercase; color: var(--teal); }
.dir-group ul { margin-top: 10px; display: grid; }
.dir-group li + li { border-top: 1px solid var(--line); }
.dir-group a { position: relative; display: grid; gap: 1px; padding-block: 10px; padding-inline: 0 22px; text-decoration: none; }
.dir-group b { color: var(--ink); font-weight: 650; font-size: .94rem; }
.dir-group a span { justify-self: start; max-width: 100%; color: var(--slate); font-size: .8rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dir-group a::after { content: "↗"; position: absolute; inset-inline-end: 0; top: 50%; transform: translateY(-50%); color: var(--teal); }
[dir="rtl"] .dir-group a::after { content: "↖"; }
/* Email links open the mail app, not a page: an envelope instead of the arrow. */
.dir-group a[data-mail]::after, [dir="rtl"] .dir-group a[data-mail]::after {
  content: ""; width: 15px; height: 15px; background: var(--teal);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2' y='4' width='20' height='16' rx='2'/%3E%3Cpath d='m22 7-8.97 5.7a1.94 1.94 0 0 1-2.06 0L2 7'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2' y='4' width='20' height='16' rx='2'/%3E%3Cpath d='m22 7-8.97 5.7a1.94 1.94 0 0 1-2.06 0L2 7'/%3E%3C/svg%3E") center / contain no-repeat;
}
.dir-group a:hover b { color: var(--teal); }
/* Legal: seven short links on one domain — the domain sits in the heading and
   the rows are compact, so the column is no taller than the others. */
.dir-group__domain { margin-inline-start: 6px; color: var(--slate); font-weight: 450; letter-spacing: 0; text-transform: none; font-size: .72rem; }
.dir-group--legal a { padding-block: 6px; }
.dir-group--legal b { font-weight: 600; font-size: .9rem; }

/* ── Contact ───────────────────────────────────────────────────────────── */
.contact { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(12px, 1.6vw, 20px); align-items: stretch; }
.contact__main {
  position: relative; overflow: hidden; display: grid; align-content: end; gap: 10px; min-height: clamp(150px, 28vh, 260px);
  padding: clamp(20px, 3.4vh, 32px); border-radius: var(--radius); background: var(--ink); color: #fff; text-decoration: none;
}
.contact__main::before { content: ""; position: absolute; inset-inline-end: -60px; top: -60px; width: 240px; height: 240px; border-radius: 50%; border: 1px solid rgba(169, 203, 174, .35); box-shadow: 0 0 0 40px rgba(169, 203, 174, .06), 0 0 0 80px rgba(169, 203, 174, .04); }
.contact__label { color: var(--sage); font-size: .82rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
:lang(ar) .contact__label, :lang(ary) .contact__label { letter-spacing: 0; }
.contact__value { font-family: "Inter", sans-serif; font-size: clamp(1.35rem, min(2.6vw, 4.2vh), 2.2rem); font-weight: 700; letter-spacing: -.025em; word-break: break-word; justify-self: start; }
.contact__main:hover { color: #fff; background: #12252b; }
.contact__main:hover .contact__value { text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 2px; }
.contact__list { display: grid; grid-template-columns: 1fr 1fr; column-gap: 24px; align-content: center; padding: 6px clamp(20px, 3vw, 32px); border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow); }
.contact__list div { display: grid; gap: 2px; padding: clamp(8px, 1.5vh, 13px) 0; border-top: 1px solid var(--line); min-width: 0; }
.contact__list div:nth-child(-n+2) { border-top: 0; }
.contact__list dt { color: var(--slate); font-size: .82rem; }
.contact__list dd { color: var(--ink); font-weight: 600; font-size: .92rem; font-family: "Inter", sans-serif; justify-self: start; overflow-wrap: anywhere; }
.contact__entities { margin-top: 6px; color: rgba(255, 255, 255, .62); font-size: .78rem; }

/* ── Social ────────────────────────────────────────────────────────────── */
.sr { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.social { display: flex; flex-wrap: wrap; gap: 8px; }
.social a { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; color: var(--slate); background: var(--white); border: 1px solid var(--line); transition: color .15s ease, border-color .15s ease, transform .15s ease; }
.social a:hover { color: var(--navy); border-color: var(--navy); transform: translateY(-1px); }
.social-row { display: flex; align-items: center; justify-content: space-between; gap: 12px 20px; flex-wrap: wrap; }
.social-row__label { color: var(--teal); font-size: .78rem; font-weight: 650; letter-spacing: var(--track-caps); text-transform: uppercase; }
/* Desktop shows the icons in the footer on every panel; the Contact row is
   for phones and tablets, where the footer has no room for them. */
@media (min-width: 961px) { .social-row { display: none; } }
.foot__social { gap: 2px; }
.foot__social a { width: 30px; height: 30px; border: 0; background: none; }
.foot__social svg { width: 16px; height: 16px; }

/* ── Solutions catalog (solutions.bliska.ma) ──────────────────────────── */
.catalog { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: clamp(12px, 1.6vw, 20px); }
.sol-card {
  display: flex; flex-direction: column; gap: 6px; padding: clamp(18px, 3vh, 26px);
  border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow);
}
.sol-card__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.sol-card h2 { font-size: clamp(1.3rem, min(2vw, 3.4vh), 1.6rem); font-weight: 750; letter-spacing: var(--track-tight); color: var(--ink); }
.sol-card__cat { color: var(--teal); font-weight: 600; font-size: .85rem; }
.sol-card__text { margin-top: 4px; color: var(--slate); font-size: .95rem; line-height: 1.55; }
.sol-card__cta { margin-top: clamp(12px, 2.4vh, 20px); align-self: flex-start; }
.sol-card--soon { justify-content: center; background: transparent; box-shadow: none; border: 1.5px dashed var(--line-strong); }
.sol-card--soon h2 { font-size: 1.1rem; color: var(--slate); }
.sol-card--soon p { color: var(--slate); font-size: .9rem; }
.sol-card__soon-mark { display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 8px; border-radius: 12px; background: var(--sky); color: var(--navy); font-size: 1.5rem; font-weight: 700; }

.panel--sol .sol { width: 100%; max-width: 1240px; margin-inline: auto; min-width: 0; }
/* Grid items default to min-width:auto; without this the non-wrapping tab bar
   forces the whole column wider than a phone screen. */
.panel > * { min-width: 0; }
.tabs { max-width: 100%; }
.sol__back { display: inline-flex; gap: 6px; color: var(--navy); font-weight: 600; font-size: .9rem; text-decoration: none; }
.sol__back:hover { color: var(--teal); text-decoration: underline; }
.sol__id { display: flex; align-items: center; gap: 14px; margin-top: clamp(8px, 1.6vh, 14px); }
.sol__id h1 { font-size: clamp(1.6rem, min(3vw, 5vh), 2.4rem); font-weight: 750; letter-spacing: var(--track-tight); color: var(--ink); line-height: 1.1; }
.sol__tag { color: var(--slate); font-size: .95rem; }
.sol__id .status { margin-inline-start: auto; flex: 0 0 auto; }
.sol__id > div { flex: 1 1 auto; min-width: 0; }

.tabs { display: flex; gap: 4px; margin-top: clamp(12px, 2.4vh, 22px); border-bottom: 1px solid var(--line); overflow-x: auto; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tabs button {
  appearance: none; margin-bottom: -1px; padding: 10px 14px; border: 0; border-bottom: 2px solid transparent; background: none;
  color: var(--slate); font: inherit; font-weight: 600; font-size: .92rem; white-space: nowrap; cursor: pointer;
}
.tabs button:hover { color: var(--ink); }
.tabs button[aria-selected="true"] { color: var(--navy); border-bottom-color: var(--navy); }
.tabpanel { padding-top: clamp(14px, 2.8vh, 26px); }
html.js .tabpanel:not(.is-active) { display: none; }
.tabpanel h2 { margin-bottom: 10px; color: var(--teal); font-size: .78rem; font-weight: 650; letter-spacing: var(--track-caps); text-transform: uppercase; }
.sol-overview, .sol-start { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(20px, 3vw, 40px); }
.sol-about { color: var(--slate); font-size: clamp(.95rem, min(1.2vw, 2vh), 1.05rem); line-height: 1.65; }
.sol-features { display: grid; gap: clamp(8px, 1.4vh, 12px); }
.sol-features li { position: relative; padding-inline-start: 22px; color: var(--ink); font-size: .95rem; }
.sol-features li::before { content: ""; position: absolute; inset-inline-start: 2px; top: .55em; width: 9px; height: 9px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(91, 155, 101, .16); }
.sol-steps { display: grid; gap: clamp(10px, 1.8vh, 14px); counter-reset: step; }
.sol-steps li { display: grid; grid-template-columns: 30px 1fr; gap: 12px; align-items: start; counter-increment: step; color: var(--ink); font-size: .95rem; }
.sol-steps li::before { content: counter(step); display: grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; background: var(--sky); color: var(--navy); font-weight: 700; font-family: "Inter", sans-serif; }
.sol-start .stores { margin-top: 0; }
.shots { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; }
.shots li { flex: 0 0 auto; scroll-snap-align: start; }
.phone { width: clamp(140px, 24vh, 220px); border: 6px solid var(--ink); border-radius: 26px; overflow: hidden; box-shadow: var(--shadow); background: var(--ink); }
.phone img { width: 100%; height: auto; }
.shots-soon { padding: clamp(20px, 5vh, 48px); border: 1.5px dashed var(--line-strong); border-radius: var(--radius); color: var(--slate); text-align: center; }
.sol-links { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.sol-links a { display: grid; gap: 2px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 14px; background: var(--white); text-decoration: none; }
.sol-links a:hover { border-color: var(--navy); }
.sol-links b { color: var(--ink); font-weight: 650; }
.sol-links span { color: var(--slate); font-size: .8rem; justify-self: start; }

/* Phones get a separate "Key features" tab; wider screens show the features
   beside the description, so that tab and its panel are hidden there. */
@media (min-width: 821px) {
  .tabs .tab--phone, html.js .tabpanel--phone { display: none !important; }
}
.status { white-space: nowrap; }

@media (max-width: 820px) {
  .catalog { grid-template-columns: 1fr; gap: 10px; }
  .sol-card { padding: 16px; }
  .sol-overview, .sol-start { grid-template-columns: 1fr; gap: 14px; }
  .sol-links { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .sol-links a { min-width: 0; }
  .sol-links b { overflow-wrap: anywhere; }
  .sol-links a { padding: 10px 12px; }
  .sol-about { display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical; overflow: hidden; font-size: .9rem; }
  .sol-features { gap: 6px; }
  .sol-features li, .sol-steps li { font-size: .86rem; }
  .sol__id img { width: 44px; height: auto; }
  .tabs button { padding: 8px 10px; font-size: .84rem; }
  .sol-overview__features { display: none; }
  .sol__id { gap: 10px; margin-top: 6px; }
  .sol__id h1 { font-size: 1.45rem; }
  .sol__tag { font-size: .84rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .sol__cat { display: none; }
  .sol__back { font-size: .84rem; }
  .tabs { margin-top: 10px; }
  .tabpanel { padding-top: 12px; }
  .sol-about { -webkit-line-clamp: 9; }
}
@media (max-width: 560px) {
  .solutions-site .top__cta { display: none; }
  .sol-card__text { font-size: .86rem; }
  .sol-card--soon { padding: 12px 16px; }
  .sol-card--soon .sol-card__soon-mark { display: none; }
}
@media (max-width: 560px) and (max-height: 700px), (max-width: 380px) {
  .sol-about { -webkit-line-clamp: 6; font-size: .86rem; }
  .sol-links { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
  .sol-links a { padding: 8px 10px; }
  .sol-links span { display: none; }
  .sol-features { gap: 4px; }
  .sol-features li, .sol-steps li { font-size: .8rem; line-height: 1.35; }
  .sol-steps { gap: 7px; }
  .sol-steps li { grid-template-columns: 24px 1fr; gap: 8px; }
  .sol-steps li::before { width: 24px; height: 24px; border-radius: 7px; font-size: .75rem; }
  .sol-start { gap: 10px; }
  .sol__id img { width: 36px; }
  .sol__id h1 { font-size: 1.25rem; }
  .sol-card--soon p { display: none; }
  .sol-card { padding: 12px 14px; gap: 3px; }
  .sol-card__top { margin-bottom: 2px; }
  .sol-card__top img { width: 40px; height: auto; }
  .sol-card__cta { margin-top: 8px; padding: 9px 14px; font-size: .86rem; }
  .catalog { gap: 8px; }
}
@media (max-width: 340px) {
  .sol-about { -webkit-line-clamp: 5; }
  .sol-features li, .sol-steps li { font-size: .76rem; }
  .sol-links b { font-size: .8rem; }
  .tabs button { padding: 7px 7px; font-size: .78rem; }
  .sol-steps { gap: 5px; }
  .sol-start { gap: 8px; }
  .tabpanel h2 { margin-bottom: 6px; }
  .sol-start > div:last-child h2 { display: none; }
  .sol__back { font-size: .78rem; }
  .sol__id { margin-top: 2px; }
  .values { padding: 10px 12px; }
  .values__title { display: none; }
  .values dl { margin-top: 0; }
}

/* ── 404 & footer ──────────────────────────────────────────────────────── */
.notfound { display: grid; align-content: center; min-height: 60vh; }
.notfound__langs { margin-top: 28px; color: var(--slate); font-size: .9rem; }
.foot {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 20px;
  padding: 12px var(--gutter); padding-bottom: max(12px, env(safe-area-inset-bottom));
  border-top: 1px solid var(--line); color: var(--slate); font-size: .8rem;
}
.foot nav { display: flex; flex-wrap: wrap; gap: 4px 18px; }
.foot a { color: var(--slate); text-decoration: none; }
.foot a:hover { color: var(--ink); text-decoration: underline; }

/* ── Responsive ────────────────────────────────────────────────────────── */
@media (max-width: 1180px) {
  .nav a { padding: 8px 10px; font-size: .88rem; }
}
@media (max-width: 1100px) {
  .company { grid-template-columns: 1fr 1fr; }
  .values { grid-column: 1 / -1; }
  .values dl { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .directory { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 960px) {
  /* Compact chrome: every pixel goes to the panel. */
  .top { grid-template-columns: auto 1fr; row-gap: 6px; padding: 10px var(--gutter) 6px; padding-top: max(10px, env(safe-area-inset-top)); }
  .top__end { justify-self: end; gap: 8px; }
  .brand img { height: 26px; }
  .lang summary { height: 34px; padding: 0 10px; font-size: .8rem; border-radius: 9px; }
  .top__cta { height: 34px; padding: 0 12px; font-size: .82rem; border-radius: 9px; }
  .nav { grid-column: 1 / -1; grid-row: 2; justify-content: space-between; gap: 0; overflow-x: auto; scrollbar-width: none; margin-inline: calc(var(--gutter) * -1); padding-inline: calc(var(--gutter) - 8px); }
  .nav::-webkit-scrollbar { display: none; }
  .nav a { padding: 6px 8px; font-size: .8rem; }
  .foot { padding: 8px var(--gutter); padding-bottom: max(8px, env(safe-area-inset-bottom)); justify-content: center; gap: 2px 14px; font-size: .74rem; }
  .foot p, .foot__social { display: none; }
  .foot nav::before { content: "© 2026 Bliska Ltd."; color: var(--slate); direction: ltr; unicode-bidi: isolate; }
  .foot nav { gap: 2px 14px; justify-content: center; }
}

@media (max-width: 820px) {
  html.js .panel { gap: clamp(10px, 2.2vh, 20px); padding: clamp(12px, 2.4vh, 24px) var(--gutter); }
  .eyebrow { font-size: .7rem; }
  .title { margin-top: 4px; font-size: clamp(1.4rem, 6.2vw, 2rem); }
  .intro { margin-top: 8px; font-size: .9rem; line-height: 1.5; }

  html.js .panel--hero { grid-template-columns: 1fr; align-content: center; justify-items: center; text-align: center; row-gap: clamp(12px, 3vh, 28px); }
  .hero__copy { display: grid; justify-items: center; }
  .display, :lang(ru) .display, :lang(fr) .display, :lang(es) .display, :lang(pt) .display, :lang(ary-Latn) .display { margin-top: 8px; font-size: clamp(2rem, min(10.5vw, 7vh), 3.4rem); }
  :lang(ar) .display, :lang(ary) .display { font-size: clamp(2rem, min(10vw, 6.6vh), 3.2rem); }
  :lang(zgh) .display { font-size: clamp(1.8rem, min(8.6vw, 6vh), 2.8rem); }
  .lede { margin-top: 12px; font-size: clamp(.9rem, 2.2vh, 1.05rem); }
  .actions { justify-content: center; margin-top: clamp(14px, 3vh, 24px); gap: 8px; }
  .actions .btn { padding: 11px 16px; font-size: .9rem; }
  .stores { justify-content: center; gap: 8px; margin-top: clamp(12px, 2.6vh, 22px); }
  .store { min-width: 0; padding: 7px 11px 7px 9px; gap: 7px; }
  .store svg { width: 18px; height: 18px; }
  .store__txt small { font-size: .58rem; }
  .store__txt b { font-size: .84rem; }
  .hero__more { margin-top: 10px; font-size: .9rem; }
  .product .stores { justify-content: flex-start; grid-column: 1 / -1; }
  .hero__art { order: -1; width: min(52vw, 24vh, 240px); }
  .story { display: none; }

  .company { grid-template-columns: 1fr 1fr; gap: 10px; }
  .statement { padding: 14px; border-radius: 14px; }
  .statement h3 { font-size: .68rem; }
  .statement p { margin-top: 6px; font-size: clamp(.84rem, 2vh, 1rem); line-height: 1.38; }
  .values { grid-column: 1 / -1; padding: 14px; border-radius: 14px; }
  .values__title { font-size: .68rem; }
  .values dl { margin-top: 8px; grid-template-columns: 1fr 1fr; gap: 8px 14px; }
  .values dt { font-size: .9rem; }
  .values dd { font-size: .8rem; line-height: 1.4; margin-top: 2px; }

  .product-grid { grid-template-columns: 1fr; gap: 10px; }
  .product { padding: 14px 16px; border-radius: 14px; display: grid; grid-template-columns: auto 1fr auto; column-gap: 12px; align-items: center; }
  .product__top { display: contents; }
  .product__top img { grid-row: 1 / span 2; width: 38px; }
  .status { grid-column: 3; grid-row: 1; font-size: .7rem; padding: 4px 8px; }
  .product h3 { grid-column: 2; grid-row: 1; margin: 0; font-size: 1.2rem; }
  .product__tag { grid-column: 2 / -1; grid-row: 2; margin: 0; font-size: .86rem; }
  .product__desc { grid-column: 1 / -1; margin-top: 10px; font-size: .86rem; line-height: 1.5; }
  .links { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 6px; padding-top: 10px; }
  .links a { padding: 7px 11px; border: 1px solid var(--line-strong); border-radius: 999px; font-size: .82rem; gap: 6px; }
  .links a span { display: none; }
  .how { padding: 14px 16px; border-radius: 14px; }
  .how__title { font-size: .68rem; }
  .steps { margin-top: 10px; grid-template-columns: 1fr 1fr; gap: 10px 14px; }
  .steps li { grid-template-columns: 24px 1fr; column-gap: 8px; }
  .steps li::before { width: 9px; height: 9px; margin-top: 5px; box-shadow: 0 0 0 4px rgba(91, 155, 101, .18); }
  .steps b { font-size: .84rem; line-height: 1.3; }
  .steps span { font-size: .76rem; line-height: 1.35; }

  .directory { grid-template-columns: 1fr 1fr; gap: 10px; }
  .dir-group { padding: 12px 14px; border-radius: 14px; }
  .dir-group h3 { font-size: .66rem; }
  .dir-group ul { margin-top: 4px; }
  .dir-group a { padding-block: 7px; padding-inline: 0 16px; }
  .dir-group b { font-size: .84rem; }
  .dir-group a span { display: none; }

  .contact { grid-template-columns: 1fr; gap: 10px; }
  .contact__main { min-height: 0; padding: 16px 18px; border-radius: 14px; gap: 4px; }
  .contact__label { font-size: .7rem; }
  .contact__value { font-size: clamp(1.15rem, 5.6vw, 1.5rem); }
  .contact__list { padding: 2px 14px; border-radius: 14px; column-gap: 14px; }
  .contact__list div { padding: 7px 0; gap: 1px; }
  .contact__list dt { font-size: .74rem; }
  .contact__list dd { font-size: .8rem; }
}

/* Phones: directory links become single-line chips that flow across the full
   width (long labels in French, Russian, Darija… no longer wrap 3 lines deep),
   and the panels drop the sentences other elements already say. */
@media (max-width: 560px) {
  .intro, .product__desc, .values dd { display: none; }
  .social-row { gap: 6px 10px; }
  .social { gap: 5px; }
  .social a { width: 32px; height: 32px; border-radius: 9px; }
  .social svg { width: 15px; height: 15px; }
  .social-row__label { font-size: .66rem; }
  .values dl { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 14px; }
  /* Directory: one card, four sections, links as chips. */
  .directory { grid-template-columns: 1fr; gap: 0; padding: 4px 12px; border-radius: 14px; background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow); }
  .dir-group { padding: 8px 0; border: 0; border-radius: 0; background: none; box-shadow: none; }
  .dir-group + .dir-group { border-top: 1px solid var(--line); }
  .dir-group h3 { font-size: .62rem; }
  .dir-group ul { margin-top: 5px; display: flex; flex-wrap: wrap; gap: 5px; }
  .dir-group li + li { border-top: 0; }
  .dir-group a { display: inline-flex; align-items: center; gap: 5px; padding: 5px 9px; border: 1px solid var(--line-strong); border-radius: 999px; white-space: nowrap; }
  .dir-group a::after { position: static; transform: none; font-size: .7rem; }
  .dir-group a[data-mail]::after { display: inline-block; width: 12px; height: 12px; }
  .dir-group b { font-size: .78rem; font-weight: 600; }
  .contact__main { padding: 12px 16px; }
  .contact__value { font-size: clamp(1.05rem, 5vw, 1.35rem); }
  .contact__list div { padding: 5px 0; }
  .contact__list dt { font-size: .7rem; }
  .contact__list dd { font-size: .74rem; }
  .steps { gap: 8px 12px; }
  .foot { font-size: .7rem; gap: 2px 10px; }
  .foot nav { gap: 2px 10px; }
}
/* Short or narrow phones: drop the labels that the links already make clear. */
@media (max-width: 560px) and (max-height: 700px), (max-width: 380px) {
  .eyebrow, .dir-group h3, .contact__label, .contact__entities { display: none; }
  .dir-group ul { margin-top: 0; }
  .dir-group { padding: 6px 0; }
  .steps span { display: none; }
  .title { margin-top: 0; }
}

/* Short phones (≤ 700px tall): drop secondary lines, keep every link. */
@media (max-width: 820px) and (max-height: 700px) {
  .intro, .values dd, .product__desc, .steps span { display: none; }
  .lede { font-size: .88rem; }
  .hero__art { width: min(44vw, 19vh, 200px); }
  .display, :lang(ru) .display, :lang(fr) .display, :lang(es) .display, :lang(pt) .display, :lang(ary-Latn) .display { font-size: clamp(1.9rem, min(10vw, 6.4vh), 2.8rem); }
  .statement p { font-size: .82rem; }
}
@media (max-width: 380px) {
  .nav a { padding: 6px 6px; font-size: .78rem; }
}
@media (max-width: 340px) {
  .top__cta { padding: 0 9px; font-size: .76rem; }
  .lang summary { padding: 0 8px; }
  .nav a { padding: 5px 4px; font-size: .74rem; letter-spacing: -.01em; }
  .nav { padding-inline: 8px; }
  .hero__art { width: min(40vw, 16vh, 150px); }
  .lede { font-size: .84rem; margin-top: 8px; }
  .actions { margin-top: 12px; }
  .actions .btn { padding: 10px 12px; font-size: .84rem; }
  .company, .directory, .product-grid, .contact { gap: 8px; }
  .statement, .values { padding: 12px; }
  .statement p { font-size: .74rem; line-height: 1.32; margin-top: 4px; }
  .statement { padding: 10px 11px; }
  .statement h3 { font-size: .6rem; }
  .values dl { gap: 6px 10px; }
  .dir-group { padding: 8px 10px; }
  .dir-group h3 { font-size: .62rem; }
  .dir-group a { padding: 5px 8px; }
  .dir-group b { font-size: .76rem; }
  .lede { font-size: .8rem; }
  .display, :lang(ru) .display, :lang(fr) .display, :lang(es) .display, :lang(pt) .display, :lang(ary-Latn) .display { font-size: 1.75rem; }
  .contact__main { padding: 12px 14px; }
  .contact__list div { padding: 4px 0; }
  .contact__list dt { font-size: .66rem; }
  .contact__list dd { font-size: .7rem; }
  .contact__list { column-gap: 10px; }
}

/* ≤ 400px: 15 directory links must still fit one screen in every language. */
@media (max-width: 400px) {
  .dir-group ul { gap: 4px; }
  .dir-group a { padding: 4px 8px; gap: 4px; }
  .dir-group b { font-size: .74rem; }
  .dir-group { padding: 5px 0; }
}

/* Small or short phones: store buttons keep just the store name. */
@media (max-width: 400px), (max-width: 560px) and (max-height: 700px) {
  .store__txt small { display: none; }
  .store { padding: 7px 10px 7px 8px; gap: 6px; }
  .store svg { width: 16px; height: 16px; }
  .store__txt b { font-size: .8rem; }
  .stores { gap: 6px; }
}
@media (max-width: 560px) and (max-height: 700px), (max-width: 340px) {
  .hero__more { display: none; }
}

/* 320px-wide phones: smallest chips and steps that stay readable. */
@media (max-width: 340px) {
  .links { gap: 4px; padding-top: 8px; }
  .links a { padding: 5px 8px; font-size: .74rem; }
  .dir-group ul { gap: 4px; }
  .dir-group a { padding: 3px 6px; gap: 3px; border-radius: 8px; }
  .dir-group b { font-size: .68rem; }
  .dir-group ul { gap: 3px; }
  .dir-group a::after { font-size: .62rem; }
  .dir-group a[data-mail]::after { width: 9px; height: 9px; }
  .dir-group--legal a { padding: 3px 6px; }
  .directory { padding: 2px 10px; }
  .dir-group { padding: 5px 0; }
  .how { padding: 12px; }
  .steps { gap: 6px 10px; }
  .steps li { grid-template-columns: 20px 1fr; column-gap: 6px; }
  .steps li::before { width: 8px; height: 8px; margin-top: 4px; }
  .steps b { font-size: .74rem; line-height: 1.25; }
  .product { padding: 12px 14px; }
}

/* Short desktop screens: tighten vertical rhythm. */
@media (max-height: 720px) and (min-width: 821px) {
  .story__item { font-size: .72rem; }
  .values dd, .product__desc, .steps span { font-size: .84rem; }
}
@media (max-height: 560px) and (min-width: 821px) {
  .eyebrow, .intro { display: none; }
}

/* Safety net: if a panel ever cannot fit (very small or zoomed screens), only
   the panel scrolls — never the page, and the menu and footer stay put. */
html.js .panel.is-overflowing { overflow-y: auto; align-content: start; overscroll-behavior: contain; }

/* No JavaScript: a normal, scrolling one-page site. */
html.no-js .stage .panel + .panel { border-top: 1px solid var(--line); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
