/* ============================================================
   VOLUNTARY DISCLOSURES PROGRAM (VDP) LANDING PAGE
   (core/templates/core/service_pages/voluntary-disclosures-program.html)

   Loaded with service-pages.css, which supplies the shared pieces (.cs-grid,
   sticky .cs-rail, cards, chips, quote factors, FAQ grid, reviews, offices,
   related). Everything here is prefixed .vd- and is this page's own look: a
   deep teal, ivory and gold "clean slate" hero whose signature is the
   four-question "does the VDP fit your situation?" check, two relief meters
   (general and partial relief), five numbered condition cards, a prompted /
   unprompted table, three year-count cards, a seven-step vertical timeline,
   a four-stage "after you apply" row, a mistakes grid and a three-way
   comparison table.

   Palette: teal #0f766e (white text on it is 5.5:1), deep #115e59 / #134e4a /
   #042f2e, tints #f0fdfa / #ccfbf1, border #a7ded6, bright #2dd4bf for
   decoration only (never small text). Gold: #fdf3d6 / #f5d98a, ink #78450a,
   deep gold #b45309 on #fffbeb for cautions. Ivory #fbf8ef. No red anywhere,
   and nothing loops: the only motion is a short hover lift.
   ============================================================ */

.vd-hero {
    font-family: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont,
        "Segoe UI", Roboto, sans-serif;
    background:
        radial-gradient(720px 360px at 96% -10%, rgba(45, 212, 191, 0.22) 0%, rgba(45, 212, 191, 0) 70%),
        radial-gradient(620px 340px at 0% 108%, rgba(245, 217, 138, 0.5) 0%, rgba(245, 217, 138, 0) 70%),
        linear-gradient(135deg, #fffdf6 0%, #f1fbf8 52%, #dcf3ee 100%) !important;
    border-bottom: 1px solid #a7ded6;
    padding: clamp(1.25rem, 2.5vw, 2rem) 0 0 !important;
}
.vd-hero > .container {
    max-width: none;
    width: 100%;
    padding-left: clamp(1.5rem, 6vw, 7rem);
    padding-right: clamp(1.5rem, 6vw, 7rem);
}
@media (min-width: 1280px) {
    .vd-hero > .container { padding-right: max(clamp(1.5rem, 6vw, 7rem), 108px); }
}

.vd-crumbs {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    font-weight: 600;
    color: #475569;
    margin-bottom: clamp(0.75rem, 2.5vw, 2rem);
}
.vd-crumbs a { display: inline-flex; align-items: center; min-height: 36px; color: #334155; text-decoration: none; }
.vd-crumbs a:hover { color: #0f766e; }
.vd-crumbs span[aria-current] { color: #0f172a; }
.vd-crumbs span[aria-hidden] { color: #94a3b8; }

.vd-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(340px, 0.95fr);
    gap: clamp(2rem, 4vw, 4rem);
    /* start, not center: the check changes height between questions and results,
       and a centred row would slide the card under the visitor's finger. */
    align-items: start;
}
.vd-eyebrow {
    display: inline-block;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #134e4a;
    background: #ccfbf1;
    border: 1px solid #a7ded6;
    border-radius: 999px;
    padding: 0.3rem 0.75rem;
    margin-bottom: 1rem;
}
.vd-hero h1 {
    font-family: "Space Grotesk", "Plus Jakarta Sans", sans-serif;
    font-size: clamp(1.7rem, 4vw, 3rem);
    font-weight: 700;
    line-height: 1.12;
    letter-spacing: -0.02em;
    color: #0f172a;
    margin: 0 0 1rem;
}
.vd-hero-intro { font-size: 1.06rem; line-height: 1.7; color: #1e293b; margin: 0 0 1.25rem; max-width: 680px; }
.vd-hero-points { list-style: none; margin: 0 0 1.75rem; padding: 0; display: grid; gap: 0.55rem; }
.vd-hero-points li { display: flex; align-items: flex-start; gap: 0.6rem; font-size: 0.95rem; font-weight: 600; line-height: 1.45; color: #1e293b; }
.vd-hero-points .cs-ico {
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    margin-top: 0;
    padding: 4px;
    border-radius: 50%;
    color: #ffffff;
    background: #0f766e;
    stroke-width: 3;
}
.vd-hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.vd-hero-actions .svc-rd-btn { font-size: 0.92rem; padding: 0.8rem 1.4rem; gap: 0.5rem; }
.vd-hero-actions .cs-ico { width: 16px; height: 16px; }

/* ---------- Signature tool: the VDP fit check ---------- */
.vd-tool {
    width: 100%;
    max-width: 520px;
    justify-self: end;
    background: #ffffff;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 30px 70px -28px rgba(4, 47, 46, 0.55), 0 2px 8px rgba(15, 23, 42, 0.05);
}
.vd-tool-head {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    padding: 1.05rem 1.4rem;
    background: linear-gradient(135deg, #042f2e 0%, #115e59 55%, #0f766e 100%);
}
.vd-tool-ico {
    display: grid;
    place-items: center;
    flex: 0 0 42px;
    width: 42px;
    height: 42px;
    color: #78450a;
    background: linear-gradient(140deg, #fdf3d6, #f5d98a);
    border-radius: 12px;
}
.vd-tool-ico .cs-ico { width: 22px; height: 22px; }
.vd-tool-title { margin: 0; font-family: "Space Grotesk", "Plus Jakarta Sans", sans-serif; font-size: 1.2rem; font-weight: 700; line-height: 1.2; color: #ffffff; }
.vd-tool-sub { display: block; font-size: 0.8rem; font-weight: 600; color: #ccfbf1; margin-top: 0.15rem; }
.vd-tool-body { padding: 1.1rem 1.4rem 1.3rem; }

.vd-tool-progress { display: flex; gap: 0.4rem; margin-bottom: 0.9rem; min-height: 6px; }
.vd-dot { flex: 1 1 0; height: 6px; border-radius: 999px; background: #d4ebe6; }
.vd-dot.is-done { background: #0f766e; }
.vd-dot.is-now { background: #5ec4b6; }
.vd-tool-intro { margin: 0 0 0.9rem; font-size: 0.9rem; line-height: 1.55; color: #334155; }
.vd-q-count { margin: 0 0 0.35rem; font-size: 0.72rem; font-weight: 800; letter-spacing: 0.05em; text-transform: uppercase; color: #475569; }
.vd-q { margin: 0 0 0.3rem; font-family: "Space Grotesk", "Plus Jakarta Sans", sans-serif; font-size: 1.15rem; font-weight: 700; line-height: 1.3; color: #0f172a; }
.vd-q-hint { margin: 0 0 0.9rem; font-size: 0.85rem; line-height: 1.5; color: #475569; }
.vd-opts { display: grid; gap: 0.5rem; }
.vd-opt {
    display: flex;
    align-items: center;
    width: 100%;
    min-height: 46px;
    padding: 0.6rem 0.95rem;
    font: inherit;
    font-size: 0.92rem;
    font-weight: 700;
    text-align: left;
    color: #134e4a;
    background: #f0fdfa;
    border: 1.5px solid #a7ded6;
    border-radius: 12px;
    cursor: pointer;
    transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}
.vd-opt:active { transform: translateY(1px); }
.vd-opt:focus-visible, .vd-send:focus-visible, .vd-link-btn:focus-visible { outline: 3px solid #5ec4b6; outline-offset: 2px; }

.vd-tool-nav { display: flex; justify-content: space-between; gap: 0.75rem; margin-top: 0.9rem; }
.vd-link-btn {
    min-height: 36px;
    padding: 0 0.2rem;
    font: inherit;
    font-size: 0.85rem;
    font-weight: 700;
    color: #0f766e;
    background: none;
    border: 0;
    text-decoration: underline;
    text-underline-offset: 3px;
    cursor: pointer;
}
.vd-link-btn[hidden] { display: none; }
.vd-noscript { margin: 0.75rem 0 0; font-size: 0.85rem; color: #334155; }

.vd-result { padding: 1rem 1.05rem; border-radius: 14px; border: 1.5px solid; }
.vd-result-good { background: #f0fdfa; border-color: #5ec4b6; }
.vd-result-mid { background: #fffbeb; border-color: #f0cf7f; }
.vd-result-warn { background: #fff7ed; border-color: #fdba74; }
.vd-result-title { margin: 0 0 0.4rem; font-family: "Space Grotesk", "Plus Jakarta Sans", sans-serif; font-size: 1.12rem; font-weight: 700; line-height: 1.25; color: #0f172a; }
.vd-result-text { margin: 0 0 0.6rem; font-size: 0.9rem; line-height: 1.6; color: #1e293b; }
.vd-result-next { margin: 0; font-size: 0.85rem; line-height: 1.5; font-weight: 700; color: #134e4a; }
.vd-send {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 48px;
    margin-top: 0.85rem;
    padding: 0.65rem 1rem;
    font: inherit;
    font-size: 0.95rem;
    font-weight: 800;
    color: #ffffff;
    background: linear-gradient(135deg, #115e59, #0f766e);
    border: 0;
    border-radius: 12px;
    box-shadow: 0 4px 0 #042f2e;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.vd-send:active { transform: translateY(2px); box-shadow: 0 2px 0 #042f2e; }
.vd-disclaimer { margin: 0.7rem 0 0; font-size: 0.78rem; line-height: 1.45; color: #475569; text-align: center; }

.vd-stats {
    list-style: none;
    margin: clamp(1.75rem, 3.5vw, 2.75rem) 0 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-top: 1px solid #a7ded6;
}
.vd-stats li { padding: 1.15rem 1rem 1.3rem; text-align: center; }
.vd-stats li + li { border-left: 1px solid #a7ded6; }
.vd-stats strong {
    display: block;
    font-family: "Space Grotesk", "Plus Jakarta Sans", sans-serif;
    font-size: clamp(1.3rem, 2.4vw, 1.9rem);
    font-weight: 700;
    color: #0f766e;
    line-height: 1.15;
}
.vd-stats span { display: block; font-size: 0.82rem; font-weight: 600; color: #475569; margin-top: 0.2rem; }

/* ---------- Shared pieces ---------- */
.vd-note {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
    margin: 1rem 0 0;
    padding: 0.95rem 1.1rem;
    background: #f0fdfa;
    border: 1px dashed #2f9d91;
    border-radius: 14px;
}
.vd-note .cs-ico { flex-shrink: 0; width: 22px; height: 22px; margin-top: 0.1rem; color: #0f766e; }
.vd-note span { font-size: 0.9rem; line-height: 1.6; color: #1e293b; }
.vd-note-gold { background: #fffbeb; border-color: #d9a441; }
.vd-note-gold .cs-ico { color: #b45309; }

.vd-incl .cs-tile,
.vd-decides .cs-tile {
    color: #0f766e;
    background: linear-gradient(140deg, #f0fdfa, #ccfbf1);
    border-color: #a7ded6;
    transition: transform 0.3s cubic-bezier(0.3, 1.5, 0.5, 1), background 0.25s, color 0.25s;
}

/* ---------- Relief: two meters ---------- */
.vd-reliefs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.vd-relief { border-radius: 18px; padding: 1.2rem 1.3rem 1.3rem; border: 1px solid; }
.vd-relief-general { background: linear-gradient(165deg, #f0fdfa 0%, #ffffff 75%); border-color: #a7ded6; }
.vd-relief-partial { background: linear-gradient(165deg, #fdf8ea 0%, #ffffff 75%); border-color: #ecd9a8; }
.vd-relief-tag { display: inline-block; padding: 0.25rem 0.75rem; font-size: 0.7rem; font-weight: 800; letter-spacing: 0.05em; text-transform: uppercase; border-radius: 999px; }
.vd-relief-general .vd-relief-tag { color: #134e4a; background: #ccfbf1; }
.vd-relief-partial .vd-relief-tag { color: #78450a; background: #f8e2ab; }
.vd-relief h3 { font-family: "Space Grotesk", "Plus Jakarta Sans", sans-serif; font-size: 1.25rem; font-weight: 700; color: #0f172a; margin: 0.8rem 0 0.1rem; }
.vd-relief-name { margin: 0 0 0.9rem; font-size: 0.85rem; font-weight: 700; color: #475569; }
/* Two ring gauges per card: the arc is the share of the penalty or interest the CRA can cancel. */
.vd-rings { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; margin-bottom: 1.1rem; }
.vd-ring-wrap { display: flex; flex-direction: column; align-items: center; text-align: center; }
.vd-ring {
    --track: #dcebe7;
    --bg: #ffffff;
    position: relative;
    display: grid;
    place-items: center;
    width: clamp(108px, 70%, 136px);
    aspect-ratio: 1;
    border-radius: 50%;
    background: conic-gradient(from 0deg, var(--arc-a, #0f766e) 0%, var(--arc-b, #2dd4bf) calc(var(--p) * 1%), var(--track) 0);
    box-shadow: 0 10px 22px -14px rgba(4, 47, 46, 0.55);
}
.vd-ring::before { content: ""; position: absolute; inset: 13px; border-radius: 50%; background: var(--bg); }
.vd-relief-partial .vd-ring { --arc-a: #b45309; --arc-b: #f0b955; --track: #f1e6c8; }
.vd-ring-in { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; line-height: 1; }
.vd-ring-in small { margin-bottom: 0.2rem; font-size: 0.68rem; font-weight: 800; letter-spacing: 0.05em; text-transform: uppercase; color: #78450a; }
.vd-ring-in strong { font-family: "Space Grotesk", "Plus Jakarta Sans", sans-serif; font-size: 1.85rem; font-weight: 700; color: #0f172a; }
.vd-ring-label { margin-top: 0.65rem; font-size: 0.95rem; font-weight: 800; color: #0f172a; }
.vd-ring-text { margin-top: 0.1rem; font-size: 0.78rem; font-weight: 600; line-height: 1.35; color: #475569; }
.vd-relief-points { margin: 0; padding-left: 1.1rem; display: grid; gap: 0.4rem; }
.vd-relief-points li { font-size: 0.87rem; line-height: 1.55; color: #1e293b; }
.vd-relief-points li::marker { color: #0f766e; }

/* ---------- Eligibility: five numbered cards ---------- */
.vd-conds { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 1.6rem 1rem; }
.vd-cond { grid-column: span 2; }
.vd-cond:nth-child(n+4) { grid-column: span 3; }
.vd-cond {
    position: relative;
    background: #ffffff;
    border: 1px solid #cfe7e2;
    border-radius: 16px;
    padding: 1.9rem 1.05rem 1.1rem;
    transition: transform 0.25s cubic-bezier(0.2, 0.7, 0.2, 1), box-shadow 0.25s ease;
}
.vd-cond-num {
    position: absolute;
    top: -18px;
    left: 14px;
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    font-family: "Space Grotesk", "Plus Jakarta Sans", sans-serif;
    font-size: 1.15rem;
    font-weight: 700;
    color: #ffffff;
    background: linear-gradient(140deg, #042f2e, #0f766e);
    border-radius: 50%;
    box-shadow: 0 0 0 4px #ffffff, 0 0 0 5px #a7ded6;
}
.vd-cond-ico { display: grid; place-items: center; width: 40px; height: 40px; margin-bottom: 0.6rem; color: #0f766e; background: #ccfbf1; border-radius: 11px; }
.vd-cond-ico .cs-ico { width: 21px; height: 21px; }
.vd-cond h3 { font-family: "Space Grotesk", "Plus Jakarta Sans", sans-serif; font-size: 1.02rem; font-weight: 700; color: #0f172a; margin: 0 0 0.3rem; }
.vd-cond p { margin: 0; font-size: 0.86rem; line-height: 1.55; color: #334155; }

.vd-not { margin-top: 1.4rem; padding: 1.1rem 1.25rem; background: #fffbeb; border: 1px solid #f0cf7f; border-radius: 16px; }
.vd-not h3 { display: flex; align-items: center; gap: 0.5rem; margin: 0 0 0.35rem; font-family: "Space Grotesk", "Plus Jakarta Sans", sans-serif; font-size: 1.1rem; color: #0f172a; }
.vd-not h3 .cs-ico { width: 22px; height: 22px; color: #b45309; }
.vd-not p { margin: 0 0 0.5rem; font-size: 0.9rem; line-height: 1.55; color: #1e293b; }
.vd-not ul { margin: 0 0 0.6rem; padding-left: 1.15rem; display: grid; gap: 0.3rem; }
.vd-not li { font-size: 0.88rem; line-height: 1.5; color: #1e293b; }
.vd-not li::marker { color: #b45309; }
.vd-not .vd-not-note { margin: 0; font-weight: 600; color: #78450a; }

/* ---------- Tables (prompted vs unprompted, options) ---------- */
.vd-table-wrap { overflow-x: auto; border: 1px solid #cfe7e2; border-radius: 16px; background: #ffffff; }
.vd-table { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
.vd-table thead th {
    padding: 0.8rem 1rem;
    text-align: left;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #ffffff;
    background: linear-gradient(135deg, #042f2e, #115e59);
}
.vd-table tbody th, .vd-table tbody td { padding: 0.85rem 1rem; text-align: left; vertical-align: top; line-height: 1.55; color: #1e293b; border-top: 1px solid #e0eeea; }
.vd-table tbody th { font-weight: 700; color: #0f172a; }
.vd-table tbody tr:nth-child(even) { background: #f7fcfb; }
.vd-pill { display: inline-block; padding: 0.2rem 0.65rem; font-size: 0.75rem; font-weight: 800; border-radius: 999px; white-space: nowrap; }
.vd-pill-unprompted { color: #134e4a; background: #ccfbf1; }
.vd-pill-prompted { color: #78450a; background: #f8e2ab; }
.vd-pill-not-voluntary { color: #7c2d12; background: #fed7aa; }
.vd-table-opts tbody th { width: 17%; }

/* ---------- Years of records ---------- */
.vd-years { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.vd-year { padding: 1.1rem 1.1rem 1.2rem; background: linear-gradient(170deg, #fdf8ea 0%, #ffffff 80%); border: 1px solid #ecd9a8; border-radius: 16px; }
.vd-year-num { display: flex; align-items: baseline; gap: 0.4rem; font-family: "Space Grotesk", "Plus Jakarta Sans", sans-serif; font-size: 3rem; font-weight: 700; line-height: 1; color: #0f766e; }
.vd-year-num small { font-size: 0.95rem; font-weight: 700; color: #78450a; }
.vd-year h3 { margin: 0.6rem 0 0.25rem; font-family: "Space Grotesk", "Plus Jakarta Sans", sans-serif; font-size: 1.02rem; color: #0f172a; }
.vd-year p { margin: 0; font-size: 0.86rem; line-height: 1.55; color: #334155; }
.vd-checks { list-style: none; margin: 1rem 0 0; padding: 0; display: grid; gap: 0.5rem; }
.vd-checks li { display: flex; gap: 0.6rem; align-items: flex-start; font-size: 0.9rem; line-height: 1.55; color: #1e293b; }
.vd-checks .cs-ico { flex-shrink: 0; width: 20px; height: 20px; margin-top: 0.1rem; padding: 3px; color: #ffffff; background: #0f766e; border-radius: 50%; stroke-width: 3; }

/* ---------- Process: vertical timeline ---------- */
.vd-timeline { list-style: none; margin: 0; padding: 0; position: relative; display: grid; gap: 0.9rem; }
.vd-timeline::before { content: ""; position: absolute; top: 20px; bottom: 20px; left: 19px; width: 2px; background: linear-gradient(#0f766e, #a7ded6); }
.vd-tl { position: relative; display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 0.9rem; align-items: start; }
.vd-tl-dot {
    position: relative;
    z-index: 1;
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    font-family: "Space Grotesk", "Plus Jakarta Sans", sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: #ffffff;
    background: linear-gradient(140deg, #042f2e, #0f766e);
    border-radius: 50%;
    box-shadow: 0 0 0 4px #ffffff;
}
.vd-tl-card {
    display: flex;
    gap: 0.85rem;
    align-items: flex-start;
    padding: 0.95rem 1.05rem;
    background: #ffffff;
    border: 1px solid #cfe7e2;
    border-radius: 14px;
    transition: transform 0.25s cubic-bezier(0.2, 0.7, 0.2, 1), box-shadow 0.25s ease;
}
.vd-tl-ico { display: grid; place-items: center; flex: 0 0 40px; width: 40px; height: 40px; color: #0f766e; background: #ccfbf1; border-radius: 11px; }
.vd-tl-ico .cs-ico { width: 21px; height: 21px; }
.vd-tl-card h3 { margin: 0 0 0.2rem; font-family: "Space Grotesk", "Plus Jakarta Sans", sans-serif; font-size: 1.02rem; color: #0f172a; }
.vd-tl-card p { margin: 0; font-size: 0.88rem; line-height: 1.55; color: #334155; }

.vd-callout { display: flex; gap: 0.9rem; align-items: flex-start; margin-top: 1.2rem; padding: 1rem 1.15rem; background: linear-gradient(135deg, #fdf3d6, #fff9e8); border: 1px solid #ecd9a8; border-radius: 14px; }
.vd-callout-ico { display: grid; place-items: center; flex: 0 0 40px; width: 40px; height: 40px; color: #78450a; background: #f8e2ab; border-radius: 11px; }
.vd-callout-ico .cs-ico { width: 21px; height: 21px; }
.vd-callout strong { display: block; font-family: "Space Grotesk", "Plus Jakarta Sans", sans-serif; font-size: 1.02rem; color: #0f172a; margin-bottom: 0.15rem; }
.vd-callout p { margin: 0; font-size: 0.9rem; line-height: 1.6; color: #1e293b; }

/* ---------- After you apply: four stages ---------- */
.vd-after { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0.85rem; counter-reset: vdafter; }
.vd-after-step { position: relative; padding: 1.1rem 0.95rem 1.1rem; background: linear-gradient(170deg, #f0fdfa 0%, #ffffff 80%); border: 1px solid #cfe7e2; border-radius: 16px; }
.vd-after-step:not(:last-child)::after { content: "\2192"; position: absolute; top: 50%; right: -0.85rem; z-index: 1; width: 0.85rem; text-align: center; font-size: 1rem; font-weight: 800; color: #0f766e; transform: translateY(-50%); }
.vd-after-ico { display: grid; place-items: center; width: 42px; height: 42px; margin-bottom: 0.65rem; color: #ffffff; background: linear-gradient(140deg, #115e59, #0f766e); border-radius: 12px; }
.vd-after-ico .cs-ico { width: 22px; height: 22px; }
.vd-after-step h3 { margin: 0 0 0.3rem; font-family: "Space Grotesk", "Plus Jakarta Sans", sans-serif; font-size: 1.02rem; color: #0f172a; }
.vd-after-step p { margin: 0; font-size: 0.85rem; line-height: 1.55; color: #334155; }

/* ---------- Mistakes ---------- */
.vd-mistakes { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.85rem; }
.vd-mistake { display: flex; gap: 0.85rem; align-items: flex-start; padding: 1rem 1.05rem; background: #fffdf5; border: 1px solid #ecd9a0; border-radius: 14px; box-shadow: 0 3px 0 #ecd9a0; }
.vd-mistake-num { flex: 0 0 30px; display: grid; place-items: center; width: 30px; height: 30px; font-family: "Space Grotesk", "Plus Jakarta Sans", sans-serif; font-size: 0.95rem; font-weight: 700; color: #ffffff; background: #b45309; border-radius: 50%; }
.vd-mistake h3 { margin: 0 0 0.2rem; font-family: "Space Grotesk", "Plus Jakarta Sans", sans-serif; font-size: 1rem; color: #0f172a; }
.vd-mistake p { margin: 0; font-size: 0.86rem; line-height: 1.55; color: #1e293b; }

/* ---------- Included + decides ---------- */
.vd-incl { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.85rem 1.25rem; }
.vd-incl li { display: flex; gap: 0.8rem; align-items: flex-start; }
.vd-incl h3 { margin: 0 0 0.15rem; font-family: "Space Grotesk", "Plus Jakarta Sans", sans-serif; font-size: 1rem; color: #0f172a; }
.vd-incl p { margin: 0; font-size: 0.87rem; line-height: 1.55; color: #334155; }
.vd-decides { display: flex; gap: 0.9rem; align-items: flex-start; margin-top: 1.2rem; padding: 1.05rem 1.2rem; background: #f0fdfa; border: 1px solid #a7ded6; border-radius: 16px; }
.vd-decides strong { display: block; font-family: "Space Grotesk", "Plus Jakarta Sans", sans-serif; font-size: 1.05rem; color: #0f172a; margin-bottom: 0.2rem; }
.vd-decides p { margin: 0; font-size: 0.9rem; line-height: 1.6; color: #1e293b; }

/* ---------- Official sources ---------- */
.vd-sources { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.75rem; }
.vd-source {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    min-height: 62px;
    padding: 0.75rem 0.9rem;
    color: inherit;
    text-decoration: none;
    background: #ffffff;
    border: 1px solid #cfe7e2;
    border-radius: 14px;
    box-shadow: 0 2px 0 #d7ebe7;
    transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}
.vd-source-ico { display: grid; place-items: center; flex: 0 0 38px; width: 38px; height: 38px; color: #0f766e; background: #ccfbf1; border-radius: 11px; }
.vd-source-ico .cs-ico { width: 20px; height: 20px; }
.vd-source-text { flex: 1 1 auto; min-width: 0; }
.vd-source-text strong { display: block; font-size: 0.92rem; line-height: 1.3; color: #0f172a; }
.vd-source-text em { display: block; font-style: normal; font-size: 0.78rem; font-weight: 600; color: #475569; }
.vd-source-go { display: grid; place-items: center; flex: 0 0 34px; width: 34px; height: 34px; color: #ffffff; background: #0f766e; border-radius: 50%; transition: transform 0.2s ease, background 0.2s ease; }
.vd-source-go .cs-ico { width: 16px; height: 16px; }
.vd-source:focus-visible { outline: 3px solid #5ec4b6; outline-offset: 2px; }
.vd-source:active { transform: translateY(1px); box-shadow: 0 1px 0 #d7ebe7; }

/* Link to the taxpayer relief page under the options table. */
.vd-more-link { margin: 0.75rem 0 0; }
.vd-more-link a { display: inline-flex; align-items: center; gap: 0.35rem; min-height: 36px; font-size: 0.92rem; font-weight: 800; color: #0f766e; text-decoration: underline; text-underline-offset: 3px; }
.vd-more-link a:hover { color: #134e4a; }

/* ---------- Hover (mouse only) ---------- */
@media (hover: hover) and (pointer: fine) {
    .vd-cond:hover, .vd-tl-card:hover, .vd-after-step:hover { transform: translateY(-4px); box-shadow: 0 18px 32px -18px rgba(4, 47, 46, 0.5); }
    .vd-opt:hover { border-color: #0f766e; background: #ccfbf1; transform: translateY(-1px); }
    .vd-send:hover { transform: translateY(-2px); box-shadow: 0 5px 0 #042f2e, 0 16px 26px -14px rgba(4, 47, 46, 0.8); }
    .vd-incl li:hover .cs-tile {
        transform: rotate(-8deg) scale(1.1);
        color: #ffffff;
        background: linear-gradient(135deg, #042f2e, #0f766e);
        border-color: transparent;
    }
    .vd-source:hover { border-color: #0f766e; background: #f0fdfa; transform: translateY(-3px); box-shadow: 0 2px 0 #d7ebe7, 0 16px 26px -16px rgba(4, 47, 46, 0.6); }
    .vd-source:hover .vd-source-go { background: #042f2e; transform: translate(2px, -2px); }
}
@media (prefers-reduced-motion: reduce) {
    .vd-cond, .vd-tl-card, .vd-after-step, .vd-opt, .vd-send, .vd-incl .cs-tile, .vd-source, .vd-source-go { transition: none !important; }
    .vd-cond:hover, .vd-tl-card:hover, .vd-after-step:hover, .vd-opt:hover, .vd-send:hover, .vd-incl li:hover .cs-tile, .vd-source:hover, .vd-source:hover .vd-source-go { transform: none !important; }
}

/* ============ Responsive ============ */
@media (max-width: 1200px) {
    .vd-after { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .vd-after-step:not(:last-child)::after { display: none; }
    .vd-conds { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .vd-cond:nth-child(n) { grid-column: auto; }
    .vd-cond:last-child:nth-child(odd) { grid-column: 1 / -1; }
}
@media (max-width: 991px) {
    .vd-hero-grid { grid-template-columns: minmax(0, 1fr); }
    .vd-tool { justify-self: start; max-width: 560px; }
    .vd-reliefs { grid-template-columns: minmax(0, 1fr); }
    .vd-years { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 767px) {
    .vd-incl, .vd-sources, .vd-mistakes { grid-template-columns: minmax(0, 1fr); }
    .vd-table-wrap { border: 0; background: transparent; overflow: visible; }
    .vd-table, .vd-table thead, .vd-table tbody, .vd-table tr, .vd-table th, .vd-table td { display: block; }
    .vd-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
    .vd-table tbody tr { margin-bottom: 0.75rem; background: #ffffff; border: 1px solid #cfe7e2; border-radius: 14px; overflow: hidden; }
    .vd-table tbody tr:nth-child(even) { background: #ffffff; }
    .vd-table tbody th, .vd-table tbody td { width: auto; border-top: 0; padding: 0.55rem 0.95rem; }
    .vd-table tbody th { background: #f0fdfa; padding-top: 0.75rem; }
    .vd-table tbody td[data-label]::before { content: attr(data-label); display: block; margin-bottom: 0.1rem; font-size: 0.7rem; font-weight: 800; letter-spacing: 0.05em; text-transform: uppercase; color: #475569; }
    .vd-table-opts tbody th { width: auto; }
}
@media (max-width: 640px) {
    .vd-rings { gap: 0.6rem; }
    .vd-ring-in strong { font-size: 1.5rem; }
    .vd-hero-actions .svc-rd-btn { width: 100%; justify-content: center; }
    .vd-stats { grid-template-columns: minmax(0, 1fr); }
    .vd-stats li + li { border-left: 0; border-top: 1px solid #a7ded6; }
    .vd-conds, .vd-after { grid-template-columns: minmax(0, 1fr); }
    .vd-cond:last-child:nth-child(odd) { grid-column: auto; }
    .vd-tool-body { padding: 1rem 1rem 1.2rem; }
    .vd-tool-head { padding: 1rem; }
    .vd-timeline::before { left: 15px; }
    .vd-tl { grid-template-columns: 32px minmax(0, 1fr); gap: 0.7rem; }
    .vd-tl-dot { width: 32px; height: 32px; font-size: 0.95rem; }
    .vd-tl-card { flex-direction: column; gap: 0.6rem; }
}

/* Link under a hero-check result. */
.vd-result-link { display: inline-flex; align-items: center; min-height: 36px; margin-top: 0.4rem; font-size: 0.88rem; font-weight: 800; color: #0f766e; text-decoration: underline; text-underline-offset: 3px; }
.vd-result-link:hover { color: #134e4a; }
