/*
    Mobility marketing site - design system.

    Ported from Docs/website-design/Mobility Website.dc.html, which is a prototype and carries every
    rule as a style attribute. Those are classes here for the obvious reason: the card treatment
    appears about sixty times across the seven pages, and sixty copies of a shadow is sixty places to
    miss when the shadow changes.

    The palette is the console's own (see Docs/ProductOverview-ForWebTeam.md section 10a) with one
    addition: the site sits on #FAF9FC and uses a warmer near-black for body text, so a visitor who
    signs in lands somewhere recognisably the same rather than identical.
*/

/* ---------------------------------------------------------------- tokens */

:root {
    /* Brand. Purple is the only brand colour there is; there is no secondary. */
    --brand: #6D28D9;
    --brand-dark: #5B21B6;
    --brand-bright: #A05AFF;
    --brand-deep: #8236E8;
    --brand-gradient: linear-gradient(150deg, #A05AFF 0%, #6D28D9 100%);
    --brand-night: linear-gradient(160deg, #241033, #3A1656);

    /* Ink. The alphas are used directly in the mockup, so they are named rather than flattened. */
    --ink: #201e1d;
    --ink-75: rgba(32, 30, 29, .75);
    --ink-72: rgba(32, 30, 29, .72);
    --ink-70: rgba(32, 30, 29, .7);
    --ink-62: rgba(32, 30, 29, .62);
    --ink-58: rgba(32, 30, 29, .58);

    /* Surfaces and lines. */
    --page: #FAF9FC;
    --surface: #ffffff;
    --surface-alt: #F3F1F8;
    --tint: #F4EEFE;
    --tint-line: #E4D8FB;
    --line: #EDEAF3;
    --line-soft: #ECEBF0;
    --line-alt: #E3DEED;
    --line-head: #EBE7F2;
    --line-hover: #E0D7F5;

    /* Status. Always a pale ground with dark text of the same hue - never colour on its own. */
    --ok-bg: #E8F7EE;
    --ok-fg: #197A45;
    --info-bg: #E9F0FD;
    --info-fg: #1F5CC4;
    --warn-bg: #FFF4E5;
    --warn-fg: #96590A;
    --warn-line: #F5E0BF;
    --bad-bg: #FDECEB;
    --bad-fg: #B3261E;
    --neutral-bg: #F3F1F7;
    --neutral-fg: #7D7690;

    /* Console-panel greys, used only by the illustrated screenshots in mock.css. */
    --c-bg: #F7F6FA;
    --c-ink: #1A1626;
    --c-body: #4B4557;
    --c-muted: #8A8397;
    --c-faint: #A9A3B8;

    --display: Archivo, system-ui, sans-serif;
    --body: "Plus Jakarta Sans", system-ui, sans-serif;
    --mono: "JetBrains Mono", ui-monospace, monospace;

    --radius-card: 20px;
    --radius-panel: 16px;
    --radius-tile: 12px;

    --shadow-card: 0 1px 2px rgba(36, 16, 51, .05), 0 14px 34px -18px rgba(36, 16, 51, .16);
    --shadow-card-hover: 0 24px 48px -22px rgba(36, 16, 51, .26);

    --ease: cubic-bezier(.22, .61, .36, 1);
    --shell: 1240px;
    --gutter: 40px;
}

/* ---------------------------------------------------------------- base */

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

html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: var(--body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--ink);
    background: var(--page);
    -webkit-font-smoothing: antialiased;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

main { flex: 1; }

a { color: var(--brand); text-decoration: none; text-underline-offset: 3px; }
a:hover { color: var(--brand-dark); text-decoration: underline; }

p { margin: 0; text-wrap: pretty; }

h1, h2, h3, h4 { margin: 0; font-family: var(--display); font-weight: 800; letter-spacing: -.02em; }

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

:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
::selection { background: rgba(109, 40, 217, .22); }

.icon { flex: none; }

/* Visible only to screen readers - used for the section landmarks. */
.sr-only {
    position: absolute;
    width: 1px; height: 1px;
    padding: 0; margin: -1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
}

.skip-link {
    position: absolute;
    left: -9999px;
    top: 8px;
    z-index: 100;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 10px 16px;
    font-weight: 700;
    font-size: 14px;
}

.skip-link:focus { left: 16px; }

/* ---------------------------------------------------------------- layout */

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

.section { position: relative; }
.section--alt { background: var(--surface-alt); }

.section--brand {
    background: var(--brand-gradient);
    color: #fff;
}

.section--night {
    background: var(--brand-night);
    color: #fff;
    overflow: hidden;
}

/* The two blurred lamps behind the dark sections. Decorative and pointer-transparent. */
.glow {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    animation: mob-glow 11s ease-in-out infinite;
}

.glow--top {
    top: -220px; right: -140px;
    width: 620px; height: 620px;
    background: radial-gradient(circle, rgba(160, 90, 255, .45) 0%, transparent 68%);
}

.glow--bottom {
    bottom: -260px; left: -180px;
    width: 560px; height: 560px;
    background: radial-gradient(circle, rgba(109, 40, 217, .4) 0%, transparent 70%);
    animation-duration: 13s;
    animation-direction: reverse;
}

.section__inner { position: relative; z-index: 2; }

.section-head { padding: 80px 0 0; max-width: 760px; }
.section-head--wide { max-width: 820px; }
.section-head--full { max-width: none; }
.section-body { padding: 56px 0 88px; }
.section-body--tight { padding: 40px 0 80px; }
.section-pad { padding: 80px 0; }
.section-pad--lg { padding: 88px 0; }

/* Every track minimum is wrapped in min(..., 100%). A bare minmax(360px, 1fr) does not shrink
   below its minimum, so on a 375px screen each of these grids was 25 to 45 pixels wider than the
   page and every one of the seven pages scrolled sideways. The mockup has the same defect; it was
   only ever looked at on a desktop. */
.grid { display: grid; gap: 20px; }
.grid--cards { grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); }
.grid--pair { grid-template-columns: repeat(auto-fit, minmax(min(360px, 100%), 1fr)); }
.grid--tiles { grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); }

.grid--split {
    grid-template-columns: repeat(auto-fit, minmax(min(400px, 100%), 1fr));
    gap: 64px;
    align-items: center;
}

.grid--split-end { align-items: end; }
.grid--split-narrow { grid-template-columns: repeat(auto-fit, minmax(min(380px, 100%), 1fr)); }

.stack { display: flex; flex-direction: column; }
.stack--sm { gap: 10px; }
.stack--md { gap: 14px; }
.stack--lg { gap: 20px; }

.row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }

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

.eyebrow {
    display: block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .11em;
    text-transform: uppercase;
    color: var(--brand);
}

.eyebrow--muted { color: var(--ink-62); letter-spacing: .1em; }
.eyebrow--light { color: rgba(255, 255, 255, .72); }

.display-1 {
    font-size: clamp(38px, 6.4vw, 66px);
    line-height: 1.02;
    letter-spacing: -.035em;
}

.display-2 {
    font-size: clamp(32px, 5vw, 52px);
    line-height: 1.05;
    letter-spacing: -.035em;
}

.title {
    font-size: clamp(28px, 4.2vw, 42px);
    line-height: 1.08;
    letter-spacing: -.03em;
    margin-top: 14px;
}

.title--flush { margin-top: 0; }

.subtitle {
    font-size: clamp(24px, 2.6vw, 28px);
    line-height: 1.12;
    letter-spacing: -.025em;
}

.card-title {
    font-size: 22px;
    line-height: 1.15;
    letter-spacing: -.02em;
}

.card-title--lg { font-size: 24px; line-height: 1.2; }

.lead { font-size: 19px; line-height: 1.6; color: var(--ink-70); }
.lead--sm { font-size: 17px; line-height: 1.65; }
.lead--light { color: rgba(255, 255, 255, .78); }

.body-text { font-size: 15px; line-height: 1.65; color: var(--ink-70); }
.body-text--lg { font-size: 15.5px; line-height: 1.7; color: var(--ink-72); }
.body-text--xl { font-size: 16.5px; line-height: 1.7; color: var(--ink-72); }
.body-text--sm { font-size: 13.5px; line-height: 1.6; color: var(--ink-62); }

.takeaway { font-size: 13px; font-weight: 600; color: var(--brand); }

.mono { font-family: var(--mono); }

.mt-sm { margin-top: 12px; }
.mt-md { margin-top: 16px; }
.mt-lg { margin-top: 22px; }
.mt-xl { margin-top: 28px; }
.mb-sm { margin-bottom: 12px; }
.mb-md { margin-bottom: 16px; }
.mb-lg { margin-bottom: 22px; }
.mb-xl { margin-bottom: 28px; }
.mb-2xl { margin-bottom: 40px; }

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

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--display);
    font-weight: 800;
    border: 1px solid transparent;
    border-radius: 999px;
    white-space: nowrap;
    cursor: pointer;
    transition: transform .4s var(--ease), box-shadow .4s var(--ease), background .3s ease, color .3s ease;
}

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

.btn--sm { font-size: 14px; padding: 12px 20px; }
.btn--md { font-size: 14.5px; padding: 15px 24px; }
.btn--lg { font-size: 15px; padding: 16px 26px; }
.btn--xl { font-size: 16px; padding: 18px 28px; }

.btn--primary {
    background: var(--brand);
    color: #fff;
    box-shadow: 0 12px 26px -12px rgba(109, 40, 217, .7);
}

.btn--primary:hover {
    background: var(--brand-dark);
    color: #fff;
    box-shadow: 0 16px 30px -14px rgba(109, 40, 217, .7);
}

.btn--bright {
    background: var(--brand-bright);
    color: #fff;
    box-shadow: 0 16px 34px -12px rgba(160, 90, 255, .75);
}

.btn--bright:hover {
    background: var(--brand-deep);
    color: #fff;
    box-shadow: 0 18px 34px -14px rgba(160, 90, 255, .75);
}

.btn--on-dark {
    border-color: rgba(255, 255, 255, .3);
    background: rgba(255, 255, 255, .06);
    color: #fff;
}

.btn--on-dark:hover { background: rgba(255, 255, 255, .16); color: #fff; }

.btn--on-brand {
    border-color: rgba(255, 255, 255, .42);
    background: rgba(255, 255, 255, .08);
    color: #fff;
}

.btn--on-brand:hover { background: rgba(255, 255, 255, .18); color: #fff; }

.btn--white {
    background: #fff;
    color: var(--brand);
    box-shadow: 0 18px 40px -14px rgba(20, 4, 40, .45);
}

.btn--white:hover {
    background: var(--tint);
    color: var(--brand-dark);
    box-shadow: 0 20px 40px -16px rgba(20, 4, 40, .42);
}

.btn--quiet {
    color: var(--ink);
    font-family: var(--body);
    font-weight: 600;
    font-size: 14px;
    padding: 10px 14px;
    border-radius: 10px;
    box-shadow: none;
}

.btn--quiet:hover { background: rgba(109, 40, 217, .09); color: var(--brand-dark); }

.arrow-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-family: var(--display);
    font-weight: 800;
    font-size: 13.5px;
    transition: gap .35s var(--ease), color .3s ease;
}

.arrow-link:hover { text-decoration: none; color: var(--brand-dark); gap: 12px; }

/* ---------------------------------------------------------------- cards and panels */

.card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-card);
    box-shadow: var(--shadow-card);
    padding: 40px;
    transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .5s ease;
}

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

.card--md { padding: 36px; }
.card--sm { padding: 28px; }
.card--flat { box-shadow: none; }
.card--flat:hover { transform: none; box-shadow: none; }

.card__icon { color: var(--brand); margin-bottom: 14px; }

.panel {
    background: var(--surface);
    border: 1px solid var(--line-soft);
    border-radius: var(--radius-panel);
    padding: 16px;
}

.panel--tight { padding: 14px 16px; }

.tile {
    background: var(--surface);
    border: 1px solid var(--line-soft);
    border-radius: var(--radius-tile);
    padding: 14px;
}

.note {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    background: var(--warn-bg);
    border: 1px solid var(--warn-line);
    border-radius: 10px;
    padding: 11px 13px;
    font-size: 12.5px;
    line-height: 1.5;
    color: var(--warn-fg);
}

.note--info {
    background: var(--info-bg);
    border-color: #CFDDF8;
    color: var(--info-fg);
}

.rule { height: 1px; background: var(--line-alt); border: 0; }
.rule--soft { background: #F4F3F7; }

/* ---------------------------------------------------------------- badges and status */

.pill {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    border: 1px solid rgba(255, 255, 255, .24);
    background: rgba(255, 255, 255, .08);
    border-radius: 999px;
    padding: 8px 15px;
    white-space: nowrap;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .8);
}

.pill--light {
    border-color: var(--tint-line);
    background: var(--tint);
    color: var(--brand);
}

.dot { width: 6px; height: 6px; border-radius: 50%; background: var(--brand-bright); flex: none; }
.dot--lg { width: 8px; height: 8px; }
.dot--ok { background: var(--ok-fg); }
.dot--warn { background: var(--warn-fg); }
.dot--bad { background: var(--bad-fg); }
.dot--faint { background: rgba(255, 255, 255, .5); width: 7px; height: 7px; }

.status {
    display: inline-flex;
    align-items: center;
    font-size: 10px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 6px;
    background: var(--neutral-bg);
    color: var(--neutral-fg);
    white-space: nowrap;
}

.status--ok { background: var(--ok-bg); color: var(--ok-fg); }
.status--info { background: var(--info-bg); color: var(--info-fg); }
.status--warn { background: var(--warn-bg); color: var(--warn-fg); }
.status--bad { background: var(--bad-bg); color: var(--bad-fg); }
.status--sm { padding: 2px 7px; border-radius: 5px; }

.step-number {
    font-family: var(--display);
    font-weight: 800;
    font-size: 13px;
    color: #fff;
    background: var(--brand);
    width: 26px; height: 26px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: none;
}

.step-number--sm { width: 20px; height: 20px; font-size: 11px; }
.step-number--muted { background: var(--c-muted); }

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

.tick-list li {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    font-size: 14.5px;
    line-height: 1.6;
    color: rgba(32, 30, 29, .78);
}

.tick-list .icon { color: var(--brand); margin-top: 4px; }

/* ---------------------------------------------------------------- header */

.site-header {
    position: sticky;
    top: 0;
    z-index: 40;
    background: rgba(250, 249, 252, .88);
    backdrop-filter: saturate(180%) blur(14px);
    -webkit-backdrop-filter: saturate(180%) blur(14px);
    border-bottom: 1px solid var(--line-head);
}

.site-header__inner {
    max-width: var(--shell);
    margin: 0 auto;
    padding: 11px var(--gutter);
    display: flex;
    align-items: center;
    gap: 20px;
    min-height: 76px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 11px;
    margin-right: auto;
    color: inherit;
    transition: opacity .3s ease;
}

.brand:hover { text-decoration: none; opacity: .86; color: inherit; }

.brand-mark {
    width: 34px; height: 34px;
    border-radius: 11px;
    background: var(--brand-gradient);
    box-shadow: 0 6px 14px -6px rgba(160, 90, 255, .6);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-family: var(--display);
    font-weight: 800;
    font-size: 18px;
    flex: none;
}

.brand-mark--sm { width: 28px; height: 28px; border-radius: 9px; font-size: 15px; box-shadow: none; }

.brand-text { display: flex; flex-direction: column; line-height: 1.05; }

.brand-name { font-family: var(--display); font-weight: 800; font-size: 19px; letter-spacing: -.02em; }

.brand-sub {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: .09em;
    text-transform: uppercase;
    color: var(--ink-62);
}

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

.nav-link {
    position: relative;
    color: inherit;
    font-size: 14px;
    font-weight: 600;
    padding: 12px 0;
    white-space: nowrap;
    transition: color .3s ease;
}

.nav-link:hover { color: var(--brand); text-decoration: none; }

.nav-link::after {
    content: "";
    position: absolute;
    left: 0; right: 0; bottom: 0;
    height: 2px;
    border-radius: 2px;
    background: transparent;
}

.nav-link.is-active { color: var(--brand); }
.nav-link.is-active::after { background: var(--brand); }

.header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    padding-left: 8px;
    margin-left: auto;
    flex: none;
}

/* Hidden until the nav no longer fits on one line. */
.nav-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    width: 42px; height: 42px;
    border: 1px solid var(--line-head);
    border-radius: 12px;
    background: var(--surface);
    color: var(--ink);
    cursor: pointer;
}

.nav-toggle .icon--close { display: none; }
.nav-toggle[aria-expanded="true"] .icon--open { display: none; }
.nav-toggle[aria-expanded="true"] .icon--close { display: block; }

/* ---------------------------------------------------------------- footer */

.site-footer { border-top: 1px solid var(--line-alt); background: var(--surface-alt); }

.site-footer__inner {
    max-width: var(--shell);
    margin: 0 auto;
    padding: 56px var(--gutter) 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(190px, 100%), 1fr));
    gap: 40px;
}

.footer-col { display: flex; flex-direction: column; gap: 9px; }

.footer-head {
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--ink-58);
    margin-bottom: 3px;
}

.footer-link { font-size: 13.5px; color: var(--ink-75); }
.footer-link:hover { color: var(--brand); }

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    font-size: 12.5px;
    color: var(--ink-62);
}

/* ---------------------------------------------------------------- animation */

@keyframes mob-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
@keyframes mob-glow { 0%, 100% { opacity: .5; } 50% { opacity: .95; } }
@keyframes mob-rowin { from { opacity: 0; transform: translateY(9px); } to { opacity: 1; transform: none; } }
@keyframes mob-bar { from { transform: scaleX(0); } to { transform: scaleX(1); } }

@keyframes mob-scan {
    0% { transform: translateY(-12%); opacity: 0; }
    12% { opacity: .85; }
    88% { opacity: .85; }
    100% { transform: translateY(560%); opacity: 0; }
}

@keyframes mob-blip {
    0%, 100% { transform: translate(0, 0); }
    25% { transform: translate(16px, 10px); }
    50% { transform: translate(34px, 4px); }
    75% { transform: translate(18px, -8px); }
}

@keyframes mob-ring {
    0% { box-shadow: 0 0 0 0 rgba(160, 90, 255, .45); }
    70% { box-shadow: 0 0 0 10px rgba(160, 90, 255, 0); }
    100% { box-shadow: 0 0 0 0 rgba(160, 90, 255, 0); }
}

@keyframes mob-pulse {
    0% { box-shadow: 0 0 0 0 rgba(25, 122, 69, .5); }
    70% { box-shadow: 0 0 0 9px rgba(25, 122, 69, 0); }
    100% { box-shadow: 0 0 0 0 rgba(25, 122, 69, 0); }
}

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

@media (max-width: 1080px) {
    :root { --gutter: 28px; }

    /* The nav and the two buttons stop fitting beside the wordmark before the content does, so the
       nav moves into a panel under the header rather than wrapping onto a second line. */
    .nav-toggle { display: inline-flex; }

    .site-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0; right: 0;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 8px var(--gutter) 18px;
        background: var(--page);
        border-bottom: 1px solid var(--line-head);
        box-shadow: 0 18px 30px -22px rgba(36, 16, 51, .5);
    }

    .site-nav.is-open { display: flex; }

    .nav-link { padding: 13px 0; border-bottom: 1px solid var(--line-head); }
    .nav-link::after { display: none; }
}

@media (max-width: 720px) {
    :root { --gutter: 20px; }

    .section-head { padding-top: 56px; }
    .section-body { padding: 32px 0 56px; }
    .section-pad, .section-pad--lg { padding: 56px 0; }
    .grid--split { gap: 40px; }
    .card { padding: 28px; }
    .card--md { padding: 26px; }
    .site-footer__inner { padding-top: 40px; }

    /* The sign-in link is the one thing that can go: the CTA beside it leads to the same console. */
    .header-actions .btn--quiet { display: none; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ---------------------------------------------------------------- footer detail */

.footer-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.footer-brand .brand-name { font-size: 17px; }
.footer-blurb { max-width: 280px; }
.footer-rule { margin: 36px 0 18px; }
.footer-domain { font-size: 11px; }

/* ---------------------------------------------------------------- error page */

.error-block { max-width: 640px; }

/* ---------------------------------------------------------------- home */

.hero { min-height: 600px; padding: 88px 0; }
.hero-lead { max-width: 470px; }

.hero-facts {
    display: flex;
    flex-wrap: wrap;
    gap: 28px;
    margin: 0;
    padding: 0;
    list-style: none;
    font-size: 12.5px;
    font-weight: 600;
    color: rgba(255, 255, 255, .62);
}

.hero-facts li { display: flex; align-items: center; gap: 8px; }

.card__icon--inline { margin-bottom: 0; }

.cta-grid { grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr)); gap: 56px; }
.cta-lead { max-width: 520px; }
.cta-actions { align-items: flex-start; }

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

/* ---------------------------------------------------------------- inner pages */

/* The masthead every page except home opens with: a heading on the left and a paragraph of
   qualification on the right, both sitting on the bottom line. */
.page-head {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(380px, 100%), 1fr));
    gap: 64px;
    align-items: end;
    padding: 72px 0 64px;
}

.page-title {
    font-size: clamp(34px, 4.8vw, 54px);
    line-height: 1.04;
    letter-spacing: -.035em;
    margin-top: 14px;
}

/* A capability: prose one side, an illustration of the console the other. */
.grid--feature {
    grid-template-columns: repeat(auto-fit, minmax(min(360px, 100%), 1fr));
    gap: 56px;
    align-items: center;
    padding: 80px 0;
}

.feature-title {
    font-size: clamp(28px, 3.4vw, 38px);
    line-height: 1.08;
    letter-spacing: -.03em;
}

.feature-kicker { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }

.grid--inventory { grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr)); }
.card--inv { padding: 34px; }
.card-heading { font-size: 18px; letter-spacing: -.01em; margin-bottom: 12px; }
.body-text--inv { font-size: 14.5px; line-height: 1.7; color: var(--ink-70); }

@media (max-width: 720px) {
    .page-head { padding: 48px 0 40px; gap: 32px; }
    .grid--feature { gap: 40px; padding: 56px 0; }
    .card--inv { padding: 26px; }
}

/* ---------------------------------------------------------------- reporting */

.page-head--dark { padding: 76px 0 72px; }
.eyebrow--bright { color: var(--brand-bright); }

.stat-grid { grid-template-columns: repeat(auto-fit, minmax(min(230px, 100%), 1fr)); gap: 16px; padding-bottom: 88px; }

.stat {
    background: rgba(255, 255, 255, .07);
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 18px;
    padding: 26px;
}

.stat-value { font-family: var(--display); font-weight: 800; font-size: 36px; letter-spacing: -.03em; }
.stat-label { font-size: 12.5px; color: rgba(255, 255, 255, .6); margin-top: 4px; }

/* The side-by-side that makes the reporting argument: the same data, twice. */
.compare {
    background: var(--page);
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 16px;
}

.compare-row {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 10px;
    padding: 11px 0;
    border-bottom: 1px solid #F4F3F7;
    font-size: 13px;
    color: var(--c-ink);
}

.compare-row:last-child { border-bottom: 0; }
.compare-row b { font-weight: 700; }

.compare-row--head {
    padding: 9px 0;
    border-bottom-color: var(--line-soft);
    font-size: 9.5px;
    font-weight: 700;
    letter-spacing: .07em;
    color: var(--c-muted);
}

.compare-note { font-size: 14px; line-height: 1.65; color: var(--ink-62); margin-top: 18px; }
.compare-note--strong { color: var(--ink-72); font-weight: 600; }

.grid--cats { grid-template-columns: repeat(auto-fit, minmax(min(190px, 100%), 1fr)); }
.card--cat { padding: 26px; font-family: var(--body); font-weight: 700; font-size: 15px; }
.card-title--sm { font-size: 21px; line-height: 1.15; letter-spacing: -.02em; }
.card__icon--gap { margin-bottom: 18px; }
.section-body--wide { padding: 72px 0 88px; }

/* ---------------------------------------------------------------- industries */

.grid--industry {
    grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr));
    gap: 56px;
    padding: 80px 0;
    align-items: start;
}

.industry-icon { color: var(--brand); margin-bottom: 2px; }

.industry-title {
    font-size: clamp(26px, 3.2vw, 36px);
    line-height: 1.08;
    letter-spacing: -.03em;
    margin-bottom: 16px;
}

.card--point { padding: 26px; }
.point-title { font-family: var(--body); font-weight: 700; font-size: 15.5px; margin-bottom: 6px; }
.point-text { font-size: 14px; line-height: 1.65; color: rgba(32, 30, 29, .68); }

.cta-band {
    padding: 76px 0;
    grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr));
    gap: 48px;
    align-items: center;
}

.cta-band-title {
    font-size: clamp(28px, 4.2vw, 42px);
    line-height: 1.08;
    letter-spacing: -.035em;
    max-width: 640px;
}

@media (max-width: 720px) {
    .page-head--dark { padding: 48px 0 40px; }
    .stat-grid { padding-bottom: 56px; }
    .grid--industry { gap: 32px; padding: 56px 0; }
    .cta-band { padding: 56px 0; gap: 32px; }
    .section-body--wide { padding: 40px 0 56px; }
}

/* The call to action is a grid item; without this it stretches to the column and stops looking
   like a button. */
.cta-band .btn { justify-self: start; }

/* ---------------------------------------------------------------- security */

.card-title--xl { font-size: clamp(24px, 2.8vw, 30px); line-height: 1.1; letter-spacing: -.025em; }
.body-text--16 { font-size: 16px; line-height: 1.7; color: var(--ink-72); }
.card-heading--sm { font-size: 19px; letter-spacing: -.015em; }
.eyebrow--warn { color: var(--warn-fg); }
.self-start { align-self: start; }

.limit-title {
    font-size: clamp(26px, 3vw, 34px);
    line-height: 1.1;
    letter-spacing: -.03em;
    margin: 14px 0 16px;
}

/* The three things Mobility is not. The left rule is amber rather than red because these are
   scope boundaries, not warnings. */
.card--caveat { padding: 26px; border-left: 3px solid var(--warn-fg); }

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

.page-head--light { padding: 72px 0 60px; }

.plan { display: flex; flex-direction: column; position: relative; }

.plan-ribbon {
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 5px;
    background: linear-gradient(90deg, #A05AFF, #6D28D9);
    border-radius: var(--radius-card) var(--radius-card) 0 0;
}

.plan-price { font-family: var(--display); font-weight: 800; font-size: 34px; letter-spacing: -.03em; }
.plan-note { font-size: 14.5px; line-height: 1.6; color: rgba(32, 30, 29, .68); }

/* One-pixel gaps over a coloured ground: cheaper than per-row borders and it cannot double up. */
.plan-limits {
    display: grid;
    gap: 1px;
    background: var(--line);
    border: 1px solid var(--line);
    border-radius: 14px;
    overflow: hidden;
    margin: 0 0 28px;
}

.plan-limit {
    background: #fff;
    padding: 11px 15px;
    display: flex;
    justify-content: space-between;
    gap: 12px;
}

.plan-limit dt { font-size: 13.5px; color: var(--ink-70); }
.plan-limit dd { margin: 0; font-family: var(--mono); font-size: 13px; font-weight: 500; }

.tick-list--sm { gap: 11px; }
.tick-list--sm li { font-size: 14px; color: var(--ink-75); }
.tick-list--sm .icon { margin-top: 3px; }

.tag-featured {
    background: var(--tint);
    color: var(--brand);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .04em;
    padding: 4px 10px;
    border-radius: 999px;
}

/* A plan's call to action sits on the bottom edge of the card whatever the feature list did. */
.btn--block {
    margin-top: auto;
    justify-content: flex-start;
    border-radius: 14px;
    padding: 15px 20px;
    font-size: 15px;
    box-shadow: none;
}

.btn--outline { border-color: #D9D2E6; color: var(--ink); background: transparent; }
.btn--outline:hover { background: var(--tint); border-color: var(--line-hover); color: var(--brand-dark); }

.grid--notes { grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); gap: 44px; padding: 64px 0; }
.note-title { font-size: 18px; letter-spacing: -.015em; margin-bottom: 10px; }

/* ---------------------------------------------------------------- docs */

.grid--modules { grid-template-columns: repeat(auto-fit, minmax(min(230px, 100%), 1fr)); }
.card--module { padding: 26px; }
.module-head { display: flex; align-items: center; gap: 10px; }
.module-head .icon { color: var(--brand); }
.module-name { font-weight: 700; font-size: 15px; }
.module-text { font-size: 13px; line-height: 1.6; color: var(--ink-62); margin-top: 8px; }
.step-number--badge { width: 24px; height: 24px; font-size: 12px; margin-bottom: 18px; }
.card-title--md { font-size: 20px; letter-spacing: -.02em; }
.section-head--docs { max-width: 720px; }

/* A module card that is a link keeps the card's own colours rather than turning purple. */
a.card--module { color: inherit; display: block; }
a.card--module:hover { color: inherit; text-decoration: none; }

/* The header is sticky, so an in-page jump would otherwise land with the heading tucked underneath
   it. 92px is the header's tallest state plus a little air. */
[id] { scroll-margin-top: 92px; }
