/* =====================================================================
   RENTIQO — INSTALLATION DOCUMENTATION
   =====================================================================

   EVERYTHING HERE IS LOCAL. NOTHING LOADS FROM A CDN.

   A buyer opens this file from the unzipped folder, usually straight off
   the desktop with a file:// URL and sometimes with no internet at all.
   A webfont, an icon kit or a syntax highlighter pulled from a CDN would
   render this page broken in exactly the moment it is needed most — the
   first ten minutes after purchase, before anything is installed.

   So: system fonts, inline SVG, hand-written CSS. It also keeps the whole
   documentation folder under a megabyte, which matters when the marketplace
   caps the upload.
   ===================================================================== */

/* ---------------------------------------------------------------------
   Tokens
   --------------------------------------------------------------------- */
:root {
    --brand:        #6366f1;
    --brand-d:      #4f46e5;
    --brand-l:      #818cf8;
    --grad:         linear-gradient(135deg, #6366f1 0%, #7c3aed 55%, #4f46e5 100%);

    --ok:           #10b981;
    --warn:         #f59e0b;
    --danger:       #ef4444;
    --info:         #0ea5e9;

    --ink:          #0f172a;
    --body:         #475569;
    --muted:        #94a3b8;
    --line:         #e2e8f0;
    --bg:           #ffffff;
    --bg-soft:      #f8fafc;
    --bg-code:      #0f172a;

    --radius:       14px;
    --radius-lg:    20px;
    --shadow-sm:    0 1px 2px rgba(15, 23, 42, .06), 0 1px 3px rgba(15, 23, 42, .04);
    --shadow:       0 10px 30px -12px rgba(15, 23, 42, .18);
    --shadow-lg:    0 24px 60px -20px rgba(15, 23, 42, .28);

    --sidebar:      288px;
    --ease:         cubic-bezier(.2, .7, .2, 1);
}

/*  Dark theme — opt-in only.
 *
 *  Driven solely by the data-theme attribute the toggle sets. There is
 *  deliberately no prefers-color-scheme rule: light is the default for
 *  everyone, whatever their operating system is set to, because every
 *  screenshot in this guide was captured on a light interface and light
 *  screenshots on a dark page read as a fault in the product.             */
html[data-theme="dark"] {
    --ink:      #f1f5f9;
    --body:     #cbd5e1;
    --muted:    #94a3b8;
    --line:     #1e293b;
    --bg:       #0b1120;
    --bg-soft:  #0f172a;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, .4);
    --shadow:    0 10px 30px -12px rgba(0, 0, 0, .6);
    --shadow-lg: 0 24px 60px -20px rgba(0, 0, 0, .7);
}

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

html { scroll-behavior: smooth; scroll-padding-top: 90px; }

body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
                 "Helvetica Neue", Arial, sans-serif;
    font-size: 15.5px;
    line-height: 1.7;
    color: var(--body);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    transition: background .3s var(--ease), color .3s var(--ease);
}

img { max-width: 100%; height: auto; display: block; }
a   { color: var(--brand-d); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4 {
    color: var(--ink);
    font-weight: 800;
    letter-spacing: -.022em;
    line-height: 1.2;
    margin: 0 0 .5em;
}

h1 { font-size: 2.35rem; }
h2 { font-size: 1.65rem; margin-top: 0; }
h3 { font-size: 1.16rem; margin-top: 1.9em; }
h4 { font-size: 1rem; }

p  { margin: 0 0 1.05em; }
ul, ol { margin: 0 0 1.15em; padding-left: 1.35em; }
li { margin-bottom: .45em; }

/* ---------------------------------------------------------------------
   Reading progress
   --------------------------------------------------------------------- */
.progress {
    position: fixed; inset: 0 auto auto 0;
    height: 3px; width: 0;
    background: var(--grad);
    z-index: 200;
    transition: width .1s linear;
}

/* ---------------------------------------------------------------------
   Sidebar
   --------------------------------------------------------------------- */
.sidebar {
    position: fixed; inset: 0 auto 0 0;
    width: var(--sidebar);
    background: var(--bg-soft);
    border-right: 1px solid var(--line);
    display: flex; flex-direction: column;
    z-index: 100;
    transition: transform .32s var(--ease), background .3s var(--ease);
}

.brand {
    display: flex; align-items: center; gap: 11px;
    padding: 22px 22px 18px;
    border-bottom: 1px solid var(--line);
}

.brand-mark {
    width: 40px; height: 40px; border-radius: 12px;
    background: var(--grad);
    display: grid; place-items: center;
    color: #fff; font-weight: 800; font-size: 19px;
    box-shadow: 0 8px 18px -6px rgba(79, 70, 229, .6);
    flex-shrink: 0;
}

.brand-text b { display: block; color: var(--ink); font-size: 16px; letter-spacing: -.02em; }
.brand-text span { display: block; font-size: 11.5px; color: var(--muted); font-weight: 600;
                   text-transform: uppercase; letter-spacing: .07em; }

/*  Search.
 *  Filters the nav in place. There is no index and no fetch — it walks the
 *  links that are already in the DOM, so it works from file:// like the
 *  rest of the page.                                                       */
.search-wrap { padding: 14px 16px; border-bottom: 1px solid var(--line); }

.search {
    width: 100%; padding: 9px 12px 9px 34px;
    border: 1px solid var(--line); border-radius: 10px;
    background: var(--bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='15' height='15' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2.4' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m21 21-4.3-4.3'/%3E%3C/svg%3E") no-repeat 11px center;
    color: var(--ink); font-size: 13.5px; font-family: inherit;
    transition: border-color .2s, box-shadow .2s;
}
.search:focus { outline: none; border-color: var(--brand-l);
                box-shadow: 0 0 0 3px rgba(99, 102, 241, .14); }

.nav { flex: 1; overflow-y: auto; padding: 16px 12px 28px; }

.nav-group { margin-bottom: 20px; }
.nav-group > span {
    display: block; padding: 0 10px 7px;
    font-size: 10.5px; font-weight: 800; color: var(--muted);
    text-transform: uppercase; letter-spacing: .1em;
}

.nav a {
    display: flex; align-items: center; gap: 9px;
    padding: 8px 10px; margin-bottom: 2px;
    border-radius: 9px;
    color: var(--body); font-size: 14px; font-weight: 500;
    text-decoration: none;
    transition: background .18s, color .18s, transform .18s var(--ease);
}
.nav a:hover { background: rgba(99, 102, 241, .09); color: var(--brand-d); transform: translateX(2px); }

.nav a.active {
    background: var(--grad); color: #fff; font-weight: 600;
    box-shadow: 0 8px 18px -8px rgba(79, 70, 229, .7);
}
.nav a.active .num { background: rgba(255, 255, 255, .25); color: #fff; }

/*  Step numbers in the nav — the install sequence is the spine of this
 *  document, so its order is worth showing rather than describing.        */
.num {
    display: grid; place-items: center;
    width: 21px; height: 21px; flex-shrink: 0;
    border-radius: 6px;
    background: rgba(99, 102, 241, .12); color: var(--brand-d);
    font-size: 11px; font-weight: 800;
}

.nav a.is-hidden { display: none; }

.side-foot { padding: 14px 18px; border-top: 1px solid var(--line);
             font-size: 12px; color: var(--muted); }

/* ---------------------------------------------------------------------
   Topbar (mobile) + theme toggle
   --------------------------------------------------------------------- */
.topbar {
    display: none;
    position: sticky; top: 0; z-index: 90;
    align-items: center; gap: 12px;
    padding: 12px 16px;
    background: var(--bg); border-bottom: 1px solid var(--line);
}

.icon-btn {
    display: grid; place-items: center;
    width: 38px; height: 38px; flex-shrink: 0;
    border: 1px solid var(--line); border-radius: 10px;
    background: var(--bg); color: var(--ink);
    cursor: pointer;
    transition: background .2s, transform .2s var(--ease), border-color .2s;
}
.icon-btn:hover { background: var(--bg-soft); transform: translateY(-1px); border-color: var(--brand-l); }
.icon-btn svg { width: 18px; height: 18px; }

.theme-btn { position: fixed; top: 20px; right: 24px; z-index: 95; box-shadow: var(--shadow-sm); }
html[data-theme="dark"] .theme-btn .sun { display: block; }
html[data-theme="dark"] .theme-btn .moon { display: none; }
.theme-btn .sun { display: none; }
.theme-btn .moon { display: block; }

.scrim {
    display: none;
    position: fixed; inset: 0; z-index: 99;
    background: rgba(15, 23, 42, .5);
    backdrop-filter: blur(2px);
}
.scrim.open { display: block; }

/* ---------------------------------------------------------------------
   Main
   --------------------------------------------------------------------- */
.main { margin-left: var(--sidebar); }
.wrap { max-width: 880px; margin: 0 auto; padding: 60px 40px 120px; }

/* ---------------------------------------------------------------------
   Hero
   --------------------------------------------------------------------- */
.hero {
    position: relative; overflow: hidden;
    padding: 74px 40px 66px;
    background: var(--grad);
    color: #fff;
    text-align: center;
}

/*  Two slow-drifting radial blooms. Cheap, GPU-friendly, and the only
 *  decoration on the page that is purely decoration.                      */
.hero::before, .hero::after {
    content: ""; position: absolute; border-radius: 50%;
    background: rgba(255, 255, 255, .13);
    filter: blur(46px);
    animation: drift 17s ease-in-out infinite;
}
.hero::before { width: 380px; height: 380px; top: -140px; left: -90px; }
.hero::after  { width: 300px; height: 300px; bottom: -130px; right: -70px;
                animation-delay: -8s; }

@keyframes drift {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50%      { transform: translate(34px, 22px) scale(1.14); }
}

.hero > * { position: relative; z-index: 1; }
.hero h1 { color: #fff; font-size: 2.9rem; margin-bottom: 14px; }
.hero p { max-width: 620px; margin: 0 auto; font-size: 1.06rem; color: rgba(255, 255, 255, .92); }

.hero-badge {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 7px 15px; margin-bottom: 20px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .17);
    border: 1px solid rgba(255, 255, 255, .28);
    font-size: 12.5px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
}
.hero-badge .dot {
    width: 7px; height: 7px; border-radius: 50%; background: #6ee7b7;
    animation: pulse 1.9s infinite;
}
@keyframes pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(110, 231, 183, .7); }
    70%      { box-shadow: 0 0 0 8px rgba(110, 231, 183, 0); }
}

.hero-meta {
    display: flex; flex-wrap: wrap; justify-content: center; gap: 10px;
    margin-top: 28px;
}
.hero-meta span {
    padding: 6px 13px; border-radius: 9px;
    background: rgba(255, 255, 255, .15);
    font-size: 12.5px; font-weight: 600;
}

/* ---------------------------------------------------------------------
   Sections
   --------------------------------------------------------------------- */
.section { margin-bottom: 74px; scroll-margin-top: 84px; }

.section-head { margin-bottom: 26px; padding-bottom: 18px; border-bottom: 2px solid var(--line); }

.eyebrow {
    display: inline-flex; align-items: center; gap: 7px;
    padding: 4px 11px; margin-bottom: 11px;
    border-radius: 999px;
    background: rgba(99, 102, 241, .1); color: var(--brand-d);
    font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .09em;
}

.lead { font-size: 1.06rem; color: var(--body); }

/* ---------------------------------------------------------------------
   Reveal on scroll
   --------------------------------------------------------------------- */
.reveal {
    opacity: 0; transform: translateY(20px);
    transition: opacity .6s var(--ease), transform .6s var(--ease);
}
.reveal.in { opacity: 1; transform: none; }

/* ---------------------------------------------------------------------
   Step cards
   --------------------------------------------------------------------- */
.step {
    position: relative;
    margin-bottom: 22px; padding: 26px 28px 26px 78px;
    background: var(--bg); border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: box-shadow .3s var(--ease), transform .3s var(--ease), border-color .3s;
}
.step:hover { box-shadow: var(--shadow); transform: translateY(-3px); border-color: rgba(99, 102, 241, .32); }

.step-n {
    position: absolute; top: 26px; left: 24px;
    display: grid; place-items: center;
    width: 38px; height: 38px; border-radius: 11px;
    background: var(--grad); color: #fff;
    font-size: 16px; font-weight: 800;
    box-shadow: 0 8px 18px -7px rgba(79, 70, 229, .65);
}

.step h3 { margin: 0 0 .55em; font-size: 1.14rem; }
.step > :last-child { margin-bottom: 0; }

/* ---------------------------------------------------------------------
   Callouts
   --------------------------------------------------------------------- */
.note {
    position: relative;
    margin: 22px 0; padding: 16px 20px 16px 52px;
    border-radius: var(--radius);
    border: 1px solid var(--line);
    border-left: 3px solid var(--brand);
    background: var(--bg-soft);
    font-size: 14.5px;
}
.note > :last-child { margin-bottom: 0; }
.note b { color: var(--ink); }

.note::before {
    content: ""; position: absolute; top: 17px; left: 18px;
    width: 20px; height: 20px;
    background-repeat: no-repeat; background-size: contain;
}

.note--tip     { border-left-color: var(--ok); }
.note--warn    { border-left-color: var(--warn); }
.note--danger  { border-left-color: var(--danger); }

.note::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236366f1' stroke-width='2.2' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='M12 16v-4M12 8h.01'/%3E%3C/svg%3E");
}
.note--tip::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2310b981' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
}
.note--warn::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f59e0b' stroke-width='2.2' stroke-linecap='round'%3E%3Cpath d='M12 9v4M12 17h.01'/%3E%3Cpath d='M10.3 3.9 1.8 18a2 2 0 0 0 1.7 3h17a2 2 0 0 0 1.7-3L13.7 3.9a2 2 0 0 0-3.4 0z'/%3E%3C/svg%3E");
}
.note--danger::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ef4444' stroke-width='2.2' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='m15 9-6 6M9 9l6 6'/%3E%3C/svg%3E");
}

/* ---------------------------------------------------------------------
   Code
   --------------------------------------------------------------------- */
.code {
    position: relative;
    margin: 20px 0;
    background: var(--bg-code);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.code-head {
    display: flex; align-items: center; justify-content: space-between;
    padding: 9px 14px;
    background: rgba(255, 255, 255, .05);
    border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.code-head span { font-size: 11.5px; font-weight: 700; color: #94a3b8;
                  text-transform: uppercase; letter-spacing: .08em; }

.copy {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 5px 11px;
    border: 1px solid rgba(255, 255, 255, .16); border-radius: 7px;
    background: transparent; color: #cbd5e1;
    font-size: 11.5px; font-weight: 600; font-family: inherit;
    cursor: pointer;
    transition: background .2s, color .2s, border-color .2s;
}
.copy:hover { background: rgba(255, 255, 255, .12); color: #fff; }
.copy.done  { background: var(--ok); border-color: var(--ok); color: #fff; }

.code pre {
    margin: 0; padding: 16px 18px;
    overflow-x: auto;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
    font-size: 13.2px; line-height: 1.65; color: #e2e8f0;
}

code:not(pre code) {
    padding: 2px 6px; border-radius: 5px;
    background: rgba(99, 102, 241, .11); color: var(--brand-d);
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: .88em; font-weight: 600;
}

/* ---------------------------------------------------------------------
   Tables
   --------------------------------------------------------------------- */
.table-wrap { overflow-x: auto; margin: 22px 0; border-radius: var(--radius);
              border: 1px solid var(--line); }

table { width: 100%; border-collapse: collapse; font-size: 14.3px; }

th {
    padding: 12px 16px; text-align: left;
    background: var(--bg-soft); color: var(--ink);
    font-weight: 700; font-size: 12.5px;
    text-transform: uppercase; letter-spacing: .05em;
    border-bottom: 1px solid var(--line);
    white-space: nowrap;
}

td { padding: 12px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
tr:last-child td { border-bottom: none; }
tbody tr { transition: background .18s; }
tbody tr:hover { background: var(--bg-soft); }

/* ---------------------------------------------------------------------
   Screenshots
   --------------------------------------------------------------------- */
figure { margin: 24px 0; }

figure img {
    width: 100%;
    border: 1px solid var(--line); border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
figure img:hover { transform: scale(1.012); box-shadow: var(--shadow-lg); }

figcaption { margin-top: 10px; text-align: center; font-size: 13px; color: var(--muted); }

/*  Shown when a screenshot file is missing.
 *  A broken-image icon in paid documentation looks like a broken product,
 *  so the <img> carries an onerror that swaps in this frame instead.      */
.shot-missing {
    display: grid; place-items: center;
    padding: 44px 24px;
    border: 2px dashed var(--line); border-radius: var(--radius);
    background: var(--bg-soft);
    color: var(--muted); font-size: 13.5px; text-align: center;
}

/* ---------------------------------------------------------------------
   Path / navigation breadcrumb — "Admin -> Settings -> Email delivery"
   --------------------------------------------------------------------- */
.path {
    display: inline-flex; align-items: center; flex-wrap: wrap; gap: 6px;
    padding: 7px 13px; margin: 4px 0 14px;
    border: 1px solid var(--line); border-radius: 9px;
    background: var(--bg-soft);
    font-size: 13.5px; font-weight: 600; color: var(--ink);
}
.path i { font-style: normal; color: var(--muted); }
.path b { color: var(--brand-d); font-weight: 700; }

/* ---------------------------------------------------------------------
   Checklist
   --------------------------------------------------------------------- */
.check { list-style: none; padding: 0; margin: 20px 0; }

.check li {
    position: relative;
    padding: 11px 14px 11px 44px; margin-bottom: 8px;
    border: 1px solid var(--line); border-radius: var(--radius);
    background: var(--bg);
    font-size: 14.5px;
    transition: border-color .2s, transform .2s var(--ease);
}
.check li:hover { border-color: rgba(99, 102, 241, .34); transform: translateX(3px); }

.check li::before {
    content: ""; position: absolute; top: 13px; left: 14px;
    width: 18px; height: 18px; border-radius: 5px;
    background: rgba(16, 185, 129, .13)
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2310b981' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E")
        no-repeat center / 12px;
}

/* ---------------------------------------------------------------------
   FAQ / troubleshooting
   --------------------------------------------------------------------- */
.faq {
    margin-bottom: 10px;
    border: 1px solid var(--line); border-radius: var(--radius);
    background: var(--bg);
    overflow: hidden;
    transition: border-color .25s, box-shadow .25s;
}
.faq[open] { border-color: rgba(99, 102, 241, .38); box-shadow: var(--shadow-sm); }

.faq summary {
    padding: 15px 46px 15px 18px;
    cursor: pointer; list-style: none;
    color: var(--ink); font-weight: 650; font-size: 14.8px;
    position: relative;
    transition: background .2s;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { background: var(--bg-soft); }

.faq summary::after {
    content: ""; position: absolute; top: 50%; right: 18px;
    width: 15px; height: 15px; margin-top: -7px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236366f1' stroke-width='2.6' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat center / contain;
    transition: transform .28s var(--ease);
}
.faq[open] summary::after { transform: rotate(180deg); }

.faq-body { padding: 2px 18px 16px; font-size: 14.5px; }
.faq-body > :last-child { margin-bottom: 0; }

/* ---------------------------------------------------------------------
   Support contact cards
   --------------------------------------------------------------------- */
.contacts {
    display: grid; gap: 14px;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    margin: 24px 0;
}

.contact {
    display: flex; align-items: center; gap: 14px;
    padding: 18px 20px;
    border: 1px solid var(--line); border-radius: var(--radius);
    background: var(--bg);
    box-shadow: var(--shadow-sm);
    text-decoration: none;
    transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s;
}
.contact:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow);
    border-color: rgba(99, 102, 241, .35);
    text-decoration: none;
}

.contact-ic {
    display: grid; place-items: center;
    width: 44px; height: 44px; flex-shrink: 0;
    border-radius: 12px;
    background: var(--grad); color: #fff;
    box-shadow: 0 8px 18px -8px rgba(79, 70, 229, .65);
}
.contact-ic svg { width: 21px; height: 21px; }

/*  The WhatsApp tile keeps WhatsApp's own green rather than the brand
    gradient — it is the one thing on this page people scan for.        */
.contact-ic--wa { background: linear-gradient(135deg, #25d366, #128c7e);
                  box-shadow: 0 8px 18px -8px rgba(18, 140, 126, .7); }

.contact-tx { min-width: 0; }
.contact-tx span { display: block; font-size: 11px; font-weight: 800; color: var(--muted);
                   text-transform: uppercase; letter-spacing: .09em; }
.contact-tx b { display: block; color: var(--ink); font-size: 15px; font-weight: 700;
                overflow-wrap: break-word; }

/* ---------------------------------------------------------------------
   Footer
   --------------------------------------------------------------------- */
.foot {
    margin-top: 20px; padding: 34px 40px;
    border-top: 1px solid var(--line);
    background: var(--bg-soft);
    text-align: center; font-size: 13.5px; color: var(--muted);
}
.foot b { color: var(--ink); }

/* ---------------------------------------------------------------------
   Responsive
   --------------------------------------------------------------------- */
@media (max-width: 1024px) {
    .sidebar { transform: translateX(-100%); }
    .sidebar.open { transform: none; box-shadow: var(--shadow-lg); }
    .main { margin-left: 0; }
    .topbar { display: flex; }
    .theme-btn { position: static; box-shadow: none; margin-left: auto; }
    .wrap { padding: 40px 22px 90px; }
    .hero { padding: 54px 22px 48px; }
    .hero h1 { font-size: 2.1rem; }
}

@media (max-width: 560px) {
    .step { padding: 22px 20px 22px 20px; }
    .step-n { position: static; margin-bottom: 12px; }
    .hero h1 { font-size: 1.8rem; }
    h1 { font-size: 1.8rem; }
    h2 { font-size: 1.35rem; }
}

/* ---------------------------------------------------------------------
   Print — buyers do print these
   --------------------------------------------------------------------- */
@media print {
    .sidebar, .topbar, .theme-btn, .progress, .scrim, .copy { display: none !important; }
    .main { margin-left: 0; }
    .wrap { max-width: none; padding: 0; }
    .hero { background: none; color: #000; padding: 0 0 20px; }
    .hero h1, .hero p { color: #000; }
    .step, .note, .faq { break-inside: avoid; box-shadow: none; }
    .faq[open] .faq-body, .faq-body { display: block !important; }
    a { color: #000; text-decoration: underline; }
}

/*  Respect the setting. Everything above still works with motion off —
 *  reveal elements are simply visible from the start.                     */
@media (prefers-reduced-motion: reduce) {
    * { animation-duration: .01ms !important; animation-iteration-count: 1 !important;
        transition-duration: .01ms !important; scroll-behavior: auto !important; }
    .reveal { opacity: 1; transform: none; }
}
