/* ──────────────────────────────────────────────────────────────────────────────
 * AZDAN ACCESS POINT — public landing page
 *
 * Customer-safe stylesheet. Drop the entire `deploy/landing/` directory
 * into /var/www/ops/ behind the existing nginx `location /` block.
 *
 * Brand tokens (the ONLY colors used):
 *   --azdan-green #24B167
 *   --azdan-black #000000
 *   --azdan-white #FFFFFF
 *   --azdan-cream #E3DDCF
 *   --azdan-slate #504755
 *   --azdan-blue  #4054B2  (informational accent only)
 *
 * Fonts:
 *   Headings — Philosopher (Google Fonts)
 *   Body     — Dubai (local() lookup, system fallback)
 *
 * Animation policy:
 *   All motion is CSS-only and respects `prefers-reduced-motion: reduce`.
 *   No JS is required for any visual on this page.
 * ────────────────────────────────────────────────────────────────────────────── */

:root {
    /* Constant brand accents — identical in both themes. */
    --azdan-green: #24b167;
    --azdan-blue: #4054b2;

    /* Theme-agnostic primitives. */
    --font-heading: "Philosopher", Georgia, serif;
    --font-body: "DubaiFont", system-ui, "Segoe UI", "Helvetica Neue", Arial,
        sans-serif;

    --container: 1180px;
    --radius-md: 10px;
    --radius-lg: 14px;
    --radius-xl: 18px;

    --ease-soft: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ── LIGHT THEME (default) ──────────────────────────────────────────────────
   Warm ivory canvas, elevated off-white cards, charcoal text, AZDAN green
   accent. Premium enterprise-SaaS appearance with clear surface separation. */
:root,
[data-theme="light"] {
    color-scheme: light;

    --azdan-black: #16130e;
    /* dark — used as text on green buttons */
    --azdan-white: #1b1813;
    /* primary text (charcoal) */
    --azdan-cream: #524a3d;
    /* secondary text (warm brown) */
    --azdan-slate: #6e6655;
    /* muted text */

    --surface-0: #ece4d3;
    /* page canvas — warm ivory, not plain white */
    --surface-1: #fbf8f1;
    /* card — clean warm white, elevated */
    --surface-2: #f3ecdd;
    /* hover / inset — clearly deeper warm beige */
    --surface-3: #ffffff;
    /* raised / popover */
    --border-soft: rgba(120, 102, 71, 0.20);
    --border-strong: rgba(120, 102, 71, 0.32);

    /* Surface washes & elevation (theme-tuned). */
    --nav-bg: rgba(251, 248, 241, 0.78);
    --trust-bg: rgba(120, 102, 71, 0.05);
    --glow-green: rgba(36, 177, 103, 0.10);
    --glow-blue: rgba(64, 84, 178, 0.08);
    --glow-slate: rgba(120, 102, 71, 0.10);
    --shadow-card: 0 1px 2px rgba(74, 58, 32, 0.06),
        0 18px 48px -28px rgba(74, 58, 32, 0.32);
    --hairline: rgba(120, 102, 71, 0.22);
    --svg-node-bg: rgba(120, 102, 71, 0.06);
    --svg-node-border: rgba(120, 102, 71, 0.26);
}

/* ── DARK THEME — original premium green-black canvas, unchanged language ──── */
[data-theme="dark"] {
    color-scheme: dark;

    --azdan-black: #000000;
    --azdan-white: #ffffff;
    --azdan-cream: #e3ddcf;
    --azdan-slate: #504755;

    --surface-0: #000000;
    --surface-1: rgba(227, 221, 207, 0.04);
    --surface-2: rgba(227, 221, 207, 0.07);
    --surface-3: rgba(227, 221, 207, 0.10);
    --border-soft: rgba(227, 221, 207, 0.10);
    --border-strong: rgba(227, 221, 207, 0.18);

    --nav-bg: rgba(0, 0, 0, 0.55);
    --trust-bg: rgba(227, 221, 207, 0.02);
    --glow-green: rgba(36, 177, 103, 0.16);
    --glow-blue: rgba(64, 84, 178, 0.14);
    --glow-slate: rgba(80, 71, 85, 0.20);
    --shadow-card: 0 30px 80px -30px rgba(0, 0, 0, 0.7),
        0 0 0 1px rgba(36, 177, 103, 0.04);
    --hairline: rgba(227, 221, 207, 0.18);
    --svg-node-bg: rgba(227, 221, 207, 0.05);
    --svg-node-border: rgba(227, 221, 207, 0.18);
}

@font-face {
    font-family: "DubaiFont";
    src: local("Dubai"), local("Dubai-Regular");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "DubaiFont";
    src: local("Dubai Medium"), local("Dubai-Medium");
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "DubaiFont";
    src: local("Dubai Bold"), local("Dubai-Bold");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

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

html,
body {
    margin: 0;
    padding: 0;
    background-color: var(--surface-0);
    color: var(--azdan-white);
    font-family: var(--font-body);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    min-height: 100vh;
    position: relative;
    isolation: isolate;
}

/* Soft moving glow background — pure CSS, GPU-friendly. Two large radial
   washes drift very slowly behind the content. They're hidden from screen
   readers and disabled when reduced motion is requested. */
body::before,
body::after {
    content: "";
    position: fixed;
    inset: -20%;
    z-index: -1;
    pointer-events: none;
    background-repeat: no-repeat;
    will-change: transform;
}

body::before {
    background-image:
        radial-gradient(46% 36% at 18% 14%, var(--glow-green), transparent 70%);
    animation: az-drift-a 26s var(--ease-soft) infinite alternate;
}

body::after {
    background-image:
        radial-gradient(40% 36% at 86% 84%, var(--glow-blue), transparent 70%),
        radial-gradient(28% 22% at 50% 100%, var(--glow-slate), transparent 70%);
    animation: az-drift-b 32s var(--ease-soft) infinite alternate;
}

@keyframes az-drift-a {
    0% {
        transform: translate3d(-2%, -2%, 0) scale(1);
    }

    100% {
        transform: translate3d(3%, 4%, 0) scale(1.06);
    }
}

@keyframes az-drift-b {
    0% {
        transform: translate3d(2%, 2%, 0) scale(1.04);
    }

    100% {
        transform: translate3d(-3%, -3%, 0) scale(1);
    }
}

h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
    color: var(--azdan-white);
    letter-spacing: -0.01em;
    margin: 0;
}

p {
    margin: 0;
    color: var(--azdan-cream);
    line-height: 1.65;
}

a {
    color: inherit;
    text-decoration: none;
}

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

::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

::-webkit-scrollbar-track {
    background: var(--surface-0);
}

::-webkit-scrollbar-thumb {
    background: var(--azdan-slate);
    border-radius: 999px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--azdan-cream);
}

:focus-visible {
    outline: 2px solid var(--azdan-blue);
    outline-offset: 2px;
    border-radius: 4px;
}

.skip-link {
    position: absolute;
    left: -9999px;
    top: 8px;
}

.skip-link:focus {
    left: 12px;
    z-index: 100;
    background: var(--azdan-green);
    color: #06140c;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 13px;
}

/* ─── Layout primitives ──────────────────────────────────────────────────── */

.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 24px;
}

@media (max-width: 480px) {
    .container {
        padding: 0 18px;
    }
}

.section {
    padding: 96px 0;
    border-top: 1px solid var(--border-soft);
}

.section--hero {
    padding: 112px 0 96px;
    border-top: none;
}

@media (max-width: 720px) {
    .section {
        padding: 64px 0;
    }

    .section--hero {
        padding: 88px 0 64px;
    }
}

.eyebrow {
    display: inline-block;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--azdan-cream);
    padding: 4px 10px;
    border: 1px solid var(--border-strong);
    border-radius: 999px;
    background-color: var(--surface-1);
}

.section-title {
    font-size: clamp(26px, 3.4vw, 40px);
    line-height: 1.18;
    margin-top: 18px;
    max-width: 720px;
}

.section-sub {
    margin-top: 14px;
    max-width: 680px;
    color: var(--azdan-cream);
    font-size: 15px;
    line-height: 1.7;
}

/* Staggered entrance for any element marked `.reveal`. Pure CSS, no JS.
   We use an animation that runs once on load — no IntersectionObserver
   so the page works with JS disabled. The delay is set inline-friendly
   via nth-of-type so it doesn't depend on data attributes. */
.reveal {
    opacity: 0;
    transform: translateY(14px);
    animation: az-rise 0.7s var(--ease-soft) forwards;
}

.reveal-group>* {
    opacity: 0;
    transform: translateY(14px);
    animation: az-rise 0.7s var(--ease-soft) forwards;
}

.reveal-group>*:nth-child(1) {
    animation-delay: 0.05s;
}

.reveal-group>*:nth-child(2) {
    animation-delay: 0.12s;
}

.reveal-group>*:nth-child(3) {
    animation-delay: 0.19s;
}

.reveal-group>*:nth-child(4) {
    animation-delay: 0.26s;
}

.reveal-group>*:nth-child(5) {
    animation-delay: 0.33s;
}

.reveal-group>*:nth-child(6) {
    animation-delay: 0.40s;
}

.reveal-group>*:nth-child(7) {
    animation-delay: 0.47s;
}

.reveal-group>*:nth-child(8) {
    animation-delay: 0.54s;
}

.reveal-group>*:nth-child(9) {
    animation-delay: 0.61s;
}

@keyframes az-rise {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ─── Top nav ────────────────────────────────────────────────────────────── */

.nav {
    position: sticky;
    top: 0;
    z-index: 50;
    -webkit-backdrop-filter: blur(10px) saturate(140%);
    backdrop-filter: blur(10px) saturate(140%);
    background-color: var(--nav-bg);
    border-bottom: 1px solid var(--border-soft);
}

.nav__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    height: 64px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.brand__mark {
    height: 30px;
    width: 30px;
    object-fit: contain;
}

.brand__word {
    height: 18px;
    width: auto;
    object-fit: contain;
    display: block;
}

.brand__sub {
    display: block;
    font-size: 10px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--azdan-cream);
    margin-top: 2px;
}

.nav__links {
    display: none;
    gap: 28px;
}

.nav__links a {
    font-size: 13px;
    color: var(--azdan-cream);
    transition: color 140ms var(--ease-soft);
}

.nav__links a:hover {
    color: var(--azdan-white);
}

.nav__cta {
    display: flex;
    gap: 8px;
    align-items: center;
}

@media (min-width: 940px) {
    .nav__links {
        display: flex;
    }
}

@media (max-width: 560px) {
    .nav__cta .btn--ghost {
        display: none;
    }
}

/* ─── Buttons ────────────────────────────────────────────────────────────── */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 16px;
    border-radius: 8px;
    font-family: inherit;
    font-size: 13.5px;
    font-weight: 500;
    line-height: 1;
    border: 1px solid transparent;
    cursor: pointer;
    transition: background-color 160ms var(--ease-soft),
        border-color 160ms var(--ease-soft),
        color 160ms var(--ease-soft),
        transform 160ms var(--ease-soft),
        box-shadow 160ms var(--ease-soft);
    white-space: nowrap;
}

.btn:hover {
    transform: translateY(-1px);
}

.btn:active {
    transform: translateY(0);
}

.btn--primary {
    background-color: var(--azdan-green);
    color: var(--azdan-black);
    border-color: var(--azdan-green);
}

.btn--primary:hover {
    background-color: #1f9e5b;
    border-color: #1f9e5b;
    box-shadow: 0 10px 28px -10px rgba(36, 177, 103, 0.55);
}

.btn--secondary {
    background-color: transparent;
    color: var(--azdan-white);
    border-color: var(--border-strong);
}

.btn--secondary:hover {
    background-color: var(--surface-2);
    border-color: var(--azdan-cream);
}

.btn--ghost {
    background-color: transparent;
    color: var(--azdan-cream);
}

.btn--ghost:hover {
    color: var(--azdan-white);
}

.btn--lg {
    padding: 13px 22px;
    font-size: 14px;
}

.btn__arrow {
    font-size: 16px;
    line-height: 1;
    transition: transform 160ms var(--ease-soft);
}

.btn:hover .btn__arrow {
    transform: translateX(3px);
}

/* ─── Hero ──────────────────────────────────────────────────────────────── */

.hero {
    display: grid;
    grid-template-columns: 1fr;
    gap: 56px;
    align-items: center;
}

@media (min-width: 980px) {
    .hero {
        grid-template-columns: 1.1fr 1fr;
        gap: 72px;
    }
}

.hero__pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 5px 12px 5px 9px;
    border-radius: 999px;
    background-color: var(--surface-1);
    border: 1px solid var(--border-soft);
    font-size: 12px;
    color: var(--azdan-cream);
}

.hero__dot {
    height: 7px;
    width: 7px;
    border-radius: 999px;
    background-color: var(--azdan-green);
    box-shadow: 0 0 0 3px rgba(36, 177, 103, 0.18);
    animation: az-pulse 2.6s var(--ease-soft) infinite;
}

@keyframes az-pulse {

    0%,
    100% {
        box-shadow: 0 0 0 3px rgba(36, 177, 103, 0.18);
    }

    50% {
        box-shadow: 0 0 0 6px rgba(36, 177, 103, 0.06);
    }
}

.hero__title {
    margin-top: 22px;
    font-size: clamp(32px, 5.4vw, 60px);
    line-height: 1.06;
    letter-spacing: -0.018em;
}

.hero__title em {
    font-style: normal;
    color: var(--azdan-green);
}

.hero__lead {
    margin-top: 22px;
    font-size: 16px;
    line-height: 1.65;
    max-width: 560px;
    color: var(--azdan-cream);
}

.hero__ctas {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 32px;
}

.hero__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 18px 28px;
    margin-top: 32px;
    color: var(--azdan-slate);
    font-size: 12px;
}

.hero__meta strong {
    color: var(--azdan-white);
    font-weight: 500;
    font-feature-settings: "tnum" 1;
}

/* Hero visual — a stylised Peppol network card. Decorative only. */
.network-card {
    position: relative;
    border: 1px solid var(--border-strong);
    border-radius: var(--radius-xl);
    background-color: var(--surface-1);
    overflow: hidden;
    padding: 20px 20px 22px;
    box-shadow: var(--shadow-card);
}

.network-card__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--border-soft);
    margin-bottom: 16px;
}

.network-card__title {
    font-family: var(--font-heading);
    font-size: 14px;
    color: var(--azdan-white);
    letter-spacing: 0.02em;
}

.network-card__status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    color: var(--azdan-cream);
}

.network-card__svg {
    width: 100%;
    height: auto;
    display: block;
}

.network-card__legend {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 16px;
    margin-top: 14px;
    font-size: 11.5px;
    color: var(--azdan-cream);
}

.network-card__legend span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.legend-dot {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background-color: var(--azdan-cream);
}

.legend-dot--green {
    background-color: var(--azdan-green);
}

.legend-dot--blue {
    background-color: var(--azdan-blue);
}

/* Hero network-card SVG — theme-aware fills/strokes (no inline styles). */
.nc-node {
    fill: var(--svg-node-bg);
    stroke: var(--svg-node-border);
}

.nc-primary {
    fill: var(--azdan-white);
}

.nc-secondary {
    fill: var(--azdan-cream);
}

.nc-muted {
    fill: var(--azdan-slate);
}

.nc-hairline {
    stroke: var(--hairline);
}

/* Animated dashed flow on the hero SVG */
.flow-line {
    stroke: var(--azdan-green);
    stroke-width: 1.6;
    fill: none;
    stroke-dasharray: 6 6;
    animation: az-dash 3.2s linear infinite;
    opacity: 0.85;
}

.flow-line--blue {
    stroke: var(--azdan-blue);
    animation-duration: 3.8s;
}

@keyframes az-dash {
    to {
        stroke-dashoffset: -120;
    }
}

/* ─── Trust strip ────────────────────────────────────────────────────────── */

.trust {
    border-top: 1px solid var(--border-soft);
    border-bottom: 1px solid var(--border-soft);
    background-color: var(--trust-bg);
}

.trust__inner {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 14px;
    padding: 22px 0;
    align-items: center;
    justify-content: center;
}

.trust__label {
    font-size: 11px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--azdan-slate);
    margin-right: 6px;
}

.chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    font-size: 12px;
    color: var(--azdan-cream);
    background-color: var(--surface-1);
    border: 1px solid var(--border-soft);
    border-radius: 999px;
    transition: background-color 160ms var(--ease-soft),
        border-color 160ms var(--ease-soft),
        transform 160ms var(--ease-soft);
}

.chip:hover {
    background-color: var(--surface-2);
    border-color: var(--border-strong);
    transform: translateY(-1px);
}

/* ─── Journey / flow ─────────────────────────────────────────────────────── */

.flow {
    margin-top: 48px;
    position: relative;
}

.flow__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

@media (min-width: 720px) {
    .flow__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1040px) {
    .flow__grid {
        grid-template-columns: repeat(5, 1fr);
        align-items: stretch;
    }
}

.flow__step {
    position: relative;
    padding: 22px 20px 22px;
    border: 1px solid var(--border-soft);
    background-color: var(--surface-1);
    border-radius: var(--radius-lg);
    transition: background-color 220ms var(--ease-soft),
        border-color 220ms var(--ease-soft),
        transform 220ms var(--ease-soft),
        box-shadow 220ms var(--ease-soft);
}

.flow__step:hover {
    background-color: var(--surface-2);
    border-color: var(--border-strong);
    transform: translateY(-3px);
    box-shadow: 0 18px 40px -24px rgba(36, 177, 103, 0.35);
}

.flow__num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 999px;
    background-color: rgba(36, 177, 103, 0.10);
    border: 1px solid rgba(36, 177, 103, 0.35);
    color: var(--azdan-green);
    font-family: var(--font-heading);
    font-size: 13px;
    font-feature-settings: "tnum" 1;
}

.flow__step h3 {
    margin-top: 14px;
    font-size: 16px;
    color: var(--azdan-white);
}

.flow__step p {
    margin-top: 8px;
    font-size: 13.5px;
    color: var(--azdan-cream);
    line-height: 1.6;
}

/* Connector line between flow steps on wide screens. Drawn with a single
   horizontal gradient that animates a moving highlight along its length. */
@media (min-width: 1040px) {
    .flow__line {
        position: absolute;
        left: 6%;
        right: 6%;
        top: 56px;
        height: 1px;
        background: linear-gradient(90deg,
                transparent 0,
                var(--hairline) 8%,
                var(--hairline) 92%,
                transparent 100%);
        pointer-events: none;
        z-index: 0;
    }

    .flow__line::after {
        content: "";
        position: absolute;
        left: 0;
        top: -1px;
        width: 22%;
        height: 3px;
        border-radius: 999px;
        background: linear-gradient(90deg,
                transparent,
                rgba(36, 177, 103, 0.55),
                transparent);
        animation: az-flow 4.6s var(--ease-soft) infinite;
    }
}

@keyframes az-flow {
    0% {
        transform: translateX(-20%);
        opacity: 0;
    }

    20% {
        opacity: 1;
    }

    80% {
        opacity: 1;
    }

    100% {
        transform: translateX(420%);
        opacity: 0;
    }
}

/* ─── Feature grid (capabilities) ────────────────────────────────────────── */

.features {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
    margin-top: 48px;
}

@media (min-width: 640px) {
    .features {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1040px) {
    .features {
        grid-template-columns: repeat(3, 1fr);
    }
}

.feature {
    padding: 22px;
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-lg);
    background-color: var(--surface-1);
    transition: background-color 220ms var(--ease-soft),
        border-color 220ms var(--ease-soft),
        transform 220ms var(--ease-soft),
        box-shadow 220ms var(--ease-soft);
}

.feature:hover {
    background-color: var(--surface-2);
    border-color: var(--border-strong);
    transform: translateY(-3px);
    box-shadow: 0 18px 40px -24px rgba(64, 84, 178, 0.30);
}

.feature__icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    border: 1px solid var(--border-strong);
    background-color: var(--surface-2);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--azdan-green);
}

.feature__icon svg {
    width: 16px;
    height: 16px;
}

.feature h3 {
    font-size: 16.5px;
    margin-top: 14px;
}

.feature p {
    margin-top: 8px;
    font-size: 13.5px;
    color: var(--azdan-cream);
    line-height: 1.6;
}

/* ─── Split (two-column) ─────────────────────────────────────────────────── */

.split {
    display: grid;
    grid-template-columns: 1fr;
    gap: 22px;
    margin-top: 44px;
}

@media (min-width: 920px) {
    .split {
        grid-template-columns: 1fr 1fr;
        gap: 24px;
    }
}

.card {
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-lg);
    background-color: var(--surface-1);
    padding: 24px;
    transition: background-color 220ms var(--ease-soft),
        border-color 220ms var(--ease-soft),
        transform 220ms var(--ease-soft);
}

.card:hover {
    background-color: var(--surface-2);
    border-color: var(--border-strong);
    transform: translateY(-2px);
}

.card h3 {
    font-size: 18px;
}

.card ul {
    margin: 16px 0 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 10px;
}

.card li {
    display: grid;
    grid-template-columns: 18px 1fr;
    gap: 10px;
    align-items: start;
    font-size: 13.5px;
    color: var(--azdan-cream);
    line-height: 1.55;
}

.card li svg {
    width: 14px;
    height: 14px;
    margin-top: 4px;
    color: var(--azdan-green);
}

/* ─── UAE readiness band ─────────────────────────────────────────────────── */

.readiness {
    margin-top: 44px;
    padding: 28px;
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-xl);
    background-image:
        radial-gradient(560px 320px at 16% 18%, rgba(36, 177, 103, 0.08), transparent 60%),
        radial-gradient(540px 360px at 100% 100%, rgba(64, 84, 178, 0.08), transparent 55%);
    background-color: var(--surface-1);
    display: grid;
    grid-template-columns: 1fr;
    gap: 22px;
}

@media (min-width: 880px) {
    .readiness {
        grid-template-columns: 1.3fr 1fr;
        align-items: center;
        gap: 32px;
    }
}

.readiness h3 {
    font-size: clamp(22px, 2.6vw, 28px);
}

.readiness p {
    margin-top: 12px;
    color: var(--azdan-cream);
    font-size: 14.5px;
    max-width: 520px;
}

.readiness__stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.readiness__stat {
    border: 1px solid var(--border-soft);
    background-color: var(--surface-1);
    border-radius: var(--radius-md);
    padding: 14px 16px;
}

.readiness__stat dt {
    font-size: 10.5px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--azdan-slate);
    margin: 0;
}

.readiness__stat dd {
    margin: 6px 0 0;
    font-family: var(--font-heading);
    font-size: 20px;
    color: var(--azdan-white);
    line-height: 1.1;
}

/* ─── CTA band ───────────────────────────────────────────────────────────── */

.cta-band {
    margin: 0;
    padding: 80px 0;
    border-top: 1px solid var(--border-soft);
    background-image:
        radial-gradient(700px 380px at 20% 30%, rgba(36, 177, 103, 0.10), transparent 60%),
        radial-gradient(620px 480px at 100% 100%, rgba(64, 84, 178, 0.08), transparent 55%);
}

.cta-band__inner {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    align-items: center;
}

@media (min-width: 880px) {
    .cta-band__inner {
        grid-template-columns: 1.6fr 1fr;
    }
}

.cta-band h2 {
    font-size: clamp(24px, 3.2vw, 36px);
    line-height: 1.15;
}

.cta-band p {
    margin-top: 12px;
    max-width: 540px;
}

.cta-band__actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

@media (min-width: 540px) {
    .cta-band__actions {
        flex-direction: row;
        flex-wrap: wrap;
    }
}

/* ─── Footer ─────────────────────────────────────────────────────────────── */

.footer {
    border-top: 1px solid var(--border-soft);
    padding: 40px 0 56px;
    color: var(--azdan-slate);
    font-size: 12px;
}

.footer__cols {
    display: grid;
    grid-template-columns: 1.4fr repeat(3, 1fr);
    gap: 28px;
}

@media (max-width: 760px) {
    .footer__cols {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 420px) {
    .footer__cols {
        grid-template-columns: 1fr;
    }
}

.footer__about {
    margin-top: 14px;
    max-width: 320px;
    color: var(--azdan-slate);
    font-size: 12px;
    line-height: 1.55;
}

.footer h5 {
    font-family: var(--font-body);
    font-weight: 500;
    color: var(--azdan-cream);
    font-size: 11px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    margin: 0 0 12px;
}

.footer ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 8px;
}

.footer a {
    color: var(--azdan-cream);
    transition: color 140ms var(--ease-soft);
}

.footer a:hover {
    color: var(--azdan-white);
}

.footer__bottom {
    margin-top: 36px;
    padding-top: 18px;
    border-top: 1px solid var(--border-soft);
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 8px;
}

/* ─── Reduced motion — kill all motion, keep design intact ───────────────── */
@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
        scroll-behavior: auto !important;
    }

    .reveal,
    .reveal-group>* {
        opacity: 1 !important;
        transform: none !important;
    }

    body::before,
    body::after {
        animation: none !important;
    }

    .hero__dot {
        animation: none !important;
    }

    .flow-line {
        animation: none !important;
        stroke-dasharray: 0;
    }

    .flow__line::after {
        animation: none !important;
    }
}

/* ─── Theme toggle ───────────────────────────────────────────────────────── */
.theme-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    flex-shrink: 0;
    border-radius: 999px;
    border: 1px solid var(--border-strong);
    background-color: var(--surface-1);
    color: var(--azdan-cream);
    cursor: pointer;
    transition: background-color 160ms var(--ease-soft),
        border-color 160ms var(--ease-soft),
        color 160ms var(--ease-soft),
        transform 160ms var(--ease-soft);
}

.theme-toggle:hover {
    background-color: var(--surface-2);
    border-color: var(--azdan-green);
    color: var(--azdan-white);
    transform: translateY(-1px);
}

.theme-toggle svg {
    width: 17px;
    height: 17px;
}

/* Show sun in dark mode (to switch to light), moon in light mode. */
.theme-toggle .icon-sun {
    display: none;
}

.theme-toggle .icon-moon {
    display: block;
}

[data-theme="dark"] .theme-toggle .icon-sun {
    display: block;
}

[data-theme="dark"] .theme-toggle .icon-moon {
    display: none;
}

/* ─── Oracle NetSuite logo lockups ───────────────────────────────────────── */
/* The NetSuite wordmark ships as a dark-on-transparent PNG. On the dark
   theme it sits inside a soft light chip so it stays legible; on light it
   renders directly on the warm surface. */
.ns-logo {
    display: block;
    width: auto;
    object-fit: contain;
}

.ns-chip {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 7px 13px 7px 11px;
    border-radius: 999px;
    background-color: var(--surface-1);
    border: 1px solid var(--border-strong);
    font-size: 12px;
    color: var(--azdan-cream);
    white-space: nowrap;
}

.ns-chip .ns-logo {
    height: 16px;
}

.ns-chip strong {
    color: var(--azdan-white);
    font-weight: 500;
}

/* In dark mode the dark NetSuite PNG needs a light plate to stay visible. */
.ns-plate {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    padding: 6px 10px;
    background: transparent;
    transition: background-color 160ms var(--ease-soft);
}

[data-theme="dark"] .ns-plate {
    background: #ffffff;
}

/* Hero "Built for" NetSuite badge under the lead. */
.hero__brands {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 26px;
}

.hero__brands-label {
    font-size: 11px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--azdan-slate);
}

/* Integration spotlight — NetSuite logo card. */
.integration-spotlight {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 28px;
    padding: 20px 24px;
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-lg);
    background-color: var(--surface-1);
    box-shadow: var(--shadow-card);
}

.integration-spotlight .ns-plate .ns-logo {
    height: 30px;
}

.integration-spotlight__text {
    flex: 1 1 280px;
    min-width: 0;
}

.integration-spotlight__text h3 {
    font-size: 17px;
    color: var(--azdan-white);
}

.integration-spotlight__text p {
    margin-top: 6px;
    font-size: 13.5px;
    color: var(--azdan-cream);
    line-height: 1.6;
}

/* Trust strip NetSuite lockup. */
.trust__ns {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.trust__ns .ns-plate .ns-logo {
    height: 18px;
}

/* ─── FAQ (GEO / AI answer blocks) ───────────────────────────────────────── */
.faq {
    margin-top: 44px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
}

@media (min-width: 860px) {
    .faq {
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }
}

.faq__item {
    padding: 22px 24px;
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-lg);
    background-color: var(--surface-1);
    transition: background-color 220ms var(--ease-soft),
        border-color 220ms var(--ease-soft),
        transform 220ms var(--ease-soft),
        box-shadow 220ms var(--ease-soft);
}

.faq__item:hover {
    background-color: var(--surface-2);
    border-color: var(--border-strong);
    transform: translateY(-2px);
    box-shadow: var(--shadow-card);
}

.faq__q {
    font-family: var(--font-heading);
    font-size: 16.5px;
    color: var(--azdan-white);
    line-height: 1.3;
    margin: 0;
}

.faq__a {
    margin-top: 10px;
    font-size: 13.5px;
    color: var(--azdan-cream);
    line-height: 1.65;
}

/* ─── NetSuite conversion section ────────────────────────────────────────── */
.ns-section__plate {
    margin-top: 26px;
}

.ns-section__plate .ns-plate .ns-logo {
    height: 34px;
}

/* Oracle NetSuite → AZDAN Platform API → AZDAN Peppol Access Point →
   Peppol UAE Network. Horizontal on desktop, stacked on mobile. Tokens
   keep contrast correct in both themes; green/blue accents are constant. */
.ns-flow {
    margin-top: 28px;
    display: flex;
    align-items: stretch;
    gap: 12px;
    flex-wrap: wrap;
}

.ns-flow__node {
    flex: 1 1 180px;
    min-width: 160px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 18px;
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-lg);
    background-color: var(--surface-1);
    box-shadow: var(--shadow-card);
}

.ns-flow__kicker {
    font-size: 10.5px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--azdan-slate);
}

.ns-flow__node strong {
    font-family: var(--font-heading);
    font-size: 15.5px;
    font-weight: 700;
    color: var(--azdan-white);
    line-height: 1.25;
}

.ns-flow__node--azdan {
    border-color: rgba(36, 177, 103, 0.5);
    box-shadow: var(--shadow-card), inset 0 0 0 1px rgba(36, 177, 103, 0.18);
}

.ns-flow__node--peppol {
    border-color: rgba(64, 84, 178, 0.5);
}

.ns-flow__arrow {
    align-self: center;
    color: var(--azdan-green);
    font-size: 20px;
    font-weight: 700;
    line-height: 1;
}

@media (max-width: 720px) {
    .ns-flow {
        flex-direction: column;
    }

    .ns-flow__arrow {
        transform: rotate(90deg);
    }
}

.ns-cta {
    margin-top: 30px;
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

/* ─── UAE region SEO grid ────────────────────────────────────────────────── */
.region-note {
    margin-top: 30px;
    padding: 18px 22px;
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-lg);
    background-color: var(--trust-bg);
    font-size: 13px;
    color: var(--azdan-cream);
    line-height: 1.7;
}

.region-note strong {
    color: var(--azdan-white);
    font-weight: 600;
}