/*
 * HORSE PROTECTOR Desktop — /hp-desktop only.
 *
 * Every rule is prefixed .hpd-page (the body class added by acaris-hp-desktop.php),
 * so nothing here can reach another page on the site.
 *
 * Design source: "HP Desktop Page.dc.html", Claude Design project 58e83dec-….
 * Values below are that file's, with one deliberate substitution: the site's own
 * Satoshi is used instead of the design's Poppins, so no Google Fonts request is
 * added and the page does not clash with the real header.
 *
 * The design is a fixed 1440px canvas with no mobile artwork. The breakpoints at
 * the bottom of this file are therefore DERIVED, not designed, and need their own
 * review round at 390px.
 *
 * Section order matches the template top to bottom.
 */

.hpd-page {
    --hpd-ground:  #edfcff;
    --hpd-surface: #ffffff;
    --hpd-navy:    #101a3a;
    --hpd-ink:     #16224a;
    --hpd-body:    #4a5578;
    --hpd-muted:   #7b859f;
    --hpd-green:   #4ac997;
    --hpd-green-d: #3bb98a;
    --hpd-accent:  #0f9e78;
    --hpd-onnavy:  #a9b6d4;
    --hpd-onnavy2: #8fa0c4;
    --hpd-line:    rgba(22, 34, 74, 0.12);
    --hpd-navyline: rgba(143, 160, 196, 0.28);

    --hpd-wrap:    1240px;
    --hpd-gutter:  40px;
    --hpd-radius:  14px;
    --hpd-section: 92px;
}

/* --- ground -------------------------------------------------------------- */

.hpd-page,
.hpd-page .hpd-main { background: var(--hpd-ground); }

.hpd-page .hpd-main {
    color: #1b2547;
    font-family: 'Satoshi', system-ui, -apple-system, sans-serif;
    -webkit-font-smoothing: antialiased;
}

.hpd-page .hpd-main *,
.hpd-page .hpd-main *::before,
.hpd-page .hpd-main *::after { box-sizing: border-box; }

.hpd-page .hpd-main a { text-decoration: none; }

/* The theme sets margins on bare headings and paragraphs inside main (main.css
   gives h1/h2 a 30px bottom margin); the component classes below all set their
   own, so neutralise the inherited ones first.
   :where() so this reset carries ZERO specificity — otherwise an element-level
   reset like `.hpd-page .hpd-main h1` (0,2,1) outranks `.hpd-page .hpd-h1`
   (0,2,0) and silently eats every margin the design asks for. */
:where(.hpd-page .hpd-main) :where(h1, h2, h3, h4, p) { margin: 0; }

/* --- containers ---------------------------------------------------------- */
/* Deliberately NOT the theme's .container, which main.css:1699 resets to
   width:100%; padding:0 80px above 1200px, and which main.js bleeds media out of
   via inline widths on .jsChangedBlock. */

.hpd-page .hpd-wrap {
    max-width: var(--hpd-wrap);
    margin: 0 auto;
    padding: 0 var(--hpd-gutter);
}

.hpd-page .hpd-wrap--narrow { max-width: 920px; }

.hpd-page .hpd-section { padding: var(--hpd-section) 0; }
.hpd-page .hpd-section--white { background: var(--hpd-surface); }
.hpd-page .hpd-section--navy  { background: var(--hpd-navy); color: #fff; }

/* --- type ---------------------------------------------------------------- */

.hpd-page .hpd-h1 {
    font-size: 50px; line-height: 1.1; font-weight: 600;
    letter-spacing: -0.015em; margin: 0 0 22px; text-wrap: pretty;
    color: var(--hpd-ink);
}

.hpd-page .hpd-h2 {
    font-size: 40px; line-height: 1.15; font-weight: 600;
    letter-spacing: -0.01em; margin: 0 0 16px; color: var(--hpd-ink);
}
.hpd-page .hpd-h2--sm         { font-size: 38px; line-height: 1.18; }
.hpd-page .hpd-h2--onnavy     { color: #fff; }
.hpd-page .hpd-h2--spaced     { margin-bottom: 52px; }
.hpd-page .hpd-h2--spaced-sm  { margin-bottom: 46px; }

.hpd-page .hpd-h3 { font-size: 22px; font-weight: 600; margin: 0 0 10px; color: var(--hpd-ink); }
.hpd-page .hpd-h3--step   { font-size: 21px; }
.hpd-page .hpd-h3--cap    { font-size: 26px; line-height: 1.25; margin-bottom: 14px; }
.hpd-page .hpd-h3--onnavy { font-size: 21px; color: #fff; }

.hpd-page .hpd-h4 { font-size: 18px; font-weight: 600; line-height: 1.35; margin: 0 0 10px; color: var(--hpd-ink); }

.hpd-page .hpd-p { font-size: 15px; line-height: 1.6; color: var(--hpd-body); }
.hpd-page .hpd-p--sm     { font-size: 14.5px; }
.hpd-page .hpd-p--cap    { font-size: 15.5px; line-height: 1.65; }
.hpd-page .hpd-p--emph   { color: var(--hpd-ink); font-weight: 500; margin-top: 16px; }
.hpd-page .hpd-p--narrow { max-width: 520px; }
.hpd-page .hpd-p--onnavy { font-size: 14.5px; color: var(--hpd-onnavy); }

.hpd-page .hpd-lead {
    font-size: 16.5px; line-height: 1.65; color: var(--hpd-body);
    margin: 0 0 34px; max-width: 540px; text-wrap: pretty;
}
.hpd-page .hpd-lead--onnavy { font-size: 17px; color: var(--hpd-onnavy); }
.hpd-page .hpd-lead--tight  { margin-bottom: 26px; }

.hpd-page .hpd-eyebrow {
    font-size: 11.5px; font-weight: 700; letter-spacing: 0.16em;
    color: var(--hpd-muted); text-transform: none;
}
.hpd-page .hpd-eyebrow--green  { color: var(--hpd-green); letter-spacing: 0.18em; margin-bottom: 16px; }
.hpd-page .hpd-eyebrow--accent { color: var(--hpd-accent); margin-bottom: 16px; }
.hpd-page .hpd-eyebrow--onnavy { color: var(--hpd-onnavy2); }
.hpd-page .hpd-eyebrow--muted  { color: var(--hpd-muted); margin-bottom: 22px; }

.hpd-page .hpd-footnote { font-size: 13px; color: #7f8db0; margin: 36px 0 0; }
.hpd-page .hpd-note     { font-size: 13.5px; color: var(--hpd-muted); }

/* --- buttons ------------------------------------------------------------- */

.hpd-page .hpd-btn {
    display: inline-block; font-size: 15px; font-weight: 600;
    padding: 16px 30px; border-radius: 6px; transition: background .15s, border-color .15s;
    cursor: pointer;
}
.hpd-page .hpd-btn--primary { background: var(--hpd-green); color: #0d2a22; }
.hpd-page .hpd-btn--primary:hover { background: var(--hpd-green-d); color: #0d2a22; }
.hpd-page .hpd-btn--ghost {
    border: 1.5px solid rgba(22, 34, 74, 0.22); color: var(--hpd-ink); background: transparent;
}
.hpd-page .hpd-btn--ghost:hover { border-color: var(--hpd-ink); color: var(--hpd-ink); }
.hpd-page .hpd-btn--sm { font-size: 14.5px; padding: 13px 24px; }
.hpd-page .hpd-btn--md { padding: 15px 28px; }   /* capacity section, per design */
.hpd-page .hpd-btn--lg { font-size: 16px; padding: 18px 36px; }
.hpd-page .hpd-btn.is-disabled {
    color: var(--hpd-muted); border-color: rgba(22, 34, 74, 0.14);
    cursor: default; pointer-events: none;
}

.hpd-page .hpd-actions { display: flex; gap: 14px; align-items: center; }
.hpd-page .hpd-actions--wrap { flex-wrap: wrap; }

/* --- breadcrumb ---------------------------------------------------------- */

.hpd-page .hpd-breadcrumb {
    background: var(--hpd-surface);
    border-bottom: 1px solid rgba(22, 34, 74, 0.07);
}
.hpd-page .hpd-breadcrumb .hpd-wrap {
    display: flex; gap: 8px; padding-top: 14px; padding-bottom: 14px;
    font-size: 13px; color: var(--hpd-muted);
}
.hpd-page .hpd-breadcrumb a { color: var(--hpd-muted); }
.hpd-page .hpd-breadcrumb a:hover { color: var(--hpd-ink); }
.hpd-page .hpd-breadcrumb .is-current { color: var(--hpd-ink); font-weight: 500; }

/* --- 1. hero ------------------------------------------------------------- */

.hpd-page .hpd-hero { padding: 76px 0 84px; }

.hpd-page .hpd-hero__grid {
    display: grid; grid-template-columns: 1.02fr 1fr; gap: 56px; align-items: center;
}

.hpd-page .hpd-eyebrow-row { display: flex; align-items: center; gap: 14px; margin-bottom: 22px; }

.hpd-page .hpd-badge {
    border: 1px solid var(--hpd-accent); color: var(--hpd-accent);
    font-size: 11px; font-weight: 700; letter-spacing: 0.14em;
    padding: 6px 13px; border-radius: 20px; white-space: nowrap;
}
.hpd-page .hpd-eyebrow-row .hpd-eyebrow { font-size: 13px; font-weight: 500; letter-spacing: 0.14em; }

.hpd-page .hpd-rule { border-left: 3px solid var(--hpd-green); padding-left: 18px; margin: 0 0 24px; }
.hpd-page .hpd-rule__text { font-size: 22px; font-weight: 600; line-height: 1.35; color: var(--hpd-ink); }

.hpd-page .hpd-hero__panel {
    background: var(--hpd-navy); border-radius: 16px; padding: 22px 22px 0;
    box-shadow: 0 18px 50px rgba(16, 26, 58, 0.20);
}
.hpd-page .hpd-hero__panelbar { display: flex; align-items: center; gap: 8px; margin-bottom: 16px; }
.hpd-page .hpd-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--hpd-green); }
.hpd-page .hpd-hero__panellabel {
    font-size: 11.5px; font-weight: 600; letter-spacing: 0.16em; color: var(--hpd-onnavy2);
}
.hpd-page .hpd-hero__shot {
    height: 320px; overflow: hidden;
    border-radius: 10px 10px 0 0;
    border: 1px solid rgba(143, 160, 196, 0.25); border-bottom: none;
}
/* img only — the pending placeholder is a div and needs to stay a flex column. */
.hpd-page .hpd-hero__shot img.hpd-shot { width: 100%; display: block; }

/* Camera stills sit over the horse rows of the app screenshot. Positioned in
   percentages of this box (see hpd_hero_overlays) so they stay registered as the
   column narrows, rather than drifting off their rows below 1240px. */
.hpd-page .hpd-hero__stack { position: relative; width: 100%; }
.hpd-page .hpd-hero__cam {
    position: absolute;
    left: 1.791%;
    width: 11.741%;
    height: 10.035%;
    object-fit: cover;
    display: block;
    border-radius: 2px;
}

/* Placeholder shown until the real screenshot is in the media library. */
.hpd-page .hpd-shot--pending {
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    gap: 8px; height: 100%; min-height: 170px; padding: 20px; text-align: center;
    background: repeating-linear-gradient(45deg, rgba(143,160,196,.07) 0 12px, transparent 12px 24px);
    border: 1px dashed var(--hpd-navyline); border-radius: 8px;
    color: var(--hpd-onnavy2); font-size: 13.5px;
}
.hpd-page .hpd-shot__slug { font-size: 11.5px; letter-spacing: .08em; opacity: .65; }

/* --- 2. core idea -------------------------------------------------------- */

.hpd-page .hpd-intro { max-width: 720px; margin-bottom: 48px; }
.hpd-page .hpd-intro__p { font-size: 17px; line-height: 1.65; color: var(--hpd-body); text-wrap: pretty; }

.hpd-page .hpd-grid { display: grid; gap: 24px; }
.hpd-page .hpd-grid--2 { grid-template-columns: 1fr 1fr; gap: 26px; }
.hpd-page .hpd-grid--3 { grid-template-columns: repeat(3, 1fr); }
.hpd-page .hpd-grid--4 { grid-template-columns: repeat(4, 1fr); }

.hpd-page .hpd-card { border-radius: var(--hpd-radius); }
.hpd-page .hpd-card--tinted { background: var(--hpd-ground); padding: 34px 30px; }
.hpd-page .hpd-card--white  { background: var(--hpd-surface); padding: 38px 36px; }

.hpd-page .hpd-num {
    font-size: 11.5px; font-weight: 700; letter-spacing: 0.16em;
    color: var(--hpd-accent); margin-bottom: 14px;
}

/* --- 3. multi-camera diagram --------------------------------------------- */

.hpd-page .hpd-diagram__lead { margin-bottom: 56px; max-width: 640px; }

.hpd-page .hpd-diagram {
    display: grid; grid-template-columns: auto 1fr auto 1fr auto; align-items: center;
}
.hpd-page .hpd-diagram__cams { display: flex; flex-direction: column; gap: 12px; }
.hpd-page .hpd-cam {
    width: 196px; background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--hpd-navyline); border-radius: 8px;
    padding: 13px 15px; display: flex; align-items: center; justify-content: space-between;
    font-size: 13.5px; font-weight: 500; color: #e6ecf9;
}
.hpd-page .hpd-cam__led { width: 7px; height: 7px; border-radius: 50%; background: var(--hpd-green); }

.hpd-page .hpd-diagram__wire { height: 2px; margin: 0 8px; }
.hpd-page .hpd-diagram__wire--in  { background: linear-gradient(90deg, rgba(74,201,151,0.15), rgba(74,201,151,0.75)); }
.hpd-page .hpd-diagram__wire--out { background: linear-gradient(90deg, rgba(74,201,151,0.75), rgba(74,201,151,0.15)); }

.hpd-page .hpd-diagram__box {
    background: rgba(74, 201, 151, 0.08); border: 1.5px solid var(--hpd-green);
    border-radius: 12px; padding: 26px 30px; text-align: center; min-width: 230px;
}
.hpd-page .hpd-diagram__box .hpd-eyebrow--green { margin-bottom: 8px; letter-spacing: 0.16em; }
.hpd-page .hpd-diagram__boxtitle { font-size: 19px; font-weight: 600; color: #fff; line-height: 1.35; }
.hpd-page .hpd-diagram__boxsub   { font-size: 13px; color: var(--hpd-onnavy); margin-top: 6px; }

.hpd-page .hpd-diagram__out { text-align: center; min-width: 200px; }
.hpd-page .hpd-diagram__out .hpd-eyebrow--onnavy { display: block; margin-bottom: 10px; }
.hpd-page .hpd-diagram__outtitle { font-size: 22px; font-weight: 600; color: #fff; line-height: 1.3; }
.hpd-page .hpd-diagram__outsub   { font-size: 13px; color: var(--hpd-onnavy); margin-top: 8px; }

/* --- 3b. feature parity matrix ------------------------------------------- */

.hpd-page .hpd-intro--parity { max-width: 760px; margin-bottom: 48px; }
.hpd-page .hpd-intro--parity .hpd-eyebrow--accent { display: block; }

.hpd-page .hpd-matrix {
    border: 1px solid var(--hpd-line);
    border-radius: var(--hpd-radius);
    overflow: hidden;
}

/* One grid template shared by every row, so the columns cannot drift apart.
   1.6fr on the label keeps "Sicherheits- und Eindringlingsalarm" on one line. */
.hpd-page .hpd-matrix__row {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1fr;
    border-top: 1px solid rgba(22, 34, 74, 0.08);
}
.hpd-page .hpd-matrix__row:first-child { border-top: none; }

.hpd-page .hpd-matrix__label {
    padding: 19px 28px;
    font-size: 15.5px; font-weight: 500; color: var(--hpd-ink);
}
.hpd-page .hpd-matrix__cell {
    padding: 19px 20px; text-align: center;
    border-left: 1px solid rgba(22, 34, 74, 0.08);
}
.hpd-page .hpd-matrix__cell--desktop {
    background: rgba(74, 201, 151, 0.07);
    border-left: 1.5px solid var(--hpd-green);
}

.hpd-page .hpd-matrix__row--head .hpd-matrix__label,
.hpd-page .hpd-matrix__row--head .hpd-matrix__cell { padding: 22px 20px; background: #f7fbfd; }
.hpd-page .hpd-matrix__row--head .hpd-matrix__cell--desktop { background: #e2f7ef; }
.hpd-page .hpd-matrix__col {
    font-size: 14.5px; font-weight: 600; color: var(--hpd-ink); line-height: 1.35;
}
.hpd-page .hpd-matrix__cell--desktop .hpd-matrix__col { color: #0b7a5c; }

.hpd-page .hpd-matrix .hpd-tick { font-size: 17px; }
.hpd-page .hpd-tick--strong { color: #0b7a5c; }
.hpd-page .hpd-matrix__note { font-size: 12px; font-weight: 600; color: #0b7a5c; }

.hpd-page .hpd-matrix__row--hw { border-top: 1px solid var(--hpd-line); }
.hpd-page .hpd-matrix__row--hw .hpd-matrix__label,
.hpd-page .hpd-matrix__row--hw .hpd-matrix__cell { background: #f7fbfd; }
.hpd-page .hpd-matrix__row--hw .hpd-matrix__cell--desktop { background: rgba(74, 201, 151, 0.07); }
.hpd-page .hpd-matrix__hw { font-size: 13.5px; color: var(--hpd-body); line-height: 1.45; }
.hpd-page .hpd-matrix__hw--strong { color: #0b7a5c; font-weight: 600; }

.hpd-page .hpd-matrix__footnote {
    font-size: 13px; line-height: 1.65; color: var(--hpd-muted);
    margin: 22px 0 0; max-width: 900px;
}

/* --- 4. three steps ------------------------------------------------------ */

.hpd-page .hpd-grid--3.hpd-steps { gap: 26px; }

.hpd-page .hpd-step {
    border: 1px solid var(--hpd-line); border-radius: var(--hpd-radius);
    overflow: hidden; display: flex; flex-direction: column;
    background: var(--hpd-surface);
}
.hpd-page .hpd-step__media {
    height: 170px; background: var(--hpd-navy);
    display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.hpd-page .hpd-step__media--shot { display: block; }
/* The design crops these two screenshots inside a 170px window: full width, tall
   image, top-anchored. object-position differs per shot, per the design file. */
.hpd-page .hpd-step__media--shot img.hpd-shot {
    width: 100%; height: 420px; display: block;
    object-fit: cover; object-position: top left;
}
.hpd-page .hpd-step__media--perf img.hpd-shot { object-position: left 22%; }
.hpd-page .hpd-step__media--shot .hpd-shot--pending { height: 170px; }

.hpd-page .hpd-install {
    width: 150px; height: 92px; border: 1.5px solid var(--hpd-green);
    border-radius: 8px 8px 0 0; display: flex; align-items: center; justify-content: center;
    position: relative;
}
.hpd-page .hpd-install__arrow { font-size: 30px; color: var(--hpd-green); line-height: 1; }
.hpd-page .hpd-install__base {
    position: absolute; bottom: -9px; left: -22px; right: -22px;
    height: 5px; border-radius: 3px; background: var(--hpd-green); opacity: 0.85;
}

.hpd-page .hpd-step__body { padding: 28px 28px 32px; }
.hpd-page .hpd-step__meta { display: flex; align-items: baseline; gap: 12px; margin-bottom: 12px; }
.hpd-page .hpd-step__num { font-size: 15px; font-weight: 700; color: var(--hpd-accent); }
.hpd-page .hpd-step__tag { font-size: 12px; font-weight: 700; letter-spacing: 0.16em; color: var(--hpd-muted); }

/* --- 6. local processing + capacity example ------------------------------ */

.hpd-page .hpd-rules { margin-bottom: 56px; }
.hpd-page .hpd-rule-item { border-top: 2px solid var(--hpd-green); padding-top: 22px; }

.hpd-page .hpd-example { background: var(--hpd-ground); border-radius: var(--hpd-radius); padding: 36px 40px; }
.hpd-page .hpd-example__grid {
    display: grid; grid-template-columns: 1fr 1fr 1.4fr; gap: 32px; align-items: center;
}
.hpd-page .hpd-stat { display: flex; align-items: baseline; gap: 14px; }
.hpd-page .hpd-stat__value { font-size: 38px; font-weight: 600; color: var(--hpd-ink); line-height: 1; }
.hpd-page .hpd-stat__label { font-size: 15px; font-weight: 600; color: var(--hpd-ink); }
.hpd-page .hpd-stat__sub   { font-size: 14px; color: var(--hpd-body); }
.hpd-page .hpd-example__note { font-size: 13px; line-height: 1.6; color: var(--hpd-muted); }

/* --- 7. which solution --------------------------------------------------- */

.hpd-page .hpd-compare { align-items: stretch; }
.hpd-page .hpd-plan {
    background: var(--hpd-surface); border-radius: var(--hpd-radius);
    padding: 34px 32px; display: flex; flex-direction: column;
    border: 1.5px solid transparent;
}
.hpd-page .hpd-plan--current { border-color: var(--hpd-green); }
.hpd-page .hpd-plan__quote {
    font-size: 16px; font-weight: 600; color: var(--hpd-ink);
    margin: 0 0 22px; line-height: 1.45;
}
.hpd-page .hpd-tick { color: var(--hpd-green); font-weight: 700; }

.hpd-page .hpd-compare__lead { margin-bottom: 46px; max-width: 720px; }

/* Identical FUNKTIONEN block on all three cards; only HARDWARE differs. */
.hpd-page .hpd-plan__block {
    background: var(--hpd-ground); border-radius: 8px; padding: 14px 16px;
    font-size: 13.5px; line-height: 1.6; color: var(--hpd-body); margin-bottom: 20px;
}
.hpd-page .hpd-plan__blocklabel {
    display: block; font-size: 11px; font-weight: 700; letter-spacing: 0.14em;
    color: var(--hpd-accent); margin-bottom: 6px;
}
.hpd-page .hpd-plan__hw {
    font-size: 14.5px; line-height: 1.6; color: var(--hpd-body); margin-bottom: 28px;
}
.hpd-page .hpd-plan__hwlabel {
    display: block; font-size: 11px; font-weight: 700; letter-spacing: 0.14em;
    color: var(--hpd-muted); margin-bottom: 6px;
}
.hpd-page .hpd-plan__cta { margin-top: auto; align-self: flex-start; }
.hpd-page .hpd-plan__here {
    margin-top: auto; align-self: flex-start;
    font-size: 14.5px; font-weight: 600; color: var(--hpd-muted);
    border: 1.5px dashed rgba(22, 34, 74, 0.2); padding: 13px 24px; border-radius: 6px;
}
.hpd-page .hpd-pill {
    align-self: flex-start; background: #e2f7ef; color: var(--hpd-accent);
    font-size: 11px; font-weight: 700; letter-spacing: 0.12em;
    padding: 5px 11px; border-radius: 20px; margin-bottom: 16px;
}
.hpd-page .hpd-plan--current .hpd-h3 { margin-bottom: 12px; }

/* --- 8. capacity --------------------------------------------------------- */

.hpd-page .hpd-split {
    display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center;
}
.hpd-page .hpd-split--top { align-items: start; }

.hpd-page .hpd-split .hpd-h2--sm { margin-bottom: 18px; text-wrap: pretty; }

.hpd-page .hpd-calc {
    background: var(--hpd-ground); border-radius: var(--hpd-radius); padding: 36px;
    display: flex; flex-direction: column; gap: 14px;
}
.hpd-page .hpd-calc__row {
    background: var(--hpd-surface); border: 1px solid rgba(22, 34, 74, 0.1);
    border-radius: 10px; padding: 18px 20px;
    display: flex; justify-content: space-between; align-items: center;
}
.hpd-page .hpd-calc__k { font-size: 15px; font-weight: 500; }
.hpd-page .hpd-calc__v { font-size: 13.5px; color: var(--hpd-muted); }
.hpd-page .hpd-calc__op { text-align: center; color: #9aa4bf; font-size: 15px; }
.hpd-page .hpd-calc__row--result {
    background: var(--hpd-navy); border-color: var(--hpd-navy); padding: 20px;
}
.hpd-page .hpd-calc__row--result .hpd-calc__k { font-weight: 600; color: #fff; }
.hpd-page .hpd-calc__badge { font-size: 12px; font-weight: 600; letter-spacing: 0.1em; color: var(--hpd-green); }

/* --- 8b. two-step download block ----------------------------------------- */

.hpd-page .hpd-two {
    border-left: 3px solid var(--hpd-green);
    padding-left: 20px;
    margin: 0 0 30px;
}
.hpd-page .hpd-two__head {
    font-size: 11.5px; font-weight: 700; letter-spacing: 0.16em;
    color: var(--hpd-accent); margin-bottom: 16px; text-transform: uppercase;
}
.hpd-page .hpd-two__list {
    list-style: none; margin: 0; padding: 0;
    display: flex; flex-direction: column; gap: 14px;
}
.hpd-page .hpd-two__list li {
    display: flex; gap: 14px; align-items: flex-start;
    font-size: 15px; line-height: 1.6; color: var(--hpd-body);
}
.hpd-page .hpd-two__num {
    flex: 0 0 auto; width: 24px; height: 24px; border-radius: 50%;
    background: var(--hpd-green); color: #0d2a22;
    font-size: 13px; font-weight: 700; line-height: 24px; text-align: center;
}
.hpd-page .hpd-two__list strong { color: var(--hpd-ink); font-weight: 600; }

/* Download button with no URL yet — looks like the primary action but inert. */
.hpd-page .hpd-btn.is-muted {
    background: rgba(74, 201, 151, 0.35); color: #2c4f43;
    cursor: default; pointer-events: none;
}

/* --- 8c. readiness estimator --------------------------------------------- */

.hpd-page .hpd-est {
    background: var(--hpd-ground); border-radius: var(--hpd-radius); padding: 32px;
    display: flex; flex-direction: column; gap: 16px;
}
.hpd-page .hpd-est__head {
    display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.hpd-page .hpd-est__eyebrow { margin-bottom: 0; }
.hpd-page .hpd-est__badge { color: var(--hpd-accent); }

.hpd-page .hpd-est__field { display: block; }
.hpd-page .hpd-est__pair { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.hpd-page .hpd-est__label {
    display: block; font-size: 13px; font-weight: 600;
    color: var(--hpd-ink); margin-bottom: 8px;
}
.hpd-page .hpd-est__input {
    width: 100%; border: 1px solid rgba(22, 34, 74, 0.18); border-radius: 6px;
    padding: 13px 38px 13px 14px; font-family: inherit; font-size: 15px;
    color: #1b2547; background-color: var(--hpd-surface); box-shadow: none;
    -webkit-appearance: none; appearance: none;
    /* inline chevron: no external asset, and it survives the CSP on any host */
    background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%237b859f' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
}
.hpd-page .hpd-est__input:focus-visible { outline: 2px solid var(--hpd-green); outline-offset: 2px; }

.hpd-page .hpd-est__result {
    border-top: 1px solid rgba(22, 34, 74, 0.12);
    margin-top: 4px; padding-top: 22px;
}
.hpd-page .hpd-est__result[hidden] { display: none; }

.hpd-page .hpd-est__verdict {
    display: inline-block; font-size: 13px; font-weight: 600; line-height: 1.4;
    padding: 7px 13px; border-radius: 20px; margin-bottom: 18px;
}
.hpd-page .hpd-est__verdict[data-state="ok"]    { background: #e2f7ef; color: #0b7a5c; }
.hpd-page .hpd-est__verdict[data-state="tight"] { background: #fdf3dd; color: #8a6410; }
.hpd-page .hpd-est__verdict[data-state="low"]   { background: #fbe7e4; color: #9c3524; }

.hpd-page .hpd-est__figure { display: flex; align-items: baseline; gap: 14px; margin-bottom: 16px; }
.hpd-page .hpd-est__value  { font-size: 38px; font-weight: 600; color: var(--hpd-ink); line-height: 1; }
.hpd-page .hpd-est__unit   { font-size: 15px; font-weight: 600; color: var(--hpd-ink); line-height: 1.35; }
.hpd-page .hpd-est__unitsub { font-size: 13.5px; font-weight: 400; color: var(--hpd-body); }

.hpd-page .hpd-est__line { font-size: 14px; line-height: 1.6; color: var(--hpd-body); margin: 0 0 14px; }
.hpd-page .hpd-est__disclaimer { font-size: 12.5px; line-height: 1.6; color: var(--hpd-muted); margin: 0; }

/* --- 9. current status --------------------------------------------------- */

.hpd-page .hpd-status__title { max-width: 900px; margin-bottom: 18px; line-height: 1.2; text-wrap: pretty; }
.hpd-page .hpd-status__lead  { margin-bottom: 56px; max-width: 680px; }

.hpd-page .hpd-timeline {
    display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; align-items: center;
}
.hpd-page .hpd-phase {
    border: 1px solid var(--hpd-navyline); border-radius: 12px; padding: 28px 30px;
}
.hpd-page .hpd-phase--now { border-color: var(--hpd-green); background: rgba(74, 201, 151, 0.07); }
.hpd-page .hpd-phase .hpd-eyebrow { display: block; margin-bottom: 12px; letter-spacing: 0.14em; }
.hpd-page .hpd-phase__arrow { color: #4a5f92; font-size: 20px; padding: 0 20px; }

/* --- 10. interest form --------------------------------------------------- */

.hpd-page .hpd-form { background: var(--hpd-surface); border-radius: var(--hpd-radius); padding: 38px 36px; }
.hpd-page .hpd-form__pending { font-size: 15px; color: var(--hpd-muted); }

/* CF7 renders its own wrappers; style them here rather than fight the theme's
   global form rules, which target .form_control and are much heavier. */
.hpd-page .hpd-form .hpd-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.hpd-page .hpd-form .hpd-form__field { display: block; margin-bottom: 18px; }
.hpd-page .hpd-form .hpd-form__row .hpd-form__field { margin-bottom: 0; }
.hpd-page .hpd-form .hpd-form__row + .hpd-form__field { margin-top: 18px; }
.hpd-page .hpd-form .hpd-form__label {
    display: block; font-size: 13px; font-weight: 600; color: var(--hpd-ink); margin-bottom: 8px;
}
.hpd-page .hpd-form .hpd-form__opt { font-weight: 400; color: var(--hpd-muted); }

.hpd-page .hpd-form input[type="text"],
.hpd-page .hpd-form input[type="email"] {
    width: 100%; border: 1px solid rgba(22, 34, 74, 0.18); border-radius: 6px;
    padding: 13px 14px; font-family: inherit; font-size: 15px;
    color: #1b2547; background: var(--hpd-surface); box-shadow: none;
}
.hpd-page .hpd-form input:focus-visible { outline: 2px solid var(--hpd-green); outline-offset: 2px; }

.hpd-page .hpd-form .hpd-form__consent {
    font-size: 13px; line-height: 1.55; color: var(--hpd-body); margin: 4px 0 26px;
}
.hpd-page .hpd-form .hpd-form__consent a { color: var(--hpd-accent); text-decoration: underline; }
.hpd-page .hpd-form .wpcf7-list-item { margin: 0; }

.hpd-page .hpd-form input[type="submit"] {
    display: block; width: 100%; text-align: center; border: none;
    background: var(--hpd-green); color: #0d2a22; font-family: inherit;
    font-weight: 600; font-size: 15px; padding: 16px 30px; border-radius: 6px; cursor: pointer;
}
.hpd-page .hpd-form input[type="submit"]:hover { background: var(--hpd-green-d); }

.hpd-page .hpd-form .wpcf7-not-valid-tip { font-size: 12.5px; color: #c0392b; margin-top: 6px; }
.hpd-page .hpd-form .wpcf7-response-output {
    margin: 18px 0 0; padding: 12px 14px; font-size: 13.5px; border-radius: 6px;
}

/* --- 11. FAQ ------------------------------------------------------------- */

.hpd-page .hpd-faq__title { margin-bottom: 40px; }

.hpd-page .hpd-faq { border-bottom: 1px solid var(--hpd-line); }
.hpd-page .hpd-faq__q {
    display: flex; justify-content: space-between; align-items: center; gap: 20px;
    padding: 22px 0; font-size: 17px; font-weight: 500; color: var(--hpd-ink);
    cursor: pointer; list-style: none;
}
.hpd-page .hpd-faq__q::-webkit-details-marker { display: none; }
.hpd-page .hpd-faq__plus { color: var(--hpd-green); font-size: 20px; transition: transform 0.2s; }
.hpd-page .hpd-faq[open] .hpd-faq__plus { transform: rotate(45deg); }
.hpd-page .hpd-faq__a {
    font-size: 15.5px; line-height: 1.7; color: var(--hpd-body);
    margin: 0 0 22px; padding-right: 40px;
}

/* --- 12. final CTA ------------------------------------------------------- */

.hpd-page .hpd-final { padding: 88px 0; }
.hpd-page .hpd-final__inner {
    display: flex; align-items: center; justify-content: space-between; gap: 60px;
}
.hpd-page .hpd-final__eyebrow { font-size: 12px; letter-spacing: 0.16em; margin-bottom: 20px; }
.hpd-page .hpd-final__title { font-size: 44px; line-height: 1.15; margin-bottom: 20px; }
.hpd-page .hpd-final__p { margin: 0; max-width: 520px; }
.hpd-page .hpd-final__aside { text-align: right; flex-shrink: 0; }
.hpd-page .hpd-final__status { font-size: 13.5px; color: var(--hpd-onnavy2); margin-bottom: 18px; }

/* =========================================================================
   Responsive fallback — DERIVED, NOT DESIGNED.
   The mockup is a fixed 1440px canvas; there is no mobile artwork to match.
   These rules keep the page usable below 1240px and need their own review.
   ========================================================================= */

@media (max-width: 1240px) {
    .hpd-page { --hpd-gutter: 32px; }
}

@media (max-width: 1080px) {
    .hpd-page { --hpd-section: 72px; }

    .hpd-page .hpd-h1 { font-size: 40px; }
    .hpd-page .hpd-h2 { font-size: 32px; }
    .hpd-page .hpd-h2--sm,
    .hpd-page .hpd-final__title { font-size: 30px; }

    .hpd-page .hpd-hero__grid,
    .hpd-page .hpd-split { grid-template-columns: 1fr; gap: 40px; }

    .hpd-page .hpd-grid--4 { grid-template-columns: repeat(2, 1fr); }

    /* The fan-in diagram and the timeline are both horizontal five-column grids;
       stack them and turn the connectors into vertical ones. */
    .hpd-page .hpd-diagram,
    .hpd-page .hpd-timeline { grid-template-columns: 1fr; gap: 20px; justify-items: stretch; }
    .hpd-page .hpd-diagram__cams { flex-direction: row; flex-wrap: wrap; }
    .hpd-page .hpd-cam { width: calc(50% - 6px); }
    .hpd-page .hpd-diagram__wire { height: 28px; width: 2px; margin: 0 auto; }
    .hpd-page .hpd-diagram__wire--in  { background: linear-gradient(180deg, rgba(74,201,151,0.15), rgba(74,201,151,0.75)); }
    .hpd-page .hpd-diagram__wire--out { background: linear-gradient(180deg, rgba(74,201,151,0.75), rgba(74,201,151,0.15)); }
    .hpd-page .hpd-phase__arrow { transform: rotate(90deg); padding: 0; text-align: center; }

    .hpd-page .hpd-final__inner { flex-direction: column; align-items: flex-start; gap: 36px; }
    .hpd-page .hpd-final__aside { text-align: left; }
}

@media (max-width: 820px) {
    .hpd-page .hpd-grid--2,
    .hpd-page .hpd-grid--3 { grid-template-columns: 1fr; }
    .hpd-page .hpd-example__grid { grid-template-columns: 1fr; gap: 22px; }

    /* The matrix cannot usefully collapse to one column — four columns of ticks
       become meaningless stacked. Keep the grid and let it scroll sideways
       inside its own box, so the page itself never scrolls horizontally. */
    .hpd-page .hpd-matrix { overflow-x: auto; }
    .hpd-page .hpd-matrix__row { grid-template-columns: 200px repeat(3, 132px); min-width: 596px; }
    .hpd-page .hpd-matrix__label { padding: 16px 18px; font-size: 14.5px; }
    .hpd-page .hpd-matrix__cell { padding: 16px 12px; }
    .hpd-page .hpd-matrix__row--head .hpd-matrix__label,
    .hpd-page .hpd-matrix__row--head .hpd-matrix__cell { padding: 18px 12px; }
    .hpd-page .hpd-matrix__col { font-size: 13px; }
}

@media (max-width: 640px) {
    .hpd-page { --hpd-gutter: 20px; --hpd-section: 56px; }

    .hpd-page .hpd-h1 { font-size: 31px; }
    .hpd-page .hpd-h2,
    .hpd-page .hpd-h2--sm,
    .hpd-page .hpd-final__title { font-size: 26px; }
    .hpd-page .hpd-h3--cap { font-size: 21px; }
    .hpd-page .hpd-rule__text { font-size: 19px; }

    .hpd-page .hpd-grid--4 { grid-template-columns: 1fr; }
    .hpd-page .hpd-cam { width: 100%; }

    .hpd-page .hpd-actions { flex-direction: column; align-items: stretch; }
    .hpd-page .hpd-btn { text-align: center; }
    .hpd-page .hpd-actions--wrap { align-items: flex-start; }

    .hpd-page .hpd-card--white,
    .hpd-page .hpd-form { padding: 28px 22px; }
    .hpd-page .hpd-example { padding: 28px 22px; }
    .hpd-page .hpd-calc { padding: 22px; }

    .hpd-page .hpd-form .hpd-form__row { grid-template-columns: 1fr; gap: 18px; }
    .hpd-page .hpd-est { padding: 22px; }
    .hpd-page .hpd-est__pair { grid-template-columns: 1fr; }
    .hpd-page .hpd-faq__a { padding-right: 0; }

    .hpd-page .hpd-breadcrumb .hpd-wrap { flex-wrap: wrap; }
}
