/* Black Dog Analytics, LLC — single-page site styles.
   Self-contained: no external fonts or frameworks. Palette is drawn from the
   logo (charcoal coat, red collar, tennis-ball chartreuse). */

:root {
    --ink: #16181d;          /* near-black, from the coat */
    --ink-soft: #2a2e37;
    --paper: #ffffff;
    --mist: #f4f5f7;         /* alt section background */
    --line: #e3e5ea;
    --muted: #5c6270;
    --accent: #c7d92d;       /* tennis-ball chartreuse */
    --accent-ink: #3f4a08;   /* readable text on accent */
    --collar: #c0392b;       /* red collar, used sparingly */
    --focus: #6b7a12;        /* darkened accent; 4.75:1 on white, a visible focus ring */
    --field-border: #767676; /* 4.5:1 on white, a discernible control boundary */
    --radius: 14px;
    --wrap: 1080px;
    --font: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

/* Keep in-page jump targets clear of the sticky header (~69px tall) so the
   heading isn't tucked underneath it, especially on mobile. */
section[id] { scroll-margin-top: 84px; }

body {
    margin: 0;
    font-family: var(--font);
    color: var(--ink);
    background: var(--paper);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    /* Sticky footer: fill at least the viewport so the footer sits at the
       bottom on short pages (e.g. the trial form) instead of floating. */
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}
main { flex: 1 0 auto; }
.site-footer { flex-shrink: 0; }

.wrap {
    width: min(100% - 40px, var(--wrap));
    margin-inline: auto;
}

a { color: inherit; }

/* ---- Skip link ---- */
/* Off-screen until focused, then it drops into view at the top-left so a
   keyboard user can jump past the repeated header and nav. */
.skip-link {
    position: absolute;
    left: 8px;
    top: -60px;
    z-index: 20;
    background: var(--ink);
    color: #fff;
    padding: 10px 16px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: top .15s ease;
}
.skip-link:focus { top: 8px; outline: 3px solid var(--focus); outline-offset: 2px; }
main:focus { outline: none; }

/* ---- Header ---- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 10;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: saturate(160%) blur(8px);
    border-bottom: 1px solid var(--line);
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 68px;
}
.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    font-weight: 700;
    letter-spacing: -0.01em;
}
.brand img { display: block; border-radius: 50%; }
.brand-name { font-size: 18px; }
.site-nav {
    display: flex;
    gap: 26px;
    font-size: 15px;
    font-weight: 500;
}
.site-nav a {
    text-decoration: none;
    color: var(--muted);
    padding: 6px 2px;
    border-bottom: 2px solid transparent;
    transition: color .15s, border-color .15s;
}
.site-nav a:hover { color: var(--ink); border-color: var(--accent); }

/* ---- Hero ---- */
.hero {
    background:
        radial-gradient(1200px 400px at 50% -120px, rgba(199, 217, 45, 0.18), transparent 70%),
        var(--ink);
    color: #fff;
    text-align: center;
    padding: 84px 0 96px;
}
.hero-logo {
    border-radius: 50%;
    background: #fff;
    padding: 8px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.35);
}
.hero h1 {
    margin: 28px auto 14px;
    max-width: 16ch;
    font-size: clamp(30px, 5vw, 48px);
    line-height: 1.12;
    letter-spacing: -0.02em;
}
.hero .lead {
    margin: 0 auto 30px;
    max-width: 60ch;
    color: #c9ccd6;
    font-size: clamp(16px, 2.2vw, 19px);
}

/* ---- Buttons ---- */
.btn {
    display: inline-block;
    background: var(--accent);
    color: var(--accent-ink);
    text-decoration: none;
    font-weight: 700;
    padding: 13px 26px;
    border-radius: 999px;
    transition: transform .12s ease, box-shadow .12s ease, filter .12s ease;
    box-shadow: 0 6px 20px rgba(199, 217, 45, 0.25);
}
.btn:hover { transform: translateY(-2px); filter: brightness(1.03); }

/* Dark variant, for the secondary action next to the accent button. */
.btn-dark {
    background: var(--ink);
    color: #fff;
    box-shadow: 0 6px 20px rgba(16, 24, 40, 0.22);
}

/* A button-styled span used when an action isn't wired up yet. */
.btn.is-disabled {
    cursor: not-allowed;
    opacity: 0.5;
    box-shadow: none;
}
.btn.is-disabled:hover { transform: none; filter: none; }

/* ---- Sections ---- */
.section { padding: 72px 0; }
.section-alt { background: var(--mist); border-block: 1px solid var(--line); }
.section-title {
    margin: 0 0 8px;
    font-size: clamp(24px, 3.5vw, 34px);
    letter-spacing: -0.02em;
    text-align: center;
}
.section-sub {
    margin: 0 auto 40px;
    max-width: 56ch;
    text-align: center;
    color: var(--muted);
    font-size: 17px;
}

/* ---- Grids & cards ---- */
.grid { display: grid; gap: 22px; margin-top: 34px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

.card {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 26px 24px;
    box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04);
    transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.card:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 34px rgba(16, 24, 40, 0.10);
    border-color: #d3d6dd;
}
.card h3 { margin: 0 0 10px; font-size: 20px; letter-spacing: -0.01em; }
.card p { margin: 0; color: var(--muted); }

/* ---- Project cards ---- */
.project-card { padding-top: 30px; }
.project-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 62px;
    height: 62px;
    margin-bottom: 16px;
    border-radius: 16px;
    background: var(--ink);
    color: var(--accent);
}
.project-icon svg { width: 34px; height: 34px; fill: currentColor; }

/* ---- Featured / special-case project ---- */
.project-featured {
    margin-top: 22px;
    padding: 28px 26px;
    border-top: 4px solid var(--accent);
    background:
        linear-gradient(180deg, rgba(199, 217, 45, 0.08), transparent 140px),
        var(--paper);
}
.project-badge {
    display: inline-block;
    margin-bottom: 18px;
    padding: 5px 13px;
    background: var(--ink);
    color: var(--accent);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    border-radius: 999px;
}
.featured-inner {
    display: flex;
    gap: 22px;
    align-items: flex-start;
}
.featured-inner .project-icon {
    flex: none;
    margin-bottom: 0;
}
.featured-text h3 { margin: 0 0 10px; font-size: 22px; }
.project-note {
    margin: 0 0 14px;
    padding-left: 15px;
    border-left: 3px solid var(--accent);
    color: var(--ink);
    font-weight: 600;
}
.featured-text p:last-child { margin: 0; color: var(--muted); }

@media (max-width: 620px) {
    .featured-inner { flex-direction: column; }
}

/* Clickable featured card (links to the product page). */
.project-featured.is-link {
    display: block;
    text-decoration: none;
    color: inherit;
}
.project-featured.is-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 34px rgba(16, 24, 40, 0.10);
    border-color: #d3d6dd;
}
.featured-cta {
    display: inline-block;
    margin-top: 14px;
    font-weight: 700;
    color: var(--accent-ink);
    background: var(--accent);
    padding: 7px 15px;
    border-radius: 999px;
    font-size: 14px;
}

/* ---- Product page (kalyptor.php) ---- */
.product-hero {
    background:
        radial-gradient(1200px 400px at 50% -120px, rgba(199, 217, 45, 0.18), transparent 70%),
        var(--ink);
    color: #fff;
    text-align: center;
    padding: 72px 0 76px;
}
.product-hero-inner { text-align: center; }
.product-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 84px;
    height: 84px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.06);
    color: var(--accent);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.35);
}
.product-mark svg { width: 46px; height: 46px; fill: currentColor; }
.product-mark:has(img) { background: #fff; }
.product-mark img { width: 64px; height: 64px; }
.product-hero h1 {
    margin: 24px 0 12px;
    font-size: clamp(30px, 5vw, 46px);
    letter-spacing: -0.02em;
}
.product-hero .lead {
    margin: 0 auto 30px;
    max-width: 46ch;
    color: #c9ccd6;
    font-size: clamp(16px, 2.2vw, 19px);
}

.action-row {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
}
.action-note {
    margin: 18px auto 0;
    max-width: 52ch;
    color: #9aa0ad;
    font-size: 14px;
}
.section-alt .action-note { color: var(--muted); }

/* "Verify your download" disclosure under the hero download button. It sits on
   the dark product-hero, so everything is light-on-dark: translucent-white
   surfaces (like .product-mark) and the chartreuse accent for the marker. */
.verify-note {
    margin: 14px auto 0;
    max-width: 56ch;
    text-align: left;
    font-size: 14px;
    color: #c9ccd6;
}
.verify-note > summary {
    cursor: pointer;
    color: #fff;
    font-weight: 600;
    list-style: none;
    text-align: center;
}
.verify-note > summary::-webkit-details-marker { display: none; }
.verify-note > summary::before { content: "\25B8"; color: var(--accent); margin-right: 6px; }
.verify-note[open] > summary::before { content: "\25BE"; }
.verify-note p { margin: 8px 0; }
.verify-note strong { color: #fff; }
.verify-note code,
.verify-note .hash {
    font-family: ui-monospace, "Cascadia Code", Consolas, monospace;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #e6e8ee;
    font-size: 12.5px;
}
.verify-note code { padding: 1px 6px; border-radius: 6px; word-break: break-word; }
.verify-note .hash {
    display: block;
    padding: 8px 10px;
    margin: 4px 0 10px;
    border-radius: 8px;
    word-break: break-all;
}

.product-body { max-width: 780px; }
.product-body .section-title { text-align: left; }
.product-para {
    margin: 0 0 16px;
    color: var(--ink-soft);
    font-size: 17px;
}
/* Responsibility notice — a caution callout under the intro copy. Bold text,
   amber tones so it reads as "important, read this" without clashing with the
   lime accent. */
.review-notice {
    margin: 26px 0 6px;
    padding: 16px 20px;
    background: #fbf3df;
    border: 1px solid #e7d5a3;
    border-left: 5px solid #c9a227;
    border-radius: 10px;
    color: #4a3d12;
    font-size: 16px;
    line-height: 1.6;
}
.review-notice strong { font-weight: 700; }

.feature-grid { margin-top: 34px; }

.get-started { max-width: 780px; text-align: center; }
.steps {
    max-width: 560px;
    margin: 8px auto 30px;
    text-align: left;
    color: var(--ink-soft);
    font-size: 17px;
    line-height: 1.7;
    padding-left: 22px;
}
.steps li { margin-bottom: 8px; }

/* ---- Trial request form ---- */
.form-card { max-width: 480px; margin: 8px auto 0; text-align: left; }
.field { margin-bottom: 16px; }
.field label { display: block; font-weight: 600; margin-bottom: 6px; }
.field input[type="email"],
.field input[type="text"],
.field input[type="password"],
.field textarea {
    width: 100%;
    padding: 12px 14px;
    font-size: 16px;
    font-family: inherit;
    color: var(--ink);
    background: var(--paper);
    border: 1px solid var(--field-border);
    border-radius: 10px;
}
.field textarea {
    resize: vertical;
    min-height: 120px;
    line-height: 1.5;
}
.field input[type="email"]:focus,
.field input[type="text"]:focus,
.field input[type="password"]:focus,
.field textarea:focus {
    outline: none;
    border-color: var(--focus);
    box-shadow: 0 0 0 3px var(--focus);
}
.form-card .btn { border: 0; cursor: pointer; font-size: 16px; }
.form-note { margin: 14px 0 0; color: var(--muted); font-size: 13px; }
/* Update-email opt-in checkbox (trial form). */
.optin-field {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 0 0 16px;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.4;
    cursor: pointer;
}
.optin-field input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-top: 1px;
    flex: 0 0 auto;
    cursor: pointer;
}

/* On-screen activation key (shown on the trial-success page). Monospace, fully
   selectable, and wraps so a long token never overflows on mobile. */
.key-box {
    max-width: 560px;
    margin: 0 auto 14px;
    padding: 14px 16px;
    background: var(--mist);
    border: 1px solid var(--line);
    border-radius: 10px;
    text-align: center;
}
.key-value {
    font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
    font-size: 15px;
    color: var(--ink);
    word-break: break-all;
    -webkit-user-select: all;
    user-select: all;
}

/* Visually-hidden honeypot field. */
.hp {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

/* Result banners. */
.notice {
    max-width: 560px;
    margin: 0 auto 22px;
    padding: 15px 18px;
    border-radius: 12px;
    font-size: 16px;
    line-height: 1.5;
}
.notice-ok   { background: #f2f8db; border: 1px solid #d7e59a; color: #3f4a08; }
.notice-info { background: var(--mist); border: 1px solid var(--line); color: var(--ink-soft); }
.notice-err  { background: #fdecea; border: 1px solid #f3c6c0; color: #7a271d; }

/* ---- Contact ---- */
.contact-inner { text-align: center; }

/* ---- Footer ---- */
.site-footer {
    background: var(--ink);
    color: #aeb2bd;
    padding: 26px 0;
    font-size: 14px;
}
.footer-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 12px;
    text-align: center;
}
.footer-inner img { border-radius: 50%; background: #fff; padding: 3px; }
.footer-links { display: flex; gap: 16px; }
.footer-links a { color: #aeb2bd; text-decoration: none; }
.footer-links a:hover { color: #fff; text-decoration: underline; }

/* ---- Small layout utilities ---- */
/* These replace inline style="" attributes, which the site's Content-Security-
   Policy (style-src 'self', no 'unsafe-inline') forbids. Defined here, AFTER
   `.product-body .section-title { text-align: left }`, so `.text-center` wins the
   equal-specificity tie on the single-column form/message pages. */
.text-center { text-align: center; }
.product-body .text-center { text-align: center; }
.mt-0  { margin-top: 0; }
.mt-22 { margin-top: 22px; }
.mt-24 { margin-top: 24px; }

/* ---- Beta survey (beta-survey.php) ---- */
.survey { max-width: 640px; }
.q {
    border: 1px solid #d8e3f1;
    background: #eef4fb;                 /* pale blue */
    border-radius: var(--radius);
    padding: 20px 22px;
    margin: 0 0 20px;
}
.q legend {
    font-weight: 700;
    font-size: 15px;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 0 6px;
}
.q-prompt { margin: 2px 0 14px; font-weight: 600; }
.scale {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}
.scale-opt {
    flex: 1 1 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 46px;
    padding: 8px 10px;
    border: 1px solid var(--field-border);
    background: var(--paper);
    border-radius: 10px;
    cursor: pointer;
    font-weight: 700;
    transition: border-color .12s, background .12s;
}
.scale-opt:hover { border-color: var(--focus); }
.scale-opt input { accent-color: var(--accent-ink); width: 18px; height: 18px; }
/* Highlight the whole option when its radio is selected. */
.scale-opt:has(input:checked) {
    border-color: var(--focus);
    background: rgba(199, 217, 45, 0.14);
}
.scale-opt:focus-within { box-shadow: 0 0 0 3px var(--focus); }
.scale-ends {
    display: flex;
    justify-content: space-between;
    margin: 8px 2px 14px;
    font-size: 13px;
    color: var(--muted);
}
.q-comment-label { display: block; font-size: 14px; color: var(--muted); margin-bottom: 6px; }
.q textarea {
    width: 100%;
    padding: 10px 12px;
    font-family: inherit;
    font-size: 15px;
    color: var(--ink);
    background: var(--paper);
    border: 1px solid var(--field-border);
    border-radius: 10px;
    resize: vertical;
    min-height: 54px;
}
.q textarea:focus { outline: none; border-color: var(--focus); box-shadow: 0 0 0 3px var(--focus); }

/* Sub-questions inside a question box (e.g. the antivirus questions on install). */
.subq { margin-top: 16px; }
.subq-label { display: block; font-weight: 600; font-size: 15px; margin-bottom: 8px; }
.choices { display: flex; gap: 10px; flex-wrap: wrap; }
.choice {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 16px;
    border: 1px solid var(--field-border);
    background: var(--paper);
    border-radius: 999px;
    cursor: pointer;
    font-weight: 600;
}
.choice:hover { border-color: var(--focus); }
.choice input { accent-color: var(--accent-ink); width: 16px; height: 16px; }
.choice:has(input:checked) { border-color: var(--focus); background: rgba(199, 217, 45, 0.14); }
.choice:focus-within { box-shadow: 0 0 0 3px var(--focus); }
.subq select {
    width: 100%;
    padding: 12px 14px;
    font-size: 16px;
    font-family: inherit;
    color: var(--ink);
    background: var(--paper);
    border: 1px solid var(--field-border);
    border-radius: 10px;
}
.subq select:focus { outline: none; border-color: var(--focus); box-shadow: 0 0 0 3px var(--focus); }

/* Conditional follow-up: "Was it useful?" shows only when "Show me" = Yes.
   Pure CSS (no JS, so the CSP is untouched); the hidden radios are display:none
   so they're not tab-focusable until revealed, and the server ignores a stale
   value if the answer isn't Yes. */
.showme-useful { display: none; }
.q:has(#showme_used_yes:checked) .showme-useful { display: block; }
.ai-changes { display: none; }
.q:has(#ai_instr_changed_yes:checked) .ai-changes { display: block; }

/* ---- Admin dashboard (admin/index.php) ---- */
.dash-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 18px;
    margin: 24px 0 36px;
}
.dash-stat h3 { margin: 0 0 10px; font-size: 16px; }
.dash-avg { margin: 0 0 4px; display: flex; align-items: center; gap: 8px; }
.dash-avg-num { font-size: 28px; font-weight: 800; letter-spacing: -0.02em; }
.dash-avg-of { color: var(--muted); font-size: 14px; }
.meter-rating { width: 120px; height: 12px; }
.dash-n { margin: 0 0 12px; color: var(--muted); font-size: 13px; }
.dist { list-style: none; margin: 0; padding: 0; }
.dist li { display: flex; align-items: center; gap: 8px; margin-bottom: 4px; font-size: 13px; }
.dist-k { width: 1.2em; color: var(--muted); font-weight: 700; text-align: right; }
.dist-bar { flex: 1; height: 10px; }
.dist-n { width: 2em; color: var(--muted); }
.dash-h2 { font-size: 20px; margin: 10px 0 16px; }
.dash-row { margin-bottom: 14px; padding: 18px 20px; }
.dash-row-head {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 16px;
    align-items: baseline;
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--line);
}
.dash-date { font-weight: 700; }
.dash-email { color: var(--collar); font-weight: 600; }
.dash-ver { color: var(--muted); font-size: 13px; }
.dash-ratings { list-style: none; margin: 0; padding: 0; }
.dash-ratings li {
    display: grid;
    grid-template-columns: 220px 2.5em 1fr;
    gap: 10px;
    align-items: baseline;
    padding: 4px 0;
}
.dash-ratings-k { color: var(--muted); }
.dash-ratings-v { font-weight: 800; }
.dash-cmt { color: var(--ink-soft); }
.dash-av-line { margin: 0 0 10px; }
.dash-av-sub { margin: 0 0 8px; color: var(--muted); font-size: 13px; }
.dash-av-row {
    margin: 10px 0 0;
    padding-top: 8px;
    border-top: 1px dashed var(--line);
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    align-items: baseline;
}
@media (max-width: 620px) {
    .dash-ratings li { grid-template-columns: 1fr auto; }
    .dash-cmt { grid-column: 1 / -1; }
}

/* ---- Responsive ---- */
@media (max-width: 820px) {
    .grid-3 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 620px) {
    .site-nav { gap: 16px; font-size: 14px; }
    .brand-name { display: none; }
    .grid-3, .grid-2 { grid-template-columns: 1fr; }
    .section { padding: 56px 0; }
    .hero { padding: 60px 0 68px; }
}

/* ---- Reduced motion ---- */
/* Honor a user's request to minimize motion: no smooth-scroll animation, no
   hover lift, and near-instant transitions everywhere (final states kept). */
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after {
        animation-duration: .001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .001ms !important;
        scroll-behavior: auto !important;
    }
    .btn:hover,
    .card:hover,
    .project-featured.is-link:hover { transform: none; }
}

/* Legal documents (privacy.php, future legal pages) on the .product-body column.
   All styling lives here — the site's CSP (style-src 'self') blocks inline CSS. */
.legal-doc .doc-meta { color: var(--muted); margin: 0 0 8px; line-height: 1.6; }
.legal-doc h2 {
    margin: 36px 0 10px;
    padding-top: 18px;
    border-top: 1px solid var(--line);
    font-size: 20px;
    line-height: 1.3;
}
.legal-doc p  { margin: 0 0 14px; line-height: 1.65; color: var(--ink-soft); }
.legal-doc ul { margin: 0 0 16px; padding-left: 22px; }
.legal-doc li { margin: 0 0 10px; line-height: 1.6; color: var(--ink-soft); }
.legal-doc strong { color: var(--ink); }
.legal-doc code {
    font-family: ui-monospace, "Cascadia Code", Consolas, monospace;
    font-size: .92em;
    background: var(--mist);
    border: 1px solid var(--line);
    border-radius: 5px;
    padding: 1px 5px;
    word-break: break-word;
}
.table-wrap { overflow-x: auto; margin: 0 0 16px; }
.legal-doc table { width: 100%; border-collapse: collapse; font-size: 15px; }
.legal-doc th, .legal-doc td {
    border: 1px solid var(--line);
    padding: 10px 12px;
    text-align: left;
    vertical-align: top;
    line-height: 1.5;
}
.legal-doc th { background: var(--mist); color: var(--ink); font-weight: 600; }
.legal-doc td { color: var(--ink-soft); }

/* Installation guide (install.php). CSP (style-src 'self') blocks inline CSS,
   so the screenshot styling lives here. */
.guide-step { margin: 30px 0 36px; }
.guide-step h2 {
    margin: 0 0 8px;
    padding-top: 22px;
    border-top: 1px solid var(--line);
    font-size: 20px;
    line-height: 1.3;
}
.guide-step p { margin: 0 0 12px; line-height: 1.65; color: var(--ink-soft); }
.guide-step strong { color: var(--ink); }
.guide-fig { margin: 12px 0 0; }
.guide-img {
    display: block;
    width: 100%;
    max-width: 560px;        /* ~25% smaller than the text column; still legible */
    height: auto;
    margin: 0 auto;
    border: 1px solid var(--line);
    border-radius: 10px;
    box-shadow: 0 2px 12px rgba(22, 24, 29, .10);
}
.guide-cap { margin: 8px 0 0; text-align: center; color: var(--muted); font-size: 13px; }
