@charset "UTF-8";

/* ==========================================================================
   RingDesk marketing site
   No web fonts, no images, no third-party requests. One stylesheet, one module.
   ========================================================================== */

:root {
    color-scheme: light;

    --ink: #0b1220;
    --ink-soft: #33415c;
    --muted: #64708b;
    --line: #e5e9f2;
    --line-soft: #eef1f7;
    --panel: #ffffff;
    --canvas: #f6f8fc;

    --brand: #2563eb;
    --brand-strong: #1a3fb8;
    --brand-2: #6d5cf6;
    --green: #067f4a;
    --green-bright: #12b76a;
    --night: #060c1d;

    --shell: min(1180px, 100% - 40px);
    --radius-sm: 12px;
    --radius: 18px;
    --radius-lg: 28px;

    --shadow-sm: 0 1px 2px rgba(11, 18, 32, .05), 0 10px 24px -16px rgba(11, 18, 32, .3);
    --shadow-md: 0 28px 64px -32px rgba(11, 18, 32, .38);
    --shadow-lg: 0 48px 110px -46px rgba(11, 18, 32, .5);
    --shadow-brand: 0 18px 40px -18px rgba(37, 99, 235, .55);

    --ease-out: cubic-bezier(.22, 1, .36, 1);
    --ease-spring: cubic-bezier(.2, .8, .2, 1);

    font-family: Inter, "SF Pro Text", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-synthesis-weight: none;
}

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

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    min-width: 320px;
    color: var(--ink);
    background: var(--panel);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    overflow-x: clip;
}

button {
    font: inherit;
    cursor: pointer;
}

img,
svg {
    max-width: 100%;
}

a {
    color: var(--brand);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

h1,
h2,
h3,
h4 {
    margin: 0;
    letter-spacing: -.035em;
    line-height: 1.08;
    text-wrap: balance;
}

p {
    line-height: 1.65;
    text-wrap: pretty;
}

code {
    font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
    font-size: .92em;
}

.hidden {
    display: none !important;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
    border: 0;
}

a.sr-only:focus-visible {
    z-index: 100;
    width: auto;
    height: auto;
    margin: 8px;
    padding: 12px 18px;
    clip-path: none;
    border-radius: var(--radius-sm);
    color: white;
    background: var(--night);
}

:focus-visible {
    outline: 3px solid rgba(37, 99, 235, .45);
    outline-offset: 2px;
}

.shell {
    width: var(--shell);
    margin-inline: auto;
}

.shell-wide {
    width: min(1360px, 100% - 40px);
    margin-inline: auto;
}

[id] {
    scroll-margin-top: 96px;
}

/* ------------------------------------------------------------------ motion */

.scroll-progress {
    position: fixed;
    z-index: 60;
    inset: 0 0 auto;
    height: 3px;
    transform: scaleX(0);
    transform-origin: 0 50%;
    background: linear-gradient(90deg, var(--brand), var(--brand-2) 70%, var(--green-bright));
}

@keyframes progress-grow {
    to {
        transform: scaleX(1);
    }
}

@keyframes reveal-in {
    from {
        opacity: 0;
        transform: translate3d(0, 26px, 0);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

@keyframes rise-in {
    from {
        opacity: 0;
        transform: translate3d(0, 34px, 0) scale(.97);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

@media (prefers-reduced-motion: no-preference) {

    /* Scroll-linked path: zero JavaScript, compositor driven. */
    @supports (animation-timeline: view()) {
        .scroll-progress {
            animation: progress-grow linear both;
            animation-timeline: scroll(root block);
        }

        [data-reveal],
        [data-reveal-group]>* {
            animation: reveal-in linear both;
            animation-timeline: view();
            animation-range: entry 2% cover 22%;
        }

        [data-reveal="rise"],
        [data-reveal-group="rise"]>* {
            animation-name: rise-in;
        }
    }

    /* Fallback path: only engages once the observer is confirmed running. */
    .js-reveal [data-reveal],
    .js-reveal [data-reveal-group]>* {
        opacity: 0;
        transform: translate3d(0, 26px, 0);
    }

    .js-reveal [data-reveal].is-visible,
    .js-reveal [data-reveal-group]>.is-visible {
        opacity: 1;
        transform: none;
        transition: opacity .75s var(--ease-out), transform .75s var(--ease-out);
        transition-delay: var(--reveal-delay, 0ms);
    }
}

/* Stagger children of a revealed group. */
[data-reveal-group]> :nth-child(1) {
    --reveal-delay: 0ms;
}

[data-reveal-group]> :nth-child(2) {
    --reveal-delay: 70ms;
}

[data-reveal-group]> :nth-child(3) {
    --reveal-delay: 140ms;
}

[data-reveal-group]> :nth-child(4) {
    --reveal-delay: 210ms;
}

[data-reveal-group]> :nth-child(5) {
    --reveal-delay: 280ms;
}

[data-reveal-group]> :nth-child(6) {
    --reveal-delay: 350ms;
}

/* --------------------------------------------------------------- structure */

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 14px;
    color: var(--brand-strong);
    font-size: 11.5px;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.eyebrow::before {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: currentColor;
    content: "";
}

.muted {
    color: var(--muted);
}

.fine {
    font-size: 14px;
}

.note {
    margin-top: 24px;
    color: var(--muted);
    font-size: 14px;
}

.section {
    position: relative;
    padding: clamp(64px, 8vw, 128px) 0;
}

.section.tinted {
    background: var(--canvas);
    border-block: 1px solid var(--line);
}

.section.compact {
    padding-block: clamp(52px, 6vw, 92px);
}

.section.compact .section-head {
    margin-bottom: clamp(26px, 3vw, 42px);
}

.section-head {
    max-width: 760px;
    margin-bottom: clamp(36px, 4vw, 56px);
}

.section-head h2 {
    font-size: clamp(31px, 4vw, 50px);
    letter-spacing: -.045em;
}

.section-head p {
    margin: 18px 0 0;
    color: var(--muted);
    font-size: 17.5px;
}

.section-head.center {
    margin-inline: auto;
    text-align: center;
}

.section-head.center .eyebrow {
    justify-content: center;
}

.section-cta {
    margin-top: 32px;
}

/* ------------------------------------------------------------------ chrome */

.brand {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    color: var(--ink);
    font-size: 19px;
    font-weight: 800;
    letter-spacing: -.03em;
}

.brand:hover {
    text-decoration: none;
}

.brand-mark {
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border-radius: 11px;
    color: white;
    background: linear-gradient(145deg, #5b8bff, #1b3fbe 70%, #4c2fd6);
    box-shadow: var(--shadow-brand);
    font-size: 17px;
    font-weight: 900;
}

.brand-mark.sm {
    width: 26px;
    height: 26px;
    border-radius: 8px;
    font-size: 12px;
    box-shadow: none;
}

.announce {
    padding: 11px 20px;
    color: #cddcff;
    background: var(--night);
    font-size: 13px;
    text-align: center;
}

.announce a {
    color: white;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.topnav {
    position: sticky;
    top: 0;
    z-index: 40;
    border-bottom: 1px solid transparent;
    background: rgba(255, 255, 255, .72);
    backdrop-filter: saturate(180%) blur(18px);
    -webkit-backdrop-filter: saturate(180%) blur(18px);
    transition: background .3s var(--ease-out), border-color .3s var(--ease-out), box-shadow .3s var(--ease-out);
}

.topnav.is-stuck {
    border-bottom-color: var(--line);
    background: rgba(255, 255, 255, .86);
    box-shadow: 0 12px 30px -26px rgba(11, 18, 32, .6);
}

.topnav .shell {
    display: flex;
    align-items: center;
    gap: 28px;
    min-height: 72px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-left: 8px;
}

.nav-links a {
    position: relative;
    padding: 8px 12px;
    border-radius: 999px;
    color: var(--ink-soft);
    font-size: 14px;
    font-weight: 650;
    transition: color .2s var(--ease-out), background .2s var(--ease-out);
}

.nav-links a:hover {
    color: var(--ink);
    background: rgba(11, 18, 32, .05);
    text-decoration: none;
}

.nav-links a[aria-current="page"] {
    color: var(--brand-strong);
    background: rgba(37, 99, 235, .1);
}

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

.nav-toggle {
    display: none;
    width: 44px;
    height: 44px;
    margin-left: auto;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: white;
    font-size: 18px;
}

/* ----------------------------------------------------------------- buttons */

.button {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 46px;
    padding: 0 20px;
    overflow: hidden;
    border: 1px solid transparent;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 700;
    white-space: nowrap;
    transition: transform .2s var(--ease-spring), box-shadow .25s var(--ease-out), background .2s var(--ease-out), border-color .2s var(--ease-out), color .2s var(--ease-out);
}

.button:hover {
    text-decoration: none;
    transform: translateY(-2px);
}

.button:active {
    transform: translateY(0);
}

.button.primary {
    color: white;
    background: linear-gradient(135deg, #2f6bff, #1c3fc4 55%, #4b31d8);
    box-shadow: var(--shadow-brand);
}

.button.primary::after {
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, transparent 35%, rgba(255, 255, 255, .28) 50%, transparent 65%);
    opacity: 0;
    transform: translateX(-60%);
    transition: opacity .2s linear, transform .6s var(--ease-out);
    content: "";
}

.button.primary:hover {
    box-shadow: 0 24px 50px -18px rgba(37, 99, 235, .65);
}

.button.primary:hover::after {
    opacity: 1;
    transform: translateX(60%);
}

.button.ghost {
    color: var(--ink-soft);
    border-color: #d3d9e6;
    background: rgba(255, 255, 255, .8);
}

.button.ghost:hover {
    color: var(--ink);
    border-color: #93a0bb;
    background: white;
}

.button.quiet {
    min-height: 40px;
    padding: 0 10px;
    color: var(--ink-soft);
}

.button.quiet:hover {
    color: var(--ink);
    background: rgba(11, 18, 32, .05);
}

.button.large {
    min-height: 54px;
    padding: 0 28px;
    font-size: 16px;
}

.button.on-dark {
    color: var(--night);
    background: white;
    box-shadow: 0 20px 44px -20px rgba(0, 0, 0, .7);
}

.button.on-dark.ghost {
    color: white;
    border-color: rgba(255, 255, 255, .34);
    background: rgba(255, 255, 255, .06);
    box-shadow: none;
}

.button.on-dark.ghost:hover {
    border-color: rgba(255, 255, 255, .6);
    background: rgba(255, 255, 255, .14);
}

/* -------------------------------------------------------------------- hero */

.hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding: clamp(56px, 7vw, 104px) 0 clamp(60px, 7vw, 108px);
}

.hero::before,
.hero::after {
    position: absolute;
    z-index: -1;
    border-radius: 50%;
    filter: blur(70px);
    content: "";
    pointer-events: none;
}

.hero::before {
    top: -32%;
    right: -12%;
    width: 62vw;
    max-width: 820px;
    aspect-ratio: 1;
    background: radial-gradient(circle at 50% 50%, rgba(74, 124, 255, .38), rgba(109, 92, 246, .16) 45%, transparent 68%);
}

.hero::after {
    bottom: -40%;
    left: -18%;
    width: 48vw;
    max-width: 620px;
    aspect-ratio: 1;
    background: radial-gradient(circle at 50% 50%, rgba(18, 183, 106, .2), transparent 66%);
}

.hero .shell {
    position: relative;
    display: grid;
    gap: clamp(40px, 5vw, 72px);
    grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr);
    align-items: center;
}

.hero.simple .shell {
    grid-template-columns: minmax(0, 1fr);
    max-width: 900px;
}

.hero h1 {
    font-size: clamp(41px, 5.6vw, 70px);
    letter-spacing: -.055em;
    line-height: 1.02;
}

.hero .lede {
    max-width: 580px;
    margin: 24px 0 0;
    color: var(--ink-soft);
    font-size: 18.5px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 34px;
}

.hero-actions.center {
    justify-content: center;
}

.hero-reassure {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 22px;
    margin: 28px 0 0;
    padding: 0;
    list-style: none;
    color: var(--muted);
    font-size: 13px;
    font-weight: 650;
}

.hero-reassure li::before {
    margin-right: 7px;
    color: var(--green);
    font-weight: 900;
    content: "\2713";
}

.proof-strip {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px 34px;
    padding: 24px 20px;
    border-block: 1px solid var(--line);
    color: var(--ink-soft);
    background: var(--canvas);
    font-size: 13px;
    font-weight: 700;
}

.proof-strip span::before {
    margin-right: 9px;
    color: #a9bae0;
    content: "\25C6";
}

/* The strip and a following tinted section share one canvas, so drop the seam. */
.proof-strip:has(+ .section.tinted) {
    border-bottom: 0;
}

/* ------------------------------------------------- code-built app mockups */

/* Every screen is drawn in `em`, and the one font-size that drives them is a
   share of the frame width. The whole mock therefore scales proportionally at
   any viewport instead of overflowing or wrapping into a different layout. */

.device {
    position: relative;
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
}

.device-frame {
    position: relative;
    padding: .85em;
    border-radius: 3em;
    background: linear-gradient(155deg, #33364f, #12141f 46%, #05060d);
    box-shadow:
        var(--shadow-lg),
        inset 0 0 0 1px rgba(255, 255, 255, .10),
        inset 0 1.5px 0 rgba(255, 255, 255, .22);
    font-size: 13px;
}

@supports (container-type: inline-size) {
    .device {
        container-type: inline-size;
    }

    .device-frame {
        font-size: 4.35cqw;
    }
}

/* Dynamic island */
.device-frame::after {
    position: absolute;
    z-index: 3;
    top: 1.75em;
    left: 50%;
    width: 5.2em;
    height: 1.35em;
    transform: translateX(-50%);
    border-radius: 1em;
    background: #05060d;
    content: "";
}

.device-screen {
    position: relative;
    display: flex;
    flex-direction: column;
    aspect-ratio: 9 / 19;
    overflow: hidden;
    isolation: isolate;
    border-radius: 2.25em;
    background: #f5f5f5;
    line-height: 1.35;
}

.device-caption {
    margin: 14px 0 0;
    color: var(--muted);
    font-size: 12.5px;
    font-weight: 650;
    text-align: center;
}

/* Icons are masked so the markup stays free of repeated inline SVG. */
.ap-ico {
    display: block;
    flex: 0 0 auto;
    width: 1em;
    height: 1em;
    background: currentColor;
    -webkit-mask: var(--ico) center / contain no-repeat;
    mask: var(--ico) center / contain no-repeat;
}

@supports not (mask-image: none) {
    .ap-ico {
        background: none;
    }
}

.ap-ico-call {
    --ico: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M19.23 15.26l-2.54-.29a2 2 0 0 0-1.64.57l-1.84 1.84a15.05 15.05 0 0 1-6.59-6.59l1.85-1.85c.43-.43.64-1.03.57-1.64l-.29-2.52A2 2 0 0 0 6.76 3H5.03C3.9 3 2.96 3.94 3.03 5.07c.53 8.54 7.36 15.36 15.89 15.89 1.13.07 2.07-.87 2.07-2v-1.73c.01-1.01-.75-1.86-1.76-1.97z'/></svg>");
}

.ap-ico-callend {
    --ico: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M12 9c-1.6 0-3.15.25-4.6.72v3.1c0 .39-.23.74-.56.9-.98.49-1.87 1.12-2.66 1.85-.18.18-.43.28-.7.28-.28 0-.53-.11-.71-.29L.29 13.08A.96.96 0 0 1 0 12.38c0-.28.11-.53.29-.71C3.34 8.78 7.46 7 12 7s8.66 1.78 11.71 4.67c.18.18.29.43.29.71 0 .28-.11.53-.29.71l-2.48 2.48c-.18.18-.43.29-.71.29-.27 0-.52-.11-.7-.28a11.27 11.27 0 0 0-2.67-1.85.99.99 0 0 1-.55-.9v-3.1C15.15 9.25 13.6 9 12 9z'/></svg>");
}

.ap-ico-mic {
    --ico: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M12 14c1.66 0 3-1.34 3-3V5c0-1.66-1.34-3-3-3S9 3.34 9 5v6c0 1.66 1.34 3 3 3zm5.3-3c0 3-2.54 5.1-5.3 5.1S6.7 14 6.7 11H5c0 3.41 2.72 6.23 6 6.72V21h2v-3.28c3.28-.49 6-3.31 6-6.72h-1.7z'/></svg>");
}

.ap-ico-speaker {
    --ico: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M3 9v6h4l5 5V4L7 9H3zm13.5 3c0-1.77-1.02-3.29-2.5-4.03v8.05c1.48-.73 2.5-2.25 2.5-4.02zM14 3.23v2.06c2.89.86 5 3.54 5 6.71s-2.11 5.85-5 6.71v2.06c4.01-.91 7-4.49 7-8.77s-2.99-7.86-7-8.77z'/></svg>");
}

.ap-ico-record {
    --ico: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><circle cx='12' cy='12' r='8'/></svg>");
}

.ap-ico-headset {
    --ico: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M12 1C7.03 1 3 5.03 3 10v7a3 3 0 0 0 3 3h3v-8H5v-2a7 7 0 0 1 14 0v2h-4v8h3v1h-5v2h4a3 3 0 0 0 3-3V10c0-4.97-4.03-9-9-9z'/></svg>");
}

.ap-ico-received {
    --ico: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M20 5.41 18.59 4 7 15.59V9H5v10h10v-2H8.41z'/></svg>");
}

.ap-ico-missed {
    --ico: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M19.59 7 12 14.59 6.41 9H11V7H3v8h2v-4.59l7 7 9-9z'/></svg>");
}

.ap-ico-dashboard {
    --ico: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M19 3H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V5a2 2 0 0 0-2-2zm-8 16H5V5h6v14zm8 0h-6v-8h6v8zm0-10h-6V5h6v4z'/></svg>");
}

.ap-ico-history {
    --ico: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M13 3a9 9 0 0 0-9 9H1l3.9 3.9.07.14L9 12H6a7 7 0 1 1 2.05 4.94l-1.42 1.42A9 9 0 1 0 13 3zm-1 5v5l4.28 2.54.72-1.21-3.5-2.08V8H12z'/></svg>");
}

.ap-ico-person {
    --ico: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M12 12a4 4 0 1 0 0-8 4 4 0 0 0 0 8zm0 2c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4z'/></svg>");
}

.ap-ico-wave {
    --ico: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M7 18h2V6H7v12zm4 4h2V2h-2v20zM3 14h2v-4H3v4zm12 4h2V6h-2v12zm4-8v4h2v-4h-2z'/></svg>");
}

.ap-ico-note {
    --ico: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8l-6-6zm2 16H8v-2h8v2zm0-4H8v-2h8v2zm-3-5V3.5L18.5 9H13z'/></svg>");
}

.ap-ico-menu {
    --ico: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M3 6h18v2H3V6zm0 5h18v2H3v-2zm0 5h18v2H3v-2z'/></svg>");
}

.ap-ico-shield {
    --ico: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M12 1 3 5v6c0 5.55 3.84 10.74 9 12 5.16-1.26 9-6.45 9-12V5l-9-4zm-1.4 15L7 12.4l1.4-1.4 2.2 2.2 4.6-4.6L16.6 10l-6 6z'/></svg>");
}

/* ----------------------------------------------------- agent call screens */

.ap-call {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 3.3em 1.05em 1.4em;
    color: white;
    background: linear-gradient(158deg, #4a4d9e, #2d3068 52%, #17182d);
}

/* Mirrors the painted call backdrop in the app: two colour blooms, a faint
   diagonal mesh, and a vignette that protects the white controls. */
.ap-call::before {
    position: absolute;
    z-index: -2;
    inset: 0;
    background:
        radial-gradient(46% 30% at 18% 22%, rgba(139, 142, 234, .5), transparent 70%),
        radial-gradient(42% 28% at 86% 74%, rgba(45, 48, 104, .85), transparent 72%);
    content: "";
}

.ap-call::after {
    position: absolute;
    z-index: -1;
    inset: 0;
    background:
        repeating-linear-gradient(45deg, rgba(255, 255, 255, .05) 0 1px, transparent 1px 3.4em),
        radial-gradient(ellipse 95% 70% at 50% 45%, transparent 55%, rgba(0, 0, 0, .32));
    content: "";
}

.ap-appbar {
    display: flex;
    align-items: center;
    gap: .75em;
}

.ap-tile {
    display: grid;
    flex: 0 0 auto;
    place-items: center;
    width: 2.95em;
    height: 2.95em;
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: .95em;
    background: rgba(139, 142, 234, .32);
    font-size: 1em;
    font-weight: 800;
}

.ap-tile .ap-ico {
    font-size: 1.35em;
}

.ap-appbar-text {
    flex: 1;
    min-width: 0;
}

.ap-appbar-name {
    display: block;
    overflow: hidden;
    font-size: 1.05em;
    font-weight: 800;
    letter-spacing: -.015em;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ap-appbar-sub {
    display: block;
    color: rgba(255, 255, 255, .7);
    font-size: .8em;
}

.ap-pill {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    gap: .4em;
    padding: .42em .72em;
    border-radius: 1.3em;
    background: rgba(255, 255, 255, .12);
    font-size: .78em;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}

.ap-pill-live {
    background: #237b4b;
}

.ap-dot {
    width: .55em;
    height: .55em;
    border-radius: 50%;
    background: #9be5b7;
}

.ap-callbody {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-block: auto;
    text-align: center;
}

.ap-callbody-label {
    color: rgba(255, 255, 255, .72);
    font-size: .85em;
    font-weight: 600;
    letter-spacing: .02em;
}

.ap-avatar-wrap {
    position: relative;
    margin-top: 1.3em;
}

.ap-avatar {
    display: grid;
    place-items: center;
    width: 7.9em;
    height: 7.9em;
    border: 2px solid rgba(255, 255, 255, .22);
    border-radius: 50%;
    background: #2d3068;
    box-shadow: 0 0 3.2em .5em rgba(139, 142, 234, .42);
    font-size: 1em;
}

.ap-avatar b {
    font-size: 2.5em;
    font-weight: 700;
    letter-spacing: -.02em;
}

.ap-avatar .ap-ico {
    font-size: 3.4em;
    opacity: .92;
}

/* Concentric rings echoing the ringtone, exactly as the app paints them. */
.ap-ripple {
    position: absolute;
    inset: 0;
    z-index: -1;
    border: 1px solid rgba(139, 142, 234, .75);
    border-radius: 50%;
    opacity: 0;
}

.ap-callname {
    margin-top: .8em;
    font-size: 1.85em;
    font-weight: 800;
    letter-spacing: -.03em;
    line-height: 1.12;
}

.ap-callhandle {
    margin-top: .3em;
    color: rgba(255, 255, 255, .7);
    font-size: .84em;
}

.ap-timer {
    margin-top: .45em;
    color: #c8c9e8;
    font-size: 1em;
    font-variant-numeric: tabular-nums;
}

.ap-fields {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: .45em;
    margin-top: 1.1em;
}

.ap-field {
    display: inline-flex;
    align-items: center;
    gap: .4em;
    padding: .5em .7em;
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: .9em;
    background: rgba(255, 255, 255, .1);
    font-size: .76em;
}

.ap-field i {
    color: rgba(255, 255, 255, .7);
    font-style: normal;
    font-weight: 600;
}

.ap-field b {
    font-weight: 700;
}

.ap-recording {
    display: inline-flex;
    align-items: center;
    gap: .4em;
    margin-top: .9em;
    padding: .42em .8em;
    border-radius: 1.3em;
    background: rgba(196, 49, 75, .3);
    color: white;
    font-size: .76em;
    font-weight: 700;
}

.ap-recording .ap-ico {
    color: #ff8296;
    font-size: .9em;
}

.ap-actions {
    display: flex;
    justify-content: space-evenly;
    align-items: flex-end;
    margin-top: auto;
    padding-top: 1.3em;
}

.ap-action {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .6em;
}

.ap-key {
    display: grid;
    place-items: center;
    width: 4.1em;
    height: 4.1em;
    border-radius: 50%;
    box-shadow: 0 .5em 1.1em -.4em rgba(0, 0, 0, .6);
    font-size: 1em;
}

.ap-key .ap-ico {
    font-size: 1.7em;
}

.ap-action-label {
    font-size: .8em;
    font-weight: 700;
}

.ap-action-decline .ap-key {
    background: #c4314b;
}

.ap-action-answer .ap-key {
    width: 4.7em;
    height: 4.7em;
    background: #237b4b;
}

.ap-action-answer .ap-ico {
    font-size: 1.95em;
}

/* Live-call control bar */

.ap-controls {
    display: flex;
    justify-content: space-around;
    margin-top: auto;
    padding: 1.1em .6em .95em;
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 1.5em;
    background: rgba(0, 0, 0, .2);
}

.ap-control {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .5em;
    font-size: .78em;
    font-weight: 600;
}

.ap-control-key {
    display: grid;
    place-items: center;
    width: 3.6em;
    height: 3.6em;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 50%;
    background: rgba(255, 255, 255, .12);
}

.ap-control-key .ap-ico {
    font-size: 1.5em;
}

.ap-control-on .ap-control-key {
    border-color: transparent;
    background: white;
    color: #17182d;
}

.ap-endcall {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .5em;
    width: 11em;
    margin: 1.3em auto 0;
    padding: .85em 1em;
    border-radius: .35em;
    background: #c4314b;
    font-size: .95em;
    font-weight: 700;
}

.ap-endcall .ap-ico {
    font-size: 1.2em;
}

.ap-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .5em;
    margin: .3em 0 0;
    padding: .95em 1em;
    border-radius: .35em;
    background: #5b5fc7;
    color: white;
    font-size: .95em;
    font-weight: 700;
}

.ap-cta .ap-ico {
    font-size: 1.15em;
}

.ap-cta-pinned {
    margin-top: auto;
}

.ap-fine {
    margin: .7em 0 .9em;
    color: #616161;
    font-size: .66em;
    text-align: center;
}

.ap-track {
    margin: 0;
    padding: 0 0 0 1.1em;
    border-left: 1px solid #e1dfdd;
    list-style: none;
}

.ap-track li {
    position: relative;
    padding: .3em 0;
    color: #616161;
    font-size: .72em;
}

.ap-track li::before {
    position: absolute;
    top: .72em;
    left: -1.45em;
    width: .65em;
    height: .65em;
    border-radius: 50%;
    background: #237b4b;
    content: "";
}

.ap-track .ap-track-late {
    color: #b15c00;
    font-weight: 700;
}

.ap-track .ap-track-late::before {
    background: #b15c00;
}

/* ------------------------------------------------- agent workspace screens */

.ap-app {
    display: flex;
    flex-direction: column;
    height: 100%;
    color: #242424;
    background: #f5f5f5;
    font-size: 1em;
}

.ap-topbar {
    display: flex;
    align-items: center;
    gap: .55em;
    padding: 2.9em .85em .8em;
    border-bottom: 1px solid #e1dfdd;
    background: white;
}

.ap-topbar-brand {
    display: flex;
    align-items: center;
    gap: .4em;
    font-size: 1.05em;
    font-weight: 800;
    letter-spacing: -.02em;
}

.ap-topbar-brand .ap-ico {
    color: #5b5fc7;
    font-size: 1.15em;
}

.ap-topbar-end {
    display: flex;
    align-items: center;
    gap: .45em;
    margin-left: auto;
}

.ap-status-chip {
    display: inline-flex;
    align-items: center;
    gap: .35em;
    padding: .3em .55em;
    border-radius: 1em;
    background: #e7f5ed;
    color: #237b4b;
    font-size: .68em;
    font-weight: 700;
}

.ap-status-chip .ap-dot {
    background: #237b4b;
}

.ap-user {
    display: grid;
    place-items: center;
    width: 2.1em;
    height: 2.1em;
    border-radius: 50%;
    background: #e8ebfa;
    color: #5b5fc7;
    font-size: .85em;
    font-weight: 800;
}

.ap-scroll {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: .7em;
    overflow: hidden;
    padding: .85em .8em 0;
}

.ap-heading {
    font-size: 1.35em;
    font-weight: 800;
    letter-spacing: -.03em;
}

.ap-subheading {
    margin-top: .15em;
    color: #616161;
    font-size: .78em;
}

.ap-team {
    display: flex;
    align-items: center;
    gap: .6em;
    padding: .7em;
    border-radius: 1em;
    background: #e8ebfa;
}

.ap-team-mark {
    display: grid;
    flex: 0 0 auto;
    place-items: center;
    width: 2.4em;
    height: 2.4em;
    border: 1px solid rgba(91, 95, 199, .35);
    border-radius: .8em;
    background: rgba(91, 95, 199, .18);
    color: #4245a8;
    font-size: 1em;
    font-weight: 800;
}

.ap-team-text {
    min-width: 0;
    flex: 1;
}

.ap-eyebrow {
    display: block;
    color: #616161;
    font-size: .62em;
    font-weight: 700;
}

.ap-team-name {
    display: block;
    overflow: hidden;
    font-size: .92em;
    font-weight: 800;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ap-team-role {
    display: block;
    color: #616161;
    font-size: .68em;
}

.ap-hero {
    padding: .95em;
    border-radius: 1.25em;
    background: linear-gradient(135deg, #5b5fc7, #2d3068);
    color: white;
}

.ap-hero-top {
    display: flex;
    align-items: center;
    gap: .7em;
}

.ap-hero-avatar {
    display: grid;
    flex: 0 0 auto;
    place-items: center;
    width: 2.9em;
    height: 2.9em;
    border-radius: 50%;
    background: rgba(255, 255, 255, .18);
    font-size: 1em;
    font-weight: 800;
}

.ap-hero-name {
    display: block;
    font-size: 1.15em;
    font-weight: 800;
    letter-spacing: -.02em;
}

.ap-hero-role {
    display: block;
    color: rgba(255, 255, 255, .74);
    font-size: .74em;
}

.ap-hero-state {
    display: flex;
    align-items: center;
    gap: .5em;
    margin-top: 1em;
    padding: .65em .7em;
    border-radius: .8em;
    background: rgba(255, 255, 255, .12);
    font-size: .74em;
    font-weight: 600;
}

.ap-hero-state .ap-dot {
    box-shadow: 0 0 0 2px rgba(255, 255, 255, .85);
}

.ap-section-title {
    margin-top: .2em;
    font-size: .95em;
    font-weight: 800;
    letter-spacing: -.02em;
}

.ap-card {
    border: 1px solid #e1dfdd;
    border-radius: .55em;
    background: white;
}

.ap-gauges {
    display: flex;
    justify-content: space-around;
    padding: .9em .5em;
}

.ap-gauge {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .45em;
}

.ap-gauge-ring {
    position: relative;
    display: grid;
    place-items: center;
    width: 3.4em;
    height: 3.4em;
    border-radius: 50%;
    background: conic-gradient(#5b5fc7 var(--fill), #e8ebfa 0);
}

.ap-gauge-ring::before {
    position: absolute;
    inset: .42em;
    border-radius: 50%;
    background: white;
    content: "";
}

.ap-gauge-value {
    position: relative;
    font-size: .74em;
    font-weight: 800;
}

.ap-gauge-label {
    color: #616161;
    font-size: .66em;
    font-weight: 700;
}

.ap-gauge-today {
    --fill: 86%;
}

.ap-gauge-week {
    --fill: 92%;
}

.ap-gauge-month {
    --fill: 78%;
}

.ap-row {
    display: flex;
    align-items: center;
    gap: .65em;
    padding: .75em .8em;
}

.ap-row+.ap-row {
    border-top: 1px solid #e1dfdd;
}

.ap-row-icon {
    display: grid;
    flex: 0 0 auto;
    place-items: center;
    width: 2.1em;
    height: 2.1em;
    border-radius: .6em;
    background: #e8ebfa;
    color: #5b5fc7;
    font-size: 1em;
}

.ap-row-label {
    display: block;
    color: #616161;
    font-size: .68em;
}

.ap-row-value {
    display: block;
    font-size: .8em;
    font-weight: 700;
}

/* Call log list */

.ap-daygroup {
    margin-top: .45em;
    color: #616161;
    font-size: .66em;
    font-weight: 800;
    letter-spacing: .05em;
}

.ap-log {
    display: flex;
    align-items: center;
    gap: .6em;
    padding: .42em 0;
}

.ap-log-avatar {
    display: grid;
    flex: 0 0 auto;
    place-items: center;
    width: 2.4em;
    height: 2.4em;
    border-radius: 50%;
    background: rgba(91, 95, 199, .16);
    color: #4245a8;
    font-size: .95em;
    font-weight: 800;
}

.ap-log-text {
    min-width: 0;
    flex: 1;
}

.ap-log-name {
    display: flex;
    align-items: center;
    gap: .35em;
    overflow: hidden;
    font-size: .84em;
    font-weight: 700;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ap-log-name .ap-ico {
    font-size: .95em;
}

.ap-log-answered .ap-ico {
    color: #237b4b;
}

.ap-log-missed .ap-ico {
    color: #c4314b;
}

.ap-log-meta {
    display: block;
    overflow: hidden;
    color: #616161;
    font-size: .68em;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ap-log-marks {
    display: flex;
    flex: 0 0 auto;
    gap: .4em;
    color: #8a8886;
    font-size: .95em;
}

/* Bottom navigation */

.ap-nav {
    display: flex;
    margin-top: auto;
    padding: .5em .3em .95em;
    border-top: 1px solid #e1dfdd;
    background: white;
}

.ap-nav-item {
    display: flex;
    flex: 1;
    flex-direction: column;
    align-items: center;
    gap: .3em;
    color: #616161;
    font-size: .64em;
    font-weight: 650;
}

.ap-nav-icon {
    display: grid;
    place-items: center;
    width: 3.6em;
    height: 1.9em;
    border-radius: 1em;
}

.ap-nav-icon .ap-ico {
    font-size: 1.5em;
}

.ap-nav-on {
    color: #242424;
    font-weight: 750;
}

.ap-nav-on .ap-nav-icon {
    background: #e8ebfa;
    color: #5b5fc7;
}

/* ----------------------------------------------- customer app in your product */

.replay {
    display: grid;
    gap: 20px;
    grid-template-columns: minmax(0, 1fr) minmax(0, 250px);
    align-items: center;
}

.replay-app {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: white;
    box-shadow: var(--shadow-md);
}

.replay-app header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 18px;
    border-bottom: 1px solid var(--line-soft);
    background: var(--canvas);
    font-size: 12.5px;
    font-weight: 750;
}

.replay-app header em {
    margin-left: auto;
    padding: 4px 9px;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: white;
    color: var(--muted);
    font-size: 10.5px;
    font-style: normal;
    font-weight: 700;
    white-space: nowrap;
}

.replay-body {
    padding: 18px;
}

.replay-hero {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 12px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--line-soft);
}

.replay-hero-text {
    flex: 1 1 150px;
    min-width: 0;
}

.replay-logo {
    display: grid;
    flex: 0 0 auto;
    place-items: center;
    width: 44px;
    height: 44px;
    border: 1px solid #c9d7ff;
    border-radius: 14px;
    background: #e6edff;
    color: #2948a9;
    font-size: 18px;
    font-weight: 800;
}

.replay-hero-title {
    display: block;
    overflow: hidden;
    font-size: 15px;
    font-weight: 800;
    letter-spacing: -.02em;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.replay-hero-sub {
    display: block;
    color: var(--muted);
    font-size: 11.5px;
    font-weight: 650;
}

.replay-online {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-left: auto;
    padding: 5px 10px;
    border-radius: 999px;
    background: #e7f5ed;
    color: #067f4a;
    font-size: 10.5px;
    font-weight: 750;
    white-space: nowrap;
}

.replay-online::before {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #12b76a;
    content: "";
}

.replay-label {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 16px 0 10px;
    color: var(--muted);
    font-size: 10.5px;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.replay-secure {
    margin-left: auto;
    padding: 4px 9px;
    border-radius: 999px;
    background: var(--canvas);
    color: var(--ink-soft);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0;
    text-transform: none;
}

.replay-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 11px 0;
    border-bottom: 1px dashed var(--line);
    font-size: 13px;
}

.replay-row:last-of-type {
    border-bottom: 0;
}

.replay-row .dot {
    display: grid;
    flex: 0 0 auto;
    place-items: center;
    width: 30px;
    height: 30px;
    border-radius: 10px;
    color: #2948a9;
    background: #e6edff;
    font-size: 13px;
}

.replay-row strong {
    display: block;
    font-size: 13px;
}

.replay-row small {
    color: var(--muted);
    font-size: 11.5px;
}

.replay-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    width: 100%;
    min-height: 52px;
    margin-top: 16px;
    padding-inline: 12px;
    border: 0;
    border-radius: 14px;
    color: white;
    background: linear-gradient(135deg, #2f6bff, #1c3fc4);
    box-shadow: var(--shadow-brand);
    font-size: 14.5px;
    font-weight: 750;
    text-align: center;
    transition: background .35s var(--ease-out), box-shadow .35s var(--ease-out);
}

.replay-cta[data-state="calling"],
.replay-cta[data-state="ringing"] {
    background: linear-gradient(135deg, #16224a, var(--night));
    box-shadow: 0 18px 40px -22px rgba(6, 12, 29, .9);
}

.replay-cta[data-state="connected"] {
    background: linear-gradient(135deg, #12b76a, #067f4a);
    box-shadow: 0 18px 40px -20px rgba(6, 127, 74, .7);
}

.replay-fine {
    margin: 12px 0 0;
    color: var(--muted);
    font-size: 11px;
    text-align: center;
}

/* --------------------------------------------------------- device gallery */

.device-gallery {
    display: grid;
    gap: clamp(20px, 3vw, 34px);
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: start;
}

.device-gallery .device {
    max-width: 260px;
}

.device-pair {
    display: grid;
    gap: clamp(18px, 3vw, 30px);
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
}

.device-pair .device {
    max-width: 250px;
}

@media (prefers-reduced-motion: no-preference) {
    .ap-ripple {
        animation: ap-ripple 4s linear infinite;
    }

    .ap-ripple-2 {
        animation-delay: 1.33s;
    }

    .ap-ripple-3 {
        animation-delay: 2.66s;
    }

    .ap-action-answer .ap-key {
        animation: pulse 2s var(--ease-out) infinite;
    }
}

@keyframes ap-ripple {
    0% {
        opacity: .55;
        transform: scale(.6);
    }

    100% {
        opacity: 0;
        transform: scale(2.5);
    }
}

@keyframes pulse {

    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(35, 123, 75, .55);
    }

    50% {
        box-shadow: 0 0 0 .9em rgba(35, 123, 75, 0);
    }
}

/* --------------------------------------------------- sticky scroll stage */

.stage-grid {
    display: grid;
    gap: clamp(28px, 5vw, 72px);
    grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr);
    align-items: start;
    timeline-scope: --stage;
}

.stage-visual {
    position: sticky;
    top: 108px;
}

.stage-viewport {
    position: relative;
    display: grid;
    grid-template-areas: "screen";
}

.stage-screen {
    grid-area: screen;
    opacity: 0;
}

.stage-screen:first-child {
    opacity: 1;
}

.stage-track {
    display: grid;
    gap: clamp(24px, 6vh, 56px);
    margin: 0;
    padding: 0 0 clamp(0px, 10vh, 110px);
    list-style: none;
    counter-reset: stage;
    view-timeline: --stage block;
}

/* The pinned phone is driven by how far the step list has scrolled through the
   viewport, so screen and copy always describe the same step. */
@media (prefers-reduced-motion: no-preference) {
    @supports (animation-timeline: view()) {
        .stage-screen {
            animation: linear both;
            animation-timeline: --stage;
            animation-range: contain 0% contain 100%;
        }

        .stage-screen:nth-child(1) {
            animation-name: stage-1;
        }

        .stage-screen:nth-child(2) {
            animation-name: stage-2;
        }

        .stage-screen:nth-child(3) {
            animation-name: stage-3;
        }

        .stage-screen:nth-child(4) {
            animation-name: stage-4;
        }

        .stage-step {
            animation: stage-focus linear both;
            animation-timeline: view();
            animation-range: cover 12% cover 88%;
        }
    }
}

@keyframes stage-1 {

    0%,
    18% {
        opacity: 1;
        transform: none;
    }

    26%,
    100% {
        opacity: 0;
        transform: scale(.96);
    }
}

@keyframes stage-2 {

    0%,
    18% {
        opacity: 0;
        transform: scale(1.04);
    }

    26%,
    44% {
        opacity: 1;
        transform: none;
    }

    52%,
    100% {
        opacity: 0;
        transform: scale(.96);
    }
}

@keyframes stage-3 {

    0%,
    44% {
        opacity: 0;
        transform: scale(1.04);
    }

    52%,
    70% {
        opacity: 1;
        transform: none;
    }

    78%,
    100% {
        opacity: 0;
        transform: scale(.96);
    }
}

@keyframes stage-4 {

    0%,
    70% {
        opacity: 0;
        transform: scale(1.04);
    }

    78%,
    100% {
        opacity: 1;
        transform: none;
    }
}

@keyframes stage-focus {
    0% {
        opacity: .4;
        transform: translate3d(0, 18px, 0) scale(.985);
    }

    28%,
    72% {
        opacity: 1;
        transform: none;
    }

    100% {
        opacity: .4;
        transform: scale(.985);
    }
}

.stage-step {
    position: relative;
    min-height: clamp(180px, 34vh, 300px);
    padding: 28px 30px;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, .78);
    box-shadow: var(--shadow-sm);
    counter-increment: stage;
}

.stage-step::before {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    margin-bottom: 18px;
    border-radius: 11px;
    color: white;
    background: linear-gradient(140deg, #2f6bff, #1c3fc4);
    font-size: 13px;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
    content: counter(stage, decimal-leading-zero);
}

.stage-step h3 {
    font-size: clamp(21px, 2.2vw, 27px);
}

.stage-step p {
    margin: 12px 0 0;
    max-width: 52ch;
    color: var(--muted);
    font-size: 16px;
}

/* ------------------------------------------------------------------- cards */

.grid {
    display: grid;
    gap: 20px;
}

.grid.cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid.cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid.cols-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.card {
    position: relative;
    padding: 28px;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: white;
    transition: transform .35s var(--ease-spring), box-shadow .35s var(--ease-out), border-color .35s var(--ease-out);
}

.card:hover {
    transform: translateY(-4px);
    border-color: #c9d6f2;
    box-shadow: var(--shadow-md);
}

.card h3 {
    font-size: 19.5px;
}

.card p {
    margin: 10px 0 0;
    color: var(--muted);
    font-size: 15px;
}

.card .icon {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    margin-bottom: 18px;
    border-radius: 14px;
    color: #22409c;
    background: linear-gradient(140deg, #e8eeff, #d9e3ff);
    font-size: 19px;
}

.card.step .num {
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    margin-bottom: 16px;
    border-radius: 10px;
    color: white;
    background: var(--night);
    font-size: 13px;
    font-weight: 800;
}

.tag+.feature-list,
.tag+.tabs {
    margin-top: 18px;
}

.feature-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.feature-list li {
    position: relative;
    padding: 11px 0 11px 30px;
    border-bottom: 1px solid var(--line);
    color: var(--ink-soft);
    font-size: 15px;
    line-height: 1.55;
}

.feature-list li:last-child {
    border-bottom: 0;
}

.feature-list li::before {
    position: absolute;
    left: 0;
    color: var(--green);
    font-weight: 900;
    content: "\2713";
}

.feature-list.soon li::before {
    color: #98a2b3;
    content: "\25CB";
}

.feature-list.cols-2 {
    display: grid;
    gap: 0 clamp(20px, 4vw, 48px);
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: clamp(28px, 4vw, 44px);
}

@media (max-width: 640px) {
    .feature-list.cols-2 {
        grid-template-columns: minmax(0, 1fr);
    }
}

.tag {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 999px;
    color: var(--ink-soft);
    background: #eef2f8;
    font-size: 11px;
    font-weight: 750;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.tag.soon {
    color: #b54708;
    background: #fff4e5;
}

.split {
    display: grid;
    gap: clamp(32px, 5vw, 68px);
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: center;
}

.split h2 {
    font-size: clamp(28px, 3.4vw, 42px);
    letter-spacing: -.045em;
}

.split p {
    color: var(--muted);
    font-size: 16.5px;
}

/* ------------------------------------------------------------------- table */

.table-wrap {
    overflow-x: auto;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: white;
    box-shadow: var(--shadow-sm);
}

table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14.5px;
}

th,
td {
    padding: 16px 18px;
    border-bottom: 1px solid var(--line-soft);
    text-align: left;
    vertical-align: top;
}

thead th {
    position: sticky;
    top: 0;
    color: var(--ink-soft);
    background: var(--canvas);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
    white-space: nowrap;
}

tbody tr:last-child td,
tbody tr:last-child th {
    border-bottom: 0;
}

tbody tr:hover td,
tbody tr:hover th {
    background: rgba(37, 99, 235, .03);
}

td.mark {
    color: var(--green);
    font-weight: 750;
}

td.no {
    color: #98a2b3;
}

th[scope="row"] {
    font-weight: 650;
}

.col-us {
    background: rgba(37, 99, 235, .055);
}

/* ----------------------------------------------------------------- pricing */

.plans {
    display: grid;
    gap: 18px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    align-items: stretch;
}

.plan {
    display: flex;
    position: relative;
    flex-direction: column;
    height: 100%;
    padding: 28px 26px;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: white;
    transition: transform .35s var(--ease-spring), box-shadow .35s var(--ease-out);
}

.plan:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.plan.featured {
    border-color: transparent;
    background:
        linear-gradient(white, white) padding-box,
        linear-gradient(150deg, #4f7cff, #6d5cf6) border-box;
    border: 1.5px solid transparent;
    box-shadow: 0 30px 66px -34px rgba(37, 99, 235, .6);
}

.plan .badge {
    display: inline-block;
    margin-bottom: 14px;
    padding: 5px 11px;
    border-radius: 999px;
    color: white;
    background: linear-gradient(135deg, #2f6bff, #6d5cf6);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .05em;
    text-transform: uppercase;
}

.plan h3 {
    font-size: 18px;
}

.plan .price {
    display: flex;
    align-items: baseline;
    gap: 6px;
    margin: 14px 0 4px;
    font-size: 40px;
    font-weight: 800;
    letter-spacing: -.055em;
}

.plan .price span {
    color: var(--muted);
    font-size: 14px;
    font-weight: 650;
    letter-spacing: 0;
}

.plan .pitch {
    margin: 0 0 20px;
    color: var(--muted);
    font-size: 14px;
}

.plan .button {
    width: 100%;
    margin-top: auto;
}

.plan .feature-list {
    margin-bottom: 22px;
}

.plan .feature-list li {
    padding-block: 8px;
    font-size: 13.5px;
}

.packs {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.packs li {
    padding: 16px 20px;
    border: 1px dashed #c6d2ea;
    border-radius: var(--radius);
    color: var(--ink-soft);
    background: rgba(255, 255, 255, .6);
    font-size: 14px;
}

.packs strong {
    color: var(--ink);
}

/* -------------------------------------------------------------------- code */

.code {
    overflow-x: auto;
    margin: 0;
    padding: 24px;
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: var(--radius-lg);
    color: #dbe6ff;
    background: linear-gradient(160deg, #0b1430, var(--night));
    box-shadow: var(--shadow-md);
    font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
    font-size: 13.5px;
    line-height: 1.75;
    tab-size: 2;
}

.code .k {
    color: #93b4ff;
}

.code .s {
    color: #7fe3b6;
}

.code .c {
    color: #7b8bb5;
}

.tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
}

.tab {
    min-height: 38px;
    padding: 0 16px;
    border: 1px solid var(--line);
    border-radius: 999px;
    color: var(--ink-soft);
    background: white;
    font-size: 13px;
    font-weight: 700;
    transition: color .2s var(--ease-out), background .2s var(--ease-out), border-color .2s var(--ease-out);
}

.tab:hover:not([disabled]) {
    border-color: #93a0bb;
}

.tab[aria-selected="true"] {
    color: white;
    border-color: var(--night);
    background: var(--night);
}

.tab[disabled] {
    color: #98a2b3;
    cursor: not-allowed;
}

/* --------------------------------------------------------------------- faq */

.faq {
    max-width: 860px;
}

.faq details {
    padding: 20px 0;
    border-bottom: 1px solid var(--line);
}

.faq summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    cursor: pointer;
    font-size: 16.5px;
    font-weight: 700;
    list-style: none;
}

.faq summary::-webkit-details-marker {
    display: none;
}

.faq summary::after {
    color: var(--muted);
    font-size: 22px;
    font-weight: 500;
    transition: transform .25s var(--ease-out);
    content: "+";
}

.faq details[open] summary::after {
    transform: rotate(45deg);
}

.faq p {
    margin: 12px 0 0;
    max-width: 72ch;
    color: var(--muted);
    font-size: 15.5px;
}

/* ---------------------------------------------------------- closer, footer */

.closer {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding: clamp(60px, 7vw, 108px) 0;
    color: white;
    background:
        radial-gradient(circle at 84% 8%, rgba(120, 160, 255, .5), transparent 42%),
        radial-gradient(circle at 8% 96%, rgba(109, 92, 246, .45), transparent 46%),
        linear-gradient(150deg, #0c1738, #142e78 58%, #2458d9);
    text-align: center;
}

.closer h2 {
    font-size: clamp(30px, 4.2vw, 52px);
    letter-spacing: -.05em;
}

.closer p {
    max-width: 640px;
    margin: 20px auto 32px;
    color: #d6e1ff;
    font-size: 17.5px;
}

.closer .hero-actions {
    justify-content: center;
}

.footer {
    padding: 60px 0 40px;
    border-top: 1px solid var(--line);
    background: var(--canvas);
}

.footer-grid {
    display: grid;
    gap: 32px;
    grid-template-columns: minmax(0, 1.4fr) repeat(4, minmax(0, 1fr));
}

.footer h4 {
    margin-bottom: 14px;
    color: var(--ink-soft);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.footer ul {
    display: grid;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.footer a {
    color: var(--muted);
    font-size: 14px;
}

.footer a:hover {
    color: var(--brand);
}

.footer .tagline {
    max-width: 320px;
    margin: 16px 0 0;
    color: var(--muted);
    font-size: 14px;
}

.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 44px;
    padding-top: 22px;
    border-top: 1px solid var(--line);
    color: var(--muted);
    font-size: 13px;
}

.footer-bottom span:last-child {
    margin-left: auto;
}

/* -------------------------------------------------------------- world map */

.globe {
    position: relative;
    margin: 0;
}

.globe-canvas {
    position: relative;
    isolation: isolate;
    width: 100%;
    aspect-ratio: 1000 / 400;
}

.globe-canvas::before {
    position: absolute;
    z-index: -1;
    inset: -8% 0;
    background: radial-gradient(ellipse at 50% 46%, rgba(47, 107, 255, .09), transparent 60%);
    filter: blur(30px);
    content: "";
}

.globe-land,
.globe-net {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.globe-land {
    -webkit-mask-image: radial-gradient(ellipse 92% 108% at 50% 46%, #000 62%, transparent 100%);
    mask-image: radial-gradient(ellipse 92% 108% at 50% 46%, #000 62%, transparent 100%);
}

.graticule {
    fill: none;
    stroke: #8fa4c8;
    stroke-opacity: .16;
    stroke-width: 1;
}

.graticule-eq {
    stroke-opacity: .3;
}

.globe-note {
    margin: 22px 0 0;
    color: var(--muted);
    font-size: 12.5px;
    text-align: center;
}

.ray {
    fill: none;
    stroke-width: 2.2;
    stroke-linecap: round;
    stroke-dasharray: 1;
    stroke-dashoffset: 1;
}

.ray-pulse {
    fill: #2f6bff;
    stroke: white;
    stroke-width: 1.4;
    opacity: 0;
    filter: drop-shadow(0 2px 5px rgba(47, 107, 255, .5));
}

.pin-halo {
    transform-box: fill-box;
    transform-origin: center;
    opacity: .3;
}

.pin-customer {
    fill: #2f6bff;
}

.pin-available {
    fill: #059669;
}

.pin-busy {
    fill: #ef4444;
}

.pin-core {
    stroke: white;
    stroke-width: 1.6;
}

.pin-core.pin-available {
    filter: drop-shadow(0 2px 5px rgba(5, 150, 105, .45));
}

.pin-core.pin-customer {
    filter: drop-shadow(0 2px 4px rgba(47, 107, 255, .35));
}

.pin-dim {
    opacity: .45;
    stroke-width: 1.2;
}

.pin-ring {
    fill: none;
    stroke: #ef4444;
    stroke-width: 1.4;
    stroke-opacity: .4;
}

.pin-label {
    fill: #344054;
    font-family: inherit;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: -.01em;
    paint-order: stroke;
    stroke: var(--canvas);
    stroke-width: 3.5;
    stroke-linejoin: round;
}

.pin-label tspan {
    fill: #7d8aa5;
    font-size: 10.5px;
    font-weight: 600;
}

.globe-legend {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px 30px;
    margin-top: 26px;
    color: var(--ink-soft);
    font-size: 13px;
    font-weight: 650;
}

.globe-legend span::before {
    display: inline-block;
    width: 10px;
    height: 10px;
    margin-right: 9px;
    border-radius: 50%;
    vertical-align: 1px;
    content: "";
}

.globe-legend .is-customer::before {
    background: #2f6bff;
}

.globe-legend .is-available::before {
    background: #059669;
}

.globe-legend .is-busy::before {
    background: #ef4444;
}

@keyframes ray-draw {
    0% {
        stroke-dashoffset: 1;
        opacity: 0;
    }

    8% {
        opacity: .9;
    }

    46%,
    82% {
        stroke-dashoffset: 0;
        opacity: .9;
    }

    100% {
        stroke-dashoffset: 0;
        opacity: .12;
    }
}

@keyframes ray-travel {
    0% {
        offset-distance: 0%;
        opacity: 0;
    }

    8% {
        opacity: 1;
    }

    46% {
        offset-distance: 100%;
        opacity: 1;
    }

    54%,
    100% {
        offset-distance: 100%;
        opacity: 0;
    }
}

@keyframes pin-halo {

    0%,
    100% {
        transform: scale(.7);
        opacity: .5;
    }

    50% {
        transform: scale(1.55);
        opacity: 0;
    }
}

@media (prefers-reduced-motion: no-preference) {
    .ray {
        animation: ray-draw 7s var(--ease-out) infinite;
    }

    .pin-halo {
        animation: pin-halo 3.2s ease-out infinite;
    }

    .pin-halo.pin-busy {
        animation: none;
    }

    @supports (offset-path: path("M0 0L1 1")) {
        .ray-pulse {
            transform-box: view-box;
            offset-rotate: 0deg;
            animation: ray-travel 7s var(--ease-out) infinite;
        }
    }

    .ray-1,
    .ray-1+.ray-pulse,
    .halo-1 {
        animation-delay: 0s;
    }

    .ray-2,
    .ray-2+.ray-pulse,
    .halo-2 {
        animation-delay: .9s;
    }

    .ray-3,
    .ray-3+.ray-pulse,
    .halo-3 {
        animation-delay: 1.9s;
    }

    .ray-4,
    .ray-4+.ray-pulse,
    .halo-4 {
        animation-delay: 2.8s;
    }

    .halo-5 {
        animation-delay: 1.3s;
    }

    .halo-6 {
        animation-delay: 2.2s;
    }

    .ray-1+.ray-pulse {
        offset-path: path("M370.6 298.6Q341.4 184.1 228.6 149.2");
    }

    .ray-2+.ray-pulse {
        offset-path: path("M537.2 87.5Q495.2 89.2 474.7 125.8");
    }

    .ray-3+.ray-pulse {
        offset-path: path("M509.4 215.3Q561.9 200.1 602.2 236.9");
    }

    .ray-4+.ray-pulse {
        offset-path: path("M920 327.5Q881.6 241.7 788.3 229.6");
    }
}

/* --------------------------------------------------------- cost comparison */

.costs {
    display: grid;
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.cost {
    display: grid;
    grid-template-columns: minmax(0, 220px) minmax(0, 1fr) 120px;
    gap: 18px;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid var(--line);
}

.cost:last-child {
    border-bottom: 0;
}

.cost-name {
    font-size: 15px;
    font-weight: 700;
}

.cost-name small {
    display: block;
    margin-top: 3px;
    color: var(--muted);
    font-size: 12px;
    font-weight: 600;
}

.cost-track {
    height: 32px;
    border-radius: 10px;
    background: rgba(11, 18, 32, .045);
}

.cost-bar {
    display: block;
    height: 100%;
    border-radius: 10px;
    background: linear-gradient(90deg, #cbd5ec, #a9b8d9);
    transform-origin: 0 50%;
}

.cost.is-us .cost-name {
    color: var(--brand-strong);
}

.cost.is-us .cost-bar {
    background: linear-gradient(90deg, #2f6bff, #6d5cf6);
    box-shadow: var(--shadow-brand);
}

.cost-value {
    font-size: 15px;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
    text-align: right;
    white-space: nowrap;
}

.cost-value small {
    display: block;
    color: var(--muted);
    font-size: 11.5px;
    font-weight: 650;
}

.cost[data-w="2"] .cost-bar {
    width: 2%;
}

.cost[data-w="14"] .cost-bar {
    width: 14%;
}

.cost[data-w="28"] .cost-bar {
    width: 28%;
}

.cost[data-w="33"] .cost-bar {
    width: 33%;
}

.cost[data-w="76"] .cost-bar {
    width: 76%;
}

.cost[data-w="100"] .cost-bar {
    width: 100%;
}

@keyframes bar-grow {
    from {
        transform: scaleX(0);
    }

    to {
        transform: scaleX(1);
    }
}

@media (prefers-reduced-motion: no-preference) {
    @supports (animation-timeline: view()) {
        .cost-bar {
            animation: bar-grow linear both;
            animation-timeline: view();
            animation-range: entry 10% cover 30%;
        }
    }
}

.disclosure {
    margin-top: 28px;
    padding: 22px 24px;
    border: 1px dashed #c6d2ea;
    border-radius: var(--radius);
    background: rgba(255, 255, 255, .6);
}

.disclosure h3 {
    font-size: 16px;
}

.disclosure p {
    margin: 10px 0 0;
    color: var(--muted);
    font-size: 14px;
}

.disclosure ul {
    margin: 10px 0 0;
    padding-left: 20px;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.7;
}

.sources {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 16px;
    margin: 14px 0 0;
    padding: 0;
    list-style: none;
    font-size: 12.5px;
}

.sources li::after {
    margin-left: 16px;
    color: #c2cbdd;
    content: "\00B7";
}

.sources li:last-child::after {
    content: "";
}

/* -------------------------------------------------------------- responsive */

@media (max-width: 1000px) {

    .hero .shell,
    .split,
    .stage-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .stage-visual {
        position: static;
        max-width: 320px;
        margin-inline: auto;
    }

    .stage-step {
        min-height: 0;
    }

    .replay {
        grid-template-columns: minmax(0, 1fr) minmax(0, 210px);
    }

    .device-gallery {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .device-gallery figure:last-child {
        grid-column: 1 / -1;
    }

    .device-gallery .device,
    .device-pair .device {
        max-width: 280px;
    }

    .grid.cols-4,
    .plans {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .footer-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 780px) {
    :root {
        --shell: min(1180px, 100% - 32px);
    }

    .nav-toggle {
        display: block;
    }

    .nav-links,
    .nav-actions {
        display: none;
    }

    .topnav.open .nav-links,
    .topnav.open .nav-actions {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 4px;
        width: 100%;
        margin: 0 0 16px;
    }

    .topnav.open .shell {
        flex-wrap: wrap;
    }

    .topnav.open .nav-links a {
        padding: 12px 4px;
        border-bottom: 1px solid var(--line);
        border-radius: 0;
    }

    .replay {
        grid-template-columns: minmax(0, 1fr);
    }

    .device-gallery,
    .device-pair {
        grid-template-columns: minmax(0, 1fr);
    }

    .device-gallery .device,
    .device-pair .device,
    .replay .device {
        max-width: 268px;
    }

    .stage-step {
        padding: 24px 22px;
    }

    .cost {
        grid-template-columns: minmax(0, 1fr) 96px;
        gap: 8px 14px;
    }

    .cost-name {
        grid-column: 1;
    }

    .cost-value {
        grid-column: 2;
        grid-row: 1;
    }

    .cost-track {
        grid-column: 1 / -1;
        height: 24px;
    }

    .pin-label {
        display: none;
    }

    /* The map shrinks with the viewport, so scale the markers back up. */
    .pin-core {
        r: 9px;
    }

    .pin-halo {
        r: 17px;
    }

    .pin-ring {
        r: 16px;
        stroke-width: 2.5;
    }

    .ray {
        stroke-width: 4;
    }

    .ray-pulse {
        r: 6px;
    }

    .grid.cols-2,
    .grid.cols-3,
    .grid.cols-4,
    .plans {
        grid-template-columns: minmax(0, 1fr);
    }

    .footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .footer-bottom span:last-child {
        margin-left: 0;
    }
}

/* ------------------------------------------------------- reduced motion */

@media (prefers-reduced-motion: reduce) {

    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: .001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .001ms !important;
    }

    .button:hover,
    .card:hover,
    .plan:hover {
        transform: none;
    }

    .scroll-progress {
        display: none;
    }
}