/* ArcEntry site styles - shared across all pages. Extracted from index.html 2026-07-22. */

    :root {
        /* Surfaces: Ink is the page, Panel is anything raised off it. */
        --ink: #0C0E10;
        --panel: #16191D;
        --panel-soft: #23272E;

        /* Amber "Signal": --signal on dark surfaces, --signal-deep on light.
           Deep was #B45B0B, which is 4.44:1 on --paper — under AA for the small
           text it carries (eyebrows, .audience .who). Darkened to 5.33:1 at the
           same hue and saturation (AB#140); only lightness moved. */
        --signal: #F2A03D;
        --signal-hover: #D97706;
        --signal-deep: #A0520A;

        /* Body copy: --slate on light surfaces, --slate-light on dark. Both clear AA. */
        --slate: #5A6472;
        --slate-light: #A6ADBB;
        --paper: #F6F8FB;
        --white: #FFFFFF;

        --font-display: 'Space Grotesk', system-ui, sans-serif;
        --font-body: 'Inter', system-ui, sans-serif;
        /* Data, not copy: codes, URLs, versions, timers, and the small uppercase
           labels that read as console output. Only 400/500 are loaded. */
        --font-mono: 'IBM Plex Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

        --radius: 14px;
        --shadow-card: 0 2px 6px rgba(12, 14, 16, .05), 0 12px 32px rgba(12, 14, 16, .08);
        --shadow-card-hover: 0 4px 10px rgba(12, 14, 16, .08), 0 20px 44px rgba(12, 14, 16, .14);
    }

    * { margin: 0; padding: 0; box-sizing: border-box; }

    body {
        font-family: var(--font-body);
        color: var(--ink);
        background: var(--white);
        line-height: 1.6;
        -webkit-font-smoothing: antialiased;
    }

    h1, h2, h3 { font-family: var(--font-display); line-height: 1.12; letter-spacing: -0.02em; }

    a { color: inherit; }

    /* A focus ring needs 3:1 against its surface, and no one amber clears that on
       both — so the palette's light/dark split applies here too. Deep is the
       default because it passes everywhere; a dark section missed below is dimmer
       than intended, never a failure. */
    :where(a, button, summary, [role="tab"]):focus-visible {
        outline: 2px solid var(--signal-deep);
        outline-offset: 3px;
    }
    :where(.nav, .hero, .page-hero, .showcase, .platform, .portal-tour, .cta, .download, footer, .wc-panel)
        :where(a, button, summary, [role="tab"]):focus-visible {
        outline-color: var(--signal);
    }
    /* ...and the --light variants of those sections are Paper again, so they take
       the deep amber back. Bright Signal on Paper is under 3:1. */
    :is(.showcase--light, .portal-tour--light)
        :where(a, button, summary, [role="tab"]):focus-visible {
        outline-color: var(--signal-deep);
    }

    .wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

    /* ── Nav ─────────────────────────────────────────────────────────────── */
    .nav {
        position: fixed; top: 0; left: 0; right: 0; z-index: 100;
        background: rgba(12, 14, 16, .82);
        backdrop-filter: blur(14px);
        -webkit-backdrop-filter: blur(14px);
        border-bottom: 1px solid rgba(255, 255, 255, .06);
    }
    .nav-inner {
        display: flex; align-items: center; justify-content: space-between;
        height: 68px;
    }
    .nav-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
    /* The mark is drawn in currentColor, so every instance takes the amber of the
       surface it sits on — --signal on dark, --signal-deep on light. */
    .nav-logo svg { height: 30px; width: 30px; color: var(--signal); }
    .nav-logo span {
        font-family: var(--font-display); font-weight: 700; font-size: 1.22rem;
        color: var(--white); letter-spacing: -0.02em;
    }
    .nav-links { display: flex; align-items: center; gap: 34px; list-style: none; }
    .nav-links a {
        color: var(--slate-light); text-decoration: none; font-size: .92rem; font-weight: 500;
        transition: color .18s;
    }
    .nav-links a:hover { color: var(--white); }
    .nav-cta {
        background: var(--signal); color: var(--ink) !important;
        padding: 9px 20px; border-radius: 999px; font-weight: 600 !important;
        transition: background .18s, transform .18s;
    }
    .nav-cta:hover { background: var(--signal-hover); transform: translateY(-1px); }

    /* Hamburger toggle — hidden on desktop, shown on mobile. */
    .nav-toggle {
        display: none;
        background: transparent; border: 1px solid rgba(255, 255, 255, .18);
        border-radius: 10px; width: 42px; height: 38px; cursor: pointer;
        padding: 0; align-items: center; justify-content: center;
    }
    .nav-toggle span,
    .nav-toggle span::before,
    .nav-toggle span::after {
        content: ""; display: block; width: 18px; height: 2px; background: var(--white);
        border-radius: 2px; transition: transform .2s, opacity .2s;
    }
    .nav-toggle span::before { transform: translateY(-6px); }
    .nav-toggle span::after  { transform: translateY(6px); }
    .nav.open .nav-toggle span { background: transparent; }
    .nav.open .nav-toggle span::before { transform: translateY(0) rotate(45deg); }
    .nav.open .nav-toggle span::after  { transform: translateY(0) rotate(-45deg); }

    /* Mobile: links collapse into a dropdown panel under the bar. */
    @media (max-width: 820px) {
        .nav-toggle { display: inline-flex; }
        .nav-links {
            position: absolute; top: 68px; left: 0; right: 0;
            flex-direction: column; align-items: stretch; gap: 0;
            background: rgba(12, 14, 16, .98);
            backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
            border-bottom: 1px solid rgba(255, 255, 255, .08);
            padding: 8px 0;
            max-height: 0; overflow: hidden;
            transition: max-height .25s ease;
        }
        .nav.open .nav-links { max-height: 360px; }
        .nav-links li { padding: 0; }
        .nav-links a {
            display: block; padding: 14px 22px; font-size: 1rem;
        }
        .nav-links li:not(.nav-cta-item) { display: block; }
        .nav-cta-item { padding: 12px 22px; }
        .nav-cta-item .nav-cta { display: inline-block; }
    }

    /* ── Hero ────────────────────────────────────────────────────────────── */
    /* The only radial glow on the site. Every dark section used to carry one,
       which made them indistinguishable; this is the arrival moment, so it keeps
       it. Don't reintroduce the blob elsewhere for consistency's sake. */
    .hero {
        position: relative; overflow: hidden;
        background:
            radial-gradient(1200px 600px at 78% -10%, rgba(180, 91, 11, .28), transparent 60%),
            radial-gradient(900px 500px at 12% 110%, rgba(242, 160, 61, .10), transparent 55%),
            var(--ink);
        color: var(--white);
        padding: 176px 0 120px;
    }
    /* Giant faint watermark of the mark itself. The boom sits in the top-left of its
       24-unit box and the base bar runs along the bottom, so the offsets crop the
       corner rather than centring a shape that isn't centred. */
    .hero-mark {
        position: absolute; right: -120px; bottom: -70px;
        width: 760px; height: 760px; opacity: .07; color: var(--signal);
        pointer-events: none;
    }
    @media (max-width: 900px) { .hero-mark { width: 520px; height: 520px; right: -150px; bottom: -50px; } }

    .hero-eyebrow {
        display: inline-flex; align-items: center; gap: 9px;
        font-family: var(--font-mono);
        /* Mono glyphs already carry their own sidebearing, so the tracking that
           suited Inter reads as gappy here — every label below is tightened. */
        font-size: .8rem; font-weight: 500; letter-spacing: .12em; text-transform: uppercase;
        color: var(--signal);
        border: 1px solid rgba(242, 160, 61, .35);
        background: rgba(242, 160, 61, .08);
        padding: 7px 16px; border-radius: 999px;
        margin-bottom: 28px;
    }
    .hero-eyebrow .dot {
        width: 7px; height: 7px; border-radius: 50%; background: var(--signal);
    }
    /* Only the home hero's "Launching soon" pulses. Beside a static sub-page
       label like "The Guard App" a blinking dot reads as a live status
       indicator, promising something the page isn't reporting. */
    .hero .hero-eyebrow .dot { animation: pulse 2.2s ease-in-out infinite; }
    @keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }

    .hero h1 {
        font-size: clamp(2.6rem, 6vw, 4.4rem);
        font-weight: 700;
        max-width: 13ch;
        margin-bottom: 24px;
    }
    .hero h1 .accent { color: var(--signal); }
    .hero-sub {
        font-size: clamp(1.02rem, 1.6vw, 1.22rem);
        color: var(--slate-light);
        max-width: 54ch;
        margin-bottom: 42px;
    }
    .hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
    .btn {
        display: inline-flex; align-items: center; gap: 10px;
        font-family: var(--font-body); font-weight: 600; font-size: 1rem;
        padding: 15px 30px; border-radius: 999px; text-decoration: none;
        transition: transform .18s, background .18s, border-color .18s;
    }
    .btn-primary { background: var(--signal); color: var(--ink); }
    .btn-primary:hover { background: var(--signal-hover); transform: translateY(-2px); }
    .btn-ghost {
        color: var(--white); border: 1px solid rgba(255, 255, 255, .25);
    }
    .btn-ghost:hover { border-color: rgba(255, 255, 255, .6); transform: translateY(-2px); }

    .hero-stats {
        display: flex; gap: 48px; flex-wrap: wrap;
        margin-top: 72px; padding-top: 40px;
        border-top: 1px solid rgba(255, 255, 255, .1);
    }
    .hero-stat .n {
        font-family: var(--font-display); font-weight: 700; font-size: 1.7rem; color: var(--white);
    }
    .hero-stat .l { font-size: .85rem; color: var(--slate-light); margin-top: 2px; }

    /* ── Section scaffolding ─────────────────────────────────────────────── */
    /* Room for the fixed 68px nav so an anchor-jump target (e.g. #features)
       doesn't land partially hidden behind it. */
    section[id] { scroll-margin-top: 84px; }
    section { padding: 104px 0; }
    /* Each dark section used to end its own glow, which is what separated two of
       them. Flat surfaces don't, and the runs are long — guard-app.html stacks
       four Ink sections back to back — so mark the seam where one meets another.
       The --light variants are excluded on BOTH sides: Paper against Ink is
       already its own boundary, and a white hairline drawn on the light side of
       it reads as a stray bright line rather than a seam. */
    :is(.page-hero, .showcase, .platform, .portal-tour, .download, .cta):not(.showcase--light, .portal-tour--light)
        + :is(.showcase, .platform, .portal-tour, .download, .cta):not(.showcase--light, .portal-tour--light) {
        border-top: 1px solid rgba(255, 255, 255, .07);
    }
    /* The same job on the light side — a --light section running into .pillars
       or .faq is two Paper surfaces meeting with nothing between them. */
    :is(.showcase--light, .portal-tour--light) + :is(.pillars, .faq) {
        border-top: 1px solid rgba(12, 14, 16, .07);
    }
    .section-eyebrow {
        font-family: var(--font-mono);
        font-size: .78rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase;
        color: var(--signal-deep); margin-bottom: 14px;
    }
    /* The deep amber is mixed for paper; dark sections need the bright one. */
    .showcase .section-eyebrow,
    .platform .section-eyebrow,
    .portal-tour .section-eyebrow,
    .download .section-eyebrow { color: var(--signal); }
    .section-title { font-size: clamp(1.9rem, 3.6vw, 2.7rem); font-weight: 700; margin-bottom: 18px; }
    .section-sub { color: var(--slate); max-width: 62ch; font-size: 1.06rem; }

    /* ── Pillars (features) ──────────────────────────────────────────────── */
    .pillars { background: var(--paper); }
    .pillar-grid {
        display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px;
        margin-top: 56px;
    }
    @media (max-width: 900px) { .pillar-grid { grid-template-columns: repeat(2, 1fr); } }
    @media (max-width: 620px) { .pillar-grid { grid-template-columns: 1fr; } }

    .pillar {
        background: var(--white); border-radius: var(--radius);
        padding: 34px 30px; box-shadow: var(--shadow-card);
        transition: transform .22s, box-shadow .22s;
        border: 1px solid rgba(12, 14, 16, .04);
    }
    .pillar:hover { transform: translateY(-4px); box-shadow: var(--shadow-card-hover); }
    .pillar-icon {
        width: 52px; height: 52px; border-radius: 13px;
        display: flex; align-items: center; justify-content: center;
        background: linear-gradient(135deg, rgba(180, 91, 11, .12), rgba(242, 160, 61, .12));
        margin-bottom: 22px;
    }
    .pillar-icon svg { width: 26px; height: 26px; stroke: var(--signal-deep); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
    /* The card paints its own white background, so it must pin its own text
       colour too — guard-app puts a .pillar-grid inside the dark .showcase,
       which sets color:white and left these headings invisible. */
    .pillar h3 { font-size: 1.18rem; margin-bottom: 10px; color: var(--ink); }
    .pillar p { color: var(--slate); font-size: .95rem; }

    /* ── Showcase (device screenshots) ───────────────────────────────────── */
    .showcase {
        background: var(--ink);
        color: var(--white);
    }
    .showcase .section-sub { color: var(--slate-light); }
    .device-frame {
        background: var(--panel);
        border: 1px solid rgba(255, 255, 255, .08);
        border-radius: 20px;
        padding: 14px 14px 26px;
        box-shadow: 0 20px 60px rgba(0, 0, 0, .35);
    }
    .device-frame img {
        display: block; width: 100%; height: auto;
        border-radius: 10px;
        border: 1px solid rgba(255, 255, 255, .06);
    }
    .device-frame figcaption {
        margin-top: 18px; padding: 0 6px;
        color: var(--slate-light); font-size: .93rem;
    }

    /* Light variant (AB#139). The first section under a page hero uses this, so
       the top of the page reads Ink → Paper rather than two Ink blocks divided
       by a hairline. Everything below is the same content with the surface pairs
       swapped: --slate for --slate-light, --signal-deep for --signal, ink alphas
       for the white ones, and the flat drop shadows for the card shadows. */
    .showcase--light {
        background: var(--paper);
        color: var(--ink);
    }
    .showcase--light .section-eyebrow { color: var(--signal-deep); }
    .showcase--light .section-sub { color: var(--slate); }
    .showcase--light .device-frame {
        background: var(--white);
        border-color: rgba(12, 14, 16, .1);
        box-shadow: var(--shadow-card);
    }
    .showcase--light .device-frame img { border-color: rgba(12, 14, 16, .08); }
    .showcase--light .device-frame figcaption { color: var(--slate); }
    .showcase--light .app-strip figcaption span { color: var(--slate); }
    .showcase--light .vc-shot {
        border-color: rgba(12, 14, 16, .1);
        box-shadow: var(--shadow-card-hover);
    }
    .showcase--light .cap-list span { color: var(--slate); }

    /* ── Platform strip (dark) ───────────────────────────────────────────── */
    .platform {
        background: var(--ink);
        color: var(--white);
    }
    .platform .section-sub { color: var(--slate-light); }
    .platform-grid {
        display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px;
        background: rgba(255, 255, 255, .08);
        border: 1px solid rgba(255, 255, 255, .08);
        border-radius: var(--radius); overflow: hidden;
        margin-top: 56px;
    }
    @media (max-width: 800px) { .platform-grid { grid-template-columns: 1fr; } }
    .platform-cell { background: var(--panel); padding: 40px 34px; }
    .platform-cell .k {
        font-family: var(--font-mono); font-weight: 500; font-size: .82rem;
        color: var(--signal); letter-spacing: .03em; text-transform: uppercase;
        margin-bottom: 14px;
    }
    .platform-cell h3 { font-size: 1.3rem; margin-bottom: 12px; }
    .platform-cell p { color: var(--slate-light); font-size: .95rem; }

    /* ── Audience ────────────────────────────────────────────────────────── */
    .audience {
        border: 1px solid rgba(12, 14, 16, .1); border-radius: var(--radius);
        padding: 34px 30px;
        transition: border-color .2s, transform .22s;
    }
    .audience:hover { border-color: var(--signal-deep); transform: translateY(-3px); }
    .audience .who {
        font-family: var(--font-mono);
        font-size: .78rem; font-weight: 500; letter-spacing: .11em; text-transform: uppercase;
        color: var(--signal-deep); margin-bottom: 12px;
    }
    .audience h3 { font-size: 1.15rem; margin-bottom: 10px; }
    .audience p { color: var(--slate); font-size: .95rem; }

    /* ── FAQ ─────────────────────────────────────────────────────────────── */
    .faq { background: var(--paper); }
    .faq-list { max-width: 780px; margin-top: 48px; }
    .faq-item {
        background: var(--white); border-radius: var(--radius);
        border: 1px solid rgba(12, 14, 16, .06);
        box-shadow: var(--shadow-card);
        margin-bottom: 14px; overflow: hidden;
    }
    .faq-item summary {
        cursor: pointer; list-style: none;
        display: flex; align-items: center; justify-content: space-between; gap: 16px;
        padding: 22px 26px;
        font-family: var(--font-display); font-weight: 700; font-size: 1.05rem;
    }
    .faq-item summary::-webkit-details-marker { display: none; }
    .faq-item summary::after {
        content: '+'; flex-shrink: 0;
        font-family: var(--font-body); font-weight: 400; font-size: 1.5rem; color: var(--signal-deep);
        transition: transform .2s;
    }
    .faq-item[open] summary::after { transform: rotate(45deg); }
    .faq-item p { padding: 0 26px 24px; color: var(--slate); font-size: .96rem; }

    /* ── Early access CTA ────────────────────────────────────────────────── */
    .cta {
        background: var(--ink);
        color: var(--white);
        text-align: center;
    }
    .cta .mark { width: 64px; height: 64px; margin: 0 auto 30px; color: var(--signal); }
    .cta h2 { font-size: clamp(2rem, 4.4vw, 3rem); font-weight: 700; margin-bottom: 18px; }
    .cta p { color: var(--slate-light); max-width: 52ch; margin: 0 auto 40px; font-size: 1.06rem; }
    .cta-note { font-size: .85rem; color: var(--slate-light); margin-top: 22px; }

    /* ── Footer ──────────────────────────────────────────────────────────── */
    footer {
        background: var(--panel); color: var(--slate-light);
        padding: 44px 0; font-size: .88rem;
    }
    .footer-inner {
        display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap;
    }
    .footer-logo { display: flex; align-items: center; gap: 9px; }
    .footer-logo svg { height: 22px; width: 22px; color: var(--signal); opacity: .8; }
    .footer-logo span { font-family: var(--font-display); font-weight: 700; color: var(--slate-light); }
    .footer-link {
        color: var(--slate-light); text-decoration: none;
        border-bottom: 1px solid transparent; transition: color .15s ease, border-color .15s ease;
    }
    .footer-link:hover { color: var(--white); border-color: var(--white); }

    /* ── Scroll reveal ───────────────────────────────────────────────────── */
    /* Suppressed under prefers-reduced-motion — see the block at the end. */
    .reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
    .reveal.in { opacity: 1; transform: none; }

    /* ── Call widget ─────────────────────────────────────────────────────── */
    .wc-bubble {
        position: fixed; right: 22px; bottom: 22px; z-index: 200;
        width: 58px; height: 58px; border-radius: 999px; border: none; cursor: pointer;
        background: var(--signal); color: var(--ink);
        display: flex; align-items: center; justify-content: center;
        box-shadow: var(--shadow-card-hover);
        transition: background .18s, transform .18s;
    }
    .wc-bubble:hover { background: var(--signal-hover); transform: translateY(-2px); }
    .wc-bubble svg { width: 26px; height: 26px; }
    .wc-panel {
        position: fixed; right: 22px; bottom: 92px; z-index: 200;
        width: 320px; max-width: calc(100vw - 44px);
        background: var(--ink); color: var(--white);
        border-radius: var(--radius); box-shadow: var(--shadow-card-hover);
        padding: 22px; display: none;
    }
    .wc-panel.open { display: block; }
    .wc-panel h3 { font-size: 1.05rem; margin-bottom: 4px; }
    .wc-panel .wc-sub { color: var(--slate-light); font-size: .85rem; margin-bottom: 16px; }
    .wc-status { font-size: .88rem; color: var(--signal); min-height: 1.4em; margin-bottom: 4px; }
    /* Mono keeps the mm:ss from reflowing on every tick. */
    .wc-timer { font-family: var(--font-mono); font-size: 1.3rem; font-weight: 500; display: none; margin-bottom: 10px; }
    .wc-timer.on { display: block; }
    .wc-btn {
        width: 100%; border: none; cursor: pointer; font-family: var(--font-body);
        font-weight: 600; font-size: .95rem; padding: 12px 20px; border-radius: 999px;
        transition: background .18s, transform .18s;
    }
    .wc-btn-call { background: var(--signal); color: var(--ink); }
    .wc-btn-call:hover { background: var(--signal-hover); transform: translateY(-1px); }
    .wc-btn-call:disabled { background: var(--panel-soft); color: var(--slate-light); cursor: default; transform: none; }
    .wc-btn-hangup { background: #C93B3B; color: var(--white); display: none; margin-top: 8px; }
    .wc-btn-hangup.on { display: block; }
    .wc-hint { color: var(--slate-light); font-size: .76rem; margin-top: 12px; }
    /* The mailto is distinguished by colour alone, so it can't share the hint's. */
    .wc-hint a { color: var(--signal); }
    @media (max-width: 620px) {
        .wc-panel { right: 12px; left: 12px; bottom: 88px; width: auto; max-width: none; }
        .wc-bubble { right: 16px; bottom: 16px; }
    }

/* ── Multi-page additions (2026-07-22) ──────────────────────────────────── */
/* Active nav item (set by site.js from the current path) */
.nav-links a[aria-current] { color: var(--white); }

/* Sub-page hero: shorter than the home hero, and flat — the glow is the home
   hero's alone, so a sub-page opens quieter than the landing page. */
.page-hero {
    position: relative; overflow: hidden;
    background: var(--ink);
    color: var(--white);
    padding: 150px 0 84px;
    /* Fixed regardless of subtitle line count, so the hero doesn't visibly
       change height when navigating between sub-pages (measured: 3-line
       subtitles render at ~487px, a 2-line one at ~461px without this). */
    box-sizing: border-box;
    min-height: 488px;
    display: flex;
    align-items: center;
}
.page-hero h1 { font-size: clamp(2.1rem, 4.6vw, 3.3rem); font-weight: 700; max-width: 18ch; margin-bottom: 20px; }
.page-hero h1 .accent { color: var(--signal); }
.page-hero .hero-sub { margin-bottom: 0; }

/* ── Screenshot carousel (Alpine-driven, index.html showcase) ───────────── */
.carousel { position: relative; max-width: 880px; margin: 56px auto 0; }
.carousel-viewport { overflow: hidden; border-radius: 20px; }
.carousel-track {
    display: flex;
    transition: transform .45s cubic-bezier(.22, .61, .36, 1);
}
.carousel-slide { flex: 0 0 100%; min-width: 0; margin: 0; }
.carousel-btn {
    position: absolute; top: 42%; transform: translateY(-50%);
    width: 44px; height: 44px; border-radius: 999px; border: none; cursor: pointer;
    background: rgba(12, 14, 16, .78); color: var(--white);
    font-size: 1.5rem; line-height: 1;
    display: flex; align-items: center; justify-content: center;
    transition: background .18s;
}
.carousel-btn:hover { background: var(--signal); }
.carousel-btn.prev { left: 14px; }
.carousel-btn.next { right: 14px; }
.carousel-dots { display: flex; gap: 10px; justify-content: center; margin-top: 24px; }
.carousel-dots button {
    width: 9px; height: 9px; border-radius: 50%; border: none; cursor: pointer;
    background: rgba(255, 255, 255, .25); padding: 0;
    transition: background .18s, transform .18s;
}
.carousel-dots button.on { background: var(--signal); transform: scale(1.25); }
@media (max-width: 620px) {
    .carousel-btn { width: 38px; height: 38px; }
    .carousel-btn.prev { left: 8px; }
    .carousel-btn.next { right: 8px; }
}

/* ── Mobile-only carousel + light-background variants ───────────────────── */
/* .carousel-mobile: grid on desktop (carousel chrome hidden), swipeable
   carousel below 800px — for card sections that only stack-and-lengthen on
   small screens. Pair with .carousel-light on light-background sections. */
.carousel-mobile { max-width: none; }
@media (min-width: 801px) {
    .carousel-mobile .carousel-viewport { overflow: visible; border-radius: 0; }
    .carousel-mobile .carousel-track {
        display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px;
        transform: none !important; transition: none;
    }
    .carousel-mobile .carousel-btn,
    .carousel-mobile .carousel-dots { display: none; }
}
@media (max-width: 800px) {
    .carousel-mobile .carousel-slide { box-sizing: border-box; }
}
.carousel-light .carousel-dots button { background: rgba(12, 14, 16, .16); }
.carousel-light .carousel-dots button.on { background: var(--signal); }

/* ── Portal tour (platform.html, 2026-07-29) ────────────────────────────── */
/* Tabbed live-screenshot showcase: pill tabs above a browser-chrome frame. */
.portal-tour {
    background: var(--ink);
    color: var(--white);
}
.portal-tour .section-sub { color: var(--slate-light); }
.ptabs { display: flex; gap: 10px; margin: 46px 0 22px; flex-wrap: wrap; }
@media (max-width: 720px) {
    .ptabs {
        flex-wrap: nowrap; overflow-x: auto; padding-bottom: 6px;
        -webkit-overflow-scrolling: touch;
    }
}
.ptab {
    flex-shrink: 0; cursor: pointer;
    font-family: var(--font-body); font-weight: 600; font-size: .88rem;
    color: var(--slate-light);
    background: transparent; border: 1px solid rgba(255, 255, 255, .16);
    padding: 9px 18px; border-radius: 999px;
    transition: color .18s, border-color .18s, background .18s;
}
.ptab:hover { color: var(--white); border-color: rgba(255, 255, 255, .4); }
.ptab.on {
    color: var(--signal); border-color: rgba(242, 160, 61, .5);
    background: rgba(242, 160, 61, .08);
}
.browser-frame {
    margin: 0;
    background: var(--panel);
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 24px 70px rgba(0, 0, 0, .4);
}
.browser-bar {
    display: flex; align-items: center; gap: 7px;
    padding: 12px 16px;
    border-bottom: 1px solid rgba(255, 255, 255, .07);
}
.browser-bar .bdot { width: 11px; height: 11px; border-radius: 50%; background: rgba(255, 255, 255, .14); }
.browser-url {
    margin-left: 12px; padding: 4px 14px; border-radius: 999px;
    background: rgba(255, 255, 255, .06);
    color: var(--slate-light); font-family: var(--font-mono);
    font-size: .78rem; letter-spacing: .02em;
}
.browser-frame img { display: block; width: 100%; height: auto; }
.browser-frame figcaption {
    padding: 16px 20px;
    border-top: 1px solid rgba(255, 255, 255, .07);
    color: var(--slate-light); font-size: .93rem;
}

/* Light variant (AB#139) — the counterpart to .showcase--light, for the same
   reason: platform.html opens on this section, directly under the Ink hero. The
   browser frame becomes a white card on Paper instead of a Panel card on Ink. */
.portal-tour--light {
    background: var(--paper);
    color: var(--ink);
}
.portal-tour--light .section-eyebrow { color: var(--signal-deep); }
.portal-tour--light .section-sub { color: var(--slate); }
.portal-tour--light .ptab {
    color: var(--slate);
    border-color: rgba(12, 14, 16, .16);
}
.portal-tour--light .ptab:hover { color: var(--ink); border-color: rgba(12, 14, 16, .38); }
.portal-tour--light .ptab.on {
    color: var(--signal-deep);
    border-color: rgba(180, 91, 11, .45);
    background: rgba(180, 91, 11, .07);
}
.portal-tour--light .browser-frame {
    background: var(--white);
    border-color: rgba(12, 14, 16, .1);
    box-shadow: var(--shadow-card-hover);
}
.portal-tour--light .browser-bar { border-bottom-color: rgba(12, 14, 16, .08); }
.portal-tour--light .browser-bar .bdot { background: rgba(12, 14, 16, .14); }
.portal-tour--light .browser-url {
    background: rgba(12, 14, 16, .05);
    color: var(--slate);
}
.portal-tour--light .browser-frame figcaption {
    border-top-color: rgba(12, 14, 16, .08);
    color: var(--slate);
}


    /* ── Phone frames (app screenshots, fake status bar) ─────────────────── */
    .phone { background: #1B1B1D; border: 1px solid rgba(255,255,255,.14); border-radius: 34px; padding: 8px; box-shadow: 0 26px 60px rgba(0,0,0,.45); }
    .phone-screen { border-radius: 27px; overflow: hidden; background: #0B0B0C; }
    .phone-status { display: flex; align-items: center; justify-content: space-between; padding: 9px 17px 6px; font-size: 11px; font-weight: 600; color: #fff; }
    .phone-status .sig { display: flex; align-items: center; gap: 4px; }
    .phone-status .sig i { display: block; background: rgba(255,255,255,.85); }
    .phone-status .sig .a { width: 13px; height: 9px; border-radius: 1.5px; }
    .phone-status .sig .b { width: 10px; height: 10px; border-radius: 50%; }
    .phone-status .sig .c { width: 19px; height: 10px; border-radius: 2.5px; }
    .phone img { display: block; width: 100%; height: auto; }
    .phone.sm { border-radius: 30px; padding: 7px; }
    .phone.sm .phone-screen { border-radius: 24px; }
    .phone.sm .phone-status { padding: 8px 15px 5px; font-size: 10px; }
    .phone.sm .sig .a { width: 12px; height: 8px; }
    .phone.sm .sig .b { width: 9px; height: 9px; }
    .phone.sm .sig .c { width: 17px; height: 9px; }

    /* ── Hero collage (index) ────────────────────────────────────────────── */
    .hero .wrap { position: relative; z-index: 1; }
    .hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 56px; align-items: center; }
    .collage { position: relative; width: 470px; height: 560px; flex-shrink: 0; }
    .collage > div { position: absolute; }
    .collage .p-left { left: 0; top: 58px; width: 214px; transform: rotate(-7deg); filter: drop-shadow(0 30px 60px rgba(0,0,0,.55)); }
    .collage .p-right { right: 8px; top: 96px; width: 214px; transform: rotate(6deg); filter: drop-shadow(0 30px 60px rgba(0,0,0,.55)); }
    .collage .p-front { left: 118px; top: 0; width: 244px; filter: drop-shadow(0 40px 80px rgba(0,0,0,.65)); }
    .collage .p-detail { left: -34px; bottom: 6px; width: 208px; border-radius: 14px; overflow: hidden; border: 1px solid rgba(242,160,61,.3); box-shadow: 0 24px 50px rgba(0,0,0,.6); }
    .collage .p-detail img { display: block; width: 100%; height: auto; }
    @media (max-width: 1060px) {
        .hero-grid { grid-template-columns: 1fr; gap: 64px; }
        .collage { margin: 0 auto; }
    }
    @media (max-width: 560px) { .collage { display: none; } }

    /* ── App strip (mobile-app showcase) ─────────────────────────────────── */
    .app-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; align-items: start; margin-top: 64px; }
    .app-strip figure { margin: 0; display: flex; flex-direction: column; gap: 22px; align-items: flex-start; }
    .app-strip figure:nth-child(odd) { transform: translateY(28px); }
    .app-strip .phone { width: 244px; }
    .app-strip figcaption { max-width: 244px; }
    .app-strip figcaption b { display: block; font-family: var(--font-display); font-weight: 700; font-size: 1.06rem; margin-bottom: 6px; }
    .app-strip figcaption span { color: var(--slate-light); font-size: .92rem; line-height: 1.55; }
    @media (max-width: 900px) {
        .app-strip { grid-template-columns: 1fr; justify-items: center; gap: 48px; }
        .app-strip figure { align-items: center; text-align: center; }
        .app-strip figure:nth-child(odd) { transform: none; }
    }

    /* ── Proof split (call history) ──────────────────────────────────────── */
    .proof-split { display: grid; grid-template-columns: minmax(0, 420px) minmax(0, 1fr); gap: 56px; align-items: center; margin-top: 56px; }
    .proof-split .shot { border-radius: 18px; overflow: hidden; border: 1px solid rgba(12,14,16,.12); box-shadow: 0 18px 40px rgba(12,14,16,.18); }
    .proof-split .shot img { display: block; width: 100%; height: auto; }
    @media (max-width: 800px) { .proof-split { grid-template-columns: 1fr; gap: 36px; } }

    /* ── Video call split (lead section) ─────────────────────────────────── */
    .vc-split { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: 56px; align-items: start; margin-top: 56px; }
    @media (max-width: 900px) { .vc-split { grid-template-columns: 1fr; gap: 44px; } }
    .vc-shot { position: relative; border-radius: 16px; overflow: hidden; border: 1px solid rgba(255,255,255,.1); box-shadow: 0 26px 70px rgba(0,0,0,.5); }
    .vc-shot img { display: block; width: 100%; height: auto; }
    .vc-shot .live {
        position: absolute; top: 14px; left: 14px;
        display: inline-flex; align-items: center; gap: 8px;
        font-family: var(--font-mono);
        font-size: .72rem; font-weight: 500; letter-spacing: .11em; text-transform: uppercase;
        color: #fff; background: rgba(12,14,16,.72); backdrop-filter: blur(8px);
        padding: 6px 13px; border-radius: 999px; border: 1px solid rgba(255,255,255,.16);
    }
    .vc-shot .live i { display: block; width: 7px; height: 7px; border-radius: 50%; background: #FF4D4D; }
    .cap-list { list-style: none; display: flex; flex-direction: column; gap: 22px; }
    .cap-list li { display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 16px; align-items: start; }
    .cap-list .n {
        font-family: var(--font-display); font-weight: 700; font-size: .82rem; color: var(--ink);
        background: var(--signal); width: 26px; height: 26px; border-radius: 8px;
        display: flex; align-items: center; justify-content: center;
    }
    .cap-list b { display: block; font-family: var(--font-display); font-size: 1.05rem; margin-bottom: 5px; }
    .cap-list span { color: var(--slate-light); font-size: .95rem; line-height: 1.6; }

/* ══ Download card (client-facing app install) ════════════════════════════ */
/* Panel rather than Ink: this is the only dark section whose card is translucent
   rather than a raised Panel child, so it can take the lighter surface — and it
   lands between two Ink sections, which gives the app band its own step. */
.download { background: var(--panel); }
.download-card {
    display: grid;
    grid-template-columns: 96px minmax(0, 1fr);
    gap: 32px;
    align-items: center;
    max-width: 860px;
    margin: 0 auto;
    padding: 48px 52px;
    border-radius: 22px;
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(242, 160, 61, .28);
    box-shadow: 0 24px 60px rgba(0, 0, 0, .35);
    color: var(--white);
}
.download-icon {
    width: 96px; height: 96px; border-radius: 20px;
    display: flex; align-items: center; justify-content: center;
    background: rgba(242, 160, 61, .12); color: var(--signal);
    grid-row: 1 / span 2;
}
.download-icon svg { width: 44px; height: 44px; }
.download-body .section-eyebrow { margin-bottom: 8px; color: var(--signal); }
.download-body .section-title { margin-bottom: 14px; color: var(--white); }
.download-body .section-sub { color: var(--slate-light); max-width: 56ch; }
.download-btn { margin-top: 22px; display: inline-flex; align-items: center; }
.download-meta {
    margin-top: 12px;
    font-size: .85rem;
    color: var(--slate-light);
    font-family: var(--font-mono);
    letter-spacing: .02em;
}
.download-error {
    margin-top: 16px;
    color: var(--slate-light);
    font-size: .95rem;
}
.download-points {
    margin: 24px 0 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 10px;
}
.download-points li {
    position: relative;
    padding-left: 26px;
    color: var(--slate-light);
    font-size: .95rem;
}
.download-points li::before {
    content: "✓";
    position: absolute; left: 0; top: 0;
    color: var(--signal);
    font-weight: 700;
}
@media (max-width: 640px) {
    .download-card { grid-template-columns: 1fr; text-align: center; padding: 36px 28px; }
    .download-icon { margin: 0 auto; grid-row: auto; }
    .download-body .section-sub { margin-left: auto; margin-right: auto; }
    .download-points { text-align: left; max-width: 320px; margin-left: auto; margin-right: auto; }
    .download-btn { width: 100%; justify-content: center; }
}

/* ══ Reduced motion ═══════════════════════════════════════════════════════ */
/* Everything the page animates on its own, without the visitor asking for it:
   the scroll reveal, the carousel's slide, and the hero's pulsing dot. Hover
   and focus transitions stay — those are responses to a deliberate action.

   This block must stay LAST. A media query carries no extra specificity, so an
   ordinary rule further down the file (`.carousel-track`) would otherwise win. */
@media (prefers-reduced-motion: reduce) {
    .reveal { opacity: 1; transform: none; transition: none; }
    .carousel-track { transition: none; }
    .hero .hero-eyebrow .dot { animation: none; }
}
