/*
 * Expire site — the public website's design layer (v2).
 *
 * Laid over expire-brand.css: every page keeps its markup and its ex-* classes, and this
 * file redraws them — type, spacing, cards, buttons, the inner-page header — and adds the
 * sx-* pieces the new navbar, footer and home page are built from.
 *
 * Identity from the logo: ink #10241c, lime #e4e77a. Display type Alexandria, body IBM Plex
 * Sans Arabic.
 */

:root {
    --ex-ink: #10241c;
    --ex-ink-2: #16311f;
    --ex-ink-3: #1d3f2c;
    --ex-lime: #e4e77a;
    --ex-lime-deep: #c8cd5f;
    --ex-paper: #f4f6ef;
    --ex-line: #e3e9df;
    --ex-line-strong: #d3dccf;
    --ex-muted: #5b6b62;
    --ex-radius: 22px;
    --ex-radius-sm: 14px;
    --ex-maxw: 1240px;
    --ex-font: 'IBM Plex Sans Arabic', 'Tajawal', system-ui, sans-serif;
    --sx-display: 'Alexandria', 'IBM Plex Sans Arabic', 'Tajawal', sans-serif;
    --sx-shadow: 0 1px 2px rgba(16, 36, 28, .05), 0 12px 32px -14px rgba(16, 36, 28, .16);
    --sx-shadow-lg: 0 30px 60px -24px rgba(16, 36, 28, .35);
    --sx-glow: 0 14px 30px -12px rgba(200, 205, 95, .85);
    --sx-ease: cubic-bezier(.2, .8, .2, 1);
}

/* ===================================================================== base */

body.ex-site { background: var(--ex-paper); font-family: var(--ex-font); color: var(--ex-ink); -webkit-font-smoothing: antialiased; }
body.ex-site :where(h1, h2, h3, h4, h5, h6, p, a, span, strong, em, b, small, li, ul, ol, label, legend, input, select, textarea, button, td, th, div) { font-family: var(--ex-font); }
body.ex-site :where(h1, h2, h3, .ex-sec-head h2, .ex-page-head h1, .sx-display) { font-family: var(--sx-display); letter-spacing: -.015em; }
body.ex-site .ex-wrap { max-width: var(--ex-maxw); }
body.ex-site ::selection { background: var(--ex-lime); color: var(--ex-ink); }
body.ex-site .fa-solid, body.ex-site .fa-regular, body.ex-site .fa-brands { font-family: 'Font Awesome 6 Free', 'Font Awesome 6 Brands' !important; }
body.ex-site .fa-brands { font-family: 'Font Awesome 6 Brands' !important; }

/* ===================================================================== buttons */

body.ex-site .ex-btn {
    border-radius: 999px; font-weight: 700; padding: 12px 22px; gap: 8px;
    transition: transform .2s var(--sx-ease), box-shadow .2s var(--sx-ease), background .2s ease, color .2s ease, border-color .2s ease;
}
body.ex-site .ex-btn:hover { transform: translateY(-2px); }
body.ex-site .ex-btn-sm { padding: 8px 16px; font-size: .86rem; }
body.ex-site .ex-btn-primary { background: var(--ex-lime); color: var(--ex-ink); border-color: var(--ex-lime); box-shadow: var(--sx-glow); }
body.ex-site .ex-btn-primary:hover { background: #edf07f; box-shadow: 0 18px 34px -12px rgba(200, 205, 95, .95); }
body.ex-site a.ex-btn-dark, body.ex-site button.ex-btn-dark, body.ex-site .ex-btn-dark { background: var(--ex-ink); color: var(--ex-lime); border-color: var(--ex-ink); }
body.ex-site .ex-btn-dark:hover { background: var(--ex-ink-3); box-shadow: 0 14px 28px -14px rgba(16, 36, 28, .7); }
body.ex-site .ex-btn-ghost { background: #fff; border: 1.5px solid var(--ex-line-strong); color: var(--ex-ink); }
body.ex-site .ex-btn-ghost:hover { border-color: var(--ex-ink); background: #fff; }

/* ===================================================================== section heads */

body.ex-site .ex-section { padding: 84px 0; }
body.ex-site .ex-section-alt { background: linear-gradient(180deg, #edf1e5 0%, var(--ex-paper) 100%); }
body.ex-site .ex-sec-head { margin-bottom: 34px; align-items: flex-end; }
body.ex-site .ex-sec-head h2 { font-size: clamp(28px, 3.2vw, 42px); font-weight: 800; line-height: 1.12; margin: 6px 0 8px; }
body.ex-site .ex-sec-head p { color: var(--ex-muted); font-size: 1.02rem; max-width: 560px; }
body.ex-site .ex-eyebrow {
    display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px;
    background: rgba(228, 231, 122, .35); color: var(--ex-ink); font-weight: 700; font-size: .82rem; letter-spacing: .01em;
}
body.ex-site .ex-eyebrow:before { content: none; }
body.ex-site .ex-see-all {
    display: inline-flex; align-items: center; gap: 6px; padding: 10px 18px; border-radius: 999px;
    border: 1.5px solid var(--ex-line-strong); background: #fff; font-weight: 700; font-size: .9rem; color: var(--ex-ink);
    transition: all .2s var(--sx-ease);
}
body.ex-site .ex-see-all:hover { background: var(--ex-ink); color: var(--ex-lime); border-color: var(--ex-ink); }

/* ===================================================================== cards */

body.ex-site .ex-card,
body.ex-site .ex-b-card,
body.ex-site .ex-m-card {
    border-radius: var(--ex-radius); border: 1px solid var(--ex-line); background: #fff;
    box-shadow: var(--sx-shadow); overflow: hidden;
    transition: transform .35s var(--sx-ease), box-shadow .35s var(--sx-ease), border-color .35s ease;
}
body.ex-site .ex-card:hover,
body.ex-site .ex-b-card:hover,
body.ex-site .ex-m-card:hover { transform: translateY(-6px); box-shadow: var(--sx-shadow-lg); border-color: rgba(200, 205, 95, .9); }
body.ex-site .ex-media, body.ex-site .ex-b-media { overflow: hidden; background: radial-gradient(120% 90% at 50% 0%, #f1f4e6 0%, #e7ecdc 100%); }
body.ex-site .ex-media img, body.ex-site .ex-b-media img { transition: transform .6s var(--sx-ease); }
body.ex-site .ex-card:hover .ex-media img, body.ex-site .ex-b-card:hover .ex-b-media img { transform: scale(1.06); }
body.ex-site .ex-badge-tr {
    background: var(--ex-lime); color: var(--ex-ink); font-weight: 800; border-radius: 999px; padding: 5px 11px;
    box-shadow: 0 6px 14px -6px rgba(16, 36, 28, .35);
}
body.ex-site .ex-card-title, body.ex-site .ex-b-title { font-weight: 700; font-size: 1.04rem; line-height: 1.4; }
body.ex-site .ex-card-shop, body.ex-site .ex-b-sub { color: var(--ex-muted); font-size: .84rem; }
body.ex-site .ex-price-now { font-family: var(--sx-display); font-weight: 800; font-size: 1.32rem; color: var(--ex-ink); }
body.ex-site .ex-price-was { color: #93a39a; }
body.ex-site .ex-b-foot { border-top: 1px dashed var(--ex-line-strong); }
body.ex-site .ex-b-cost b { font-family: var(--sx-display); font-size: 1.18rem; }

/* merchant card */
body.ex-site .ex-m-banner { background: radial-gradient(140% 120% at 100% 0%, rgba(228, 231, 122, .55) 0%, transparent 55%), linear-gradient(135deg, #10241c 0%, #1d3f2c 100%); }
body.ex-site .ex-m-badge { background: rgba(255, 255, 255, .14); color: #fff; border: 1px solid rgba(255, 255, 255, .22); backdrop-filter: blur(6px); }
body.ex-site .ex-m-avatar { background: var(--ex-lime); color: var(--ex-ink); box-shadow: 0 0 0 5px #fff, 0 10px 22px -10px rgba(16, 36, 28, .5); font-family: var(--sx-display); }

/* category chips */
body.ex-site .ex-cat {
    border-radius: 999px; padding: 10px 18px; background: #fff; border: 1.5px solid var(--ex-line); font-weight: 700;
    transition: all .2s var(--sx-ease); box-shadow: 0 2px 8px -4px rgba(16, 36, 28, .12);
}
body.ex-site .ex-cat:hover, body.ex-site a.ex-cat.is-active { background: var(--ex-ink); color: var(--ex-lime); border-color: var(--ex-ink); transform: translateY(-2px); }

/* ===================================================================== inner-page header */

body.ex-site .ex-page-head {
    position: relative; overflow: hidden; color: #fff; padding: 64px 0 74px;
    background:
        radial-gradient(520px 260px at 92% -10%, rgba(228, 231, 122, .32), transparent 60%),
        radial-gradient(560px 300px at -6% 120%, rgba(47, 138, 91, .45), transparent 60%),
        linear-gradient(135deg, #0b1a14 0%, #10241c 55%, #1d3f2c 100%);
}
body.ex-site .ex-page-head:before {
    content: ''; position: absolute; inset: 0; pointer-events: none;
    background-image: radial-gradient(rgba(228, 231, 122, .14) 1px, transparent 1px); background-size: 22px 22px;
    mask-image: linear-gradient(180deg, #000 0%, transparent 85%);
}
body.ex-site .ex-page-head:after {
    content: ''; position: absolute; inset-inline-end: -40px; bottom: -70px; width: 260px; height: 260px; pointer-events: none;
    background: url('../images/brand/expire-icon.png') center / contain no-repeat; opacity: .07; transform: rotate(-12deg);
}
body.ex-site .ex-page-head .ex-wrap { position: relative; z-index: 1; }
body.ex-site .ex-page-head h1 { font-size: clamp(32px, 4vw, 52px); font-weight: 800; color: #fff; margin-bottom: 10px; }
body.ex-site .ex-page-head p { color: rgba(255, 255, 255, .72); max-width: 620px; }
body.ex-site .ex-breadcrumb { display: inline-flex; gap: 8px; align-items: center; padding: 7px 14px; border-radius: 999px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .12); font-size: .86rem; }
body.ex-site .ex-breadcrumb a { color: var(--ex-lime); }
body.ex-site .ex-breadcrumb span { color: rgba(255, 255, 255, .7); }

/* ===================================================================== forms & panels */

body.ex-site .ex-input, body.ex-site .ex-select, body.ex-site .ex-textarea {
    border-radius: 14px; border: 1.5px solid var(--ex-line-strong); background: #fff; min-height: 48px;
    transition: border-color .2s ease, box-shadow .2s ease;
}
body.ex-site .ex-input:focus, body.ex-site .ex-select:focus, body.ex-site .ex-textarea:focus {
    border-color: var(--ex-ink); box-shadow: 0 0 0 4px rgba(228, 231, 122, .55); outline: 0;
}
body.ex-site .ex-panel { border-radius: var(--ex-radius); border: 1px solid var(--ex-line); box-shadow: var(--sx-shadow); }
body.ex-site .ex-empty { border-radius: var(--ex-radius); border: 1.5px dashed var(--ex-line-strong); background: rgba(255, 255, 255, .6); padding: 48px 20px; }
body.ex-site .ex-filterbar { border-radius: var(--ex-radius); box-shadow: var(--sx-shadow); border: 1px solid var(--ex-line); }

/* ===================================================================== navbar (sx-nav) */

.sx-nav-shell { position: sticky; top: 0; z-index: 60; padding: 14px 0 0; pointer-events: none; }
.sx-nav {
    pointer-events: auto; max-width: var(--ex-maxw); margin: 0 auto; width: calc(100% - 32px);
    display: flex; align-items: center; justify-content: space-between; gap: 18px;
    padding: 10px 12px 10px 14px; border-radius: 22px;
    background: rgba(255, 255, 255, .78); backdrop-filter: saturate(170%) blur(16px); -webkit-backdrop-filter: saturate(170%) blur(16px);
    border: 1px solid rgba(16, 36, 28, .08); box-shadow: 0 10px 30px -18px rgba(16, 36, 28, .35);
    transition: background .3s ease, box-shadow .3s ease, padding .3s ease;
}
.sx-nav-shell.is-scrolled .sx-nav { background: rgba(255, 255, 255, .92); box-shadow: 0 18px 40px -22px rgba(16, 36, 28, .5); }
.sx-nav-dark .sx-nav { background: rgba(16, 36, 28, .55); border-color: rgba(255, 255, 255, .1); }
.sx-nav-dark .sx-nav a, .sx-nav-dark .sx-nav .sx-nav-link { color: #fff; }
.sx-nav-dark.is-scrolled .sx-nav { background: rgba(16, 36, 28, .9); }
.sx-brand img { height: 40px; display: block; }
.sx-brand .sx-brand-light { display: none; }
.sx-nav-dark .sx-brand .sx-brand-light { display: block; }
.sx-nav-dark .sx-brand .sx-brand-dark { display: none; }
.sx-links { display: flex; align-items: center; gap: 2px; }
.sx-nav-link {
    position: relative; padding: 9px 14px; border-radius: 12px; font-weight: 600; font-size: .94rem; color: var(--ex-ink);
    text-decoration: none; transition: background .2s ease, color .2s ease;
}
.sx-nav-link:hover { background: rgba(16, 36, 28, .06); color: var(--ex-ink); }
.sx-nav-dark .sx-nav-link:hover { background: rgba(255, 255, 255, .1); }
.sx-nav-link.is-active { background: var(--ex-ink); color: var(--ex-lime) !important; }
.sx-nav-dark .sx-nav-link.is-active { background: var(--ex-lime); color: var(--ex-ink) !important; }
.sx-actions { display: flex; align-items: center; gap: 8px; }
.sx-icon {
    position: relative; width: 44px; height: 44px; border-radius: 14px; display: inline-grid; place-items: center;
    background: rgba(16, 36, 28, .05); color: var(--ex-ink); text-decoration: none; transition: all .2s ease;
}
.sx-icon:hover { background: var(--ex-ink); color: var(--ex-lime); }
.sx-nav-dark .sx-icon { background: rgba(255, 255, 255, .1); color: #fff; }
.sx-icon .sx-count { position: absolute; top: -4px; inset-inline-end: -4px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 999px; background: var(--ex-lime); color: var(--ex-ink); font-size: 11px; font-weight: 800; display: grid; place-items: center; box-shadow: 0 0 0 2px #fff; }
.sx-cta { padding: 11px 20px !important; }
.sx-burger { display: none; }

@media (max-width: 1080px) {
    .sx-links { display: none; }
    .sx-burger { display: inline-grid; }
    .sx-hide-sm { display: none !important; }
}

/* drawer */
body.ex-site .ex-drawer { border-radius: 24px 0 0 24px; background: #fff; }
body.ex-site .ex-drawer-links a { border-radius: 12px; font-weight: 600; }
body.ex-site .ex-drawer-links a:hover { background: var(--ex-paper); }

/* ===================================================================== footer (sx-footer) */

.sx-footer { position: relative; overflow: hidden; background: #0b1a14; color: rgba(255, 255, 255, .72); margin-top: 40px; }
.sx-footer:before {
    content: ''; position: absolute; inset: 0; pointer-events: none;
    background: radial-gradient(600px 300px at 90% 0%, rgba(228, 231, 122, .14), transparent 60%), radial-gradient(500px 300px at 0% 100%, rgba(47, 138, 91, .25), transparent 60%);
}
.sx-footer .ex-wrap { position: relative; z-index: 1; }
.sx-foot-cta {
    display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
    padding: 34px 38px; margin: 0 0 54px; transform: translateY(-50%); margin-bottom: -10px;
    border-radius: 28px; background: var(--ex-lime); color: var(--ex-ink);
    box-shadow: 0 30px 60px -28px rgba(0, 0, 0, .6);
}
.sx-foot-cta h3 { font-family: var(--sx-display); font-size: clamp(22px, 2.6vw, 32px); font-weight: 800; margin: 0 0 4px; color: var(--ex-ink); }
.sx-foot-cta p { margin: 0; color: rgba(16, 36, 28, .75); }
.sx-foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 36px; padding: 10px 0 46px; }
.sx-foot-brand img { height: 46px; margin-bottom: 16px; }
.sx-foot-brand p { max-width: 360px; line-height: 1.8; }
.sx-footer h4 { color: #fff; font-size: 1rem; font-weight: 700; margin-bottom: 16px; font-family: var(--sx-display); }
.sx-footer a.sx-foot-link { display: block; color: rgba(255, 255, 255, .7); padding: 6px 0; text-decoration: none; transition: color .2s ease, transform .2s ease; }
.sx-footer a.sx-foot-link:hover { color: var(--ex-lime); transform: translateX(-4px); }
.sx-sub { display: flex; gap: 8px; margin-top: 18px; max-width: 380px; }
.sx-sub input { flex: 1; min-width: 0; height: 48px; border-radius: 14px; border: 1px solid rgba(255, 255, 255, .15); background: rgba(255, 255, 255, .06); color: #fff; padding: 0 14px; }
.sx-sub input::placeholder { color: rgba(255, 255, 255, .45); }
.sx-socials { display: flex; gap: 8px; margin-top: 18px; }
.sx-socials a { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: rgba(255, 255, 255, .07); color: #fff; transition: all .2s ease; }
.sx-socials a:hover { background: var(--ex-lime); color: var(--ex-ink); }
.sx-foot-bottom { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 22px 0; border-top: 1px solid rgba(255, 255, 255, .08); font-size: .88rem; color: rgba(255, 255, 255, .5); }
.sx-big-word { font-family: var(--sx-display); font-weight: 900; font-size: clamp(70px, 15vw, 210px); line-height: .8; letter-spacing: -.03em; color: transparent; -webkit-text-stroke: 1px rgba(228, 231, 122, .14); text-align: center; user-select: none; margin-top: 10px; }

@media (max-width: 900px) {
    .sx-foot-grid { grid-template-columns: 1fr 1fr; }
    .sx-foot-brand { grid-column: 1 / -1; }
    .sx-foot-cta { transform: none; margin: 36px 0 30px; }
}

/* ===================================================================== home (sx-*) */

/* hero */
.sx-hero {
    position: relative; overflow: hidden; color: #fff; margin-top: -78px; padding: 150px 0 110px;
    background:
        radial-gradient(700px 380px at 82% 8%, rgba(228, 231, 122, .28), transparent 62%),
        radial-gradient(640px 420px at 0% 100%, rgba(47, 138, 91, .5), transparent 60%),
        linear-gradient(160deg, #07130e 0%, #10241c 48%, #173326 100%);
}
.sx-hero:before {
    content: ''; position: absolute; inset: 0; pointer-events: none;
    background-image: linear-gradient(rgba(228, 231, 122, .06) 1px, transparent 1px), linear-gradient(90deg, rgba(228, 231, 122, .06) 1px, transparent 1px);
    background-size: 56px 56px; mask-image: radial-gradient(ellipse at 60% 30%, #000 0%, transparent 70%);
}
.sx-hero-in { position: relative; z-index: 2; display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; }
.sx-pill { display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px 7px 8px; border-radius: 999px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .14); font-size: .88rem; font-weight: 600; color: rgba(255, 255, 255, .85); backdrop-filter: blur(6px); }
.sx-pill b { background: var(--ex-lime); color: var(--ex-ink); padding: 3px 10px; border-radius: 999px; font-size: .78rem; }
.sx-hero h1 { font-size: clamp(40px, 5.6vw, 78px); font-weight: 800; line-height: 1.04; margin: 22px 0 18px; color: #fff; }
.sx-hero h1 em { font-style: normal; color: var(--ex-lime); position: relative; white-space: nowrap; }
.sx-hero h1 em:after { content: ''; position: absolute; inset-inline: 0; bottom: .06em; height: .14em; background: rgba(228, 231, 122, .28); border-radius: 4px; z-index: -1; }
.sx-hero .sx-lead { font-size: clamp(16px, 1.35vw, 19px); color: rgba(255, 255, 255, .72); max-width: 580px; line-height: 1.85; }

.sx-search {
    display: flex; align-items: center; gap: 8px; margin-top: 30px; max-width: 600px;
    padding: 8px; border-radius: 20px; background: rgba(255, 255, 255, .96); box-shadow: 0 24px 50px -22px rgba(0, 0, 0, .6);
}
.sx-search i { color: var(--ex-muted); margin-inline-start: 10px; }
.sx-search input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; height: 46px; font-size: 1rem; color: var(--ex-ink); }
.sx-search .ex-btn { padding: 12px 22px; }
.sx-hero-links { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 18px; }
.sx-hero-links a { color: rgba(255, 255, 255, .8); font-size: .9rem; padding: 6px 12px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .14); text-decoration: none; transition: all .2s ease; }
.sx-hero-links a:hover { background: rgba(228, 231, 122, .14); color: var(--ex-lime); border-color: rgba(228, 231, 122, .4); }

.sx-stats { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 34px; }
.sx-stat { min-width: 132px; padding: 14px 18px; border-radius: 18px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); backdrop-filter: blur(8px); }
.sx-stat b { display: block; font-family: var(--sx-display); font-size: 1.9rem; font-weight: 800; color: var(--ex-lime); line-height: 1.1; }
.sx-stat span { font-size: .84rem; color: rgba(255, 255, 255, .7); }

/* the hourglass stage, on the dark */
.sx-stage { position: relative; display: grid; place-items: center; min-height: 480px; }
.sx-stage:before { content: ''; position: absolute; width: 380px; height: 380px; border-radius: 50%; background: radial-gradient(circle, rgba(228, 231, 122, .32) 0%, transparent 65%); filter: blur(10px); animation: sx-breathe 6s ease-in-out infinite; }
.sx-stage .ex-hg-canvas-wrap { position: relative; z-index: 1; transition: transform .9s var(--sx-ease); }
.sx-stage .ex-hg-canvas-wrap.is-flipped { transform: rotate(180deg); }
.sx-float {
    position: absolute; z-index: 2; display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-radius: 18px;
    background: rgba(255, 255, 255, .95); color: var(--ex-ink); box-shadow: 0 20px 40px -18px rgba(0, 0, 0, .6);
    animation: sx-float 6s ease-in-out infinite;
}
.sx-float .fi { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; }
.sx-float b { display: block; font-size: .92rem; }
.sx-float span { font-size: .78rem; color: var(--ex-muted); }
.sx-float-1 { top: 12%; inset-inline-start: -2%; }
.sx-float-2 { bottom: 14%; inset-inline-end: -4%; animation-delay: -3s; }
.sx-float-3 { top: 48%; inset-inline-end: -8%; animation-delay: -1.5s; }
@keyframes sx-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes sx-breathe { 0%, 100% { transform: scale(1); opacity: .9; } 50% { transform: scale(1.08); opacity: 1; } }

/* marquee band of activities */
.sx-band { background: var(--ex-lime); color: var(--ex-ink); overflow: hidden; border-block: 1px solid rgba(16, 36, 28, .1); }
.sx-band-track { display: flex; gap: 46px; padding: 16px 0; width: max-content; animation: sx-marquee 32s linear infinite; }
.sx-band:hover .sx-band-track { animation-play-state: paused; }
.sx-band a, .sx-band span { display: inline-flex; align-items: center; gap: 10px; font-family: var(--sx-display); font-weight: 700; font-size: 1.05rem; color: var(--ex-ink); text-decoration: none; white-space: nowrap; }
.sx-band i { font-size: .7rem; opacity: .6; }
@keyframes sx-marquee { from { transform: translateX(0); } to { transform: translateX(50%); } }

/* bento of what the platform does */
.sx-bento { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: minmax(190px, auto); gap: 16px; }
.sx-tile {
    position: relative; overflow: hidden; border-radius: 26px; padding: 26px; background: #fff; border: 1px solid var(--ex-line);
    box-shadow: var(--sx-shadow); display: flex; flex-direction: column; gap: 10px; text-decoration: none; color: var(--ex-ink);
    transition: transform .35s var(--sx-ease), box-shadow .35s var(--sx-ease);
}
.sx-tile:hover { transform: translateY(-6px); box-shadow: var(--sx-shadow-lg); color: var(--ex-ink); }
.sx-tile .ic { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; font-size: 22px; background: rgba(228, 231, 122, .45); color: var(--ex-ink); }
.sx-tile h3 { font-size: 1.22rem; font-weight: 800; margin: 6px 0 0; }
.sx-tile p { color: var(--ex-muted); margin: 0; line-height: 1.75; font-size: .95rem; }
.sx-tile .go { margin-top: auto; font-weight: 700; font-size: .9rem; display: inline-flex; gap: 6px; align-items: center; }
.sx-tile-wide { grid-column: span 2; }
.sx-tile-tall { grid-row: span 2; }
.sx-tile-ink { background: linear-gradient(160deg, #10241c 0%, #1d3f2c 100%); color: #fff; border: 0; }
.sx-tile-ink:hover { color: #fff; }
.sx-tile-ink .ic { background: var(--ex-lime); }
.sx-tile-ink p { color: rgba(255, 255, 255, .7); }
.sx-tile-lime { background: var(--ex-lime); border: 0; }
.sx-tile-lime p { color: rgba(16, 36, 28, .72); }
.sx-tile-lime .ic { background: var(--ex-ink); color: var(--ex-lime); }
.sx-tile .sx-tile-art { position: absolute; inset-inline-end: -30px; bottom: -30px; font-size: 150px; opacity: .07; transform: rotate(-12deg); }
.sx-tile-ink .sx-tile-art { opacity: .1; color: var(--ex-lime); }

/* how it works */
.sx-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; counter-reset: sxstep; position: relative; }
.sx-step { position: relative; padding: 28px 24px 24px; border-radius: 24px; background: #fff; border: 1px solid var(--ex-line); box-shadow: var(--sx-shadow); counter-increment: sxstep; }
.sx-step:before { content: counter(sxstep, decimal-leading-zero); position: absolute; top: 18px; inset-inline-end: 22px; font-family: var(--sx-display); font-weight: 900; font-size: 2.6rem; color: rgba(16, 36, 28, .07); }
.sx-step .ic { width: 50px; height: 50px; border-radius: 16px; background: var(--ex-ink); color: var(--ex-lime); display: grid; place-items: center; font-size: 20px; margin-bottom: 16px; }
.sx-step h3 { font-size: 1.12rem; font-weight: 800; margin: 0 0 8px; }
.sx-step p { color: var(--ex-muted); margin: 0; line-height: 1.75; font-size: .94rem; }

/* audience split */
.sx-split { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.sx-aud {
    position: relative; overflow: hidden; border-radius: 30px; padding: 40px; min-height: 300px; display: flex; flex-direction: column; justify-content: flex-end; gap: 12px;
}
.sx-aud h3 { font-size: clamp(24px, 2.4vw, 34px); font-weight: 800; margin: 0; }
.sx-aud p { margin: 0; line-height: 1.8; max-width: 440px; }
.sx-aud ul { list-style: none; padding: 0; margin: 4px 0 10px; display: grid; gap: 8px; }
.sx-aud li { display: flex; gap: 10px; align-items: center; font-weight: 600; font-size: .95rem; }
.sx-aud li i { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: 11px; }
.sx-aud-ink { background: radial-gradient(500px 280px at 100% 0%, rgba(228, 231, 122, .25), transparent 60%), linear-gradient(150deg, #0b1a14, #1d3f2c); color: #fff; }
.sx-aud-ink p { color: rgba(255, 255, 255, .72); }
.sx-aud-ink li i { background: var(--ex-lime); color: var(--ex-ink); }
.sx-aud-lime { background: radial-gradient(500px 280px at 0% 0%, rgba(255, 255, 255, .6), transparent 60%), var(--ex-lime); color: var(--ex-ink); }
.sx-aud-lime p { color: rgba(16, 36, 28, .75); }
.sx-aud-lime li i { background: var(--ex-ink); color: var(--ex-lime); }
.sx-aud .sx-aud-art { position: absolute; top: 26px; inset-inline-end: 30px; font-size: 90px; opacity: .14; }

/* reveal motion */
body.ex-site .ex-reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--sx-ease), transform .7s var(--sx-ease); }
body.ex-site .ex-reveal.is-in { opacity: 1; transform: none; }

@media (max-width: 1080px) {
    .sx-hero-in { grid-template-columns: 1fr; }
    .sx-stage { min-height: 380px; }
    .sx-bento { grid-template-columns: repeat(2, 1fr); }
    .sx-split { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
    .sx-hero { padding: 130px 0 70px; }
    .sx-bento { grid-template-columns: 1fr; }
    .sx-tile-wide { grid-column: auto; }
    .sx-tile-tall { grid-row: auto; }
    .sx-float-3 { display: none; }
    .sx-search .ex-btn span { display: none; }
    body.ex-site .ex-section { padding: 60px 0; }
}
@media (prefers-reduced-motion: reduce) {
    .sx-band-track, .sx-float, .sx-stage:before { animation: none; }
}

/* ===================================================================== dark top: the nav floats over the first dark section */

body.ex-site:has(> .sx-hero, > .ex-page-head) .sx-nav-shell:not(.is-scrolled) .sx-nav { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .12); box-shadow: none; }
body.ex-site:has(> .sx-hero, > .ex-page-head) .sx-nav-shell:not(.is-scrolled) :is(.sx-nav-link, .sx-icon) { color: #fff; }
body.ex-site:has(> .sx-hero, > .ex-page-head) .sx-nav-shell:not(.is-scrolled) .sx-nav-link:hover { background: rgba(255, 255, 255, .1); }
body.ex-site:has(> .sx-hero, > .ex-page-head) .sx-nav-shell:not(.is-scrolled) .sx-nav-link.is-active { background: var(--ex-lime); color: var(--ex-ink) !important; }
body.ex-site:has(> .sx-hero, > .ex-page-head) .sx-nav-shell:not(.is-scrolled) .sx-icon { background: rgba(255, 255, 255, .1); }
body.ex-site:has(> .sx-hero, > .ex-page-head) .sx-nav-shell:not(.is-scrolled) .ex-btn-ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .3); }
body.ex-site:has(> .sx-hero, > .ex-page-head) .sx-nav-shell:not(.is-scrolled) .sx-brand-dark { display: none; }
body.ex-site:has(> .sx-hero, > .ex-page-head) .sx-nav-shell:not(.is-scrolled) .sx-brand-light { display: block; }
body.ex-site > .ex-page-head { margin-top: -78px; padding-top: 140px !important; }

/* headings on the dark tiles keep their light colour over the base h* rule */
body.ex-site :is(.sx-tile-ink, .sx-aud-ink, .sx-hero) :is(h1, h2, h3) { color: #fff; }
body.ex-site .sx-hero h1 em { color: var(--ex-lime); }
body.ex-site :is(.sx-tile-lime, .sx-aud-lime, .sx-tile, .sx-step) h3 { color: var(--ex-ink); }
body.ex-site .sx-tile-ink h3 { color: #fff; }

/* the footer clips its glow, so its call-to-action sits inside it rather than straddling the edge */
.sx-footer { padding-top: 56px; }
.sx-foot-cta { transform: none; margin: 0 0 54px; }
.sx-tile-ink .go { color: var(--ex-lime); }
body.ex-site .ex-page-head:after { content: none; }

/* nothing on the public site may scroll sideways on a phone */
html:has(body.ex-site), body.ex-site { overflow-x: clip; }
@media (max-width: 620px) {
    .sx-hero h1 em { white-space: normal; }
    .sx-stage { min-height: 0; transform: scale(.82); margin: -40px 0; }
    .sx-float-1 { inset-inline-start: 0; }
    .sx-float-2 { inset-inline-end: 0; }
}

/* basket details (legacy template): the 450px picture pushed the item list over the summary column */
body.ex-site .basket-details-page .details-product-area { min-width: 0; gap: 24px; }
body.ex-site .basket-details-page .details-product-area .product-thumb-area { flex: 0 1 42%; min-width: 0; margin: 0 !important; }
body.ex-site .basket-details-page .details-product-area .product-thumb { width: 100% !important; max-width: 100%; }
body.ex-site .basket-details-page .details-product-area .contents { flex: 1 1 0; min-width: 0; margin: 0 !important; }

/* pixel sizes in the shell, so the legacy pages' 10px root font cannot shrink it */
.sx-nav-link { font-size: 15px; }
.sx-nav .ex-btn-sm { font-size: 14px; padding: 9px 18px; }
.sx-icon { font-size: 16px; }
