/* ===================================================================
   RENTALS HUB — RENT SAFELY GUIDE (safety.css)
   ===================================================================
   Page stylesheet for the 5 safety surfaces:
     rent-safely.html            (hub / chapter index + golden rules)
     safety-meeting-up.html      (chapter 1)
     safety-condition-photos.html(chapter 2)
     safety-money.html           (chapter 3)
     safety-red-flags.html       (chapter 4)

   Source of pixel truth: the design-canvas mockups (390px mobile frame).
   Every inline style from those mockups is ported here as a `.vm-safe-*`
   class. Tokens, .vm-app, .vm-bottom-nav and the [hidden] guard all come
   from app.css, which loads FIRST on every one of these pages.

   Conventions:
     - block   .vm-safe-card       descendants plain: .vm-safe-card-title
     - modifier .vm-safe-rule--danger
     - JS state .is-active / .is-checked   (JS hooks are data-* only)
   Mobile overrides live at the very END of the file (cascade-order trap:
   @media adds no specificity, so it must come after the base rules).
   =================================================================== */

/* ----------------------------------------------------------------
   1. LOCAL PALETTE
   Shades the design uses that app.css has no token for. Everything
   app.css DOES tokenize (--vm-primary, --vm-tint, --vm-amber-text …)
   is referenced directly and is NOT redeclared here.
   ---------------------------------------------------------------- */
.vm-safe {
    --vm-safe-hero-1: #0d420c;
    --vm-safe-hero-2: #062605;
    --vm-safe-topbar-bg: rgba(13, 66, 12, .96);
    --vm-safe-body: #4b5563;
    --vm-safe-line: #d1d5db;
    --vm-safe-hair: #f3f4f6;
    --vm-safe-good-border: #d6ecd5;
    --vm-safe-warn-border: #f3e0c8;
    --vm-safe-warn-ink: #92400e;
    --vm-safe-warn-ink-2: #78350f;
    --vm-safe-bad-bg: #fdf2f2;
    --vm-safe-bad-border: #f3d9d9;
    --vm-safe-bad-tile: #fee2e2;
    --vm-safe-bad-ink: #b91c1c;
    --vm-safe-bad-ink-2: #991b1b;
    --vm-safe-bad-deep: #7f1d1d;
    --vm-safe-bad-soft: #fecaca;
    --vm-safe-mint: #c8f5c5;
    --vm-safe-ink: #0f172a;
    --vm-safe-ink-soft: #94a3b8;
}

/* ----------------------------------------------------------------
   2. TOP BAR (sticky, dark green)
   .vm-app deliberately has no overflow:hidden, so sticky works.
   ---------------------------------------------------------------- */
.vm-safe-topbar {
    position: sticky;
    top: 0;
    z-index: 30;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: var(--vm-safe-topbar-bg);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
}
.vm-safe-topbar-btn {
    width: 36px;
    height: 36px;
    flex-shrink: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, .14);
    border: 1px solid rgba(255, 255, 255, .2);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}
.vm-safe-topbar-btn:hover { color: #fff; }
.vm-safe-topbar-title {
    flex: 1;
    font-family: var(--vm-font-display);
    font-weight: 700;
    font-size: 15px;
    color: #fff;
}
.vm-safe-topbar-label {
    flex: 1;
    font-size: 12.5px;
    font-weight: 600;
    color: rgba(255, 255, 255, .75);
}

/* ----------------------------------------------------------------
   3. HERO — dark green gradient band
   Base = hub hero (h1 29px, deep bottom padding for the card overlap).
   --chapter = the four chapter heroes (icon tile, h1 27px, no overlap).
   ---------------------------------------------------------------- */
.vm-safe-hero {
    position: relative;
    overflow: hidden;
    background: linear-gradient(168deg, var(--vm-safe-hero-1) 0%, var(--vm-safe-hero-2) 100%);
    padding: 26px 20px 58px;
}
.vm-safe-hero-glow {
    position: absolute;
    top: -110px;
    right: -80px;
    width: 280px;
    height: 280px;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(143, 240, 139, .18) 0%, transparent 68%);
    pointer-events: none;
}
.vm-safe-hero-inner { position: relative; }
.vm-safe-hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-bottom: 12px;
    color: var(--vm-accent);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .09em;
    text-transform: uppercase;
}
.vm-safe-hero-eyebrow i { font-size: 11px; }
.vm-safe-hero-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    margin-bottom: 14px;
    border-radius: 14px;
    background: rgba(143, 240, 139, .14);
    border: 1px solid rgba(143, 240, 139, .3);
    color: var(--vm-accent);
    font-size: 18px;
}
.vm-safe-hero-title {
    margin: 0 0 10px;
    font-family: var(--vm-font-display);
    font-weight: 700;
    font-size: 29px;
    line-height: 1.12;
    letter-spacing: -.6px;
    color: #fff;
    text-wrap: balance;
}
.vm-safe-hero-lede {
    margin: 0 0 16px;
    font-size: 13.5px;
    line-height: 1.6;
    color: rgba(255, 255, 255, .74);
    text-wrap: pretty;
}
.vm-safe-hero-meta {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 11.5px;
    color: rgba(255, 255, 255, .6);
}
.vm-safe-hero-meta i {
    color: var(--vm-accent);
    margin-right: 5px;
}

/* -- chapter variant -------------------------------------------- */
.vm-safe-hero--chapter { padding: 22px 20px 28px; }
.vm-safe-hero--chapter .vm-safe-hero-glow {
    top: -100px;
    right: -70px;
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(143, 240, 139, .17) 0%, transparent 68%);
}
.vm-safe-hero--chapter .vm-safe-hero-title {
    margin: 0 0 9px;
    font-size: 27px;
    line-height: 1.13;
}
.vm-safe-hero--chapter .vm-safe-hero-lede { margin: 0; }

/* ----------------------------------------------------------------
   4. SECTION SHELLS
   .vm-safe-sec   — hub sections (16px gutter)
   .vm-safe-band  — chapter sections (20px gutter)
   ---------------------------------------------------------------- */
.vm-safe-sec { padding: 26px 16px 0; }
.vm-safe-sec--cta { padding-top: 24px; }
.vm-safe-band { padding: 24px 20px 0; }
.vm-safe-band--tight { padding-top: 22px; }

.vm-safe-sec-title {
    margin: 0 0 4px;
    padding: 0 4px;
    font-family: var(--vm-font-display);
    font-weight: 700;
    font-size: 19px;
    color: var(--vm-text);
}
.vm-safe-sec-sub {
    margin: 0 0 14px;
    padding: 0 4px;
    font-size: 12.5px;
    line-height: 1.55;
    color: var(--vm-muted);
}

/* ----------------------------------------------------------------
   5. "WHERE VERANDA STANDS" CARD (hub) — overlaps the hero
   ---------------------------------------------------------------- */
.vm-safe-stands {
    position: relative;
    z-index: 5;
    margin-top: -40px;
    padding: 0 16px;
}
.vm-safe-stands-card {
    background: #fff;
    border-radius: 20px;
    padding: 20px 18px 18px;
    box-shadow: 0 2px 4px rgba(16, 24, 40, .04), 0 16px 36px rgba(16, 24, 40, .12);
}
.vm-safe-card-title {
    margin: 0 0 4px;
    font-family: var(--vm-font-display);
    font-weight: 700;
    font-size: 17px;
    color: var(--vm-text);
}
.vm-safe-card-sub {
    margin: 0 0 16px;
    font-size: 12.5px;
    line-height: 1.55;
    color: var(--vm-muted);
    text-wrap: pretty;
}
.vm-safe-notes {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* -- tinted note sub-card (good / warn / bad) -------------------- */
.vm-safe-note {
    border: 1px solid var(--vm-border-2);
    border-radius: 14px;
    padding: 13px 14px;
}
.vm-safe-note--good {
    background: var(--vm-tint-soft);
    border-color: var(--vm-safe-good-border);
}
.vm-safe-note--warn {
    background: var(--vm-amber-bg);
    border-color: var(--vm-safe-warn-border);
}
.vm-safe-note--bad {
    background: var(--vm-safe-bad-bg);
    border-color: var(--vm-safe-bad-border);
}
/* Stand-alone lead-in callout (chapter 3 sits one above the rules) */
.vm-safe-note--lead {
    border-radius: 16px;
    padding: 15px;
}
.vm-safe-note-head {
    display: flex;
    align-items: center;
    gap: 7px;
    margin-bottom: 9px;
}
.vm-safe-note-head i { font-size: 13px; }
.vm-safe-note-head strong {
    font-size: 12.5px;
    font-weight: 700;
}
.vm-safe-note--good .vm-safe-note-head i { color: var(--vm-primary); }
.vm-safe-note--good .vm-safe-note-head strong { color: var(--vm-primary-dark); }
.vm-safe-note--warn .vm-safe-note-head i { color: var(--vm-amber-text); }
.vm-safe-note--warn .vm-safe-note-head strong { color: var(--vm-safe-warn-ink); }
.vm-safe-note--bad .vm-safe-note-head i { color: var(--vm-red); }
.vm-safe-note--bad .vm-safe-note-head strong { color: var(--vm-safe-bad-ink-2); }
.vm-safe-note--lead .vm-safe-note-head { gap: 8px; }
.vm-safe-note-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 7px;
}
.vm-safe-note-list li {
    font-size: 12.5px;
    line-height: 1.45;
    color: var(--vm-text-2);
}
.vm-safe-note-foot {
    margin: 11px 0 0;
    font-size: 11.5px;
    line-height: 1.5;
    color: var(--vm-safe-warn-ink);
}
.vm-safe-note-text {
    margin: 0;
    font-size: 12.5px;
    line-height: 1.6;
    color: var(--vm-safe-warn-ink-2);
    text-wrap: pretty;
}

/* ----------------------------------------------------------------
   6. GOLDEN RULES — tabs, progress, checklist
   Panels hide with the `hidden` attribute; app.css's
   `[hidden]{display:none!important}` guard beats the display:flex below.
   ---------------------------------------------------------------- */
.vm-safe-tabs {
    display: flex;
    gap: 4px;
    margin-bottom: 14px;
    padding: 4px;
    border-radius: 999px;
    background: var(--vm-border-2);
}
.vm-safe-tab {
    flex: 1;
    padding: 9px 0;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    background: transparent;
    color: var(--vm-muted);
}
.vm-safe-tab.is-active {
    font-weight: 700;
    background: #fff;
    color: var(--vm-text);
    box-shadow: 0 1px 3px rgba(16, 24, 40, .1);
}
.vm-safe-progress {
    background: #fff;
    border-radius: 18px;
    padding: 16px 16px 14px;
    box-shadow: 0 1px 2px rgba(16, 24, 40, .03), 0 8px 22px rgba(16, 24, 40, .06);
}
.vm-safe-progress-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}
.vm-safe-progress-count {
    font-size: 12px;
    font-weight: 600;
    color: var(--vm-muted);
}
.vm-safe-progress-clear {
    font-size: 12px;
    font-weight: 600;
    color: var(--vm-muted-2);
}
.vm-safe-progress-clear:hover { color: var(--vm-text-2); }
.vm-safe-bar {
    height: 5px;
    margin-bottom: 16px;
    border-radius: 999px;
    background: var(--vm-border-2);
    overflow: hidden;
}
.vm-safe-bar-fill {
    display: block;
    height: 100%;
    width: 0%;
    border-radius: 999px;
    background: var(--vm-primary);
    transition: width .3s cubic-bezier(.2, .8, .2, 1);
}
.vm-safe-checks {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.vm-safe-check {
    display: flex;
    align-items: flex-start;
    gap: 11px;
    width: 100%;
    padding: 10px 2px;
    text-align: left;
}
.vm-safe-check + .vm-safe-check { border-top: 1px solid var(--vm-safe-hair); }
.vm-safe-check-box {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
    margin-top: 1px;
    border-radius: 7px;
    border: 2px solid var(--vm-safe-line);
    background: transparent;
    color: transparent;
    font-size: 11px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all .18s;
}
.vm-safe-check-label {
    font-size: 13px;
    line-height: 1.5;
    color: var(--vm-text-2);
}
.vm-safe-check-label strong {
    font-weight: 700;
    color: var(--vm-text);
}
.vm-safe-check.is-checked .vm-safe-check-box {
    background: var(--vm-primary);
    border-color: var(--vm-primary);
    color: #fff;
}
.vm-safe-check.is-checked .vm-safe-check-label { opacity: .5; }

/* ----------------------------------------------------------------
   7. LINK CARDS — chapter index, next-chapter, "you're done" exit
   ---------------------------------------------------------------- */
.vm-safe-linkcards {
    display: flex;
    flex-direction: column;
    gap: 11px;
}
.vm-safe-linkcard {
    display: flex;
    align-items: center;
    gap: 13px;
    background: #fff;
    border-radius: 16px;
    padding: 14px;
    box-shadow: 0 1px 2px rgba(16, 24, 40, .03), 0 8px 20px rgba(16, 24, 40, .06);
}
.vm-safe-tile {
    width: 50px;
    height: 50px;
    flex-shrink: 0;
    border-radius: 14px;
    background: linear-gradient(145deg, var(--vm-primary), var(--vm-primary-darker));
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 19px;
    box-shadow: 0 5px 12px rgba(26, 137, 23, .32);
}
.vm-safe-tile--sm {
    width: 44px;
    height: 44px;
    border-radius: 13px;
    font-size: 17px;
}
.vm-safe-linkcard-main {
    flex: 1;
    min-width: 0;
}
.vm-safe-kicker {
    display: block;
    margin-bottom: 3px;
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--vm-muted-2);
}
.vm-safe-linkcard-title {
    display: block;
    font-family: var(--vm-font-display);
    font-size: 15px;
    font-weight: 700;
    color: var(--vm-text);
}
.vm-safe-linkcard-sub {
    display: block;
    margin-top: 2px;
    font-size: 12px;
    line-height: 1.4;
    color: var(--vm-muted);
}
.vm-safe-linkcard-chev {
    flex-shrink: 0;
    font-size: 13px;
    color: var(--vm-safe-line);
}
.vm-safe-linkcard-arrow {
    flex-shrink: 0;
    font-size: 13px;
    color: var(--vm-primary);
}

/* ----------------------------------------------------------------
   8. ALERT CARD — "Walk away if…" (hub) and "Seen one? Report it" (ch 4)
   ---------------------------------------------------------------- */
.vm-safe-alert {
    background: #fff;
    border: 1px solid var(--vm-safe-bad-border);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 1px 2px rgba(16, 24, 40, .03), 0 8px 22px rgba(16, 24, 40, .06);
}
.vm-safe-alert-head {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 16px;
    background: var(--vm-safe-bad-bg);
    border-bottom: 1px solid var(--vm-safe-bad-border);
}
.vm-safe-alert-icon {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
    border-radius: 10px;
    background: var(--vm-safe-bad-tile);
    color: var(--vm-safe-bad-ink);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}
.vm-safe-alert-heads { line-height: 1.25; }
.vm-safe-alert-title {
    display: block;
    margin: 0;
    font-family: var(--vm-font-display);
    font-size: 15px;
    font-weight: 700;
    color: var(--vm-safe-bad-ink-2);
}
.vm-safe-alert-sub {
    font-size: 11.5px;
    color: var(--vm-amber-text);
}
.vm-safe-alert-list {
    list-style: none;
    margin: 0;
    padding: 14px 16px 16px;
    display: flex;
    flex-direction: column;
    gap: 11px;
}
.vm-safe-alert-list li {
    display: flex;
    gap: 10px;
    font-size: 12.5px;
    line-height: 1.5;
    color: var(--vm-text-2);
}
.vm-safe-alert-list li i {
    flex-shrink: 0;
    margin-top: 3px;
    font-size: 12px;
    color: var(--vm-red);
}
.vm-safe-alert-body { padding: 14px 16px 16px; }
.vm-safe-alert-text {
    margin: 0 0 13px;
    font-size: 12.5px;
    line-height: 1.6;
    color: var(--vm-safe-body);
    text-wrap: pretty;
}
.vm-safe-alert-btn {
    width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 0;
    border-radius: 999px;
    background: var(--vm-primary);
    color: #fff;
    font-size: 14px;
    font-weight: 700;
}
.vm-safe-alert-btn:hover { color: #fff; }
.vm-safe-alert-btn i { font-size: 12px; }

/* ----------------------------------------------------------------
   9. SUPPORT CTA (hub) — green gradient card
   ---------------------------------------------------------------- */
.vm-safe-cta {
    position: relative;
    overflow: hidden;
    border-radius: 18px;
    padding: 20px 18px;
    background: linear-gradient(120deg, var(--vm-primary) 0%, var(--vm-primary-darker) 100%);
    box-shadow: 0 8px 22px rgba(26, 137, 23, .28);
}
.vm-safe-cta-blob {
    position: absolute;
    right: -26px;
    top: -26px;
    width: 130px;
    height: 130px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .08);
    pointer-events: none;
}
.vm-safe-cta-inner { position: relative; }
.vm-safe-cta-title {
    margin: 0 0 6px;
    font-family: var(--vm-font-display);
    font-weight: 700;
    font-size: 18px;
    line-height: 1.2;
    color: #fff;
}
.vm-safe-cta-text {
    margin: 0 0 15px;
    font-size: 13px;
    line-height: 1.5;
    color: rgba(255, 255, 255, .88);
    text-wrap: pretty;
}
.vm-safe-cta-row {
    display: flex;
    gap: 9px;
}
.vm-safe-cta-btn {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 11px 0;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
}
.vm-safe-cta-btn i { font-size: 12px; }
.vm-safe-cta-btn--solid {
    background: #fff;
    color: var(--vm-primary-dark);
}
.vm-safe-cta-btn--solid:hover { color: var(--vm-primary-dark); }
.vm-safe-cta-btn--ghost {
    background: rgba(255, 255, 255, .16);
    border: 1px solid rgba(255, 255, 255, .3);
    color: #fff;
}
.vm-safe-cta-btn--ghost:hover { color: #fff; }

/* ----------------------------------------------------------------
   10. CHAPTER RULE BLOCKS — icon tile + heading + paragraph
   --danger swaps the mint tile for the red one (chapter 4).
   ---------------------------------------------------------------- */
.vm-safe-rules {
    display: flex;
    flex-direction: column;
    gap: 22px;
    padding: 24px 20px 0;
}
.vm-safe-rules--tight { padding-top: 22px; }
.vm-safe-rule {
    display: flex;
    gap: 13px;
}
.vm-safe-rule-icon {
    width: 34px;
    height: 34px;
    flex-shrink: 0;
    border-radius: 11px;
    background: var(--vm-tint);
    color: var(--vm-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}
.vm-safe-rule--danger .vm-safe-rule-icon {
    background: var(--vm-safe-bad-tile);
    color: var(--vm-safe-bad-ink);
}
.vm-safe-rule-title {
    margin: 0 0 6px;
    font-family: var(--vm-font-display);
    font-size: 16px;
    font-weight: 700;
    color: var(--vm-text);
}
.vm-safe-rule-text {
    margin: 0;
    font-size: 13px;
    line-height: 1.6;
    color: var(--vm-safe-body);
    text-wrap: pretty;
}

/* ----------------------------------------------------------------
   11. PULL QUOTE — "The rule that matters" / the red "never" card
   ---------------------------------------------------------------- */
.vm-safe-quote {
    position: relative;
    overflow: hidden;
    border-radius: 18px;
    padding: 20px 18px;
    background: linear-gradient(120deg, var(--vm-primary) 0%, var(--vm-primary-darker) 100%);
    box-shadow: 0 8px 22px rgba(26, 137, 23, .26);
}
.vm-safe-quote--danger {
    background: linear-gradient(120deg, var(--vm-safe-bad-ink) 0%, var(--vm-safe-bad-deep) 100%);
    box-shadow: 0 8px 22px rgba(185, 28, 28, .24);
}
.vm-safe-quote-blob {
    position: absolute;
    right: -24px;
    top: -30px;
    width: 120px;
    height: 120px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .08);
    pointer-events: none;
}
.vm-safe-quote-inner { position: relative; }
.vm-safe-quote-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-bottom: 9px;
    color: var(--vm-safe-mint);
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: .09em;
    text-transform: uppercase;
}
.vm-safe-quote-eyebrow i { font-size: 10px; }
.vm-safe-quote--danger .vm-safe-quote-eyebrow { color: var(--vm-safe-bad-soft); }
.vm-safe-quote-text {
    margin: 0;
    font-family: var(--vm-font-display);
    font-size: 17px;
    font-weight: 600;
    line-height: 1.35;
    color: #fff;
    text-wrap: pretty;
}
.vm-safe-quote-note {
    margin: 10px 0 0;
    font-size: 12.5px;
    line-height: 1.6;
    color: rgba(255, 255, 255, .85);
    text-wrap: pretty;
}

/* ----------------------------------------------------------------
   12. DO / DON'T GRID (chapter 2) — two tinted notes side by side
   ---------------------------------------------------------------- */
.vm-safe-dodont {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 11px;
}
.vm-safe-dodont .vm-safe-note {
    border-radius: 16px;
    padding: 14px;
}
.vm-safe-dodont .vm-safe-note-head {
    gap: 7px;
    margin-bottom: 10px;
}
.vm-safe-dodont .vm-safe-note-head i { font-size: 12px; }
.vm-safe-dodont .vm-safe-note-head strong { font-size: 12px; }
.vm-safe-dodont .vm-safe-note-list { gap: 8px; }
.vm-safe-dodont .vm-safe-note-list li { font-size: 12px; }

/* ----------------------------------------------------------------
   13. "HERE IN CAMEROON" — white local-context card
   ---------------------------------------------------------------- */
.vm-safe-local {
    background: #fff;
    border: 1px solid var(--vm-border-2);
    border-radius: 16px;
    padding: 16px;
    box-shadow: 0 1px 2px rgba(16, 24, 40, .03), 0 8px 20px rgba(16, 24, 40, .05);
}
.vm-safe-local-head {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
}
.vm-safe-local-head i {
    font-size: 13px;
    color: var(--vm-primary);
}
.vm-safe-local-head strong {
    font-family: var(--vm-font-display);
    font-size: 14px;
    font-weight: 700;
    color: var(--vm-text);
}
.vm-safe-local-text {
    margin: 0;
    font-size: 12.5px;
    line-height: 1.6;
    color: var(--vm-safe-body);
    text-wrap: pretty;
}
.vm-safe-local-text + .vm-safe-local-text { margin-top: 12px; }

/* ----------------------------------------------------------------
   14. CHAPTER PAGINATION
   ---------------------------------------------------------------- */
.vm-safe-pager {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 24px 20px 0;
}
.vm-safe-pager-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.vm-safe-pager-row--center { justify-content: center; }
.vm-safe-pager-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 6px 0;
    font-size: 13px;
    font-weight: 600;
    color: var(--vm-muted);
}
.vm-safe-pager-link:hover { color: var(--vm-text-2); }
.vm-safe-pager-link i { font-size: 12px; }
.vm-safe-pager-link--prev i { font-size: 11px; }
.vm-safe-pager-row--center .vm-safe-pager-link { gap: 8px; }

/* ----------------------------------------------------------------
   15. FOOTER — short disclaimer-only variant
   Bottom padding clears the fixed .vm-bottom-nav.
   ---------------------------------------------------------------- */
.vm-safe-foot {
    margin-top: 22px;
    padding: 20px 20px 100px;
    background: var(--vm-safe-ink);
    text-align: center;
}
.vm-safe-foot-text {
    margin: 0;
    font-size: 11.5px;
    line-height: 1.6;
    color: var(--vm-safe-ink-soft);
}

/* ----------------------------------------------------------------
   16. MOBILE OVERRIDES — keep at the END of the file
   (@media adds no specificity: placed earlier it would lose to any
   same-specificity base rule declared below it.)
   ---------------------------------------------------------------- */
@media (max-width: 360px) {
    .vm-safe-hero-meta {
        flex-wrap: wrap;
        gap: 6px 14px;
    }
    .vm-safe-cta-row { flex-direction: column; }
    .vm-safe-dodont { grid-template-columns: 1fr; }
}

/* ----------------------------------------------------------------
   17. DESKTOP LAYER — >= 901px
   ----------------------------------------------------------------
   Appended after section 16 on purpose: the two blocks never overlap
   (<=360 vs >=901), and the desktop layer has to sit below every base
   rule it overrides for the same cascade-order reason section 16 does.

   ARCHITECTURE NOTE — why five pages and not one article
   -----------------------------------------------------
   The desktop design merges the guide index and all four chapters into
   one long article. We keep the five shipped URLs instead: merging
   would duplicate every chapter's copy into a second place and would
   either kill or orphan four live URLs. The "one document" feeling is
   carried by a shared CONTENTS RAIL (.vm-safe-toc) repeated on all five
   pages, the same static-duplication convention the mobile bottom nav
   and the desktop header already use (no build step, no templating).

   The rail has two presentations from ONE markup block:
     901-1119px  a horizontal scrolling chip row above the article
                 (the design's tablet treatment)
     >= 1120px   the sticky 236px vertical rail (the rail tier that
                 desktop.css documents)

   Everything here is additive over an untouched <=900px base. The only
   base-layer additions are inert wrapper divs (.vm-safe-shell /
   .vm-safe-article) and the rail markup, which desktop.css's
   .vm-dt-only keeps display:none on a phone.
   ---------------------------------------------------------------- */
@media (min-width: 901px) {

/* --- 17.1 the shipped sticky topbar is retired at desktop ---------
   It is `sticky; top:0; z-index:30` and the desktop header is
   `sticky; top:0; z-index:45`, so it would slide underneath. Rather
   than offset it, hide it: its whole payload is a back arrow plus a
   title, and at desktop the header already carries the brand, the
   active "Rent safely" nav pill and a route back to Explore, while the
   contents rail says where in the guide you are far better than
   "Chapter 3 of 4" does. Two stacked bars would be noise.
   ---------------------------------------------------------------- */
.vm-safe-topbar { display: none; }

/* --- 17.2 hero: full bleed, content on the 1320px measure --------- */
.vm-safe-hero { padding: 0; }
.vm-safe-hero-inner {
    max-width: var(--vm-dt-wrap);
    margin: 0 auto;
    padding: 56px var(--vm-dt-pad) 60px;
}
.vm-safe-hero-glow {
    top: -180px;
    right: -110px;
    width: 540px;
    height: 540px;
    background: radial-gradient(circle, rgba(143, 240, 139, .16) 0%, transparent 68%);
}
.vm-safe-hero-eyebrow { margin-bottom: 14px; }
.vm-safe-hero-title {
    max-width: 720px;
    margin: 0 0 12px;
    font-size: clamp(29px, 3.6vw, 46px);
    line-height: 1.08;
    letter-spacing: -1.2px;
}
.vm-safe-hero-lede {
    max-width: 620px;
    margin: 0 0 20px;
    font-size: 15.5px;
    line-height: 1.65;
}
.vm-safe-hero-meta {
    gap: 20px;
    flex-wrap: wrap;
    font-size: 12.5px;
}
.vm-safe-hero-meta i { margin-right: 6px; }

/* chapter hero: icon tile grows, title one step down from the hub */
.vm-safe-hero--chapter .vm-safe-hero-inner { padding: 44px var(--vm-dt-pad) 48px; }
.vm-safe-hero--chapter .vm-safe-hero-glow {
    top: -170px;
    right: -100px;
    width: 500px;
    height: 500px;
}
.vm-safe-hero--chapter .vm-safe-hero-icon {
    width: 52px;
    height: 52px;
    margin-bottom: 16px;
    border-radius: 16px;
    font-size: 21px;
}
.vm-safe-hero--chapter .vm-safe-hero-title {
    margin: 0 0 10px;
    font-size: clamp(27px, 3.1vw, 40px);
    line-height: 1.1;
}
.vm-safe-hero--chapter .vm-safe-hero-lede { margin: 0; }
/* Carries the "Chapter N of 4" the hidden topbar used to say. Two classes so
   it beats desktop.css's later `.vm-dt-only { display: revert }`. */
.vm-safe-hero--chapter .vm-safe-hero-chapter {
    display: block;
    margin-bottom: 8px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .09em;
    text-transform: uppercase;
    color: var(--vm-accent);
}

/* --- 17.3 the article shell --------------------------------------
   Inert below 901px. Here it becomes the centred content measure; at
   1120px it becomes the two-column grid.
   ---------------------------------------------------------------- */
.vm-safe-shell {
    max-width: var(--vm-dt-wrap);
    margin: 0 auto;
    padding: 32px var(--vm-dt-pad) 48px;
}

/* Sections carry their own 16/20px phone gutters; the shell owns the
   gutter here, so hand the horizontal padding back and switch the
   vertical rhythm to a single bottom margin. */
.vm-safe-article > section,
.vm-safe-article > nav {
    padding: 0;
    margin-bottom: 44px;
}
.vm-safe-article > :last-child { margin-bottom: 0; }

/* The hub's first card overlaps the hero on a phone. Not here. */
.vm-safe-stands {
    position: static;
    margin-top: 0;
}

/* Anchors have to clear the sticky desktop header. */
#stands,
#rules,
#walkaway { scroll-margin-top: 96px; }

/* --- 17.4 contents rail — chip row (901-1119px) ------------------- */
.vm-safe-toc { margin-bottom: 28px; }
.vm-safe-toc-head {
    margin: 0 0 10px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .07em;
    text-transform: uppercase;
    color: var(--vm-muted-2);
}
.vm-safe-toc-list {
    list-style: none;
    margin: 0;
    padding: 0 0 4px;
    display: flex;
    gap: 8px;
    overflow-x: auto;
    scrollbar-width: none;
}
.vm-safe-toc-list::-webkit-scrollbar { display: none; }
.vm-safe-toc-list li { flex-shrink: 0; }
.vm-safe-toc-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 15px;
    border: 1px solid var(--vm-border);
    border-radius: 999px;
    background: #fff;
    font-size: 13px;
    font-weight: 600;
    color: var(--vm-text-2);
    white-space: nowrap;
    text-decoration: none;
}
.vm-safe-toc-link i {
    font-size: 11px;
    color: var(--vm-primary);
}
.vm-safe-toc-link:hover {
    border-color: var(--vm-primary);
    color: var(--vm-primary-dark);
}
.vm-safe-toc-link.is-active {
    background: var(--vm-tint);
    border-color: var(--vm-primary);
    color: var(--vm-primary-dark);
    font-weight: 700;
}
/* The report action rides the rail only; in chip mode the page's own
   report CTA is a few hundred pixels away and this would just repeat it. */
.vm-safe-toc-foot { display: none; }

/* --- 17.5 stands: heading out of the card, two notes side by side - */
.vm-safe-stands-card {
    padding: 0;
    border-radius: 0;
    background: none;
    box-shadow: none;
}
.vm-safe-stands-card .vm-safe-card-title {
    margin: 0 0 6px;
    font-size: 25px;
    letter-spacing: -.5px;
}
.vm-safe-stands-card .vm-safe-card-sub {
    max-width: 640px;
    margin: 0 0 20px;
    font-size: 14.5px;
    line-height: 1.6;
}
.vm-safe-notes {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
.vm-safe-notes .vm-safe-note {
    border-radius: 16px;
    padding: 20px 22px;
}
.vm-safe-notes .vm-safe-note-head { margin-bottom: 14px; }
.vm-safe-notes .vm-safe-note-head i { font-size: 14px; }
.vm-safe-notes .vm-safe-note-head strong { font-size: 13.5px; }
.vm-safe-notes .vm-safe-note-list { gap: 10px; }
.vm-safe-notes .vm-safe-note-list li { font-size: 13.5px; line-height: 1.5; }
.vm-safe-note-foot { font-size: 12.5px; line-height: 1.55; }

/* --- 17.6 section headings --------------------------------------- */
.vm-safe-sec-title {
    margin: 0 0 6px;
    padding: 0;
    font-size: 25px;
    letter-spacing: -.5px;
}
.vm-safe-sec-sub {
    max-width: 640px;
    margin: 0 0 20px;
    padding: 0;
    font-size: 14.5px;
    line-height: 1.6;
}

/* --- 17.7 golden rules: pill switcher + two-column checklist ------ */
.vm-safe-tabs {
    display: inline-flex;
    gap: 4px;
    margin-bottom: 18px;
    padding: 4px;
}
.vm-safe-tab {
    flex: 0 0 auto;
    padding: 9px 22px;
    font-size: 13.5px;
}
.vm-safe-progress {
    padding: 22px 24px 20px;
    border: 1px solid var(--vm-border-2);
    box-shadow: var(--vm-dt-shadow-raised);
}
.vm-safe-progress-count { font-size: 12.5px; }
.vm-safe-progress-clear { font-size: 12.5px; }
.vm-safe-bar { margin-bottom: 6px; }
.vm-safe-checks {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 26px;
}
/* Row-wise in two columns the `+ .vm-safe-check` top border lands on the
   wrong edges, so switch the hairline to the bottom of every row but the
   last (five items: 1-4 ruled, 5 clean — as the design draws it). */
.vm-safe-check + .vm-safe-check { border-top: none; }
.vm-safe-check {
    gap: 12px;
    padding: 14px 2px;
    border-bottom: 1px solid var(--vm-safe-hair);
}
.vm-safe-check:last-child { border-bottom: none; }
.vm-safe-check-label { font-size: 13.5px; }

/* --- 17.8 chapter index (hub) ------------------------------------ */
.vm-safe-linkcards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
.vm-safe-linkcard {
    padding: 16px;
    border: 1px solid var(--vm-border-2);
    box-shadow: var(--vm-dt-shadow-card);
}
.vm-safe-linkcard:hover { border-color: #cfe9cd; }

/* --- 17.9 chapter rule grid -------------------------------------- */
.vm-safe-rules {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px 28px;
    align-items: start;
}
.vm-safe-rule { gap: 14px; }
.vm-safe-rule-title { font-size: 16px; }
.vm-safe-rule-text { font-size: 13.5px; }

/* --- 17.10 pull quote, do/don't, local card ---------------------- */
.vm-safe-quote {
    border-radius: 20px;
    padding: 26px 28px;
}
.vm-safe-quote-blob {
    right: -30px;
    top: -38px;
    width: 170px;
    height: 170px;
}
.vm-safe-quote-text { font-size: 19px; }
.vm-safe-quote-note { font-size: 13.5px; }

.vm-safe-dodont { gap: 16px; }
.vm-safe-dodont .vm-safe-note { padding: 20px 22px; }
.vm-safe-dodont .vm-safe-note-head i { font-size: 14px; }
.vm-safe-dodont .vm-safe-note-head strong { font-size: 13.5px; }
.vm-safe-dodont .vm-safe-note-list { gap: 10px; }
.vm-safe-dodont .vm-safe-note-list li { font-size: 13.5px; line-height: 1.5; }

.vm-safe-note--lead { padding: 20px 22px; }
.vm-safe-note-text { font-size: 13.5px; }

.vm-safe-local { padding: 20px 22px; }
.vm-safe-local-head strong { font-size: 15px; }
.vm-safe-local-text { font-size: 13.5px; }

/* --- 17.11 "Walk away if…" — two-column list --------------------- */
.vm-safe-alert-head { padding: 18px 22px; }
.vm-safe-alert-icon {
    width: 36px;
    height: 36px;
    border-radius: 11px;
    font-size: 15px;
}
.vm-safe-alert-title { font-size: 17px; }
.vm-safe-alert-sub { font-size: 12.5px; }
.vm-safe-alert-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px 26px;
    padding: 18px 22px 22px;
}
.vm-safe-alert-list li { font-size: 13.5px; line-height: 1.55; }
.vm-safe-alert-body { padding: 18px 22px 22px; }
.vm-safe-alert-text { font-size: 13.5px; }
.vm-safe-alert-btn {
    width: auto;
    padding: 13px 24px;
}

/* --- 17.12 "Get help" panel -------------------------------------- */
.vm-safe-cta {
    border-radius: 20px;
    padding: 30px 32px;
    box-shadow: 0 10px 26px rgba(26, 137, 23, .26);
}
.vm-safe-cta-blob {
    right: -34px;
    top: -46px;
    width: 190px;
    height: 190px;
}
/* The copy and the buttons are siblings inside -inner, so -inner is the
   grid: text on the measure, actions pinned right. */
.vm-safe-cta-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    column-gap: 26px;
}
.vm-safe-cta-title {
    grid-column: 1;
    margin: 0 0 8px;
    font-size: 23px;
}
.vm-safe-cta-text {
    grid-column: 1;
    max-width: 540px;
    margin: 0;
    font-size: 14px;
    line-height: 1.55;
}
.vm-safe-cta-row {
    grid-column: 2;
    grid-row: 1 / span 2;
    align-self: center;
    gap: 11px;
}
.vm-safe-cta-btn {
    flex: 0 0 auto;
    padding: 13px 22px;
    font-size: 14px;
    white-space: nowrap;
}

/* --- 17.13 chapter pagination ------------------------------------ */
.vm-safe-pager { gap: 12px; }
.vm-safe-pager .vm-safe-linkcard {
    display: flex;
    max-width: 420px;
}
/* Both pager rows left-align at desktop: spreading two small links across a
   988px column strands them at opposite ends of the page. */
.vm-safe-pager-row,
.vm-safe-pager-row--center {
    justify-content: flex-start;
    gap: 26px;
}
.vm-safe-pager-link { font-size: 13.5px; }

/* --- 17.14 slim dark footer -------------------------------------- */
.vm-safe-foot {
    margin-top: 0;
    padding: 0;
    text-align: left;
}
.vm-safe-foot-text {
    max-width: var(--vm-dt-wrap);
    margin: 0 auto;
    padding: 30px var(--vm-dt-pad);
    font-size: 12px;
}

} /* end >= 901px */


/* ================================================================
   18. RAIL TIER — >= 1120px
   The chip row becomes the sticky 236px contents rail and the shell
   becomes the design's two-column grid.
   ================================================================ */
@media (min-width: 1120px) {

.vm-safe-shell {
    display: grid;
    grid-template-columns: 236px minmax(0, 1fr);
    gap: 40px;
    align-items: start;
}

.vm-safe-toc {
    position: sticky;
    top: 96px;
    margin-bottom: 0;
}
.vm-safe-toc-head { padding: 0 14px; }
.vm-safe-toc-list {
    flex-direction: column;
    gap: 2px;
    padding: 0;
    overflow: visible;
}
.vm-safe-toc-link {
    display: flex;
    width: 100%;
    padding: 10px 14px;
    border: none;
    border-radius: 11px;
    background: none;
    font-size: 13.5px;
    font-weight: 500;
    color: var(--vm-dt-ink-2);
    white-space: normal;
}
.vm-safe-toc-link i {
    width: 16px;
    flex-shrink: 0;
    font-size: 13px;
    color: var(--vm-muted-2);
}
.vm-safe-toc-link:hover {
    background: var(--vm-border-2);
    color: var(--vm-text);
}
.vm-safe-toc-link.is-active {
    background: var(--vm-tint);
    color: var(--vm-primary-dark);
    font-weight: 700;
}
.vm-safe-toc-link.is-active i { color: var(--vm-primary); }

.vm-safe-toc-foot {
    display: block;
    margin-top: 20px;
    padding-top: 18px;
    border-top: 1px solid var(--vm-border);
}
/* Points at the same real mailto as the page's report CTA. There is no
   reports table, so it must reach a human and never fake a submission. */
.vm-safe-toc-report {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    border: 1px solid var(--vm-safe-bad-border);
    border-radius: 999px;
    background: var(--vm-safe-bad-bg);
    font-size: 13px;
    font-weight: 700;
    color: var(--vm-safe-bad-ink);
    text-decoration: none;
}
.vm-safe-toc-report i { font-size: 11px; }
.vm-safe-toc-report:hover {
    background: var(--vm-safe-bad-tile);
    color: var(--vm-safe-bad-ink-2);
}

}
