/* ===========================================================================
   Samt design system — hand-rolled, no build step, no npm (brain/03, brain/04).
   RTL/LTR is achieved with CSS *logical properties only* (inline/block),
   so this single stylesheet serves both directions with no [dir] overrides.
   =========================================================================== */

/* ---- Fonts: Tajawal, self-hosted (no CDN). One family covers Arabic + Latin;
   each weight is split into an Arabic and a Latin subset by unicode-range so the
   browser downloads only what a page actually uses. */
@font-face {
    font-family: 'Tajawal';
    font-weight: 400;
    font-style: normal;
    font-display: swap;
    src: url('/fonts/tajawal-400-arabic.woff2') format('woff2');
    unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC, U+1EE00-1EEFF;
}
@font-face {
    font-family: 'Tajawal';
    font-weight: 400;
    font-style: normal;
    font-display: swap;
    src: url('/fonts/tajawal-400-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: 'Tajawal';
    font-weight: 500;
    font-style: normal;
    font-display: swap;
    src: url('/fonts/tajawal-500-arabic.woff2') format('woff2');
    unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC, U+1EE00-1EEFF;
}
@font-face {
    font-family: 'Tajawal';
    font-weight: 500;
    font-style: normal;
    font-display: swap;
    src: url('/fonts/tajawal-500-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: 'Tajawal';
    font-weight: 700;
    font-style: normal;
    font-display: swap;
    src: url('/fonts/tajawal-700-arabic.woff2') format('woff2');
    unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC, U+1EE00-1EEFF;
}
@font-face {
    font-family: 'Tajawal';
    font-weight: 700;
    font-style: normal;
    font-display: swap;
    src: url('/fonts/tajawal-700-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: 'Tajawal';
    font-weight: 800;
    font-style: normal;
    font-display: swap;
    src: url('/fonts/tajawal-800-arabic.woff2') format('woff2');
    unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC, U+1EE00-1EEFF;
}
@font-face {
    font-family: 'Tajawal';
    font-weight: 800;
    font-style: normal;
    font-display: swap;
    src: url('/fonts/tajawal-800-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---- Display face: Readex Pro (SIL OFL), self-hosted like Tajawal. One
   variable file per subset covers every weight, so headings cost ~54 KB total.
   Used for headings only; Tajawal still carries body copy, which it reads
   better at small sizes. */
@font-face {
    font-family: 'Readex Pro';
    font-weight: 400 700;
    font-style: normal;
    font-display: swap;
    src: url('/fonts/readex-arabic.woff2') format('woff2');
    unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC, U+102E0-102FB, U+10E60-10E7E, U+10EC2-10EC4, U+10EFC-10EFF, U+1EE00-1EEF1;
}
@font-face {
    font-family: 'Readex Pro';
    font-weight: 400 700;
    font-style: normal;
    font-display: swap;
    src: url('/fonts/readex-latin.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;
}

/* ---- Design tokens ---- */
/* Brand palette from the Samt logo: deep navy + warm gold. */
:root {
    --navy-900: #0f1e40;
    --navy-800: #17274f;
    --navy-700: #26375f;

    --gold-600: #a97f16; /* gold text on light — meets contrast */
    --gold-500: #c9a227; /* brand gold — fills, accents */
    --gold-400: #ddbb52; /* light gold — highlight / on-dark accent */

    --ink: #1a2238;
    --muted: #5b6478;
    --bg: #ffffff;
    --surface: #f7f6f1;
    --surface-2: #f2ecdd;
    --border: #e6e4dc;
    --on-dark: #eef1fa;
    --on-dark-muted: #aeb8d4;

    /* Semantic surfaces/roles — every component reads these so a single dark
       override (below) re-themes the whole site without touching components. */
    --heading: var(--navy-900);   /* headings + strong nav text */
    --link: var(--navy-700);      /* body/prose links */
    --card: #ffffff;              /* raised card surface */
    --input-bg: #ffffff;          /* form fields */
    --header-bg: rgba(255, 255, 255, 0.9);
    --header-bg-scrolled: rgba(255, 255, 255, 0.96);
    --pill-bg: #ffffff;           /* language pill / icon buttons */
    --badge-soon-bg: #fff4e5;
    --badge-soon-fg: #b7791f;
    --notice-bg: #fff8e6;
    --notice-border: #f4e3b2;
    --notice-fg: #8a6d1f;
    --status-ok-bg: #e7f6ec;
    --status-ok-fg: #1a7f45;
    --status-error-bg: #fdecea;
    --status-error-fg: #b42318;

    --accent-gradient: linear-gradient(135deg, var(--gold-600), var(--gold-400));

    /* Tajawal carries both Arabic and Latin, so one family serves both directions. */
    --font-display: 'Readex Pro', 'Tajawal', 'Segoe UI', Tahoma, sans-serif;
    --font-ar: 'Tajawal', 'Segoe UI', Tahoma, 'Noto Sans Arabic', sans-serif;
    --font-latin: 'Tajawal', 'Segoe UI', system-ui, -apple-system, sans-serif;

    --step--1: clamp(0.83rem, 0.8rem + 0.15vw, 0.9rem);
    --step-0: clamp(1rem, 0.96rem + 0.2vw, 1.1rem);
    --step-1: clamp(1.2rem, 1.1rem + 0.4vw, 1.4rem);
    --step-2: clamp(1.5rem, 1.3rem + 0.8vw, 1.9rem);
    --step-3: clamp(1.9rem, 1.5rem + 1.6vw, 2.7rem);
    --step-4: clamp(2.3rem, 1.7rem + 2.6vw, 3.6rem);

    --space-1: 0.5rem;
    --space-2: 1rem;
    --space-3: 1.5rem;
    --space-4: 2.5rem;
    --space-5: 4rem;
    --space-6: 6rem;

    --radius: 14px;
    --radius-sm: 9px;
    --container: 68rem;
    --shadow: 0 10px 40px -12px rgba(16, 33, 84, 0.18);
    --shadow-sm: 0 2px 10px -4px rgba(16, 33, 84, 0.14);
}

/* ---- Dark theme — same navy+gold identity on an inverted ground. Only tokens
   change; the brand navy stays fixed so the hero/footer/stats read as panels a
   shade above the near-black page. Three states must all resolve:
     • OS dark  → the @media block (unless the visitor forced light)
     • toggled dark / light → the [data-theme] blocks, which win either way.
   The token list is repeated in both so an explicit choice always overrides. */
@media (prefers-color-scheme: dark) {
    :root:not([data-theme='light']) {
        --gold-600: #e0bd57;
        --ink: #dbe2f3;
        --muted: #98a2be;
        --bg: #0a1020;
        --surface: #111a30;
        --surface-2: #182541;
        --border: #29344f;
        --heading: #eef1fa;
        --link: #a9bdf0;
        --card: #121d35;
        --input-bg: #0e1730;
        --header-bg: rgba(10, 16, 32, 0.82);
        --header-bg-scrolled: rgba(10, 16, 32, 0.95);
        --pill-bg: rgba(255, 255, 255, 0.05);
        --badge-soon-bg: rgba(221, 187, 82, 0.14);
        --badge-soon-fg: #e0bd57;
        --notice-bg: rgba(221, 187, 82, 0.08);
        --notice-border: rgba(221, 187, 82, 0.26);
        --notice-fg: #ddbb52;
        --status-ok-bg: rgba(26, 127, 69, 0.18);
        --status-ok-fg: #7ee0a6;
        --status-error-bg: rgba(180, 35, 24, 0.2);
        --status-error-fg: #f4a99f;
        --shadow: 0 14px 44px -14px rgba(0, 0, 0, 0.62);
        --shadow-sm: 0 2px 12px -4px rgba(0, 0, 0, 0.5);
    }
}
:root[data-theme='dark'] {
    --gold-600: #e0bd57;
    --ink: #dbe2f3;
    --muted: #98a2be;
    --bg: #0a1020;
    --surface: #111a30;
    --surface-2: #182541;
    --border: #29344f;
    --heading: #eef1fa;
    --link: #a9bdf0;
    --card: #121d35;
    --input-bg: #0e1730;
    --header-bg: rgba(10, 16, 32, 0.82);
    --header-bg-scrolled: rgba(10, 16, 32, 0.95);
    --pill-bg: rgba(255, 255, 255, 0.05);
    --badge-soon-bg: rgba(221, 187, 82, 0.14);
    --badge-soon-fg: #e0bd57;
    --notice-bg: rgba(221, 187, 82, 0.08);
    --notice-border: rgba(221, 187, 82, 0.26);
    --notice-fg: #ddbb52;
    --status-ok-bg: rgba(26, 127, 69, 0.18);
    --status-ok-fg: #7ee0a6;
    --status-error-bg: rgba(180, 35, 24, 0.2);
    --status-error-fg: #f4a99f;
    --shadow: 0 14px 44px -14px rgba(0, 0, 0, 0.62);
    --shadow-sm: 0 2px 12px -4px rgba(0, 0, 0, 0.5);
}
/* A dark page needs a dark browser UI bar — kept in sync by theme-init.js/toggle. */

/* ---- Base ---- */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    font-family: var(--font-ar);
    line-height: 1.65;
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
}

html[lang='en'] {
    font-family: var(--font-latin);
    line-height: 1.6;
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--ink);
    font-size: var(--step-0);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

h1, h2, h3, h4 {
    font-family: var(--font-display);
    line-height: 1.25;
    margin: 0 0 var(--space-2);
    color: var(--heading);
    font-weight: 700;
}

h1 { font-size: var(--step-4); letter-spacing: -0.02em; }
h2 { font-size: var(--step-3); letter-spacing: -0.01em; }
h3 { font-size: var(--step-1); }

p { margin: 0 0 var(--space-2); }

a {
    color: var(--link);
    text-decoration: none;
}
a:hover { text-decoration: underline; }

:focus-visible {
    outline: 3px solid var(--gold-500);
    outline-offset: 2px;
    border-radius: 4px;
}

/*
 * FocusOnNavigate puts programmatic focus on the page <h1> after every
 * navigation so screen readers announce the new heading. That heading carries
 * tabindex="-1" (never a keyboard tab stop), yet on a fresh load the browser
 * treats the scripted focus as "focus-visible" and paints the gold ring until
 * the first click. Suppress the visible ring on the heading only — the
 * accessibility focus stays; links, buttons and inputs keep their ring.
 */
h1[tabindex]:focus,
h1[tabindex]:focus-visible {
    outline: none;
}

img { max-width: 100%; height: auto; }

/* ---- Layout helpers ---- */
.container {
    inline-size: 100%;
    max-inline-size: var(--container);
    margin-inline: auto;
    padding-inline: var(--space-3);
}

.section {
    padding-block: var(--space-5);
}

.section--tint { background: var(--surface); }

.stack > * + * { margin-block-start: var(--space-2); }

.lead {
    font-size: var(--step-1);
    color: var(--muted);
    max-inline-size: 44ch;
}

.eyebrow {
    display: inline-block;
    font-size: var(--step--1);
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--gold-600);
    margin-block-end: var(--space-1);
}

/* ---- Skip link ---- */
.skip-link {
    position: absolute;
    inset-block-start: -3rem;
    inset-inline-start: var(--space-2);
    background: var(--navy-900);
    color: var(--on-dark);
    padding: var(--space-1) var(--space-2);
    border-radius: var(--radius-sm);
    z-index: 100;
    transition: inset-block-start 0.2s ease;
}
.skip-link:focus {
    inset-block-start: var(--space-1);
    text-decoration: none;
}

/* ---- Buttons ---- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-1);
    padding: 0.7em 1.4em;
    border-radius: var(--radius-sm);
    font: inherit;
    font-weight: 600;
    line-height: 1;
    cursor: pointer;
    border: 1px solid transparent;
    transition: transform 0.08s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.btn:hover { text-decoration: none; }
.btn:active { transform: translateY(1px); }

.btn--primary {
    background: var(--accent-gradient);
    color: var(--navy-900);
    box-shadow: var(--shadow-sm);
}
.btn--primary:hover { box-shadow: var(--shadow); }

.btn--ghost {
    background: transparent;
    color: var(--heading);
    border-color: var(--border);
}
.btn--ghost:hover { background: var(--surface-2); }

.btn--on-dark {
    background: #fff;
    color: var(--navy-900);
}

/* ---- Header / nav ---- */
.site-header {
    position: sticky;
    inset-block-start: 0;
    z-index: 50;
    background: var(--header-bg);
    backdrop-filter: blur(8px);
    border-block-end: 1px solid var(--border);
}
.site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-3);
    padding-block: var(--space-2);
    flex-wrap: wrap;
}
.brand {
    display: inline-flex;
    align-items: center;
    margin-inline-end: auto; /* push nav + tools to the far edge */
}
.brand:hover { text-decoration: none; }
.brand__logo {
    display: block;
    block-size: clamp(3.4rem, 2.8rem + 2vw, 4.75rem);
    inline-size: auto;
}
/* Swap the logo with the theme: the dark variant is transparent + light ink, so
   no white plaque appears on a dark page. Mirrors the token three-state pattern. */
.brand__logo--dark { display: none; }
:root[data-theme='dark'] .brand__logo--light { display: none; }
:root[data-theme='dark'] .brand__logo--dark { display: block; }
@media (prefers-color-scheme: dark) {
    :root:not([data-theme='light']) .brand__logo--light { display: none; }
    :root:not([data-theme='light']) .brand__logo--dark { display: block; }
}
.main-nav {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    flex-wrap: wrap;
}
.main-nav__links {
    display: flex;
    gap: var(--space-3);
    list-style: none;
    margin: 0;
    padding: 0;
    flex-wrap: wrap;
}
.main-nav__links a {
    color: var(--ink);
    font-weight: 500;
}
.main-nav a[aria-current='page'] {
    color: var(--heading);
    text-decoration: none;
}
.main-nav__cta {
    padding-block: 0.5rem;
    padding-inline: 1.15rem;
    font-size: var(--step--1);
}

/* ---- Header tools cluster: theme toggle · language · (mobile) menu button ---- */
.header-tools {
    display: flex;
    align-items: center;
    gap: var(--space-2);
}

/* Round icon buttons shared by the theme toggle and the menu button. */
.theme-toggle,
.nav-toggle {
    inline-size: 2.5rem;
    block-size: 2.5rem;
    padding: 0;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: var(--pill-bg);
    color: var(--heading);
    cursor: pointer;
    transition: border-color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}
.theme-toggle { display: inline-grid; place-items: center; }
.theme-toggle:hover,
.nav-toggle:hover {
    border-color: var(--gold-500);
    box-shadow: 0 6px 18px -8px rgba(15, 30, 64, 0.5);
}
.theme-toggle__icon { inline-size: 1.2rem; block-size: 1.2rem; }
/* The icon shows the action the click performs, resolved across all three states. */
.theme-toggle__to-light { display: none; }
.theme-toggle__to-dark { display: block; }
:root[data-theme='dark'] .theme-toggle__to-dark { display: none; }
:root[data-theme='dark'] .theme-toggle__to-light { display: block; }
@media (prefers-color-scheme: dark) {
    :root:not([data-theme='light']) .theme-toggle__to-dark { display: none; }
    :root:not([data-theme='light']) .theme-toggle__to-light { display: block; }
}

/* Hamburger → X. Hidden on desktop, where the nav is laid out inline. */
.nav-toggle { display: none; place-items: center; }
.nav-toggle__bars,
.nav-toggle__bars::before,
.nav-toggle__bars::after {
    content: '';
    display: block;
    inline-size: 1.15rem;
    block-size: 2px;
    border-radius: 2px;
    background: var(--heading);
    transition: transform 0.25s ease, opacity 0.2s ease;
}
.nav-toggle__bars { position: relative; }
.nav-toggle__bars::before { position: absolute; inset-inline: 0; inset-block-start: -6px; }
.nav-toggle__bars::after { position: absolute; inset-inline: 0; inset-block-end: -6px; }
.site-header.nav-open .nav-toggle__bars { background: transparent; }
.site-header.nav-open .nav-toggle__bars::before { transform: translateY(6px) rotate(45deg); }
.site-header.nav-open .nav-toggle__bars::after { transform: translateY(-6px) rotate(-45deg); }

/* ---- Mobile: nav collapses into a dropdown under the sticky header ---- */
@media (max-width: 48rem) {
    .nav-toggle { display: grid; }
    .main-nav {
        position: absolute;
        inset-inline: 0;
        inset-block-start: 100%;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: var(--space-2) var(--space-3) var(--space-3);
        background: var(--header-bg-scrolled);
        backdrop-filter: blur(8px);
        border-block-end: 1px solid var(--border);
        box-shadow: var(--shadow);
        display: none;
    }
    .site-header.nav-open .main-nav { display: flex; }
    .main-nav__links { flex-direction: column; gap: 0; inline-size: 100%; }
    .main-nav__links li { border-block-end: 1px solid var(--border); }
    .main-nav__links a { display: block; padding-block: 0.85rem; font-size: var(--step-0); }
    .main-nav__links a::after { display: none; } /* no sliding underline when stacked */
    .main-nav__cta {
        display: inline-flex;
        align-self: stretch;
        justify-content: center;
        margin-block-start: var(--space-2);
        font-size: var(--step-0);
    }
}

.lang-switch {
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 0.35em 0.8em;
    color: var(--heading);
    font-weight: 600;
    font-size: var(--step--1);
    background: var(--pill-bg);
}
.lang-switch:hover { background: var(--surface-2); text-decoration: none; }

/* ---- Hero ---- */
.hero {
    background: radial-gradient(120% 120% at 100% 0%, var(--navy-700), var(--navy-900) 60%);
    color: var(--on-dark);
    padding-block: var(--space-6) var(--space-5);
    position: relative;
    overflow: hidden;
}
.hero h1 { color: #fff; max-inline-size: 20ch; }
.hero .eyebrow { color: var(--gold-400); }
.hero__subtitle {
    font-size: var(--step-1);
    color: var(--on-dark-muted);
    max-inline-size: 48ch;
    margin-block-end: var(--space-3);
}
.hero__actions {
    display: flex;
    gap: var(--space-2);
    flex-wrap: wrap;
}

/* ---- Cards ---- */
.grid {
    display: grid;
    gap: var(--space-3);
    grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
}
.card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: var(--space-3);
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    gap: var(--space-1);
}
.card--link { transition: transform 0.12s ease, box-shadow 0.2s ease; }
.card--link:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow);
    text-decoration: none;
}
.card h3 { margin: 0; }
.card__meta {
    font-size: var(--step--1);
    color: var(--muted);
}

.badge {
    display: inline-block;
    font-size: var(--step--1);
    font-weight: 600;
    padding: 0.15em 0.7em;
    border-radius: 999px;
    background: var(--surface-2);
    color: var(--gold-600);
    align-self: flex-start;
}
.badge--soon { background: var(--badge-soon-bg); color: var(--badge-soon-fg); }

/* ---- Feature list ---- */
.feature-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: var(--space-2);
}
.feature-list li {
    padding-inline-start: 1.8rem;
    position: relative;
}
.feature-list li::before {
    content: '';
    position: absolute;
    inset-inline-start: 0;
    inset-block-start: 0.55em;
    inline-size: 0.7rem;
    block-size: 0.7rem;
    border-radius: 3px;
    background: var(--accent-gradient);
}

/* ---- CTA band ---- */
.cta-band {
    background: radial-gradient(130% 150% at 0% 0%, var(--navy-700), var(--navy-900) 70%);
    color: #fff;
    border: 1px solid rgba(201, 162, 39, 0.35);
    border-radius: var(--radius);
    padding: var(--space-4);
    text-align: center;
    position: relative;
    overflow: hidden;
}
.cta-band::before {
    content: '';
    position: absolute;
    inset-block-start: 0;
    inset-inline: 0;
    block-size: 3px;
    background: var(--accent-gradient);
}
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255, 255, 255, 0.9); }

/* ---- Contact form ---- */
.form-grid {
    display: grid;
    gap: var(--space-3);
    grid-template-columns: 1fr;
}
@media (min-width: 48rem) {
    .form-grid { grid-template-columns: 3fr 2fr; }
}
.field { display: flex; flex-direction: column; gap: 0.35rem; margin-block-end: var(--space-2); }
.field label { font-weight: 600; font-size: var(--step--1); }
.field .optional { color: var(--muted); font-weight: 400; }
.field input,
.field select,
.field textarea {
    font: inherit;
    color: var(--ink);
    padding: 0.7em 0.9em;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background: var(--input-bg);
    inline-size: 100%;
}
.field textarea { resize: vertical; min-block-size: 7rem; }
.field input:focus,
.field select:focus,
.field textarea:focus { border-color: var(--gold-500); outline-offset: 0; }

/* Honeypot: visually and semantically hidden from real users */
.hp-field {
    position: absolute;
    inline-size: 1px;
    block-size: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.validation-message { color: #d92d20; font-size: var(--step--1); }
.field input.invalid,
.field select.invalid,
.field textarea.invalid { border-color: #d92d20; }

.form-status {
    padding: var(--space-2) var(--space-3);
    border-radius: var(--radius-sm);
    margin-block-end: var(--space-3);
}
.form-status--ok { background: var(--status-ok-bg); color: var(--status-ok-fg); }
.form-status--error { background: var(--status-error-bg); color: var(--status-error-fg); }

.contact-info {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: var(--space-3);
    align-self: start;
}
.contact-info dt { font-weight: 600; margin-block-start: var(--space-2); }
.contact-info dd { margin: 0; }

/* ---- Prose (legal pages) ---- */
.prose { max-inline-size: 60ch; }
.prose h2 { font-size: var(--step-2); margin-block-start: var(--space-3); }
.prose h3 { margin-block-start: var(--space-2); }
.prose ul { padding-inline-start: 1.4rem; }

/* ---- Footer ---- */
.site-footer {
    margin-block-start: auto;
    background: var(--navy-900);
    color: var(--on-dark-muted);
    padding-block: var(--space-4);
}
.site-footer a { color: var(--on-dark); }
.site-footer__grid {
    display: flex;
    gap: var(--space-4);
    flex-wrap: wrap;
    justify-content: space-between;
}
.site-footer h4 {
    color: #fff;
    font-size: var(--step--1);
    letter-spacing: 0.04em;
    margin: 0 0 var(--space-2);
}
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.4rem; }
.site-footer__brand { max-inline-size: 22ch; }
.site-footer__bottom {
    margin-block-start: var(--space-3);
    padding-block-start: var(--space-3);
    border-block-start: 1px solid rgba(255, 255, 255, 0.12);
    font-size: var(--step--1);
}

.notice {
    background: var(--notice-bg);
    border: 1px solid var(--notice-border);
    border-radius: var(--radius-sm);
    padding: var(--space-2) var(--space-3);
    color: var(--notice-fg);
    font-size: var(--step--1);
}

/* ---- Utilities ---- */
.text-muted { color: var(--muted); }
.mt-4 { margin-block-start: var(--space-4); }
.visually-hidden {
    position: absolute;
    inline-size: 1px;
    block-size: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ===========================================================================
   Visual layer — motion, depth and micro-interactions. Everything degrades:
   with JS off the page is fully visible, and ambient motion is gated behind
   prefers-reduced-motion: no-preference.
   =========================================================================== */

/* ---- Hero: aurora + grid + staggered entrance ---- */
.hero { isolation: isolate; }

.hero__aurora {
    position: absolute;
    inset: 0;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
}
.hero__aurora span {
    position: absolute;
    display: block;
    border-radius: 50%;
    filter: blur(64px);
}
.hero__aurora span:nth-child(1) {
    inline-size: 34rem; block-size: 34rem;
    inset-block-start: -12rem; inset-inline-end: -8rem;
    background: radial-gradient(circle, var(--gold-500), transparent 68%);
    opacity: 0.4;
}
.hero__aurora span:nth-child(2) {
    inline-size: 28rem; block-size: 28rem;
    inset-block-end: -14rem; inset-inline-start: -8rem;
    background: radial-gradient(circle, #3a5ba0, transparent 68%);
    opacity: 0.45;
}
.hero__aurora span:nth-child(3) {
    inline-size: 22rem; block-size: 22rem;
    inset-block-start: 24%; inset-inline-start: 42%;
    background: radial-gradient(circle, var(--gold-400), transparent 70%);
    opacity: 0.14;
}
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
    background-size: 42px 42px;
    -webkit-mask-image: radial-gradient(120% 85% at 50% 0%, #000 38%, transparent 78%);
    mask-image: radial-gradient(120% 85% at 50% 0%, #000 38%, transparent 78%);
}


/* ---- Cards: gradient edge on hover ---- */
.card {
    position: relative;
    overflow: hidden;
    transition: transform 0.18s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.card::before {
    content: '';
    position: absolute;
    inset-block-start: 0;
    inset-inline: 0;
    block-size: 3px;
    background: var(--accent-gradient);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}
.card:hover::before { transform: scaleX(1); }
.card--link:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 52px -20px rgba(15, 30, 64, 0.32);
    border-color: rgba(201, 162, 39, 0.4);
}

/* ---- Buttons: sheen + lift ---- */
.btn { position: relative; overflow: hidden; }
.btn--primary::after {
    content: '';
    position: absolute;
    inset-block: 0;
    inset-inline-start: -60%;
    inline-size: 40%;
    background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.35), transparent);
    transform: skewX(-20deg);
    transition: inset-inline-start 0.55s ease;
    pointer-events: none;
}
.btn--primary:hover { transform: translateY(-1px); }
.btn--primary:hover::after { inset-inline-start: 120%; }

.btn--outline-light {
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.28);
    backdrop-filter: blur(4px);
}
.btn--outline-light:hover {
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(255, 255, 255, 0.55);
    text-decoration: none;
}

/* ---- Header + nav polish ---- */
.site-header { transition: box-shadow 0.25s ease, background 0.25s ease; }
.site-header.is-scrolled {
    box-shadow: 0 8px 28px -16px rgba(16, 33, 84, 0.45);
    background: var(--header-bg-scrolled);
}
.main-nav__links a { position: relative; }
.main-nav__links a::after {
    content: '';
    position: absolute;
    inset-block-end: -5px;
    inset-inline: 0;
    block-size: 2px;
    border-radius: 2px;
    background: var(--accent-gradient);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.25s ease;
}
.main-nav__links a:hover { text-decoration: none; }
.main-nav__links a:hover::after,
.main-nav a[aria-current='page']::after { transform: scaleX(1); }
.main-nav a[aria-current='page'] { text-decoration: none; }

/* ---- Motion (only when the user hasn't asked to reduce it) ---- */
@media (prefers-reduced-motion: no-preference) {
    .hero__aurora span { animation: samt-float 18s ease-in-out infinite; }
    .hero__aurora span:nth-child(2) { animation-duration: 24s; animation-direction: reverse; }
    .hero__aurora span:nth-child(3) { animation-duration: 30s; }

    .hero .eyebrow,
    .hero h1,
    .hero__subtitle,
    .hero__actions {
        animation: samt-rise 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) both;
    }
    .hero h1 { animation-delay: 0.08s; }
    .hero__subtitle { animation-delay: 0.16s; }
    .hero__actions { animation-delay: 0.24s; }

    .reveal-ready [data-reveal] {
        opacity: 0;
        transform: translateY(1.7rem);
        transition:
            opacity 0.7s cubic-bezier(0.2, 0.7, 0.2, 1),
            transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
        transition-delay: var(--reveal-delay, 0s);
    }
    .reveal-ready [data-reveal].is-in {
        opacity: 1;
        transform: none;
    }
}

@keyframes samt-float {
    0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
    50% { transform: translate3d(0, 2rem, 0) scale(1.08); }
}
@keyframes samt-rise {
    from { opacity: 0; transform: translateY(1.4rem); }
    to { opacity: 1; transform: none; }
}

/* ---- Pointer-driven flourishes (mouse only; skipped on touch) ---- */
@media (hover: hover) and (pointer: fine) {
    [data-tilt] {
        transform-style: preserve-3d;
        will-change: transform;
    }
    [data-tilt].is-tilting {
        transform: perspective(760px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(-4px);
        transition: transform 0.08s ease-out;
    }
    /* A soft gold spotlight follows the cursor across the card. */
    [data-tilt]::after {
        content: '';
        position: absolute;
        inset: 0;
        border-radius: inherit;
        background: radial-gradient(circle at var(--gx, 50%) var(--gy, 50%),
            rgba(201, 162, 39, 0.18), transparent 55%);
        opacity: 0;
        transition: opacity 0.25s ease;
        pointer-events: none;
        z-index: 1;
    }
    [data-tilt].is-tilting::after { opacity: 1; }
    [data-tilt] > * { position: relative; z-index: 2; }

    /* Hero aurora drifts with the cursor (spans still float independently). */
    .hero__aurora {
        transform: translate3d(calc(var(--px, 0) * 2.6rem), calc(var(--py, 0) * 2.6rem), 0);
        transition: transform 0.4s ease-out;
    }
}

/* ---- Button glow (mouse only) ---- */
@media (hover: hover) and (pointer: fine) {
    /* Cursor-following highlight on buttons. */
    .btn::before {
        content: '';
        position: absolute;
        inset: 0;
        border-radius: inherit;
        background: radial-gradient(circle at var(--bx, 50%) var(--by, 50%),
            rgba(255, 255, 255, 0.32), transparent 55%);
        opacity: 0;
        transition: opacity 0.25s ease;
        pointer-events: none;
    }
    .btn:hover::before { opacity: 1; }
}

/* ---- Compact language pill (short by default, reveals the full name on hover) ---- */
.lang-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.42rem 0.8rem;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: var(--pill-bg);
    color: var(--heading);
    font-weight: 700;
    font-size: var(--step--1);
    line-height: 1;
    overflow: hidden;
    transition: border-color 0.25s ease, background 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
}
.lang-pill:hover {
    border-color: var(--gold-500);
    background: var(--navy-900);
    color: #fff;
    text-decoration: none;
    box-shadow: 0 6px 18px -8px rgba(15, 30, 64, 0.5);
}
.lang-pill__globe {
    inline-size: 1.05rem;
    block-size: 1.05rem;
    flex: none;
    transition: transform 0.55s ease, color 0.25s ease;
}
.lang-pill:hover .lang-pill__globe {
    transform: rotate(360deg);
    color: var(--gold-400);
}
.lang-pill__code,
.lang-pill__name {
    overflow: hidden;
    white-space: nowrap;
    transition: max-inline-size 0.35s ease, opacity 0.25s ease;
}
.lang-pill__code { max-inline-size: 3rem; opacity: 1; }
.lang-pill__name { max-inline-size: 0; opacity: 0; }
.lang-pill:hover .lang-pill__code { max-inline-size: 0; opacity: 0; }
.lang-pill:hover .lang-pill__name { max-inline-size: 7rem; opacity: 1; }

/* ---- Geometric diamond texture across every section ---- */
.section { position: relative; }
.section::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='56'%3E%3Cpath d='M28 3 L53 28 L28 53 L3 28 Z' fill='none' stroke='%23c9a227' stroke-opacity='0.08' stroke-width='1'/%3E%3C/svg%3E");
    background-size: 56px 56px;
}
.section > .container { position: relative; z-index: 1; }

/* ---- Dynamic, elastic product cards ---- */
.product-card {
    isolation: isolate;
    padding-block-end: var(--space-4);
}
/* corner diamond that springs on hover */
.product-card__shape {
    position: absolute;
    inset-block-start: -1.6rem;
    inset-inline-end: -1.6rem;
    inline-size: 4.6rem;
    block-size: 4.6rem;
    border: 1.5px solid rgba(201, 162, 39, 0.35);
    border-radius: 8px;
    transform: rotate(45deg);
    transition: transform 0.55s cubic-bezier(0.34, 1.56, 0.64, 1), border-color 0.4s ease;
}
.product-card:hover .product-card__shape {
    transform: rotate(135deg) scale(1.15);
    border-color: rgba(201, 162, 39, 0.65);
}
/* a warm wash that rises from inside on hover */
.product-card__rise {
    position: absolute;
    inset-inline: 0;
    inset-block-end: 0;
    block-size: 0;
    background: linear-gradient(to top, rgba(201, 162, 39, 0.16), transparent);
    transition: block-size 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.product-card:hover .product-card__rise { block-size: 60%; }
/* keep decorative layers behind the content (overriding the tilt child rule) */
.product-card > .product-card__shape,
.product-card > .product-card__rise { z-index: 0; }
/* the "learn more" affordance with a direction-aware, springy chevron */
.product-card__more {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    margin-block-start: auto;
    color: var(--gold-600);
    font-weight: 700;
}
.product-card__more i {
    inline-size: 0.45rem;
    block-size: 0.45rem;
    border-block-start: 2px solid currentColor;
    border-inline-end: 2px solid currentColor;
    transform: rotate(45deg);
    display: inline-block;
    transition: margin-inline-start 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.product-card:hover .product-card__more i { margin-inline-start: 0.5rem; }

/* Cover image on the card — the visitor sees the product before opening it. */
.product-card__cover {
    display: block;
    margin: calc(-1 * var(--space-3)) calc(-1 * var(--space-3)) var(--space-2);
    aspect-ratio: 16 / 10;
    overflow: hidden;
    border-start-start-radius: var(--radius);
    border-start-end-radius: var(--radius);
    background: var(--surface-2);
}
.product-card__cover img {
    inline-size: 100%;
    block-size: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}
.product-card:hover .product-card__cover img { transform: scale(1.05); }
.product-card--imaged { padding-block-end: var(--space-3); }

/* ---- Capabilities strip — a calm, static replacement for the old marquee ---- */
.caps {
    border-block: 1px solid var(--border);
    background: var(--surface);
    padding-block: var(--space-2);
}
.caps__row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.6rem 1.25rem;
}
.caps__item {
    font-weight: 700;
    color: var(--heading);
    font-size: var(--step--1);
    letter-spacing: 0.01em;
}
.caps__sep {
    inline-size: 7px;
    block-size: 7px;
    transform: rotate(45deg);
    background: var(--gold-500);
    border-radius: 1px;
    flex: 0 0 auto;
}
@media (max-width: 560px) {
    .caps__sep { display: none; }
    .caps__row { gap: 0.35rem 1rem; }
}

/* ---- First-load splash: the wordmark «سَمْت» fills with colour, letter by
   letter from the right, then fades out. A single text node keeps the Arabic
   connected; the ::after overlays the same word with a gradient wiped across it. ---- */
.splash {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: grid;
    place-items: center;
    /* A frosted veil over the page rather than an opaque cover: the page is
       already behind it, blurred. Once the wordmark has filled, the blur and the
       tint melt away together so the page resolves into focus. */
    background: var(--splash-veil, var(--bg));
    -webkit-backdrop-filter: blur(10px) saturate(1.04);
    backdrop-filter: blur(10px) saturate(1.04);
    animation: splash-clear 0.65s cubic-bezier(0.4, 0, 0.2, 1) 0.9s forwards;
}
/* The actual SAMT logo fills with the brand gradient, right→left. The logo art
   (transparent PNG) is used as an alpha mask, so a faint base + a growing gradient
   are clipped to the exact logo shape — the wordmark itself "saturates" with colour. */
.splash__logo {
    display: block;
    inline-size: clamp(10rem, 32vw, 16rem);
    aspect-ratio: 2366 / 1438;
    -webkit-mask: url('/brand/samt-logo.png?v=3') center / contain no-repeat;
    mask: url('/brand/samt-logo.png?v=3') center / contain no-repeat;
    background-color: var(--surface-2); /* the unfilled logo, faint */
    background-image: linear-gradient(to left, var(--navy-900), var(--gold-600));
    background-repeat: no-repeat;
    background-position: right center; /* fill grows from the right (RTL start) */
    background-size: 0% 100%;
    animation: word-fill 0.9s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}
/* The English pages fill the English lockup instead (wider, so its own ratio). */
html[lang='en'] .splash__logo {
    aspect-ratio: 2394 / 1104;
    -webkit-mask-image: url('/brand/samt-logo-en.png?v=3');
    mask-image: url('/brand/samt-logo-en.png?v=3');
    background-position: left center; /* fill grows from the left (LTR start) */
    background-image: linear-gradient(to right, var(--navy-900), var(--gold-600));
}
@keyframes word-fill {
    to { background-size: 100% 100%; }
}
@keyframes splash-out {
    to { opacity: 0; visibility: hidden; pointer-events: none; }
}
/* Blur and tint clear together, so the page sharpens into view instead of a
   solid panel blinking away. */
@keyframes splash-clear {
    to {
        opacity: 0;
        -webkit-backdrop-filter: blur(0px) saturate(1);
        backdrop-filter: blur(0px) saturate(1);
        visibility: hidden;
        pointer-events: none;
    }
}
@media (prefers-reduced-motion: reduce) {
    .splash { animation: splash-out 0.01s linear 0.5s forwards; }
    .splash__logo { animation: none; background-size: 100% 100%; }
}
/* On a dark ground the deep end of the fill would vanish — wipe light→gold instead.
   English keeps the same colours but wipes the other way (LTR). */
:root[data-theme='dark'] .splash__logo {
    background-image: linear-gradient(to left, var(--on-dark), var(--gold-400));
}
:root[data-theme='dark'] html[lang='en'] .splash__logo,
html[lang='en']:root[data-theme='dark'] .splash__logo {
    background-image: linear-gradient(to right, var(--on-dark), var(--gold-400));
}
@media (prefers-color-scheme: dark) {
    :root:not([data-theme='light']) .splash__logo {
        background-image: linear-gradient(to left, var(--on-dark), var(--gold-400));
    }
    html[lang='en']:root:not([data-theme='light']) .splash__logo {
        background-image: linear-gradient(to right, var(--on-dark), var(--gold-400));
    }
}

/* ---- Product category tabs (public products page) ---- */
.ptabs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-block: var(--space-3) var(--space-2);
}
.ptab {
    font: inherit;
    font-weight: 700;
    font-size: var(--step--1);
    color: var(--heading);
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 999px;
    padding: 0.5rem 1.1rem;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.ptab:hover { border-color: var(--gold-500); }
.ptab.is-active {
    background: var(--navy-900);
    color: var(--on-dark);
    border-color: var(--navy-900);
}
.pcat { margin-block-start: var(--space-4); }
.pcat:first-of-type { margin-block-start: var(--space-2); }
.pcat.is-hidden { display: none; }

/* ---- Product gallery (public product page) ---- */
.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: var(--space-2);
}
.gallery__img {
    inline-size: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
}
.product-shot {
    max-inline-size: 100%;
    block-size: auto;
    border-radius: 12px;
    border: 1px solid var(--border);
}
.is-zoomable { cursor: zoom-in; transition: opacity 0.2s ease; }
.is-zoomable:hover { opacity: 0.92; }

/* ---- Lightbox: a full-screen, browsable image viewer ---- */
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 10001;
    display: none;
    align-items: center;
    justify-content: center;
    background: rgba(8, 12, 28, 0.93);
    padding: clamp(1rem, 4vw, 3rem);
}
.lightbox.is-open { display: flex; }
.lightbox__img {
    max-inline-size: 100%;
    max-block-size: 88vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.55);
}
.lightbox__close,
.lightbox__nav {
    position: absolute;
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    border: none;
    cursor: pointer;
    border-radius: 50%;
    inline-size: 48px;
    block-size: 48px;
    font-size: 1.7rem;
    line-height: 1;
    display: grid;
    place-items: center;
    transition: background 0.2s ease, transform 0.2s ease;
}
.lightbox__close:hover,
.lightbox__nav:hover { background: rgba(255, 255, 255, 0.26); }
.lightbox__nav:hover { transform: translateY(-50%) scale(1.08); }
.lightbox__close { inset-block-start: 1rem; inset-inline-end: 1rem; }
.lightbox__prev { inset-inline-start: 1rem; inset-block-start: 50%; transform: translateY(-50%); }
.lightbox__next { inset-inline-end: 1rem; inset-block-start: 50%; transform: translateY(-50%); }

/* ---- WhatsApp floating button ---- */
.wa-float {
    position: fixed;
    inset-block-end: 1.25rem;
    inset-inline-end: 1.25rem;
    z-index: 9998;
    inline-size: 56px;
    block-size: 56px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: #25d366;
    color: #fff;
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.45);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.wa-float:hover { transform: scale(1.08); box-shadow: 0 10px 30px rgba(37, 211, 102, 0.6); }

/* ---- Services & client cards: a small gold diamond mark ---- */
.svc-card,
.client-card { position: relative; }
.svc-card__mark,
.client-card__mark {
    display: block;
    inline-size: 13px;
    block-size: 13px;
    background: var(--accent-gradient);
    border-radius: 3px;
    transform: rotate(45deg);
    margin-block: 0.2rem var(--space-2);
    margin-inline-start: 0.2rem;
}

/* ---- Stats band ---- */
.stats-band {
    background: var(--navy-900);
    color: var(--on-dark);
    padding-block: var(--space-5);
}
.stats-band__row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: var(--space-4) var(--space-3);
    text-align: center;
}
.stat {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}
.stat__value {
    font-size: clamp(2.2rem, 1.6rem + 2.4vw, 3.4rem);
    font-weight: 800;
    line-height: 1;
    direction: ltr; /* keep "30+", "100%" in Latin order within the RTL layout */
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}
.stat__label {
    color: var(--on-dark-muted);
    font-size: var(--step--1);
}

/* ---- How-we-work steps ---- */
.steps {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: var(--space-3);
}
.step {
    display: flex;
    gap: var(--space-2);
    align-items: flex-start;
}
.step h3 { margin-block-end: 0.25rem; }
.step__num {
    flex: 0 0 auto;
    inline-size: 2.4rem;
    block-size: 2.4rem;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-weight: 800;
    color: var(--heading);
    background: var(--surface-2);
    border: 1.5px solid var(--gold-500);
}
@media (min-width: 720px) {
    .steps { grid-template-columns: 1fr 1fr; column-gap: var(--space-4); }
}
