/* ============================================================================
   VAXENPAY — marketing site design system
   Palette meaning:  amber = money / collections (brand)
                     signal = the cable network itself
   Type:  Archivo (expanded display) · IBM Plex Sans (body) · IBM Plex Mono (data)
   ========================================================================= */

:root {
    /* Field — pearl, the same surface the portal login signs in on. */
    --ink:        #EEF0F4;
    --ink-2:      #F7F8FB;
    --ink-3:      #FFFFFF;
    --ink-4:      #E4E8F0;

    /* Ink — navy, taken from the wordmark. */
    --navy:       #0F1D3A;
    --navy-2:     #16264A;
    --navy-3:     #233360;

    --line:       rgba(15, 29, 58, 0.10);
    --line-2:     rgba(15, 29, 58, 0.20);

    /* Gold is a ramp, not a colour. Flat amber is the CableWay tell. */
    --gold-1:     #F6D27A;
    --gold-2:     #D4A53C;
    --gold-3:     #A8741F;
    --gold-ramp:  linear-gradient(180deg, #F6D27A 0%, #D4A53C 55%, #A8741F 100%);
    --gold-cta:   linear-gradient(180deg, #F9DC8E 0%, #D4A53C 55%, #B98626 100%);

    /* Aliases so the existing rules keep working against the new ramp. */
    --amber:      #A8741F;
    --amber-2:    #D4A53C;
    --amber-soft: rgba(212, 165, 60, 0.14);
    --amber-glow: rgba(212, 165, 60, 0.30);

    /* The network accent, re-tuned to carry on a light field. */
    --signal:     #11707E;
    --signal-2:   #0C5A66;
    --signal-soft:rgba(17, 112, 126, 0.10);

    --text:       #0F1D3A;
    --muted:      #5B6680;
    --muted-2:    #8A93A8;

    --ok:         #15803D;
    --wa:         #25D366;

    --shell:      1240px;
    --gut:        clamp(20px, 4vw, 48px);

    --r-sm: 10px;
    --r:    16px;
    --r-lg: 24px;

    --ease: cubic-bezier(0.22, 1, 0.36, 1);
    --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    background: var(--ink);
    color: var(--text);
    font-family: 'IBM Plex Sans', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
    font-size: 17px;
    line-height: 1.62;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
}

img, svg, video, canvas { display: block; max-width: 100%; }

a { color: inherit; text-decoration: none; }

::selection { background: rgba(212, 165, 60, 0.35); color: var(--navy); }

:focus-visible {
    outline: 2px solid var(--gold-3);
    outline-offset: 3px;
    border-radius: 4px;
}

/* ── Type scale ──────────────────────────────────────────────────────────── */

.display,
h1, h2, h3, h4 {
    font-family: 'Archivo', ui-sans-serif, system-ui, sans-serif;
    font-variation-settings: 'wdth' 112, 'wght' 700;
    font-weight: 700;
    letter-spacing: -0.025em;
    line-height: 1.04;
    margin: 0;
    text-wrap: balance;
}

h1, .t-h1 {
    font-size: clamp(2.3rem, 3.85vw, 3.35rem);
    font-variation-settings: 'wdth' 118, 'wght' 800;
    letter-spacing: -0.035em;
}

h2, .t-h2 {
    font-size: clamp(2rem, 4.2vw, 3.4rem);
    font-variation-settings: 'wdth' 115, 'wght' 750;
    letter-spacing: -0.03em;
}

h3, .t-h3 {
    font-size: clamp(1.15rem, 1.7vw, 1.45rem);
    font-variation-settings: 'wdth' 106, 'wght' 700;
    letter-spacing: -0.015em;
    line-height: 1.22;
}

h4, .t-h4 {
    font-size: 1.02rem;
    font-variation-settings: 'wdth' 104, 'wght' 650;
    letter-spacing: -0.005em;
}

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

.lede {
    font-size: clamp(1.06rem, 1.5vw, 1.24rem);
    color: var(--muted);
    line-height: 1.62;
    max-width: 62ch;
}

.mono {
    font-family: 'IBM Plex Mono', ui-monospace, 'SF Mono', Menlo, monospace;
    font-feature-settings: 'zero' 1;
}

/* Eyebrow — the line from the VAXENPAY logo lockup */
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: 'IBM Plex Mono', ui-monospace, monospace;
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: var(--amber);
    margin: 0 0 20px;
}

.eyebrow::before {
    content: '';
    width: 26px;
    height: 1px;
    background: var(--amber);
    opacity: 0.75;
}

.eyebrow-dim { color: var(--muted-2); }
.eyebrow-dim::before { background: var(--muted-2); }

/* ── Layout ──────────────────────────────────────────────────────────────── */

.shell {
    width: 100%;
    max-width: var(--shell);
    margin-inline: auto;
    padding-inline: var(--gut);
}

.shell-wide { max-width: 1480px; }

.band { padding-block: clamp(72px, 10vw, 132px); position: relative; }
.band-tight { padding-block: clamp(52px, 6vw, 84px); }

.band-ruled { border-top: 1px solid var(--line); }

/* Section head */
.head {
    max-width: 760px;
    margin-bottom: clamp(40px, 5vw, 66px);
}

.head-center {
    margin-inline: auto;
    text-align: center;
}

.head-center .eyebrow { justify-content: center; }

.head h2 + p { margin-top: 20px; }

/* Grids */
.grid { display: grid; gap: 20px; }
.g-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

@media (max-width: 980px) {
    .g-3, .g-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 620px) {
    .g-2, .g-3, .g-4 { grid-template-columns: minmax(0, 1fr); }
}

/* ── Atmosphere: grain + vignette + scanlines ────────────────────────────── */

.grain {
    position: fixed;
    inset: -120px;
    z-index: 9;
    pointer-events: none;
    opacity: 0.035;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='220' height='220' filter='url(%23n)'/%3E%3C/svg%3E");
    animation: grain-shift 7s steps(6) infinite;
    will-change: transform;
}

@keyframes grain-shift {
    0%   { transform: translate(0, 0); }
    16%  { transform: translate(-14px, 8px); }
    33%  { transform: translate(9px, -13px); }
    50%  { transform: translate(-7px, 11px); }
    66%  { transform: translate(13px, 6px); }
    83%  { transform: translate(-11px, -9px); }
    100% { transform: translate(0, 0); }
}

/* ── Navigation ──────────────────────────────────────────────────────────── */

.nav {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 60;
    transition: background 0.4s var(--ease), border-color 0.4s var(--ease), backdrop-filter 0.4s;
    border-bottom: 1px solid transparent;
}

.nav-stuck {
    background: rgba(255, 255, 255, 0.82);
    backdrop-filter: blur(18px) saturate(140%);
    -webkit-backdrop-filter: blur(18px) saturate(140%);
    border-bottom-color: var(--line);
}

.nav-in {
    display: flex;
    align-items: center;
    gap: 28px;
    height: 74px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    flex: none;
}

.brand-mark { width: 34px; height: 34px; flex: none; }

.brand-word {
    font-family: 'Archivo', sans-serif;
    font-variation-settings: 'wdth' 110, 'wght' 800;
    font-size: 1.28rem;
    letter-spacing: -0.03em;
    line-height: 1;
}

.brand-word em {
    font-style: normal;
    color: var(--amber);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-left: auto;
}

.nav-links a {
    padding: 9px 13px;
    border-radius: 8px;
    font-size: 0.92rem;
    font-weight: 500;
    color: var(--muted);
    transition: color 0.2s, background 0.2s;
}

.nav-links a:hover { color: var(--text); background: rgba(15, 29, 58, 0.055); }
.nav-links a.is-here { color: var(--text); }

.nav-links a.is-here::after {
    content: '';
    display: block;
    height: 2px;
    margin-top: 5px;
    border-radius: 2px;
    background: var(--amber);
}

.nav-act { display: flex; align-items: center; gap: 10px; flex: none; }

.nav-toggle {
    display: none;
    width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: 1px solid var(--line-2);
    border-radius: 10px;
    color: var(--text);
    cursor: pointer;
}

/* Seven top-level links need more room than five did: tighten them before
   the breakpoint, then collapse to the drawer a little earlier. */
@media (max-width: 1320px) {
    .nav-links { gap: 2px; }
    .nav-links a { padding: 9px 9px; font-size: 0.875rem; }
}

@media (max-width: 1180px) {
    .nav-links { display: none; }
    .nav-toggle { display: inline-flex; }
    .nav-act .btn-ghost { display: none; }
}

/* Mobile drawer */
.drawer {
    position: fixed;
    inset: 74px 0 auto 0;
    z-index: 59;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(20px);
    box-shadow: 0 24px 50px -30px rgba(15, 29, 58, 0.6);
    border-bottom: 1px solid var(--line);
    padding: 14px var(--gut) 26px;
    display: none;
}

.drawer.is-open { display: block; }

.drawer a {
    display: block;
    padding: 13px 4px;
    font-size: 1.05rem;
    font-weight: 500;
    border-bottom: 1px solid var(--line);
    color: var(--muted);
}

.drawer a.is-here { color: var(--amber); }
.drawer .btn { margin-top: 18px; width: 100%; justify-content: center; }

/* ── Buttons ─────────────────────────────────────────────────────────────── */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 13px 22px;
    border: 1px solid transparent;
    border-radius: 999px;
    font-family: 'IBM Plex Sans', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: -0.005em;
    cursor: pointer;
    white-space: nowrap;
    transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease),
                background 0.25s, border-color 0.25s, color 0.25s;
}

.btn svg { flex: none; }

.btn-amber {
    background: linear-gradient(178deg, var(--amber), var(--amber-2));
    color: var(--navy);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.55) inset,
                0 10px 30px -12px var(--amber-glow);
}

.btn-amber:hover {
    transform: translateY(-2px);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.65) inset,
                0 18px 44px -14px var(--amber-glow);
}

.btn-wa {
    background: var(--wa);
    color: #04240F;
    box-shadow: 0 10px 30px -14px rgba(37, 211, 102, 0.7);
}

.btn-wa:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 44px -16px rgba(37, 211, 102, 0.75);
}

.btn-ghost {
    background: #FFFFFF;
    border-color: var(--line-2);
    color: var(--text);
}

.btn-ghost:hover {
    background: #FFFFFF;
    border-color: var(--gold-2);
    transform: translateY(-2px);
}

.btn-lg { padding: 16px 30px; font-size: 1rem; }
.btn-sm { padding: 10px 17px; font-size: 0.87rem; }

.btn-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
}

/* Text link with travelling underline */
.tlink {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-weight: 600;
    font-size: 0.94rem;
    color: var(--amber);
}

.tlink svg { transition: transform 0.25s var(--ease); }
.tlink:hover svg { transform: translateX(4px); }

/* ── Hero ────────────────────────────────────────────────────────────────── */

.hero {
    position: relative;
    min-height: min(104svh, 1000px);
    display: flex;
    align-items: center;
    padding-block: 150px 90px;
    overflow: hidden;
    isolation: isolate;
}

.hero-stage {
    position: absolute;
    inset: 0;
    z-index: -2;
    overflow: hidden;
}

.hero-stage canvas,
.hero-stage video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Higgsfield / any rendered clip drops in here and covers the canvas */
.hero-film {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1.2s var(--ease);
}

.hero-film.is-live { opacity: 0.9; }

.hero-scrim {
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        radial-gradient(96% 92% at 2% 52%, rgba(238, 240, 244, 0.96) 0%, rgba(238, 240, 244, 0.86) 28%, rgba(238, 240, 244, 0.35) 54%, rgba(238, 240, 244, 0) 78%),
        linear-gradient(to bottom, var(--ink) 0%, rgba(238, 240, 244, 0) 18%, rgba(238, 240, 244, 0) 70%, var(--ink) 100%);
}

.hero-in { position: relative; max-width: 860px; }

/* Inner pages get the same treatment at half the height. */
.hero-sm { min-height: min(62svh, 620px); padding-block: 140px 70px; }
.hero-sm h1 { font-size: clamp(2.1rem, 3.3vw, 2.9rem); }

.hero h1 { margin-bottom: 26px; }

.hero h1 .hl-b {
    display: block;
    color: var(--amber);
}

.hero .lede { max-width: 56ch; margin-bottom: 34px; }

.hero-note {
    margin-top: 22px;
    font-size: 0.88rem;
    color: var(--muted-2);
    display: flex;
    align-items: center;
    gap: 9px;
}

.dot-live {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--ok);
    box-shadow: 0 0 0 0 rgba(110, 231, 168, 0.6);
    animation: ping 2.4s var(--ease-in-out) infinite;
}

@keyframes ping {
    0%   { box-shadow: 0 0 0 0 rgba(110, 231, 168, 0.55); }
    70%  { box-shadow: 0 0 0 11px rgba(110, 231, 168, 0); }
    100% { box-shadow: 0 0 0 0 rgba(110, 231, 168, 0); }
}

/* Scroll cue */
.cue {
    position: absolute;
    left: 50%;
    bottom: 30px;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 9px;
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.62rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--muted-2);
}

.cue-rail {
    width: 1px;
    height: 46px;
    background: linear-gradient(to bottom, var(--line-2), transparent);
    position: relative;
    overflow: hidden;
}

.cue-rail::after {
    content: '';
    position: absolute;
    inset-inline: 0;
    top: -46px;
    height: 46px;
    background: linear-gradient(to bottom, transparent, var(--amber));
    animation: cue-run 2.6s var(--ease-in-out) infinite;
}

@keyframes cue-run {
    0%   { transform: translateY(0); opacity: 0; }
    30%  { opacity: 1; }
    100% { transform: translateY(92px); opacity: 0; }
}

@media (max-width: 700px) { .cue { display: none; } }

/* ── Stat rail ───────────────────────────────────────────────────────────── */

.rail {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.rail-cell {
    padding: 26px 24px;
    border-left: 1px solid var(--line);
}

.rail-cell:first-child { border-left: 0; }

.rail-n {
    font-family: 'Archivo', sans-serif;
    font-variation-settings: 'wdth' 116, 'wght' 780;
    font-size: clamp(1.9rem, 3.4vw, 2.85rem);
    line-height: 1;
    letter-spacing: -0.035em;
    color: var(--text);
}

.rail-n small {
    font-size: 0.5em;
    color: var(--amber);
    margin-left: 2px;
}

.rail-l {
    margin-top: 9px;
    font-size: 0.82rem;
    color: var(--muted);
    line-height: 1.4;
}

@media (max-width: 760px) {
    .rail { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .rail-cell:nth-child(odd) { border-left: 0; }
    .rail-cell:nth-child(n+3) { border-top: 1px solid var(--line); }
}

/* ── Cards ───────────────────────────────────────────────────────────────── */

.card {
    position: relative;
    padding: 28px;
    border: 1px solid var(--line);
    border-radius: var(--r);
    background:
        linear-gradient(168deg, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.72));
    overflow: hidden;
    transition: border-color 0.35s var(--ease), transform 0.35s var(--ease),
                background 0.35s var(--ease);
}

.card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.4s var(--ease);
    background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%),
                rgba(212, 165, 60, 0.14), transparent 62%);
}

.card:hover {
    border-color: rgba(212, 165, 60, 0.55);
    transform: translateY(-4px);
}

.card:hover::after { opacity: 1; }

.card h3 { margin-bottom: 10px; }

.card p {
    color: var(--muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

.card-ico {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    margin-bottom: 20px;
    background: var(--amber-soft);
    border: 1px solid rgba(212, 165, 60, 0.38);
    color: var(--amber);
}

.card-ico-sig {
    background: var(--signal-soft);
    border-color: rgba(72, 230, 210, 0.24);
    color: var(--signal);
}

/* Feature list inside a card */
.ticks {
    list-style: none;
    margin: 18px 0 0;
    padding: 0;
    display: grid;
    gap: 9px;
}

.ticks li {
    position: relative;
    padding-left: 22px;
    font-size: 0.9rem;
    color: var(--muted);
    line-height: 1.5;
}

.ticks li::before {
    content: '';
    position: absolute;
    left: 3px;
    top: 0.62em;
    width: 7px;
    height: 7px;
    border-radius: 2px;
    background: var(--amber);
    opacity: 0.85;
}

.ticks-sig li::before { background: var(--signal); }

/* ── Day timeline (a real sequence, so it is numbered by clock time) ─────── */

.day { display: grid; gap: 0; }

.day-row {
    display: grid;
    grid-template-columns: 108px 1px minmax(0, 1fr);
    gap: 0 28px;
    padding-block: 26px;
    border-top: 1px solid var(--line);
    align-items: start;
}

.day-row:last-child { border-bottom: 1px solid var(--line); }

.day-t {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 1.02rem;
    font-weight: 500;
    color: var(--amber);
    letter-spacing: 0.02em;
    padding-top: 2px;
}

.day-rail {
    position: relative;
    align-self: stretch;
    background: var(--line);
}

.day-rail::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 8px;
    width: 9px;
    height: 9px;
    margin-left: -4.5px;
    border-radius: 50%;
    background: var(--ink);
    border: 2px solid var(--amber);
}

.day-b h3 { margin-bottom: 8px; }

.day-b p { color: var(--muted); font-size: 0.96rem; }

@media (max-width: 700px) {
    .day-row { grid-template-columns: 1fr; gap: 8px; padding-block: 20px; }
    .day-rail { display: none; }
}

/* ── Provider marquee ────────────────────────────────────────────────────── */

.marquee {
    position: relative;
    overflow: hidden;
    padding-block: 6px;
    -webkit-mask-image: linear-gradient(to right, transparent, #000 9%, #000 91%, transparent);
    mask-image: linear-gradient(to right, transparent, #000 9%, #000 91%, transparent);
}

.marquee-track {
    display: flex;
    gap: 12px;
    width: max-content;
    animation: slide 46s linear infinite;
}

.marquee-rev .marquee-track { animation-direction: reverse; }

.marquee:hover .marquee-track { animation-play-state: paused; }

@keyframes slide {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

.chip {
    flex: none;
    padding: 10px 18px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.78);
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.82rem;
    letter-spacing: 0.02em;
    color: var(--muted);
    white-space: nowrap;
}

.chip-on {
    border-color: rgba(72, 230, 210, 0.3);
    color: var(--signal);
    background: var(--signal-soft);
}

/* ── Pricing ─────────────────────────────────────────────────────────────── */

.price-box {
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    background: linear-gradient(168deg, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.72));
    padding: clamp(26px, 4vw, 46px);
}

.price-top {
    display: flex;
    flex-wrap: wrap;
    gap: 30px 40px;
    align-items: flex-end;
    justify-content: space-between;
    padding-bottom: 30px;
    border-bottom: 1px solid var(--line);
}

.price-amt {
    font-family: 'Archivo', sans-serif;
    font-variation-settings: 'wdth' 118, 'wght' 800;
    font-size: clamp(3rem, 7.4vw, 5.4rem);
    line-height: 0.9;
    letter-spacing: -0.045em;
    color: var(--text);
    font-feature-settings: 'tnum' 1;
}

.price-amt .cur {
    color: var(--amber);
    font-size: 0.46em;
    vertical-align: 0.42em;
    margin-right: 4px;
    font-variation-settings: 'wdth' 110, 'wght' 700;
}

.price-per {
    margin-top: 12px;
    font-size: 0.9rem;
    color: var(--muted);
}

.price-cap {
    text-align: right;
    min-width: 220px;
}

.price-cap-n {
    font-family: 'IBM Plex Mono', monospace;
    font-size: clamp(1.7rem, 3.4vw, 2.4rem);
    font-weight: 600;
    line-height: 1;
    color: var(--signal);
    font-feature-settings: 'tnum' 1;
}

.price-cap-l {
    margin-top: 8px;
    font-size: 0.82rem;
    color: var(--muted);
    letter-spacing: 0.02em;
}

@media (max-width: 620px) {
    .price-cap { text-align: left; min-width: 0; }
}

/* Slider */
.slider-wrap { padding-top: 32px; }

.slider-head {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 16px;
    margin-bottom: 16px;
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.76rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--muted-2);
}

.slider {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 34px;
    background: transparent;
    cursor: pointer;
    display: block;
}

.slider::-webkit-slider-runnable-track {
    height: 6px;
    border-radius: 999px;
    background: linear-gradient(to right,
        var(--amber) 0%, var(--amber) var(--fill, 0%),
        rgba(15, 29, 58, 0.12) var(--fill, 0%), rgba(15, 29, 58, 0.12) 100%);
}

.slider::-moz-range-track {
    height: 6px;
    border-radius: 999px;
    background: linear-gradient(to right,
        var(--amber) 0%, var(--amber) var(--fill, 0%),
        rgba(15, 29, 58, 0.12) var(--fill, 0%), rgba(15, 29, 58, 0.12) 100%);
}

.slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 26px;
    height: 26px;
    margin-top: -10px;
    border-radius: 50%;
    background: var(--amber);
    border: 4px solid var(--ink-2);
    box-shadow: 0 0 0 1px var(--amber), 0 6px 20px -6px var(--amber-glow);
    transition: transform 0.18s var(--ease);
}

.slider::-moz-range-thumb {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--amber);
    border: 4px solid var(--ink-2);
    box-shadow: 0 0 0 1px var(--amber), 0 6px 20px -6px var(--amber-glow);
}

.slider:active::-webkit-slider-thumb { transform: scale(1.14); }

.slider-ticks {
    display: flex;
    justify-content: space-between;
    margin-top: 4px;
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.7rem;
    color: var(--muted-2);
}

.price-foot {
    margin-top: 30px;
    padding-top: 26px;
    border-top: 1px solid var(--line);
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    align-items: center;
    justify-content: space-between;
}

.price-foot p { color: var(--muted); font-size: 0.9rem; max-width: 46ch; }

/* Tier table */
.tiers {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.92rem;
}

.tiers th,
.tiers td {
    padding: 13px 16px;
    text-align: left;
    border-bottom: 1px solid var(--line);
}

.tiers th {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--muted-2);
    white-space: nowrap;
}

.tiers td { color: var(--muted); }

.tiers td:first-child {
    font-family: 'IBM Plex Mono', monospace;
    color: var(--text);
    font-weight: 500;
}

.tiers td.amt {
    font-family: 'IBM Plex Mono', monospace;
    color: var(--amber);
    font-weight: 500;
    white-space: nowrap;
}

.tiers tr:hover td { background: rgba(255, 255, 255, 0.78); }

.table-scroll {
    overflow-x: auto;
    border: 1px solid var(--line);
    border-radius: var(--r);
    -webkit-overflow-scrolling: touch;
}

.table-scroll .tiers tr:last-child td { border-bottom: 0; }

/* ── App cards with a 3D slab ────────────────────────────────────────────── */

.app {
    display: grid;
    grid-template-columns: 168px minmax(0, 1fr);
    gap: 28px;
    align-items: center;
    padding: 26px;
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    background: linear-gradient(168deg, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.72));
    transition: border-color 0.35s var(--ease), transform 0.35s var(--ease);
}

.app:hover { border-color: rgba(212, 165, 60, 0.55); transform: translateY(-4px); }

.slab {
    position: relative;
    aspect-ratio: 9 / 17.5;
    border-radius: 20px;
    border: 1px solid rgba(15, 29, 58, 0.22);
    background: linear-gradient(158deg, var(--ink-4), var(--ink-2) 60%);
    box-shadow: 0 30px 60px -30px #000, 0 0 0 1px rgba(0, 0, 0, 0.6) inset;
    transform: perspective(900px) rotateY(-17deg) rotateX(6deg);
    transform-style: preserve-3d;
    overflow: hidden;
    transition: transform 0.6s var(--ease);
}

.app:hover .slab { transform: perspective(900px) rotateY(-8deg) rotateX(3deg) translateZ(16px); }

.slab-glass {
    position: absolute;
    inset: 0;
    background: linear-gradient(122deg, rgba(255, 255, 255, 0.22), transparent 42%);
}

.slab-notch {
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 40%;
    height: 5px;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.75);
}

.slab-ui {
    position: absolute;
    inset: 22px 12px 12px;
    display: grid;
    gap: 7px;
    align-content: start;
}

.slab-bar {
    height: 8px;
    border-radius: 3px;
    background: rgba(255, 255, 255, 0.1);
}

.slab-bar.w60 { width: 60%; }
.slab-bar.w80 { width: 80%; }
.slab-bar.w40 { width: 40%; }

.slab-tile {
    height: 34px;
    border-radius: 7px;
    background: var(--amber-soft);
    border: 1px solid rgba(212, 165, 60, 0.4);
}

.slab-tile-sig {
    background: var(--signal-soft);
    border-color: rgba(72, 230, 210, 0.26);
}

.app-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 16px;
}

.tag {
    padding: 5px 11px;
    border: 1px solid var(--line);
    border-radius: 999px;
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.72rem;
    color: var(--muted);
    background: rgba(255, 255, 255, 0.82);
}

.tag-amber { border-color: rgba(212, 165, 60, 0.45); color: var(--gold-3); background: rgba(212, 165, 60, 0.12); }
.tag-sig   { border-color: rgba(72, 230, 210, 0.3); color: var(--signal); background: var(--signal-soft); }

@media (max-width: 560px) {
    .app { grid-template-columns: minmax(0, 1fr); }
    .slab { width: 148px; }
}

/* ── Support ─────────────────────────────────────────────────────────────── */

.contact {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 18px;
}

.contact-card {
    padding: 26px;
    border: 1px solid var(--line);
    border-radius: var(--r);
    background: rgba(255, 255, 255, 0.82);
}

.contact-card .lbl {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.7rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--muted-2);
    margin-bottom: 12px;
}

.contact-card .val {
    font-family: 'Archivo', sans-serif;
    font-variation-settings: 'wdth' 108, 'wght' 700;
    font-size: 1.32rem;
    letter-spacing: -0.02em;
    line-height: 1.25;
    word-break: break-word;
}

.contact-card .sub {
    margin-top: 10px;
    font-size: 0.87rem;
    color: var(--muted);
}

.contact-card a.val:hover { color: var(--amber); }

/* ── CTA band ────────────────────────────────────────────────────────────── */

.cta-band {
    position: relative;
    overflow: hidden;
    border-top: 1px solid var(--line);
    background:
        radial-gradient(90% 130% at 50% 0%, rgba(212, 165, 60, 0.22), transparent 62%),
        var(--ink-2);
}

.cta-band .shell { position: relative; }

/* ── Footer ──────────────────────────────────────────────────────────────── */

.foot {
    border-top: 1px solid var(--line);
    padding-block: 54px 40px;
    background: var(--ink);
}

.foot-grid {
    display: grid;
    grid-template-columns: 1.6fr repeat(3, minmax(0, 1fr));
    gap: 40px 28px;
}

@media (max-width: 900px) {
    .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 520px) {
    .foot-grid { grid-template-columns: minmax(0, 1fr); }
}

.foot-tag {
    margin-top: 16px;
    color: var(--muted);
    font-size: 0.9rem;
    max-width: 34ch;
}

.foot h4 {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--muted-2);
    margin-bottom: 16px;
}

.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }

.foot ul a {
    font-size: 0.92rem;
    color: var(--muted);
    transition: color 0.2s;
}

.foot ul a:hover { color: var(--text); }

.foot-base {
    margin-top: 44px;
    padding-top: 24px;
    border-top: 1px solid var(--line);
    display: flex;
    flex-wrap: wrap;
    gap: 12px 24px;
    justify-content: space-between;
    font-size: 0.84rem;
    color: var(--muted-2);
}

/* ── Floating WhatsApp ───────────────────────────────────────────────────── */

.wa-fab {
    position: fixed;
    right: clamp(16px, 3vw, 30px);
    bottom: clamp(16px, 3vw, 30px);
    z-index: 70;
    display: inline-flex;
    align-items: center;
    gap: 11px;
    padding: 13px 20px 13px 15px;
    border-radius: 999px;
    background: var(--wa);
    color: #04240F;
    font-weight: 650;
    font-size: 0.94rem;
    box-shadow: 0 16px 40px -14px rgba(37, 211, 102, 0.6), 0 0 0 6px rgba(37, 211, 102, 0.1);
    transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.wa-fab:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 24px 54px -16px rgba(37, 211, 102, 0.7), 0 0 0 9px rgba(37, 211, 102, 0.12);
}

.wa-fab svg { flex: none; }

.wa-fab-n {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.9rem;
    letter-spacing: 0.01em;
}

@media (max-width: 560px) {
    .wa-fab { padding: 14px; }
    .wa-fab-n { display: none; }
}

/* ── Reveal on scroll ────────────────────────────────────────────────────── */

.rise {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 0.85s var(--ease), transform 0.85s var(--ease);
    transition-delay: var(--d, 0ms);
}

.rise.is-in { opacity: 1; transform: none; }

/* Hero load sequence */
.boot > * {
    opacity: 0;
    transform: translateY(26px);
    animation: boot-in 1.05s var(--ease) forwards;
}

.boot > *:nth-child(1) { animation-delay: 0.15s; }
.boot > *:nth-child(2) { animation-delay: 0.28s; }
.boot > *:nth-child(3) { animation-delay: 0.42s; }
.boot > *:nth-child(4) { animation-delay: 0.56s; }
.boot > *:nth-child(5) { animation-delay: 0.70s; }

@keyframes boot-in {
    to { opacity: 1; transform: none; }
}

/* ── Reduced motion ──────────────────────────────────────────────────────── */

@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;
    }

    .rise { opacity: 1; transform: none; }
    .boot > * { opacity: 1; transform: none; }
    .grain { display: none; }
}

/* ── Utilities ───────────────────────────────────────────────────────────── */

.center { text-align: center; }
.mt-s { margin-top: 14px; }
.mt-m { margin-top: 26px; }
.mt-l { margin-top: 44px; }
.muted { color: var(--muted); }
.nowrap { white-space: nowrap; }

.skip {
    position: absolute;
    left: -9999px;
    top: 0;
    z-index: 100;
    padding: 12px 18px;
    background: var(--amber);
    color: #000;
    border-radius: 0 0 8px 0;
    font-weight: 600;
}

.skip:focus { left: 0; }

/* ── Hollywood Cinematic Video & Visual Enhancements ─────────────────────── */
.hero-stage video.hero-film,
.hero-stage img.hero-film {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1.4s cubic-bezier(0.22, 1, 0.36, 1);
    filter: contrast(1.05) saturate(1.1);
}

.hero-stage video.hero-film.is-live,
.hero-stage img.hero-film.is-live {
    opacity: 0.95;
}

.hero-stage {
    z-index: 0;
    position: absolute;
    inset: 0;
    background: var(--ink);
}

.hero-scrim {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background:
        /* The text column comes first and is almost opaque across its whole
           width. The radial alone had decayed to 0.3 alpha by 62%, which is
           where a 56ch lede ends -- so the copy dissolved into the lit
           shopfronts on the right of the photograph. This layer holds pearl
           until the column is finished, then releases the picture. */
        linear-gradient(100deg,
            rgba(238, 240, 244, 0.97) 0%,
            rgba(238, 240, 244, 0.95) 34%,
            rgba(238, 240, 244, 0.82) 50%,
            rgba(238, 240, 244, 0.42) 66%,
            rgba(238, 240, 244, 0) 84%),
        /* Softens the corners so the wash does not read as a flat panel. */
        radial-gradient(90% 88% at 0% 50%, rgba(238, 240, 244, 0.70) 0%, rgba(238, 240, 244, 0.42) 40%, rgba(238, 240, 244, 0) 78%),
        linear-gradient(to bottom, var(--ink) 0%, rgba(238, 240, 244, 0) 15%, rgba(238, 240, 244, 0) 72%, var(--ink) 100%);
}

/* Narrow viewports put the copy across the full width, so the photograph has
   to sit further back or nothing is readable over it. */
@media (max-width: 900px) {
    .hero-scrim {
        background:
            linear-gradient(180deg,
                rgba(238, 240, 244, 0.95) 0%,
                rgba(238, 240, 244, 0.90) 55%,
                rgba(238, 240, 244, 0.80) 100%),
            linear-gradient(to bottom, var(--ink) 0%, rgba(238, 240, 244, 0) 18%, rgba(238, 240, 244, 0) 70%, var(--ink) 100%);
    }
}

.hero-in {
    position: relative;
    z-index: 2;
}

/* Cinematic Video Stages */
.stage video.film-clip,
.stage img.film-photo {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1.4s cubic-bezier(0.22, 1, 0.36, 1);
    filter: contrast(1.04) saturate(1.08);
}

.stage video.film-clip.is-live {
    opacity: 1;
    z-index: 1;
}

.stage img.film-photo.is-live {
    opacity: 1;
    z-index: 0;
}

.stage.has-film img.film-photo {
    opacity: 0;
}

.stage-grade {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    mix-blend-mode: color;
    background: linear-gradient(135deg, rgba(17, 112, 126, 0.10), rgba(212, 165, 60, 0.14));
}

.stage-veil {
    position: absolute;
    inset: 0;
    z-index: 3;
    pointer-events: none;
    background: linear-gradient(to bottom, rgba(11, 20, 39, 0.9) 0%, rgba(11, 20, 39, 0) 18%, rgba(11, 20, 39, 0) 65%, rgba(11, 20, 39, 0.92) 100%);
}

.stage-tag {
    z-index: 4;
}

.stage-cap {
    z-index: 4;
}

/* Cinematic Feature Grid & Cards */
.card-cinema {
    position: relative;
    overflow: hidden;
    background: linear-gradient(170deg, rgba(22, 26, 38, 0.95), rgba(10, 12, 19, 0.98));
    border: 1px solid var(--line);
    border-radius: var(--r);
    transition: transform 0.3s var(--ease), border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.card-cinema:hover {
    transform: translateY(-4px);
    border-color: rgba(212, 165, 60, 0.6);
    box-shadow: 0 24px 54px -22px rgba(15, 29, 58, 0.35), 0 0 24px -6px rgba(212, 165, 60, 0.22);
}

.card-cinema-img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-bottom: 1px solid var(--line);
    transition: transform 0.6s var(--ease);
}

.card-cinema:hover .card-cinema-img {
    transform: scale(1.03);
}

.card-cinema-body {
    padding: 24px;
}

/* Badge glows */
.badge-gold {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px;
    border-radius: 999px;
    font-size: 0.76rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    background: rgba(212, 165, 60, 0.16);
    border: 1px solid rgba(212, 165, 60, 0.5);
    color: var(--amber);
    box-shadow: 0 6px 16px -8px rgba(168, 116, 31, 0.5);
}

.badge-signal {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px;
    border-radius: 999px;
    font-size: 0.76rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    background: rgba(72, 230, 210, 0.12);
    border: 1px solid rgba(72, 230, 210, 0.35);
    color: var(--signal);
    box-shadow: 0 0 14px rgba(72, 230, 210, 0.2);
}

/* SEO Keyword Cluster Section */
.seo-cluster {
    padding: 44px var(--gut);
    background: var(--ink-2);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.seo-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 12px;
    margin-top: 18px;
}

.seo-tag {
    font-size: 0.82rem;
    padding: 6px 14px;
    border-radius: 6px;
    background: var(--ink-3);
    border: 1px solid var(--line);
    color: var(--muted);
    transition: color 0.2s, border-color 0.2s;
}

.seo-tag:hover {
    color: var(--text);
    border-color: var(--amber);
}

/* FAQ Accordion Styling */
.faq-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-width: 860px;
    margin-inline: auto;
}

.faq-item {
    border: 1px solid var(--line);
    border-radius: var(--r-sm);
    background: var(--ink-2);
    overflow: hidden;
    transition: border-color 0.3s var(--ease);
}

.faq-item:hover {
    border-color: var(--line-2);
}

.faq-q {
    width: 100%;
    padding: 22px 26px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: 'Archivo', sans-serif;
    font-size: 1.15rem;
    font-weight: 650;
    color: var(--text);
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    gap: 16px;
}

.faq-q svg {
    flex-shrink: 0;
    transition: transform 0.3s var(--ease);
    color: var(--amber);
}

.faq-a {
    padding: 0 26px 24px;
    color: var(--muted);
    font-size: 0.98rem;
    line-height: 1.65;
}

/* ---------------------------------------------------------------------------
   Real product screenshots. The site had no <img> at all before these; the
   frame is deliberately quiet so the screenshot is the thing being looked at.
   ------------------------------------------------------------------------ */
.product-shot { margin: 46px 0 0; }

.product-shot img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 14px;
    border: 1px solid rgba(15, 29, 58, 0.12);
    box-shadow: 0 40px 90px -40px rgba(15, 29, 58, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.product-shot figcaption {
    margin-top: 14px;
    text-align: center;
    font-size: 0.86rem;
    color: var(--muted);
}


/* ===========================================================================
   VAXENPAY identity layer
   ---------------------------------------------------------------------------
   Everything above was authored for a near-black field. These are the
   surfaces that need a different decision on pearl rather than a recoloured
   one: glass instead of tint, navy shadow instead of glow, and two navy
   anchor bands so a light page still has weight at the bottom.

   The source of truth is the partner portal's login page — see the .vx-login
   block in lmo-portal/src/index.css. Keep the two in step.
   ======================================================================== */

body { background: var(--ink); color: var(--text); }

/* The film grain was a dark-field trick; on pearl it reads as dirt. */
.grain { opacity: 0.018; mix-blend-mode: multiply; }

/* ── Brand lockup ──────────────────────────────────────────────────────── */
.brand-logo {
    height: 30px;
    width: auto;
    display: block;
}

.nav-in .brand { display: flex; align-items: center; gap: 10px; }

.foot .brand-logo { height: 34px; }

/* The navy anchor bands invert the lockup, which is navy-on-transparent. */
.foot .brand-logo,
.cta-band .brand-logo { filter: brightness(0) invert(1); }

/* ── Nav ───────────────────────────────────────────────────────────────── */
.nav-stuck {
    border-bottom-color: rgba(15, 29, 58, 0.10);
    box-shadow: 0 10px 30px -22px rgba(15, 29, 58, 0.55);
}

.nav-links a { color: var(--muted); }
.nav-links a:hover, .nav-links a.is-here { color: var(--navy); }
.nav-links a.is-here::after { background: var(--gold-ramp); }

/* ── Buttons ───────────────────────────────────────────────────────────── */
.btn-amber {
    background: var(--gold-cta);
    color: var(--navy);
    border: 0;
    box-shadow: 0 16px 34px -14px rgba(168, 116, 31, 0.75),
                inset 0 1px 0 rgba(255, 255, 255, 0.55);
}

.btn-amber:hover { filter: brightness(1.05); }

.btn-ghost {
    background: #FFFFFF;
    border: 1px solid rgba(15, 29, 58, 0.14);
    color: var(--navy);
    box-shadow: 0 10px 24px -18px rgba(15, 29, 58, 0.5);
}

.btn-ghost:hover { border-color: var(--gold-2); color: var(--navy); }

/* ── Cards: the login's glass frame, not a tinted rectangle ────────────── */
.card, .app, .step, .price-box, .contact-card, .faq-item, .motif {
    background: rgba(255, 255, 255, 0.74);
    border: 1px solid rgba(255, 255, 255, 0.9);
    box-shadow: 0 30px 70px -44px rgba(15, 29, 58, 0.45),
                inset 0 1px 0 rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.card:hover, .app:hover {
    border-color: rgba(212, 165, 60, 0.6);
    box-shadow: 0 36px 80px -44px rgba(15, 29, 58, 0.5),
                inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

/* ── Type ──────────────────────────────────────────────────────────────── */
h1, h2, h3, h4, .display { color: var(--navy); }

.eyebrow { color: var(--gold-3); }

.eyebrow::before {
    content: '';
    width: 26px;
    height: 2px;
    border-radius: 2px;
    background: var(--gold-ramp);
}

.lede { color: var(--muted); }

.tlink { color: var(--gold-3); }
.tlink:hover { color: var(--navy); }

.hl-b, .hl-a {
    background: var(--gold-ramp);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.badge-gold { color: var(--gold-3); }

/* ── The two navy anchor bands ─────────────────────────────────────────── */
.cta-band, .foot {
    background: var(--navy);
    color: #E8ECF4;
    border-top: 0;
}

.cta-band {
    background:
        radial-gradient(90% 140% at 50% 0%, rgba(212, 165, 60, 0.26), transparent 62%),
        var(--navy);
}

.cta-band h2, .foot h4 { color: #FFFFFF; }
.cta-band .lede { color: rgba(232, 236, 244, 0.78); }
.cta-band .eyebrow { color: var(--gold-1); }
.cta-band .btn-ghost {
    background: transparent;
    border-color: rgba(255, 255, 255, 0.28);
    color: #FFFFFF;
}

.foot { border-top: 1px solid rgba(255, 255, 255, 0.08); }
.foot a { color: rgba(232, 236, 244, 0.72); }
.foot a:hover { color: var(--gold-1); }
.foot-tag { color: rgba(232, 236, 244, 0.6); }
.foot-base { border-top-color: rgba(255, 255, 255, 0.1); color: rgba(232, 236, 244, 0.5); }

/* ── Bands ─────────────────────────────────────────────────────────────── */
.band-ruled { border-top: 1px solid var(--line); background: var(--ink-2); }

/* ── Provider marquee ──────────────────────────────────────────────────── */
.plogo {
    background: #FFFFFF;
    border: 1px solid rgba(15, 29, 58, 0.08);
    box-shadow: 0 10px 26px -18px rgba(15, 29, 58, 0.5);
}

.plogo:hover { box-shadow: 0 14px 34px -18px rgba(15, 29, 58, 0.6); }

/* ── Stages: a navy screen on a pearl page, which is also the slot a
      generated film or photograph drops straight into. ─────────────────── */
.stage {
    background:
        radial-gradient(120% 92% at 50% 106%, rgba(212, 165, 60, 0.18), transparent 62%),
        linear-gradient(170deg, #16264A, #0B1427 70%);
    border-radius: var(--r-lg);
    border: 1px solid rgba(15, 29, 58, 0.14);
    box-shadow: 0 50px 110px -60px rgba(15, 29, 58, 0.6);
}

.stage-tag, .stage-cap { color: rgba(232, 236, 244, 0.82); }
.stage-cap b { color: var(--gold-1); }

/* ── Hero: pearl, with the login's breathing gold lights ───────────────── */
.hero-stage::before,
.hero-stage::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    filter: blur(90px);
    will-change: transform, opacity;
}

.hero-stage::before {
    width: 46vw;
    height: 46vw;
    right: -6vw;
    top: -10vw;
    background: radial-gradient(circle, rgba(246, 210, 122, 0.55), transparent 68%);
    animation: vx-breathe 11s var(--ease-in-out) infinite;
}

.hero-stage::after {
    width: 34vw;
    height: 34vw;
    right: 18vw;
    bottom: -12vw;
    background: radial-gradient(circle, rgba(212, 165, 60, 0.4), transparent 70%);
    animation: vx-breathe 14s var(--ease-in-out) infinite reverse;
}

@keyframes vx-breathe {
    0%, 100% { transform: translate3d(0, 0, 0) scale(1); opacity: 0.75; }
    50%      { transform: translate3d(-3%, 4%, 0) scale(1.12); opacity: 1; }
}

/* A slowly turning gold ring, the same motif as the login's 3-D orbit. */
.vx-orbit {
    position: absolute;
    right: 6vw;
    top: 50%;
    width: min(38vw, 520px);
    aspect-ratio: 1;
    translate: 0 -50%;
    border-radius: 50%;
    border: 1px solid rgba(212, 165, 60, 0.34);
    box-shadow: inset 0 0 90px rgba(212, 165, 60, 0.12);
    animation: vx-spin 48s linear infinite;
    pointer-events: none;
}

.vx-orbit::before,
.vx-orbit::after {
    content: '';
    position: absolute;
    inset: 12%;
    border-radius: 50%;
    border: 1px solid rgba(212, 165, 60, 0.22);
}

.vx-orbit::after { inset: 27%; border-color: rgba(212, 165, 60, 0.16); }

@keyframes vx-spin { to { rotate: 360deg; } }

@media (prefers-reduced-motion: reduce) {
    .hero-stage::before, .hero-stage::after, .vx-orbit { animation: none; }
}

@media (max-width: 860px) { .vx-orbit { display: none; } }


/* A stage with no footage yet. Rather than a tall empty rectangle, it reads
   as a slim marker carrying the caption; when a file lands in assets/video or
   assets/img the class is never applied and the stage opens to full height. */
.stage.is-empty {
    min-height: 0;
    height: auto;
    padding: 30px var(--gut) 26px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px 26px;
}

.stage.is-empty .stage-veil,
.stage.is-empty .stage-grade { display: none; }

.stage.is-empty .stage-tag {
    position: static;
    margin: 0;
}

.stage.is-empty .stage-cap {
    position: static;
    margin: 0;
    flex: 1 1 320px;
}


/* ── Calls to action ───────────────────────────────────────────────────────
   WhatsApp is this business's front door, so the WhatsApp button is the
   primary action on every page -- but a saturated green pill is the loudest
   thing on a pearl-and-gold page and it was the last piece of the old look.
   The button takes the brand's gold; the glyph and the floating badge keep
   WhatsApp's green so the affordance is still unmistakable. */
.btn-wa {
    background: var(--gold-cta);
    color: var(--navy);
    border: 0;
    box-shadow: 0 16px 34px -14px rgba(168, 116, 31, 0.75),
                inset 0 1px 0 rgba(255, 255, 255, 0.55);
}

.btn-wa:hover { filter: brightness(1.05); }
.btn-wa svg { color: #0B7A3B; }

.nav-act .btn-wa {
    background: #FFFFFF;
    color: var(--navy);
    border: 1px solid rgba(15, 29, 58, 0.14);
    box-shadow: 0 10px 24px -18px rgba(15, 29, 58, 0.5);
}

.nav-act .btn-wa:hover { border-color: var(--gold-2); filter: none; }

.cta-band .btn-wa { color: var(--navy); }

.wa-fab {
    background: var(--navy);
    color: #FFFFFF;
    border: 1px solid rgba(212, 165, 60, 0.55);
    box-shadow: 0 18px 40px -18px rgba(15, 29, 58, 0.7);
}

.wa-fab svg { color: #3DDC7F; }
.wa-fab .wa-fab-n { color: rgba(255, 255, 255, 0.92); }

/* The orbit is the only thing in the right half until footage lands there,
   so it has to carry that space on its own. */
.vx-orbit { border-color: rgba(212, 165, 60, 0.5); }
.vx-orbit::before { border-color: rgba(212, 165, 60, 0.34); }
.vx-orbit::after { border-color: rgba(212, 165, 60, 0.26); }


/* The hero's motion layer (assets/motion.js). It paints gold arcs, travelling
   pulses and a faint ink constellation over the pearl field; it never fills
   the frame, so the CSS gradient and the breathing lights stay visible
   underneath. A generated film dropped into the same stage sits above it. */
.vx-motion {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.hero-stage .vx-orbit { z-index: 1; }
.hero-stage video, .hero-stage img { position: relative; z-index: 2; }


/* ===========================================================================
   Service motifs — Bills · Internet · IPTV · Live TV · OTT
   ---------------------------------------------------------------------------
   Built motion rather than stock glyphs: paper feeding from a printer, a
   pulse running down a fibre, a channel grid stepping, a scanline crossing a
   live screen, posters sliding on a shelf. Inline SVG + CSS keyframes, so
   they stay sharp, cost nothing to load and stop under reduced motion.
   ======================================================================== */

.svc-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 18px;
    margin-top: 46px;
}

.svc {
    position: relative;
    overflow: hidden;
    padding: 0 0 26px;
    border-radius: var(--r);
    background: rgba(255, 255, 255, 0.74);
    border: 1px solid rgba(255, 255, 255, 0.9);
    box-shadow: 0 30px 70px -44px rgba(15, 29, 58, 0.45),
                inset 0 1px 0 rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}

.svc:hover { transform: translateY(-5px); }

/* Five services want one row, not four and a stray. */
@media (min-width: 1180px) { .svc-grid { grid-template-columns: repeat(5, 1fr); } }
@media (min-width: 720px) and (max-width: 1179px) { .svc-grid { grid-template-columns: repeat(3, 1fr); } }

.svc > h3, .svc > p, .svc > ul { padding-inline: 24px; }
.svc > h3 { margin-top: 20px; }

/* Each service owns an accent. The violets are the subscriber app's own
   gradient; the teal is the site's signal token. */
.svc-bills    { --svc: #D4A53C; }
.svc-internet { --svc: #11707E; }
.svc-iptv     { --svc: #3A4E8C; }
.svc-livetv   { --svc: #5B3FA0; }
.svc-ott      { --svc: #7A3A8C; }

.svc::before {
    content: '';
    position: absolute;
    inset: 0 0 auto 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--svc), transparent);
}

.svc-art {
    position: relative;
    display: grid;
    place-items: center;
    padding: 22px 16px 10px;
    background:
        radial-gradient(120% 120% at 50% 0%, color-mix(in srgb, var(--svc) 14%, transparent), transparent 70%);
}

.svc-svg { width: 100%; max-width: 230px; height: auto; overflow: visible; }

/* ── Bills: the bill feeds out, a rupee drops in, the printer blinks ────── */
.m-paper  { animation: m-feed 5.5s var(--ease-in-out) infinite; }
.m-coin   { animation: m-drop 5.5s var(--ease-in-out) infinite; transform-origin: 40px 40px; }

@keyframes m-feed {
    0%, 12%   { transform: translateY(58px); }
    40%, 88%  { transform: translateY(0); }
    100%      { transform: translateY(58px); }
}

@keyframes m-drop {
    0%, 8%    { transform: translate(0, -46px) scale(.7); opacity: 0; }
    26%       { transform: translate(0, 0) scale(1); opacity: 1; }
    64%       { transform: translate(0, 0) scale(1); opacity: 1; }
    80%, 100% { transform: translate(44px, 26px) scale(.6); opacity: 0; }
}

/* ── Internet: arcs breathe outward, a pulse runs the fibre ─────────────── */
.m-arc { transform-origin: 110px 66px; animation: m-emit 2.6s var(--ease-in-out) infinite; }
.m-arc-2 { animation-delay: .22s; }
.m-arc-3 { animation-delay: .44s; }

@keyframes m-emit {
    0%   { opacity: 0; transform: scale(.72); }
    35%  { opacity: 1; }
    100% { opacity: 0; transform: scale(1.12); }
}

.m-run { animation: m-fibre 3.4s linear infinite; }

@keyframes m-fibre {
    0%   { transform: translateX(0); opacity: 0; }
    10%  { opacity: 1; }
    90%  { opacity: 1; }
    100% { transform: translateX(184px); opacity: 0; }
}

/* ── IPTV: the selection steps across the channel grid ──────────────────── */
.m-cell { animation: m-step 6s steps(1, end) infinite; }

@keyframes m-step {
    0%   { transform: translate(0, 0); }
    17%  { transform: translate(44px, 0); }
    34%  { transform: translate(88px, 0); }
    50%  { transform: translate(88px, 30px); }
    67%  { transform: translate(44px, 30px); }
    84%  { transform: translate(0, 30px); }
    100% { transform: translate(0, 0); }
}

/* ── Live TV: a scanline crosses, the LIVE dot beats, the guide refreshes ─ */
.m-scan { animation: m-sweep 4.2s linear infinite; }

@keyframes m-sweep {
    0%   { transform: translateY(0); opacity: 0; }
    12%  { opacity: 1; }
    88%  { opacity: 1; }
    100% { transform: translateY(58px); opacity: 0; }
}

.m-live { animation: m-beat 1.5s var(--ease-in-out) infinite; }

@keyframes m-beat {
    0%, 100% { opacity: 1; }
    50%      { opacity: .25; }
}

.m-epg rect { animation: m-epg 5s var(--ease-in-out) infinite; transform-origin: 52px 0; }
.m-epg rect:nth-child(2) { animation-delay: .5s; }
.m-epg rect:nth-child(3) { animation-delay: 1s; }

@keyframes m-epg {
    0%, 100% { transform: scaleX(1); }
    50%      { transform: scaleX(.72); }
}

/* ── OTT: the shelf slides, the play button lands ───────────────────────── */
.m-shelf { animation: m-slide 9s var(--ease-in-out) infinite; }

@keyframes m-slide {
    0%, 14%   { transform: translateX(0); }
    33%, 47%  { transform: translateX(-56px); }
    66%, 80%  { transform: translateX(-112px); }
    100%      { transform: translateX(0); }
}

.m-play { animation: m-land 9s var(--ease-in-out) infinite; transform-origin: 110px 62px; }

@keyframes m-land {
    0%, 10%   { opacity: 0; transform: scale(.72); }
    22%, 88%  { opacity: 1; transform: scale(1); }
    100%      { opacity: 0; transform: scale(.72); }
}

/* ── Shared ─────────────────────────────────────────────────────────────── */
.m-led { animation: m-blink 2.2s steps(1, end) infinite; }
.m-led-b { animation-delay: .7s; }

@keyframes m-blink {
    0%, 55%  { opacity: 1; }
    56%, 100%{ opacity: .22; }
}

@media (prefers-reduced-motion: reduce) {
    .svc-art * { animation: none !important; }
    .m-paper { transform: translateY(0); }
    .m-coin, .m-play { opacity: 1; transform: none; }
}


/* ===========================================================================
   Background motion, the whole way down
   ---------------------------------------------------------------------------
   Every band carries a slow aurora: two large soft gold lights drifting
   behind the content. It is one composited pseudo-element per band with no
   script behind it, so it costs nothing and it keeps the page alive between
   the hero and the footer instead of leaving flat pearl.
   ======================================================================== */

.band { isolation: isolate; }

.band::before {
    content: '';
    position: absolute;
    inset: -10% -5%;
    z-index: -1;
    pointer-events: none;
    background:
        radial-gradient(38% 46% at 12% 22%, rgba(246, 210, 122, 0.30), transparent 70%),
        radial-gradient(34% 40% at 88% 78%, rgba(212, 165, 60, 0.22), transparent 72%);
    filter: blur(40px);
    animation: vx-drift 26s var(--ease-in-out) infinite;
    will-change: transform;
}

.band:nth-of-type(even)::before {
    background:
        radial-gradient(36% 44% at 84% 18%, rgba(212, 165, 60, 0.26), transparent 70%),
        radial-gradient(32% 38% at 16% 82%, rgba(17, 112, 126, 0.16), transparent 72%);
    animation-duration: 34s;
    animation-direction: reverse;
}

@keyframes vx-drift {
    0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
    50%      { transform: translate3d(2.5%, -2%, 0) scale(1.08); }
}

/* The navy anchor bands keep their own light. */
.cta-band::before, .foot::before { display: none; }

@media (prefers-reduced-motion: reduce) { .band::before { animation: none; } }


/* ── A photograph behind each service motif ────────────────────────────────
   The SVG motif is the icon and the moving part; the photograph underneath is
   the subject. The card still reads if the photograph has not been rendered
   yet, so the set can land one file at a time. */
.svc-art {
    position: relative;
    isolation: isolate;
    min-height: 150px;
    overflow: hidden;
}

.svc-photo {
    position: absolute;
    inset: 0;
    z-index: -1;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transform: scale(1.06);
    transition: opacity 1.1s var(--ease), transform 9s linear;
    filter: saturate(0.88) contrast(1.05);
}

/* Only shown once it has actually loaded -- a missing file leaves the motif
   on the tinted wash rather than an empty hole. */
.svc-photo.is-live { opacity: 0.5; }
.svc:hover .svc-photo.is-live { opacity: 0.72; transform: scale(1.12); }

/* Keep the motif readable over the photograph. */
.svc-art::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(180deg,
        color-mix(in srgb, var(--svc) 34%, transparent) 0%,
        rgba(255, 255, 255, 0.62) 58%,
        rgba(255, 255, 255, 0.92) 100%);
}

.svc-svg { position: relative; z-index: 1; }

@media (prefers-reduced-motion: reduce) {
    .svc-photo, .svc:hover .svc-photo.is-live { transform: none; transition: opacity .2s; }
}
