/* Sales presentation (impress.js). Steps are drawn on a 1280 × 720 canvas that impress.js scales to the window. */
:root {
    --deck-ink: #f4f3ff;
    --deck-muted: #b9b7e6;
    --deck-accent: #8f9bff;
    --deck-hot: #ff7ac3;
    --deck-glass: rgba(255, 255, 255, 0.07);
    --deck-line: rgba(255, 255, 255, 0.16);
}

html {
    background: #0d0b2b;
}

body {
    margin: 0;
    min-height: 100vh;
    font-family: 'Roboto', system-ui, sans-serif;
    color: var(--deck-ink);
    background:
        radial-gradient(60% 50% at 15% 10%, rgba(79, 91, 213, 0.55), transparent 70%),
        radial-gradient(50% 45% at 90% 85%, rgba(255, 122, 195, 0.28), transparent 70%),
        #0d0b2b;
    background-attachment: fixed;
}

.icon {
    font-family: 'Material Symbols Outlined';
    font-weight: 400;
    font-style: normal;
    font-size: 1.2em;
    line-height: 1;
    letter-spacing: normal;
    text-transform: none;
    white-space: nowrap;
    direction: ltr;
    font-feature-settings: 'liga';
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
}

/* Steps. */
.slide {
    box-sizing: border-box;
    width: 1280px;
    height: 720px;
    padding: 56px 64px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 56px;
}

.slide--stack {
    grid-template-columns: 1fr;
    align-content: center;
    gap: 40px;
}

.slide--hero {
    grid-template-columns: 1fr;
    align-content: center;
    justify-items: center;
    gap: 20px;
    text-align: center;
}

.slide h1,
.slide h2,
.slide p,
.slide ul,
.slide ol {
    margin: 0;
}

.slide h1 {
    font-size: 220px;
    font-weight: 700;
    line-height: 0.95;
    letter-spacing: -0.04em;
    background: linear-gradient(100deg, #ffffff 20%, var(--deck-accent) 60%, var(--deck-hot));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.slide h2 {
    font-size: 56px;
    font-weight: 700;
    line-height: 1.08;
    letter-spacing: -0.02em;
}

.slide--hero h2 {
    font-size: 120px;
}

.slide__text {
    display: grid;
    gap: 24px;
}

.slide__text p,
.slide__text li {
    font-size: 26px;
    line-height: 1.4;
    color: var(--deck-muted);
}

.slide__eyebrow {
    font-size: 20px !important;
    font-weight: 500;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--deck-hot) !important;
}

.slide__lead {
    font-size: 44px;
    color: var(--deck-muted);
}

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

.slide__hint {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 28px !important;
    font-size: 18px;
    color: var(--deck-muted);
}

.slide__actions {
    display: flex;
    gap: 16px;
    margin-top: 20px !important;
}

.button {
    padding: 14px 30px;
    border: 2px solid var(--deck-ink);
    border-radius: 999px;
    background: var(--deck-ink);
    color: #0d0b2b;
    font-size: 22px;
    font-weight: 500;
    text-decoration: none;
}

.button--ghost {
    background: transparent;
    color: var(--deck-ink);
}

/* Lists. */
.ticks,
.pains,
.steps {
    padding: 0;
    list-style: none;
    display: grid;
    gap: 16px;
}

.ticks li {
    position: relative;
    padding-left: 44px;
}

.ticks li::before {
    content: 'check_circle';
    position: absolute;
    left: 0;
    top: 2px;
    font-family: 'Material Symbols Outlined';
    font-size: 30px;
    line-height: 1;
    color: var(--deck-accent);
}

.pains li {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 22px 26px;
    border: 1px solid var(--deck-line);
    border-radius: 20px;
    background: var(--deck-glass);
    font-size: 26px;
    line-height: 1.25;
}

.pains .icon {
    font-size: 40px;
    color: var(--deck-hot);
}

.steps {
    grid-auto-flow: column;
    justify-content: start;
    gap: 14px;
    counter-reset: step;
}

.steps li {
    counter-increment: step;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px 10px 10px;
    border-radius: 999px;
    background: var(--deck-glass);
    border: 1px solid var(--deck-line);
    font-size: 22px;
    white-space: nowrap;
    color: var(--deck-ink);
}

.steps li::before {
    content: counter(step);
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--deck-hot);
    color: #0d0b2b;
    font-weight: 700;
}

.chips {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.chips span {
    padding: 8px 20px;
    border: 1px solid var(--deck-line);
    border-radius: 999px;
    background: var(--deck-glass);
    font-size: 22px;
    color: var(--deck-ink);
}

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

.tiles--three {
    grid-template-columns: repeat(3, 1fr);
}

.tile {
    display: grid;
    align-content: start;
    gap: 12px;
    padding: 28px 24px;
    border: 1px solid var(--deck-line);
    border-radius: 24px;
    background: var(--deck-glass);
    font-size: 21px;
    line-height: 1.35;
    color: var(--deck-muted);
}

.tile .icon {
    font-size: 48px;
    color: var(--deck-accent);
}

.tile strong {
    font-size: 25px;
    line-height: 1.2;
    color: var(--deck-ink);
}

/* Screenshots of the application. */
.shot,
.phone {
    margin: 0;
    overflow: hidden;
    background: #ffffff;
    box-shadow: 0 40px 90px rgba(0, 0, 0, 0.55), 0 0 0 1px var(--deck-line);
}

.shot {
    border-radius: 18px;
}

.shot img,
.phone img {
    display: block;
    width: 100%;
}

/* A screenshot taller than the step only shows its top part. */
.shot--tall {
    max-height: 600px;
}

.shot--tilt-left {
    transform: perspective(1400px) rotateY(-14deg) rotateX(4deg);
}

.shot--tilt-right {
    transform: perspective(1400px) rotateY(14deg) rotateX(4deg);
}

.phone {
    justify-self: center;
    width: 340px;
    border: 10px solid #1d1b3d;
    border-radius: 44px;
    transform: perspective(1400px) rotateY(-16deg) rotateX(4deg);
}

/* Controls around the canvas. */
.deck-bar,
.deck-nav {
    position: fixed;
    left: 0;
    right: 0;
    z-index: 10;
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 24px;
}

.deck-bar {
    top: 0;
    justify-content: space-between;
}

.deck-nav {
    bottom: 0;
}

.deck-bar__brand,
.deck-bar__exit {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
}

.deck-bar__brand {
    font-size: 1.25rem;
}

.deck-bar__actions {
    display: flex;
    gap: 8px;
}

.deck-bar__fullscreen {
    font: inherit;
    font-weight: 500;
    color: inherit;
    cursor: pointer;
}

.deck-bar__fullscreen[hidden] {
    display: none;
}

.deck-bar__exit {
    padding: 8px 16px 8px 12px;
    border: 1px solid var(--deck-line);
    border-radius: 999px;
    background: var(--deck-glass);
    text-decoration: none;
}

.deck-nav__button {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    padding: 0;
    border: 1px solid var(--deck-line);
    border-radius: 50%;
    background: var(--deck-glass);
    color: var(--deck-ink);
    font-size: 1.25rem;
    cursor: pointer;
}

.deck-bar__exit:hover,
.deck-bar__exit:focus-visible,
.deck-nav__button:hover,
.deck-nav__button:focus-visible {
    background: rgba(255, 255, 255, 0.18);
}

.impress-progressbar {
    flex: 1;
    height: 4px;
    border-radius: 2px;
    background: var(--deck-line);
    overflow: hidden;
}

.impress-progressbar div {
    width: 0;
    height: 100%;
    background: linear-gradient(90deg, var(--deck-accent), var(--deck-hot));
    transition: width 1s;
}

.impress-progress {
    min-width: 3.5em;
    text-align: right;
    font-size: 0.875rem;
    font-variant-numeric: tabular-nums;
    color: var(--deck-muted);
}

/* Animated mode: only the current step shows, except on the overview where the whole circle does. */
.impress-enabled .step {
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.9s;
}

.impress-enabled .step.active,
.impress-enabled.impress-on-overview .slide:not(#contact) {
    opacity: 1;
    pointer-events: auto;
}

.impress-enabled.impress-on-overview .slide {
    cursor: pointer;
}

.deck-fallback {
    display: none;
}

/* Without impress.js (old browser, script blocked): a plain page, one step under the other. */
.impress-not-supported .deck-fallback {
    display: block;
    padding: 72px 24px 0;
    text-align: center;
    color: var(--deck-muted);
}

.impress-not-supported .deck-nav,
.impress-not-supported #overview {
    display: none;
}

.impress-not-supported .slide {
    width: auto;
    max-width: 1280px;
    height: auto;
    margin: 0 auto;
}

@media (max-width: 900px) {
    .impress-not-supported .slide,
    .impress-not-supported .tiles {
        grid-template-columns: 1fr;
    }

    .impress-not-supported .slide h1 {
        font-size: 96px;
    }

    .impress-not-supported .slide h2 {
        font-size: 36px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .impress-enabled .step,
    .impress-progressbar div {
        transition: none;
    }
}
