/* aibizzapps.com — one stylesheet for every page.
   The visual language is grcxai.com's light half (its tokens, cards, buttons,
   hero and footer values are copied from GRCHomeNew/styles.css), without the
   space background: a pale glass gradient instead. */

@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
    src: url('/assets/fonts/inter-latin-ext.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
    src: url('/assets/fonts/inter-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
    --ink: #10162b;
    --ink-soft: #444d68;
    --ink-mute: #5d6782;
    --line: #e3e7ef;
    --line-soft: #eef1f6;
    --surface: #ffffff;
    --surface-tint: #f5f8fd;
    --surface-blue: #e9f1fc;
    --brand: #2f5fd8;
    --brand-dark: #234ab0;
    --brand-soft: #eaf0fe;
    --violet: #7c3aed;
    --teal: #0d9488;
    --amber: #d97706;

    /* Full window width with a gutter that grows with it (grcxai layout rule). */
    --container-max: 2560px;
    --gutter: clamp(20px, 4vw, 96px);
    --measure: clamp(640px, 34vw, 820px);
    --nav-h: 72px;
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 16px); }

body {
    margin: 0;
    font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--ink);
    background: var(--surface);
    -webkit-font-smoothing: antialiased;
    overflow-x: clip;
}

img, video { max-width: 100%; }
a { color: inherit; text-decoration: none; }
p a, li a, .link { color: var(--brand); text-decoration: underline; text-underline-offset: 3px; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; border-radius: 4px; }

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

.skip-link {
    position: absolute; left: 12px; top: -60px; z-index: 2000;
    padding: 10px 16px; background: var(--brand); color: #fff; border-radius: 6px;
}
.skip-link:focus { top: 12px; }

/* ── Header: logo, links, one action. White glass, always readable. ── */
.navbar {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    height: var(--nav-h);
    background: rgba(255, 255, 255, 0.86);
    backdrop-filter: blur(18px) saturate(1.4);
    -webkit-backdrop-filter: blur(18px) saturate(1.4);
    box-shadow: 0 1px 0 var(--line);
}

.nav-container {
    height: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--gutter);
    display: flex; align-items: center; justify-content: space-between; gap: 24px;
}

.nav-logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.nav-logo img { width: 38px; height: 44px; object-fit: contain; }
.nav-logo .wordmark { font-size: 1.32rem; font-weight: 800; letter-spacing: -0.03em; color: var(--ink); }
.nav-logo .wordmark b { color: var(--brand); font-weight: 800; }

.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links > a, .nav-dropdown > a {
    position: relative;
    font-size: 0.92rem; font-weight: 550; color: var(--ink); white-space: nowrap;
    transition: color 0.2s;
}
.nav-links > a:hover, .nav-dropdown:hover > a { color: var(--brand); }
.nav-links a.active::before {
    content: ''; position: absolute; bottom: -8px; left: 0; right: 0;
    height: 2px; border-radius: 2px; background: var(--brand);
}

.nav-dropdown { position: relative; }
.nav-dropdown > a { display: inline-flex; align-items: center; gap: 6px; }
.nav-dropdown > a::after {
    content: ''; width: 6px; height: 6px;
    border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor;
    transform: rotate(45deg) translate(-1px, -1px); opacity: 0.55;
    transition: transform 0.25s, opacity 0.2s;
}
.nav-dropdown:hover > a::after, .nav-dropdown:focus-within > a::after { transform: rotate(-135deg) translate(-2px, -2px); opacity: 1; }
.nav-dropdown::after { content: ''; position: absolute; top: 100%; left: 0; right: 0; height: 22px; }
.nav-dropdown-menu {
    position: absolute; top: 100%; left: 50%;
    transform: translateX(-50%) translateY(8px);
    margin-top: 18px; min-width: 300px; padding: 10px;
    background: rgba(255, 255, 255, 0.99);
    border: 1px solid var(--line); border-radius: 12px;
    box-shadow: 0 20px 50px rgba(16, 22, 43, 0.14);
    opacity: 0; visibility: hidden; pointer-events: none;
    transition: opacity 0.22s, transform 0.22s, visibility 0.22s;
    z-index: 1001;
}
.nav-dropdown:hover .nav-dropdown-menu, .nav-dropdown:focus-within .nav-dropdown-menu {
    opacity: 1; visibility: visible; pointer-events: auto; transform: translateX(-50%) translateY(0);
}
.nav-dropdown-menu a {
    display: flex; align-items: center; gap: 12px;
    padding: 8px 12px; border-radius: 8px;
    font-size: 0.88rem; color: var(--ink-soft); white-space: nowrap;
    transition: background 0.18s, color 0.18s;
}
.nav-dropdown-menu a:hover { background: var(--brand-soft); color: var(--brand-dark); }
.nav-dropdown-menu a img { width: 28px; height: 28px; border-radius: 7px; object-fit: cover; flex-shrink: 0; }
.nav-dropdown-menu a span small { display: block; font-size: 0.74rem; color: var(--ink-mute); }
.nav-dropdown-menu .dropdown-divider { height: 1px; margin: 8px 6px; background: var(--line); }

.nav-actions { display: flex; align-items: center; gap: 12px; }

.mobile-menu-btn {
    display: none; flex-direction: column; justify-content: center; gap: 5px;
    width: 44px; height: 44px; padding: 10px;
    background: none; border: 1px solid var(--line); border-radius: 10px; cursor: pointer;
}
.mobile-menu-btn span { display: block; height: 2px; background: var(--ink); border-radius: 2px; }

.mobile-panel {
    position: fixed; inset: var(--nav-h) 0 0 0; z-index: 999;
    padding: 12px var(--gutter) 32px;
    background: rgba(255, 255, 255, 0.99);
    overflow-y: auto;
    transform: translateY(-8px); opacity: 0; visibility: hidden;
    transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
}
.mobile-panel.open { transform: none; opacity: 1; visibility: visible; }
.mobile-panel a {
    display: block; padding: 14px 4px; font-size: 1.05rem; font-weight: 600;
    color: var(--ink); border-bottom: 1px solid var(--line-soft);
}
.mobile-panel .sub a { padding-left: 18px; font-size: 0.98rem; font-weight: 500; color: var(--ink-soft); }
.mobile-panel .btn-ms { margin-top: 20px; width: 100%; justify-content: center; color: #fff; }

@media (max-width: 1060px) {
    .nav-links, .nav-actions { display: none; }
    .mobile-menu-btn { display: flex; }
}

/* ── Buttons (grcxai .btn-ms) ── */
.btn-ms {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 11px 22px;
    background: var(--brand); color: #fff;
    border: 1px solid var(--brand); border-radius: 6px;
    font-family: inherit; font-size: 0.92rem; font-weight: 600; line-height: 1.3;
    cursor: pointer; text-decoration: none;
    transition: background 0.2s, border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}
.btn-ms:hover { background: var(--brand-dark); border-color: var(--brand-dark); color: #fff; box-shadow: 0 8px 24px rgba(47, 95, 216, 0.25); }
.btn-ms-ghost { background: rgba(255, 255, 255, 0.7); color: var(--brand); border-color: #c3d0ea; }
.btn-ms-ghost:hover { background: var(--brand-soft); border-color: var(--brand); color: var(--brand-dark); box-shadow: none; }
.btn-lg { padding: 14px 28px; font-size: 1rem; }
.btn-ms .arrow::after { content: '\2192'; display: inline-block; transition: transform 0.2s; }
.btn-ms:hover .arrow::after { transform: translateX(3px); }

/* ── Hero: pale glass gradient with soft pastel light, no space. ── */
.wh {
    position: relative;
    padding: calc(var(--nav-h) + 48px) 0 56px;
    background: linear-gradient(170deg, #f3f7fd 0%, #ffffff 70%);
    border-bottom: 1px solid var(--line-soft);
    overflow: hidden;
}
.wh::before, .wh::after {
    content: ''; position: absolute; z-index: 0; border-radius: 50%;
    filter: blur(70px); opacity: 0.55; pointer-events: none;
}
.wh::before { width: 520px; height: 420px; right: -120px; top: -140px; background: radial-gradient(circle, #dfe7ff 0%, #e9ddff 55%, transparent 75%); }
.wh::after { width: 460px; height: 360px; left: -160px; bottom: -200px; background: radial-gradient(circle, #d7f3ec 0%, #e6efff 60%, transparent 78%); }
.wh > .container { position: relative; z-index: 1; }

.wh-inner {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    gap: clamp(36px, 4.5vw, 88px);
    align-items: center;
}
/* One column: a plain block, so the grid's column gap does not open up between rows. */
.wh-inner.solo { display: block; max-width: 1080px; }
.wh h1 {
    font-size: clamp(2rem, 3.1vw, 3rem);
    font-weight: 750; line-height: 1.08; letter-spacing: -0.035em;
    color: var(--ink); margin: 0 0 20px;
}
.wh-accent { color: var(--brand); }
.wh .lead { font-size: 1.12rem; line-height: 1.65; color: var(--ink-soft); max-width: var(--measure); margin: 0 0 28px; }
.wh-inner.solo .lead { max-width: 860px; }
.wh-note { margin: 18px 0 0; font-size: 0.86rem; color: var(--ink-mute); max-width: var(--measure); }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; }

.eyebrow {
    display: inline-flex; align-items: center; gap: 8px;
    margin-bottom: 16px;
    font-size: 0.78rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
    color: var(--brand);
}
.eyebrow img { width: 28px; height: 28px; border-radius: 7px; object-fit: cover; }

.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; font-size: 0.88rem; color: var(--ink-mute); }
.breadcrumb a:hover { color: var(--brand); }
.breadcrumb span[aria-hidden] { opacity: 0.5; }

/* Home hero: compact text row, then the product cards on the first screen. */
.home-hero { padding-bottom: 64px; }
.home-hero .wh-inner { grid-template-columns: minmax(0, 1.5fr) minmax(320px, 1fr); align-items: end; }
.hero-panel { padding: 22px 24px; border-radius: 16px; }
.hero-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-bottom: 18px; }
.hero-facts b { display: block; font-size: 1.9rem; font-weight: 800; letter-spacing: -0.03em; line-height: 1; color: var(--brand); }
.hero-facts span { display: block; margin-top: 6px; font-size: 0.82rem; line-height: 1.35; color: var(--ink-mute); }
.hero-panel .hero-ctas .btn-ms { flex: 1 1 auto; }
.home-hero h1 { font-size: clamp(2rem, 3.3vw, 3rem); margin-bottom: 16px; }
.home-hero .lead { margin-bottom: 0; }
.home-hero .product-grid { margin-top: 40px; }

/* ── Glass panels: frosted white over the pale gradient ── */
.glass {
    background: rgba(255, 255, 255, 0.72);
    backdrop-filter: blur(16px) saturate(1.3);
    -webkit-backdrop-filter: blur(16px) saturate(1.3);
    border: 1px solid rgba(255, 255, 255, 0.9);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.8) inset, 0 12px 36px rgba(16, 22, 43, 0.08);
}

/* ── Sections ── */
.light { padding: 88px 0; background: var(--surface); }
.light.tint { background: var(--surface-tint); }
.light.blue { background: var(--surface-blue); }
.light h2 { font-size: clamp(1.6rem, 2.6vw, 2.25rem); font-weight: 700; line-height: 1.12; letter-spacing: -0.03em; margin: 0 0 16px; }
.light h3 { font-size: 1.2rem; font-weight: 650; line-height: 1.3; letter-spacing: -0.015em; margin: 0 0 10px; }
.light p { color: var(--ink-soft); line-height: 1.65; margin: 0 0 16px; }
.lead { font-size: 1.12rem; color: var(--ink-soft); max-width: var(--measure); }
.light-head { margin-bottom: 44px; }
.light-head.centred { text-align: center; }
.light-head.centred .lead { margin-left: auto; margin-right: auto; }
.section-foot { margin-top: 36px; text-align: center; }

/* ── Product cards (home + products page) ── */
.product-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
.product-grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.prod-card {
    position: relative;
    display: flex; flex-direction: column; min-width: 0;
    border-radius: 14px; overflow: hidden;
    transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}
.prod-card:hover { transform: translateY(-4px); box-shadow: 0 1px 0 rgba(255,255,255,0.8) inset, 0 22px 50px rgba(16, 22, 43, 0.14); }
.prod-media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--surface-tint); border-bottom: 1px solid var(--line-soft); }
.prod-media img { width: 100%; height: 100%; object-fit: cover; object-position: top center; display: block; transition: transform 0.4s; }
.prod-media.contain img { object-fit: contain; object-position: center; padding: 8%; }
.prod-card:hover .prod-media img { transform: scale(1.03); }
.prod-body { display: flex; flex-direction: column; flex: 1; padding: 18px 20px 20px; }
.prod-kicker { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.prod-kicker img { width: 34px; height: 34px; border-radius: 9px; object-fit: cover; border: 1px solid var(--line-soft); background: #fff; flex-shrink: 0; }
.prod-kicker .name { font-size: 1.05rem; font-weight: 700; letter-spacing: -0.015em; color: var(--ink); }
.prod-kicker .cat { display: block; font-size: 0.72rem; font-weight: 650; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-mute); }
.prod-body p { margin: 0 0 14px; font-size: 0.92rem; line-height: 1.55; color: var(--ink-soft); }
.prod-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.prod-go { font-size: 0.88rem; font-weight: 650; color: var(--brand); }
.prod-go::after { content: ' \2192'; }
.prod-card > a.stretch::after { content: ''; position: absolute; inset: 0; z-index: 1; }

.chip {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 3px 10px; border-radius: 100px;
    font-size: 0.72rem; font-weight: 650; line-height: 1.5; white-space: nowrap;
    background: var(--brand-soft); color: var(--brand-dark);
}
.chip.live { background: #e6f7f3; color: #047857; }
.chip.invite { background: #f1ecfe; color: #6d28d9; }
.chip.soon { background: #fef3e2; color: #b45309; }
.chip.free { background: #e0f2fe; color: #0369a1; }
.chip.early { background: #fef3c7; color: #92400e; }
.chip.live::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }

/* Filter chips on the products page */
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 28px; }
.filters button {
    min-height: 40px; padding: 8px 18px; border-radius: 100px;
    border: 1px solid var(--line); background: #fff; color: var(--ink-soft);
    font: inherit; font-size: 0.9rem; font-weight: 600; cursor: pointer;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.filters button:hover { border-color: var(--brand); color: var(--brand); }
.filters button[aria-pressed="true"] { background: var(--brand); border-color: var(--brand); color: #fff; }
.prod-card[hidden] { display: none; }

/* ── Generic cards (grcxai .pcard) with glass-art media ── */
.card-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.card-row.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card-row.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.pcard {
    display: flex; flex-direction: column; min-width: 0;
    background: var(--surface); border: 1px solid var(--line); border-radius: 12px; overflow: hidden;
    transition: box-shadow 0.25s, transform 0.25s, border-color 0.25s;
}
.pcard:hover { transform: translateY(-3px); border-color: #cdd6e6; box-shadow: 0 12px 32px rgba(16, 22, 43, 0.1); }
.light.tint .pcard, .light.blue .pcard { border-color: transparent; box-shadow: 0 1px 3px rgba(16, 22, 43, 0.06); }
.pcard-media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--surface-tint); }
.pcard-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pcard-body { display: flex; flex-direction: column; flex: 1; padding: 22px 24px 24px; }
.pcard-body p { font-size: 0.95rem; margin-bottom: 14px; }
.pcard-body p:last-child { margin-bottom: 0; }
.pcard-body .btn-ms { margin-top: auto; align-self: flex-start; }
.pcard details { margin-top: auto; border-top: 1px solid var(--line-soft); padding-top: 12px; }
.pcard summary { cursor: pointer; font-size: 0.9rem; font-weight: 650; color: var(--brand); list-style: none; min-height: 32px; display: flex; align-items: center; }
.pcard summary::-webkit-details-marker { display: none; }
.pcard summary::after { content: '+'; margin-left: 8px; font-weight: 700; }
.pcard details[open] summary::after { content: '\2212'; }
.pcard details p { margin-top: 10px; }

/* Numbered capability cards (grcxai .mod-page) */
.cap-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 18px; counter-reset: cap; }
.cap {
    position: relative; counter-increment: cap;
    padding: 24px 24px 26px 26px;
    background: #fff; border: 1px solid var(--line); border-radius: 12px;
    min-width: 0; overflow: hidden;
    transition: transform 0.22s, box-shadow 0.22s, border-color 0.22s;
}
.cap::before { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: linear-gradient(90deg, var(--brand), var(--violet)); opacity: 0; transition: opacity 0.22s; }
.cap:hover::before { opacity: 1; }
.cap::after { content: counter(cap, decimal-leading-zero); position: absolute; top: 16px; right: 18px; font-size: 1.5rem; font-weight: 800; letter-spacing: -0.03em; color: #eef2fa; line-height: 1; }
.cap:hover { transform: translateY(-3px); border-color: #c9d5ec; box-shadow: 0 14px 34px rgba(16, 22, 43, 0.1); }
.cap h3 { margin: 0 0 8px; padding-right: 42px; font-size: 1.04rem; font-weight: 650; }
.cap p { margin: 0; font-size: 0.92rem; line-height: 1.62; color: var(--ink-soft); }

/* Stat strip */
.light-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; text-align: center; }
.light-stat .n { font-size: clamp(2rem, 3vw, 2.5rem); font-weight: 750; letter-spacing: -0.03em; line-height: 1; color: var(--brand); }
.light-stat .l { margin-top: 10px; font-size: 0.9rem; font-weight: 500; color: var(--ink-mute); }
.stats-band { padding: 44px 0; background: var(--surface-tint); border-bottom: 1px solid var(--line-soft); }

/* Split text + picture, top aligned, picture gets the wider column */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: clamp(36px, 4.5vw, 88px); align-items: start; }
.split.flip { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); }
.split.flip > .split-media { order: -1; }
.split-text { max-width: var(--measure); }
.split-text > *:last-child { margin-bottom: 0; }
.split-media { min-width: 0; }

/* Screenshots: framed, open full size on click */
.shot { margin: 0; }
.shot img {
    display: block; width: 100%; height: auto;
    background: #fff; border: 1px solid var(--line); border-radius: 12px;
    box-shadow: 0 18px 50px rgba(16, 22, 43, 0.12);
    cursor: zoom-in;
}
.shot figcaption { margin-top: 10px; font-size: 0.8rem; line-height: 1.5; color: var(--ink-mute); }
.shot.icon img { width: auto; max-width: 260px; margin: 0 auto; border: 0; box-shadow: none; background: transparent; cursor: default; }

.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 22px; }
.gallery.phone { grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 1fr)); }
.gallery .shot img { aspect-ratio: auto; }

/* Tick list (grcxai .benefit-list) */
.benefit-list { list-style: none; padding: 0; margin: 0 0 22px; }
.benefit-list li { position: relative; padding: 0 0 12px 32px; color: var(--ink-soft); line-height: 1.6; overflow-wrap: break-word; }
.benefit-list li::before {
    content: ''; position: absolute; left: 0; top: 4px; width: 18px; height: 18px; border-radius: 50%;
    background: var(--brand-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.4l2.6 2.6L12 5.6' stroke='%232f5fd8' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/12px no-repeat;
}
.benefit-list li strong { color: var(--ink); font-weight: 650; }

/* Fact cards */
.fact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 20px; }
.fact-card { min-width: 0; padding: 24px 26px; background: #fff; border: 1px solid var(--line); border-radius: 12px; }
.fact-card h3 { margin: 0 0 10px; font-size: 1.02rem; }
.fact-card p, .fact-card li { font-size: 0.94rem; color: var(--ink-soft); }
.fact-card ul { margin: 0; padding-left: 18px; }
.fact-card li { margin-bottom: 7px; }
.fact-card.warn { border-color: #f5d6a8; background: #fffaf2; }

/* Before / after performance bars, drawn from measured numbers */
.perf { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 460px), 1fr)); gap: 18px 28px; }
.perf-row { padding: 20px 22px; background: #fff; border: 1px solid var(--line); border-radius: 12px; min-width: 0; }
.perf-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 14px; }
.perf-metric { font-weight: 650; color: var(--ink); font-size: 0.98rem; }
.perf-gain { flex-shrink: 0; font-size: 1.25rem; font-weight: 800; letter-spacing: -0.02em; color: #047857; }
.perf-bar { position: relative; height: 34px; margin-top: 8px; border-radius: 8px; background: var(--surface-tint); overflow: hidden; }
.perf-bar span { position: absolute; inset: 0 auto 0 0; border-radius: 8px; }
.perf-bar.before span { background: linear-gradient(90deg, #f2b8a0, #e8825f); }
.perf-bar.after span { background: linear-gradient(90deg, #8fd9b6, #10b981); }
.perf-bar em { position: relative; z-index: 1; display: flex; align-items: center; height: 100%; padding: 0 12px; font-style: normal; font-size: 0.86rem; font-weight: 650; color: var(--ink); white-space: nowrap; }
.perf-note { margin: 16px 0 0; font-size: 0.86rem; color: var(--ink-mute); max-width: 980px; }

/* Logos and app icons that must not be cropped */
.prod-kicker img.contain, .nav-dropdown-menu a img.contain { object-fit: contain; padding: 3px; }
.shot.contain img { max-height: 420px; width: auto; max-width: 100%; margin: 0 auto; object-fit: contain; padding: 8%; cursor: default; }
.shot.phone img { max-height: 620px; width: auto; margin: 0 auto; border-radius: 28px; }

/* The Products menu: two columns, every product visible without scrolling */
.nav-dropdown-menu.wide { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2px 6px; min-width: 640px; }
.nav-dropdown-menu.wide .dropdown-divider, .nav-dropdown-menu.wide .all { grid-column: 1 / -1; }

/* Timeline (about page) */
.timeline { position: relative; display: grid; gap: 22px; }
.tl-item {
    display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 28px; align-items: start;
    padding: 24px; background: #fff; border: 1px solid var(--line); border-radius: 12px;
}
.tl-item img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 8px; background: var(--surface-tint); }
.tl-when { display: inline-block; margin-bottom: 6px; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--brand); }
.tl-item h3 { margin: 0 0 8px; }
.tl-item p { margin: 0 0 10px; font-size: 0.95rem; }
.tl-item p:last-child { margin-bottom: 0; }

/* Call-to-action band (grcxai .light-cta) */
.light-cta { padding: 80px 0; background: linear-gradient(135deg, #16305f 0%, #2f5fd8 100%); color: #fff; text-align: center; }
.light-cta h2 { color: #fff; margin: 0 0 14px; font-size: clamp(1.6rem, 2.6vw, 2.25rem); letter-spacing: -0.03em; }
.light-cta p { color: rgba(255, 255, 255, 0.88); font-size: 1.1rem; max-width: 640px; margin: 0 auto 30px; }
.light-cta .hero-ctas { justify-content: center; }
.light-cta .btn-ms { background: #fff; color: var(--brand-dark); border-color: #fff; }
.light-cta .btn-ms:hover { background: #eef3ff; }
.light-cta .btn-ms-ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.55); }
.light-cta .btn-ms-ghost:hover { background: rgba(255, 255, 255, 0.12); border-color: #fff; color: #fff; }

/* Prev / next product */
.pager { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.pager a { display: block; padding: 20px 22px; background: #fff; border: 1px solid var(--line); border-radius: 12px; transition: border-color 0.2s, box-shadow 0.2s; }
.pager a:hover { border-color: var(--brand); box-shadow: 0 10px 28px rgba(16, 22, 43, 0.08); }
.pager small { display: block; font-size: 0.78rem; font-weight: 650; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-mute); }
.pager strong { font-size: 1.05rem; color: var(--ink); }
.pager .next { text-align: right; }

/* Legal / prose pages */
.prose { max-width: 900px; color: var(--ink-soft); }
.prose h2 { margin: 40px 0 12px; font-size: 1.45rem; color: var(--ink); letter-spacing: -0.02em; }
.prose h3 { margin: 28px 0 10px; font-size: 1.12rem; color: var(--ink); }
.prose p, .prose li { line-height: 1.7; }
.prose strong { color: var(--ink); }
.prose a { color: var(--brand); }

/* ── Footer (grcxai dark footer) ── */
.footer { padding: 64px 0 32px; background: #0d1225; color: rgba(220, 230, 245, 0.82); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 48px; }
.footer .nav-logo .wordmark { color: #f0f4ff; }
.footer .nav-logo .wordmark b { color: #8fb0ff; }
.footer-desc { margin: 16px 0 0; font-size: 0.88rem; line-height: 1.6; color: rgba(200, 215, 235, 0.72); max-width: 340px; }
.footer h4 { margin: 0 0 16px; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(200, 215, 235, 0.62); }
.footer-links a { display: block; padding: 5px 0; font-size: 0.9rem; color: rgba(220, 230, 245, 0.82); }
.footer-links a:hover { color: #fff; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, 0.1); font-size: 0.82rem; color: rgba(200, 215, 235, 0.68); }
.footer-bottom a:hover { color: #fff; }

/* Lightbox for screenshots */
.lightbox {
    position: fixed; inset: 0; z-index: 3000;
    display: none; align-items: center; justify-content: center;
    padding: 24px; background: rgba(10, 14, 30, 0.86);
    backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.lightbox.open { display: flex; }
.lightbox img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 10px; box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5); }
.lightbox button {
    position: absolute; top: 16px; right: 16px; width: 48px; height: 48px;
    border: 0; border-radius: 50%; background: rgba(255, 255, 255, 0.14); color: #fff;
    font-size: 1.6rem; line-height: 1; cursor: pointer;
}

/* Cookie-free analytics notice (kept from the old site, now non-blocking) */
.notice-bar {
    position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 1500;
    max-width: 560px; margin-left: auto;
    display: flex; gap: 14px; align-items: center;
    padding: 14px 16px; border-radius: 12px; font-size: 0.86rem; color: var(--ink-soft);
}
.notice-bar[hidden] { display: none; }
.notice-bar p { margin: 0; flex: 1; }
.notice-bar button { flex-shrink: 0; }

/* ── Training: episode cards with a click-to-play YouTube player ── */
.ep-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.ep-card { display: flex; flex-direction: column; min-width: 0; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; scroll-margin-top: calc(var(--nav-h) + 16px); }
.ep-media { position: relative; aspect-ratio: 16 / 9; background: #0b1020; }
.ep-media iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; }
.ep-play { position: absolute; inset: 0; width: 100%; height: 100%; padding: 0; border: 0; background: none; cursor: pointer; display: block; }
.ep-play img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.3s; }
.ep-play:hover img, .ep-play:focus-visible img { transform: scale(1.03); }
.ep-play:focus-visible { outline: 3px solid var(--brand); outline-offset: -3px; }
.ep-icon { position: absolute; left: 50%; top: 50%; width: 64px; height: 64px; margin: -32px 0 0 -32px; border-radius: 50%; background: rgba(16, 22, 43, 0.72); box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3); transition: background 0.2s, transform 0.2s; }
.ep-icon::after { content: ''; position: absolute; left: 26px; top: 20px; border-style: solid; border-width: 12px 0 12px 19px; border-color: transparent transparent transparent #fff; }
.ep-play:hover .ep-icon, .ep-play:focus-visible .ep-icon { background: var(--brand); transform: scale(1.06); }
.ep-dur { position: absolute; right: 10px; bottom: 10px; padding: 3px 8px; border-radius: 6px; background: rgba(16, 22, 43, 0.82); color: #fff; font-size: 0.8rem; font-weight: 600; font-variant-numeric: tabular-nums; }
.ep-body { display: flex; flex-direction: column; flex: 1; padding: 20px 22px 22px; }
.ep-kicker { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: var(--brand); margin-bottom: 8px; }
.ep-body h3 { font-size: 1.1rem; margin: 0 0 12px; }
.ep-rule { margin: 0 0 12px !important; padding: 10px 12px; border-left: 3px solid var(--brand); background: var(--brand-soft); border-radius: 0 8px 8px 0; color: var(--ink) !important; font-weight: 600; font-size: 0.93rem; line-height: 1.5 !important; }
.ep-body p { font-size: 0.93rem; margin-bottom: 14px; }
.ep-yt { margin-top: auto; align-self: flex-start; font-size: 0.9rem; font-weight: 600; color: var(--brand); text-decoration: none; padding: 6px 0; }
.ep-yt:hover { text-decoration: underline; }
.ep-note { padding: 40px 0; }
.train-thumbs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.train-thumb { position: relative; display: block; border-radius: 10px; overflow: hidden; aspect-ratio: 16 / 9; box-shadow: 0 6px 18px rgba(16, 22, 43, 0.12); }
.train-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.3s; }
.train-thumb:hover img, .train-thumb:focus-visible img { transform: scale(1.04); }
.train-thumb span { position: absolute; left: 8px; bottom: 8px; right: 8px; padding: 4px 8px; border-radius: 6px; background: rgba(16, 22, 43, 0.8); color: #fff; font-size: 0.78rem; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ep-disclaimer { max-width: 900px; margin: 0 auto !important; text-align: center; font-size: 0.86rem !important; color: var(--ink-mute) !important; }
@media (max-width: 1100px) { .ep-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .ep-grid { grid-template-columns: 1fr; } }

/* ── Responsive ── */
@media (max-width: 1100px) {
    .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 1280px) {
    .card-row.four { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 1100px) {
    .wh-inner, .split, .split.flip { grid-template-columns: 1fr; gap: 36px; }
    .home-hero .wh-inner { grid-template-columns: 1fr; gap: 28px; }
    .split.flip > .split-media { order: 0; }
    .split-text { max-width: none; }
    .card-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
    .product-grid, .product-grid.three { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .light-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 20px; }
    .tl-item { grid-template-columns: 1fr; gap: 16px; }
    .tl-item img { max-width: 320px; }
}
@media (max-width: 620px) {
    :root { --nav-h: 64px; }
    .product-grid, .product-grid.three, .card-row, .card-row.four, .card-row.two { grid-template-columns: 1fr; }
    .light { padding: 64px 0; }
    .wh { padding-top: calc(var(--nav-h) + 32px); }
    .footer-grid { grid-template-columns: 1fr; gap: 28px; }
    .pager { grid-template-columns: 1fr; }
    .pager .next { text-align: left; }
    .hero-ctas .btn-ms { flex: 1 1 auto; }
    .nav-logo .wordmark { font-size: 1.18rem; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
