/* ============================================================
   DESIGN TOKENS — locked to platform palette (#004488 primary)
============================================================ */
:root {
    /* Brand */
    --primary:        #004488;
    --primary-deep:   #002B5C;
    --primary-darker: #001A3D;
    --primary-mid:    #0E5BA8;
    --primary-tint:   #E8EFF6;
    --primary-tint-2: #D4E1ED;
    --accent:         #3B0052;       /* logo accent purple */
    --accent-tint:    #F0E6F4;

    /* Neutrals — match platform background system */
    --surface:        #F2F5F8;       /* platform body bg */
    --surface-2:      #FFFFFF;
    --platinum:       #E6EBF0;       /* platform 'platinum' */
    --platinum-2:     #DBE2EA;
    --ink:            #0A1628;
    --ink-soft:       #1B2B40;
    --slate:          #3D4D63;
    --slate-light:    #6B7B8F;
    --slate-mute:     #95A4B7;
    --rule:           #D4DCE5;

    /* Functional accents */
    --amber:          #B0750E;
    --amber-tint:     #FCF3DD;
    --green:          #1F7A5A;
    --green-tint:     #E1F0EA;
    --red:            #B5374A;
    --red-tint:       #FBE6E9;

    /* Extended palette — workflow & accent colors */
    --teal:           #0E7C8C;
    --teal-tint:      #DEF0F2;
    --coral:          #C5614A;
    --coral-tint:     #FAE7E1;
    --gold:           #B68B3D;
    --gold-tint:      #F6EBCD;
    --lavender:       #6B4F8F;
    --lavender-tint:  #EBE3F2;
    --ocean:          #1A6F9E;
    --ocean-tint:     #DDECF6;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Manrope', -apple-system, BlinkMacSystemFont, sans-serif;
    font-weight: 400;
    background: var(--surface);
    color: var(--ink);
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-variant-numeric: tabular-nums;
    overflow-x: hidden;
}

/* Editorial serif for displays */
h1, h2, h3, h4, .display, .num-display {
    font-family: 'Instrument Serif', Georgia, serif;
    font-weight: 400;
    line-height: 1.05;
    letter-spacing: -0.012em;
}

i.italic, em, .italic {
    font-style: italic;
}

::selection {
    background: var(--primary);
    color: white;
}

/* ============================================================
   LAYOUT
============================================================ */
.wrap {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 32px;
}
.wrap-narrow {
    max-width: 960px;
    margin: 0 auto;
    padding: 0 32px;
}

/* ============================================================
   TYPOGRAPHY UTILITIES
============================================================ */
.eyebrow {
    font-family: 'Manrope', sans-serif;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    gap: 10px;
}
.eyebrow::before {
    content: '';
    display: inline-block;
    width: 24px;
    height: 1px;
    background: currentColor;
}
.eyebrow.muted { color: var(--slate-light); }
.eyebrow.light { color: rgba(255,255,255,0.55); }

.num-eyebrow {
    font-family: 'Instrument Serif', serif;
    font-style: italic;
    font-size: 22px;
    color: var(--primary);
    letter-spacing: -0.01em;
}

.h-display {
    font-family: 'Instrument Serif', serif;
    font-weight: 400;
    color: var(--ink);
}

.lead {
    font-size: 18px;
    line-height: 1.6;
    color: var(--slate);
    font-weight: 400;
}

/* ============================================================
   BUTTONS
============================================================ */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 13px 24px;
    border-radius: 4px;
    font-family: 'Manrope', sans-serif;
    font-size: 14.5px;
    font-weight: 500;
    text-decoration: none;
    border: 1px solid transparent;
    cursor: pointer;
    transition: background 0.18s, color 0.18s, border-color 0.18s, transform 0.12s;
    letter-spacing: -0.005em;
}
.btn:active { transform: translateY(1px); }
.btn-primary {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}
.btn-primary:hover { background: var(--primary-deep); border-color: var(--primary-deep); }
.btn-ghost {
    background: transparent;
    color: var(--ink);
    border-color: var(--platinum-2);
}
.btn-ghost:hover { border-color: var(--ink); }
.btn-white {
    background: white;
    color: var(--primary);
}
.btn-white:hover { background: var(--primary-tint); }
.btn-outline-light {
    background: transparent;
    color: white;
    border-color: rgba(255,255,255,0.3);
}
.btn-outline-light:hover { border-color: white; }
.btn-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
    font-size: 14.5px;
    transition: gap 0.18s;
}
.btn-link:hover { gap: 10px; }
.btn-arrow {
    display: inline-block;
    transition: transform 0.18s;
}
.btn:hover .btn-arrow { transform: translateX(-3px); }

/* ============================================================
   REVEALS
============================================================ */
.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-d1 { transition-delay: 0.08s; }
.reveal-d2 { transition-delay: 0.16s; }
.reveal-d3 { transition-delay: 0.24s; }
.reveal-d4 { transition-delay: 0.32s; }

/* ============================================================
   NAV
============================================================ */
nav {
    position: fixed;
    top: 0; right: 0; left: 0;
    z-index: 100;
    height: 68px;
    display: flex;
    align-items: center;
    transition: background 0.3s, border-color 0.3s, backdrop-filter 0.3s;
    border-bottom: 1px solid transparent;
}
nav.scrolled,
nav.menu-open {
    background: rgba(242, 245, 248, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom-color: var(--rule);
}
.nav-inner {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.brand {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    color: var(--ink);
}
.brand-logo {
    height: 28px;
    width: auto;
    display: block;
}
.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
    list-style: none;
}
.nav-links a {
    text-decoration: none;
    color: var(--slate);
    font-size: 14px;
    font-weight: 500;
    transition: color 0.18s;
}
.nav-links a:hover { color: var(--ink); }
.nav-right {
    display: flex;
    align-items: center;
    gap: 18px;
}
.nav-signin {
    color: var(--slate);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.18s;
}
.nav-signin:hover { color: var(--ink); }
.nav-cta {
    padding: 9px 18px;
    font-size: 13.5px;
}
.nav-locale {
    display: inline-flex;
    align-items: center;
    background: var(--surface);
    border: 1px solid var(--rule);
    border-radius: 999px;
    padding: 2px;
    gap: 0;
}
.nav-locale-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 28px;
    height: 22px;
    padding: 0 8px;
    border-radius: 999px;
    font-family: 'Manrope', sans-serif;
    font-size: 11.5px;
    font-weight: 600;
    letter-spacing: 0.04em;
    color: var(--slate-light);
    text-decoration: none;
    transition: background 0.18s, color 0.18s;
}
.nav-locale-btn:hover { color: var(--ink); }
.nav-locale-btn.active {
    background: white;
    color: var(--primary);
    box-shadow: 0 1px 2px rgba(10,22,40,0.06);
}

/* Mobile menu toggle (hamburger) — RTL */
.nav-toggle {
    display: none;
    position: relative;
    width: 40px;
    height: 40px;
    background: var(--surface-2);
    border: 1px solid var(--rule);
    border-radius: 10px;
    cursor: pointer;
    padding: 0;
    transition: background 0.18s, border-color 0.18s;
}
.nav-toggle:hover { border-color: var(--slate-mute); }
.nav-toggle-bar {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 18px;
    height: 1.5px;
    background: var(--ink);
    border-radius: 2px;
    transform: translate(-50%, -50%);
    transition: transform 0.25s ease, opacity 0.18s ease, top 0.25s ease;
}
.nav-toggle-bar:nth-child(1) { transform: translate(-50%, calc(-50% - 6px)); }
.nav-toggle-bar:nth-child(3) { transform: translate(-50%, calc(-50% + 6px)); }
nav.menu-open .nav-toggle-bar:nth-child(1) { transform: translate(-50%, -50%) rotate(45deg); }
nav.menu-open .nav-toggle-bar:nth-child(2) { opacity: 0; }
nav.menu-open .nav-toggle-bar:nth-child(3) { transform: translate(-50%, -50%) rotate(-45deg); }

/* Mobile drawer — RTL */
.nav-mobile {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-top: 1px solid var(--rule);
    border-bottom: 1px solid var(--rule);
    padding: 16px 24px 22px;
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.22s ease, opacity 0.22s ease;
    max-height: calc(100vh - 68px);
    overflow-y: auto;
}
nav.menu-open .nav-mobile {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
}
.nav-mobile-links {
    list-style: none;
    display: flex;
    flex-direction: column;
}
.nav-mobile-links li + li { border-top: 1px solid var(--rule); }
.nav-mobile-links a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 4px;
    color: var(--ink);
    text-decoration: none;
    font-size: 16.5px;
    font-weight: 500;
}
.nav-mobile-links a::after {
    content: '';
    width: 7px;
    height: 7px;
    border-right: 1.5px solid var(--slate-mute);
    border-top: 1.5px solid var(--slate-mute);
    transform: rotate(-135deg);
    margin-right: 12px;
    margin-left: 0;
    opacity: 0.7;
}
.nav-mobile-links a:hover { color: var(--primary); }
.nav-mobile-foot {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding-top: 18px;
    margin-top: 14px;
    border-top: 1px solid var(--rule);
}
.nav-mobile-foot .nav-locale {
    align-self: flex-start;
}
.nav-mobile-foot .nav-locale-btn {
    min-width: 36px;
    height: 28px;
    font-size: 12px;
    padding: 0 12px;
}
.nav-mobile-signin {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 44px;
    color: var(--ink);
    text-decoration: none;
    font-size: 14.5px;
    font-weight: 600;
    border: 1px solid var(--rule);
    border-radius: 10px;
    background: var(--surface-2);
    transition: border-color 0.18s, color 0.18s;
}
.nav-mobile-signin:hover { border-color: var(--primary); color: var(--primary); }
.nav-mobile-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 44px;
    width: 100%;
    font-size: 14.5px;
}
body.nav-locked { overflow: hidden; }

/* ============================================================
   HERO
============================================================ */
.hero {
    padding: 120px 32px 0;
    position: relative;
    overflow: hidden;
}
/* Subtle dot grid texture — financial document feel */
.hero-bg {
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 1px 1px, rgba(0, 68, 136, 0.07) 1px, transparent 0);
    background-size: 28px 28px;
    -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, black 30%, transparent 80%);
    mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, black 30%, transparent 80%);
    pointer-events: none;
}
.hero-bg-glow {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 50% 40% at 80% 20%, rgba(0, 68, 136, 0.07) 0%, transparent 70%),
        radial-gradient(ellipse 40% 50% at 10% 80%, rgba(59, 0, 82, 0.045) 0%, transparent 65%);
    pointer-events: none;
}
.hero-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 64px;
    align-items: center;
    min-height: 78vh;
    position: relative;
    z-index: 1;
}
.hero-eyebrow {
    margin-bottom: 32px;
}
.hero h1 {
    font-size: clamp(40px, 5vw, 76px);
    line-height: 1.02;
    color: var(--ink);
    margin-bottom: 28px;
    letter-spacing: -0.02em;
}
.hero h1 i {
    color: var(--primary);
    font-weight: 400;
}
.hero h1 .accent-word {
    color: var(--accent);
    font-style: italic;
}
.hero-sub {
    font-size: 18px;
    line-height: 1.62;
    color: var(--slate);
    margin-bottom: 36px;
    max-width: 480px;
    font-weight: 400;
}
.hero-cta-row {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 32px;
    flex-wrap: wrap;
}
.hero-meta {
    font-size: 13px;
    color: var(--slate-light);
    display: flex;
    align-items: center;
    gap: 12px;
}
.hero-meta-dot {
    width: 4px; height: 4px;
    background: var(--slate-mute);
    border-radius: 50%;
}

/* HERO PRODUCT SCREEN — multi-panel scene */
.hero-screen-wrap {
    position: relative;
    height: 560px;
}
.hero-panel {
    position: absolute;
    background: white;
    border-radius: 8px;
    box-shadow:
        0 1px 0 #9ca3af inset,
        0 24px 50px -18px rgba(0, 26, 61, 0.22),
        0 10px 24px -8px rgba(0, 26, 61, 0.12),
        0 0 0 1px rgba(0, 26, 61, 0.06);
    overflow: hidden;
}
.hero-panel-owner {
    width: 64%;
    top: 0;
    right: 0;
    left: auto;
    z-index: 2;
}
.hero-panel-finance {
    width: 60%;
    bottom: 0;
    left: 0;
    right: auto;
    z-index: 1;
}
.hero-ai-card {
    position: absolute;
    top: 50%;
    right: 50%;
    left: auto;
    transform: translate(50%, -50%);
    width: 220px;
    background:
        radial-gradient(ellipse at top left, rgba(59,0,82,0.5) 0%, transparent 60%),
        linear-gradient(-135deg, var(--ink) 0%, var(--primary-darker) 100%);
    color: white;
    border-radius: 10px;
    padding: 16px 18px;
    box-shadow:
        0 18px 48px -12px rgba(0,26,61,0.45),
        0 4px 12px -2px rgba(0,26,61,0.2),
        0 0 0 1px rgba(255,255,255,0.06);
    z-index: 10;
    animation: hero-float 5s ease-in-out infinite;
}
@keyframes hero-float {
    0%, 100% { transform: translate(50%, -50%) translateY(0); }
    50% { transform: translate(50%, -50%) translateY(-6px); }
}
.hero-ai-label {
    font-size: 9.5px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.55);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 7px;
}
.hero-ai-label::before {
    content: '';
    width: 6px; height: 6px;
    background: #B8A0DA;
    border-radius: 50%;
    animation: hero-pulse 2s ease-in-out infinite;
}
@keyframes hero-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}
.hero-ai-text {
    font-family: 'Instrument Serif', serif;
    font-size: 14px;
    line-height: 1.4;
    color: white;
    margin-bottom: 12px;
}
.hero-ai-text i { color: #B8A0DA; font-style: italic; }
.hero-ai-action {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 10px;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 11px;
    color: #B8A0DA;
    font-weight: 600;
}

/* Panel chrome */
.hp-bar {
    background: var(--platinum);
    padding: 8px 12px;
    display: flex;
    align-items: center;
    gap: 6px;
    border-bottom: 1px solid var(--rule);
}
.hp-bar-dot { width: 7px; height: 7px; border-radius: 50%; }
.hp-bar-dot.r { background: #E16060; }
.hp-bar-dot.y { background: #ECB246; }
.hp-bar-dot.g { background: #5BBA75; }
.hp-bar-title {
    margin-right: 6px;
    font-size: 9.5px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--slate-light);
}
.hp-body { padding: 14px; }

/* Owner panel content */
.hp-kpi-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1px;
    background: var(--rule);
    border: 1px solid var(--rule);
    border-radius: 5px;
    overflow: hidden;
    margin-bottom: 12px;
}
.hp-kpi {
    background: white;
    padding: 9px 11px;
}
.hp-kpi-l {
    font-size: 8.5px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--slate-light);
    margin-bottom: 4px;
}
.hp-kpi-v {
    font-family: 'Instrument Serif', serif;
    font-size: 18px;
    color: var(--ink);
    line-height: 1;
    letter-spacing: -0.01em;
}
.hp-kpi-v.amber { color: var(--amber); }
.hp-kpi-v.red { color: var(--red); }
.hp-kpi-v .cur { font-size: 10px; color: var(--slate-light); margin-left: 2px; }
.hp-kpi-d {
    font-size: 9px;
    color: var(--slate-light);
    margin-top: 3px;
    font-family: 'JetBrains Mono', monospace;
}
.hp-list-h {
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--slate-light);
    padding: 6px 0 4px;
    border-top: 1.5px solid var(--ink-soft);
}
.hp-list-row {
    display: grid;
    grid-template-columns: 1fr auto auto;
    gap: 8px;
    padding: 6px 0;
    border-top: 1px solid var(--rule);
    align-items: center;
    font-size: 10.5px;
}
.hp-list-name { color: var(--ink); font-weight: 500; }
.hp-list-amount {
    font-family: 'JetBrains Mono', monospace;
    font-size: 10px;
    color: var(--ink);
    font-weight: 500;
}
.hp-list-pill {
    font-size: 8.5px;
    font-weight: 700;
    letter-spacing: 0.04em;
    padding: 2px 6px;
    border-radius: 3px;
}
.hp-list-pill.r { background: var(--red-tint); color: var(--red); }
.hp-list-pill.a { background: var(--amber-tint); color: var(--amber); }
.hp-list-pill.g { background: var(--green-tint); color: var(--green); }

/* Finance workbench panel */
.hp-wb-h {
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--slate-light);
    margin-bottom: 8px;
}
.hp-wb-task {
    display: grid;
    grid-template-columns: 26px 1fr auto;
    gap: 9px;
    padding: 8px 9px;
    background: var(--surface);
    border-radius: 5px;
    margin-bottom: 5px;
    align-items: center;
}
.hp-wb-icon {
    width: 26px; height: 26px;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.hp-wb-icon svg { width: 13px; height: 13px; }
.hp-wb-icon.blue   { background: var(--primary-tint); color: var(--primary); }
.hp-wb-icon.teal   { background: var(--teal-tint); color: var(--teal); }
.hp-wb-icon.coral  { background: var(--coral-tint); color: var(--coral); }
.hp-wb-icon.lav    { background: var(--lavender-tint); color: var(--lavender); }
.hp-wb-name {
    font-size: 11px;
    color: var(--ink);
    font-weight: 500;
    line-height: 1.25;
}
.hp-wb-sub {
    font-size: 9px;
    color: var(--slate-light);
    margin-top: 1px;
}
.hp-wb-count {
    font-family: 'Instrument Serif', serif;
    font-size: 17px;
    color: var(--ink);
    line-height: 1;
}
.hp-wb-count.r { color: var(--red); }
.hp-wb-count.a { color: var(--amber); }
.hp-wb-count.t { color: var(--teal); }
.hp-wb-count.l { color: var(--lavender); }

/* Legacy single-screen styles still used by inside-section etc. */
.hero-screen {
    background: white;
    border-radius: 8px;
    box-shadow:
        0 1px 0 #9ca3af inset,
        0 30px 60px -20px rgba(0, 26, 61, 0.22),
        0 14px 28px -8px rgba(0, 26, 61, 0.14),
        0 0 0 1px rgba(0, 26, 61, 0.06);
    overflow: hidden;
    position: relative;
}
.screen-chrome {
    background: var(--platinum);
    padding: 10px 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    border-bottom: 1px solid var(--rule);
}
.chrome-dot { width: 9px; height: 9px; border-radius: 50%; }
.chrome-dot.r { background: #E16060; }
.chrome-dot.y { background: #ECB246; }
.chrome-dot.g { background: #5BBA75; }
.chrome-url {
    margin-right: 12px;
    background: rgba(255,255,255,0.7);
    border: 1px solid var(--rule);
    border-radius: 4px;
    padding: 3px 10px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    color: var(--slate-light);
    flex: 1;
    max-width: 320px;
}

/* Hero screen body — Owner Dashboard view */
.h-screen-body {
    padding: 22px 24px 24px;
    background: white;
}
.h-screen-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 22px;
}
.h-screen-title {
    font-family: 'Instrument Serif', serif;
    font-size: 22px;
    color: var(--ink);
}
.h-screen-title-sub {
    font-size: 11px;
    color: var(--slate-light);
    margin-top: 2px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    font-weight: 600;
}
.h-screen-period {
    font-size: 11px;
    color: var(--slate-light);
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    background: var(--surface);
    border: 1px solid var(--rule);
    padding: 6px 10px;
    border-radius: 4px;
}

.h-kpi-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 1px;
    background: var(--rule);
    border: 1px solid var(--rule);
    border-radius: 6px;
    margin-bottom: 22px;
    overflow: hidden;
}
.h-kpi {
    background: white;
    padding: 14px 16px;
}
.h-kpi-label {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--slate-light);
    margin-bottom: 6px;
}
.h-kpi-value {
    font-family: 'Instrument Serif', serif;
    font-size: 24px;
    color: var(--ink);
    line-height: 1;
    letter-spacing: -0.01em;
}
.h-kpi-value.amber { color: var(--amber); }
.h-kpi-value.red { color: var(--red); }
.h-kpi-trend {
    font-size: 10.5px;
    color: var(--slate-light);
    margin-top: 4px;
    font-family: 'JetBrains Mono', monospace;
}
.h-kpi-trend.up { color: var(--green); }
.h-kpi-trend.down { color: var(--red); }

.h-section-label {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--slate-light);
    margin-bottom: 10px;
    display: flex;
    justify-content: space-between;
}
.h-list-row {
    display: grid;
    grid-template-columns: 18px 1fr auto auto;
    gap: 12px;
    padding: 10px 0;
    border-top: 1px solid var(--rule);
    align-items: center;
    font-size: 13px;
}
.h-list-row:first-of-type { border-top: 1px solid var(--platinum-2); }
.h-list-init {
    width: 22px; height: 22px;
    border-radius: 50%;
    background: var(--primary-tint);
    color: var(--primary);
    font-size: 10px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}
.h-list-name { color: var(--ink); font-weight: 500; }
.h-list-amount {
    font-family: 'JetBrains Mono', monospace;
    font-size: 12.5px;
    color: var(--ink);
    font-weight: 500;
}
.h-list-pill {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.04em;
    padding: 3px 7px;
    border-radius: 3px;
}
.pill-red { background: var(--red-tint); color: var(--red); }
.pill-amber { background: var(--amber-tint); color: var(--amber); }
.pill-green { background: var(--green-tint); color: var(--green); }

/* Annotation callouts on hero screen */
.anno {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 12px;
    color: var(--slate);
    font-weight: 500;
    line-height: 1.4;
    max-width: 180px;
}
.anno-line {
    width: 50px;
    height: 1px;
    background: var(--ink-soft);
    position: relative;
    flex-shrink: 0;
}
.anno-line::before {
    content: '';
    position: absolute;
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--ink-soft);
}
.anno-1 {
    top: 8%;
    right: -130px;
}
.anno-1 .anno-line::before { left: -3px; top: -2.5px; }
.anno-2 {
    bottom: 12%;
    left: -130px;
    flex-direction: row-reverse;
}
.anno-2 .anno-line::before { right: -3px; top: -2.5px; }

@media (max-width: 1100px) {
    .anno { display: none; }
}

/* ============================================================
   CAPABILITY STRIP
============================================================ */
.cap-strip {
    border-top: 1px solid var(--rule);
    border-bottom: 1px solid var(--rule);
    padding: 22px 32px;
    margin-top: 100px;
    background: var(--surface-2);
}
.cap-strip-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 36px;
    justify-content: space-between;
    flex-wrap: wrap;
}
.cap-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--slate-light);
    white-space: nowrap;
}
.cap-items {
    display: flex;
    gap: 32px;
    flex-wrap: wrap;
}
.cap-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13.5px;
    color: var(--ink-soft);
    font-weight: 500;
}
.cap-icon {
    width: 14px; height: 14px;
    color: var(--primary);
    flex-shrink: 0;
}

/* ============================================================
   BY THE NUMBERS
============================================================ */
.stats-section {
    padding: 110px 32px 100px;
}
.stats-head {
    max-width: 700px;
    margin-bottom: 56px;
}
.stats-head h2 {
    font-size: clamp(32px, 4vw, 56px);
    color: var(--ink);
    line-height: 1.05;
    letter-spacing: -0.015em;
    margin-top: 18px;
}
.stats-head h2 i {
    color: var(--primary);
}
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border-top: 1px solid var(--ink);
    border-bottom: 1px solid var(--rule);
}
.stat {
    padding: 36px 24px 30px;
    border-left: 1px solid var(--rule);
    position: relative;
}
.stat:last-child { border-left: none; }
.stat-num {
    font-family: 'Instrument Serif', serif;
    font-size: 64px;
    color: var(--ink);
    line-height: 1;
    letter-spacing: -0.025em;
    margin-bottom: 18px;
}
.stat-num i {
    font-style: italic;
    color: var(--primary);
}
/* Color variation across stats */
.stat:nth-child(1) .stat-tag { color: var(--primary); }
.stat:nth-child(1) .stat-num i { color: var(--primary); }
.stat:nth-child(2) .stat-tag { color: var(--teal); }
.stat:nth-child(2) .stat-num i { color: var(--teal); }
.stat:nth-child(3) .stat-tag { color: var(--coral); }
.stat:nth-child(3) .stat-num i { color: var(--coral); }
.stat:nth-child(4) .stat-tag { color: var(--lavender); }
.stat:nth-child(4) .stat-num i { color: var(--lavender); }
.stat-num .approx {
    font-size: 30px;
    color: var(--slate-mute);
    margin-left: 4px;
    font-style: italic;
}
.stat-label {
    font-size: 13px;
    color: var(--slate);
    line-height: 1.55;
    font-weight: 400;
    max-width: 200px;
}
.stat-tag {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 14px;
}

/* ============================================================
   THE SHIFT (BEFORE / AFTER)
============================================================ */
.shift-section {
    padding: 100px 32px;
    background: var(--surface-2);
    border-top: 1px solid var(--rule);
    border-bottom: 1px solid var(--rule);
}
.shift-head {
    max-width: 720px;
    margin: 0 auto 60px;
    text-align: center;
}
.shift-head h2 {
    font-size: clamp(30px, 3.6vw, 48px);
    color: var(--ink);
    margin-top: 16px;
}
.shift-head h2 i { color: var(--primary); }
.shift-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1px;
    background: var(--rule);
    border: 1px solid var(--rule);
}
.shift-col {
    background: white;
    padding: 36px 32px;
}
.shift-col.before { background: var(--surface); }
.shift-col.after { background: white; }
.shift-col-eyebrow {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    margin-bottom: 24px;
}
.shift-col.before .shift-col-eyebrow { color: var(--slate-mute); }
.shift-col.after .shift-col-eyebrow { color: var(--primary); }
.shift-row {
    display: grid;
    grid-template-columns: 1fr;
    padding: 16px 0;
    border-top: 1px solid var(--rule);
}
.shift-row:first-of-type { border-top-color: var(--ink-soft); border-top-width: 1.5px; }
.shift-action {
    font-family: 'Instrument Serif', serif;
    font-size: 19px;
    color: var(--ink);
    margin-bottom: 4px;
    line-height: 1.25;
}
.shift-col.before .shift-action { color: var(--slate-light); text-decoration: line-through; text-decoration-color: rgba(0,0,0,0.15); text-decoration-thickness: 1px; }
.shift-action i { font-style: italic; color: var(--primary); }
.shift-col.before .shift-action i { color: var(--slate-light); }
.shift-detail {
    font-size: 13px;
    color: var(--slate-light);
    line-height: 1.5;
}

/* ============================================================
   BUYER SPLIT
============================================================ */
.buyers-section {
    padding: 110px 32px;
}
.buyers-head {
    max-width: 720px;
    margin: 0 auto 60px;
    text-align: center;
}
.buyers-head h2 {
    font-size: clamp(30px, 3.6vw, 48px);
    color: var(--ink);
    margin-top: 16px;
}
.buyers-head h2 i { color: var(--primary); }
.buyers-head p {
    margin-top: 16px;
    color: var(--slate);
    font-size: 17px;
    line-height: 1.65;
}
.buyers-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}
.buyer-card {
    border-radius: 8px;
    padding: 44px 40px;
    position: relative;
    overflow: hidden;
}
.buyer-card.owner {
    background:
        radial-gradient(ellipse at top left, rgba(59,0,82,0.4) 0%, transparent 60%),
        linear-gradient(-135deg, var(--ink) 0%, var(--primary-darker) 100%);
    color: white;
}
.buyer-card.finance {
    background:
        radial-gradient(ellipse at bottom right, rgba(14,124,140,0.4) 0%, transparent 60%),
        linear-gradient(-135deg, var(--primary-deep) 0%, var(--primary) 100%);
    color: white;
}
.buyer-card.owner   .buyer-h em { color: rgba(236, 197, 255, 0.85); }
.buyer-card.finance .buyer-h em { color: rgba(186, 230, 235, 0.9); }
.buyer-role {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.5);
    margin-bottom: 16px;
}
.buyer-h {
    font-family: 'Instrument Serif', serif;
    font-size: 32px;
    color: white;
    line-height: 1.15;
    margin-bottom: 24px;
    max-width: 340px;
}
.buyer-h em { color: rgba(255,255,255,0.85); font-style: italic; }
.buyer-quote {
    font-family: 'Instrument Serif', serif;
    font-style: italic;
    font-size: 17px;
    line-height: 1.5;
    color: rgba(255,255,255,0.78);
    border-right: 1.5px solid rgba(255,255,255,0.25);
    padding-right: 18px;
    margin-bottom: 30px;
}
.buyer-list {
    list-style: none;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px 24px;
    padding-top: 24px;
    border-top: 1px solid rgba(255,255,255,0.12);
}
.buyer-list li {
    font-size: 13.5px;
    line-height: 1.45;
    color: rgba(255,255,255,0.85);
    position: relative;
    padding-right: 16px;
}
.buyer-list li::before {
    content: '·';
    position: absolute;
    right: 0;
    color: rgba(255,255,255,0.5);
    font-size: 22px;
    line-height: 1;
    top: -1px;
}
.buyer-list .buyer-list-more {
    grid-column: 1 / -1;
    font-style: italic;
    color: #9ca3af;
    padding-right: 0;
}
.buyer-list .buyer-list-more::before { content: none; }

/* ============================================================
   WORKFLOW SHOWCASE — vertical, alternating
============================================================ */
.wf-section {
    padding: 110px 32px;
    background: var(--surface-2);
    border-top: 1px solid var(--rule);
    border-bottom: 1px solid var(--rule);
}
.wf-head {
    max-width: 760px;
    margin: 0 auto 80px;
    text-align: center;
}
.wf-head h2 {
    font-size: clamp(30px, 3.6vw, 48px);
    color: var(--ink);
    margin-top: 16px;
}
.wf-head h2 i { color: var(--primary); }
.wf-head p { margin-top: 18px; color: var(--slate); font-size: 17px; line-height: 1.65; }

.wf-block {
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    gap: 64px;
    align-items: center;
    padding: 60px 0;
    border-top: 1px solid var(--rule);
}
.wf-block:first-of-type { border-top: 1.5px solid var(--ink); }
.wf-block.flip .wf-text { order: 2; }
.wf-block.flip .wf-mock { order: 1; }
.wf-num {
    font-family: 'Instrument Serif', serif;
    font-style: italic;
    font-size: 38px;
    color: var(--primary);
    line-height: 1;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}
.wf-num::before { content: '— '; color: var(--slate-mute); font-style: normal; font-size: 26px; }
.wf-text h3 {
    font-size: clamp(28px, 2.8vw, 38px);
    color: var(--ink);
    line-height: 1.1;
    margin-bottom: 18px;
}
.wf-text h3 i { color: var(--primary); }

/* Per-workflow theming — each block gets a distinct accent */
.wf-block.theme-blue   .wf-num,
.wf-block.theme-blue   .wf-text h3 i,
.wf-block.theme-blue   .btn-link { color: var(--primary); }
.wf-block.theme-blue   .mock-bill-conf { background: var(--primary-tint); color: var(--primary); }
.wf-block.theme-blue   .mock-btn.primary { background: var(--primary); }

.wf-block.theme-teal   .wf-num,
.wf-block.theme-teal   .wf-text h3 i,
.wf-block.theme-teal   .btn-link { color: var(--teal); }
.wf-block.theme-teal   .mock-rec-row.matched { background: var(--teal-tint); }
.wf-block.theme-teal   .mock-rec-icon.ok { background: var(--teal); }
.wf-block.theme-teal   .mock-rec-pct.g { color: var(--teal); }
.wf-block.theme-teal   .mock-rec-stat strong { color: var(--teal); }
.wf-block.theme-teal   .mock-btn.primary { background: var(--teal); }

.wf-block.theme-coral  .wf-num,
.wf-block.theme-coral  .wf-text h3 i,
.wf-block.theme-coral  .btn-link { color: var(--coral); }
.wf-block.theme-coral  .mock-col-rank { color: var(--coral); }
.wf-block.theme-coral  .mock-col-suggest { background: var(--coral-tint); color: var(--coral); }

.wf-block.theme-lav    .wf-num,
.wf-block.theme-lav    .wf-text h3 i,
.wf-block.theme-lav    .btn-link { color: var(--lavender); }
.wf-block.theme-lav    .mock-cl-bar-fill { background: var(--lavender); }
.wf-block.theme-lav    .mock-cl-check.done { background: var(--lavender); border-color: var(--lavender); }
.wf-text p {
    font-size: 16px;
    line-height: 1.65;
    color: var(--slate);
    margin-bottom: 24px;
    max-width: 460px;
}
.wf-flow {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-bottom: 28px;
    border-top: 1px solid var(--rule);
}
.wf-flow-step {
    display: grid;
    grid-template-columns: 90px 1fr;
    gap: 16px;
    padding: 12px 0;
    border-bottom: 1px solid var(--rule);
    font-size: 13.5px;
}
.wf-flow-tag {
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--slate-light);
    padding-top: 1px;
}
.wf-flow-text { color: var(--ink-soft); line-height: 1.5; }

/* Workflow product mockup container */
.wf-mock {
    position: relative;
}
.wf-mock-frame {
    background: white;
    border-radius: 8px;
    box-shadow:
        0 24px 48px -16px rgba(0, 26, 61, 0.2),
        0 0 0 1px rgba(0, 26, 61, 0.06);
    overflow: hidden;
}

/* Workflow mock 1 — Bill capture (split: doc preview + extracted) */
.mock-bill {
    display: grid;
    grid-template-columns: 220px 1fr;
}
.mock-bill-doc {
    background: var(--surface);
    border-left: 1px solid var(--rule);
    padding: 18px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.doc-header-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 8px;
}
.doc-arabic {
    font-family: 'Instrument Serif', serif;
    font-size: 13px;
    color: var(--ink);
    direction: ltr;
    font-weight: 600;
}
.doc-line { height: 5px; background: var(--platinum-2); border-radius: 2px; }
.doc-line.short { width: 50%; }
.doc-line.med { width: 70%; }
.doc-line.long { width: 92%; }
.doc-divider { height: 1px; background: var(--rule); margin: 6px 0; }
.doc-total {
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    color: var(--ink);
    font-weight: 600;
    margin-top: 8px;
    text-align: left;
    background: white;
    padding: 6px 8px;
    border-radius: 3px;
    border: 1px solid var(--rule);
}
.doc-stamp {
    margin-top: auto;
    padding-top: 12px;
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 10px;
    color: var(--green);
    font-weight: 600;
}
.doc-stamp svg { width: 12px; height: 12px; }

.mock-bill-extracted {
    padding: 18px 20px;
    background: white;
}
.mock-bill-title {
    font-family: 'Instrument Serif', serif;
    font-size: 16px;
    color: var(--ink);
    margin-bottom: 14px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--rule);
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.mock-bill-conf {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.05em;
    color: var(--green);
    background: var(--green-tint);
    padding: 3px 7px;
    border-radius: 3px;
}
.mock-field {
    margin-bottom: 10px;
}
.mock-field-label {
    font-size: 9.5px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--slate-light);
    margin-bottom: 4px;
}
.mock-field-val {
    font-size: 13px;
    color: var(--ink);
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
}
.mock-field-val.mono { font-family: 'JetBrains Mono', monospace; font-size: 12.5px; }
.check-mark {
    width: 12px; height: 12px;
    color: var(--green);
    flex-shrink: 0;
}
.mock-field-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}
.mock-actions {
    display: flex;
    gap: 8px;
    margin-top: 14px;
    padding-top: 12px;
    border-top: 1px solid var(--rule);
}
.mock-btn {
    font-size: 12px;
    padding: 7px 14px;
    border-radius: 3px;
    font-weight: 600;
    border: none;
    cursor: pointer;
}
.mock-btn.primary { background: var(--primary); color: white; }
.mock-btn.ghost { background: transparent; border: 1px solid var(--rule); color: var(--slate); }

/* Workflow mock 2 — Reconciliation */
.mock-rec { padding: 18px 20px; }
.mock-rec-head {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 14px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--rule);
}
.mock-rec-title { font-family: 'Instrument Serif', serif; font-size: 16px; color: var(--ink); }
.mock-rec-stat {
    font-size: 11px;
    color: var(--slate);
    font-weight: 500;
}
.mock-rec-stat strong { color: var(--green); font-weight: 700; font-family: 'JetBrains Mono', monospace; }
.mock-rec-row {
    display: grid;
    grid-template-columns: 18px 1fr 90px 60px;
    gap: 12px;
    padding: 9px 8px;
    align-items: center;
    font-size: 12.5px;
    border-radius: 4px;
    margin-bottom: 2px;
}
.mock-rec-row.matched { background: var(--green-tint); }
.mock-rec-row.exception { background: var(--amber-tint); }
.mock-rec-icon {
    width: 16px; height: 16px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 9px;
    font-weight: 800;
    color: white;
}
.mock-rec-icon.ok { background: var(--green); }
.mock-rec-icon.q { background: var(--amber); }
.mock-rec-desc { color: var(--ink-soft); font-weight: 500; }
.mock-rec-amt { font-family: 'JetBrains Mono', monospace; font-size: 12px; color: var(--ink); font-weight: 500; text-align: left; }
.mock-rec-pct { font-size: 10px; font-weight: 700; }
.mock-rec-pct.g { color: var(--green); }
.mock-rec-pct.a { color: var(--amber); }
.mock-rec-bulk {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid var(--rule);
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.mock-rec-bulk-text {
    font-size: 12px;
    color: var(--slate);
}
.mock-rec-bulk-text strong { color: var(--ink); font-weight: 700; }

/* Workflow mock 3 — Collections */
.mock-col { padding: 18px 20px; }
.mock-col-head {
    font-family: 'Instrument Serif', serif;
    font-size: 16px;
    color: var(--ink);
    margin-bottom: 4px;
}
.mock-col-sub {
    font-size: 11px;
    color: var(--slate-light);
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 14px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--rule);
}
.mock-col-row {
    display: grid;
    grid-template-columns: 24px 1fr auto;
    gap: 14px;
    padding: 14px 0;
    border-bottom: 1px solid var(--rule);
    align-items: start;
}
.mock-col-row:last-child { border-bottom: none; }
.mock-col-rank {
    font-family: 'Instrument Serif', serif;
    font-style: italic;
    font-size: 18px;
    color: var(--primary);
    line-height: 1;
}
.mock-col-name {
    font-size: 13px;
    font-weight: 600;
    color: var(--ink);
    margin-bottom: 2px;
}
.mock-col-meta {
    font-size: 11px;
    color: var(--slate-light);
    margin-bottom: 8px;
}
.mock-col-meta strong { color: var(--red); font-weight: 700; }
.mock-col-suggest {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--primary-tint);
    color: var(--primary);
    font-size: 11.5px;
    padding: 5px 10px;
    border-radius: 3px;
    font-weight: 500;
}
.mock-col-amt {
    font-family: 'JetBrains Mono', monospace;
    font-size: 13px;
    font-weight: 600;
    color: var(--ink);
}

/* Workflow mock 4 — Close */
.mock-cl { padding: 18px 20px; }
.mock-cl-head {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--rule);
}
.mock-cl-title { font-family: 'Instrument Serif', serif; font-size: 16px; color: var(--ink); }
.mock-cl-progress {
    font-size: 11px;
    color: var(--slate);
}
.mock-cl-bar {
    background: var(--rule);
    height: 4px;
    border-radius: 2px;
    margin-bottom: 16px;
    overflow: hidden;
}
.mock-cl-bar-fill {
    background: var(--primary);
    height: 100%;
    width: 65%;
}
.mock-cl-task {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 9px 0;
    border-bottom: 1px solid var(--rule);
    font-size: 13px;
}
.mock-cl-task:last-child { border-bottom: none; }
.mock-cl-check {
    width: 16px; height: 16px;
    border: 1.5px solid var(--rule);
    border-radius: 3px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    color: white;
}
.mock-cl-check.done { background: var(--primary); border-color: var(--primary); }
.mock-cl-task.done .mock-cl-text { color: var(--slate-light); text-decoration: line-through; text-decoration-thickness: 1px; }
.mock-cl-text { color: var(--ink-soft); flex: 1; }
.mock-cl-flag {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.05em;
    color: var(--amber);
    background: var(--amber-tint);
    padding: 2px 6px;
    border-radius: 2px;
}

/* ============================================================
   INSIDE THE PRODUCT — large annotated screen
============================================================ */
.inside-section {
    padding: 110px 32px;
}
.inside-head {
    max-width: 720px;
    margin: 0 auto 60px;
    text-align: center;
}
.inside-head h2 {
    font-size: clamp(30px, 3.6vw, 48px);
    color: var(--ink);
    margin-top: 16px;
}
.inside-head h2 i { color: var(--primary); }
.inside-head p { margin-top: 18px; color: var(--slate); font-size: 17px; line-height: 1.65; }

.inside-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}
.inside-grid .full {
    grid-column: 1 / -1;
}
.inside-card {
    background: white;
    border-radius: 8px;
    border: 1px solid var(--rule);
    overflow: hidden;
    box-shadow: 0 4px 16px -8px rgba(0, 26, 61, 0.1);
}
.inside-card-header {
    padding: 24px 28px 20px;
    border-bottom: 1px solid var(--rule);
}
.inside-card-eyebrow {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 8px;
}
.inside-grid > .inside-card:nth-child(1) .inside-card-eyebrow,
.inside-grid > .inside-card:nth-child(1) .inside-card-title i { color: var(--primary); }
.inside-grid > .inside-card:nth-child(2) .inside-card-eyebrow,
.inside-grid > .inside-card:nth-child(2) .inside-card-title i { color: var(--teal); }
.inside-grid > .inside-card:nth-child(3) .inside-card-eyebrow,
.inside-grid > .inside-card:nth-child(3) .inside-card-title i { color: var(--coral); }
.inside-card-title {
    font-family: 'Instrument Serif', serif;
    font-size: 22px;
    color: var(--ink);
    line-height: 1.2;
    margin-bottom: 6px;
}
.inside-card-title i { color: var(--primary); }
.inside-card-sub {
    font-size: 13px;
    color: var(--slate);
    line-height: 1.55;
}

/* Inside mock — Owner cockpit (full width) */
.ic-cockpit { padding: 24px 28px 28px; }
.ic-cockpit-head {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 18px;
}
.ic-cockpit-h {
    font-family: 'Instrument Serif', serif;
    font-size: 19px;
    color: var(--ink);
}
.ic-period-pill {
    display: inline-flex;
    gap: 0;
    border: 1px solid var(--rule);
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
    overflow: hidden;
}
.ic-period-pill span {
    padding: 5px 10px;
    color: var(--slate-light);
    border-left: 1px solid var(--rule);
}
.ic-period-pill span:last-child { border-left: none; }
.ic-period-pill span.active { background: var(--ink); color: white; }

.ic-kpi-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: var(--rule);
    border: 1px solid var(--rule);
    border-radius: 6px;
    overflow: hidden;
    margin-bottom: 22px;
}
.ic-kpi {
    background: white;
    padding: 14px 16px;
}
.ic-kpi-l {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--slate-light);
    margin-bottom: 6px;
}
.ic-kpi-v {
    font-family: 'Instrument Serif', serif;
    font-size: 26px;
    color: var(--ink);
    line-height: 1;
    letter-spacing: -0.015em;
}
.ic-kpi-v.amber { color: var(--amber); }
.ic-kpi-v.red { color: var(--red); }
.ic-kpi-v .currency { font-size: 14px; color: var(--slate-light); margin-left: 3px; }
.ic-kpi-d {
    font-size: 11px;
    color: var(--slate-light);
    margin-top: 6px;
    font-family: 'JetBrains Mono', monospace;
}

.ic-chart {
    background: var(--surface);
    border: 1px solid var(--rule);
    border-radius: 6px;
    padding: 18px 20px;
    margin-bottom: 16px;
    position: relative;
}
.ic-chart-head {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 14px;
}
.ic-chart-title {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--slate);
}
.ic-chart-legend {
    display: flex;
    gap: 16px;
    font-size: 11px;
    color: var(--slate-light);
}
.ic-chart-legend-item { display: inline-flex; align-items: center; gap: 6px; }
.ic-legend-dot { width: 8px; height: 8px; border-radius: 50%; }
.ic-legend-dot.in { background: var(--primary); }
.ic-legend-dot.out { background: var(--accent); }
.ic-chart-svg { width: 100%; height: 110px; }

.ic-cockpit-bottom {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
.ic-bottom-card {
    background: var(--surface);
    border: 1px solid var(--rule);
    border-radius: 6px;
    padding: 14px 16px;
}
.ic-bottom-h {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--slate-light);
    margin-bottom: 12px;
    display: flex;
    justify-content: space-between;
}
.ic-bottom-h strong { color: var(--ink); font-family: 'JetBrains Mono', monospace; font-weight: 700; }

/* Inside mock — workbench */
.ic-wb { padding: 18px 20px 20px; }
.ic-wb-task {
    display: grid;
    grid-template-columns: 32px 1fr auto;
    gap: 12px;
    padding: 13px 12px;
    background: var(--surface);
    border-radius: 6px;
    margin-bottom: 8px;
    align-items: center;
}
.ic-wb-icon {
    width: 32px; height: 32px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
}
.ic-wb-icon svg { width: 16px; height: 16px; }
.ic-wb-icon.r { color: var(--red); }
.ic-wb-icon.a { color: var(--amber); }
.ic-wb-name { font-size: 13px; color: var(--ink); font-weight: 500; }
.ic-wb-sub { font-size: 11px; color: var(--slate-light); margin-top: 1px; }
.ic-wb-count {
    font-family: 'Instrument Serif', serif;
    font-size: 22px;
    color: var(--ink);
    line-height: 1;
}
.ic-wb-count.r { color: var(--red); }
.ic-wb-count.a { color: var(--amber); }

/* Inside mock — invoice / arabic */
.ic-inv { padding: 0; background: var(--surface); }
.ic-inv-doc {
    background: white;
    margin: 18px;
    border: 1px solid var(--rule);
    border-radius: 4px;
    padding: 18px;
    font-size: 11px;
}
.ic-inv-bilingual {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--rule);
    margin-bottom: 12px;
}
.ic-inv-eng {
    font-family: 'Instrument Serif', serif;
    font-size: 14px;
    color: var(--ink);
    font-weight: 400;
}
.ic-inv-ar {
    font-family: 'Instrument Serif', serif;
    font-size: 14px;
    color: var(--ink);
    text-align: left;
    direction: ltr;
    font-weight: 400;
}
.ic-inv-from { font-size: 10px; color: var(--slate-light); }
.ic-inv-vendor { font-size: 12px; color: var(--ink); margin: 1px 0 6px; font-weight: 600; }
.ic-inv-line {
    display: grid;
    grid-template-columns: 1fr 50px 70px;
    gap: 8px;
    font-size: 10.5px;
    padding: 4px 0;
    color: var(--slate);
}
.ic-inv-line.head { font-size: 9px; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; color: var(--slate-light); border-bottom: 1px solid var(--rule); padding-bottom: 4px; margin-bottom: 4px; }
.ic-inv-line .num { font-family: 'JetBrains Mono', monospace; text-align: left; }
.ic-inv-totals {
    margin-top: 10px;
    padding-top: 8px;
    border-top: 1px solid var(--rule);
}
.ic-inv-total-row {
    display: flex;
    justify-content: space-between;
    font-size: 10.5px;
    padding: 2px 0;
    color: var(--slate);
}
.ic-inv-total-row.grand {
    font-family: 'Instrument Serif', serif;
    font-size: 14px;
    color: var(--ink);
    font-weight: 600;
    margin-top: 4px;
    padding-top: 6px;
    border-top: 1px solid var(--ink);
}

/* ============================================================
   BUILT FOR OMAN
============================================================ */
.oman-section {
    padding: 110px 32px;
    background: var(--ink);
    color: white;
    position: relative;
    overflow: hidden;
}
.oman-bg {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle at 1px 1px, rgba(255,255,255,0.04) 1px, transparent 0);
    background-size: 32px 32px;
    pointer-events: none;
}
.oman-bg::after {
    content: 'Hassab';
    position: absolute;
    font-family: 'Instrument Serif', serif;
    font-style: italic;
    font-size: 380px;
    color: rgba(255,255,255,0.025);
    left: -60px;
    top: 50%;
    transform: translateY(-50%);
    line-height: 1;
}
.oman-inner {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}
.oman-head {
    max-width: 680px;
    margin-bottom: 60px;
}
.oman-head .eyebrow { color: #9ca3af; }
.oman-head .eyebrow::before { background: rgba(255,255,255,0.3); }
.oman-head h2 {
    font-size: clamp(30px, 3.6vw, 48px);
    color: white;
    margin-top: 16px;
    line-height: 1.05;
}
.oman-head h2 i { color: #9ca3af; }
.oman-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    border-top: 1px solid rgba(255,255,255,0.15);
    padding-top: 40px;
}
.oman-feat-num {
    font-family: 'Instrument Serif', serif;
    font-style: italic;
    font-size: 22px;
    color: rgba(255,255,255,0.4);
    margin-bottom: 14px;
}
.oman-grid > div:nth-child(1) .oman-feat-num { color: #7CB7E0; }
.oman-grid > div:nth-child(2) .oman-feat-num { color: #E9A06B; }
.oman-grid > div:nth-child(3) .oman-feat-num { color: #B8A0DA; }
.oman-feat-h {
    font-family: 'Instrument Serif', serif;
    font-size: 22px;
    color: white;
    margin-bottom: 12px;
    line-height: 1.2;
}
.oman-feat-h i { color: #9ca3af; }
.oman-feat-p {
    font-size: 14px;
    color: #9ca3af;
    line-height: 1.65;
}

/* ============================================================
   PILOT TIMELINE
============================================================ */
.pilot-section {
    padding: 110px 32px;
}
.pilot-head {
    max-width: 720px;
    margin: 0 auto 60px;
    text-align: center;
}
.pilot-head h2 {
    font-size: clamp(30px, 3.6vw, 48px);
    color: var(--ink);
    margin-top: 16px;
}
.pilot-head h2 i { color: var(--primary); }
.pilot-head p { margin-top: 18px; color: var(--slate); font-size: 17px; line-height: 1.65; }

.timeline {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    position: relative;
    margin-bottom: 56px;
}
.timeline::before {
    content: '';
    position: absolute;
    top: 18px;
    right: 12.5%;
    left: 12.5%;
    height: 1px;
    background: var(--rule);
    z-index: 0;
}
.tl-step {
    text-align: center;
    padding: 0 18px;
    position: relative;
    z-index: 1;
}
.tl-marker {
    width: 36px; height: 36px;
    border-radius: 50%;
    background: white;
    border: 1.5px solid var(--primary);
    color: var(--primary);
    font-family: 'Instrument Serif', serif;
    font-size: 17px;
    font-style: italic;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 22px;
}
.tl-step.done .tl-marker {
    background: var(--primary);
    color: white;
}
/* Timeline color progression */
.timeline .tl-step:nth-child(1) .tl-marker { background: var(--primary); border-color: var(--primary); color: white; }
.timeline .tl-step:nth-child(2) .tl-marker { background: var(--teal); border-color: var(--teal); color: white; }
.timeline .tl-step:nth-child(3) .tl-marker { border-color: var(--coral); color: var(--coral); }
.timeline .tl-step:nth-child(4) .tl-marker { border-color: var(--lavender); color: var(--lavender); }
.timeline .tl-step:nth-child(1) .tl-week { color: var(--primary); }
.timeline .tl-step:nth-child(2) .tl-week { color: var(--teal); }
.timeline .tl-step:nth-child(3) .tl-week { color: var(--coral); }
.timeline .tl-step:nth-child(4) .tl-week { color: var(--lavender); }
.tl-week {
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 8px;
}
.tl-h {
    font-family: 'Instrument Serif', serif;
    font-size: 20px;
    color: var(--ink);
    line-height: 1.2;
    margin-bottom: 8px;
}
.tl-d {
    font-size: 13px;
    color: var(--slate);
    line-height: 1.55;
}
.pilot-cta-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding-top: 40px;
    border-top: 1px solid var(--rule);
}

/* ============================================================
   PRICING
============================================================ */
.pricing-section {
    padding: 110px 32px;
    background: var(--surface-2);
    border-top: 1px solid var(--rule);
    border-bottom: 1px solid var(--rule);
}
.pricing-head {
    max-width: 720px;
    margin: 0 auto 60px;
    text-align: center;
}
.pricing-head h2 {
    font-size: clamp(30px, 3.6vw, 48px);
    color: var(--ink);
    margin-top: 16px;
}
.pricing-head h2 i { color: var(--primary); }
.pricing-head p { margin-top: 18px; color: var(--slate); font-size: 17px; line-height: 1.65; }

.price-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    border: 1px solid var(--rule);
    border-radius: 8px;
    overflow: hidden;
    background: var(--rule);
}
.price-col {
    background: white;
    padding: 36px 32px;
    position: relative;
}
.price-col.featured {
    background:
        radial-gradient(ellipse at top left, rgba(59,0,82,0.35) 0%, transparent 55%),
        radial-gradient(ellipse at bottom right, rgba(0,68,136,0.35) 0%, transparent 55%),
        linear-gradient(-160deg, var(--ink) 0%, var(--primary-darker) 100%);
    color: white;
}
.price-tier {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--slate-light);
    margin-bottom: 10px;
}
.price-col.featured .price-tier { color: rgba(255,255,255,0.5); }
.price-tagline {
    font-family: 'Instrument Serif', serif;
    font-size: 22px;
    color: var(--ink);
    line-height: 1.25;
    margin-bottom: 28px;
    min-height: 56px;
}
.price-col.featured .price-tagline { color: white; }
.price-tagline i { color: var(--primary); }
.price-col.featured .price-tagline i { color: rgba(255,255,255,0.7); }

.price-amount {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-bottom: 4px;
}
.price-num {
    font-family: 'Instrument Serif', serif;
    font-size: 48px;
    color: var(--ink);
    line-height: 1;
    letter-spacing: -0.02em;
}
.price-col.featured .price-num { color: white; }
.price-currency {
    font-size: 16px;
    color: var(--slate);
    font-weight: 500;
}
.price-col.featured .price-currency { color: rgba(255,255,255,0.55); }
.price-period {
    font-size: 14px;
    color: var(--slate-light);
}
.price-col.featured .price-period { color: rgba(255,255,255,0.5); }
.price-note {
    font-size: 12px;
    color: var(--slate-light);
    margin-bottom: 24px;
}
.price-col.featured .price-note { color: rgba(255,255,255,0.5); }

.price-feats {
    list-style: none;
    margin-bottom: 28px;
    padding-top: 22px;
    border-top: 1px solid var(--rule);
}
.price-col.featured .price-feats { border-top-color: rgba(255,255,255,0.15); }
.price-feats li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 13.5px;
    color: var(--ink-soft);
    line-height: 1.5;
    padding: 7px 0;
}
.price-col.featured .price-feats li { color: rgba(255,255,255,0.85); }
.price-feats li::before {
    content: '+';
    color: var(--primary);
    font-weight: 700;
    font-size: 14px;
    margin-top: 1px;
}
.price-col.featured .price-feats li::before { color: #9ca3af; }

.price-tag {
    position: absolute;
    top: 14px;
    left: 14px;
    font-size: 9.5px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.7);
    background: rgba(255,255,255,0.1);
    padding: 4px 10px;
    border-radius: 100px;
    border: 1px solid rgba(255,255,255,0.2);
}

.pricing-foot {
    text-align: center;
    margin-top: 28px;
    font-size: 13px;
    color: var(--slate-light);
}

/* ============================================================
   FAQ
============================================================ */
.faq-section {
    padding: 110px 32px;
}
.faq-grid {
    display: grid;
    grid-template-columns: 1fr 1.6fr;
    gap: 80px;
    max-width: 1200px;
    margin: 0 auto;
}
.faq-h {
    font-size: clamp(28px, 3vw, 40px);
    color: var(--ink);
    line-height: 1.1;
    margin-top: 16px;
}
.faq-h i { color: var(--primary); }
.faq-help {
    margin-top: 24px;
    font-size: 14px;
    color: var(--slate);
    line-height: 1.65;
}
.faq-help a {
    color: var(--primary);
    text-decoration: none;
    border-bottom: 1px solid var(--primary-tint-2);
    padding-bottom: 1px;
}
.faq-help a:hover { border-bottom-color: var(--primary); }

.faq-list {
    border-top: 1px solid var(--ink);
}
.faq-item {
    border-bottom: 1px solid var(--rule);
}
.faq-q {
    width: 100%;
    text-align: right;
    background: transparent;
    border: none;
    padding: 22px 0;
    font-family: 'Instrument Serif', serif;
    font-size: 21px;
    color: var(--ink);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    line-height: 1.3;
}
.faq-q:hover { color: var(--primary); }
.faq-q-icon {
    width: 22px; height: 22px;
    flex-shrink: 0;
    color: var(--slate-light);
    transition: transform 0.3s;
}
.faq-item.open .faq-q-icon { transform: rotate(-45deg); color: var(--primary); }
.faq-a {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.faq-a-inner {
    padding: 0 0 24px 0;
    font-size: 15px;
    color: var(--slate);
    line-height: 1.7;
    max-width: 640px;
}
.faq-item.open .faq-a {
    max-height: 400px;
}

/* ============================================================
   FINAL CTA
============================================================ */
.final-section {
    padding: 130px 32px;
    background:
        radial-gradient(ellipse at top left, rgba(59, 0, 82, 0.55) 0%, transparent 55%),
        radial-gradient(ellipse at bottom right, rgba(14, 124, 140, 0.4) 0%, transparent 55%),
        linear-gradient(-135deg, var(--primary-deep) 0%, var(--primary) 60%, var(--primary-mid) 100%);
    color: white;
    position: relative;
    overflow: hidden;
}
.final-bg {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle at 1px 1px, rgba(255,255,255,0.05) 1px, transparent 0);
    background-size: 32px 32px;
    -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, black 30%, transparent 80%);
    mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, black 30%, transparent 80%);
    pointer-events: none;
}
.final-inner {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 1;
}
.final-h {
    font-family: 'Instrument Serif', serif;
    font-size: clamp(36px, 4.6vw, 64px);
    color: white;
    line-height: 1.05;
    letter-spacing: -0.015em;
    margin-bottom: 24px;
}
.final-h i { color: rgba(255,255,255,0.7); }
.final-sub {
    font-size: 17px;
    color: rgba(255,255,255,0.75);
    line-height: 1.65;
    margin-bottom: 40px;
    max-width: 540px;
    margin-right: auto;
    margin-left: auto;
}
.final-ctas {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 24px;
}
.final-meta {
    font-size: 13px;
    color: rgba(255,255,255,0.5);
}

/* ============================================================
   FOOTER
============================================================ */
footer {
    background: var(--ink);
    color: #9ca3af;
    padding: 64px 32px 28px;
}
.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-brand {
    color: white;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    margin-bottom: 16px;
}
.footer-logo {
    height: 32px;
    width: auto;
    display: block;
}
.footer-tagline {
    font-size: 13.5px;
    line-height: 1.65;
    color: #9ca3af;
    max-width: 280px;
    margin-bottom: 22px;
}
.footer-region {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: #9ca3af;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    padding: 6px 12px;
    border-radius: 100px;
}
.footer-region-dot {
    width: 6px; height: 6px;
    background: #5BBA75;
    border-radius: 50%;
}
.footer-col-h {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #9ca3af;
    margin-bottom: 18px;
}
.footer-col-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.footer-col-list a {
    color: #9ca3af;
    text-decoration: none;
    font-size: 13.5px;
    transition: color 0.18s;
}
.footer-col-list a:hover { color: white; }
.footer-bottom {
    padding-top: 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 12px;
    color: #9ca3af;
    flex-wrap: wrap;
    gap: 16px;
}
.footer-bottom a { color: #9ca3af; text-decoration: none; }
.footer-bottom a:hover { color: white; }

/* ============================================================
   RESPONSIVE
============================================================ */
@media (max-width: 1100px) {
    .hero-inner { grid-template-columns: 1fr; gap: 56px; min-height: auto; padding: 40px 0 80px; }
    .hero-screen-wrap { max-width: 620px; height: 520px; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .stat:nth-child(2) { border-left: none; }
    .stat:nth-child(1), .stat:nth-child(2) { border-bottom: 1px solid var(--rule); }
}
@media (max-width: 600px) {
    .hero-screen-wrap { height: auto; display: flex; flex-direction: column; gap: 16px; }
    .hero-panel-owner, .hero-panel-finance { position: static; width: 100%; }
    .hero-ai-card { position: static; transform: none; width: 100%; animation: none; }
}
@media (max-width: 880px) {
    nav .nav-links { display: none; }
    nav .nav-right { display: none; }
    nav .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
    nav .nav-mobile { display: block; }
    .nav-inner { padding: 0 20px; }
    .shift-grid { grid-template-columns: 1fr; }
    .buyers-grid { grid-template-columns: 1fr; }
    .buyer-list { grid-template-columns: 1fr; }
    .wf-block { grid-template-columns: 1fr; gap: 40px; padding: 50px 0; }
    .wf-block.flip .wf-text { order: 1; }
    .wf-block.flip .wf-mock { order: 2; }
    .inside-grid { grid-template-columns: 1fr; }
    .oman-grid { grid-template-columns: 1fr; gap: 32px; }
    .timeline { grid-template-columns: 1fr 1fr; gap: 40px 0; }
    .timeline::before { display: none; }
    .price-grid { grid-template-columns: 1fr; }
    .faq-grid { grid-template-columns: 1fr; gap: 40px; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
    .ic-kpi-row { grid-template-columns: repeat(2, 1fr); }
    .mock-bill { grid-template-columns: 1fr; }
    .mock-bill-doc { border-left: none; border-bottom: 1px solid var(--rule); }
    .stats-grid { grid-template-columns: 1fr 1fr; }
}

/* ============================================================
   SUB-PAGES — RTL adjustments
============================================================ */
.page-hero-inner { text-align: right; }

.legal-toc {
    border-left: none;
    border-right: 1px solid var(--rule);
    padding: 4px 18px 4px 0;
}
.legal-toc-list a::before {
    margin-right: 0;
    margin-left: 8px;
}

.help-search-wrap {
    padding: 4px 18px 4px 6px;
}
.help-search-input { padding: 14px 16px 14px 16px; }

.demo-bullets li {
    padding-left: 0;
    padding-right: 22px;
}
.demo-bullets li::before {
    left: auto;
    right: 0;
    content: "←";
}

.contact-info-list { padding-right: 0; }

@media (max-width: 1000px) {
    .legal-toc {
        border-right: none;
        border-top: 1px solid var(--rule);
        padding: 14px 0 0;
    }
}
