/* ==========================================================================
   V.I.P. Mortgage, Inc. - Onboarding site
   Hand-written CSS. No build step, no Tailwind, no PostCSS: this file is
   served exactly as it sits on disk, which is the whole point of the stack.

   Contents
     1.  Design tokens
     2.  Reset and base
     3.  Layout primitives (shell, section, columns)
     4.  Typography helpers
     5.  Header and footer
     6.  Hero
     7.  Video facade
     8.  Cards, callouts, notes, buttons
     9.  Setup guide: chooser and accordion
     10. Contacts
     11. What's next
     12. Flash messages and error pages
     13. Health page
     14. Utilities, motion and print
   ========================================================================== */

/* -- 1. Design tokens ---------------------------------------------------- */

:root {
    color-scheme: dark;

    /* Brand palette, straight from the V.I.P. guidelines.
       #13375e  #1b5d93  #009cd0  #9fdbeb  accent #fcaf17  gray #e5e4e4 */
    --navy: #13375e;
    --navy-deep: #0e2a49;
    --navy-panel: #1b5d93;
    --light-blue: #9fdbeb;
    --primary: #009cd0;
    --primary-strong: #33b0da;
    --primary-fg: #ffffff;
    --gold: #fcaf17;
    --gold-fg: #13375e;
    --foreground: #eef4fa;
    --muted-fg: #a9c6de;
    --danger: #ff7a70;
    --success: #5fd39a;

    /* Translucent fills, so panels sit *in* the backdrop rather than on it. */
    --panel: rgb(27 93 147 / 0.55);
    --panel-soft: rgb(27 93 147 / 0.38);
    --panel-deep: rgb(14 42 73 / 0.6);
    --border: rgb(255 255 255 / 0.12);
    --border-strong: rgb(255 255 255 / 0.22);
    --primary-tint: rgb(0 156 208 / 0.12);
    --primary-edge: rgb(0 156 208 / 0.4);
    --gold-tint: rgb(252 175 23 / 0.12);
    --gold-edge: rgb(252 175 23 / 0.32);
    --danger-tint: rgb(255 122 112 / 0.12);

    --radius: 0.75rem;
    --radius-lg: 1rem;
    --radius-xl: 1.35rem;
    --radius-pill: 999px;

    --shell: 64rem;
    --gutter: 1.25rem;

    --font-sans: "Mulish", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
    --font-serif: "Literata", ui-serif, Georgia, "Times New Roman", serif;

    --shadow-lg: 0 25px 50px -12px rgb(14 42 73 / 0.6);
    --shadow-md: 0 10px 25px -10px rgb(14 42 73 / 0.55);
}

/* -- 2. Reset and base --------------------------------------------------- */

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

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

body,
h1, h2, h3, h4, p, ul, ol, dl, dd, figure, blockquote {
    margin: 0;
}

ul, ol {
    padding: 0;
    list-style: none;
}

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

img {
    height: auto;
}

button, input, select, textarea {
    font: inherit;
    color: inherit;
}

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

a:hover {
    text-decoration: underline;
}

strong {
    font-weight: 600;
    color: var(--foreground);
}

body.page {
    position: relative;
    min-height: 100vh;
    margin: 0;
    overflow-x: hidden;
    background-color: var(--navy-deep);
    color: var(--foreground);
    font-family: var(--font-sans);
    font-size: 1rem;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

/* The two soft light pools behind everything, matching the brand backdrop. */
.page__glow {
    position: absolute;
    inset: 0;
    z-index: 0;
    opacity: 0.7;
    pointer-events: none;
    background:
        radial-gradient(1200px 600px at 85% 20%, rgb(0 156 208 / 0.22), transparent 60%),
        radial-gradient(900px 500px at 15% 90%, rgb(252 175 23 / 0.12), transparent 55%);
}

.page__shell {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.main {
    flex: 1 1 auto;
}

/* Keyboard users get a real way past the header. */
.skip-link {
    position: absolute;
    left: -9999px;
    z-index: 10;
    padding: 0.75rem 1.25rem;
    border-radius: 0 0 var(--radius) 0;
    background: var(--primary);
    color: var(--primary-fg);
}

.skip-link:focus {
    left: 0;
    top: 0;
}

:where(a, button, [tabindex]):focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 3px;
    border-radius: 4px;
}

/* -- 3. Layout primitives ------------------------------------------------ */

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

.section {
    margin-top: 3.5rem;
}

.section--top {
    margin-top: 0;
    padding-top: 3rem;
}

.section__video {
    margin-top: 2.5rem;
}

.columns {
    display: grid;
    gap: 3rem;
}

@media (min-width: 48rem) {
    .section {
        margin-top: 5rem;
    }

    .section--top {
        padding-top: 4rem;
    }

    .columns {
        grid-template-columns: 3fr 2fr;
        gap: 2.5rem;
    }

    .columns__side {
        position: sticky;
        top: 1.5rem;
        align-self: start;
    }
}

.columns__side {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

/* -- 4. Typography helpers ----------------------------------------------- */

.section-title {
    font-size: 1.5rem;
    font-weight: 600;
    letter-spacing: -0.01em;
    line-height: 1.25;
}

@media (min-width: 40rem) {
    .section-title {
        font-size: 1.875rem;
    }
}

.section-lead {
    margin-top: 0.5rem;
    color: var(--muted-fg);
    font-size: 0.9375rem;
}

.icon {
    width: 1.25rem;
    height: 1.25rem;
    flex: none;
}

.icon--sm { width: 1rem; height: 1rem; }
.icon--lg { width: 1.75rem; height: 1.75rem; }
.icon--xl { width: 2rem; height: 2rem; }

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

/* -- 5. Header and footer ------------------------------------------------ */

.site-header {
    border-bottom: 1px solid var(--border);
    background: rgb(14 42 73 / 0.4);
    backdrop-filter: blur(6px);
}

.site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding-block: 1.25rem;
}

.site-header__logo img {
    width: auto;
    height: 2.25rem;
}

.site-header__logo:hover {
    text-decoration: none;
}

.site-header__tag {
    display: none;
    color: var(--muted-fg);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

@media (min-width: 40rem) {
    .site-header__tag {
        display: block;
    }
}

.site-footer {
    margin-top: 4rem;
    border-top: 1px solid var(--border);
    background: rgb(14 42 73 / 0.4);
}

.site-footer__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    padding-block: 2rem;
    text-align: center;
}

.site-footer__logo {
    width: auto;
    height: 2.5rem;
}

.site-footer__tagline {
    color: var(--light-blue);
    font-family: var(--font-serif);
    font-size: 0.875rem;
    font-style: italic;
}

.site-footer__legal {
    color: rgb(169 198 222 / 0.7);
    font-size: 0.75rem;
}

/* -- 6. Hero ------------------------------------------------------------- */

.hero {
    max-width: 48rem;
    margin-inline: auto;
    text-align: center;
}

.pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.375rem 1rem;
    border: 1px solid var(--primary-edge);
    border-radius: var(--radius-pill);
    background: var(--primary-tint);
    color: var(--primary);
    font-size: 0.875rem;
    font-weight: 500;
}

.hero__title {
    margin-top: 1.5rem;
    font-size: clamp(2.25rem, 6vw, 3.75rem);
    font-weight: 600;
    line-height: 1.05;
    letter-spacing: -0.02em;
    text-wrap: balance;
}

/* Each half of the headline gets its own line. */
.hero__line {
    display: block;
}

/* The gold underline needs a little more room below the first line so the two
   lines do not collide once the accent is on its own row. */
.hero__line + .hero__line {
    margin-top: 0.15em;
}

.hero__accent {
    position: relative;
    display: inline-block;
    color: var(--light-blue);
    font-family: var(--font-serif);
    font-style: italic;
    white-space: nowrap;
}

.hero__underline {
    position: absolute;
    left: 0;
    bottom: -0.25rem;
    width: 100%;
    height: 0.25rem;
    border-radius: var(--radius-pill);
    background: var(--gold);
}

.hero__lead {
    max-width: 36rem;
    margin: 1.25rem auto 0;
    color: var(--muted-fg);
    font-size: 1rem;
    line-height: 1.7;
    text-wrap: pretty;
}

@media (min-width: 40rem) {
    .hero__lead {
        font-size: 1.125rem;
    }
}

.hero__tagline {
    margin-top: 1.5rem;
    color: var(--light-blue);
    font-family: var(--font-serif);
    font-size: 0.875rem;
    font-style: italic;
}

@media (min-width: 40rem) {
    .hero__tagline {
        font-size: 1rem;
    }
}

/* -- 7. Video facade ----------------------------------------------------- */

.video {
    position: relative;
    aspect-ratio: 16 / 9;
    width: 100%;
    overflow: hidden;
    border: 1px solid var(--border-strong);
    border-radius: var(--radius-xl);
    background: var(--panel-deep);
    box-shadow: var(--shadow-lg);
}

.video__poster {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.video__thumb {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video__scrim {
    position: absolute;
    inset: 0;
    background: rgb(14 42 73 / 0.4);
    transition: background 0.2s ease;
}

.video__poster:hover .video__scrim {
    background: rgb(14 42 73 / 0.25);
}

.video__button {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 5rem;
    height: 5rem;
    border-radius: 50%;
    background: var(--primary);
    color: var(--primary-fg);
    box-shadow: var(--shadow-md);
    transition: transform 0.2s ease;
}

.video__poster:hover .video__button {
    transform: scale(1.1);
}

.video__play {
    margin-left: 0.25rem;
    fill: currentColor;
}

.video iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* -- 8. Cards, callouts, notes, buttons ---------------------------------- */

.card {
    padding: 1.5rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    background: var(--panel-soft);
}

.bullets {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    margin-top: 1.5rem;
}

.bullets__item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.bullets__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: none;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
}

.bullets__icon--primary {
    background: var(--primary-tint);
    color: var(--primary);
}

.bullets__icon--gold {
    background: var(--gold-tint);
    color: var(--gold);
}

.bullets__text {
    color: var(--muted-fg);
    font-size: 0.875rem;
    line-height: 1.7;
}

.callout {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
    margin-top: 1.25rem;
    padding: 1rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
}

.callout--gold {
    border-color: var(--gold-edge);
    background: var(--gold-tint);
}

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

.callout--primary {
    display: block;
    border-color: var(--primary-edge);
    background: var(--primary-tint);
}

.callout__icon {
    display: flex;
    flex: none;
    padding-top: 0.15rem;
}

.callout__title {
    font-size: 1.125rem;
    font-weight: 600;
}

.callout__body {
    font-size: 0.875rem;
    line-height: 1.7;
}

.callout--primary .callout__body {
    margin-top: 0.25rem;
    color: var(--muted-fg);
}

.note {
    display: flex;
    gap: 0.625rem;
    align-items: flex-start;
    margin-top: 0.75rem;
    padding: 0.75rem;
    border-radius: var(--radius);
    font-size: 0.875rem;
    line-height: 1.6;
}

.note--tip {
    background: var(--primary-tint);
}

.note--tip .note__icon {
    color: var(--gold);
}

.note--warning {
    background: var(--danger-tint);
}

.note--warning .note__icon {
    color: var(--danger);
}

.note__icon {
    margin-top: 0.2rem;
}

.button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border: 1px solid transparent;
    border-radius: var(--radius-pill);
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.15s ease, border-color 0.15s ease;
}

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

.button--primary {
    background: var(--primary);
    color: var(--primary-fg);
}

.button--primary:hover {
    background: var(--primary-strong);
}

.button--ghost {
    border-color: var(--border-strong);
    background: transparent;
    color: var(--foreground);
}

.button--ghost:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.link-button {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0;
    border: 0;
    background: none;
    color: var(--primary);
    font-size: 0.875rem;
    cursor: pointer;
}

.link-button:hover {
    text-decoration: underline;
    text-underline-offset: 4px;
}

/* -- 9. Setup guide ------------------------------------------------------ */

.chooser {
    display: grid;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

@media (min-width: 40rem) {
    .chooser {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.chooser__option {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 1.25rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: var(--panel-soft);
    text-align: left;
    cursor: pointer;
    transition: border-color 0.15s ease, background-color 0.15s ease;
}

.chooser__option:hover {
    border-color: var(--primary);
    background: var(--primary-tint);
}

.chooser__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 50%;
    background: var(--gold-tint);
    color: var(--gold);
    transition: background-color 0.15s ease, color 0.15s ease;
}

.chooser__option:hover .chooser__icon {
    background: var(--primary);
    color: var(--primary-fg);
}

.chooser__label {
    display: block;
    font-size: 1rem;
    font-weight: 600;
}

.chooser__tagline {
    display: block;
    margin-top: 0.125rem;
    color: var(--muted-fg);
    font-size: 0.875rem;
}

.setup__chosen {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.25rem 0.75rem;
    margin-top: 0.75rem;
    font-size: 0.875rem;
    color: var(--muted-fg);
}

.setup__chosen-value {
    font-weight: 600;
    color: var(--foreground);
}

.setup__change {
    display: inline;
    margin: 0;
}

/* Self-hosted walkthrough videos. The recordings are portrait (540x720), so
   the player is capped and centred instead of stretched across the column -
   a full-width 3:4 video would push everything below it off the screen. */
.localvideo {
    margin: 0.75rem 0 0;
}

.localvideo__player {
    display: block;
    width: 100%;
    /* The width/height attributes on <video> are presentational hints, and a
       non-auto height makes the browser ignore aspect-ratio entirely - which
       renders the poster in a 720px-tall letterbox. height:auto hands control
       back to aspect-ratio. */
    height: auto;
    max-width: 20rem;
    margin-inline: auto;
    aspect-ratio: 3 / 4;
    object-fit: contain;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: var(--navy-deep);
}

.localvideo__fallback {
    padding: 1rem;
    color: var(--muted-fg);
    font-size: 0.875rem;
}

.localvideo__caption {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 0.625rem;
    text-align: left;
}

.localvideo__caption-icon {
    margin-top: 0.2rem;
    color: var(--gold);
}

.localvideo__caption-title {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
}

.localvideo__caption-meta {
    display: block;
    color: var(--muted-fg);
    font-size: 0.75rem;
}

.setup__watch-heading {
    margin-top: 1.25rem;
    font-size: 0.875rem;
    font-weight: 600;
}

.setup__video {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    aspect-ratio: 16 / 9;
    margin-top: 0.75rem;
    padding: 1rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: var(--panel-deep);
    text-align: center;
}

.setup__video-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    background: rgb(0 156 208 / 0.2);
    color: var(--primary);
}

.setup__video-note {
    max-width: 20rem;
    color: var(--muted-fg);
    font-size: 0.75rem;
    text-wrap: pretty;
}

.steps {
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
    margin-top: 1.25rem;
    counter-reset: none;
}

.step {
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: var(--panel-soft);
    transition: border-color 0.15s ease, background-color 0.15s ease;
}

.step.is-open {
    border-color: var(--primary-edge);
    background: var(--panel);
}

.step__heading {
    margin: 0;
    font-size: inherit;
    font-weight: inherit;
}

.step__toggle {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    width: 100%;
    padding: 1rem;
    border: 0;
    background: none;
    text-align: left;
    cursor: pointer;
}

.step__num {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: none;
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    background: var(--primary);
    color: var(--primary-fg);
    font-size: 0.875rem;
    font-weight: 700;
}

.step__title {
    flex: 1 1 auto;
    min-width: 0;
    font-weight: 600;
}

.step__chevron {
    flex: none;
    color: var(--muted-fg);
    transition: transform 0.2s ease;
}

.step.is-open .step__chevron {
    transform: rotate(180deg);
}

.step__panel {
    padding: 0 1rem 1rem 3.75rem;
}

/* Without JavaScript every panel simply stays open - the guide is still
   completely usable, just longer. The script collapses all but the first. */
.js .step:not(.is-open) .step__panel {
    display: none;
}

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

.step__intro {
    color: var(--muted-fg);
    font-size: 0.875rem;
    line-height: 1.7;
}

.step__list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.step__list li {
    position: relative;
    padding-left: 1.125rem;
    font-size: 0.875rem;
    line-height: 1.7;
    color: rgb(238 244 250 / 0.9);
}

.step__list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.7em;
    width: 0.375rem;
    height: 0.375rem;
    border-radius: 50%;
    background: var(--primary);
}

.setup__done {
    margin-top: 1.25rem;
}

/* -- 10. Contacts -------------------------------------------------------- */

.contacts__list {
    display: grid;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

@media (min-width: 40rem) and (max-width: 47.99rem) {
    .contacts__list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.contacts__card {
    padding: 1rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: var(--panel-soft);
}

.contacts__role {
    display: block;
    color: var(--muted-fg);
    font-size: 0.875rem;
}

.contacts__name {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
}

.contacts__methods {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.contact-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding-block: 0.25rem;
    color: inherit;
}

.contact-link:hover {
    text-decoration: none;
}

.contact-link__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: none;
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    background: var(--gold-tint);
    color: var(--gold);
}

.contact-link__body {
    min-width: 0;
}

.contact-link__label {
    display: block;
    color: var(--muted-fg);
    font-size: 0.75rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.contact-link__value {
    display: block;
    font-weight: 600;
    overflow-wrap: anywhere;
}

.contact-link:hover .contact-link__value {
    color: var(--primary);
}

/* -- 11. What's next ----------------------------------------------------- */

.next__inner {
    padding: 1.5rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    background: var(--panel-soft);
    text-align: center;
}

@media (min-width: 40rem) {
    .next__inner {
        padding: 2.5rem;
    }
}

.next__badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 50%;
    background: var(--gold-tint);
    color: var(--gold);
}

.next__title {
    margin-top: 1.25rem;
}

.next__body {
    max-width: 42rem;
    margin: 1rem auto 0;
    color: var(--muted-fg);
    line-height: 1.7;
    text-wrap: pretty;
}

.next .button {
    margin-top: 1.5rem;
}

/* -- 12. Flash messages and error pages ---------------------------------- */

.flashes {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding-top: 1.5rem;
}

.flash {
    padding: 0.75rem 1rem;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-size: 0.9375rem;
}

.flash--error {
    border-color: rgb(255 122 112 / 0.4);
    background: var(--danger-tint);
}

.flash--success {
    border-color: rgb(95 211 154 / 0.4);
    background: rgb(95 211 154 / 0.12);
}

.errorpage {
    max-width: 36rem;
    margin-inline: auto;
    padding: 2.5rem 1.5rem;
    text-align: center;
}

.errorpage__code {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border: 1px solid var(--gold-edge);
    border-radius: var(--radius-pill);
    background: var(--gold-tint);
    color: var(--gold);
    font-size: 0.875rem;
    font-weight: 700;
    letter-spacing: 0.1em;
}

.errorpage__title {
    margin-top: 1.25rem;
    font-size: clamp(1.75rem, 5vw, 2.5rem);
    font-weight: 600;
    line-height: 1.15;
    letter-spacing: -0.02em;
}

.errorpage__body {
    margin-top: 1rem;
    color: var(--muted-fg);
    line-height: 1.7;
    text-wrap: pretty;
}

.errorpage__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 2rem;
}

/* -- 13. Health page ----------------------------------------------------- */

.health__title {
    font-size: clamp(1.75rem, 4vw, 2.25rem);
    font-weight: 600;
    letter-spacing: -0.02em;
}

.health {
    display: grid;
    gap: 1rem;
    margin-top: 2rem;
}

@media (min-width: 48rem) {
    .health {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .health__group--wide {
        grid-column: 1 / -1;
    }
}

.health__group {
    padding: 1.25rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: var(--panel-soft);
}

.health__group-title {
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: var(--light-blue);
}

.health__list {
    display: grid;
    grid-template-columns: minmax(8rem, auto) 1fr;
    gap: 0.5rem 1rem;
    margin-top: 1rem;
    font-size: 0.875rem;
}

.health__list dt {
    color: var(--muted-fg);
}

.health__list dd {
    margin: 0;
    overflow-wrap: anywhere;
}

.health__list--paths {
    grid-template-columns: minmax(12rem, auto) 1fr;
}

.health__mono {
    font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
    font-size: 0.8125rem;
}

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

.health__footnote {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1.5rem;
}

.tag {
    display: inline-block;
    padding: 0.05rem 0.5rem;
    border-radius: var(--radius-pill);
    font-size: 0.75rem;
    font-weight: 600;
}

.tag--ok {
    background: rgb(95 211 154 / 0.16);
    color: var(--success);
}

.tag--warn {
    background: var(--gold-tint);
    color: var(--gold);
}

.tag--bad {
    background: var(--danger-tint);
    color: var(--danger);
}

/* -- 14. Utilities, motion and print ------------------------------------- */

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

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

/* New hires do print this page and carry it to the desk they are unboxing. */
@media print {
    /* Re-point the tokens rather than overriding every rule that uses them. */
    :root {
        --foreground: #000000;
        --muted-fg: #333333;
        --light-blue: #13375e;
        --primary: #13375e;
        --gold: #8a5c00;
        --panel: transparent;
        --panel-soft: transparent;
        --panel-deep: transparent;
        --primary-tint: transparent;
        --gold-tint: transparent;
        --danger-tint: transparent;
        --border: #999999;
        --border-strong: #999999;
    }

    .page__glow,
    .site-header__tag,
    .video,
    .setup__video,
    .localvideo,
    .setup__change,
    .chooser,
    .skip-link {
        display: none !important;
    }

    body.page {
        background: #ffffff;
        color: #000000;
    }

    .card,
    .step,
    .contacts__card,
    .next__inner,
    .callout {
        border-color: #999999;
        background: #ffffff;
    }

    .js .step:not(.is-open) .step__panel {
        display: block;
    }

    .columns {
        display: block;
    }

    a[href^="http"]::after {
        content: " (" attr(href) ")";
        font-size: 0.75em;
    }
}
