/* Utrovia corporate website - the one stylesheet.
   Colours and fonts are the variables in :root; change them there. Sections are in page order. */

:root {
    --ink: #07111d;            /* darkest background (hero, footer) */
    --navy: #0d2033;           /* dark bands */
    --navy-2: #13304b;
    --brand: #2e5576;          /* Utrovia blue (the products' primary) */
    --brand-2: #538fb1;        /* Utrovia secondary blue */
    --accent: #ffd36e;         /* Utrovia gold: calls to action and highlights on dark */
    --portal: #4fb8e6;         /* Nexa Portal's colour */
    --author: #895cf6;         /* Nexa Author's colour */
    --crm: #2fae6b;            /* Nexa CRM's colour */
    --conference: #f97519;     /* Nexa Conference's colour */
    --accent-2: var(--author);
    --mint: #2fcf95;
    --amber: #f5b544;
    --rose: #ff7185;

    --text: #0f1c2b;
    --muted: #586a7e;
    --line: #e2e8f0;
    --soft: #f3f6fa;
    --white: #ffffff;
    --on-dark: #dbe6f2;
    --on-dark-muted: #93a8bf;

    --grad: linear-gradient(100deg, #ffe39c 0%, var(--accent) 45%, #f7a94b 100%);
    --grad-products: linear-gradient(90deg, var(--author), var(--portal));

    --font-head: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

    --radius: 18px;
    --radius-sm: 10px;
    --shadow: 0 1px 2px rgba(7, 17, 29, .06), 0 12px 32px -12px rgba(7, 17, 29, .18);
    --shadow-lg: 0 2px 4px rgba(7, 17, 29, .08), 0 40px 80px -30px rgba(7, 17, 29, .45);
    --wrap: 1200px;
    --header-h: 72px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    margin: 0;
    font-family: var(--font-body);
    font-size: 17px;
    line-height: 1.65;
    color: var(--text);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
.ic { display: inline-grid; place-items: center; line-height: 1; flex: none; font-style: normal; }
.ic::before { line-height: 1; }
img { height: auto; }
a { color: var(--brand); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--brand-2); }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.12; letter-spacing: -.015em; margin: 0 0 .5em; color: inherit; }
h1 { font-size: clamp(2.5rem, 5.6vw, 4.6rem); font-weight: 800; letter-spacing: -.025em; }
h2 { font-size: clamp(2rem, 3.6vw, 3rem); font-weight: 800; }
h3 { font-size: 1.3rem; font-weight: 700; letter-spacing: -.01em; }
h4 { font-size: 1.05rem; font-weight: 700; letter-spacing: 0; }
p { margin: 0 0 1em; }
ul { padding-left: 1.2em; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
.skip-link { position: absolute; left: -999px; top: 8px; z-index: 200; background: var(--white); padding: 8px 14px; border-radius: 8px; }
.skip-link:focus { left: 8px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.section { padding: clamp(72px, 10vw, 128px) 0; position: relative; }
.section--soft { background: var(--soft); }
.section--dark { background: var(--navy); color: var(--on-dark); }
.section--dark h2, .section--dark h3 { color: var(--white); }
.section--tight { padding: clamp(48px, 6vw, 80px) 0; }

.eyebrow {
    display: inline-flex; align-items: center; gap: 10px;
    font-family: var(--font-head); font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
    color: var(--brand); margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--accent); border-radius: 2px; }
.section--dark .eyebrow, .hero .eyebrow, .page-hero .eyebrow { color: var(--accent); }
.lead { font-size: clamp(1.08rem, 1.5vw, 1.25rem); color: var(--muted); max-width: 46em; }
.section--dark .lead { color: var(--on-dark-muted); }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }
.section-head { max-width: 760px; margin-bottom: clamp(40px, 6vw, 64px); }
.section-head.center { margin-left: auto; margin-right: auto; }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    font-family: var(--font-head); font-weight: 700; font-size: .98rem; line-height: 1;
    padding: 16px 26px; border-radius: 999px; border: 1.5px solid transparent;
    text-decoration: none; cursor: pointer; transition: transform .2s, box-shadow .2s, background .2s, color .2s, border-color .2s;
    white-space: nowrap;
}
.btn .ic { font-size: 16px; width: 18px; height: 18px; transition: transform .2s; }
.btn:hover .ic { transform: translateX(3px); }
.btn--primary { background: var(--grad); color: var(--ink); box-shadow: 0 10px 30px -10px rgba(255, 211, 110, .55); }
.btn--primary:hover { color: var(--ink); transform: translateY(-2px); box-shadow: 0 16px 36px -12px rgba(255, 211, 110, .7); }
.btn--dark { background: var(--ink); color: var(--white); }
.btn--dark:hover { color: var(--white); background: var(--navy-2); transform: translateY(-2px); }
.btn--ghost { border-color: rgba(255, 255, 255, .28); color: var(--white); background: rgba(255, 255, 255, .04); }
.btn--ghost:hover { color: var(--white); border-color: rgba(255, 255, 255, .6); background: rgba(255, 255, 255, .08); }
.btn--outline { border-color: var(--line); color: var(--text); background: var(--white); }
.btn--outline:hover { color: var(--text); border-color: var(--brand); }
.btn--sm { padding: 11px 18px; font-size: .9rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-head); font-weight: 700; text-decoration: none; }
.link-arrow .ic { font-size: 16px; width: 18px; height: 18px; transition: transform .2s; }
.link-arrow:hover .ic { transform: translateX(4px); }

/* ---------- Header ---------- */
.site-header {
    position: sticky; top: 0; z-index: 100; height: var(--header-h);
    background: rgba(46, 85, 118, .94); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px);
    border-bottom: 1px solid rgba(255, 255, 255, .1);
    transition: background .3s;
}
.site-header.is-scrolled { background: rgba(46, 85, 118, .98); box-shadow: 0 6px 24px -12px rgba(7, 17, 29, .6); }
.site-header .wrap { height: 100%; display: flex; align-items: center; gap: 28px; max-width: 1320px; }
.logo { display: block; flex: none; }
.logo img { height: 34px; width: auto; }
.nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav > a, .nav-group > button {
    font-family: var(--font-head); font-weight: 600; font-size: .95rem; color: var(--on-dark); text-decoration: none;
    padding: 10px 14px; border-radius: 10px; background: none; border: 0; cursor: pointer; display: inline-flex; align-items: center; gap: 6px;
}
.nav > a:hover, .nav-group > button:hover, .nav-group:focus-within > button { color: var(--white); background: rgba(255, 255, 255, .06); }
.nav > a[aria-current="page"], .nav-group.is-current > button { color: var(--white); }
.nav > a[aria-current="page"]::after { content: ""; display: block; height: 2px; background: var(--grad); border-radius: 2px; position: relative; top: 14px; margin-top: -2px; }
.nav-group { position: relative; }
.nav-group > button .ic { font-size: 12px; width: 14px; height: 14px; transition: transform .2s; }
.nav-group:hover > button .ic, .nav-group:focus-within > button .ic { transform: rotate(180deg); }
.nav-menu {
    position: absolute; top: calc(100% + 8px); left: 50%; transform: translate(-50%, 6px); width: 660px; display: grid; grid-template-columns: 1fr 1fr; gap: 2px;
    background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: 10px;
    opacity: 0; visibility: hidden; transition: opacity .2s, transform .2s, visibility .2s;
}
.nav-menu::before { content: ""; position: absolute; top: -12px; left: 0; right: 0; height: 12px; }
.nav-group:hover .nav-menu, .nav-group:focus-within .nav-menu { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.nav-menu a { display: flex; gap: 14px; padding: 14px; border-radius: 12px; text-decoration: none; color: var(--text); }
.nav-menu a:hover { background: var(--soft); color: var(--text); }
.nav-menu strong { display: block; font-family: var(--font-head); font-size: 1rem; }
.nav-menu span { display: block; font-size: .88rem; color: var(--muted); line-height: 1.45; }
.nav-menu .p-icon { display: grid; color: var(--white); font-size: inherit; }
.header-actions { display: flex; align-items: center; gap: 10px; }
.header-actions .btn--ghost { padding: 11px 18px; font-size: .9rem; }
.menu-toggle { display: none; margin-left: auto; width: 44px; height: 44px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, .16); background: none; color: var(--white); cursor: pointer; align-items: center; justify-content: center; }
.menu-toggle .ic { font-size: 20px; width: 22px; height: 22px; }

/* product badge used in menus and cards */
.p-icon { flex: none; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; color: var(--white); }
.p-icon .ic { font-size: 20px; width: 22px; height: 22px; }
.p-icon--author { background: linear-gradient(135deg, #a07bff, #6a3fe0); }
.p-icon--portal { background: linear-gradient(135deg, #4fb8e6, #2e5576); }
.p-icon--crm { background: linear-gradient(135deg, #53c98a, #1d7f4c); }
.p-icon--conference { background: linear-gradient(135deg, #ffa25c, #e0560c); }

/* phone menu */
.mobile-nav {
    position: fixed; inset: var(--header-h) 0 0 0; z-index: 99; background: var(--brand); padding: 24px;
    display: flex; flex-direction: column; gap: 4px; overflow-y: auto;
    transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .2s, transform .2s, visibility .2s;
}
.mobile-nav.is-open { transform: none; opacity: 1; visibility: visible; }
.mobile-nav a { color: var(--white); text-decoration: none; font-family: var(--font-head); font-weight: 600; font-size: 1.25rem; padding: 14px 4px; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.mobile-nav a small { display: block; font-family: var(--font-body); font-weight: 400; font-size: .9rem; color: rgba(255, 255, 255, .7); }
.mobile-nav .btn-row { margin-top: 24px; }
.mobile-nav .btn { flex: 1; border-bottom: 1.5px solid transparent; font-size: 1rem; padding: 16px; }
.mobile-nav .btn--ghost { border-color: rgba(255, 255, 255, .28); }
body.menu-open { overflow: hidden; }

@media (max-width: 1040px) {
    .nav, .header-actions { display: none; }
    .menu-toggle { display: inline-flex; }
}

/* ---------- Hero (home) ---------- */
.hero {
    position: relative; overflow: hidden; color: var(--on-dark); background: var(--ink);
    margin-top: calc(-1 * var(--header-h)); padding: calc(var(--header-h) + clamp(56px, 8vw, 104px)) 0 clamp(72px, 9vw, 120px);
}
.hero::before { /* the light: two soft colour fields */
    content: ""; position: absolute; inset: -20% -10% auto -10%; height: 140%;
    background:
        radial-gradient(42% 38% at 78% 30%, rgba(137, 92, 246, .38), transparent 70%),
        radial-gradient(40% 40% at 62% 70%, rgba(79, 184, 230, .30), transparent 70%),
        radial-gradient(30% 30% at 10% 10%, rgba(46, 85, 118, .75), transparent 70%);
    animation: drift 18s ease-in-out infinite alternate;
    pointer-events: none;
}
.hero::after { /* the fine grid */
    content: ""; position: absolute; inset: 0;
    background-image: linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
    background-size: 56px 56px;
    -webkit-mask-image: radial-gradient(70% 70% at 50% 40%, #000 30%, transparent 80%); mask-image: radial-gradient(70% 70% at 50% 40%, #000 30%, transparent 80%);
    pointer-events: none;
}
@keyframes drift { from { transform: translate3d(0, 0, 0) scale(1); } to { transform: translate3d(-4%, 3%, 0) scale(1.08); } }
.hero .wrap { position: relative; z-index: 1; display: grid; grid-template-columns: 1.02fr 1fr; gap: 56px; align-items: center; max-width: 1280px; }
.hero h1 { color: var(--white); margin-bottom: 24px; font-size: clamp(2.4rem, 5vw, 4.2rem); }
.hero .lead { color: var(--on-dark-muted); margin-bottom: 36px; font-size: clamp(1.1rem, 1.6vw, 1.3rem); }
.hero-points { display: flex; flex-wrap: wrap; gap: 10px 22px; margin: 36px 0 0; padding: 0; list-style: none; font-size: .95rem; color: var(--on-dark); }
.hero-points li { display: inline-flex; align-items: center; gap: 8px; }
.hero-points .ic { font-size: 16px; width: 18px; height: 18px; color: var(--mint); }
.rotator { display: inline-grid; vertical-align: bottom; }
.rotator > span { grid-area: 1 / 1; opacity: 0; transform: translateY(.35em); transition: opacity .5s, transform .5s; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.rotator > span.is-on { opacity: 1; transform: none; }
.no-js .rotator > span:first-child { opacity: 1; transform: none; }

/* the hero's product collage */
.stage { position: relative; height: 540px; perspective: 1600px; }
.stage .ui { position: absolute; }
.stage .ui--main { inset: 30px 0 auto 40px; width: calc(100% - 40px); transform: rotateY(-9deg) rotateX(4deg); transform-origin: left center; }
.stage .ui--side { width: 290px; left: -10px; bottom: 10px; z-index: 2; animation: float 7s ease-in-out infinite; }
.stage .chip-float { position: absolute; z-index: 3; animation: float 6s ease-in-out infinite; }
.stage .chip-float--1 { top: -18px; right: -6px; animation-delay: -2s; }
.stage .chip-float--2 { right: -8px; bottom: 120px; animation-delay: -4s; }
.stage .chip-float--3 { left: -24px; top: 132px; animation-delay: -1s; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@media (max-width: 1040px) {
    .hero .wrap { grid-template-columns: 1fr; }
    .stage { height: 500px; max-width: 640px; }
}
@media (max-width: 600px) {
    .stage { height: 380px; }
    .stage .ui--main { left: 0; width: 100%; transform: none; }
    .stage .ui--side { display: none; }
    .stage .chip-float--2, .stage .chip-float--3 { display: none; }
}

/* ---------- Product UI mock-ups (pure CSS, illustrative) ---------- */
.ui {
    background: var(--white); color: var(--text); border-radius: 16px; box-shadow: var(--shadow-lg); overflow: hidden;
    font-size: 12px; line-height: 1.4; border: 1px solid rgba(255, 255, 255, .5);
}
.ui-bar { display: flex; align-items: center; gap: 8px; padding: 10px 14px; background: var(--brand); color: #fff; }
.ui-bar .dots { display: flex; gap: 5px; }
.ui-bar .dots i { width: 9px; height: 9px; border-radius: 50%; background: rgba(255, 255, 255, .35); display: block; }
.ui-bar .ui-brand { font-family: var(--font-head); font-weight: 800; letter-spacing: .12em; font-size: 11px; margin-left: 6px; }
.ui-bar .ui-tabs { display: flex; gap: 12px; margin-left: auto; font-size: 11px; color: rgba(255, 255, 255, .75); }
.ui-bar .ui-tabs b { color: #fff; font-weight: 600; border-bottom: 2px solid var(--accent); padding-bottom: 2px; }
.ui-body { padding: 16px; }
.ui-greet { background: #eef4ff; border-radius: 12px; padding: 12px 14px; display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 12px; }
.ui-greet strong { font-family: var(--font-head); font-size: 15px; display: block; }
.ui-greet small { color: var(--muted); font-size: 11px; }
.ui-stats { display: flex; gap: 16px; text-align: center; }
.ui-stats b { font-family: var(--font-head); font-size: 16px; color: var(--brand); display: block; }
.ui-stats span { font-size: 9px; letter-spacing: .08em; color: var(--muted); text-transform: uppercase; }
.ui-lead { display: grid; grid-template-columns: 110px 1fr; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; margin-bottom: 12px; }
.ui-lead .tick { background: #e3f8ee; padding: 12px; display: flex; flex-direction: column; justify-content: space-between; }
.ui-lead .tick b { font-family: var(--font-head); font-size: 15px; color: #13804f; }
.ui-lead .tick .sub { font-size: 10px; color: #13804f; }
.ui-lead .story { padding: 12px 14px; }
.ui-lead .story .kicker { color: #e07a1f; font-size: 9px; font-weight: 700; letter-spacing: .08em; }
.ui-lead .story strong { font-family: var(--font-head); font-size: 14px; display: block; margin: 4px 0 8px; }
.ui-pills { display: flex; flex-wrap: wrap; gap: 6px; }
.pill { display: inline-flex; align-items: center; gap: 5px; border-radius: 999px; padding: 4px 10px; font-size: 10.5px; font-weight: 600; background: #f0f3f7; color: #34495e; white-space: nowrap; }
.pill .ic { font-size: 10px; width: 12px; height: 12px; }
.pill--dark { background: var(--brand); color: #fff; }
.pill--violet { background: #efeaff; color: #5b47d6; }
.pill--mint { background: #e3f8ee; color: #13804f; }
.pill--amber { background: #fff3dc; color: #9a6206; }
.pill--cyan { background: #e2f7fc; color: #0b7f98; }
.ui-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.ui-card { border: 1px solid var(--line); border-left: 3px solid var(--mint); border-radius: 10px; padding: 9px 10px; }
.ui-card:nth-child(2) { border-left-color: var(--amber); }
.ui-card:nth-child(3) { border-left-color: var(--accent-2); }
.ui-card small { font-size: 9px; color: var(--muted); font-weight: 700; letter-spacing: .04em; }
.ui-card b { display: block; font-family: var(--font-head); font-size: 11px; margin: 3px 0 7px; }
.ui-line { height: 6px; border-radius: 4px; background: #e8edf3; margin-bottom: 5px; }
.ui-line.w80 { width: 80%; } .ui-line.w60 { width: 60%; } .ui-line.w40 { width: 40%; }

/* editor mock (Nexa Author) */
.ui--editor .ui-bar { background: #3b2a7a; }
.ui-editor { display: grid; grid-template-columns: 120px 1fr; min-height: 230px; }
.ui-sections { background: #f6f5ff; padding: 12px 10px; border-right: 1px solid var(--line); }
.ui-sections div { font-size: 10.5px; padding: 6px 8px; border-radius: 7px; margin-bottom: 4px; display: flex; justify-content: space-between; align-items: center; gap: 4px; }
.ui-sections div.on { background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .08); font-weight: 600; }
.ui-sections i { width: 7px; height: 7px; border-radius: 50%; background: var(--mint); flex: none; }
.ui-sections i.wip { background: var(--amber); }
.ui-sections i.todo { background: #cfd6df; }
.ui-page { padding: 14px 16px; }
.ui-page h5 { font-family: var(--font-head); font-size: 14px; margin: 0 0 8px; color: #2b2163; }
.ui-ai { margin-top: 12px; border: 1px dashed #b9adff; background: #f8f6ff; border-radius: 10px; padding: 10px; font-size: 10.5px; color: #4a3bb5; display: flex; gap: 8px; align-items: flex-start; }
.ui-ai .ic { font-size: 12px; width: 14px; height: 14px; flex: none; margin-top: 1px; }
.ui-flow { display: flex; gap: 6px; align-items: center; padding: 10px 14px; border-top: 1px solid var(--line); font-size: 10px; flex-wrap: wrap; }
.ui-flow .step { padding: 4px 9px; border-radius: 999px; background: #f0f3f7; font-weight: 600; }
.ui-flow .step.done { background: #e3f8ee; color: #13804f; }
.ui-flow .step.now { background: #2b2163; color: #fff; }
.ui-flow .sep { color: #b3bfcc; }

.ui-mini-table { display: grid; grid-template-columns: 1.3fr repeat(3, 1fr); gap: 0; margin: 10px 0 4px; font-size: 10px; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.ui-mini-table span { padding: 4px 7px; border-bottom: 1px solid var(--line); text-align: right; }
.ui-mini-table span:nth-child(4n+1) { text-align: left; color: var(--muted); }
.ui-mini-table span:nth-child(-n+4) { background: #f6f5ff; font-weight: 700; color: #3b2a7a; }
.ui-mini-table span:nth-last-child(-n+4) { border-bottom: 0; }

/* Ask assistant mock */
.ui-chat { font-size: 13.5px; max-width: 520px; margin-left: auto; }
.ui-chat .ui-body { display: grid; gap: 10px; background: #fbfaff; }
.msg { background: var(--white); border: 1px solid var(--line); border-radius: 14px 14px 14px 4px; padding: 10px 13px; max-width: 88%; }
.msg--me { justify-self: end; background: #3b2a7a; color: var(--white); border-color: transparent; border-radius: 14px 14px 4px 14px; }
.msg--card { border: 1.5px solid #c9bcff; background: #f6f3ff; }
.msg--card b { display: block; font-family: var(--font-head); }
.msg--card > span { color: var(--muted); font-size: 12px; }
.ui-input { display: flex; align-items: center; gap: 8px; border: 1px solid var(--line); border-radius: 999px; padding: 9px 14px; color: var(--muted); background: var(--white); margin-top: 4px; }
.ui-input .ic { font-size: 14px; width: 16px; height: 16px; color: var(--author); }

.msg .cite { display: inline-grid; place-items: center; min-width: 17px; height: 17px; padding: 0 4px; border-radius: 6px; background: #e2f7fc; color: #0b7f98; font-size: 10px; font-weight: 800; vertical-align: 1px; }
.msg .sources { display: grid; gap: 4px; margin-top: 10px; padding-top: 9px; border-top: 1px solid var(--line); font-size: 11.5px; color: var(--muted); }
.msg .sources b { display: inline-grid; place-items: center; width: 17px; height: 17px; margin-right: 6px; border-radius: 6px; background: #e2f7fc; color: #0b7f98; font-size: 10px; }

/* workflow diagram */
.wf { display: grid; gap: 12px; }
.wf-fork { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; position: relative; }
.wf-stage { display: grid; grid-template-columns: 40px 1fr; grid-template-rows: auto auto; column-gap: 12px; align-items: center; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); border-radius: 14px; padding: 14px; color: var(--white); }
.wf-stage > span { grid-row: span 2; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: rgba(255, 255, 255, .08); }
.wf-stage > span .ic { font-size: 18px; width: 20px; height: 20px; }
.wf-stage b { font-family: var(--font-head); }
.wf-stage small { color: var(--on-dark-muted); font-size: .82rem; }
.wf-stage.done > span { background: rgba(47, 207, 149, .18); color: var(--mint); }
.wf-stage.now { border-color: rgba(255, 211, 110, .6); box-shadow: 0 0 0 4px rgba(255, 211, 110, .1); }
.wf-stage.now > span { background: rgba(255, 211, 110, .16); color: var(--accent); }
.panel-note { color: var(--on-dark-muted); font-size: .9rem; margin: 18px 0 0; }
@media (max-width: 480px) { .wf-fork { grid-template-columns: 1fr; } }

/* site designer mock (Nexa Portal) */
.designer { display: grid; grid-template-columns: 190px 1fr; gap: 16px; color: var(--white); font-size: .85rem; }
.designer-side { display: flex; flex-direction: column; gap: 8px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); border-radius: 14px; padding: 14px; }
.designer-side b { font-family: var(--font-head); font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: var(--on-dark-muted); margin-top: 4px; }
.swatches { display: flex; gap: 6px; }
.swatches i { width: 24px; height: 24px; border-radius: 7px; border: 1px solid rgba(255, 255, 255, .25); }
.field-mock { background: rgba(255, 255, 255, .08); border-radius: 8px; padding: 7px 10px; display: flex; align-items: center; gap: 6px; }
.field-mock.assist { background: rgba(137, 92, 246, .25); color: #e3dbff; }
.field-mock .ic { font-size: 12px; width: 14px; height: 14px; }
.designer-side .pill { align-self: flex-start; }
.designer-preview { position: relative; min-height: 250px; }
.device { position: absolute; background: var(--white); border-radius: 12px; padding: 0 12px 12px; box-shadow: var(--shadow-lg); overflow: hidden; }
.device > i { display: block; height: 22px; margin: 0 -12px 12px; background: var(--brand); }
.device--desk { inset: 0 40px 30px 0; }
.device--phone { width: 110px; right: 0; bottom: 0; height: 200px; border-radius: 18px; border: 4px solid #0b1726; }
.device .blocks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 12px; }
.device--phone .blocks { grid-template-columns: 1fr; }
.device .blocks span { height: 58px; border-radius: 8px; background: linear-gradient(135deg, #eef4ff, #e2f7fc); border-left: 3px solid var(--accent); }
.device--phone .blocks span { height: 44px; }
@media (max-width: 520px) { .designer { grid-template-columns: 1fr; } }

/* read / listen / watch player mock */
.player { max-width: 560px; margin-left: auto; font-size: 13px; }
.player-head { padding: 16px 18px; border-bottom: 1px solid var(--line); display: grid; gap: 10px; }
.player-head small { color: var(--muted); font-size: 10.5px; font-weight: 700; letter-spacing: .06em; }
.player-head strong { display: block; font-family: var(--font-head); font-size: 16px; }
.player-body { padding: 18px; }
.wave { display: flex; align-items: center; gap: 4px; height: 70px; }
.wave i { flex: 1; height: var(--h); border-radius: 4px; background: linear-gradient(180deg, var(--author), #c4b3ff); }
.wave i:nth-child(n+10) { background: #e4e8ef; }
.player-controls { display: flex; align-items: center; gap: 12px; margin: 14px 0; color: var(--muted); font-size: 12px; }
.player-controls .play { width: 38px; height: 38px; border-radius: 50%; background: var(--author); color: var(--white); display: grid; place-items: center; }
.player-controls .play .ic { font-size: 14px; width: 16px; height: 16px; }
.transcript { margin: 0; font-size: 13px; color: #33465a; line-height: 1.6; background: var(--soft); border-radius: 10px; padding: 12px 14px; }
.transcript mark { background: #efeaff; color: #3b2a7a; border-radius: 4px; padding: 1px 2px; }

/* launch steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.stepcard { background: var(--white); border-radius: var(--radius); padding: 28px; border: 1px solid var(--line); position: relative; }
.stepcard > span { font-family: var(--font-head); font-weight: 800; font-size: .85rem; color: var(--ink); background: var(--accent); border-radius: 999px; padding: 5px 11px; display: inline-block; margin-bottom: 18px; }
.stepcard h3 { font-size: 1.15rem; }
.stepcard p { color: var(--muted); font-size: .96rem; margin: 0; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

/* Nexa CRM record mock */
.ui--crm .ui-bar { background: #1d6b45; }
.rec-head { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; flex-wrap: wrap; }
.rec-head .avatar { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(135deg, #53c98a, #1d7f4c); color: #fff; font-family: var(--font-head); font-weight: 800; font-size: 13px; }
.rec-head strong { display: block; font-family: var(--font-head); font-size: 15px; }
.rec-head small { color: var(--muted); font-size: 11px; }
.rec-kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-bottom: 12px; }
.rec-kpis > div { border: 1px solid var(--line); border-radius: 10px; padding: 9px 10px; }
.rec-kpis b { display: block; font-family: var(--font-head); font-size: 17px; color: #1d6b45; height: 22px; }
.rec-kpis span { font-size: 9.5px; color: var(--muted); }
.rec-kpis .strength { position: relative; height: 8px; margin: 7px 0 7px; border-radius: 999px; background: #e3f3ea; overflow: hidden; }
.rec-kpis .strength i { position: absolute; inset: 0 auto 0 0; width: var(--w); background: linear-gradient(90deg, #53c98a, #1d7f4c); border-radius: 999px; }
.rec-feed { display: grid; gap: 6px; }
.rec-feed > div { display: flex; align-items: center; gap: 8px; border: 1px solid var(--line); border-radius: 10px; padding: 7px 10px; font-size: 11.5px; font-weight: 600; }
.rec-feed small { margin-left: auto; color: var(--muted); font-weight: 400; white-space: nowrap; }
@media (max-width: 600px) { .rec-kpis { grid-template-columns: 1fr 1fr; } .rec-feed small { display: none; } }

/* deal pipeline mock */
.kanban { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.kanban .col { background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .09); border-radius: 14px; padding: 10px; display: grid; gap: 8px; align-content: start; min-height: 220px; }
.kanban .col > b { color: var(--white); font-family: var(--font-head); font-size: .85rem; display: flex; justify-content: space-between; }
.kanban .col > b span { color: var(--on-dark-muted); font-weight: 600; }
.kanban .deal { background: var(--white); border-radius: 10px; padding: 10px; border-left: 3px solid #53c98a; }
.kanban .deal.hot { border-left-color: var(--accent); }
.kanban .deal.won { border-left-color: var(--portal); box-shadow: 0 0 0 3px rgba(79, 184, 230, .25); }
.kanban .deal strong { display: block; font-family: var(--font-head); font-size: .85rem; color: var(--text); }
.kanban .deal small { color: var(--muted); font-size: .75rem; }
@media (max-width: 480px) { .kanban { grid-template-columns: 1fr; } .kanban .col { min-height: 0; } }

/* Nexa Conference schedule mock */
.ui--conf .ui-bar { background: #a8430a; }
.sched { display: grid; grid-template-columns: 46px repeat(3, 1fr); gap: 5px; font-size: 10.5px; }
.sched .h { font-family: var(--font-head); font-weight: 700; color: var(--muted); text-align: center; padding: 2px 0 4px; font-size: 10px; letter-spacing: .04em; }
.sched .t { color: var(--muted); font-weight: 600; padding-top: 8px; }
.sched .m { border-radius: 8px; padding: 7px 8px; font-weight: 700; min-height: 46px; line-height: 1.3; }
.sched .m small { display: block; font-weight: 500; font-size: 9.5px; opacity: .8; }
.sched .m0 { background: repeating-linear-gradient(135deg, #f6f8fb 0 6px, #eef2f6 6px 12px); }
.sched .m1 { background: #fff1e6; color: #a8430a; }
.sched .m2 { background: #e2f7fc; color: #0b6f86; }
.sched .m3 { background: #efeaff; color: #4a36b8; }
.panel--conf::before { background: radial-gradient(circle, rgba(249, 117, 25, .4), transparent 65%); }
.panel--conf .lane .bar i { background: linear-gradient(90deg, #ffb27a, var(--conference)); }

/* Companion phone mock */
.phone-mock { width: 280px; margin: 0 auto; border-radius: 40px; padding: 12px; background: #0b1726; box-shadow: var(--shadow-lg), 0 0 0 1px rgba(255, 255, 255, .1) inset; }
.phone-screen { border-radius: 30px; background: var(--white); overflow: hidden; color: var(--text); font-size: 12px; }
.ph-top { background: linear-gradient(135deg, #ff9a52, #c4500c); color: #fff; padding: 26px 18px 16px; }
.ph-top b { display: block; font-family: var(--font-head); font-size: 15px; }
.ph-top small { opacity: .85; }
.ph-item { display: flex; gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.ph-item > span { font-family: var(--font-head); font-weight: 700; color: var(--muted); min-width: 38px; }
.ph-item b { display: block; font-family: var(--font-head); }
.ph-item small { color: var(--muted); }
.ph-item.now { background: #fff6ee; box-shadow: inset 3px 0 0 var(--conference); }
.ph-note { margin: 12px 14px; padding: 9px 11px; border-radius: 10px; background: #efeaff; color: #4a36b8; font-weight: 600; display: flex; gap: 8px; align-items: center; }
.ph-note .ic { font-size: 13px; width: 14px; height: 14px; }
.ph-tabs { display: grid; grid-template-columns: repeat(4, 1fr); text-align: center; border-top: 1px solid var(--line); padding: 10px 0 14px; color: var(--muted); font-size: 10.5px; font-weight: 600; }
.ph-tabs .on { color: #c4500c; }

/* floating notification chip */
.chip-float {
    display: flex; align-items: center; gap: 10px; background: rgba(255, 255, 255, .96); color: var(--text);
    border-radius: 14px; padding: 10px 14px 10px 10px; box-shadow: var(--shadow-lg); font-size: 12.5px; line-height: 1.3;
}
.chip-float .p-icon { width: 34px; height: 34px; border-radius: 10px; }
.chip-float .p-icon .ic { font-size: 16px; width: 18px; height: 18px; }
.chip-float b { display: block; font-family: var(--font-head); font-size: 13px; }
.chip-float small { color: var(--muted); }
.p-icon--mint { background: linear-gradient(135deg, #2fcf95, #13a06e); }
.p-icon--amber { background: linear-gradient(135deg, #f5b544, #e07a1f); }

/* ---------- Audience strip ---------- */
.strip { background: var(--ink); color: var(--on-dark-muted); border-top: 1px solid rgba(255, 255, 255, .06); padding: 26px 0; }
.strip .wrap { display: flex; align-items: center; gap: 18px 40px; flex-wrap: wrap; justify-content: center; font-family: var(--font-head); font-weight: 600; font-size: .95rem; }
.strip .label { color: var(--on-dark-muted); font-weight: 500; font-size: .85rem; letter-spacing: .12em; text-transform: uppercase; }
.strip span.item { color: var(--white); display: inline-flex; align-items: center; gap: 10px; }
.strip span.item::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--grad); }

/* ---------- Product cards (home) ---------- */
.products { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.product-card {
    position: relative; border-radius: 26px; padding: clamp(28px, 4vw, 44px); overflow: hidden; isolation: isolate;
    background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow); display: flex; flex-direction: column;
    transition: transform .3s, box-shadow .3s;
}
.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.product-card::before { content: ""; position: absolute; z-index: -1; width: 420px; height: 420px; border-radius: 50%; right: -160px; top: -200px; filter: blur(10px); opacity: .5; }
.product-card--author::before { background: radial-gradient(circle, rgba(137, 92, 246, .35), transparent 65%); }
.product-card--portal::before { background: radial-gradient(circle, rgba(79, 184, 230, .35), transparent 65%); }
.product-card--crm::before { background: radial-gradient(circle, rgba(47, 174, 107, .3), transparent 65%); }
.product-card--conference::before { background: radial-gradient(circle, rgba(249, 117, 25, .28), transparent 65%); }
.product-card--crm .tagline, .product-card--crm .link-arrow { color: #1d7f4c; }
.product-card--conference .tagline, .product-card--conference .link-arrow { color: #c4500c; }
.product-card .p-icon { width: 56px; height: 56px; border-radius: 16px; margin-bottom: 22px; }
.product-card .p-icon .ic { font-size: 26px; width: 28px; height: 28px; }
.product-card h3 { font-size: 1.9rem; font-weight: 800; letter-spacing: -.02em; margin-bottom: 6px; }
.product-card .tagline { font-family: var(--font-head); font-weight: 600; color: var(--brand); margin-bottom: 16px; }
.product-card--author .tagline { color: #5b47d6; }
.product-card ul { list-style: none; padding: 0; margin: 6px 0 28px; display: grid; gap: 10px; }
.product-card li { display: flex; gap: 12px; align-items: flex-start; }
.product-card li .ic { font-size: 18px; width: 20px; height: 20px; flex: none; margin-top: 3px; color: var(--mint); }
.product-card .link-arrow { margin-top: auto; }
.product-card--author .link-arrow { color: #5b47d6; }
.platform-card { grid-column: 1 / -1; border-radius: 26px; overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--line); display: grid; }
.platform-card .layer { display: flex; align-items: center; gap: 22px; padding: 28px clamp(28px, 4vw, 44px); }
.platform-card .layer h3 { font-size: 1.5rem; font-weight: 800; margin: 0 0 6px; }
.platform-card .layer p { margin: 0; max-width: 62em; }
.platform-card .layer .p-icon { width: 56px; height: 56px; border-radius: 16px; }
.platform-card .layer .p-icon .ic { font-size: 26px; width: 28px; height: 28px; }
.layer--admin { background: linear-gradient(100deg, #f4f7fb, #ffffff); }
.layer--admin p { color: var(--muted); }
.layer--core { background: linear-gradient(100deg, var(--brand), #1b3a55); color: var(--white); }
.layer--core h3 { color: var(--white); }
.layer--core p { color: rgba(255, 255, 255, .8); }
.p-icon--admin { background: linear-gradient(135deg, #ffe39c, #f7a94b); color: var(--ink); }
.p-icon--core { background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .3); }
@media (max-width: 600px) { .platform-card .layer { flex-direction: column; align-items: flex-start; } }
@media (max-width: 900px) { .products { grid-template-columns: 1fr; } }

/* ---------- The loop (how the two products work together) ---------- */
.loop { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; position: relative; counter-reset: step; }
.loop::before {
    content: ""; position: absolute; top: 38px; left: 8%; right: 8%; height: 2px;
    background: linear-gradient(90deg, rgba(137, 92, 246, .9), rgba(79, 184, 230, .9), rgba(137, 92, 246, .9));
    background-size: 200% 100%; animation: flow 4s linear infinite;
}
@keyframes flow { from { background-position: 0 0; } to { background-position: -200% 0; } }
.loop-step { position: relative; text-align: center; padding: 0 6px; }
.loop-step .node {
    width: 76px; height: 76px; border-radius: 22px; margin: 0 auto 20px; display: grid; place-items: center; position: relative;
    background: var(--navy-2); border: 1px solid rgba(255, 255, 255, .12); color: var(--white); box-shadow: 0 0 0 8px var(--navy);
}
.loop-step .node .ic { font-size: 28px; width: 30px; height: 30px; }
.loop-step .node::after {
    counter-increment: step; content: counter(step, decimal-leading-zero); position: absolute; top: -10px; right: -12px;
    font-family: var(--font-head); font-size: 11px; font-weight: 800; color: var(--ink); background: var(--grad); border-radius: 999px; padding: 3px 7px;
}
.loop-step h3 { font-size: 1.1rem; margin-bottom: 8px; transition: color .4s; }
.loop-step .node { transition: transform .45s, border-color .45s, box-shadow .45s; }
.loop-step.is-active .node { transform: translateY(-5px); border-color: rgba(255, 211, 110, .85); box-shadow: 0 0 0 8px var(--navy), 0 0 0 10px rgba(255, 211, 110, .35), 0 0 36px rgba(255, 211, 110, .4); }
.loop-step.is-active h3 { color: var(--accent); }
.loop-again { text-align: center; margin: 40px 0 0; color: var(--on-dark-muted); font-size: .95rem; display: flex; align-items: center; justify-content: center; gap: 10px; }
.loop-again .ic { color: var(--accent); font-size: 16px; width: 18px; height: 18px; }
.loop-step p { font-size: .93rem; color: var(--on-dark-muted); margin: 0; }
.loop-step .owner { display: inline-block; margin-bottom: 10px; font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--portal); }
.loop-step .owner.author { color: #b49bff; }
.loop-step .owner.crm { color: #6fdca0; }
@media (max-width: 900px) {
    .loop { grid-template-columns: 1fr; gap: 28px; }
    .loop::before { top: 0; bottom: 0; left: 37px; right: auto; width: 2px; height: auto; background: linear-gradient(180deg, rgba(137, 92, 246, .8), rgba(79, 184, 230, .8)); animation: none; }
    .loop-step { display: grid; grid-template-columns: 76px 1fr; gap: 0 22px; text-align: left; padding: 0; }
    .loop-step .node { margin: 0; grid-row: span 3; }
}

/* ---------- Feature grid ---------- */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.feature {
    background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; position: relative; overflow: hidden;
    transition: border-color .25s, transform .25s, box-shadow .25s;
}
.feature:hover { border-color: transparent; transform: translateY(-4px); box-shadow: var(--shadow); }
.feature::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--grad-products); transform: scaleX(0); transform-origin: left; transition: transform .35s; }
.feature:hover::after { transform: scaleX(1); }
.feature .f-icon { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: #eaf3fb; color: var(--brand); margin-bottom: 20px; }
.feature .f-icon .ic { font-size: 22px; width: 24px; height: 24px; }
.feature .f-icon.violet { background: #efeaff; color: #5b47d6; }
.feature .f-icon.mint { background: #e3f8ee; color: #13804f; }
.feature .f-icon.amber { background: #fff3dc; color: #b06f08; }
.feature .f-icon.rose { background: #fde9ec; color: #c43a4d; }
.feature .f-icon.cyan { background: #e2f7fc; color: #0b7f98; }
.feature h3 { font-size: 1.15rem; margin-bottom: 10px; }
.feature p { color: var(--muted); font-size: .97rem; margin: 0; }
.feature .tag.tag--all { color: var(--brand); background: #eaf3fb; }
.feature .tag.tag--author { color: #5b47d6; background: #efeaff; }
.feature .tag.tag--portal { color: #0b7f98; background: #e2f7fc; }
.feature .tag.tag--crm { color: #1d7f4c; background: #e3f8ee; }
.feature .tag.tag--conference { color: #c4500c; background: #fff1e6; }
.feature .tag { position: absolute; top: 22px; right: 22px; font-size: .7rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #5b47d6; background: #efeaff; padding: 4px 9px; border-radius: 999px; }
.section--soft .feature { background: var(--white); }
.section--dark .feature { background: rgba(255, 255, 255, .03); border-color: rgba(255, 255, 255, .08); }
.section--dark .feature p { color: var(--on-dark-muted); }
.section--dark .feature .f-icon { background: rgba(79, 184, 230, .12); color: var(--accent); }
.links-grid { grid-template-columns: repeat(4, 1fr); }
.links-grid .feature { padding: 26px; }
@media (max-width: 1000px) { .features, .links-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .features { grid-template-columns: 1fr; } }

/* ---------- Story-to-inbox timeline (Nexa Author) ---------- */
.timeline { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; position: relative; }
.timeline::before { content: ""; position: absolute; top: 74px; left: 10%; right: 10%; height: 2px; background: linear-gradient(90deg, rgba(137, 92, 246, .9), rgba(255, 211, 110, .9)); }
.tl-step { position: relative; text-align: center; }
.tl-time { display: inline-block; font-family: var(--font-head); font-size: .75rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--ink); background: var(--accent); border-radius: 999px; padding: 4px 10px; margin-bottom: 14px; }
.tl-dot { width: 64px; height: 64px; margin: 0 auto 16px; border-radius: 20px; display: grid; place-items: center; background: var(--navy-2); border: 1px solid rgba(255, 255, 255, .14); color: var(--white); box-shadow: 0 0 0 8px var(--navy); position: relative; }
.tl-dot .ic { font-size: 24px; width: 26px; height: 26px; }
.tl-step h3 { font-size: 1.05rem; margin-bottom: 6px; }
.tl-step p { font-size: .92rem; color: var(--on-dark-muted); margin: 0; }
.tl-step:last-child .tl-dot { background: var(--grad); color: var(--ink); border-color: transparent; }
@media (max-width: 900px) {
    .timeline { grid-template-columns: 1fr; gap: 22px; }
    .timeline::before { top: 0; bottom: 0; left: 31px; right: auto; width: 2px; height: auto; background: linear-gradient(180deg, rgba(137, 92, 246, .9), rgba(255, 211, 110, .9)); }
    .tl-step { display: grid; grid-template-columns: 64px 1fr; gap: 0 20px; text-align: left; }
    .tl-dot { grid-column: 1; grid-row: 1 / span 3; margin: 0; }
    .tl-step > :not(.tl-dot) { grid-column: 2; }
    .tl-time { justify-self: start; margin-bottom: 8px; }
}

/* ---------- Tools band ---------- */
.tools { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; max-width: 980px; margin: 0 auto; }
.tool { display: inline-flex; align-items: center; gap: 10px; padding: 12px 18px; border-radius: 999px; background: var(--white); border: 1px solid var(--line); box-shadow: 0 1px 2px rgba(7, 17, 29, .05); font-family: var(--font-head); font-weight: 600; font-size: .95rem; color: var(--text); }
.tool .ic { color: var(--brand-2); font-size: 16px; width: 18px; height: 18px; }

/* ---------- Drive-time playlist (player mock) ---------- */
.playlist { background: var(--soft); border-radius: 10px; padding: 10px 12px; font-size: 12px; display: grid; gap: 4px; }
.playlist > b { display: flex; align-items: center; gap: 6px; font-family: var(--font-head); color: #3b2a7a; margin-bottom: 2px; }
.playlist > b .ic { font-size: 13px; width: 14px; height: 14px; }
.playlist > div { display: flex; justify-content: space-between; gap: 10px; padding: 5px 8px; border-radius: 7px; color: #33465a; }
.playlist > div.now { background: #efeaff; color: #3b2a7a; font-weight: 600; }
.playlist small { color: var(--muted); }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: rgba(255, 255, 255, .08); border-radius: var(--radius); overflow: hidden; }
.stat { background: var(--navy); padding: 34px 28px; }
.stat b { display: block; font-family: var(--font-head); font-weight: 800; font-size: clamp(2.4rem, 4.4vw, 3.4rem); line-height: 1; letter-spacing: -.03em; margin-bottom: 10px; }
.stat span { color: var(--on-dark-muted); font-size: .95rem; }
@media (max-width: 900px) { .stats { grid-template-columns: 1fr 1fr; } }

/* ---------- Split (text + visual) ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 88px); align-items: center; }
.split + .split { margin-top: clamp(72px, 10vw, 120px); }
.split--flip > :first-child { order: 2; }
.split .visual { position: relative; }
.checks { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 14px; }
.checks li { display: flex; gap: 14px; align-items: flex-start; }
.checks li > .ic { font-size: 20px; width: 22px; height: 22px; flex: none; color: var(--mint); margin-top: 2px; }
.checks strong { font-family: var(--font-head); display: block; }
.checks span { color: var(--muted); font-size: .97rem; }
.section--dark .checks span { color: var(--on-dark-muted); }
@media (max-width: 900px) {
    .split { grid-template-columns: 1fr; }
    .split--flip > :first-child { order: 0; }
}

/* a framed visual block for split sections */
.panel {
    border-radius: 24px; padding: clamp(20px, 3vw, 34px); position: relative; overflow: hidden;
    background: linear-gradient(150deg, #0f2740, #07111d); box-shadow: var(--shadow-lg);
}
.panel::before { content: ""; position: absolute; width: 70%; height: 70%; right: -20%; top: -20%; background: radial-gradient(circle, rgba(79, 184, 230, .35), transparent 65%); }
.panel--violet::before { background: radial-gradient(circle, rgba(137, 92, 246, .45), transparent 65%); }
.panel > * { position: relative; }

/* format tiles (write once, deliver many) */
.formats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.format { background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); border-radius: 14px; padding: 16px; color: var(--white); }
.format .ic { font-size: 22px; width: 24px; height: 24px; color: var(--portal); margin-bottom: 10px; }
.format b { display: block; font-family: var(--font-head); font-size: .98rem; }
.format small { color: var(--on-dark-muted); font-size: .82rem; line-height: 1.4; display: block; }
@media (max-width: 480px) { .formats { grid-template-columns: 1fr 1fr; } }

/* workflow lanes (Nexa Author) */
.lanes { display: grid; gap: 10px; }
.lane { display: grid; grid-template-columns: 120px 1fr; gap: 14px; align-items: center; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .09); border-radius: 14px; padding: 12px 14px; color: var(--white); font-size: .9rem; }
.lane b { font-family: var(--font-head); font-size: .9rem; }
.lane .bar { height: 10px; border-radius: 999px; background: rgba(255, 255, 255, .08); overflow: hidden; position: relative; }
.lane .bar i { position: absolute; inset: 0 auto 0 0; border-radius: 999px; background: var(--grad-products); width: var(--w, 50%); }
.js .reveal .lane .bar i { width: 0; transition: width 1.4s cubic-bezier(.2, .7, .2, 1) .3s; }
.js .reveal.is-in .lane .bar i { width: var(--w, 50%); }

/* mini analytics bars */
.bars { display: flex; align-items: flex-end; gap: 8px; height: 150px; padding-top: 10px; }
.bars i { flex: 1; border-radius: 6px 6px 2px 2px; background: linear-gradient(180deg, var(--portal), rgba(79, 184, 230, .25)); height: var(--h); }
.bars i:nth-child(3n) { background: linear-gradient(180deg, var(--accent-2), rgba(137, 92, 246, .25)); }
.js .reveal .bars i { height: 4%; transition: height 1s cubic-bezier(.2, .7, .2, 1); }
.js .reveal.is-in .bars i { height: var(--h); }
.bars i:nth-child(2) { transition-delay: .05s; } .bars i:nth-child(3) { transition-delay: .1s; } .bars i:nth-child(4) { transition-delay: .15s; }
.bars i:nth-child(5) { transition-delay: .2s; } .bars i:nth-child(6) { transition-delay: .25s; } .bars i:nth-child(7) { transition-delay: .3s; }
.bars i:nth-child(8) { transition-delay: .35s; } .bars i:nth-child(9) { transition-delay: .4s; } .bars i:nth-child(10) { transition-delay: .45s; }
.bars i:nth-child(11) { transition-delay: .5s; } .bars i:nth-child(12) { transition-delay: .55s; }
.kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 16px; }
.kpi { background: rgba(255, 255, 255, .06); border-radius: 12px; padding: 12px; color: var(--white); }
.kpi b { font-family: var(--font-head); font-size: 1.3rem; display: block; }
.kpi small { color: var(--on-dark-muted); font-size: .78rem; }

/* ---------- Audience cards ---------- */
.audiences { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.audience { border-radius: var(--radius); padding: 34px 30px; background: var(--white); border: 1px solid var(--line); position: relative; overflow: hidden; }
.audience .num { font-family: var(--font-head); font-weight: 800; font-size: 3.4rem; line-height: 1; letter-spacing: -.04em; margin-bottom: 18px; }
.audience h3 { font-size: 1.2rem; }
.audience p { color: var(--muted); font-size: .97rem; margin: 0; }
/* The products each kind of team usually starts with; "+" ones are optional additions. */
.audience .mix { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 18px; }
.audience .mix .tag { font-size: .68rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 4px 9px; border-radius: 999px; border: 1px solid transparent; }
.audience .mix .tag--author { color: #5b47d6; background: #efeaff; }
.audience .mix .tag--portal { color: #0b7f98; background: #e2f7fc; }
.audience .mix .tag--crm { color: #1d7f4c; background: #e3f8ee; }
.audience .mix .tag--conference { color: #c4500c; background: #fff1e6; }
.audience .mix .tag.is-optional { background: transparent; border-style: dashed; border-color: currentColor; }
@media (max-width: 900px) { .audiences { grid-template-columns: 1fr; } }

/* ---------- Security band ---------- */
.trust { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.trust-item { padding: 26px; border-radius: var(--radius); background: rgba(255, 255, 255, .03); border: 1px solid rgba(255, 255, 255, .08); }
.trust-item .ic { font-size: 26px; width: 28px; height: 28px; color: var(--accent); margin-bottom: 16px; }
.trust-item h3 { font-size: 1.05rem; margin-bottom: 8px; }
.trust-item p { font-size: .93rem; color: var(--on-dark-muted); margin: 0; }
@media (max-width: 1000px) { .trust { grid-template-columns: 1fr 1fr; } }
.trust--2 { grid-template-columns: 1fr 1fr; }
@media (max-width: 560px) { .trust, .trust--2 { grid-template-columns: 1fr; } }

/* ---------- Call to action ---------- */
.cta {
    position: relative; overflow: hidden; border-radius: 30px; padding: clamp(44px, 7vw, 88px) clamp(28px, 6vw, 80px);
    background: var(--ink); color: var(--on-dark); display: grid; grid-template-columns: 1.3fr auto; gap: 40px; align-items: center;
}
/* Dark, with Utrovia-blue glows (CS, 31 Oct). */
.cta::before {
    content: ""; position: absolute; inset: 0;
    background: radial-gradient(60% 110% at 100% 0%, rgba(83, 143, 177, .70), transparent 70%), radial-gradient(55% 100% at 0% 100%, rgba(46, 85, 118, .95), transparent 70%);
}
.cta > * { position: relative; }
.cta h2 { color: var(--white); margin-bottom: 14px; }
.cta p { color: var(--on-dark-muted); margin: 0; font-size: 1.1rem; max-width: 36em; }
@media (max-width: 800px) { .cta { grid-template-columns: 1fr; } }

/* ---------- Inner page hero ---------- */
.page-hero {
    position: relative; overflow: hidden; color: var(--on-dark); background: var(--ink);
    margin-top: calc(-1 * var(--header-h)); padding: calc(var(--header-h) + clamp(48px, 7vw, 96px)) 0 clamp(56px, 7vw, 96px);
}
.page-hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(40% 70% at 85% 20%, rgba(137, 92, 246, .35), transparent 70%), radial-gradient(40% 70% at 60% 110%, rgba(79, 184, 230, .28), transparent 70%); }
.page-hero::after { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px); background-size: 56px 56px; -webkit-mask-image: linear-gradient(180deg, #000, transparent); mask-image: linear-gradient(180deg, #000, transparent); }
.page-hero .wrap { position: relative; z-index: 1; }
.page-hero h1 { color: var(--white); font-size: clamp(2.3rem, 5vw, 4rem); max-width: 16em; }
.page-hero .lead { color: var(--on-dark-muted); }
.page-hero--product .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; max-width: 1280px; }
.page-hero--product .stage { height: 460px; }
.page-hero--product .stage .ui--main { inset: 20px 0 auto 0; width: 100%; transform: rotateY(-8deg) rotateX(3deg); }
@media (max-width: 1040px) { .page-hero--product .wrap { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .page-hero--product .stage { height: 380px; } .page-hero--product .stage .ui--main { transform: none; } }
.crumbs { font-size: .9rem; color: var(--on-dark-muted); margin-bottom: 22px; }
.crumbs a { color: var(--on-dark); text-decoration: none; }
.crumbs a:hover { color: var(--white); }
.crumbs span { margin: 0 8px; opacity: .5; }

/* ---------- Pictures (a labelled placeholder shows until the file exists) ---------- */
.media { display: block; position: relative; margin: 0; border-radius: var(--radius); overflow: hidden; background: var(--soft); }
.media img { width: 100%; height: 100%; object-fit: cover; }
.media-ph { display: none; }
.media.is-missing img { display: none; }
.media.is-missing { border: 2px dashed #b9c6d4; background: repeating-linear-gradient(135deg, #f3f6fa 0 14px, #edf1f6 14px 28px); }
.media.is-missing .media-ph { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; padding: 18px; text-align: center; color: var(--muted); font-size: .88rem; }
.media-ph .ic { font-size: 30px; width: 34px; height: 34px; color: var(--brand-2); }
.media-ph b { font-family: var(--font-head); color: var(--brand); font-size: 1rem; }
.media-ph code { font-size: .78rem; background: var(--white); padding: 2px 8px; border-radius: 6px; color: var(--text); }
.section--dark .media.is-missing, .panel .media.is-missing { border-color: rgba(255, 255, 255, .25); background: repeating-linear-gradient(135deg, rgba(255,255,255,.04) 0 14px, rgba(255,255,255,.07) 14px 28px); }
.section--dark .media-ph, .panel .media-ph { color: var(--on-dark-muted); }
.section--dark .media-ph b { color: var(--white); }
.audience .media { margin: -34px -30px 24px; border-radius: 0; }
.photo-stack { position: relative; }
.photo-stack .media { box-shadow: var(--shadow-lg); }
.photo-stack .chip-float { position: absolute; }
.photo-stack .chip-float--a { left: -18px; bottom: 28px; }
.photo-stack .chip-float--b { right: -14px; top: 26px; }
@media (max-width: 600px) { .photo-stack .chip-float { display: none; } }

/* ---------- Gallery + lightbox ---------- */
.gallery { display: flex; flex-wrap: wrap; justify-content: center; gap: 22px; }
.shot { margin: 0; flex: 0 1 calc((100% - 44px) / 3); min-width: 0; }  /* flex, so a last odd item sits centred */
.shot button { display: block; width: 100%; padding: 0; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; cursor: zoom-in; background: var(--white); box-shadow: var(--shadow); transition: transform .25s, box-shadow .25s; font: inherit; }
.shot button:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.shot .media { border-radius: 0; }
.shot .media img { object-position: top left; }
.shot-cap { padding: 14px 4px 0; }
.shot-cap b { display: block; font-family: var(--font-head); font-size: 1rem; margin-bottom: 4px; }
.shot-cap span { font-size: .92rem; color: var(--muted); }
@media (max-width: 900px) { .shot { flex-basis: calc((100% - 22px) / 2); } }
@media (max-width: 560px) { .shot { flex-basis: 100%; } }
.lightbox { border: 0; padding: 0; background: transparent; max-width: min(1400px, 94vw); max-height: 92vh; overflow: visible; }
.lightbox::backdrop { background: rgba(7, 17, 29, .88); backdrop-filter: blur(4px); }
.lightbox img { max-width: 100%; max-height: 82vh; border-radius: 12px; margin: 0 auto; box-shadow: var(--shadow-lg); }
.lightbox p { color: var(--white); text-align: center; margin: 14px 0 0; font-family: var(--font-head); font-weight: 600; }
.lightbox .lb-close, .lightbox .lb-nav { position: fixed; width: 48px; height: 48px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .12); color: var(--white); display: grid; place-items: center; cursor: pointer; }
.lightbox .lb-close:hover, .lightbox .lb-nav:hover { background: rgba(255, 255, 255, .24); }
.lightbox .lb-close { top: 20px; right: 20px; }
.lightbox .lb-prev { left: 20px; top: 50%; transform: translateY(-50%); }
.lightbox .lb-next { right: 20px; top: 50%; transform: translateY(-50%); }
.lightbox .ic { font-size: 22px; }

/* ---------- FAQ ---------- */
.faq-layout { display: grid; grid-template-columns: 260px 1fr; gap: 56px; align-items: start; }
.faq-nav { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 4px; }
.faq-nav a { text-decoration: none; color: var(--muted); font-family: var(--font-head); font-weight: 600; padding: 10px 14px; border-radius: 10px; }
.faq-nav a:hover { background: var(--soft); color: var(--text); }
.faq-group { margin-bottom: 48px; scroll-margin-top: calc(var(--header-h) + 24px); }
.faq-group h2 { font-size: 1.6rem; margin-bottom: 18px; }
.faq { border: 1px solid var(--line); border-radius: 14px; margin-bottom: 12px; background: var(--white); transition: border-color .2s, box-shadow .2s; }
.faq[open] { border-color: transparent; box-shadow: var(--shadow); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 22px; font-family: var(--font-head); font-weight: 700; font-size: 1.05rem; display: flex; justify-content: space-between; gap: 18px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
/* The plus is drawn with two bars, not a "+" character, so it sits dead centre in the circle whatever the font. */
.faq summary::after { content: ""; flex: none; width: 30px; height: 30px; border-radius: 50%; transition: transform .25s, background-color .25s;
    background: linear-gradient(var(--brand), var(--brand)) center / 12px 2px no-repeat, linear-gradient(var(--brand), var(--brand)) center / 2px 12px no-repeat;
    background-color: var(--soft); }
.faq[open] summary::after { transform: rotate(45deg); background-color: #e2f7fc; }
.faq .answer { padding: 0 22px 20px; color: var(--muted); }
.faq .answer p:last-child { margin: 0; }
@media (max-width: 900px) { .faq-layout { grid-template-columns: 1fr; } .faq-nav { position: static; display: flex; flex-wrap: wrap; } }

/* ---------- About ---------- */
.values { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.value { padding: 28px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--white); }
.value .f-icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: #eaf3fb; color: var(--brand); margin-bottom: 18px; }
.value .f-icon .ic { font-size: 20px; width: 22px; height: 22px; }
.value h3 { font-size: 1.08rem; }
.value p { color: var(--muted); font-size: .95rem; margin: 0; }
@media (max-width: 1000px) { .values { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .values { grid-template-columns: 1fr; } }
.about-panel { display: grid; gap: 12px; }
.about-panel .stat { background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .08); border-radius: 16px; padding: 24px 26px; }
.team { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.person { padding: 30px; border-radius: var(--radius); background: rgba(255, 255, 255, .03); border: 1px solid rgba(255, 255, 255, .08); }
.person .role { font-family: var(--font-head); font-weight: 700; color: var(--accent); font-size: .85rem; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 12px; }
.person p { color: var(--on-dark-muted); font-size: .97rem; margin: 0; }
@media (max-width: 900px) { .team { grid-template-columns: 1fr; } }

/* ---------- Contact ---------- */
.contact-layout { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 6vw, 80px); align-items: start; }
.contact-points { list-style: none; padding: 0; margin: 32px 0 0; display: grid; gap: 22px; }
.contact-points li { display: flex; gap: 16px; }
.contact-points .f-icon { width: 46px; height: 46px; border-radius: 14px; flex: none; display: grid; place-items: center; background: #eaf3fb; color: var(--brand); }
.contact-points .f-icon .ic { font-size: 20px; width: 22px; height: 22px; }
.contact-points strong { font-family: var(--font-head); display: block; }
.contact-points span { color: var(--muted); font-size: .97rem; }
.book-card { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 28px; padding: 18px 20px; border-radius: 18px; background: #fff8e8; border: 1px solid #ffe2a3; }
.book-card > div { flex: 1; min-width: 180px; }
.book-card strong { font-family: var(--font-head); display: block; }
.book-card > div span { display: block; color: var(--muted); font-size: .95rem; }
.form-card { background: var(--white); border-radius: 24px; padding: clamp(26px, 4vw, 44px); box-shadow: var(--shadow-lg); border: 1px solid var(--line); }
.form-card h2 { font-size: 1.7rem; }
.field { margin-bottom: 18px; }
.field label { display: block; font-family: var(--font-head); font-weight: 600; font-size: .92rem; margin-bottom: 8px; }
.field input, .field textarea, .field select {
    width: 100%; font: inherit; font-size: 1rem; color: var(--text); padding: 14px 16px; border-radius: 12px;
    border: 1.5px solid var(--line); background: var(--soft); transition: border-color .2s, background .2s, box-shadow .2s;
}
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--brand-2); background: var(--white); box-shadow: 0 0 0 4px rgba(83, 143, 177, .18); }
.field textarea { min-height: 150px; resize: vertical; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; } }
.field--trap { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin-top: 16px; padding: 14px 16px; border-radius: 12px; font-size: .97rem; display: none; }
.form-status.is-ok { display: block; background: #e3f8ee; color: #0e6a41; }
.form-status.is-error { display: block; background: #fde9ec; color: #9d2335; }
.form-note { font-size: .85rem; color: var(--muted); margin-top: 14px; }
.cf-turnstile { margin: 6px 0 18px; min-height: 65px; }
.form-card .btn { width: 100%; }
.form-card .btn[disabled] { opacity: .6; cursor: progress; }
@media (max-width: 900px) { .contact-layout { grid-template-columns: 1fr; } }

/* ---------- Legal / long text ---------- */
.prose { max-width: 820px; margin: 0 auto; }
.prose h2 { font-size: 1.6rem; margin: 2em 0 .6em; }
.prose h3 { font-size: 1.2rem; margin: 1.6em 0 .5em; }
.prose p, .prose li { color: #33465a; }
.prose table { width: 100%; border-collapse: collapse; font-size: .92rem; margin: 1em 0 2em; display: block; overflow-x: auto; }
.legal-fallback { font-size: .88rem; color: var(--muted, #5b6b7c); border-top: 1px solid #e3e9ef; padding-top: 1em; margin-top: 2em; }
.prose th, .prose td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; vertical-align: top; }
.prose th { background: var(--soft); font-family: var(--font-head); }
.prose .updated { font-size: .95rem; color: var(--muted); }

/* ---------- 404 ---------- */
.notfound { min-height: 70vh; display: grid; place-items: center; text-align: center; }
.notfound .big { font-family: var(--font-head); font-weight: 800; font-size: clamp(6rem, 18vw, 12rem); line-height: 1; letter-spacing: -.05em; }

/* ---------- Footer ---------- */
.site-footer { background: var(--brand); color: rgba(255, 255, 255, .78); padding: 80px 0 32px; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 40px; }
.site-footer .logo img { height: 30px; margin-bottom: 20px; }
.site-footer h4 { color: var(--white); font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 18px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.site-footer a { color: rgba(255, 255, 255, .82); text-decoration: none; }
.site-footer a:hover { color: var(--white); }
.footer-base { margin-top: 64px; padding-top: 26px; border-top: 1px solid rgba(255, 255, 255, .18); display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; font-size: .85rem; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-grid > :first-child { grid-column: 1 / -1; } }

/* ---------- Back to top (added by site.js) ---------- */
.to-top {
    position: fixed; right: 22px; bottom: 22px; z-index: 90; width: 50px; height: 50px; border-radius: 50%; border: 0; cursor: pointer;
    background: var(--grad); color: var(--ink); box-shadow: 0 12px 30px -10px rgba(7, 17, 29, .55);
    display: grid; place-items: center; opacity: 0; visibility: hidden; transform: translateY(12px);
    transition: opacity .25s, transform .25s, visibility .25s, box-shadow .25s;
}
.to-top.is-on { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { transform: translateY(-3px); box-shadow: 0 16px 34px -10px rgba(255, 211, 110, .7); }
.to-top .ic { font-size: 20px; width: 22px; height: 22px; }
body.menu-open .to-top { display: none; }
@media (max-width: 600px) { .to-top { right: 16px; bottom: 16px; width: 46px; height: 46px; } }

/* ---------- Scroll reveal (only when JS runs; content is visible without it) ---------- */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s cubic-bezier(.2, .7, .2, 1), transform .8s cubic-bezier(.2, .7, .2, 1); }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .reveal-group > * { opacity: 0; transform: translateY(22px); transition: opacity .7s cubic-bezier(.2, .7, .2, 1), transform .7s cubic-bezier(.2, .7, .2, 1); }
.js .reveal-group.is-in > * { opacity: 1; transform: none; }
.js .reveal-group.is-in > :nth-child(2) { transition-delay: .08s; }
.js .reveal-group.is-in > :nth-child(3) { transition-delay: .16s; }
.js .reveal-group.is-in > :nth-child(4) { transition-delay: .24s; }
.js .reveal-group.is-in > :nth-child(5) { transition-delay: .32s; }
.js .reveal-group.is-in > :nth-child(6) { transition-delay: .40s; }

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
    .js .reveal, .js .reveal-group > * { opacity: 1; transform: none; }
}

/* ---------- "We're updating" page (while the Nexa platform is being released) ---------- */
.updating { display: flex; gap: 28px; align-items: flex-start; max-width: 760px; padding: 36px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow); }
.updating-icon { flex: none; width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; background: #eaf3fb; color: var(--brand); font-size: 1.5rem; }
.updating h2 { font-size: 1.5rem; margin-bottom: 10px; }
.updating p { color: var(--muted); margin: 0 0 22px; }
@media (max-width: 560px) { .updating { flex-direction: column; padding: 26px; } }
