/* =====================================================================
   HartBeat design system — tokens, type, art, record, plans, motion.
   Source of truth: site-profiles/hartbeat/house-style.md; ported from
   mockup/home-v1.html. Divi 5 presets mirror these values.
   ===================================================================== */

@font-face {
  font-family: "Instrument Sans";
  src: url("../fonts/InstrumentSans-var.woff2") format("woff2");
  font-weight: 400 700;
  font-stretch: 92% 100%;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Mono";
  src: url("../fonts/IBMPlexMono-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Mono";
  src: url("../fonts/IBMPlexMono-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

:root {
  --paper: #ffffff;
  --field: #f2f5f4;
  --ink: #13202a;
  --graphite: #52616b;
  --rule: #d9e1e4;
  --wire: #b4c2c8;
  --loop: #0a7c74;
  --loop-ink: #075f59;
  --loop-tint: #e2f1ef;
  --ok: #17703e;
  --ok-tint: #e4f3ea;
  --flag: #9a5b00;
  --flag-tint: #fff1d6;
  --bad: #b3261e;
  --bad-tint: #fde8e6;
  --on-ink-muted: #b8c6cd;

  --sans: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Consolas, monospace;

  --step--1: .84rem;
  --step-0: 1.0625rem;
  --step-1: 1.3rem;
  --step-2: clamp(1.5rem, 1.2rem + 1.1vw, 1.95rem);
  --step-3: clamp(1.9rem, 1.4rem + 2vw, 2.75rem);
  --step-4: clamp(2.5rem, 1.6rem + 3.6vw, 4.25rem);

  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --section: clamp(4.5rem, 3rem + 6vw, 8.5rem);
  --radius-s: 6px;
  --radius-m: 10px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- base type (site-wide) ---------------------------------- */
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body,
body.et_divi_theme {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: var(--step-0);
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}
body #page-container,
body .et_pb_text,
body .et_pb_text p,
body .et_pb_text li { color: var(--ink); font-size: var(--step-0); line-height: 1.6; }
body h1, body h2, body h3,
body .et_pb_text h1, body .et_pb_text h2, body .et_pb_text h3 {
  font-family: var(--sans);
  font-weight: 600;
  letter-spacing: -.022em;
  font-stretch: 92%;
  color: var(--ink);
  margin: 0;
  padding: 0;
}
body h1, body .et_pb_text h1 { font-size: var(--step-4); line-height: 1.02; }
body h2, body .et_pb_text h2 { font-size: var(--step-3); line-height: 1.08; }
body h3, body .et_pb_text h3 { font-size: var(--step-1); line-height: 1.25; letter-spacing: -.01em; font-stretch: 100%; }
body .et_pb_text p { padding-bottom: 0; margin: 0; }
body .et_pb_text * + p,
body .et_pb_text * + ul,
body .et_pb_text * + ol { margin-top: 1rem; }
body .et_pb_text ul, body .et_pb_text ol { padding-bottom: 0; }

a { color: var(--loop); text-underline-offset: .18em; }
a:hover { color: var(--loop-ink); }
:focus-visible { outline: 2px solid var(--loop); outline-offset: 3px; border-radius: 3px; }

.hb-lead, body .et_pb_text .hb-lead { font-size: var(--step-1); line-height: 1.5; color: var(--graphite); max-width: 36em; }
.hb-muted, body .et_pb_text .hb-muted { color: var(--graphite); }
.hb-small, body .et_pb_text .hb-small { font-size: .88rem; color: var(--graphite); }
.hb-mono { font-family: var(--mono); font-size: .92em; }
.hb-textlink, body .et_pb_text a.hb-textlink { font-weight: 600; text-decoration: underline; text-decoration-thickness: 1px; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }

/* ---------- layout: sections, rows ---------------------------------- */
.hb-sec.et_pb_section { padding: var(--section) 0; background: var(--paper); }
.hb-sec--tight.et_pb_section { padding-top: 0; }
.hb-sec--hero.et_pb_section { padding: clamp(3rem, 2rem + 4vw, 6rem) 0 clamp(3.5rem, 2rem + 5vw, 7rem); overflow: hidden; }
.hb-sec--field.et_pb_section { background: var(--field); }
.hb-sec--ink.et_pb_section { background: var(--ink); }
.hb-sec .et_pb_row {
  width: min(100% - 2 * var(--gutter), var(--wrap));
  max-width: none;
  padding: 0;
}
.hb-sec .et_pb_row + .et_pb_row { margin-top: clamp(2.5rem, 5vw, 4rem); }
.hb-sec .et_pb_row { column-gap: clamp(2rem, 5vw, 5rem); }
.hb-sec .et_pb_column { margin-bottom: 0; row-gap: 0; }
.et_pb_row.hb-align-center, .hb-align-center .et_pb_row { align-items: center; }
.et_pb_row.hb-align-end, .hb-align-end .et_pb_row { align-items: flex-end; }
body .et_pb_text a:not(.hb-btn) { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .18em; }
.hb-sec .et_pb_module { margin-bottom: 0; }
.hb-sec .et_pb_module + .et_pb_module { margin-top: 1.5rem; }

/* ---------- buttons -------------------------------------------------- */
body .et_pb_button,
body a.et_pb_button,
.hb-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: .7rem 1.35rem !important;
  border-radius: var(--radius-s);
  border: 0;
  background: var(--loop);
  color: #fff !important;
  font: 600 1rem/1 var(--sans);
  letter-spacing: 0;
  text-decoration: none;
  transition: background-color .18s var(--ease), color .18s var(--ease), border-color .18s var(--ease);
}
body .et_pb_button:hover,
body a.et_pb_button:hover,
.hb-btn:hover { background: var(--loop-ink); color: #fff !important; border: 0; padding: .7rem 1.35rem !important; }
body .et_pb_button::after, body .et_pb_button::before { display: none !important; content: none !important; }
body .hb-btn-quiet .et_pb_button, body .et_pb_button.hb-btn-quiet, .hb-btn--quiet {
  background: transparent; color: var(--ink) !important; border: 1px solid var(--rule);
}
body .hb-btn-quiet .et_pb_button:hover, body .et_pb_button.hb-btn-quiet:hover, .hb-btn--quiet:hover {
  background: transparent; color: var(--ink) !important; border: 1px solid var(--ink);
}
body .hb-sec--ink .et_pb_button, .hb-sec--ink .hb-btn { background: #fff; color: var(--ink) !important; }
body .hb-sec--ink .et_pb_button:hover, .hb-sec--ink .hb-btn:hover { background: var(--loop-tint); color: var(--ink) !important; }
.hb-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1.25rem 1.75rem; }
body .et_pb_text .hb-actions { margin-top: 2.25rem; }

/* ---------- dark band ------------------------------------------------ */
.hb-sec--ink, .hb-sec--ink .et_pb_text, .hb-sec--ink .et_pb_text p { color: #fff; }
.hb-sec--ink h2, body .hb-sec--ink .et_pb_text h2 { color: #fff; max-width: 14em; }
.hb-sec--ink .et_pb_text p { color: var(--on-ink-muted); max-width: 34em; }
.hb-sec--ink a, body .hb-sec--ink .et_pb_text a { color: #fff; }

/* ---------- hero proof list ------------------------------------------ */
.hb-proof { list-style: none; margin: 2.75rem 0 0 !important; padding: 1.5rem 0 0 !important; border-top: 1px solid var(--rule); display: grid; gap: .7rem; }
.hb-proof li { display: grid; grid-template-columns: 20px 1fr; gap: .75rem; align-items: start; font-size: .98rem !important; color: var(--graphite) !important; padding: 0; }
.hb-proof svg { width: 20px; height: 20px; margin-top: .15rem; display: block; }

/* ---------- problem: three questions --------------------------------- */
.hb-questions { list-style: none; margin: 0 !important; padding: 0 !important; display: grid; }
.hb-questions li { padding: 1.4rem 0 !important; border-top: 1px solid var(--rule); display: grid; gap: .35rem; }
.hb-questions li:last-child { border-bottom: 1px solid var(--rule); }
.hb-questions strong { font-size: var(--step-2); font-weight: 600; letter-spacing: -.015em; font-stretch: 94%; line-height: 1.2; color: var(--ink); }
.hb-questions span { color: var(--graphite); }
.hb-stat, body .et_pb_text .hb-stat { margin-top: 2.25rem; font-size: .95rem; color: var(--graphite); max-width: 32em; }
.hb-stat a { color: var(--graphite); }

/* ---------- figures, captions, art ----------------------------------- */
.hb-art svg { display: block; width: 100%; height: auto; max-width: 100%; }
.hb-art--mark svg { width: 32px; height: 32px; }
.hb-figure { background: var(--field); border-radius: var(--radius-m); padding: clamp(1rem, 2.5vw, 1.75rem); }
.hb-frame { background: var(--paper); border: 1px solid var(--rule); border-radius: var(--radius-m); padding: clamp(1rem, 3vw, 2.25rem); overflow-x: auto; }
.hb-caption, body .et_pb_text .hb-caption { font-size: .86rem; color: var(--graphite); margin-top: .75rem; }
.hb-art--hero-loop { margin-right: calc(-1 * var(--gutter)); }

.hb-art .wf text { font-family: var(--sans); fill: var(--graphite); }
.hb-art .wf .t-ink { fill: var(--ink); }
.hb-art .wf .t-mono { font-family: var(--mono); }
.hb-art .wf .t-strong { font-weight: 600; }
.hb-art .wf .line { fill: none; stroke: var(--ink); stroke-width: 1.25; stroke-linecap: round; stroke-linejoin: round; }
.hb-art .wf .wire { fill: none; stroke: var(--wire); stroke-width: 1.25; stroke-linecap: round; stroke-linejoin: round; }
.hb-art .wf .dash { stroke-dasharray: 3 4; }
.hb-art .wf .boundary { fill: none; stroke: var(--wire); stroke-width: 1.25; stroke-dasharray: 6 6; }
.hb-art .wf .box { fill: var(--paper); stroke: var(--ink); stroke-width: 1.25; }
.hb-art .wf .panel { fill: var(--paper); stroke: var(--rule); stroke-width: 1; }
.hb-art .wf .fieldfill { fill: var(--field); }
.hb-art .wf .skel { fill: var(--rule); }
.hb-art .wf .pulse { fill: none; stroke: var(--loop); stroke-width: 2.5; stroke-linecap: round; }
.hb-art .wf .loopfill { fill: var(--loop); }
.hb-art .wf .looptint { fill: var(--loop-tint); }
.hb-art .wf .chip-ok rect { fill: var(--ok-tint); }
.hb-art .wf .chip-ok text { fill: var(--ok); font-weight: 600; }
.hb-art .wf .chip-flag rect { fill: var(--flag-tint); }
.hb-art .wf .chip-flag text { fill: var(--flag); font-weight: 600; }
.hb-art .wf .ring { fill: none; stroke: var(--loop); stroke-width: 1.5; opacity: 0; transform-box: fill-box; transform-origin: center; }
.hb-art .wf .ring.ping { animation: hb-ping .9s var(--ease); }
.hb-art .wf .beat { animation: hb-beat 2.4s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
.hb-art .wf .beat.d1 { animation-delay: .6s; }
.hb-art .wf .beat.d2 { animation-delay: 1.2s; }
@keyframes hb-ping { 0% { opacity: .9; transform: scale(1); } 100% { opacity: 0; transform: scale(1.9); } }
@keyframes hb-beat { 0%, 70%, 100% { opacity: 1; } 80% { opacity: .25; } }

/* Hero ledger: rows are in the markup (no-JS = final state); JS hides then lands them. */
.hb-art .ledger-row { transition: opacity .45s var(--ease), transform .45s var(--ease); }
.hb-js .hb-art .ledger-row:not(.in) { opacity: 0; transform: translateY(8px); }
.hb-art .ledger-row .tick { stroke-dasharray: 14; stroke-dashoffset: 0; transition: stroke-dashoffset .4s .25s var(--ease); }
.hb-js .hb-art .ledger-row:not(.in) .tick { stroke-dashoffset: 14; }

/* how-diagram: data-step lives on the art wrapper */
[data-hb-art="how-diagram"] .grp { transition: opacity .4s var(--ease); opacity: .32; }
[data-hb-art="how-diagram"] .always { opacity: 1; }
[data-hb-art="how-diagram"][data-step="1"] .s1,
[data-hb-art="how-diagram"][data-step="2"] .s2,
[data-hb-art="how-diagram"][data-step="3"] .s3,
[data-hb-art="how-diagram"][data-step="4"] .s4 { opacity: 1; }
[data-hb-art="how-diagram"] .hl { stroke: var(--wire); transition: stroke .4s var(--ease); }
[data-hb-art="how-diagram"][data-step="1"] .hl1,
[data-hb-art="how-diagram"][data-step="2"] .hl2,
[data-hb-art="how-diagram"][data-step="3"] .hl3,
[data-hb-art="how-diagram"][data-step="4"] .hl4 { stroke: var(--loop); stroke-width: 2; }
[data-hb-art="how-diagram"]:not([data-step]) .grp { opacity: 1; }
[data-hb-art="how-diagram"] .flow { stroke-dasharray: 2 7; animation: hb-flow 1.1s linear infinite; }
@keyframes hb-flow { to { stroke-dashoffset: -18; } }

/* vpn-contrast draw-in */
.hb-js [data-hb-art="vpn-contrast"]:not(.is-drawn) .draw { stroke-dasharray: 1000; stroke-dashoffset: 1000; }
[data-hb-art="vpn-contrast"] .draw { transition: stroke-dashoffset 1.4s var(--ease); }
.hb-js [data-hb-art="vpn-contrast"]:not(.is-drawn) .reveal { opacity: 0; }
[data-hb-art="vpn-contrast"] .reveal { transition: opacity .5s var(--ease); }
[data-hb-art="vpn-contrast"].is-drawn .reveal { transition-delay: .9s; }

/* case vignettes: loops only while in view */
.hb-art[data-hb-art^="case-"]:not(.is-live) .beat { animation-play-state: paused; }
.hb-art .typing { overflow: hidden; }

/* small-screen helpers for art */
@media (max-width: 600px) { .hb-art .wf .hide-sm { display: none; } }
.hb-art .wf .t-on-loop { fill: #fff; }
.hb-art .wf .t-ok { fill: var(--ok); font-weight: 600; }
.hb-art svg.show-sm { display: none; }
@media (max-width: 640px) { .hb-art svg.show-sm { display: block; } .hb-art svg.hide-640 { display: none; } }

/* ---------- how it works: sticky stage + steps ----------------------- */
.hb-sticky.et_pb_column { position: sticky; top: 112px; align-self: flex-start; }
.hb-stage { background: var(--paper); border-radius: var(--radius-m); border: 1px solid var(--rule); padding: clamp(1rem, 2.5vw, 2rem); }
.hb-steps { counter-reset: hb-step; }
/* Inactive steps stay full-contrast text (WCAG 1.4.3); the active step is marked by an ink heading and a filled number. */
.hb-step { min-height: 52vh; display: flex !important; flex-direction: column; justify-content: center; }
.hb-step.hb-step--first, .hb-steps .hb-step:first-child { min-height: 40vh; justify-content: flex-start; padding-top: 1.5rem; }
.hb-steps .hb-step:last-child { min-height: 46vh; }
.hb-step h3, body .et_pb_text.hb-step h3 { color: var(--graphite); transition: color .35s var(--ease); }
.hb-step.is-active h3, body .et_pb_text.hb-step.is-active h3, .no-hb-js .hb-step h3 { color: var(--ink); }
.hb-step h3, body .et_pb_text.hb-step h3 { display: flex; align-items: center; gap: 1.1rem; font-size: var(--step-2); font-stretch: 94%; letter-spacing: -.015em; }
.hb-step h3::before {
  counter-increment: hb-step; content: counter(hb-step); flex: none;
  width: 2.1rem; height: 2.1rem; border-radius: 50%;
  border: 1.25px solid var(--ink); display: grid; place-items: center;
  font: 600 .95rem/1 var(--sans); letter-spacing: 0;
  transition: background-color .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
}
.hb-step.is-active h3::before { background: var(--loop); border-color: var(--loop); color: #fff; }
.hb-step p, body .et_pb_text.hb-step p { margin: .75rem 0 0 3.2rem; color: var(--graphite); max-width: 28em; }

/* ---------- security posture ----------------------------------------- */
.hb-posture { list-style: none; margin: 0 !important; padding: 0 !important; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 2.5rem; }
.hb-posture li { padding: 1.5rem 0 !important; border-top: 1px solid var(--rule); display: grid; grid-template-columns: 32px 1fr; gap: 1rem; }
.hb-posture svg { width: 32px; height: 32px; display: block; }
.hb-posture h3, body .et_pb_text .hb-posture h3 { font-size: 1.08rem; font-stretch: 100%; }
.hb-posture p, body .et_pb_text .hb-posture p { margin-top: .35rem; color: var(--graphite); font-size: .96rem; }
.hb-links { display: grid; gap: .6rem; justify-items: start; margin-top: 1.75rem; }

/* ---------- sample audit record -------------------------------------- */
.hb-record .ledger { background: var(--paper); border: 1px solid var(--rule); border-radius: var(--radius-m); overflow: hidden; }
.hb-record .ledger-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .75rem 1.5rem; padding: .9rem 1.25rem; border-bottom: 1px solid var(--rule); }
.hb-record .ledger-bar strong { font-weight: 600; }
.hb-record .ledger-bar small { color: var(--graphite); font-size: .86rem; }
.hb-record .rec-list { list-style: none; margin: 0; padding: 0; }
.hb-record .rec { display: grid; grid-template-columns: 44px minmax(0, 1fr); border-bottom: 1px solid var(--rule); position: relative; padding: 0; }
.hb-record .rec:last-child { border-bottom: 0; }
.hb-record .chain { position: relative; display: flex; justify-content: center; }
.hb-record .chain::before { content: ""; position: absolute; top: 0; bottom: 0; width: 2px; background: var(--loop-tint); }
.hb-record .rec:first-child .chain::before { top: 1.6rem; }
.hb-record .rec:last-child .chain::before { bottom: calc(100% - 1.6rem); }
.hb-record .chain i { position: relative; margin-top: 1.05rem; width: 14px; height: 14px; border-radius: 50%; background: var(--paper); border: 2px solid var(--loop); transition: border-color .3s, background-color .3s; }
.hb-record .rec.broken .chain i { border-color: var(--bad); background: var(--bad-tint); }
.hb-record .rec.broken .chain::before { background: var(--bad-tint); }
.hb-record .rec-body { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .9rem 1.5rem; padding: 1rem 1.25rem 1.15rem 0; margin: 0; }
.hb-record .f { min-width: 0; }
.hb-record .f dt { font-size: .8rem; color: var(--graphite); font-weight: 400; }
.hb-record .f dd { margin: .1rem 0 0; font-size: .95rem; overflow-wrap: anywhere; color: var(--ink); }
.hb-record .f .mono { font-family: var(--mono); font-size: .88rem; }
.hb-record .f-wide { grid-column: span 2; }
.hb-chip { display: inline-block; padding: .12rem .5rem; border-radius: 4px; font-size: .84rem; font-weight: 600; line-height: 1.4; }
.hb-chip--ok { background: var(--ok-tint); color: var(--ok); }
.hb-chip--flag { background: var(--flag-tint); color: var(--flag); }
.hb-chip--bad { background: var(--bad-tint); color: var(--bad); }
.hb-record .integrity { display: inline-flex; gap: .9rem; flex-wrap: wrap; }
.hb-record .integrity span { display: inline-flex; align-items: center; gap: .3rem; color: var(--ok); font-weight: 600; font-size: .9rem; transition: color .3s; }
.hb-record .integrity span.fail { color: var(--bad); }
.hb-record .edited { background: var(--bad-tint); border-radius: 3px; padding: 0 .2rem; }
.hb-record .record-foot { margin-top: 1.75rem; display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(1.5rem, 5vw, 5rem); align-items: start; }
.hb-record .flagline { font-size: var(--step-1); font-weight: 600; letter-spacing: -.01em; line-height: 1.35; margin: 0; }
.hb-record .explainer { color: var(--graphite); margin-top: 1rem; max-width: 36em; }
.hb-record .tamper { background: var(--paper); border: 1px solid var(--rule); border-radius: var(--radius-m); padding: 1.25rem 1.35rem; }
.hb-record .tamper h3 { font-size: var(--step-1); }
.hb-record .tamper p { color: var(--graphite); font-size: .96rem; margin-top: .5rem; }
.hb-record .tamper button {
  margin-top: 1rem; min-height: 42px; padding: .55rem 1.1rem; cursor: pointer;
  background: transparent; color: var(--ink); border: 1px solid var(--rule); border-radius: var(--radius-s);
  font: 600 1rem/1 var(--sans); transition: border-color .18s var(--ease);
}
.hb-record .tamper button:hover { border-color: var(--ink); }
.hb-record .tamper-status { margin-top: .85rem; font-size: .92rem; font-weight: 600; min-height: 1.4em; }
.hb-record .tamper-status.bad { color: var(--bad); }
.hb-record .tamper-status.ok { color: var(--ok); }

/* ---------- plans ---------------------------------------------------- */
.hb-plans { margin-top: 2.5rem; width: 100%; border-collapse: collapse; border: 0; }
.hb-plans th, .hb-plans td { text-align: left; padding: 1.1rem 1rem 1.1rem 0; border: 0; border-bottom: 1px solid var(--rule); vertical-align: top; }
.hb-plans thead th { font-size: .86rem; font-weight: 500; color: var(--graphite); padding-top: 0; }
.hb-plans tbody th { font-size: 1.15rem; font-weight: 600; color: var(--ink); }
.hb-plans td.num { font-variant-numeric: tabular-nums; font-size: 1.15rem; font-weight: 500; color: var(--ink); }
.hb-plans td.fit { color: var(--graphite); }
.hb-notes { margin-top: 2rem; display: grid; gap: .5rem; font-size: .88rem; color: var(--graphite); max-width: 48em; }
.hb-notes p { margin: 0; font-size: .88rem; color: var(--graphite); }

/* ---------- FAQ (native details/summary) ------------------------------ */
.hb-faq details { border-top: 1px solid var(--rule); }
.hb-faq details:last-of-type { border-bottom: 1px solid var(--rule); }
.hb-faq summary { list-style: none; cursor: pointer; padding: 1.2rem 2.5rem 1.2rem 0; font-weight: 600; font-size: 1.08rem; position: relative; color: var(--ink); }
.hb-faq summary::-webkit-details-marker { display: none; }
.hb-faq summary::after { content: ""; position: absolute; right: .35rem; top: 50%; width: 10px; height: 10px; border-right: 1.5px solid var(--ink); border-bottom: 1.5px solid var(--ink); transform: translateY(-70%) rotate(45deg); transition: transform .25s var(--ease); }
.hb-faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.hb-faq details p, body .et_pb_text.hb-faq details p { padding: 0 2.5rem 1.35rem 0; color: var(--graphite); max-width: 40em; margin: 0; }

/* ---------- ordered steps (onboarding etc.) -------------------------- */
.hb-numbered { counter-reset: hb-num; list-style: none; margin: 0 !important; padding: 0 !important; display: grid; gap: 1rem; }
.hb-numbered > li { counter-increment: hb-num; display: grid; grid-template-columns: 2.1rem 1fr; gap: 1rem; align-items: baseline; padding: 0 !important; }
.hb-numbered > li::before { content: counter(hb-num); width: 2.1rem; height: 2.1rem; border-radius: 50%; border: 1.25px solid var(--ink); display: grid; place-items: center; font: 600 .95rem/1 var(--sans); }
.hb-checklist { list-style: none; margin: 0 !important; padding: 0 !important; display: grid; gap: .75rem; }
.hb-checklist > li { display: grid; grid-template-columns: 1.4rem 1fr; gap: .75rem; padding: 0 !important; }
.hb-checklist > li::before { content: ""; width: 1.1rem; height: 1.1rem; border: 1.5px solid var(--ink); border-radius: 3px; margin-top: .25rem; }

/* ---------- data tables (record anatomy, retention) ------------------- */
.hb-table { width: 100%; border-collapse: collapse; border: 0; margin: 0; }
.hb-table th, .hb-table td { text-align: left; padding: .9rem 1rem .9rem 0; border: 0; border-bottom: 1px solid var(--rule); vertical-align: top; }
.hb-table thead th { font-size: .86rem; font-weight: 500; color: var(--graphite); }
.hb-table tbody th { font-weight: 600; color: var(--ink); }
.hb-table td { color: var(--graphite); }

/* ---------- site chrome: Theme Builder header + footer ---------------- */
.et-l--header { position: sticky; top: 0; z-index: 50; }
.admin-bar .et-l--header { top: 32px; }
@media (max-width: 782px) { .admin-bar .et-l--header { top: 0; } }
.hb-header.et_pb_section { padding: 0; background: rgba(255, 255, 255, .92); -webkit-backdrop-filter: saturate(1.4) blur(10px); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid transparent; transition: border-color .2s var(--ease); }
.hb-scrolled .hb-header.et_pb_section { border-bottom-color: var(--rule); }
.hb-header .et_pb_row { min-height: 72px; align-items: center; }
.hb-header .et_pb_column:first-child { flex: 0 0 auto !important; width: auto !important; }
.hb-header .et_pb_column:last-child { flex: 1 1 auto !important; width: auto !important; }
.hb-menu a, .hb-login, .hb-btn--header { white-space: nowrap; }
@media (max-width: 1240px) and (min-width: 1021px) { .hb-menu { gap: 1.1rem; } .hb-nav, .hb-nav__panel { gap: 1.25rem; } }
.hb-header .et_pb_module + .et_pb_module { margin-top: 0; }
.hb-logo { display: inline-flex; align-items: center; }
.hb-logo img { display: block; height: 30px; width: auto; }
.hb-nav { display: flex; align-items: center; justify-content: flex-end; gap: 2rem; }
.hb-nav__toggle { display: none; }
.hb-nav__panel { display: flex; align-items: center; gap: 2rem; flex: 1; justify-content: space-between; }
.hb-menu { list-style: none; margin: 0 !important; padding: 0 !important; display: flex; gap: 1.6rem; }
.hb-menu li { position: relative; padding: 0 !important; list-style: none; }
.hb-menu a { color: var(--ink); text-decoration: none; font-weight: 500; font-size: .98rem; padding: .5rem 0; display: inline-block; }
.hb-menu a:hover, .hb-menu .current-menu-item > a { color: var(--loop); }
.hb-menu .sub-menu { list-style: none; position: absolute; left: -1rem; top: 100%; min-width: 15rem; margin: 0; padding: .5rem 0; background: var(--paper); border: 1px solid var(--rule); border-radius: var(--radius-m); opacity: 0; visibility: hidden; transform: translateY(4px); transition: opacity .18s var(--ease), transform .18s var(--ease), visibility .18s; }
.hb-menu .sub-menu a { padding: .5rem 1rem; display: block; }
.hb-menu li:hover > .sub-menu, .hb-menu li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.hb-nav__right { display: flex; align-items: center; gap: 1.25rem; }
.hb-login { color: var(--ink); font-weight: 500; text-decoration: none; padding-right: 1.25rem; border-right: 1px solid var(--rule); }
.hb-login:hover { color: var(--loop); }
.hb-btn--header { min-height: 42px; padding: .55rem 1.05rem !important; }
@media (max-width: 1020px) {
  .hb-nav__toggle { display: inline-flex; align-items: center; background: none; border: 1px solid var(--rule); border-radius: var(--radius-s); min-height: 42px; padding: 0 .9rem; font: 500 .95rem var(--sans); color: var(--ink); cursor: pointer; }
  .hb-nav { justify-content: flex-end; }
  .hb-js .hb-nav__panel { display: none; }
  .hb-nav { flex-wrap: wrap; }
  .hb-nav__panel { flex-basis: 100%; flex-direction: column; align-items: stretch; }
  .hb-js .hb-nav.is-open .hb-nav__panel { position: absolute; left: 0; right: 0; top: 100%; display: flex; flex-direction: column; align-items: stretch; gap: 0; padding: 1rem var(--gutter) 1.5rem; background: var(--paper); border-bottom: 1px solid var(--rule); box-shadow: 0 10px 30px -18px rgba(19, 32, 42, .35); }
  .hb-header .et_pb_row, .hb-header .et_pb_column { position: static; }
  .hb-menu { flex-direction: column; gap: 0; }
  .hb-menu a { padding: .7rem 0; display: block; }
  .hb-menu .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; border: 0; padding: 0 0 0 1rem; min-width: 0; }
  .hb-nav__right { flex-direction: column; align-items: stretch; gap: .75rem; margin-top: 1rem; padding-top: 1rem; border-top: 1px solid var(--rule); }
  .hb-login { border: 0; padding: .5rem 0; }
}
.hb-footer.et_pb_section { background: var(--ink); color: #9fb0b8; padding: 3rem 0 2.5rem; border-top: 1px solid #23333e; font-size: .92rem; }
.hb-footer .et_pb_text, .hb-footer .et_pb_text p { color: #9fb0b8; font-size: .92rem; }
.hb-footer-menu { list-style: none; margin: 0 !important; padding: 0 !important; display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; }
.hb-footer-menu li { list-style: none; padding: 0 !important; }
.hb-footer-menu a, .hb-footer a { color: #d6e0e4; text-decoration: none; }
.hb-footer-menu a:hover, .hb-footer a:hover { color: #fff; text-decoration: underline; }
.hb-footer .hb-logo img { height: 28px; }
.hb-footer .et_pb_row + .et_pb_row { margin-top: 2rem; }

/* ---------- page helpers ----------------------------------------------- */
.hb-head-split { display: flex; justify-content: space-between; align-items: flex-end; gap: 1rem 2rem; flex-wrap: wrap; }
.hb-measure, body .et_pb_text .hb-measure { max-width: 15em; }
.hb-sec .et_pb_text h2 + .hb-lead, .hb-sec .et_pb_text h1 + .hb-lead { margin-top: 1.5rem; }
.hb-icon { display: block; width: 100%; height: auto; }
.hb-proof .hb-icon { width: 20px; height: 20px; margin-top: .15rem; }
.hb-posture .hb-icon { width: 32px; height: 32px; }
.hb-closing .hb-actions { margin-top: 0; justify-content: flex-start; }
.hb-sec .et_pb_text h3 + p { margin-top: .6rem; }
.hb-sec--hero .hb-actions + .hb-proof { margin-top: 2.75rem !important; }
.hb-steps .et_pb_module + .et_pb_module { margin-top: 0; }

/* ---------- contact form (Formidable) ----------------------------------- */
.hb-h3, body .et_pb_text .hb-h3 { font-size: var(--step-1); line-height: 1.25; letter-spacing: -.01em; font-stretch: 100%; margin-top: 2.25rem; }
.hb-numbered strong { font-weight: 600; }
.hb-flagline, body .et_pb_text .hb-flagline { font-size: var(--step-1); font-weight: 600; letter-spacing: -.01em; line-height: 1.35; color: var(--ink); }
.hb-numbered--cols { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem 3rem; margin-top: 2rem !important; }
@media (max-width: 780px) { .hb-numbered--cols { grid-template-columns: minmax(0, 1fr); } }
.hb-numbered + p, .hb-checklist + p { margin-top: 1.25rem; }
.hb-aside { margin-top: 1rem; padding: 1.5rem; background: var(--field); border-radius: var(--radius-m); }
.hb-aside .hb-h3 { margin-top: 0; }
.hb-aside .hb-checklist { margin-top: 1rem !important; }
.hb-form-card { background: var(--paper); border: 1px solid var(--rule); border-radius: var(--radius-m); padding: clamp(1.25rem, 3vw, 2.25rem); }
.hb-narrow, body .et_pb_text.hb-narrow { max-width: 40em; }
.hb-form-card .frm_forms .frm_form_field { margin-bottom: 1.1rem; }
.hb-form-card .frm_forms label.frm_primary_label, .hb-form-card .frm_forms .frm_primary_label { font: 600 .95rem/1.3 var(--sans); color: var(--ink); margin-bottom: .35rem; padding: 0; }
.hb-form-card .frm_forms input[type=text], .hb-form-card .frm_forms input[type=email], .hb-form-card .frm_forms input[type=tel],
.hb-form-card .frm_forms input[type=number], .hb-form-card .frm_forms select, .hb-form-card .frm_forms textarea {
  width: 100%; font: 400 1rem/1.4 var(--sans); color: var(--ink); background: var(--paper);
  border: 1px solid var(--wire); border-radius: var(--radius-s); padding: .7rem .8rem; min-height: 46px; box-shadow: none;
}
.hb-form-card .frm_forms input:focus, .hb-form-card .frm_forms select:focus, .hb-form-card .frm_forms textarea:focus { border-color: var(--loop); outline: 2px solid var(--loop-tint); outline-offset: 0; }
.hb-form-card .frm_forms .frm_description { font-size: .86rem; color: var(--graphite); margin-top: .3rem; }
.hb-form-card .frm_forms .frm_radio label { font-weight: 400; color: var(--ink); }
.hb-form-card .frm_forms .frm_html_container { font-size: .88rem; color: var(--graphite); }
.hb-form-card .frm_forms a { text-decoration: underline; text-underline-offset: .18em; }
.hb-form-card .frm_forms .frm_submit button, .hb-form-card .frm_forms .frm_submit input[type=submit], .hb-form-card .frm_forms .frm_button_submit {
  min-height: 48px !important; padding: .7rem 1.35rem !important; border: 0 !important; border-radius: var(--radius-s) !important;
  background: var(--loop) !important; color: #fff !important; font: 600 1rem/1 var(--sans) !important; cursor: pointer; box-shadow: none !important; opacity: 1 !important;
}
.hb-form-card .frm_forms .frm_submit button:hover, .hb-form-card .frm_forms .frm_button_submit:hover { background: var(--loop-ink) !important; }
.hb-form-card .frm_forms .frm_submit button:focus-visible, .hb-form-card .frm_forms .frm_button_submit:focus-visible { outline: 2px solid var(--loop) !important; outline-offset: 3px; }
.hb-form-card .frm_forms .frm_radio label, .hb-form-card .frm_forms .frm_opt_container label { font-size: .98rem !important; }
.hb-form-card .frm_forms .frm_error, .hb-form-card .frm_forms .frm_error_style { color: var(--bad); font-size: .88rem; }

.hb-sec--flush .et_pb_row + .et_pb_row { margin-top: 2rem; }
.hb-stack h3 + p { margin-top: .4rem !important; }
.hb-stack p + h3 { margin-top: 1.75rem; }
.hb-table--wide th[scope=row] { width: 30%; }
body .et_pb_text table.hb-table, body .et_pb_text table.hb-plans { border: 0 !important; margin: 0; }
body .et_pb_text table.hb-table th, body .et_pb_text table.hb-table td, body .et_pb_text table.hb-plans th, body .et_pb_text table.hb-plans td { border: 0 !important; border-bottom: 1px solid var(--rule) !important; padding: .9rem 1.25rem .9rem 0 !important; }
@media (max-width: 680px) { body .et_pb_text table.hb-table, body .et_pb_text table.hb-table tbody, body .et_pb_text table.hb-table tr, body .et_pb_text table.hb-table th, body .et_pb_text table.hb-table td { display: block; width: auto !important; } body .et_pb_text table.hb-table thead { display: none; } body .et_pb_text table.hb-table th { border-bottom: 0 !important; padding-bottom: .2rem !important; } }
.hb-sec .et_pb_text table + * , .hb-sec .et_pb_text h2 + table { margin-top: 1.5rem; }

/* ---------- lists & matrices ------------------------------------------- */
.hb-bullets { list-style: none; margin: 1rem 0 0 !important; padding: 0 !important; display: grid; gap: .6rem; }
.hb-bullets > li { position: relative; padding: 0 0 0 1.25rem !important; color: var(--graphite); }
.hb-bullets > li::before { content: ""; position: absolute; left: 0; top: .7em; width: .45rem; height: .45rem; border-radius: 50%; background: var(--loop); }
.hb-bullets--cols { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .7rem 3rem; margin-top: 2rem !important; }
.hb-roadmap > li::before { background: transparent; border: 1.5px solid var(--wire); }
.hb-posture--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.hb-after-list, body .et_pb_text .hb-after-list { margin-top: 1.75rem; }
.hb-table--matrix td, .hb-table--matrix thead th:not(:first-child) { text-align: center; color: var(--ink); }
.hb-table--matrix td span[aria-label] { color: var(--loop); font-weight: 600; }
@media (max-width: 780px) { .hb-bullets--cols, .hb-posture--3 { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 680px) { body .et_pb_text table.hb-table--matrix td { text-align: left; } body .et_pb_text table.hb-table--matrix td::before { content: attr(data-label) ": "; color: var(--graphite); } body .et_pb_text table.hb-table--matrix td:empty { display: none; } }

.hb-eyebrow-note, body .et_pb_text .hb-eyebrow-note { display: inline-block; font-size: .84rem; font-weight: 600; color: var(--loop-ink); background: var(--loop-tint); border-radius: 4px; padding: .15rem .55rem; margin-bottom: 1rem; }

/* breadcrumbs (child pages, in the hero) */
.hb-crumbs { font-size: .9rem; color: var(--graphite); margin: 0 0 1.25rem; }
.hb-crumbs a, body .et_pb_text .hb-crumbs a { color: var(--graphite); text-decoration: underline; text-decoration-color: var(--rule); text-underline-offset: .2em; }
.hb-crumbs a:hover, .hb-crumbs a:focus-visible { color: var(--loop-ink); text-decoration-color: currentColor; }
.hb-crumbs .breadcrumb_last { color: var(--ink); }

/* resources hub: a ruled list, not cards */
.hb-reslist { list-style: none; margin: 0 !important; padding: 0 !important; }
.hb-reslist > li { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: .4rem 3rem; align-items: baseline; padding: 1.6rem 0 !important; border-top: 1px solid var(--rule); }
.hb-reslist > li:last-child { border-bottom: 1px solid var(--rule); }
.hb-reslist h3 { margin: 0; padding: 0; font-size: 1.25rem; }
.hb-reslist h3 a, body .et_pb_text .hb-reslist h3 a { color: var(--ink); text-decoration: none; }
.hb-reslist h3 a:hover, .hb-reslist h3 a:focus-visible { color: var(--loop-ink); text-decoration: underline; text-underline-offset: .2em; }
.hb-reslist p { margin: 0; padding: 0; color: var(--graphite); }
.hb-tag { display: inline-block; vertical-align: middle; margin-left: .5rem; font: 600 .78rem/1 var(--sans); color: var(--loop-ink); background: var(--loop-tint); border-radius: 4px; padding: .3rem .5rem; }
@media (max-width: 780px) { .hb-reslist > li { grid-template-columns: minmax(0, 1fr); } }
button.hb-print, body .et_pb_text button.hb-print { font: inherit; font-weight: 600; color: var(--loop); background: none; border: 0; padding: 0; cursor: pointer; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .18em; }

/* architecture: landscape drawing, stacked on phones */
.hb-art--architecture .hb-arch-v { display: none; }
@media (max-width: 600px) {
  .hb-art--architecture .hb-arch-h { display: none; }
  .hb-art--architecture .hb-arch-v { display: block; max-width: 360px; margin-inline: auto; }
}

/* ---------- 404 + notices ----------------------------------------------- */
.hb-404__body { max-width: 36em; }
.hb-404__body .hb-art--mark { margin-bottom: 2rem; }
.hb-404__body h1 { font-size: var(--step-3); }
.hb-404__body .hb-lead { margin-top: 1.25rem; }
.hb-notice { padding: 1rem 1.25rem; border-radius: var(--radius-m); background: var(--flag-tint); color: var(--ink); border: 1px solid #f0d9a8; }

/* ---------- responsive ----------------------------------------------- */
@media (max-width: 1020px) {
  .hb-art--hero-loop { margin-right: 0; }
  .hb-sticky.et_pb_column { top: 80px; z-index: 2; box-shadow: 0 10px 30px -18px rgba(19, 32, 42, .35); border-radius: var(--radius-m); }
  .hb-step, .hb-steps .hb-step:first-child, .hb-steps .hb-step:last-child { min-height: 0; padding-block: 2.25rem; justify-content: flex-start; }
  .hb-record .record-foot { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 680px) {
  .hb-posture { grid-template-columns: minmax(0, 1fr); }
  .hb-record .rec-body { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hb-record .f-wide { grid-column: span 2; }
  .hb-plans thead { display: none; }
  .hb-plans, .hb-plans tbody, .hb-plans tr, .hb-plans th, .hb-plans td { display: block; }
  .hb-plans tr { padding: 1rem 0; border-bottom: 1px solid var(--rule); }
  .hb-plans th, .hb-plans td { border: 0; padding: .1rem 0; }
  .hb-plans td.num::before { content: attr(data-label) " "; color: var(--graphite); font-size: .9rem; font-weight: 400; }
  .hb-sticky.et_pb_column { position: relative; top: 0; box-shadow: none; }
  .hb-frame [data-hb-art="vpn-contrast"] svg { min-width: 760px; }
}

/* ---------- reduced motion ------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hb-art *, .hb-art *::before, .hb-art *::after,
  .hb-record *, .hb-step, .hb-step *, .hb-faq * { animation: none !important; transition: none !important; }
  .hb-js .hb-art .ledger-row:not(.in) { opacity: 1; transform: none; }
  .hb-js .hb-art .ledger-row:not(.in) .tick { stroke-dashoffset: 0; }
  .hb-js [data-hb-art="vpn-contrast"]:not(.is-drawn) .draw { stroke-dashoffset: 0; }
  .hb-js [data-hb-art="vpn-contrast"]:not(.is-drawn) .reveal { opacity: 1; }
}

/* ---------- print (sample record, checklist) ------------------------------ */
@media print {
  .et-l--header, .et-l--footer, .hb-closing, .hb-record .tamper, #wpadminbar, .hb-actions .hb-btn, .hb-print { display: none !important; }
  html, body, .hb-sec, .hb-sec--field, .hb-sec--hero { background: #fff !important; }
  .hb-sec.et_pb_section { padding: 1.25rem 0 !important; }
  .hb-sec .et_pb_row { width: 100% !important; }
  .hb-record .record-foot { grid-template-columns: minmax(0, 1fr); }
  .hb-record .ledger, .hb-record .rec { break-inside: avoid; }
  a { color: var(--ink); }
  .hb-checklist > li::before { border-color: #000; }
}
