/* Dictum site — theme family descends from the original My Radiology Report site
   (Source Sans Pro body + Montserrat display, 1rem-radius cards) with a 2026 trust
   pass: clinical blue #0a5ac2 primary, navy hero, dark navy #010326 secondary. */

@import url("https://fonts.googleapis.com/css?family=Source+Sans+Pro:300,400,600,700&display=swap");
@import url("https://fonts.googleapis.com/css?family=Montserrat:400,600,700,800&display=swap");

:root {
    /* clinical blue family: deeper and less saturated than the old Bootstrap
       default (#007bff), which read as template rather than product */
    --primary: #0a5ac2;
    --primary-hi: #1e6fd9;
    --primary-lo: #08489c;
    --secondary: #010326;
    --secondary-hi: #252746;
    --body-bg: #eff3f9;
    --card-bg: #ffffff;
    --well-bg: #edf2f7;
    --text: #718096;
    --heading: #2d3748;
    --light: #e2e8f0;
    --field-red: #b22222;
    /* firebrick — the app's actual field color */
    --radius: 1rem;
    --font-body: "Source Sans Pro", -apple-system, "Segoe UI", sans-serif;
    --font-display: "Montserrat", var(--font-body);
    --font-mono: Consolas, "SFMono-Regular", Menlo, monospace;
}

* { box-sizing: border-box; }

/* 17px root: every rem-based size on the page (copy, cards, demos) scales up ~6% */
html { scroll-behavior: smooth; font-size: 106.25%; }

body {
    margin: 0;
    font-family: var(--font-body);
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--text);
    background-color: var(--body-bg);
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
    font-family: var(--font-display);
    color: var(--heading);
    line-height: 1.15;
    margin: 0 0 .75rem;
}

.container {
    max-width: 1080px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

section { padding: 4.5rem 0; }

/* ------------------------------ Buttons ------------------------------ */
.btn {
    display: inline-block;
    font-family: var(--font-display);
    font-weight: 700;
    text-decoration: none;
    border-radius: .5rem;
    padding: .8rem 1.6rem;
    transition: transform .12s ease, box-shadow .12s ease, background-color .12s ease;
}

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

.btn-primary {
    color: #fff;
    background: linear-gradient(180deg, var(--primary-hi), var(--primary));
    box-shadow: 0 6px 18px rgba(10, 90, 194, .35);
}

.btn-primary:hover { background: linear-gradient(180deg, var(--primary-hi), var(--primary-lo)); }

.btn-xl { font-size: 1.25rem; padding: 1rem 2.4rem; }

.btn-light-solid {
    color: var(--primary);
    background: #fff;
    box-shadow: 0 6px 18px rgba(1, 3, 38, .25);
}

.btn-ghost {
    color: #fff;
    border: 2px solid rgba(255, 255, 255, .65);
}

.btn-ghost:hover { border-color: #fff; background: rgba(255, 255, 255, .08); }

/* ------------------------------ Hero ------------------------------ */
.bg-gradient-primary {
    /* navy hero: institutional and calm; ties the hero to the site's own
       navy (--secondary) instead of a bright consumer gradient */
    background: linear-gradient(180deg, #1b3a6b, #0e2247) repeat-x;
    color: #fff;
}

#hero { padding-bottom: 4.5rem; }

.hero-nav {
    max-width: 1080px;
    margin: 0 auto;
    padding: 1.25rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand {
    display: flex;
    align-items: center;
    gap: .6rem;
    color: #fff;
    text-decoration: none;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.05rem;
}

.brand img { filter: brightness(0) invert(1); }

.nav-download {
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    border-bottom: 2px solid rgba(255, 255, 255, .5);
    padding-bottom: 2px;
}

.nav-download:hover { border-color: #fff; }

.hero-nav-right {
    display: flex;
    align-items: center;
    gap: 1.6rem;
}

/* Gold certification stamp, top-right of the hero */
.hipaa-seal {
    width: 112px;
    height: 112px;
    flex: none;
    margin: -6px 0 -40px;   /* hangs below the nav line */
    /* upright and quiet: a straight badge reads as a credential,
       a tilted one reads as a marketing sticker */
    filter: drop-shadow(0 3px 8px rgba(1, 3, 38, .25));
}

.hipaa-seal svg { width: 100%; height: 100%; display: block; }

.hipaa-seal text {
    fill: #5c430c;
    font-family: var(--font-display);
    font-weight: 700;
}

.hipaa-seal .seal-ring { font-size: 7px; letter-spacing: .12em; }

.hipaa-seal .seal-hipaa { font-size: 16px; letter-spacing: .06em; }

.hipaa-seal .seal-sub { font-size: 7.5px; letter-spacing: .22em; }

@media (max-width: 860px) {
    .hero-nav { flex-wrap: wrap; row-gap: .9rem; }

    .hipaa-seal { width: 100px; height: 100px; margin: -4px 0 -30px; }
}

/* Desktop-first hero: copy left, live demo right (windows stacked, sync flows down) */
.hero-inner {
    max-width: 1240px;
    margin: 0 auto;
    padding: 2.5rem 1.5rem 0;
    display: grid;
    grid-template-columns: 5fr 6fr;
    gap: 3.5rem;
    /* top-align: the demo keeps its natural height (stretching it left the report
       body looking empty); the copy column is tightened to land at about the same
       height */
    align-items: start;
}

.hero-demo .voice-bubble { margin-bottom: .8rem; font-size: .88rem; min-height: 2.1rem; }

.hero-demo .voice-bubble kbd { background: #fff; color: var(--secondary); border: none; }

.hero-demo .demo-caption { color: rgba(255, 255, 255, .85); margin-top: .9rem; font-size: .76rem; }

/* --- hero stage: one PowerScribe window + the floating Dictum companion panel --- */
.ps-stage { position: relative; padding: 0 1rem 2.4rem 0; }

.ps-stage .ps1-window { box-shadow: 0 24px 60px rgba(1, 3, 38, .35); }

.ps-stage .ps1-report-body { min-height: 17.5rem; font-size: .8rem; line-height: 1.55; }

.ps-stage .ps1-report-body p { margin: 0 0 .5rem; }

.dictum-panel {
    position: absolute;
    right: -6px;
    bottom: 0;
    width: 236px;
    background: #f3edde;
    /* the app's actual warm theme */
    border-radius: .6rem;
    overflow: hidden;
    box-shadow: 0 18px 44px rgba(1, 3, 38, .45);
    font-size: .72rem;
    color: #5a4a3a;
}

.dp-titlebar {
    display: flex;
    align-items: center;
    gap: .4rem;
    padding: .4rem .6rem;
    background: #e8e1d1;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: .74rem;
}

.dp-chip {
    margin-left: auto;
    background: #d3c8b0;
    color: #5a4a3a;
    border-radius: 999px;
    padding: .08rem .5rem;
    font-weight: 600;
    font-size: .62rem;
    white-space: nowrap;
}

.dp-chip.rec {
    background: #c0392b;
    color: #fff;
    animation: mic-pulse 1.6s ease-in-out infinite;
}

.dp-chip.ai { background: #8a6d1a; color: #fff; }

.dp-body { padding: .55rem .65rem .6rem; }

.dp-btnrow { display: flex; align-items: center; gap: .45rem; margin-bottom: .5rem; }

.dp-btn {
    width: 32px;
    height: 27px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border: 1px solid #d3c8b0;
    border-radius: .35rem;
    font-size: .85rem;
}

.dp-btn.rec { background: #c0392b; border-color: #c0392b; }

.dp-keys { margin-left: auto; color: #8a7a64; }

.dp-keys kbd { font-size: .62rem; padding: 0 .3rem; background: #fff; border-color: #d3c8b0; }

.dp-check { line-height: 1.7; white-space: nowrap; }

.dp-status {
    margin-top: .45rem;
    padding-top: .4rem;
    border-top: 1px dashed #d3c8b0;
    color: #2e7d32;
    font-weight: 600;
    font-size: .66rem;
}

/* --- autocomplete popup at the caret, inside the PowerScribe mock --- */
.ac-anchor { position: relative; display: inline-block; width: 0; height: 0; }

.ac-pop {
    position: absolute;
    left: -2px;
    top: .45rem;
    z-index: 5;
    display: block;
    width: max-content;
    background: #fff;
    border: 1px solid #b9bfc9;
    border-radius: .35rem;
    box-shadow: 0 10px 26px rgba(1, 3, 38, .28);
    padding: .15rem 0;
    font-family: var(--font-body);
    font-size: .72rem;
    line-height: 1.55;
}

.ac-item { display: block; padding: .05rem .6rem; color: #333; }

.ac-item b { font-weight: 700; color: var(--heading); }

.ac-item.ac-sel { background: var(--primary); color: #fff; }

.ac-item.ac-sel b { color: #fff; }

.ac-hint {
    display: block;
    margin-top: .15rem;
    padding: .15rem .6rem 0;
    border-top: 1px solid #eee;
    color: #999;
    font-size: .6rem;
}

@media (max-width: 1000px) {
    .hero-inner { grid-template-columns: 1fr; gap: 2rem; }

    .ps-stage { max-width: 34rem; margin: 0 auto; }
}

@media (max-width: 560px) {
    .ps-stage { padding: 0 0 .5rem; }

    .dictum-panel { position: static; margin: .7rem auto 0; }
}

.kicker {
    text-transform: uppercase;
    letter-spacing: .14em;
    font-size: .8rem;
    font-weight: 700;
    color: rgba(255, 255, 255, .85);
    margin: 0 0 1rem;
}

.hero-copy h1 {
    color: #fff;
    font-size: clamp(2.2rem, 4.2vw, 3.1rem);
    font-weight: 800;
    letter-spacing: -.01em;
}

.hero-copy h1 em {
    font-style: normal;
    background: linear-gradient(180deg, #fff, #cfe7ff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.lede {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, .92);
    max-width: 34rem;
}

/* The three hero selling points: icon + text on one line per bullet */
.hero-points {
    list-style: none;
    margin: 1.1rem 0 0;
    padding: 0;
    max-width: 34rem;
    display: flex;
    flex-direction: column;
    gap: .55rem;
}

.hero-points li {
    display: flex;
    gap: .8rem;
    align-items: flex-start;
    background: rgba(255, 255, 255, .13);
    border: 1px solid rgba(255, 255, 255, .3);
    border-radius: .8rem;
    padding: .65rem 1rem;
    font-size: .92rem;
    color: rgba(255, 255, 255, .92);
}

.hero-points p { margin: 0; }

.hero-points .hp-icon { flex: none; color: #fff; margin-top: .1rem; }
.hero-points .hp-icon svg { width: 20px; height: 20px; display: block; }

.hero-points strong { color: #fff; font-family: var(--font-display); }

.hero-points kbd {
    background: #fff;
    color: var(--primary-lo);
    border: none;
    font-weight: 700;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    margin: 1.4rem 0 .6rem;
    flex-wrap: wrap;
}

.hero-fineprint { font-size: .85rem; color: rgba(255, 255, 255, .75); }

/* --- editor mock: the app's bracketed-field report, in CSS --- */
.editor-mock {
    background: #f3edde;
    /* the app's actual warm editor color */
    border-radius: var(--radius);
    box-shadow: 0 24px 60px rgba(1, 3, 38, .35);
    overflow: hidden;
    transform: rotate(1.2deg);
}

.editor-titlebar {
    display: flex;
    align-items: center;
    gap: .45rem;
    background: #e8e1d1;
    padding: .6rem .9rem;
    font-family: var(--font-body);
    font-size: .78rem;
    color: #5a4a3a;
}

.editor-titlebar .dot {
    width: 11px;
    height: 11px;
    border-radius: 50%;
    background: #d3c8b0;
}

.editor-title { margin-left: .35rem; font-weight: 600; }

.mic-chip {
    margin-left: auto;
    background: #c0392b;
    color: #fff;
    border-radius: 999px;
    padding: .15rem .6rem;
    font-weight: 700;
    font-size: .72rem;
    animation: mic-pulse 1.6s ease-in-out infinite;
}

@keyframes mic-pulse {
    50% { opacity: .55; }
}

.editor-body {
    padding: 1.1rem 1.3rem 1.3rem;
    font-family: var(--font-mono);
    font-size: .88rem;
    line-height: 1.75;
    color: #2b2b2b;
}

.editor-body p { margin: 0 0 .3rem; }

.field { color: var(--field-red); font-weight: 600; }

.field.filled { color: #1a1a1a; }

.field.filled::before,
.field.filled::after { color: var(--field-red); }

.field.filled::before { content: "["; }

.field.filled::after { content: "]"; }

.editor-cue {
    margin-top: .9rem;
    padding-top: .7rem;
    border-top: 1px dashed #d3c8b0;
    font-family: var(--font-body);
    font-size: .82rem;
    color: #8a7a64;
}

.editor-cue .say { font-weight: 700; color: #5a4a3a; }

/* ------------------------------ Sections ------------------------------ */
.section-kicker {
    text-transform: uppercase;
    letter-spacing: .14em;
    font-size: .8rem;
    font-weight: 700;
    color: var(--primary);
    text-align: center;
    margin: 0 0 .5rem;
}

.section-title {
    text-align: center;
    font-size: clamp(1.7rem, 3.5vw, 2.3rem);
    font-weight: 800;
    margin-bottom: 3rem;
}

.card-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.pain-card {
    background: var(--card-bg);
    border-radius: var(--radius);
    padding: 1.8rem 1.6rem;
    box-shadow: 0 10px 30px rgba(45, 55, 72, .08);
    border-top: 4px solid var(--primary);
}

.pain-quote {
    font-style: italic;
    color: var(--heading);
    font-size: 1.02rem;
    margin: 0 0 1rem;
    min-height: 3.2em;
}

.pain-card h3 { font-size: 1.15rem; font-weight: 700; }

.pain-card p:last-child { margin-bottom: 0; font-size: .97rem; }

.secondary-row { margin-top: 1.5rem; }

.mini-card {
    background: var(--well-bg);
    border-radius: var(--radius);
    padding: 1.3rem 1.4rem;
}

.mini-card h4 { font-size: 1rem; font-weight: 700; margin-bottom: .4rem; }

.mini-card p { margin: 0; font-size: .92rem; }

/* ------------------------------ Live-sync demo ------------------------------ */
.bg-white-section { background: #fff; }

.demo-lede {
    text-align: center;
    max-width: 44rem;
    margin: -1.5rem auto 2rem;
}

.voice-bubble {
    max-width: 40rem;
    margin: 0 auto 1.4rem;
    background: var(--secondary);
    color: #fff;
    border-radius: 999px;
    padding: .5rem 1.2rem;
    font-size: .95rem;
    text-align: center;
    min-height: 2.4rem;
}

.voice-mic { margin-right: .4rem; }

.demo-grid {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 1.2rem;
    align-items: stretch;
}

.demo-pane {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 14px 36px rgba(45, 55, 72, .14);
    display: flex;
    flex-direction: column;
}

/* --- miniature PowerScribe One window --- */
.ps1-window {
    background: #fff;
    border: 1px solid #b9bfc9;
    font-family: "Segoe UI", -apple-system, Arial, sans-serif;
}

.ps1-titlebar {
    display: flex;
    align-items: center;
    gap: .45rem;
    padding: .4rem .7rem;
    font-size: .78rem;
    color: #1a1a1a;
    background: #fff;
    border-bottom: 1px solid #e3e6eb;
}

.ps1-logo {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 35%, #2fa3e0, #0f5f96);
}

.ps1-winbtns { margin-left: auto; display: flex; gap: .85rem; color: #555; font-size: .7rem; }

.ps1-menubar {
    padding: .28rem .7rem;
    font-size: .72rem;
    color: #333;
    border-bottom: 1px solid #e3e6eb;
}

.ps1-toolbar {
    display: flex;
    align-items: center;
    gap: .55rem;
    padding: .3rem .7rem;
    font-size: .7rem;
    color: #444;
    background: #f8f9fb;
    border-bottom: 1px solid #e3e6eb;
    white-space: nowrap;
    overflow: hidden;
}

.ps1-sep { width: 1px; height: 14px; background: #d5d9e0; }

.ps1-clock { margin-left: auto; color: #888; }

.ps1-main { display: flex; flex: 1; min-height: 0; }

.ps1-sidebar {
    width: 118px;
    flex: none;
    border-right: 1px solid #e3e6eb;
    background: #fafbfc;
    overflow: hidden;
}

.ps1-sidebar-head {
    font-size: .74rem;
    font-weight: 700;
    color: #1a1a1a;
    padding: .35rem .55rem;
    background: #eef1f5;
    border-bottom: 1px solid #e3e6eb;
}

.ps1-fieldlist {
    font-size: .62rem;
    line-height: 1.75;
    color: #555;
    padding: .35rem .55rem;
    white-space: nowrap;
}

.ps1-report { flex: 1; display: flex; flex-direction: column; min-width: 0; }

.ps1-report-head {
    background: #5a5a5a;
    color: #fff;
    font-size: .74rem;
    font-weight: 700;
    padding: .3rem .7rem;
}

.ps1-report-body {
    padding: .8rem .9rem;
    font-size: .84rem;
    line-height: 1.5;
    min-height: 12.5rem;
    flex: 1;
    color: #2b2b2b;
}

.ps1-report-body p { margin: 0 0 .65rem; }

.ps1-statusbar {
    font-size: .66rem;
    color: #666;
    padding: .25rem .7rem;
    background: #f1f3f6;
    border-top: 1px solid #e3e6eb;
}

/* --- shared demo report content: blue labels, firebrick fields --- */
.d-lbl, .d-plbl { color: #2e75b6; }

.d-plbl { color: #1a1a1a; font-weight: 600; }

.d-heading { text-transform: uppercase; }

.d-fld { color: var(--field-red); }

.d-val { color: #1a1a1a; }

.d-br { color: var(--field-red); font-weight: 600; }

.d-sel { background: #bcd6f7; border-radius: 2px; }

.plugin-pane { background: #f3edde; }

.demo-body {
    font-family: var(--font-mono);
    font-size: .9rem;
    line-height: 1.7;
    color: #2b2b2b;
    padding: 1rem 1.2rem;
    min-height: 9.5rem;
    flex: 1;
}

.demo-body.warm { background: #f3edde; }

.demo-body p { margin: 0 0 .65rem; }

.caret {
    display: inline-block;
    width: 2px;
    height: 1.05em;
    background: #2b2b2b;
    vertical-align: text-bottom;
    animation: caret-blink 1.1s steps(1) infinite;
}

@keyframes caret-blink { 50% { opacity: 0; } }

.demo-label {
    font-size: .8rem;
    padding: .6rem 1.2rem .8rem;
    color: var(--text);
    border-top: 1px dashed var(--light);
}

.plugin-pane .demo-label { border-top-color: #d3c8b0; color: #8a7a64; }

.sync-badge {
    align-self: center;
    text-align: center;
    color: var(--primary);
}

.sync-arrows { font-size: 2rem; line-height: 1; display: block; animation: sync-pulse 1.5s ease-in-out infinite; }

@keyframes sync-pulse { 50% { opacity: .45; } }

.sync-text {
    font-size: .7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.demo-caption {
    text-align: center;
    font-size: .82rem;
    margin-top: 1.6rem;
    color: var(--text);
}

.research-note {
    text-align: center;
    max-width: 44rem;
    margin: 2.4rem auto 0;
    font-size: .92rem;
}

.research-note a { color: var(--primary); font-weight: 600; }

/* ------------------------------ Trust strip ------------------------------ */
.bg-gradient-dark {
    background: linear-gradient(180deg, var(--secondary-hi), var(--secondary)) repeat-x;
    color: rgba(255, 255, 255, .85);
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
}

.trust-item p { margin: 0; font-size: .98rem; }

.trust-item strong { color: #fff; }

.trust-num {
    font-family: var(--font-display);
    font-size: 3.2rem;
    font-weight: 800;
    line-height: 1;
    color: var(--primary-hi);
    margin-bottom: .5rem;
}

/* ------------------------------ Download ------------------------------ */
.download-card {
    background: var(--card-bg);
    border-radius: var(--radius);
    box-shadow: 0 16px 44px rgba(45, 55, 72, .12);
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 2rem;
    padding: 2.6rem;
    align-items: center;
}

.download-copy h2 { font-size: 1.9rem; font-weight: 800; }

.dl-meta { color: var(--heading); font-weight: 600; margin: 0 0 1.4rem; }

.dl-hash {
    margin: 1rem 0 0;
    font-size: .78rem;
    word-break: break-all;
}

.dl-hash code { font-family: var(--font-mono); color: var(--heading); }

.dl-note {
    font-size: .88rem;
    background: var(--well-bg);
    border-radius: .6rem;
    padding: .8rem 1rem;
    margin-top: 1.2rem;
}

/* security spec (IT-reviewable) */
.spec-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.4rem;
    margin-top: 2rem;
}
.spec-item {
    background: var(--card-bg);
    border: 1px solid var(--light);
    border-radius: var(--radius);
    padding: 1.5rem 1.7rem;
}
.spec-item h4 { margin-bottom: .4rem; }
.spec-item p { margin: 0; font-size: .95rem; }
.spec-item code { font-family: var(--font-mono); font-size: .85em; color: var(--heading); }
@media (max-width: 860px) {
    .spec-grid { grid-template-columns: 1fr; }
}

.author-link { color: rgba(255, 255, 255, .95); font-weight: 600; }

/* PS360 end-of-life strip */
.eol-strip {
    background: var(--secondary);
    color: #c9d2e8;
    padding: 1.6rem 0;
}
.eol-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: center;
}
.eol-strip p { margin: 0; font-size: .98rem; line-height: 1.5; }
.eol-strip strong { color: #fff; }
.eol-strip a { color: #7fb2f5; font-weight: 700; text-decoration: none; white-space: nowrap; }
.eol-strip a:hover { text-decoration: underline; }
@media (max-width: 860px) {
    .eol-inner { grid-template-columns: 1fr; gap: .9rem; }
}

/* pilot-updates email capture */
.subscribe { margin-top: 1.4rem; padding-top: 1.2rem; border-top: 1px solid var(--light); }
.subscribe-label { display: block; font-weight: 700; color: var(--heading); margin-bottom: .5rem; }
.subscribe-row { display: flex; gap: .6rem; flex-wrap: wrap; }
.subscribe-row input[type="email"] {
    flex: 1 1 220px;
    padding: .65rem .9rem;
    border: 1px solid var(--light);
    border-radius: .6rem;
    font: inherit;
    min-width: 0;
}
.subscribe-row input[type="email"]:focus { outline: 2px solid var(--primary); border-color: var(--primary); }
.subscribe-btn { padding: .65rem 1.3rem; white-space: nowrap; }
.subscribe-hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.subscribe-note { font-size: .8rem; color: var(--text); margin: .6rem 0 0; }
.subscribe-done { font-weight: 600; color: var(--heading); margin: 0; }

.install-steps {
    margin: 0;
    padding-left: 1.4rem;
    display: grid;
    gap: 1rem;
    font-size: 1rem;
}

.install-steps li::marker {
    font-family: var(--font-display);
    font-weight: 800;
    color: var(--primary);
}

.install-steps strong { color: var(--heading); }

.install-steps code, kbd {
    font-family: var(--font-mono);
    background: var(--well-bg);
    border-radius: .3rem;
    padding: .05rem .35rem;
    font-size: .9em;
    color: var(--heading);
}

kbd { border: 1px solid var(--light); border-bottom-width: 2px; }

/* ------------------------------ Footer ------------------------------ */
footer {
    background: var(--secondary);
    color: rgba(255, 255, 255, .55);
    padding: 2.2rem 0;
    font-size: .85rem;
}

.footer-inner p {
    margin: 0 0 .5rem;
    display: flex;
    align-items: center;
    gap: .5rem;
}

.footer-inner img { filter: brightness(0) invert(.7); }

.footer-small { display: block; font-size: .78rem; line-height: 1.5; }

footer a { color: rgba(255, 255, 255, .8); }
footer a:hover { color: #fff; }

/* ------------------------------ Responsive ------------------------------ */
@media (max-width: 900px) {
    .demo-grid { grid-template-columns: 1fr; }

    .sync-badge { transform: rotate(90deg); padding: .2rem 0; }

    .editor-mock { transform: none; max-width: 34rem; }

    .card-row, .trust-grid { grid-template-columns: 1fr; }

    .download-card { grid-template-columns: 1fr; padding: 1.8rem; }

    .pain-quote { min-height: 0; }
}
