/* Furrsati v7 · shared system. Every page loads this first, then nav.css, motion.css and its own pages/<name>.css.
   Order: fonts · tokens · base · category mapping · buttons · section heads · type utilities · chips · tags · phone frame ·
          stores + QR · page accent · sections + bands · cards · segmented/tabs · accordion · form fields · tables ·
          breadcrumbs · pagination · placeholder · footer · sheet · reveal · reduced motion.
   Colour rule: white dominates. Category tokens (--cat-*) and pops (--coral, --sun, --lime, --night) carry the colour;
   white text only on deep tones. Logical properties (inline/block) wherever a page may be mirrored for Arabic. */

@font-face { font-family: "Futura Furrsati"; src: url("/fonts/Futura-Bold-BT.ttf") format("truetype"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Nexa"; src: url("/fonts/Nexa-Bold.otf") format("opentype"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Nexa"; src: url("/fonts/Nexa-Light.otf") format("opentype"); font-weight: 300; font-style: normal; font-display: swap; }

:root {
  color-scheme: light only;
  --ink: #031514;
  --ink-2: #042223;
  --text: #1c2b2a;
  --muted: #4d5c5b;
  --faint: #7d8988;
  --teal: #05696b;
  --teal-m: #00aea9;
  --teal-soft: #e2f2f1;
  --orange: #faa21b;
  --orange-hi: #ffb43f;
  --orange-text: #8a5a12;
  --paper: #f6f5f2;
  --paper-2: #efede7;
  --white: #ffffff;
  --line: rgba(3, 21, 20, .12);
  --line-2: rgba(3, 21, 20, .2);
  --display: "Futura Furrsati", "Futura", "Trebuchet MS", system-ui, sans-serif;
  --ui: "Nexa", system-ui, -apple-system, "Segoe UI", sans-serif;
  --spring: cubic-bezier(.2, .8, .2, 1);
  --g: clamp(16px, 4vw, 56px);
  --sec: clamp(96px, 11vw, 176px);
  --shadow-s: 0 1px 2px rgba(3, 21, 20, .06), 0 8px 24px -10px rgba(3, 21, 20, .22);
  --shadow-l: 0 2px 6px rgba(3, 21, 20, .05), 0 30px 60px -24px rgba(3, 21, 20, .35);
  /* round 6: the app's category colours (base · soft · deep) and extra pops */
  --cat-tech: #3B82F6; --cat-tech-s: #DBEAFE; --cat-tech-d: #1D4ED8;
  --cat-design: #8B5CF6; --cat-design-s: #DDD6FE; --cat-design-d: #6D28D9;
  --cat-marketing: #F59E0B; --cat-marketing-s: #FEF3C7; --cat-marketing-d: #92400E;
  --cat-writing: #EC4899; --cat-writing-s: #FCE7F3; --cat-writing-d: #BE185D;
  --cat-content: #EF4444; --cat-content-s: #FEE2E2; --cat-content-d: #B91C1C;
  --cat-translation: #6366F1; --cat-translation-s: #E0E7FF; --cat-translation-d: #4338CA;
  --cat-admin: #10B981; --cat-admin-s: #D1FAE5; --cat-admin-d: #047857;
  --cat-finance: #06B6D4; --cat-finance-s: #CFFAFE; --cat-finance-d: #155E75;
  --cat-engineering: #FAA21B; --cat-engineering-s: #F6DFA4; --cat-engineering-d: #8A5A12;
  --cat-lifestyle: #00AEA9; --cat-lifestyle-s: #A9DCD4; --cat-lifestyle-d: #044849;
  --cat-audio: #6B7280; --cat-audio-s: #F3F4F6; --cat-audio-d: #374151;
  --coral: #FF6B57; --coral-s: #FFE4DE; --coral-d: #B4321F;
  --sun: #FFD23F; --lime: #A3E635; --night: #1E1145; --night-2: #2A1462;
}

/* Arabic pages: Tajawal (Google Fonts, linked from the page head) for both faces */
:root[lang="ar"] { --display: "Tajawal", "Futura Furrsati", system-ui, sans-serif; --ui: "Tajawal", "Nexa", system-ui, sans-serif; }

/* ═══ base ═══ */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; background: var(--white); scroll-padding-top: 96px; }
body { margin: 0; background: var(--white); color: var(--text); font-family: var(--ui); font-weight: 300; font-size: 18px; line-height: 1.55; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; overflow-x: clip; }
img, svg { display: block; max-width: 100%; }
h1, h2, h3, h4, p, ol, ul, figure { margin: 0; }
ol, ul { padding: 0; list-style: none; }
a { color: inherit; }
button { font: inherit; color: inherit; }
b, strong { font-weight: 700; }
:focus-visible { outline: 3px solid var(--teal-m); outline-offset: 3px; border-radius: 8px; }
[hidden] { display: none !important; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; padding: 12px 18px; background: var(--ink); color: #fff; border-radius: 12px; font-weight: 700; text-decoration: none; }
.skip:focus { top: 12px; }
.wrap { max-width: 1320px; margin: 0 auto; padding: 0 var(--g); }
.caption { font-size: 15px; color: var(--muted); line-height: 1.5; }
.link { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-weight: 700; font-size: 16px; color: var(--ink); text-decoration: none; }
.link svg { width: 18px; height: 18px; transition: transform .4s var(--spring); }
.link:hover svg { transform: translateX(4px); }
.link--btn { border: 0; background: none; padding: 0; cursor: pointer; }


/* ═══ round 6: category mapping. data-f / data-cat → --c (base) · --cs (soft) · --cd (deep) ═══ */
[data-f="tech"], [data-cat="tech"] { --c: var(--cat-tech); --cs: var(--cat-tech-s); --cd: var(--cat-tech-d); }
[data-f="design"], [data-cat="design"] { --c: var(--cat-design); --cs: var(--cat-design-s); --cd: var(--cat-design-d); }
[data-f="marketing"], [data-cat="marketing"] { --c: var(--cat-marketing); --cs: var(--cat-marketing-s); --cd: var(--cat-marketing-d); }
[data-f="writing"], [data-cat="writing"] { --c: var(--cat-writing); --cs: var(--cat-writing-s); --cd: var(--cat-writing-d); }
[data-f="content"], [data-cat="content"] { --c: var(--cat-content); --cs: var(--cat-content-s); --cd: var(--cat-content-d); }
[data-f="translation"], [data-cat="translation"] { --c: var(--cat-translation); --cs: var(--cat-translation-s); --cd: var(--cat-translation-d); }
[data-f="admin"], [data-cat="admin"] { --c: var(--cat-admin); --cs: var(--cat-admin-s); --cd: var(--cat-admin-d); }
[data-f="finance"], [data-cat="finance"] { --c: var(--cat-finance); --cs: var(--cat-finance-s); --cd: var(--cat-finance-d); }
[data-f="engineering"], [data-cat="engineering"] { --c: var(--cat-engineering); --cs: var(--cat-engineering-s); --cd: var(--cat-engineering-d); }
[data-f="lifestyle"], [data-cat="lifestyle"] { --c: var(--cat-lifestyle); --cs: var(--cat-lifestyle-s); --cd: var(--cat-lifestyle-d); }
[data-f="audio"], [data-cat="audio"] { --c: var(--cat-audio); --cs: var(--cat-audio-s); --cd: var(--cat-audio-d); }

/* ═══ buttons ═══ */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 50px; padding: 0 24px; border: 0; border-radius: 999px; font-family: var(--ui); font-weight: 700; font-size: 16px; line-height: 1; letter-spacing: .005em; text-decoration: none; white-space: nowrap; cursor: pointer; transition: transform .35s var(--spring), background-color .2s, box-shadow .2s, color .2s; -webkit-tap-highlight-color: transparent; }
.btn:active { transform: scale(.96); }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn--lg { height: 58px; padding: 0 30px; font-size: 17px; }
.btn--sm { height: 44px; padding: 0 18px; font-size: 15px; }
.btn--block { width: 100%; }
.btn--orange { background: var(--orange); color: var(--ink); box-shadow: 0 10px 24px -12px rgba(250, 162, 27, .9); }
.btn--orange:hover { background: var(--orange-hi); }
.btn--line { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line-2); }
.btn--line:hover { box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn--ink { background: var(--ink); color: #fff; }
.btn--ink:hover { background: #0b2e2c; }
.btn--ghost-dark { background: rgba(255, 255, 255, .08); color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .22); }
.btn--ghost-dark:hover { background: rgba(255, 255, 255, .14); }

/* ═══ section heads ═══ */
.kicker { display: flex; align-items: center; gap: 12px; font-weight: 700; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.kicker__n { font-family: var(--display); font-size: 14px; letter-spacing: 0; color: var(--orange-text); padding: 4px 9px; border-radius: 999px; box-shadow: inset 0 0 0 1px rgba(250, 162, 27, .6); }
.kicker--dark { color: rgba(255, 255, 255, .62); }
.kicker--dark .kicker__n { color: var(--orange); }
.title { margin-top: 22px; font-family: var(--display); font-weight: 700; font-size: clamp(46px, 7.2vw, 112px); line-height: .94; letter-spacing: -.035em; color: var(--ink); text-wrap: balance; }
.title__light { display: block; margin-top: .42em; max-width: 21ch; font-family: var(--ui); font-weight: 300; font-size: clamp(22px, 2.5vw, 38px); line-height: 1.18; letter-spacing: -.012em; color: var(--muted); text-wrap: pretty; }
.title__o { color: var(--orange); }
.title--dark { color: #fff; }
.sec-head { margin-bottom: clamp(44px, 6vw, 88px); }
.sec-lead { margin-top: 22px; max-width: 34em; font-size: 19px; line-height: 1.55; color: var(--text); }
.tagline { display: inline-block; margin-left: 6px; padding: 3px 10px; border-radius: 999px; background: var(--paper); font-weight: 700; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); vertical-align: 2px; }

.t-disp { font-family: var(--display); font-weight: 700; }
.t-ui { font-family: var(--ui); font-weight: 700; }
.t-num { font-family: var(--ui); font-weight: 700; font-variant-numeric: tabular-nums; }
.t-ar { font-family: "Geeza Pro", "Noto Sans Arabic", "Segoe UI", Tahoma, sans-serif; font-weight: 700; }

.mini { font-weight: 700; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--faint); margin-bottom: 14px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chips li { padding: 8px 14px; border-radius: 999px; background: var(--paper); font-size: 15px; font-weight: 700; color: var(--ink); }

/* ═══ tags (floating labels) ═══ */
.tag { display: inline-flex; align-items: center; gap: 8px; padding: 10px 15px; border-radius: 999px; background: #fff; box-shadow: 0 1px 1px rgba(3, 21, 20, .05), 0 16px 34px -14px rgba(3, 21, 20, .35), inset 0 0 0 1px rgba(3, 21, 20, .06); font-weight: 700; font-size: 14px; color: var(--ink); white-space: nowrap; }
.tag svg { width: 17px; height: 17px; }
.tag--ink { background: var(--ink); color: #fff; }
.tag--teal { background: var(--teal-m); color: #fff; }
.tag--orange { background: var(--orange); color: var(--ink); }

/* ═══ phone frame ═══ */
.phone { position: relative; margin: 0; padding: 7px; border-radius: 38px; background: #0d1414; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08), 0 1px 2px rgba(3, 21, 20, .2), 0 40px 70px -30px rgba(3, 21, 20, .55); }
.phone img { width: 100%; height: auto; border-radius: 31px; }


@keyframes pop { from { opacity: 0; transform: translateY(14px) scale(.92); } }
@keyframes up { from { opacity: 0; transform: translateY(16px); } }

/* ═══ store badges + QR (sheet and get-the-app) ═══ */
.stores { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.store { display: inline-flex; align-items: center; gap: 12px; height: 60px; padding: 0 22px 0 18px; border-radius: 16px; background: var(--ink); color: #fff; text-decoration: none; transition: transform .35s var(--spring), background-color .2s; }
.store:hover { background: #0b2e2c; }
.store:active { transform: scale(.96); }
.store svg { width: 26px; height: 26px; }
.store span { display: grid; font-weight: 700; font-size: 18px; line-height: 1.1; }
.store small { font-weight: 300; font-size: 11.5px; opacity: .8; }
.qr { display: flex; align-items: center; gap: 16px; margin-top: 22px; }
.qr img { width: 92px; height: 92px; padding: 6px; border-radius: 14px; background: #faf6ee; box-shadow: inset 0 0 0 1px var(--line); image-rendering: pixelated; }
.qr span { display: grid; font-weight: 700; font-size: 16px; color: var(--ink); }
.qr small { font-weight: 300; font-size: 14px; color: var(--muted); }

/* ═══ page accent: <body data-accent="hire|work|both"> → --acc (base) · --acc-s (soft) · --acc-d (deep, safe under white text) ═══ */
body, body[data-accent="hire"] { --acc: var(--orange); --acc-s: #fff1da; --acc-d: var(--orange-text); }
body[data-accent="work"] { --acc: var(--teal-m); --acc-s: var(--teal-soft); --acc-d: var(--teal); }
body[data-accent="both"] { --acc: var(--cat-design); --acc-s: var(--cat-design-s); --acc-d: var(--cat-design-d); }
.spectrum { background: linear-gradient(90deg, var(--cat-engineering), var(--cat-writing), var(--cat-design), var(--cat-tech), var(--cat-lifestyle), var(--cat-admin)); }
.btn--acc { background: var(--acc-d); color: #fff; box-shadow: 0 10px 24px -12px var(--acc-d); }
.btn--acc:hover { background: color-mix(in srgb, var(--acc-d) 86%, #000); }
.btn--teal { background: var(--teal); color: #fff; box-shadow: 0 10px 24px -12px rgba(5, 105, 107, .9); }
.btn--teal:hover { background: #045759; }
.btn--white { background: #fff; color: var(--ink); }
.btn--white:hover { background: var(--paper); }

/* ═══ sections and bands. A page may carry at most two full-bleed bands. ═══ */
.sec { padding: var(--sec) 0; }
.sec--tight { padding: calc(var(--sec) * .6) 0; }
.sec--paper { background: var(--paper); }
.band { position: relative; overflow: clip; padding: var(--sec) 0; background: var(--band, var(--teal)); color: #fff; }
.band--teal { --band: linear-gradient(160deg, var(--teal) 0%, #044849 100%); }
.band--orange { --band: linear-gradient(150deg, var(--orange) 0%, var(--coral) 60%, var(--cat-writing) 120%); color: var(--ink); }
.band--night { --band: radial-gradient(120% 90% at 20% 0%, var(--night-2), var(--night) 60%); }
.band--spectrum { --band: linear-gradient(120deg, var(--cat-tech-d), var(--cat-design-d) 45%, var(--cat-writing-d)); }
.band .title:not(.title--ink), .band .kicker:not(.kicker--ink) { color: #fff; }
.band .title__light { color: rgba(255, 255, 255, .78); }
.band--orange .title, .band--orange .kicker { color: var(--ink); }
.band--orange .title__light { color: rgba(3, 21, 20, .72); }

/* ═══ generic cards ═══ */
.card { position: relative; padding: clamp(20px, 2.4vw, 32px); border-radius: 24px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); }
.card--lift { box-shadow: var(--shadow-s), inset 0 0 0 1px rgba(3, 21, 20, .05); }
.card--tint { background: var(--cs, var(--acc-s)); box-shadow: none; }
.card--deep { background: var(--cd, var(--acc-d)); color: #fff; box-shadow: none; }
.card__k { font-weight: 700; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--cd, var(--muted)); }
.card--deep .card__k { color: rgba(255, 255, 255, .72); }
.card__t { margin-top: 10px; font-family: var(--display); font-weight: 700; font-size: clamp(22px, 2.2vw, 30px); line-height: 1.05; letter-spacing: -.02em; color: var(--ink); }
.card--deep .card__t { color: #fff; }
.card__p { margin-top: 10px; font-size: 16.5px; line-height: 1.5; color: var(--text); }
.card--deep .card__p { color: rgba(255, 255, 255, .86); }
a.card { display: block; text-decoration: none; color: inherit; transition: transform .45s var(--spring), box-shadow .3s; }
a.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-l), inset 0 0 0 1px rgba(3, 21, 20, .05); }

/* ═══ segmented control and tabs: role="tablist" + role="tab"[aria-selected], or buttons with aria-pressed ═══ */
.seg { position: relative; display: inline-flex; gap: 2px; padding: 4px; border-radius: 999px; background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); max-width: 100%; overflow-x: auto; scrollbar-width: none; }
.seg::-webkit-scrollbar { display: none; }
.seg__b { flex: none; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 18px; border: 0; border-radius: 999px; background: transparent; font-weight: 700; font-size: 15px; color: var(--muted); cursor: pointer; transition: background-color .25s, color .25s, box-shadow .25s; }
.seg__b:hover { color: var(--ink); }
.seg__b[aria-selected="true"], .seg__b[aria-pressed="true"] { background: #fff; color: var(--ink); box-shadow: 0 1px 2px rgba(3, 21, 20, .08), 0 6px 16px -8px rgba(3, 21, 20, .3); }
.seg--acc .seg__b[aria-selected="true"], .seg--acc .seg__b[aria-pressed="true"] { background: var(--acc-d); color: #fff; }
.tabpanel[hidden] { display: none !important; }

/* ═══ accordion: <details class="acc__i"> inside .acc; sys.js animates the answer with grid rows ═══ */
.acc { border-bottom: 1px solid var(--line); }
.acc__i { border-top: 1px solid var(--line); }
.acc__q { display: flex; align-items: center; gap: 14px; min-height: 64px; padding: 14px 0; font-weight: 700; font-size: 19px; line-height: 1.3; color: var(--ink); cursor: pointer; list-style: none; }
.acc__q::-webkit-details-marker { display: none; }
.acc__q span { flex: 1; }
.acc__q::after { content: ""; width: 12px; height: 12px; flex: none; margin-inline-end: 8px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-3px) rotate(45deg); transition: transform .35s var(--spring); }
.acc__i.is-open .acc__q::after, .acc:not(.is-js) .acc__i[open] .acc__q::after { transform: translateY(2px) rotate(-135deg); }
.acc__a { display: grid; grid-template-rows: 1fr; }
.acc.is-js .acc__a { grid-template-rows: 0fr; transition: grid-template-rows .3s ease; }
.acc.is-js .acc__i.is-open .acc__a { grid-template-rows: 1fr; }
.acc__a > div { min-height: 0; overflow: hidden; }
.acc__a p { padding: 0 0 22px; max-width: 62ch; font-size: 17px; color: var(--text); }

/* ═══ form fields ═══ */
.fld { display: grid; gap: 8px; }
.fld__l { font-weight: 700; font-size: 14px; color: var(--ink); }
.fld__h { font-size: 13.5px; color: var(--muted); }
.inp { width: 100%; min-height: 52px; padding: 12px 16px; border: 0; border-radius: 14px; background: #fff; box-shadow: inset 0 0 0 1.5px var(--line-2); font: inherit; font-size: 17px; font-weight: 300; color: var(--ink); transition: box-shadow .2s; }
.inp::placeholder { color: var(--faint); }
.inp:hover { box-shadow: inset 0 0 0 1.5px rgba(3, 21, 20, .36); }
.inp:focus { outline: none; box-shadow: inset 0 0 0 2px var(--acc-d), 0 0 0 4px color-mix(in srgb, var(--acc) 22%, transparent); }
textarea.inp { min-height: 128px; resize: vertical; line-height: 1.5; }
select.inp { appearance: none; padding-inline-end: 44px; background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%); background-position: calc(100% - 22px) 50%, calc(100% - 16px) 50%; background-size: 6px 6px; background-repeat: no-repeat; }
[dir="rtl"] select.inp { background-position: 22px 50%, 16px 50%; }
.chk { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font-size: 16px; cursor: pointer; }
.chk input { width: 20px; height: 20px; margin: 0; accent-color: var(--acc-d); }
.fld--err .inp { box-shadow: inset 0 0 0 2px var(--cat-content-d); }
.fld__e { font-size: 13.5px; font-weight: 700; color: var(--cat-content-d); }

/* ═══ tables: wrap in .tbl-wrap so a wide table scrolls inside itself, never the page ═══ */
.tbl-wrap { overflow-x: auto; border-radius: 20px; box-shadow: inset 0 0 0 1px var(--line); }
.tbl { width: 100%; border-collapse: collapse; font-size: 16px; }
.tbl th, .tbl td { padding: 14px 18px; text-align: start; vertical-align: top; border-bottom: 1px solid var(--line); }
.tbl thead th { font-weight: 700; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); background: var(--paper); }
.tbl tbody tr:last-child > * { border-bottom: 0; }
.tbl td.num, .tbl th.num { text-align: end; font-variant-numeric: tabular-nums; white-space: nowrap; }
.tbl tbody tr:hover { background: color-mix(in srgb, var(--paper) 60%, #fff); }

/* ═══ breadcrumbs ═══ */
.crumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; font-size: 14px; color: var(--muted); }
.crumbs li { display: inline-flex; align-items: center; gap: 10px; }
.crumbs li + li::before { content: ""; width: 6px; height: 6px; border-right: 1.5px solid var(--faint); border-bottom: 1.5px solid var(--faint); transform: rotate(-45deg); }
[dir="rtl"] .crumbs li + li::before { transform: rotate(135deg); }
.crumbs a { display: inline-flex; align-items: center; min-height: 32px; color: var(--ink); font-weight: 700; text-decoration: none; }
.crumbs a:hover { color: var(--acc-d); }
.crumbs [aria-current] { color: var(--muted); }

/* ═══ pagination ═══ */
.pager { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px; }
.pager a, .pager span { display: inline-grid; place-items: center; min-width: 44px; height: 44px; padding: 0 12px; border-radius: 999px; font-weight: 700; font-size: 15px; color: var(--ink); text-decoration: none; box-shadow: inset 0 0 0 1px var(--line); }
.pager a:hover { box-shadow: inset 0 0 0 1px var(--ink); }
.pager [aria-current="page"] { background: var(--ink); color: #fff; box-shadow: none; }

/* ═══ placeholder pages (pages not built yet) ═══ */
.ph { padding: calc(var(--sec) + 40px) 0 var(--sec); }
.ph__tag { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: var(--acc-s); color: var(--acc-d); font-weight: 700; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; }
.ph__tag::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--acc); }
.ph__links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 36px; }
.ph__anchors { position: relative; height: 0; overflow: hidden; }

/* ═══ footer: brand, the nav's four groups as columns (same hues), legal, language, company line ═══ */
.foot { position: relative; padding: clamp(56px, 7vw, 96px) 0 36px; background: #fff; border-top: 1px solid var(--line); }
.foot::before { content: ""; position: absolute; inset-inline: 0; top: -1px; height: 3px; background: linear-gradient(90deg, var(--orange) 0 25%, var(--teal-m) 25% 50%, #6b6ecb 50% 75%, #d4658f 75% 100%); opacity: .9; }
.foot__top { display: grid; gap: 44px; }
.foot__brand img { height: 30px; width: auto; }
.foot__brand p { margin-top: 16px; max-width: 24em; font-size: 16px; color: var(--muted); }
.foot__app { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.foot__cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 34px 24px; }
.foot__col h2 { display: flex; align-items: center; gap: 9px; margin-bottom: 10px; font-family: var(--display); font-weight: 700; font-size: 21px; letter-spacing: -.02em; color: var(--ht); }
.foot__col h2::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--hu); box-shadow: 0 0 0 4px color-mix(in srgb, var(--hu) 18%, transparent); }
.foot__col[data-hue="orange"] { --hu: #faa21b; --ht: #8a5a12; }
.foot__col[data-hue="teal"] { --hu: #00aea9; --ht: #05696b; }
.foot__col[data-hue="indigo"] { --hu: #6b6ecb; --ht: #423f94; }
.foot__col[data-hue="pink"] { --hu: #d4658f; --ht: #96305c; }
.foot__col ul { display: grid; }
.foot__col a { display: flex; align-items: center; min-height: 40px; font-size: 16px; color: var(--text); text-decoration: none; transition: color .2s; }
.foot__col a:hover { color: var(--ht); }
.foot__base { display: grid; gap: 18px; margin-top: 52px; padding-top: 22px; border-top: 1px solid var(--line); font-size: 13.5px; color: var(--muted); }
.foot__row { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 22px; }
.foot__legal, .foot__lang { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 16px; }
.foot__legal a, .foot__lang a { display: inline-flex; align-items: center; min-height: 40px; color: var(--ink); font-weight: 700; text-decoration: none; }
.foot__legal a:hover, .foot__lang a:hover { color: var(--teal); }
.foot__lang { margin-inline-start: auto; }
.foot__lang [aria-current] { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; color: var(--ink); font-weight: 700; }
.foot__lang [aria-current]::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--orange); }
.foot__lang .foot__soon { color: var(--faint); }
.foot__lang svg { width: 16px; height: 16px; color: var(--muted); }
.foot__co { max-width: 70ch; }
@media (max-width: 639px) { .foot__lang { margin-inline-start: 0; } }
@media (min-width: 960px) {
  .foot__top { grid-template-columns: minmax(0, .9fr) minmax(0, 2.4fr); gap: 56px; }
  .foot__cols { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* ═══ sheet ═══ */
.sheet { width: 100%; max-width: 100%; margin: auto auto 0; padding: 0 0 22px; border: 0; border-radius: 28px 28px 0 0; background: #fff; color: var(--ink); box-shadow: var(--shadow-l); }
.sheet::backdrop { background: rgba(3, 21, 20, .45); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }
.sheet[open] { animation: sheet-up .5s var(--spring); }
@keyframes sheet-up { from { transform: translateY(60px); opacity: 0; } }
.sheet__grab { width: 40px; height: 5px; margin: 10px auto 0; border-radius: 3px; background: var(--line-2); }
.sheet__head { display: flex; align-items: center; gap: 14px; padding: 14px 16px 6px 24px; }
.sheet__head > img { width: 56px; height: 56px; border-radius: 14px; }
.sheet__head > div { flex: 1; min-width: 0; }
.sheet__title { font-family: var(--display); font-size: 24px; line-height: 1.1; letter-spacing: -.02em; }
.sheet__head p { font-size: 15px; color: var(--muted); }
.sheet__x { display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--paper); cursor: pointer; }
.sheet__x svg { width: 20px; height: 20px; }
.sheet__body { padding: 10px 24px 0; font-size: 17px; color: var(--text); }
.stores--sheet { margin: 20px 24px 0; }
.stores--sheet .store { flex: 1 1 180px; justify-content: center; }
.qr--sheet { margin: 18px 24px 0; }
.qr--sheet img { width: 80px; height: 80px; }
@media (min-width: 640px) { .sheet { width: min(520px, calc(100% - 48px)); margin: auto; border-radius: 28px; } .sheet__grab { display: none; } .sheet__head { padding-top: 22px; } }

/* ═══ reveal (decorative; content is complete without it) ═══ */
.js [data-reveal] { opacity: 0; transform: translateY(32px); transition: opacity .9s ease, transform 1.1s var(--spring); }
.js [data-reveal].is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; scroll-behavior: auto !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
}

/* ═══ phone pass (≤767px only): headlines break without a lone last word; small links get a 40px+ target ═══ */
@media (max-width: 767px) {
  h1, h2, h3, .title { text-wrap: balance; }
  .crumbs a { min-height: 40px; }
  .foot__legal a, .foot__lang a { min-width: 44px; justify-content: center; }
  .sheet { padding-bottom: calc(22px + env(safe-area-inset-bottom)); }
}
