/* ==========================================================================
   Atiyeh Samaneh Vira — corporate design system
   ========================================================================== */

@font-face { font-family: Vazirmatn; src: url(../fonts/Vazirmatn-Light.woff2) format("woff2"); font-weight: 300; font-display: swap; }
@font-face { font-family: Vazirmatn; src: url(../fonts/Vazirmatn-Regular.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: Vazirmatn; src: url(../fonts/Vazirmatn-Medium.woff2) format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: Vazirmatn; src: url(../fonts/Vazirmatn-SemiBold.woff2) format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: Vazirmatn; src: url(../fonts/Vazirmatn-Bold.woff2) format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: Vazirmatn; src: url(../fonts/Vazirmatn-ExtraBold.woff2) format("woff2"); font-weight: 800; font-display: swap; }

:root {
    /* Brand colors taken from the logo */
    --brand: #2D2A84;
    --brand-dark: #211E66;
    --brand-2: #92278F;
    --brand-tint: #F1F1F8;

    --ink: #16153A;
    --ink-2: #3C3B5C;
    --muted: #6A6984;
    --line: #E4E4EE;
    --surface: #FFFFFF;
    --surface-2: #F7F7FA;

    --navy: #17154A;
    --navy-line: rgba(255, 255, 255, .1);
    --navy-text: #C2C1DC;

    --radius: 12px;
    --radius-lg: 16px;
    --shadow: 0 1px 2px rgba(22, 21, 58, .04), 0 4px 16px -6px rgba(22, 21, 58, .08);
    --shadow-lg: 0 12px 32px -12px rgba(45, 42, 132, .22);
    --container: 1200px;
    --header-h: 78px;
    --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    margin: 0;
    font-family: Vazirmatn, Tahoma, sans-serif;
    color: var(--ink);
    background: var(--surface);
    line-height: 1.9;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; line-height: 1.45; font-weight: 800; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
::selection { background: var(--brand); color: #fff; }
.ltr { direction: ltr; unicode-bidi: isolate; display: inline-block; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 24px; }
.section { padding-block: 104px; position: relative; scroll-margin-top: calc(var(--header-h) + 56px); }
.section-sm { padding-block: 64px; }
.section.alt { background: var(--surface-2); }
.accent { color: var(--brand); }

/* ---------- Section headings ---------- */
.eyebrow {
    display: inline-flex; align-items: center; gap: 10px;
    font-size: 14px; font-weight: 700; color: var(--brand-2);
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--brand-2); }
.section-head { max-width: 720px; margin-bottom: 56px; }
.section-head.center { text-align: center; margin-inline: auto; }
.section-head.center .eyebrow::after { content: ""; width: 28px; height: 2px; background: var(--brand-2); }
.section-head h2 { font-size: clamp(26px, 3.2vw, 38px); margin-top: 14px; }
.section-head p { font-size: 17px; color: var(--muted); margin-top: 14px; }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    height: 50px; padding-inline: 26px; border-radius: 10px; border: 1px solid transparent;
    font-weight: 700; font-size: 15px; white-space: nowrap; cursor: pointer;
    transition: background .25s, border-color .25s, color .25s, box-shadow .25s;
}
.btn .icon { width: 18px; height: 18px; }
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-dark); box-shadow: var(--shadow-lg); }
.btn-ghost, .btn-outline { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover, .btn-outline:hover { border-color: var(--brand); color: var(--brand); }
.btn-light { background: #fff; color: var(--brand); }
.btn-light:hover { background: var(--brand-tint); }
.btn-on-navy { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .3); }
.btn-on-navy:hover { border-color: #fff; }
.btn-sm { height: 42px; padding-inline: 18px; font-size: 14px; }
.btn-lg { height: 54px; padding-inline: 30px; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--brand); font-size: 15px; }
.link-arrow .icon { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.link-arrow:hover .icon { transform: translateX(-4px); }

/* ---------- Header ---------- */
.site-header {
    position: fixed; inset-inline: 0; top: 0; z-index: 100; height: var(--header-h);
    background: rgba(255, 255, 255, .96); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s;
}
.site-header.scrolled { border-bottom-color: var(--line); box-shadow: 0 2px 12px -6px rgba(22, 21, 58, .1); }
.header-inner { height: 100%; display: flex; align-items: center; gap: 32px; }
.brand { display: flex; align-items: center; flex-shrink: 0; }
.brand-logo { height: 50px; width: auto; }
.nav { display: flex; align-items: center; gap: 2px; margin-inline-start: auto; }
.nav > a, .nav-item > button {
    display: inline-flex; align-items: center; gap: 6px; height: var(--header-h); padding-inline: 14px;
    font-size: 15px; font-weight: 600; color: var(--ink-2); background: none; border: 0; cursor: pointer;
    border-bottom: 2px solid transparent; transition: color .2s, border-color .2s;
}
.nav > a:hover, .nav-item:hover > button, .nav > a.active { color: var(--brand); border-bottom-color: var(--brand); }
.nav-item > button .icon { width: 16px; height: 16px; }
.header-cta { display: flex; align-items: center; gap: 16px; }
.header-phone { display: inline-flex; align-items: center; gap: 8px; color: var(--ink-2); font-weight: 600; font-size: 14px; }
.header-phone .icon { width: 18px; height: 18px; color: var(--brand); }

.mega {
    position: fixed; top: var(--header-h); inset-inline: 0; margin-inline: auto; width: min(1152px, calc(100vw - 48px));
    padding: 28px; border-radius: 0 0 var(--radius-lg) var(--radius-lg);
    background: #fff; border: 1px solid var(--line); border-top: 0; box-shadow: 0 24px 48px -16px rgba(22, 21, 58, .18);
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px 12px; padding-inline: 20px;
    opacity: 0; visibility: hidden; transform: translateY(-6px);
    /* Close only after a short pause so a diagonal path over the neighbouring nav links doesn't snap it shut */
    transition: opacity .18s var(--ease) .22s, transform .18s var(--ease) .22s, visibility 0s linear .4s;
}
.nav-item:hover .mega, .nav-item:focus-within .mega {
    opacity: 1; visibility: visible; transform: none;
    transition: opacity .18s var(--ease) .06s, transform .18s var(--ease) .06s, visibility 0s linear .06s;
}
.mega-col { min-width: 0; display: flex; flex-direction: column; }
.mega-col + .mega-col { border-inline-start: 1px solid var(--line); padding-inline-start: 12px; }
.mega-col h4 { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--brand-2); font-weight: 700; padding: 0 10px 12px; margin-bottom: 6px; border-bottom: 1px solid var(--line); }
.mega-col h4 .icon { width: 16px; height: 16px; }
/* Highlight fades in but drops instantly on leave, so two neighbours never look hovered together */
.mega-link { display: flex; gap: 10px; align-items: center; padding: 9px 8px; border-radius: 10px; }
.mega-link:hover { background: color-mix(in srgb, var(--pc, var(--brand)) 7%, #fff); transition: background-color .12s; }
.mega-link:hover b { color: var(--pc, var(--brand)); transition: color .12s; }
.mega-link .ic { width: 36px; height: 36px; border-radius: 9px; flex-shrink: 0; display: grid; place-items: center; background: var(--pc, var(--brand)); color: #fff; }
.mega-link .ic .icon { width: 18px; height: 18px; }
.mega-link .txt { min-width: 0; display: grid; gap: 2px; }
.mega-link b { display: block; color: var(--ink); font-size: 13.5px; font-weight: 600; line-height: 1.6; }
.mega-link small { display: flex; align-items: center; gap: 6px; color: var(--muted); font-size: 12px; line-height: 1.4; }
.mega-link small .brand { direction: ltr; unicode-bidi: isolate; }
.mega-foot { grid-column: 1 / -1; margin-top: 12px; padding: 14px 18px; border-radius: 10px; display: flex; align-items: center; justify-content: space-between; gap: 16px; background: var(--surface-2); color: var(--ink-2); font-size: 14px; }

.menu-toggle { display: none; width: 44px; height: 44px; border-radius: 10px; border: 1px solid var(--line); background: #fff; color: var(--ink); place-items: center; cursor: pointer; }
.mobile-nav {
    position: fixed; inset: var(--header-h) 0 0; z-index: 99; background: var(--surface-2);
    padding: 16px 16px calc(24px + env(safe-area-inset-bottom)); overflow-y: auto; overscroll-behavior: contain;
    opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s;
}
.mobile-nav.open { opacity: 1; visibility: visible; transform: none; }
.m-links { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.m-links a { display: flex; align-items: center; gap: 10px; padding: 14px; border-radius: 12px; background: #fff; border: 1px solid var(--line); font-weight: 700; font-size: 15px; color: var(--ink); }
.m-links a .icon { width: 20px; height: 20px; color: var(--brand); }
.m-links a.active { border-color: var(--brand); color: var(--brand); }
.m-label { font-size: 13px; font-weight: 700; color: var(--muted); margin: 22px 4px 10px; }
.m-group { background: #fff; border: 1px solid var(--line); border-radius: 12px; margin-bottom: 8px; overflow: hidden; }
.m-group summary { list-style: none; display: flex; align-items: center; gap: 10px; padding: 14px 16px; font-weight: 700; font-size: 15px; cursor: pointer; }
.m-group summary::-webkit-details-marker { display: none; }
.m-group summary .icon { width: 20px; height: 20px; color: var(--brand); }
.m-group summary .m-count { font-size: 12px; color: var(--muted); font-weight: 600; }
.m-group summary .m-chev { margin-inline-start: auto; color: var(--muted); transition: transform .2s; }
.m-group[open] summary .m-chev { transform: rotate(180deg); }
.m-products { display: grid; gap: 2px; padding: 0 8px 8px; }
.m-products a { display: flex; align-items: center; gap: 12px; padding: 10px 8px; border-radius: 10px; }
.m-products a:active { background: var(--surface-2); }
.m-products .icon-box { width: 38px; height: 38px; border-radius: 10px; }
.m-products .icon-box .icon { width: 19px; height: 19px; }
.m-products b { display: block; font-size: 14px; font-weight: 700; line-height: 1.6; }
.m-products small { display: block; font-size: 12px; color: var(--muted); direction: ltr; text-align: end; line-height: 1.4; }
.m-all { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 12px; font-weight: 700; font-size: 14px; color: var(--brand); }
.m-all .icon { width: 18px; height: 18px; }
.m-contact { display: grid; gap: 8px; margin-top: 12px; }
.m-contact a { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 12px; background: #fff; border: 1px solid var(--line); }
.m-contact .icon { width: 20px; height: 20px; color: var(--brand); }
.m-contact small { display: block; font-size: 12px; color: var(--muted); }
.m-contact b { font-size: 15px; }
.mobile-nav > .btn { width: 100%; margin-top: 16px; }
body.menu-open { overflow: hidden; }

/* Phone-only action bar */
.m-bar { display: none; }

/* ---------- Hero ---------- */
.hero, .page-hero { position: relative; overflow: hidden; isolation: isolate; background: linear-gradient(180deg, var(--brand-tint) 0%, #fff 100%); }
.hero-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hero-bg .grid {
    position: absolute; inset: 0;
    background-image: linear-gradient(rgba(45, 42, 132, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(45, 42, 132, .05) 1px, transparent 1px);
    background-size: 56px 56px;
    mask-image: linear-gradient(180deg, #000 0%, transparent 85%); -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 85%);
}
.hero { padding: calc(var(--header-h) + 80px) 0 96px; }
.hero-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 64px; align-items: center; }
.hero h1 { font-size: clamp(32px, 4vw, 52px); font-weight: 800; line-height: 1.45; margin-top: 18px; }
.hero-lead { font-size: 18px; color: var(--muted); max-width: 560px; margin-top: 20px; line-height: 2.05; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.hero-points { display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: 40px; padding-top: 28px; border-top: 1px solid var(--line); }
.hero-points li { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--ink-2); }
.hero-points .icon { width: 18px; height: 18px; color: var(--brand-2); }

/* Platform architecture panel */
.platform { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); overflow: hidden; }
.platform-head { display: flex; align-items: center; justify-content: space-between; padding: 18px 22px; border-bottom: 1px solid var(--line); }
.platform-head b { font-size: 15px; }
.platform-head small { font-size: 12px; color: var(--muted); display: inline-flex; align-items: center; gap: 6px; }
.platform-head small i { width: 7px; height: 7px; border-radius: 50%; background: #16A34A; }
.platform-body { padding: 14px; display: grid; gap: 8px; }
.layer { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 10px; background: var(--surface-2); border: 1px solid transparent; transition: border-color .2s, background .2s; }
.layer:hover { border-color: var(--line); background: #fff; }
.layer .icon-box { width: 42px; height: 42px; border-radius: 10px; }
.layer .icon-box .icon { width: 20px; height: 20px; }
.layer b { display: block; font-size: 15px; }
.layer small { display: block; color: var(--muted); font-size: 13px; }
.layer .lvl { margin-inline-start: auto; font-size: 12px; font-weight: 700; color: var(--muted); direction: ltr; }
.layer.core { background: var(--brand); color: #fff; }
.layer.core small, .layer.core .lvl { color: #CFCDEB; }
.layer.core .icon-box { background: rgba(255, 255, 255, .12); color: #fff; border-color: transparent; }

/* ---------- Clients ---------- */
.logos { padding-block: 44px; border-bottom: 1px solid var(--line); }
.logos-title { text-align: center; color: var(--muted); font-size: 14px; font-weight: 600; margin-bottom: 24px; }
.logo-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.logo-chip { width: 132px; height: 80px; display: grid; place-items: center; padding: 12px 18px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.logo-chip img { max-height: 54px; width: auto; object-fit: contain; filter: grayscale(1); opacity: .75; transition: filter .3s, opacity .3s; }
.logo-chip:hover img { filter: none; opacity: 1; }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; }
.stat { padding: 32px 28px; }
.stat + .stat { border-inline-start: 1px solid var(--line); }
.stat-value { font-size: clamp(30px, 3.4vw, 42px); font-weight: 800; line-height: 1.2; color: var(--brand); }
.stat-label { color: var(--muted); margin-top: 6px; font-weight: 500; font-size: 15px; }

/* ---------- Cards ---------- */
.card {
    position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
    padding: 28px; transition: border-color .25s, box-shadow .25s, transform .25s var(--ease);
}
.card:hover { border-color: #CFCFE3; box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.icon-box { width: 52px; height: 52px; border-radius: 12px; display: grid; place-items: center; background: var(--brand-tint); color: var(--brand); flex-shrink: 0; }
.icon-box .icon { width: 24px; height: 24px; }
/* Per-product color, used sparingly: solid app tile, tinted feature icons */
.icon-box.app { background: var(--pc, var(--brand)); color: #fff; }
/* App tiles: same color and icon, with a soft sheen, edge light and tinted shadow */
.icon-box.app, .mega-link .ic {
    position: relative; overflow: hidden;
    background: linear-gradient(150deg, color-mix(in srgb, var(--pc, var(--brand)) 78%, #fff) 0%, var(--pc, var(--brand)) 52%, color-mix(in srgb, var(--pc, var(--brand)) 82%, #000) 100%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .28), inset 0 -1px 0 rgba(0, 0, 0, .14), 0 6px 14px -6px color-mix(in srgb, var(--pc, var(--brand)) 75%, transparent);
}
.icon-box.app::after, .mega-link .ic::after {
    content: ""; position: absolute; inset: 0 0 50% 0; border-radius: inherit;
    background: linear-gradient(180deg, rgba(255, 255, 255, .16), rgba(255, 255, 255, 0)); pointer-events: none;
}
.icon-box.app .icon, .mega-link .ic .icon { position: relative; z-index: 1; stroke-width: 2; filter: drop-shadow(0 1px 1px rgba(0, 0, 0, .18)); }
.p-card .icon-box.app { transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.p-card:hover .icon-box.app { transform: translateY(-2px) scale(1.04); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .28), inset 0 -1px 0 rgba(0, 0, 0, .14), 0 10px 20px -8px color-mix(in srgb, var(--pc, var(--brand)) 85%, transparent); }
.p-card.is-soon:hover .icon-box.app { transform: none; }
.icon-box.tint { background: color-mix(in srgb, var(--pc, var(--brand)) 9%, #fff); color: var(--pc, var(--brand)); }
.card h3 { font-size: 18px; margin-top: 20px; }
.card p { color: var(--muted); margin-top: 8px; font-size: 15px; line-height: 1.95; }

/* ---------- Product explorer ---------- */
.tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 0; margin: 0 auto 40px; width: fit-content; max-width: 100%; border: 1px solid var(--line); border-radius: 12px; background: #fff; padding: 4px; }
.tab {
    display: inline-flex; align-items: center; gap: 8px; height: 42px; padding-inline: 16px; border-radius: 8px;
    border: 0; background: transparent; font-weight: 600; font-size: 14px; color: var(--ink-2); cursor: pointer; transition: background .2s, color .2s;
}
.tab .icon { width: 17px; height: 17px; }
.tab:hover { color: var(--brand); }
.tab.active { background: var(--brand); color: #fff; }
.tab .count { font-size: 12px; color: var(--muted); }
.tab.active .count { color: #CFCDEB; }
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.p-card { display: flex; flex-direction: column; overflow: hidden; }
.p-card::before { content: ""; position: absolute; top: 0; inset-inline: 0; height: 3px; background: var(--pc); transform: scaleX(0); transition: transform .3s var(--ease); }
.p-card:hover::before { transform: none; }
.p-card[hidden] { display: none; }
.p-card .head { display: flex; align-items: center; justify-content: space-between; }
.p-card .brand-tag { font-size: 12px; font-weight: 700; direction: ltr; color: var(--muted); border: 1px solid var(--line); padding: 2px 10px; border-radius: 6px; }
.p-card ul { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line); display: grid; gap: 6px; }
.p-card li { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--ink-2); }
.p-card li .icon { width: 16px; height: 16px; color: var(--brand-2); flex-shrink: 0; }
.p-card .link-arrow { margin-top: auto; padding-top: 22px; }
.soon-tag { display: inline-block; width: fit-content; font-size: 11px; font-weight: 700; color: var(--brand-2); background: color-mix(in srgb, var(--brand-2) 10%, transparent); padding: 2px 10px; border-radius: 999px; direction: rtl; }
.p-card.is-soon { cursor: default; }
.p-card.is-soon:hover { transform: none; box-shadow: none; border-color: var(--line); }
.p-card.is-soon .icon-box.app { filter: grayscale(.6); opacity: .75; }
.p-card.is-soon:hover::before { transform: scaleX(0); }
.p-card .soon-note { color: var(--muted); }
.mega-link.is-soon { cursor: default; }
.mega-link.is-soon:hover { background: none; }
.mega-link.is-soon:hover b { color: var(--ink); }
.mega-link .soon-tag { font-size: 10.5px; padding: 1px 8px; }
.mega-link.is-soon .ic, .m-products .is-soon .icon-box { filter: grayscale(.6); opacity: .75; }
.m-products .is-soon { display: flex; align-items: center; gap: 12px; padding: 10px 8px; border-radius: 10px; }
.m-products .is-soon small.soon-tag { text-align: center; margin-top: 2px; }

/* ---------- Split / check lists ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.check-list { display: grid; gap: 12px; margin-top: 28px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; color: var(--ink-2); }
.check-list li .tick { width: 24px; height: 24px; border-radius: 6px; display: grid; place-items: center; flex-shrink: 0; background: var(--brand-tint); color: var(--brand); margin-top: 3px; }
.check-list li .tick .icon { width: 15px; height: 15px; }
.standards { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.standard { display: flex; align-items: center; gap: 14px; padding: 20px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.standard b { font-size: 15px; direction: ltr; }
.standard small { display: block; color: var(--muted); font-size: 13px; }

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

/* ---------- Process ---------- */
.process { display: grid; grid-template-columns: repeat(5, 1fr); gap: 24px; counter-reset: step; }
.process-step { position: relative; counter-increment: step; padding-top: 22px; border-top: 2px solid var(--line); transition: border-color .25s; }
.process-step:hover { border-top-color: var(--brand); }
.process-step .num { display: flex; align-items: center; gap: 12px; color: var(--brand); }
.process-step .num .icon { width: 26px; height: 26px; }
.process-step .num::before { content: counter(step, persian); font-size: 13px; font-weight: 800; color: var(--brand-2); order: 2; }
.process-step h3 { font-size: 17px; margin-top: 14px; }
.process-step p { color: var(--muted); font-size: 14px; margin-top: 6px; }

/* ---------- Industries ---------- */
.industry { display: flex; align-items: center; gap: 14px; padding: 18px 20px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); font-weight: 700; transition: border-color .25s; }
.industry:hover { border-color: var(--brand); }
.industry .icon-box { width: 44px; height: 44px; border-radius: 10px; }
.industry .icon-box .icon { width: 22px; height: 22px; }

/* ---------- Tech stack ---------- */
.stack-pill { padding: 9px 18px; border-radius: 8px; font-weight: 600; font-size: 14px; direction: ltr; background: #fff; border: 1px solid var(--line); color: var(--ink-2); }

/* ---------- FAQ ---------- */
.faq { max-width: 860px; margin-inline: auto; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 4px; display: flex; align-items: center; justify-content: space-between; gap: 16px; font-weight: 700; font-size: 17px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon { width: 20px; height: 20px; flex-shrink: 0; color: var(--brand); transition: transform .25s; }
.faq details[open] summary { color: var(--brand); }
.faq details[open] summary .icon { transform: rotate(180deg); }
.faq .answer { padding: 0 4px 22px; color: var(--muted); line-height: 2; }

/* ---------- CTA ---------- */
.cta { border-radius: var(--radius-lg); padding: 56px 56px; color: #fff; background: var(--navy); position: relative; overflow: hidden; }
.cta::after { content: ""; position: absolute; inset-block: 0; inset-inline-start: 0; width: 6px; background: var(--brand-2); }
.cta-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: center; }
.cta h2 { font-size: clamp(24px, 2.8vw, 34px); }
.cta p { color: var(--navy-text); font-size: 17px; margin-top: 12px; }
.cta .eyebrow { color: #E7B6E5; }
.cta .eyebrow::before { background: #E7B6E5; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: flex-end; }

/* ---------- Forms ---------- */
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 36px; box-shadow: var(--shadow); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 8px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 14px; font-weight: 700; color: var(--ink-2); }
.field label .req { color: #DC2626; }
.input { width: 100%; height: 50px; padding-inline: 14px; border-radius: 10px; border: 1px solid #D6D6E4; background: #fff; transition: border-color .2s, box-shadow .2s; outline: none; }
textarea.input { height: auto; min-height: 130px; padding-block: 12px; resize: vertical; }
.input:focus { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(45, 42, 132, .12); }
.input.invalid { border-color: #DC2626; }
.field .err { font-size: 13px; color: #DC2626; }
.type-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.type-pills input { position: absolute; opacity: 0; pointer-events: none; }
.type-pills label { padding: 8px 16px; border-radius: 8px; border: 1px solid #D6D6E4; cursor: pointer; font-size: 14px; font-weight: 600; transition: all .2s; }
.type-pills input:checked + label { border-color: var(--brand); background: var(--brand); color: #fff; }
.type-pills input:focus-visible + label { box-shadow: 0 0 0 3px rgba(45, 42, 132, .2); }
.alert { display: flex; gap: 12px; align-items: center; padding: 14px 18px; border-radius: 10px; margin-bottom: 24px; font-weight: 600; }
.alert.success { background: #F0FDF4; color: #166534; border: 1px solid #BBF7D0; }
.alert .icon { width: 22px; height: 22px; flex-shrink: 0; }
.hp { position: absolute; inset-inline-start: -9999px; }

/* ---------- Inner page hero ---------- */
.page-hero { padding: calc(var(--header-h) + 64px) 0 72px; border-bottom: 1px solid var(--line); }
.page-hero h1 { font-size: clamp(30px, 3.8vw, 46px); font-weight: 800; margin-top: 18px; max-width: 860px; }
.page-hero .lead { font-size: 18px; color: var(--muted); max-width: 720px; margin-top: 16px; line-height: 2.05; }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 14px; color: var(--muted); }
.crumbs a:hover { color: var(--brand); }
.crumbs .icon { width: 14px; height: 14px; }

/* ---------- Product detail ---------- */
.product-hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.product-brand { display: inline-flex; align-items: center; gap: 12px; margin-top: 24px; }
.product-brand b { font-size: 18px; font-weight: 800; direction: ltr; color: var(--pc, var(--brand)); }
.product-brand small { display: block; color: var(--muted); font-size: 13px; direction: ltr; text-align: end; }
.product-stats { display: flex; flex-wrap: wrap; gap: 40px; margin-top: 40px; padding-top: 28px; border-top: 1px solid var(--line); }
.product-stats b { display: block; font-size: 26px; font-weight: 800; color: var(--brand); direction: ltr; text-align: end; }
.product-stats span { font-size: 14px; color: var(--muted); }

/* Product interface preview */
/* Product-colored pages: the product color drives accents only (buttons, labels, icons, active states).
   Large surfaces stay neutral so every hue, red and purple included, reads clean; header and footer keep the Vira colors. */
.product-page.themed {
    --brand: var(--pc);
    --brand-dark: color-mix(in oklch, var(--pc) 80%, #000);
    --brand-2: var(--pc);
    --brand-tint: color-mix(in srgb, var(--pc) 8%, #fff);
    --navy: #17154A;
    --navy-text: #C2C1DC;
    --shadow-lg: 0 12px 32px -12px rgba(17, 24, 39, .2);
}
.product-page.themed .page-hero { background: linear-gradient(180deg, #F5F6F8 0%, #fff 100%); }
.product-page.themed .hero-bg .grid { background-image: linear-gradient(rgba(17, 24, 39, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(17, 24, 39, .045) 1px, transparent 1px); }
/* Closing contact card on product pages: light and quiet; the product color only marks the label and the main action */
.product-page.themed .cta { background: #fff; color: var(--ink); padding: 44px 48px; box-shadow: 0 0 0 1px var(--line), 0 24px 48px -36px rgba(17, 24, 39, .25);
    background-image: radial-gradient(45% 140% at 0% 0%, color-mix(in srgb, var(--pc) 6%, transparent), transparent 72%); }
.product-page.themed .cta::after { display: none; }
.product-page.themed .cta p { color: var(--muted); }
.product-page.themed .cta .eyebrow { color: var(--pc); }
.product-page.themed .cta .eyebrow::before { background: var(--pc); }
.product-page.themed .cta .btn-light { background: var(--pc); color: #fff; border-color: transparent; }
.product-page.themed .cta .btn-light:hover { background: var(--brand-dark); }
.product-page.themed .cta .btn-on-navy { background: #fff; color: var(--ink); border: 1px solid var(--line); }
.product-page.themed .cta .btn-on-navy:hover { border-color: var(--pc); color: var(--pc); }

/* Related products step outside the page theme: Vira colors, and every card its own product color */
.product-page.themed .related { --brand: #2D2A84; --brand-dark: #211E66; --brand-2: #92278F; --brand-tint: #F1F1F8; --shadow-lg: 0 12px 32px -12px rgba(45, 42, 132, .22); }
.product-page.themed .related .p-card .link-arrow { color: var(--pc); }

/* ---------- Recreated product screens (HTML/SVG) ----------
   Neutral, dense and quiet: grays carry the interface, the product color --pc is only an accent. */
.ui-stage { position: relative; padding: 8px 0 28px; }
.ui-stage::before { content: ""; position: absolute; inset: 14% 14% 4%; z-index: 0; border-radius: 50%;
    background: radial-gradient(closest-side, color-mix(in srgb, var(--pc) 9%, transparent), transparent); pointer-events: none; }
.ui-win { --ui-line: rgba(17, 24, 39, .08); --ui-line-2: rgba(17, 24, 39, .05); --ui-ink: #111827; --ui-ink-2: #374151; --ui-mut: #6B7280; --ui-faint: #9CA3AF;
    --ui-tint: color-mix(in srgb, var(--pc) 7%, #fff); --ui-acc: color-mix(in oklch, var(--pc) 85%, #000);
    position: relative; z-index: 1; border-radius: 12px; overflow: hidden; background: #fff; text-align: start; color: var(--ui-ink);
    font-size: 12px; line-height: 1.6; font-feature-settings: "tnum";
    box-shadow: 0 0 0 1px rgba(17, 24, 39, .07), 0 1px 2px rgba(17, 24, 39, .04), 0 24px 48px -20px rgba(17, 24, 39, .22), 0 60px 90px -50px color-mix(in srgb, var(--pc) 45%, transparent);
    -webkit-mask-image: linear-gradient(#000 93%, transparent); mask-image: linear-gradient(#000 93%, transparent); }
.ui-win .icon { width: 14px; height: 14px; stroke-width: 1.8; }
.ui-win .ltr { direction: ltr; unicode-bidi: isolate; }
.ui-bar { display: flex; align-items: center; gap: 6px; height: 34px; padding: 0 14px; background: #FBFBFC; border-bottom: 1px solid var(--ui-line); direction: ltr; }
.ui-bar i { width: 9px; height: 9px; border-radius: 50%; background: #E5E7EB; }
.ui-bar span { margin-inline: auto; font-size: 11px; color: var(--ui-faint); letter-spacing: .01em; }
.ui-app { display: grid; grid-template-columns: 188px 1fr; min-height: 540px; }
.ui-side { display: flex; flex-direction: column; gap: 1px; padding: 12px 10px; background: #FBFBFC; border-inline-end: 1px solid var(--ui-line); }
.ui-brand { display: flex; align-items: center; gap: 8px; padding: 4px 8px 14px; font-weight: 700; font-size: 12.5px; direction: ltr; justify-content: flex-end; }
.ui-logo { width: 22px; height: 22px; border-radius: 6px; display: grid; place-items: center; color: #fff; background: var(--pc); }
.ui-logo .icon { width: 13px; height: 13px; }
.ui-nav { display: flex; align-items: center; gap: 9px; height: 30px; padding: 0 8px; border-radius: 6px; color: var(--ui-mut); font-size: 12px; }
.ui-nav.on { background: rgba(17, 24, 39, .05); color: var(--ui-ink); font-weight: 600; }
.ui-nav.on .icon { color: var(--pc); }
.ui-nav-sep { height: 1px; background: var(--ui-line); margin: 8px 6px; }
.ui-side-foot { margin-top: auto; padding: 10px 8px 2px; border-top: 1px solid var(--ui-line); font-size: 11px; color: var(--ui-mut); }
.ui-side-foot b { display: block; color: var(--ui-ink); font-size: 13px; }
.ui-main { min-width: 0; display: flex; flex-direction: column; }
.ui-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; height: 52px; padding: 0 20px; border-bottom: 1px solid var(--ui-line); }
.ui-title { display: flex; align-items: baseline; gap: 10px; }
.ui-title b { font-size: 13.5px; font-weight: 700; }
.ui-title small { font-size: 11.5px; color: var(--ui-faint); }
.ui-top-actions { display: flex; align-items: center; gap: 8px; }
.ui-kbd { display: inline-flex; align-items: center; gap: 8px; height: 28px; padding: 0 10px; border-radius: 6px; box-shadow: inset 0 0 0 1px var(--ui-line); color: var(--ui-faint); font-size: 11.5px; min-width: 170px; }
.ui-avatar { width: 26px; height: 26px; border-radius: 50%; background: linear-gradient(135deg, #E5E7EB, #D1D5DB); color: var(--ui-ink-2); display: grid; place-items: center; font-weight: 700; font-size: 11px; }
.ui-content { padding: 18px 20px 26px; flex: 1; display: grid; gap: 14px; align-content: start; }
.ui-grid { display: grid; gap: 12px; }
.ui-card { background: #fff; border-radius: 10px; padding: 14px 16px; min-width: 0; box-shadow: 0 0 0 1px var(--ui-line), 0 1px 2px rgba(17, 24, 39, .03); }
.ui-card-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 12px; }
.ui-card-head b { font-size: 12.5px; font-weight: 600; }
.ui-card-head small { font-size: 11px; color: var(--ui-faint); }
.ui-label { font-size: 11px; color: var(--ui-mut); }

/* KPIs */
.ui-kpis { grid-template-columns: repeat(4, 1fr); }
.ui-kpi .ui-label { display: flex; align-items: center; gap: 6px; }
.ui-kpi b { display: block; font-size: 21px; font-weight: 700; letter-spacing: -.02em; margin: 6px 0 2px; color: var(--ui-ink); direction: ltr; text-align: right; }
.ui-kpi b em { font-style: normal; font-size: 11px; font-weight: 500; color: var(--ui-faint); margin-inline-start: 4px; letter-spacing: 0; }
.ui-delta { font-size: 11px; color: var(--ui-mut); }
.ui-delta.up { color: #047857; }
.ui-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--pc); display: inline-block; }
.ui-spark { display: block; width: 100%; height: 26px; margin-top: 8px; color: var(--pc); }
.ui-spark path { fill: none; stroke: currentColor; stroke-width: 1.5; vector-effect: non-scaling-stroke; }
.ui-meter { display: block; height: 4px; border-radius: 4px; background: rgba(17, 24, 39, .06); overflow: hidden; margin-top: 10px; }
.ui-meter i { display: block; height: 100%; width: var(--w); border-radius: inherit; background: var(--pc); }

/* charts */
.ui-row2 { grid-template-columns: 1.8fr 1fr; }
.ui-legend { display: inline-flex; align-items: center; gap: 12px; font-size: 11px; color: var(--ui-mut); }
.ui-legend span { display: inline-flex; align-items: center; gap: 5px; }
.ui-legend i { width: 8px; height: 2px; border-radius: 2px; display: inline-block; background: var(--pc); }
.ui-legend i.b { background: #94A3B8; }
.ui-chart-wrap { position: relative; padding-inline-start: 28px; }
.ui-yaxis { position: absolute; inset-inline-start: 0; top: 0; bottom: 18px; display: flex; flex-direction: column; justify-content: space-between; font-size: 10px; color: var(--ui-faint); }
.ui-svg { display: block; width: 100%; height: 170px; color: var(--pc); overflow: visible; }
.ui-gridlines line { stroke: rgba(17, 24, 39, .06); stroke-width: 1; vector-effect: non-scaling-stroke; }
.ui-area { fill: url(#ui-area); }
.ui-line { fill: none; stroke: var(--pc); stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; vector-effect: non-scaling-stroke; }
.ui-line.b { stroke: #94A3B8; stroke-width: 1.25; stroke-dasharray: 1; }
.ui-xaxis { display: flex; justify-content: space-between; font-size: 10px; color: var(--ui-faint); margin-top: 6px; direction: ltr; }
.ui-marker { position: absolute; width: 9px; height: 9px; margin: -4.5px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 2px var(--pc), 0 0 0 6px color-mix(in srgb, var(--pc) 18%, transparent); }
.ui-tip { position: absolute; transform: translate(-50%, -100%); margin-top: -14px; padding: 6px 9px; border-radius: 7px; background: #111827; color: #fff; font-size: 10.5px; white-space: nowrap; box-shadow: 0 8px 16px -8px rgba(0,0,0,.4); }
.ui-tip b { font-weight: 700; }
.ui-donut-body { position: relative; width: 132px; margin: 4px auto 14px; }
.ui-ring { display: block; width: 100%; transform: rotate(-90deg); }
.ui-ring circle { fill: none; stroke-width: 3.2; }
.ui-ring .track { stroke: rgba(17, 24, 39, .06); }
.ui-ring .seg { stroke-dasharray: var(--len) 100; stroke-dashoffset: var(--off); stroke-linecap: butt; }
.ui-ring .s1, .ui-keys .s1 { stroke: var(--pc); background: var(--pc); }
.ui-ring .s2, .ui-keys .s2 { stroke: color-mix(in srgb, var(--pc) 55%, #fff); background: color-mix(in srgb, var(--pc) 55%, #fff); }
.ui-ring .s3, .ui-keys .s3 { stroke: #94A3B8; background: #94A3B8; }
.ui-ring .s4, .ui-keys .s4 { stroke: #CBD5E1; background: #CBD5E1; }
.ui-ring-center { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; }
.ui-ring-center small { font-size: 10px; color: var(--ui-faint); }
.ui-ring-center b { font-size: 16px; font-weight: 700; letter-spacing: -.02em; }
.ui-keys { list-style: none; padding: 0; margin: 0; display: grid; gap: 7px; font-size: 11.5px; color: var(--ui-ink-2); }
.ui-keys li { display: flex; align-items: center; gap: 8px; }
.ui-keys li span { margin-inline-start: auto; color: var(--ui-mut); }
.ui-keys i { width: 7px; height: 7px; border-radius: 2px; }

/* controls */
.ui-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 28px; padding: 0 11px; border-radius: 6px; font-size: 11.5px; font-weight: 600; white-space: nowrap; }
.ui-btn.sm { height: 24px; padding: 0 9px; font-size: 11px; }
.ui-btn-primary { background: var(--pc); color: #fff; box-shadow: inset 0 1px 0 rgba(255,255,255,.18), 0 1px 2px rgba(17,24,39,.15); }
.ui-btn-ghost { box-shadow: inset 0 0 0 1px var(--ui-line); color: var(--ui-ink-2); background: #fff; }
.ui-field { display: inline-flex; align-items: center; gap: 7px; height: 28px; padding: 0 10px; border-radius: 6px; box-shadow: inset 0 0 0 1px var(--ui-line); color: var(--ui-faint); background: #fff; font-size: 11.5px; }

/* send */
.ui-send { grid-template-columns: 1.65fr 1fr; align-items: start; }
.ui-stack { display: grid; gap: 12px; }
.ui-step { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; }
.ui-step > span:first-child { width: 18px; height: 18px; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--ui-line); color: var(--ui-mut); display: grid; place-items: center; font-size: 10px; font-weight: 700; }
.ui-step b { font-size: 12.5px; font-weight: 600; }
.ui-step .ui-btn { margin-inline-start: auto; }
.ui-seg { display: inline-flex; gap: 2px; padding: 2px; border-radius: 7px; background: rgba(17, 24, 39, .045); margin-bottom: 12px; }
.ui-seg span { padding: 4px 10px; border-radius: 5px; font-size: 11px; color: var(--ui-mut); }
.ui-seg span.on { background: #fff; color: var(--ui-ink); font-weight: 600; box-shadow: 0 1px 2px rgba(17,24,39,.08), 0 0 0 1px var(--ui-line); }
.ui-tags { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; min-height: 36px; padding: 5px 6px; border-radius: 7px; box-shadow: inset 0 0 0 1px var(--ui-line); }
.ui-tag { display: inline-flex; align-items: center; gap: 6px; height: 24px; padding: 0 8px; border-radius: 5px; background: rgba(17, 24, 39, .045); color: var(--ui-ink-2); font-size: 11px; font-weight: 500; }
.ui-tag .icon { width: 11px; height: 11px; color: var(--ui-faint); }
.ui-tag em { font-style: normal; color: var(--ui-faint); }
.ui-hint { display: flex; align-items: center; gap: 6px; margin: 10px 0 0; font-size: 11px; color: var(--ui-mut); }
.ui-hint .icon { color: #047857; }
.ui-textarea { border-radius: 7px; padding: 10px 12px; min-height: 70px; line-height: 1.9; font-size: 12px; color: var(--ui-ink-2);
    box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--pc) 55%, transparent), 0 0 0 3px color-mix(in srgb, var(--pc) 10%, transparent); }
.ui-caret { display: inline-block; width: 1px; height: 14px; background: var(--ui-ink); vertical-align: -2px; margin-inline-start: 1px; }
.ui-counters { display: flex; gap: 14px; margin-top: 10px; font-size: 11px; color: var(--ui-faint); }
.ui-counters b { color: var(--ui-ink-2); font-weight: 600; }
.ui-row-between { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.ui-row-between .ui-step { margin: 0; }
.ui-switch { width: 28px; height: 16px; border-radius: 16px; background: #D1D5DB; position: relative; }
.ui-switch i { position: absolute; top: 2px; right: 2px; width: 12px; height: 12px; border-radius: 50%; background: #fff; box-shadow: 0 1px 2px rgba(0,0,0,.2); }
.ui-switch.on { background: var(--pc); }
.ui-switch.on i { right: auto; left: 2px; }
.ui-row-between .ui-field { margin-inline-start: auto; color: var(--ui-ink-2); }
.ui-cost { display: grid; }
.ui-kv { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px solid var(--ui-line-2); font-size: 11.5px; color: var(--ui-mut); }
.ui-kv b { color: var(--ui-ink); font-weight: 600; }
.ui-kv.total { border-bottom: 0; padding-top: 10px; }
.ui-kv.total b { font-size: 15px; letter-spacing: -.01em; }
.ui-cost .ui-btn { margin-top: 12px; height: 32px; }
.ui-notif { border-radius: 12px; padding: 10px 12px; background: rgba(255,255,255,.9); box-shadow: 0 0 0 1px var(--ui-line), 0 12px 24px -12px rgba(17,24,39,.25); }
.ui-notif-head { display: flex; align-items: center; gap: 7px; font-size: 10.5px; color: var(--ui-faint); margin-bottom: 4px; }
.ui-notif-head b { color: var(--ui-ink-2); font-weight: 600; direction: ltr; }
.ui-notif-head span { margin-inline-start: auto; }
.ui-notif-head .ui-logo { width: 16px; height: 16px; border-radius: 4px; }
.ui-notif-head .ui-logo .icon { width: 10px; height: 10px; }
.ui-notif p { margin: 0; font-size: 11.5px; line-height: 1.85; color: var(--ui-ink-2); }

/* bubbles */
.ui-bubble { max-width: 78%; padding: 8px 11px; border-radius: 10px; font-size: 11.5px; line-height: 1.85; color: var(--ui-ink-2); }
.ui-bubble small { display: flex; align-items: center; gap: 4px; margin-top: 3px; font-size: 10px; color: var(--ui-faint); }
.ui-bubble small .icon { width: 11px; height: 11px; }
.ui-bubble.in { background: #fff; box-shadow: 0 0 0 1px var(--ui-line); justify-self: start; }
.ui-bubble.out { background: var(--ui-tint); box-shadow: 0 0 0 1px color-mix(in srgb, var(--pc) 14%, transparent); justify-self: end; }
.ui-badge { display: inline-flex; align-items: center; gap: 4px; padding: 0 6px; height: 17px; border-radius: 4px; background: #fff; box-shadow: 0 0 0 1px var(--ui-line); color: var(--ui-acc); font-size: 10px; font-weight: 600; }

/* delivery */
.ui-kpi .c-ok, .ui-kpi .c-info, .ui-kpi .c-bad { color: var(--ui-ink); }
.ui-status { display: inline-flex; align-items: center; gap: 6px; font-size: 11.5px; color: var(--ui-ink-2); }
.ui-status::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--c, #9CA3AF); box-shadow: 0 0 0 3px color-mix(in srgb, var(--c, #9CA3AF) 18%, transparent); }
.ui-status.ok { --c: #059669; } .ui-status.info { --c: #3B82F6; } .ui-status.bad { --c: #DC2626; }
.ui-progress { display: flex; height: 4px; border-radius: 4px; overflow: hidden; background: rgba(17, 24, 39, .06); gap: 2px; margin-top: 12px; }
.ui-progress i { width: var(--w); }
.ui-progress .ok { background: #059669; } .ui-progress .info { background: #3B82F6; } .ui-progress .bad { background: #DC2626; }
.ui-table { padding: 12px 0 4px; }
.ui-table .ui-card-head { padding: 0 16px; }
.ui-tools { display: flex; gap: 6px; }
.ui-tr { display: grid; grid-template-columns: 1.3fr 1fr .9fr .9fr .7fr; align-items: center; gap: 8px; height: 38px; padding: 0 16px; border-top: 1px solid var(--ui-line-2); font-size: 11.5px; color: var(--ui-ink-2); }
.ui-tr.th { height: 30px; color: var(--ui-faint); font-size: 10.5px; font-weight: 500; border-top: 1px solid var(--ui-line); background: #FBFBFC; }
.ui-tr .ltr { direction: ltr; text-align: end; }
.ui-tr .mut { color: var(--ui-faint); }
.ui-tr .ui-btn { justify-self: end; }

/* inbox */
.ui-inbox { grid-template-columns: 240px minmax(0, 1fr); gap: 0; padding: 0; overflow: hidden; }
.ui-list { display: grid; gap: 1px; align-content: start; padding: 10px 8px; border-inline-end: 1px solid var(--ui-line); background: #FCFCFD; }
.ui-list .ui-field { margin: 0 2px 8px; }
.ui-conv { display: grid; grid-template-columns: 28px 1fr auto; gap: 9px; align-items: center; padding: 8px; border-radius: 7px; }
.ui-conv.on { background: rgba(17, 24, 39, .05); }
.ui-conv > div { min-width: 0; }
.ui-conv b { display: block; font-size: 11.5px; font-weight: 600; text-align: right; }
.ui-conv small { display: block; font-size: 11px; color: var(--ui-mut); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ui-conv time { font-size: 10px; color: var(--ui-faint); align-self: start; padding-top: 2px; }
.ui-conv.unread b::after { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--pc); margin-inline-start: 6px; vertical-align: 1px; }
.ui-av { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(135deg, #F3F4F6, #E5E7EB); color: var(--ui-mut); font-weight: 600; font-size: 11px; }
.ui-thread { display: flex; flex-direction: column; padding: 12px 16px 14px; }
.ui-thread .ui-card-head { padding-bottom: 10px; border-bottom: 1px solid var(--ui-line-2); }
.ui-msgs { display: grid; gap: 10px; padding: 14px 0; flex: 1; align-content: start; }
.ui-day { justify-self: center; font-size: 10px; color: var(--ui-faint); }
.ui-compose { display: flex; align-items: center; justify-content: space-between; gap: 10px; height: 38px; padding: 0 5px 0 0; padding-inline: 12px 5px; border-radius: 8px; box-shadow: inset 0 0 0 1px var(--ui-line); color: var(--ui-faint); font-size: 11.5px; }

/* compact window (product hero): icon-only sidebar, three KPIs */
.ui-compact .ui-app { grid-template-columns: 52px 1fr; min-height: 0; }
.ui-compact .ui-side { padding: 10px 7px; align-items: center; }
.ui-compact .ui-brand { padding: 2px 0 10px; }
.ui-compact .ui-brand-name, .ui-compact .ui-nav-label, .ui-compact .ui-side-foot, .ui-compact .ui-kbd { display: none; }
.ui-compact .ui-nav { width: 34px; padding: 0; justify-content: center; }
.ui-compact .ui-content { padding: 14px 16px 22px; gap: 12px; }
.ui-compact .ui-kpis { grid-template-columns: repeat(3, 1fr); }
.ui-compact .ui-kpi b { font-size: 18px; }
.ui-mini-list { padding: 12px 0 4px; }
.ui-mini-list .ui-card-head { padding: 0 14px; margin-bottom: 6px; }
.ui-mini-row { display: grid; grid-template-columns: 1fr auto auto; gap: 14px; align-items: center; height: 34px; padding: 0 14px; border-top: 1px solid var(--ui-line-2); font-size: 11.5px; color: var(--ui-ink-2); }
.ui-mini-row > span:first-child { display: flex; align-items: center; gap: 7px; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ui-mini-row > span:first-child .icon { color: var(--ui-faint); flex-shrink: 0; }
.ui-mini-row .mut { color: var(--ui-faint); font-size: 11px; }
.ui-hero-stage { padding: 0; }
.ui-hero-stage .ui-float.bl { bottom: auto; top: 200px; left: -26px; }
.ui-hero-stage .ui-win .ui-line, .ui-hero-stage .ui-ring .seg { animation: ui-draw 1.8s .3s cubic-bezier(.3, .7, .2, 1) both; }
@media (prefers-reduced-motion: reduce) { .ui-hero-stage .ui-win .ui-line { animation: none; } }

/* floating cards that give the composition depth */
.ui-float { position: absolute; z-index: 2; border-radius: 10px; background: #fff; padding: 10px 12px; font-size: 11.5px; color: var(--ui-ink-2);
    box-shadow: 0 0 0 1px rgba(17, 24, 39, .07), 0 18px 36px -16px rgba(17, 24, 39, .3); display: flex; align-items: center; gap: 10px; text-align: start; }
.ui-float b { display: block; color: var(--ui-ink); font-size: 12px; }
.ui-float small { font-size: 10.5px; color: var(--ui-faint); }
.ui-float .ic { width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; background: var(--ui-tint, color-mix(in srgb, var(--pc) 8%, #fff)); color: var(--pc); flex-shrink: 0; }
.ui-float .ic .icon { width: 15px; height: 15px; }
.ui-float.tl { top: 60px; left: -26px; } .ui-float.br { bottom: 60px; right: -26px; } .ui-float.bl { bottom: 70px; left: -30px; }

/* motion: replayed whenever a tour tab is shown */
@media (prefers-reduced-motion: no-preference) {
    .tour-panel:not([hidden]) .ui-line { animation: ui-draw 1.8s cubic-bezier(.3, .7, .2, 1) both; }
    .tour-panel:not([hidden]) .ui-line.b { animation-delay: .2s; }
    .tour-panel:not([hidden]) .ui-area, .tour-panel:not([hidden]) .ui-marker, .tour-panel:not([hidden]) .ui-tip { animation: ui-fade .7s 1.1s both; }
    .tour-panel:not([hidden]) .ui-ring .seg { animation: ui-ring 1.3s cubic-bezier(.3, .7, .2, 1) both; }
    .tour-panel:not([hidden]) .ui-meter i, .tour-panel:not([hidden]) .ui-progress i { animation: ui-grow 1.2s cubic-bezier(.3, .7, .2, 1) both; transform-origin: right; }
    .tour-panel:not([hidden]) .ui-caret { animation: ui-blink 1.1s steps(1) infinite; }
    .tour-panel:not([hidden]) .ui-msgs .ui-bubble { animation: ui-rise .45s cubic-bezier(.3, .7, .2, 1) both; }
    .tour-panel:not([hidden]) .ui-msgs .ui-bubble:nth-child(3) { animation-delay: .2s; }
    .tour-panel:not([hidden]) .ui-msgs .ui-bubble:nth-child(4) { animation-delay: .4s; }
    .tour-panel:not([hidden]) .ui-msgs .ui-bubble:nth-child(5) { animation-delay: .6s; }
    .tour-panel:not([hidden]) .ui-float { animation: ui-rise .6s .5s cubic-bezier(.3, .7, .2, 1) both; }
}
@keyframes ui-draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes ui-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes ui-ring { from { stroke-dasharray: 0 100; } }
@keyframes ui-grow { from { transform: scaleX(0); } to { transform: none; } }
@keyframes ui-blink { 50% { opacity: 0; } }
@keyframes ui-rise { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

@media (max-width: 900px) {
    .ui-app { grid-template-columns: 1fr; min-height: 0; }
    .ui-side, .ui-kbd, .ui-float { display: none; }
    .ui-kpis { grid-template-columns: 1fr 1fr; }
    .ui-row2, .ui-send { grid-template-columns: 1fr; }
    .ui-inbox { grid-template-columns: 1fr; }
    .ui-list { display: none; }
    .ui-tr { grid-template-columns: 1.4fr 1fr 1fr; }
    .ui-tr > :nth-child(3), .ui-tr > :nth-child(5) { display: none; }
}

/* Real product screens */
.shot-frame { margin: 0; border-radius: var(--radius-lg); overflow: hidden; background: #fff; border: 1px solid var(--line); box-shadow: 0 30px 60px -32px color-mix(in srgb, var(--pc, var(--brand)) 40%, rgba(22, 21, 58, .3)), var(--shadow); }
.shot-frame img { display: block; width: 100%; height: auto; }
.tour { max-width: 1040px; margin: 0 auto; }
.tour .tabs { margin-bottom: 24px; }
.tour .tab.active { background: var(--pc, var(--brand)); }
.tour-panel { margin: 0; }
.tour-panel figcaption { text-align: center; margin-top: 18px; font-size: 15px; color: var(--muted); }
.tour-cta { max-width: 1040px; margin-inline: auto; display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 32px; padding: 22px 26px; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); }
.tour-cta b { display: block; font-size: 17px; }
.tour-cta span { font-size: 14px; color: var(--muted); }
.tour-cta .btn-primary { background: var(--pc, var(--brand)); }
@media (max-width: 960px) {
    .tour-cta { flex-direction: column; align-items: flex-start; }
}

.cap-list { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 22px; }
.cap-list li { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: 10px; background: var(--surface-2); font-size: 14px; font-weight: 600; color: var(--ink-2); }
.cap-list li .icon { width: 18px; height: 18px; color: var(--brand-2); flex-shrink: 0; margin-top: 4px; }
.integrations { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.integrations span { padding: 7px 14px; border-radius: 8px; border: 1px solid var(--line); font-weight: 600; font-size: 14px; color: var(--ink-2); }
.usecase { padding: 28px; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--pc, var(--brand)); }
.usecase .n { font-size: 14px; font-weight: 800; color: var(--brand-2); }
.usecase h3 { font-size: 18px; margin-top: 10px; }
.usecase p { margin-top: 8px; font-size: 15px; color: var(--muted); }

/* Section menu (sticky under the header) */
.subnav { position: sticky; top: var(--header-h); z-index: 50; background: rgba(255, 255, 255, .97); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.subnav .container { display: flex; align-items: center; gap: 24px; height: 56px; }
.subnav-title { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 15px; color: var(--ink); direction: ltr; white-space: nowrap; }
.subnav-title .icon-box { width: 30px; height: 30px; border-radius: 8px; }
.subnav-title .icon-box .icon { width: 16px; height: 16px; }
.subnav ul { display: flex; height: 100%; overflow-x: auto; scrollbar-width: none; }
.subnav ul a { display: flex; align-items: center; height: 100%; padding-inline: 14px; font-size: 14px; font-weight: 600; color: var(--muted); white-space: nowrap; border-bottom: 2px solid transparent; transition: color .2s, border-color .2s; }
.subnav ul a:hover { color: var(--ink); }
.subnav ul a.active { color: var(--brand); border-bottom-color: var(--pc, var(--brand)); }
.subnav-actions { margin-inline-start: auto; display: flex; gap: 8px; }
.subnav-actions .btn { height: 38px; padding-inline: 16px; font-size: 13px; }

/* Scenarios */
.scenarios { display: grid; grid-template-columns: 320px 1fr; gap: 28px; align-items: start; }
.scenario-tabs { display: grid; gap: 6px; }
.scenario-tabs button { display: flex; align-items: center; gap: 10px; text-align: start; padding: 13px 16px; border-radius: 10px; border: 1px solid transparent; background: transparent; font-size: 15px; font-weight: 600; color: var(--ink-2); cursor: pointer; transition: background .2s, border-color .2s, color .2s; }
.scenario-tabs button .icon { width: 18px; height: 18px; color: var(--muted); flex-shrink: 0; }
.scenario-tabs button:hover { background: #fff; }
.scenario-tabs button.active { background: #fff; border-color: var(--line); color: var(--ink); box-shadow: var(--shadow); }
.scenario-tabs button.active .icon { color: var(--pc, var(--brand)); }
.scenario-panel { background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--pc, var(--brand)); border-radius: var(--radius-lg); padding: 36px; min-height: 300px; display: flex; flex-direction: column; }
.scenario-panel[hidden] { display: none; }
.scenario-top { display: flex; align-items: center; justify-content: space-between; }
.scenario-count { font-size: 13px; font-weight: 700; color: var(--muted); }
.scenario-panel h3 { font-size: 24px; margin-top: 22px; }
.scenario-panel p { color: var(--muted); font-size: 17px; margin-top: 12px; max-width: 620px; line-height: 2; }
.scenario-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: auto; padding-top: 28px; }
.scenario-nav { display: flex; gap: 8px; }
.scenario-nav button { width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--line); background: #fff; color: var(--ink-2); display: grid; place-items: center; cursor: pointer; transition: border-color .2s, color .2s; }
.scenario-nav button:hover { border-color: var(--brand); color: var(--brand); }
.scenario-nav .icon { width: 18px; height: 18px; }

/* Editions */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 32px 28px; }
.plan.featured { border: 2px solid var(--pc, var(--brand)); box-shadow: var(--shadow-lg); }
.plan-badge { position: absolute; top: -13px; inset-inline-start: 24px; background: var(--pc, var(--brand)); color: #fff; font-size: 12px; font-weight: 700; padding: 3px 12px; border-radius: 6px; }
.plan-brand { font-size: 13px; font-weight: 700; color: var(--pc, var(--brand)); direction: ltr; text-align: end; }
.plan h3 { font-size: 22px; margin-top: 2px; }
.plan-for { color: var(--muted); font-size: 15px; margin-top: 4px; min-height: 56px; }
.plan .btn { width: 100%; margin-top: 18px; }
.plan h4 { font-size: 14px; color: var(--ink-2); margin-top: 26px; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.plan ul { display: grid; gap: 8px; margin-top: 12px; }
.plan li { display: flex; gap: 8px; align-items: flex-start; font-size: 14px; color: var(--ink-2); }
.plan li .icon { width: 17px; height: 17px; color: var(--pc, var(--brand)); flex-shrink: 0; margin-top: 4px; }

/* FAQ tools and numbering */
.faq-tools { display: flex; justify-content: flex-end; gap: 18px; padding: 12px 4px; }
.faq-tools button { background: none; border: 0; color: var(--brand); font-weight: 700; font-size: 14px; cursor: pointer; padding: 0; }
.faq-tools button:hover { text-decoration: underline; text-underline-offset: 4px; }
.faq-no { color: var(--muted); font-size: 15px; min-width: 40px; }
.faq summary .faq-q { flex: 1; }

/* ---------- Services ---------- */
.service-card ul { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 6px; }
.service-card li { font-size: 13px; font-weight: 600; padding: 4px 10px; border-radius: 6px; background: var(--surface-2); color: var(--ink-2); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 32px; align-items: start; }
.info-card { display: flex; gap: 16px; align-items: center; padding: 20px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.info-card small { display: block; color: var(--muted); font-size: 13px; }
.info-card b { font-size: 16px; }
.map { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); height: 400px; }
.map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(.6); }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: var(--navy-text); padding-top: 80px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 48px; padding-bottom: 56px; }
.footer-about p { margin-top: 20px; font-size: 15px; max-width: 360px; }
.site-footer h4 { color: #fff; font-size: 16px; margin-bottom: 18px; }
.site-footer ul { display: grid; gap: 10px; }
.site-footer ul a { font-size: 15px; transition: color .2s; }
.site-footer ul a:hover { color: #fff; }
.socials { display: flex; gap: 10px; margin-top: 24px; }
.socials a { width: 40px; height: 40px; border-radius: 8px; display: grid; place-items: center; border: 1px solid var(--navy-line); transition: background .2s; }
.socials a:hover { background: rgba(255, 255, 255, .1); color: #fff; }
.socials .icon { width: 18px; height: 18px; }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; }
.footer-contact .icon { width: 18px; height: 18px; color: #fff; opacity: .6; flex-shrink: 0; margin-top: 5px; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; padding-block: 24px; border-top: 1px solid var(--navy-line); font-size: 14px; }
.footer-link-all { color: #fff; font-weight: 700; }

/* ---------- Motion (subtle) ---------- */
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s var(--ease), transform .6s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.in { opacity: 1; transform: none; }
.to-top { position: fixed; bottom: 24px; inset-inline-start: 24px; z-index: 90; width: 44px; height: 44px; border-radius: 10px; border: 1px solid var(--line); cursor: pointer; display: grid; place-items: center; background: #fff; color: var(--brand); box-shadow: var(--shadow); opacity: 0; pointer-events: none; transition: opacity .3s; }
.to-top.show { opacity: 1; pointer-events: auto; }
.to-top .icon { width: 20px; height: 20px; transform: rotate(90deg); }
.p-card.fade-in { animation: fadeUp .35s var(--ease) both; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(8px); } }

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
    .js .reveal { opacity: 1; transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
    .nav, .header-phone { display: none; }
    .menu-toggle { display: grid; }
    .header-cta { margin-inline-start: auto; }
}
@media (max-width: 1024px) {
    .section { padding-block: 80px; }
    .hero-grid, .product-hero-grid, .split, .cta-grid, .contact-grid { grid-template-columns: 1fr; }
    .product-grid, .grid-3 { grid-template-columns: repeat(2, 1fr); }
    .grid-4 { grid-template-columns: repeat(2, 1fr); }
    .process { grid-template-columns: repeat(3, 1fr); row-gap: 36px; }
    .stats { grid-template-columns: repeat(2, 1fr); }
    .stat:nth-child(3) { border-inline-start: 0; }
    .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .cta { padding: 44px 36px; }
    .cta-actions { justify-content: flex-start; }
    .scenarios { grid-template-columns: 1fr; }
    .scenario-tabs { display: flex; overflow-x: auto; scrollbar-width: none; }
    .scenario-tabs button { flex-shrink: 0; white-space: nowrap; }
    .plans { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; }
    .subnav-title, .subnav-actions .btn-outline { display: none; }
}
@media (max-width: 640px) {
    :root { --header-h: 68px; }
    .container { padding-inline: 16px; }
    .section { padding-block: 64px; }
    .section-head { margin-bottom: 36px; }
    .header-cta .btn { display: none; }
    .brand-logo { height: 40px; }
    .hero { padding-top: calc(var(--header-h) + 40px); padding-bottom: 64px; }
    .hero-actions .btn { flex: 1; }
    .product-grid, .grid-3, .grid-2, .grid-4, .form-grid, .cap-list, .standards { grid-template-columns: 1fr; }
    .process { grid-template-columns: 1fr 1fr; }
    .stat { padding: 22px 18px; }
    .footer-grid { grid-template-columns: 1fr; gap: 32px; }
    .form-card { padding: 22px; }
    .cta { padding: 36px 24px; }
    .mega { display: none; }
    .tabs { flex-wrap: nowrap; overflow-x: auto; justify-content: flex-start; scrollbar-width: none; }
    .tab { flex-shrink: 0; }
    .logo-chip { width: calc(50% - 8px); }
    .subnav-actions { display: none; }
    .scenario-panel { padding: 24px; min-height: 0; }
    .scenario-foot { flex-wrap: wrap; }
}

/* ==========================================================================
   Phone refinements
   ========================================================================== */
@media (max-width: 640px) {
    body { font-size: 15px; padding-bottom: calc(76px + env(safe-area-inset-bottom)); }
    .section { padding-block: 56px; }
    .section-head h2 { font-size: 24px; margin-top: 10px; }
    .section-head p { font-size: 15px; }
    .section-head.center .eyebrow::after, .section-head.center .eyebrow::before { width: 18px; }

    /* Action bar */
    .m-bar {
        position: fixed; inset-inline: 0; bottom: 0; z-index: 95; display: grid; grid-template-columns: 1fr 1.6fr; gap: 10px;
        padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
        background: rgba(255, 255, 255, .96); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
        border-top: 1px solid var(--line); box-shadow: 0 -6px 20px -12px rgba(22, 21, 58, .25);
    }
    .m-bar .btn { height: 48px; font-size: 15px; }
    .to-top { bottom: calc(84px + env(safe-area-inset-bottom)); inset-inline-start: 16px; width: 42px; height: 42px; }

    /* Header */
    .site-header { background: #fff; }
    .menu-toggle { width: 44px; height: 44px; }

    /* Hero */
    .hero { padding-top: calc(var(--header-h) + 28px); padding-bottom: 48px; }
    .hero h1 { font-size: 30px; line-height: 1.5; }
    .hero-lead { font-size: 16px; margin-top: 14px; }
    .hero-actions { margin-top: 26px; gap: 10px; }
    .hero-actions .btn { height: 50px; }
    .hero-points { flex-direction: column; gap: 10px; margin-top: 28px; padding-top: 22px; }
    .hero-grid { gap: 36px; }
    .platform-head { padding: 14px 16px; }
    .platform-body { padding: 10px; gap: 6px; }
    .layer { padding: 10px 12px; gap: 12px; }
    .layer .icon-box { width: 36px; height: 36px; border-radius: 9px; }
    .layer .icon-box .icon { width: 18px; height: 18px; }
    .layer b { font-size: 14px; }
    .layer small { font-size: 12px; line-height: 1.6; }

    /* Logos: one swipeable row */
    .logos { padding-block: 32px; }
    .logo-row { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; scroll-snap-type: x mandatory; margin-inline: -16px; padding-inline: 16px; scrollbar-width: none; }
    .logo-row::-webkit-scrollbar { display: none; }
    .logo-chip { flex: 0 0 116px; width: 116px; height: 72px; scroll-snap-align: start; }

    /* Stats */
    .stats { grid-template-columns: 1fr 1fr; }
    .stat { padding: 20px 16px; }
    .stat-value { font-size: 28px; }
    .stat-label { font-size: 13px; }

    /* Product cards become compact app-style rows */
    .product-grid { grid-template-columns: 1fr; gap: 10px; }
    .card.p-card { display: grid; grid-template-columns: 48px 1fr 24px; grid-template-rows: auto auto; column-gap: 14px; row-gap: 0; align-items: center; padding: 14px 16px; border-radius: 14px; min-height: 0; }
    .p-card:hover { transform: none; }
    .p-card .head { display: contents; }
    .p-card .icon-box { grid-row: 1 / span 2; width: 48px; height: 48px; border-radius: 12px; }
    .p-card h3 { grid-column: 2; grid-row: 1; margin: 0; font-size: 15px; line-height: 1.6; }
    .p-card .brand-tag { grid-column: 2; grid-row: 2; justify-self: start; border: 0; padding: 0; font-size: 12px; font-weight: 600; }
    .p-card p, .p-card ul { display: none; }
    .p-card .link-arrow { grid-column: 3; grid-row: 1 / span 2; margin: 0; padding: 0; font-size: 0; gap: 0; color: var(--muted); }
    .p-card .link-arrow .icon { width: 20px; height: 20px; }
    .p-card::before { display: none; }

    /* Category tabs */
    .tabs { width: auto; margin-inline: -16px; border-radius: 0; border-inline: 0; padding: 6px 16px; gap: 4px; margin-bottom: 20px; background: transparent; border: 0; }
    .tab { height: 40px; border: 1px solid var(--line); background: #fff; border-radius: 999px; padding-inline: 14px; }
    .tab.active { border-color: var(--brand); }

    /* Horizontal carousels */
    .m-scroll { position: relative; display: flex !important; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; margin-inline: -16px; padding: 4px 16px 12px; scrollbar-width: none; max-width: none !important; }
    .m-scroll::-webkit-scrollbar { display: none; }
    .m-scroll > * { flex: 0 0 82%; scroll-snap-align: center; }
    .m-scroll.standards > * { flex-basis: 62%; }
    .m-scroll.process > * { flex-basis: 70%; }
    .m-scroll > .card:hover { transform: none; }
    .card { padding: 22px; }
    .card h3 { font-size: 17px; margin-top: 16px; }
    .card p { font-size: 14px; }

    /* Industries */
    .grid-4 { grid-template-columns: 1fr 1fr; gap: 10px; }
    .industry { flex-direction: column; align-items: flex-start; gap: 10px; padding: 16px; font-size: 14px; }
    .industry .icon-box { width: 40px; height: 40px; }

    /* Split sections */
    .split { gap: 32px; }
    .check-list li { font-size: 15px; }

    /* FAQ */
    .faq summary { font-size: 15px; padding: 18px 2px; gap: 10px; }
    .faq .answer { font-size: 14px; padding-bottom: 18px; }
    .faq-no { min-width: 30px; font-size: 13px; }
    .faq-tools { padding-inline: 2px; }

    /* CTA */
    .cta { padding: 32px 22px; border-radius: 14px; }
    .cta h2 { font-size: 22px; }
    .cta p { font-size: 15px; }
    .cta-actions { flex-direction: column; }
    .cta-actions .btn { width: 100%; }

    /* Inner page hero */
    .page-hero { padding: calc(var(--header-h) + 28px) 0 40px; }
    .page-hero h1 { font-size: 28px; margin-top: 14px; }
    .page-hero .lead { font-size: 15px; }

    /* Product page */
    .product-brand { margin-top: 18px; }
    .product-stats { gap: 0; margin-top: 28px; padding-top: 20px; display: grid; grid-template-columns: repeat(3, 1fr); }
    .product-stats > div { padding-inline: 8px; }
    .product-stats > div + div { border-inline-start: 1px solid var(--line); }
    .product-stats b { font-size: 20px; text-align: start; direction: rtl; unicode-bidi: plaintext; }
    .product-stats span { font-size: 12px; line-height: 1.6; display: block; }
    .subnav .container { height: 50px; padding-inline: 0; }
    .subnav ul { padding-inline: 8px; }
    .subnav ul a { padding-inline: 12px; font-size: 13px; }
    .cap-list li { font-size: 14px; }
    .scenario-tabs { margin-inline: -16px; padding-inline: 16px; gap: 6px; }
    .scenario-tabs button { border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 9px 14px; font-size: 13px; }
    .scenario-tabs button.active { border-color: var(--pc, var(--brand)); box-shadow: none; }
    .scenario-panel h3 { font-size: 20px; }
    .scenario-panel p { font-size: 15px; }
    .plans.m-scroll { max-width: none; margin-inline: -16px; padding-top: 18px; }
    .plans.m-scroll > * { flex-basis: 86%; }
    .plan { padding: 26px 22px; }
    .form-card { padding: 20px; border-radius: 14px; }
    .type-pills { flex-wrap: nowrap; overflow-x: auto; margin-inline: -20px; padding-inline: 20px; scrollbar-width: none; }
    .type-pills label { flex-shrink: 0; }
    .input { font-size: 16px; } /* prevents iOS zoom on focus */

    /* Contact */
    .info-card { padding: 16px; }
    .map { height: 300px; }

    /* Footer */
    .site-footer { padding-top: 48px; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px 20px; padding-bottom: 32px; }
    .footer-about, .footer-grid > div:last-child { grid-column: 1 / -1; }
    .footer-about p { font-size: 14px; }
    .site-footer ul a, .footer-contact li { font-size: 14px; }
    .footer-bottom { flex-direction: column; gap: 6px; font-size: 12px; }
}
