/*
 * d2go.io v2. One stylesheet, no build step.
 *
 * Brand: the logo's charcoal (#2B2B2B) and blue (#1870D1), on a near-black ground. The blue is
 * lifted a little for dark backgrounds; medal gold is the one secondary accent, used for
 * achievements only. Archivo, widened for display type, reads like a scoreboard.
 */

:root {
    --ink: #0d1014;
    --ink-2: #13171d;
    --ink-3: #1a1f27;
    --line: rgba(255, 255, 255, 0.08);
    --line-2: rgba(255, 255, 255, 0.14);
    --text: #eef1f5;
    --muted: #9ba5b4;
    --faint: #6b7584;
    --brand: #1870d1;
    --brand-hi: #3b8eff;
    --brand-glow: rgba(59, 142, 255, 0.35);
    --gold: #f2b84b;
    --good: #2fd08a;
    --bad: #ff6b6b;
    --charcoal: #2b2b2b;
    --paper: #f4f6f9;

    --radius: 18px;
    --radius-sm: 12px;
    --gutter: clamp(16px, 4vw, 40px);
    --max: 1200px;

    --font: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
    --display: "Archivo", system-ui, sans-serif;

    color-scheme: dark;
}

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

html {
    -webkit-text-size-adjust: 100%;
    scroll-padding-top: 88px;
    /* The decorative glows reach past the edges; never let them scroll the page sideways. */
    overflow-x: clip;
}

body {
    margin: 0;
    background: var(--ink);
    color: var(--text);
    font-family: var(--font);
    font-size: 17px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: clip;
}

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

a {
    color: inherit;
}

:focus-visible {
    outline: 2px solid var(--brand-hi);
    outline-offset: 3px;
}

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

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

/* Type -------------------------------------------------------------------------------------- */

.display,
h1,
h2,
h3 {
    font-family: var(--display);
    font-stretch: 112%;
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.02;
    margin: 0;
}

h1 {
    font-size: clamp(44px, 7.4vw, 104px);
}

h2 {
    font-size: clamp(34px, 5vw, 68px);
}

h3 {
    font-size: clamp(20px, 2vw, 26px);
    font-stretch: 105%;
    letter-spacing: -0.01em;
    line-height: 1.2;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 20px;
    color: var(--brand-hi);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.eyebrow::before {
    content: "";
    width: 22px;
    height: 2px;
    background: currentColor;
}

.eyebrow--gold {
    color: var(--gold);
}

.lead {
    max-width: 36em;
    margin: 24px 0 0;
    color: var(--muted);
    font-size: clamp(18px, 1.6vw, 21px);
    line-height: 1.55;
}

.accent {
    color: var(--brand-hi);
}

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

/* Buttons ----------------------------------------------------------------------------------- */

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

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 48px;
    padding: 0 22px;
    border: 1px solid transparent;
    border-radius: 999px;
    background: transparent;
    font: inherit;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
    transform: translateY(-1px);
}

.btn--primary {
    background: var(--brand);
    color: #fff;
    box-shadow: 0 10px 30px -10px var(--brand-glow);
}

.btn--primary:hover {
    background: var(--brand-hi);
}

.btn--ghost {
    border-color: var(--line-2);
    color: var(--text);
}

.btn--ghost:hover {
    border-color: rgba(255, 255, 255, 0.35);
}

.btn--light {
    background: #fff;
    color: var(--brand);
}

.btn--outline-light {
    border-color: rgba(255, 255, 255, 0.55);
    color: #fff;
}

.btn svg {
    width: 18px;
    height: 18px;
}

/* Header ------------------------------------------------------------------------------------ */

.site-header {
    position: fixed;
    inset: 0 0 auto;
    z-index: 50;
    transition: background-color 0.3s ease, border-color 0.3s ease, backdrop-filter 0.3s ease;
    border-bottom: 1px solid transparent;
}

.site-header.is-scrolled {
    background: rgba(13, 16, 20, 0.78);
    border-bottom-color: var(--line);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
}

.site-header__bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    height: 76px;
}

.site-header .logo {
    width: 92px;
    color: #fff;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 6px;
}

.site-nav a {
    padding: 8px 14px;
    border-radius: 999px;
    color: var(--muted);
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s ease, background-color 0.2s ease;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
    color: var(--text);
    background: rgba(255, 255, 255, 0.06);
}

.site-nav .btn {
    margin-left: 8px;
    min-height: 40px;
    padding: 0 18px;
    font-size: 14px;
    color: #fff;
}

.nav-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border: 1px solid var(--line-2);
    border-radius: 12px;
    background: transparent;
    color: var(--text);
    cursor: pointer;
}

@media (max-width: 860px) {
    .nav-toggle {
        display: inline-grid;
        place-items: center;
    }

    .site-nav {
        position: fixed;
        inset: 76px 0 auto;
        flex-direction: column;
        align-items: stretch;
        gap: 4px;
        padding: 16px var(--gutter) 24px;
        background: rgba(13, 16, 20, 0.97);
        border-bottom: 1px solid var(--line);
        transform: translateY(-8px);
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
    }

    .site-header.is-open .site-nav {
        transform: none;
        opacity: 1;
        visibility: visible;
    }

    .site-header.is-open {
        background: rgba(13, 16, 20, 0.97);
    }

    .site-nav a {
        padding: 14px 12px;
        font-size: 17px;
    }

    .site-nav .btn {
        margin: 8px 0 0;
        justify-content: center;
        min-height: 48px;
    }
}

/* Sections ---------------------------------------------------------------------------------- */

.section {
    position: relative;
    padding: clamp(96px, 14vw, 180px) 0;
}

.section--tight {
    padding: clamp(64px, 9vw, 112px) 0;
}

.section-head {
    max-width: 820px;
}

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

.section-head--center .lead {
    margin-left: auto;
    margin-right: auto;
}

.glow {
    position: absolute;
    z-index: -1;
    width: min(70vw, 900px);
    aspect-ratio: 1;
    border-radius: 50%;
    background: radial-gradient(closest-side, var(--brand-glow), transparent);
    filter: blur(20px);
    pointer-events: none;
}

/* Hero -------------------------------------------------------------------------------------- */

.hero {
    position: relative;
    isolation: isolate;
    min-height: 100svh;
    padding: 140px 0 80px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero .glow {
    top: 10%;
    right: -10%;
}

.hero__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    align-items: center;
    gap: clamp(32px, 6vw, 80px);
}

.hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 28px;
    padding: 6px 14px 6px 6px;
    border: 1px solid var(--line-2);
    border-radius: 999px;
    color: var(--muted);
    font-size: 14px;
    font-weight: 600;
}

.hero__badge img {
    width: 30px;
    height: 30px;
}

.hero__badge strong {
    color: var(--gold);
}

.hero h1 {
    font-size: clamp(44px, 5.8vw, 88px);
}

.hero h1 .line {
    display: block;
    white-space: nowrap;
}

@media (max-width: 420px) {
    .hero h1 .line {
        white-space: normal;
    }
}

.hero__visual {
    position: relative;
    display: grid;
    place-items: center;
    min-height: 620px;
}

@media (max-width: 960px) {
    .hero {
        min-height: 0;
    }

    .hero__grid {
        grid-template-columns: 1fr;
    }

    .hero__visual {
        min-height: 560px;
    }
}

/* Phone ------------------------------------------------------------------------------------- */

.phone {
    position: relative;
    width: min(320px, 78vw);
    aspect-ratio: 390 / 844;
    padding: 12px;
    border-radius: 48px;
    background: linear-gradient(160deg, #2b313b, #0b0d10 60%);
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.08) inset,
        0 40px 80px -30px rgba(0, 0, 0, 0.8),
        0 0 120px -40px var(--brand-glow);
}

.phone__screen {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: 37px;
    /* Status bar strip above the capture, the colour of Geotab Drive's night header */
    background: #1b2633;
}

.phone__screen img {
    position: absolute;
    inset: 34px 0 0;
    width: 100%;
    height: calc(100% - 34px);
    object-fit: cover;
    object-position: top;
    transition: opacity 0.6s ease, transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.phone__screen img:not(.is-active) {
    opacity: 0;
    transform: translateY(24px) scale(0.98);
}

.phone::after {
    content: "";
    position: absolute;
    top: 20px;
    left: 50%;
    width: 92px;
    height: 26px;
    border-radius: 20px;
    background: #050608;
    transform: translateX(-50%);
}

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

.float {
    position: absolute;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border: 1px solid var(--line-2);
    border-radius: 16px;
    background: rgba(26, 31, 39, 0.82);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    box-shadow: 0 20px 40px -20px rgba(0, 0, 0, 0.7);
    font-size: 14px;
    line-height: 1.3;
    white-space: nowrap;
    will-change: transform;
    transform: translate3d(0, calc(var(--shift, 0) * 1px), 0);
}

.float b {
    display: block;
    font-size: 20px;
    font-weight: 800;
    font-stretch: 110%;
}

.float small {
    color: var(--muted);
    font-size: 12px;
}

.float img {
    width: 44px;
    height: 44px;
}

.chip-up {
    color: var(--good);
    font-weight: 700;
}

.chip-down {
    color: var(--bad);
    font-weight: 700;
}

.float--a {
    top: 8%;
    left: 0;
}

.float--b {
    top: 30%;
    right: -4%;
}

.float--c {
    bottom: 22%;
    left: -6%;
}

.float--d {
    bottom: 6%;
    right: 2%;
}

@media (max-width: 960px) {
    .float--a {
        left: 2%;
    }

    .float--b {
        right: 0;
    }

    .float--c {
        left: 0;
    }
}

@media (max-width: 520px) {
    .float--a,
    .float--d {
        display: none;
    }

    .float {
        padding: 10px 12px;
        font-size: 12px;
    }

    .float b {
        font-size: 16px;
    }

    .float img {
        width: 34px;
        height: 34px;
    }
}

/* Proof strip ------------------------------------------------------------------------------- */

.strip {
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background: var(--ink-2);
}

.strip__grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
}

.stat {
    padding: 32px 24px;
    border-left: 1px solid var(--line);
}

.stat:first-child {
    border-left: 0;
}

.stat b {
    display: block;
    font-size: clamp(30px, 3.4vw, 44px);
    font-weight: 800;
    font-stretch: 115%;
    letter-spacing: -0.02em;
    line-height: 1.1;
}

.stat span {
    color: var(--muted);
    font-size: 14px;
}

@media (max-width: 1020px) {
    .strip__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .stat:first-child {
        grid-column: 1 / -1;
    }

    .stat:nth-child(2),
    .stat:nth-child(4) {
        border-left: 0;
    }

    .stat:nth-child(n + 2) {
        border-top: 1px solid var(--line);
    }
}

/* Placeholders: numbers that still need a real, publishable value. */
.todo {
    outline: 1px dashed var(--gold);
    outline-offset: 2px;
    border-radius: 4px;
}

.todo::after {
    content: "placeholder";
    margin-left: 6px;
    color: var(--gold);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    vertical-align: middle;
}

/* Pinned scroll scene --------------------------------------------------------------------- */

.scene {
    position: relative;
    height: calc(var(--steps, 4) * 85vh + 30vh);
}

.scene__pin {
    position: sticky;
    top: 0;
    height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.scene__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: clamp(32px, 6vw, 96px);
    width: 100%;
}

.scene__steps {
    position: relative;
    min-height: 340px;
}

.scene__step {
    position: absolute;
    inset: 0 0 auto;
    transition: opacity 0.5s ease, transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.scene__step:not(.is-active) {
    opacity: 0;
    transform: translateY(28px);
    pointer-events: none;
}

.scene__step p {
    max-width: 30em;
    margin: 20px 0 0;
    color: var(--muted);
    font-size: 19px;
}

.scene__progress {
    display: flex;
    gap: 8px;
    margin-top: 40px;
}

.scene__progress span {
    width: 36px;
    height: 4px;
    border-radius: 2px;
    background: var(--line-2);
    overflow: hidden;
}

.scene__progress span::after {
    content: "";
    display: block;
    height: 100%;
    width: calc(var(--fill, 0) * 100%);
    background: var(--brand-hi);
}

.scene .phone {
    width: min(340px, 34vw);
}

.scene .glow {
    right: -15%;
    top: 0;
}

@media (max-width: 860px) {
    .scene__grid {
        grid-template-columns: 1fr;
        justify-items: center;
        text-align: center;
        gap: 28px;
    }

    .scene__pin {
        /* below the fixed header */
        padding-top: 72px;
    }

    .scene__steps {
        min-height: 280px;
        width: 100%;
    }

    .scene__step p {
        margin-left: auto;
        margin-right: auto;
        font-size: 16px;
    }

    .scene__progress {
        justify-content: center;
        margin-top: 20px;
    }

    /* Phone and caption share one screen height: size the phone by what is left. */
    .scene .phone {
        width: min(220px, 52vw, calc((100svh - 520px) / 2.16));
        min-width: 120px;
        order: -1;
    }

    .scene h3 {
        font-size: 26px;
    }
}

/* Big type ---------------------------------------------------------------------------------- */

.bigtype {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    text-align: center;
}

.bigtype__word {
    font-size: clamp(64px, 15vw, 230px);
    font-weight: 900;
    font-stretch: 125%;
    letter-spacing: -0.04em;
    line-height: 0.88;
    color: var(--brand-hi);
    transform: scale(calc(0.92 + var(--p, 0) * 0.12));
}

.bigtype__word span {
    display: block;
    color: var(--text);
}

.bigtype .lead {
    margin: 40px auto 0;
}

.rule-chip {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border: 1px solid var(--line-2);
    border-radius: 999px;
    background: rgba(26, 31, 39, 0.85);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
    transform: translate3d(0, calc(var(--shift, 0) * 1px), 0);
}

.rule-chip i {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--c, var(--brand-hi));
}

.rule-chip b {
    color: var(--muted);
    font-weight: 700;
}

@media (max-width: 760px) {
    .rule-chip {
        display: none;
    }
}

/* Feature grid ------------------------------------------------------------------------------ */

.features {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin-top: 64px;
}

.feature {
    padding: 28px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: linear-gradient(180deg, var(--ink-3), var(--ink-2));
}

.feature svg {
    width: 28px;
    height: 28px;
    margin-bottom: 20px;
    color: var(--brand-hi);
}

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

@media (max-width: 900px) {
    .features {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 600px) {
    .features {
        grid-template-columns: 1fr;
    }
}

/* Browser frame ----------------------------------------------------------------------------- */

.browser {
    position: relative;
    border: 1px solid var(--line-2);
    border-radius: 16px;
    background: var(--ink-3);
    overflow: hidden;
    box-shadow: 0 50px 100px -40px rgba(0, 0, 0, 0.85), 0 0 140px -60px var(--brand-glow);
}

.browser__bar {
    display: flex;
    align-items: center;
    gap: 7px;
    height: 38px;
    padding: 0 16px;
    border-bottom: 1px solid var(--line);
}

.browser__bar i {
    width: 11px;
    height: 11px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.16);
}

.browser__bar span {
    margin-left: 14px;
    color: var(--faint);
    font-size: 12px;
}

.browser__view {
    position: relative;
    aspect-ratio: 1440 / 900;
}

.browser__view img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top left;
    transition: opacity 0.7s ease;
}

.browser__view img:not(.is-active) {
    opacity: 0;
}

.tilt {
    perspective: 1800px;
}

.tilt > .browser,
.tilt > .wall {
    transform: rotateX(calc((1 - var(--p, 1)) * 18deg)) scale(calc(0.9 + var(--p, 1) * 0.1));
    transform-origin: 50% 0;
}

/* Split rows -------------------------------------------------------------------------------- */

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

.split--reverse > :first-child {
    order: 2;
}

/* Text beside a desktop capture: give the capture the room. */
.split--wide {
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.25fr);
}

.split--reverse.split--wide {
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.8fr);
}

@media (max-width: 900px) {
    .split,
    .split--wide,
    .split--reverse.split--wide {
        grid-template-columns: 1fr;
    }

    .split--reverse > :first-child {
        order: 0;
    }
}

.checks {
    margin: 28px 0 0;
    padding: 0;
    list-style: none;
}

.checks li {
    position: relative;
    padding: 12px 0 12px 34px;
    border-top: 1px solid var(--line);
    color: var(--muted);
}

.checks li strong {
    color: var(--text);
}

.checks li::before {
    content: "";
    position: absolute;
    left: 2px;
    top: 19px;
    width: 14px;
    height: 8px;
    border-left: 2px solid var(--brand-hi);
    border-bottom: 2px solid var(--brand-hi);
    transform: rotate(-45deg);
}

/* Steps ------------------------------------------------------------------------------------- */

.steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin-top: 64px;
    counter-reset: step;
}

.step {
    position: relative;
    padding: 32px 28px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--ink-2);
    counter-increment: step;
}

.step::before {
    content: counter(step, decimal-leading-zero);
    display: block;
    margin-bottom: 28px;
    color: var(--brand-hi);
    font-size: 15px;
    font-weight: 800;
    font-stretch: 115%;
    letter-spacing: 0.08em;
}

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

@media (max-width: 860px) {
    .steps {
        grid-template-columns: 1fr;
    }
}

/* Badge wall -------------------------------------------------------------------------------- */

.badge-wall {
    position: relative;
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 14px;
    margin-top: 64px;
}

.badge-wall figure {
    margin: 0;
    padding: 20px 10px 14px;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    background: var(--ink-2);
    text-align: center;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.badge-wall figure:hover {
    transform: translateY(-4px) rotate(-1deg);
    border-color: rgba(242, 184, 75, 0.45);
}

.badge-wall img {
    width: 100%;
    max-width: 110px;
    aspect-ratio: 1;
    margin: 0 auto;
}

.badge-wall figcaption {
    margin-top: 10px;
    color: var(--muted);
    font-size: 13px;
    font-weight: 600;
}

@media (max-width: 900px) {
    .badge-wall {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (max-width: 520px) {
    .badge-wall {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 10px;
    }
}

/* Original band ----------------------------------------------------------------------------- */

.original {
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background:
        radial-gradient(60% 120% at 0% 0%, rgba(242, 184, 75, 0.1), transparent 60%),
        var(--ink-2);
}

.original__grid {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: clamp(32px, 6vw, 96px);
}

.original__year {
    font-size: clamp(96px, 16vw, 220px);
    font-weight: 900;
    font-stretch: 125%;
    letter-spacing: -0.05em;
    line-height: 0.8;
    color: transparent;
    -webkit-text-stroke: 2px var(--gold);
}

.original p {
    margin: 20px 0 0;
    color: var(--muted);
    font-size: 18px;
}

@media (max-width: 760px) {
    .original__grid {
        grid-template-columns: 1fr;
    }
}

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

.products {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 16px;
    margin-top: 56px;
}

.product {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 360px;
    padding: 36px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--ink-2);
    text-decoration: none;
    transition: border-color 0.3s ease, transform 0.3s ease;
}

.product:hover {
    border-color: var(--line-2);
    transform: translateY(-3px);
}

.product p {
    max-width: 28em;
    margin: 14px 0 0;
    color: var(--muted);
}

.product__more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 28px;
    color: var(--brand-hi);
    font-weight: 700;
}

.product--dc {
    background:
        radial-gradient(80% 90% at 100% 100%, rgba(59, 142, 255, 0.22), transparent 60%),
        var(--ink-2);
}

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

@media (max-width: 860px) {
    .products,
    .products--3 {
        grid-template-columns: 1fr;
    }
}

/* CTA block --------------------------------------------------------------------------------- */

.cta {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    margin: 0 var(--gutter) clamp(48px, 8vw, 96px);
    padding: clamp(64px, 10vw, 128px) var(--gutter);
    border-radius: 28px;
    background: var(--brand);
    color: #fff;
    text-align: center;
}

.cta h2 {
    max-width: 12em;
    margin: 0 auto;
}

.cta p {
    max-width: 34em;
    margin: 20px auto 0;
    color: rgba(255, 255, 255, 0.82);
    font-size: 19px;
}

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

.cta__badge {
    position: absolute;
    z-index: -1;
    width: clamp(120px, 16vw, 220px);
    opacity: 0.28;
    transform: translate3d(0, calc(var(--shift, 0) * 1px), 0) rotate(var(--r, 0deg));
}

.cta__badge--a {
    left: 4%;
    top: 12%;
    --r: -14deg;
}

.cta__badge--b {
    right: 5%;
    bottom: 8%;
    --r: 12deg;
}

/* FAQ --------------------------------------------------------------------------------------- */

.faq {
    max-width: 860px;
    margin: 56px auto 0;
}

.faq details {
    border-top: 1px solid var(--line);
}

.faq details:last-child {
    border-bottom: 1px solid var(--line);
}

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

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

.faq summary::after {
    content: "+";
    flex: none;
    color: var(--brand-hi);
    font-size: 26px;
    font-weight: 400;
    transition: transform 0.2s ease;
}

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

.faq details p {
    margin: 0 0 24px;
    padding: 0 4px;
    color: var(--muted);
}

/* Control Center: a real screen in a wall-display bezel, and room photos ------------------- */

.wall {
    padding: 12px 12px 16px;
    border-radius: 18px;
    background: #050608;
    box-shadow: 0 0 0 1px var(--line-2), 0 60px 120px -50px rgba(0, 0, 0, 0.9), 0 0 160px -60px var(--brand-glow);
}

.wall img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 6px;
}

.room {
    position: relative;
    margin: 0;
    overflow: hidden;
    border-radius: var(--radius);
    box-shadow: 0 0 0 1px var(--line), 0 50px 100px -50px rgba(0, 0, 0, 0.9);
}

.room img {
    display: block;
    width: 100%;
    height: auto;
}

.room figcaption {
    position: absolute;
    left: 16px;
    bottom: 14px;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(13, 16, 20, 0.72);
    color: var(--muted);
    font-size: 13px;
}

/* Contact ----------------------------------------------------------------------------------- */

.contact-card {
    padding: clamp(24px, 4vw, 48px);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--ink-2);
}

.contact-list {
    margin: 32px 0 0;
    padding: 0;
    list-style: none;
}

.contact-list li {
    padding: 16px 0;
    border-top: 1px solid var(--line);
    color: var(--muted);
}

.contact-list strong {
    display: block;
    color: var(--text);
}

/* HubSpot form, restyled for the dark theme */
.contact-card .hs-form fieldset {
    max-width: none !important;
}

.contact-card .hs-form label {
    display: block;
    margin: 18px 0 6px;
    color: var(--text);
    font-size: 14px;
    font-weight: 600;
}

.contact-card .hs-form .hs-input:not([type="checkbox"]):not([type="radio"]) {
    width: 100% !important;
    min-height: 48px;
    padding: 12px 14px;
    border: 1px solid var(--line-2);
    border-radius: 10px;
    background: var(--ink);
    color: var(--text);
    font: inherit;
}

.contact-card .hs-form textarea.hs-input {
    min-height: 140px;
}

.contact-card .hs-form .hs-input:focus {
    outline: 2px solid var(--brand-hi);
    outline-offset: 0;
}

.contact-card .hs-form .hs-button {
    margin-top: 24px;
    min-height: 48px;
    padding: 0 26px;
    border: 0;
    border-radius: 999px;
    background: var(--brand);
    color: #fff;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}

.contact-card .hs-form .hs-error-msg,
.contact-card .hs-form .hs-error-msgs label {
    color: var(--bad);
    font-weight: 500;
}

.contact-card .hs-form .hs-richtext,
.contact-card .hs-form .legal-consent-container {
    color: var(--muted);
    font-size: 13px;
}

.contact-card .hs-form ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

/* Footer ------------------------------------------------------------------------------------ */

.site-footer {
    padding: 64px 0 40px;
    border-top: 1px solid var(--line);
    color: var(--muted);
    font-size: 15px;
}

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

.site-footer .logo {
    width: 96px;
    color: #fff;
}

.site-footer h4 {
    margin: 0 0 14px;
    color: var(--text);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.site-footer ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.site-footer li {
    margin: 8px 0;
}

.site-footer a {
    color: var(--muted);
    text-decoration: none;
}

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

.site-footer__legal {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 12px;
    margin-top: 56px;
    padding-top: 24px;
    border-top: 1px solid var(--line);
    color: var(--faint);
    font-size: 13px;
}

@media (max-width: 760px) {
    .site-footer__grid {
        grid-template-columns: 1fr 1fr;
    }

    .site-footer__brand {
        grid-column: 1 / -1;
    }
}

/* Page heads (inner pages) ------------------------------------------------------------------ */

.page-head {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding: 180px 0 80px;
}

.page-head .glow {
    top: -30%;
    left: 30%;
}

/* Reveal ------------------------------------------------------------------------------------ */

[data-reveal] {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.8s ease, transform 0.9s cubic-bezier(0.2, 0.7, 0.2, 1);
    transition-delay: calc(var(--d, 0) * 90ms);
}

[data-reveal].is-in {
    opacity: 1;
    transform: none;
}

.no-js [data-reveal] {
    opacity: 1;
    transform: none;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    [data-reveal] {
        opacity: 1;
        transform: none;
        transition: none;
    }

    .float,
    .rule-chip,
    .cta__badge,
    .bigtype__word {
        transform: none !important;
    }

    .tilt > .browser,
    .tilt > .wall {
        transform: none;
    }
}

/* Without JavaScript the scenes cannot follow the scroll: show every step, one under the other. */
.no-js .scene {
    height: auto;
}

.no-js .scene__pin {
    position: static;
    height: auto;
    padding: 96px 0;
}

.no-js .scene__steps {
    min-height: 0;
}

.no-js .scene__step {
    position: static;
    margin-bottom: 40px;
    opacity: 1;
    transform: none;
}

.no-js .scene__progress {
    display: none;
}

/* Long-form text (policies) ----------------------------------------------------------------- */

.prose {
    max-width: 780px;
    color: var(--muted);
    font-size: 17px;
}

.prose h2 {
    margin: 64px 0 16px;
    color: var(--text);
    font-size: clamp(26px, 3vw, 34px);
}

.prose h3 {
    margin: 32px 0 10px;
    color: var(--text);
    font-size: 20px;
}

.prose p,
.prose li {
    line-height: 1.7;
}

.prose ul {
    padding-left: 22px;
}

.prose li {
    margin: 6px 0;
}

.prose strong {
    color: var(--text);
}

.prose a {
    color: var(--brand-hi);
}

.prose table {
    width: 100%;
    margin: 20px 0;
    border-collapse: collapse;
    font-size: 15px;
}

.prose th,
.prose td {
    padding: 12px 10px;
    border-bottom: 1px solid var(--line);
    text-align: left;
    vertical-align: top;
}

.prose th {
    color: var(--text);
    font-weight: 700;
}

.draft-note {
    margin: 0 0 40px;
    padding: 16px 20px;
    border: 1px dashed var(--gold);
    border-radius: var(--radius-sm);
    color: var(--gold);
    font-size: 15px;
}

/* Inline placeholder in running text: outline only, no label. */
.prose .todo::after {
    content: none;
}

.prose .todo {
    padding: 0 3px;
    color: var(--gold);
}

/* Reseller pages: plain forms, tables and cards on the site theme ---------------------------- */

.app-head {
    padding: clamp(120px, 14vw, 160px) 0 32px;
}

.app-head h1 {
    font-size: clamp(34px, 5vw, 52px);
}

.panel {
    margin: 0 0 24px;
    padding: clamp(20px, 3vw, 32px);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--ink-2);
}

.panel h2 {
    margin: 0 0 16px;
    font-size: 22px;
}

.signin {
    max-width: 440px;
    margin: 0 auto;
}

.field {
    display: block;
    margin: 0 0 16px;
}

.field > span {
    display: block;
    margin: 0 0 6px;
    color: var(--text);
    font-size: 14px;
    font-weight: 600;
}

.field input,
.field select {
    width: 100%;
    min-height: 48px;
    padding: 12px 14px;
    border: 1px solid var(--line-2);
    border-radius: 10px;
    background: var(--ink);
    color: var(--text);
    font: inherit;
}

.field input:focus,
.field select:focus {
    outline: 2px solid var(--brand-hi);
    outline-offset: 0;
}

.form-error {
    margin: 0 0 16px;
    color: var(--bad);
    font-weight: 500;
}

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

.payment-cards {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 0 0 20px;
}

.payment-card {
    min-width: 220px;
    padding: 16px 18px;
    border: 1px solid var(--line-2);
    border-radius: var(--radius-sm);
    background: var(--ink-3);
}

.payment-card strong {
    display: block;
}

.payment-card span {
    color: var(--muted);
    font-size: 14px;
}

.payment-card .is-bad {
    color: var(--bad);
}

.pill {
    display: inline-block;
    margin-left: 6px;
    padding: 2px 8px;
    border-radius: 999px;
    background: rgba(59, 142, 255, 0.16);
    color: var(--brand-hi);
    font-size: 12px;
    font-weight: 700;
}

.table-scroll {
    overflow-x: auto;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 15px;
    white-space: nowrap;
}

.data-table th,
.data-table td {
    padding: 12px 10px;
    border-bottom: 1px solid var(--line);
    text-align: left;
}

.data-table th {
    color: var(--muted);
    font-size: 13px;
    font-weight: 600;
}

.data-table tbody th {
    color: var(--text);
    font-size: 15px;
    font-weight: 600;
}

.data-table .num {
    text-align: right;
    font-variant-numeric: tabular-nums;
}

.data-table .is-faded {
    color: var(--faint);
}

.data-table .is-warn {
    color: var(--gold);
}

.row-actions {
    text-align: right;
}

.link-btn {
    margin-left: 12px;
    padding: 0;
    border: 0;
    background: none;
    color: var(--brand-hi);
    font: inherit;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
}

.link-btn.is-bad {
    color: var(--bad);
}

.link-btn:disabled {
    opacity: 0.5;
    cursor: wait;
}
