/* ============================================================
   HOXROCKS theme styles v2.6.1 (BLACK & WHITE)
   Tokens come from theme.json (--wp--preset--color--*).
   Bump HOXROCKS_VERSION + style.css Version on every change.
   ============================================================ */

:root {
  --hx-ink:      var(--wp--preset--color--ink);
  --hx-carbon:   var(--wp--preset--color--carbon);
  --hx-graphite: var(--wp--preset--color--graphite);
  --hx-slate:    var(--wp--preset--color--slate);
  --hx-grey:     var(--wp--preset--color--grey);
  --hx-silver:   var(--wp--preset--color--silver);
  --hx-line:     var(--wp--preset--color--line);
  --hx-mist:     var(--wp--preset--color--mist);
  --hx-white:    var(--wp--preset--color--white);
  --hx-radius: 2px;
  --hx-shadow: 0 10px 30px rgba(0, 0, 0, 0.07);
}

/* ---------- base ---------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; -webkit-font-smoothing: antialiased; }
img, svg { max-width: 100%; height: auto; }   /* block themes do NOT do this for raw <img> */
a { text-decoration: none; color: var(--hx-ink); }
p a, li a { text-decoration: underline; text-underline-offset: 2px; text-decoration-thickness: 1.5px; }

.hx-wrap { max-width: 1100px; margin: 0 auto; padding: 0 22px; }
.hx-section { padding: 72px 0; }
.hx-section-alt { background: var(--hx-mist); }
.hx-eyebrow {
  font-family: var(--wp--preset--font-family--heading);
  font-size: 0.8rem; font-weight: 700; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--hx-ink); margin: 0 0 10px;
}
.hx-lead { font-size: 1.16rem; line-height: 1.6; color: var(--hx-slate); max-width: 640px; }
.hx-center { text-align: center; }
.hx-center .hx-lead { margin-left: auto; margin-right: auto; }

/* ---------- buttons ---------- */
.hx-btn {
  display: inline-block; padding: 14px 28px; border-radius: var(--hx-radius);
  font-family: var(--wp--preset--font-family--heading);
  font-size: 1rem; font-weight: 700; line-height: 1.2; letter-spacing: 0.01em;
  border: 2px solid var(--hx-ink);
  transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}
/* primary on light */
.hx-btn-green { background: var(--hx-ink); color: var(--hx-white) !important; }
.hx-btn-green:hover { background: var(--hx-white); color: var(--hx-ink) !important; }
/* outline on light */
.hx-btn-ghost { background: transparent; color: var(--hx-ink) !important; }
.hx-btn-ghost:hover { background: var(--hx-ink); color: var(--hx-white) !important; }
/* primary on dark */
.hx-btn-light { background: var(--hx-white); color: var(--hx-ink) !important; border-color: var(--hx-white); }
.hx-btn-light:hover { background: transparent; color: var(--hx-white) !important; }
.hx-btn-row { display: flex; flex-wrap: wrap; gap: 14px; margin: 26px 0 0; }
.hx-btn:focus-visible, a:focus-visible, button:focus-visible {
  outline: 3px solid var(--hx-ink); outline-offset: 3px;
}
.hx-hero a:focus-visible, .hx-video-slot a:focus-visible, .hx-band .hx-btn:focus-visible,
.hx-footer a:focus-visible, .hx-mobile-menu a:focus-visible, .hx-header a:focus-visible,
.hx-header button:focus-visible, .hx-mobile-menu button:focus-visible {
  outline-color: var(--hx-white);
}

/* buttons inside dark sections always invert (belt and braces vs black-on-black) */
.hx-hero .hx-btn-green, .hx-band .hx-btn-green, .hx-mobile-menu .hx-btn-green,
.hx-hero .hx-btn-light, .hx-band .hx-btn-light, .hx-mobile-menu .hx-btn-light {
  background: var(--hx-white); color: var(--hx-ink) !important; border-color: var(--hx-white);
}
.hx-hero .hx-btn-green:hover, .hx-band .hx-btn-green:hover, .hx-mobile-menu .hx-btn-green:hover,
.hx-hero .hx-btn-light:hover, .hx-band .hx-btn-light:hover, .hx-mobile-menu .hx-btn-light:hover {
  background: transparent; color: var(--hx-white) !important; border-color: var(--hx-white);
}
.hx-hero .hx-btn-ghost, .hx-band .hx-btn-ghost, .hx-mobile-menu .hx-btn-ghost {
  color: var(--hx-white) !important; border-color: rgba(255, 255, 255, 0.6); background: transparent;
}
.hx-hero .hx-btn-ghost:hover, .hx-band .hx-btn-ghost:hover, .hx-mobile-menu .hx-btn-ghost:hover {
  background: var(--hx-white); color: var(--hx-ink) !important; border-color: var(--hx-white);
}

/* ---------- logo ---------- */
.hx-logo { display: block; width: 206px; height: auto; }
.hx-brand-link { display: inline-flex; line-height: 0; }

/* ---------- trading name + hero nudge ---------- */
.hx-brand-block { display: flex; flex-direction: column; gap: 5px; }
.hx-trading {
  margin: 0; font-size: 0.62rem; letter-spacing: 0.03em; color: var(--hx-silver);
  line-height: 1.3;
}
.hx-footer-brand .hx-trading { margin-top: 10px; font-size: 0.68rem; }
.hx-footer-brand .hx-footer-tag { margin-top: 10px; }
.hx-hero-nudge { margin: 16px 0 0; }
.hx-hero-nudge a {
  color: var(--hx-white); font-weight: 700; font-size: 0.95rem;
  font-family: var(--wp--preset--font-family--heading);
  display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; border-bottom: 2px solid rgba(255, 255, 255, 0.45); padding-bottom: 3px;
}
.hx-hero-nudge a:hover { border-bottom-color: var(--hx-white); }

/* ---------- header (BLACK) ---------- */
.hx-header { background: var(--hx-ink); }
.hx-header-inner {
  max-width: 1100px; margin: 0 auto; padding: 18px 22px;
  display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap;
}
.hx-nav { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.hx-nav a {
  color: var(--hx-white); font-weight: 500; font-size: 0.98rem;
  display: inline-flex; align-items: center; min-height: 44px; padding-bottom: 2px; border-bottom: 2px solid transparent;
}
.hx-nav a:hover { border-bottom-color: var(--hx-white); }
.hx-nav .hx-nav-cta { padding: 11px 22px; font-size: 0.95rem; border-bottom-width: 2px; }
.hx-nav .hx-nav-cta:hover { border-color: var(--hx-white); }

/* ---------- hero (BLACK, continues the header block) ---------- */
.hx-hero {
  background: var(--hx-ink);
  background-image: radial-gradient(ellipse 900px 520px at 26% 14%, #1E1E1E, transparent 66%);
  color: var(--hx-white);
}
.hx-hero-grid {
  max-width: 1100px; margin: 0 auto; padding: 74px 22px 0;
  display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 48px; align-items: end;
}
.hx-hero-copy { padding-bottom: 84px; }
.hx-hero .hx-eyebrow { color: var(--hx-white); }
.hx-hero h1 {
  color: var(--hx-white); font-size: clamp(2.1rem, 4.6vw, 3.2rem);
  margin: 0 0 20px; line-height: 1.08; letter-spacing: -0.015em;
}
.hx-hero .hx-lead { color: #D6D6D6; }
.hx-hero-trust {
  margin-top: 30px; font-size: 0.88rem; color: var(--hx-silver); max-width: 560px; line-height: 1.6;
}
.hx-hero-visual { display: flex; justify-content: center; align-items: flex-end; }
.hx-hero-visual img {
  width: 300px; max-width: 82%; display: block;
  filter: drop-shadow(0 24px 40px rgba(0, 0, 0, 0.6));
  margin-bottom: -110px;
}
.hx-hero + * { padding-top: 140px; }

/* ---------- platform features ---------- */
.hx-feature-list { margin-top: 40px; }
.hx-feature-row {
  display: grid; grid-template-columns: minmax(180px, 1fr) minmax(0, 2fr); gap: 28px;
  padding: 24px 0; border-top: 1px solid var(--hx-line);
}
.hx-feature-row h3 { margin: 0; font-size: 1.18rem; color: var(--hx-ink); }
.hx-feature-row p { margin: 0; font-size: 0.98rem; line-height: 1.6; }
@media (max-width: 640px) {
  .hx-feature-row { grid-template-columns: minmax(0, 1fr); gap: 10px; }
}

/* ---------- tick / cross ---------- */
.hx-ticks {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px 34px;
  margin: 36px 0 0; padding: 0; list-style: none;
}
.hx-ticks li { display: flex; gap: 12px; align-items: flex-start; font-size: 1.02rem; }
.hx-tick, .hx-x {
  flex: 0 0 22px; width: 22px; height: 22px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center; margin-top: 2px;
  font-size: 0.72rem; font-weight: 700; line-height: 1;
}
.hx-tick { background: var(--hx-ink); color: var(--hx-white); }
.hx-x { background: #EAEAEA; color: var(--hx-grey); }
.hx-band .hx-tick, .hx-hero .hx-tick { background: var(--hx-white); color: var(--hx-ink); }

/* ---------- steps ---------- */
.hx-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 40px; }
.hx-step {
  background: var(--hx-white); border: 1px solid var(--hx-line);
  border-radius: var(--hx-radius); padding: 30px 28px;
}
.hx-step-num {
  width: 40px; height: 40px; border-radius: 50%; background: var(--hx-ink);
  color: var(--hx-white); font-family: var(--wp--preset--font-family--heading);
  font-weight: 700; font-size: 1.05rem; display: flex; align-items: center; justify-content: center;
}
.hx-step :is(h2, h3) { margin: 16px 0 10px; font-size: 1.14rem; }
.hx-step p { margin: 0; font-size: 0.97rem; line-height: 1.6; }

/* ---------- CTA band (black anchor into the footer) ---------- */
.hx-band { background: var(--hx-ink); color: var(--hx-white); text-align: center; padding: 76px 0; }
.hx-band h2 { color: var(--hx-white); font-size: clamp(1.6rem, 3.4vw, 2.3rem); margin: 0 0 14px; }
.hx-band p { color: #D6D6D6; max-width: 580px; margin: 0 auto 8px; }
.hx-band .hx-btn-row { justify-content: center; }

/* ---------- packages ---------- */
.hx-tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 44px; align-items: stretch; }
.hx-tier {
  position: relative; background: var(--hx-white); border: 2px solid var(--hx-line);
  border-radius: var(--hx-radius); padding: 34px 28px 28px; display: flex; flex-direction: column;
}
.hx-tier-featured { border-color: var(--hx-ink); }
.hx-tier-badge {
  position: absolute; top: -13px; right: 22px; background: var(--hx-ink); color: var(--hx-white);
  font-family: var(--wp--preset--font-family--heading); font-weight: 700; font-size: 0.72rem;
  padding: 6px 14px; letter-spacing: 0.1em; text-transform: uppercase;
}
.hx-tier :is(h2, h3) { margin: 0 0 4px; font-size: 1.4rem; letter-spacing: -0.01em; }
.hx-tier-pitch { margin: 0 0 20px; font-size: 0.95rem; color: var(--hx-slate); }
.hx-tier-price { font-family: var(--wp--preset--font-family--heading); color: var(--hx-ink); margin: 0; line-height: 1; }
.hx-tier-price .hx-price-amount { font-size: 2.6rem; font-weight: 700; letter-spacing: -0.02em; }
.hx-tier-price .hx-price-per { display: block; margin-top: 8px; font-size: 0.9rem; font-weight: 600; color: var(--hx-slate); }
.hx-tier-users {
  font-size: 0.84rem; color: var(--hx-grey); margin: 12px 0 22px; padding-bottom: 20px;
  border-bottom: 1px solid var(--hx-line); letter-spacing: 0.02em;
}
.hx-tier-features { list-style: none; margin: 0 0 26px; padding: 0; display: grid; gap: 12px; flex: 1 1 auto; }
.hx-tier-features li { display: flex; gap: 11px; align-items: flex-start; font-size: 0.93rem; line-height: 1.45; }
.hx-tier-features .off { color: var(--hx-grey); }
.hx-tier-features .note { display: block; font-size: 0.78rem; color: var(--hx-grey); }
.hx-tier .hx-btn { text-align: center; }

/* ---------- FAQ ---------- */
.hx-faq { margin-top: 44px; display: grid; gap: 14px; }
.hx-faq details {
  background: var(--hx-white); border: 1px solid var(--hx-line);
  border-radius: var(--hx-radius); padding: 18px 22px;
}
.hx-faq summary {
  cursor: pointer; font-family: var(--wp--preset--font-family--heading);
  font-weight: 600; color: var(--hx-ink); font-size: 1.02rem;
}
.hx-faq details p { margin: 12px 0 0; font-size: 0.97rem; }

/* ---------- module strips ---------- */
.hx-strips { display: grid; min-width: 0; gap: 18px; margin-top: 40px; }
.hx-strip {
  display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 28px; align-items: center;
  background: var(--hx-white); border: 1px solid var(--hx-line);
  border-radius: var(--hx-radius); padding: 26px 30px;
}
.hx-strip > * { min-width: 0; overflow-wrap: anywhere; }
.hx-strip-label {
  font-family: var(--wp--preset--font-family--heading); font-weight: 700;
  color: var(--hx-ink); font-size: 1.08rem;
}
.hx-strip-label .hx-eyebrow { margin-bottom: 6px; color: var(--hx-grey); }
.hx-strip p { margin: 0; font-size: 0.97rem; line-height: 1.6; }
.hx-strip-media { grid-column: 1 / -1; margin-top: 6px; }
.hx-strip-media img { border-radius: var(--hx-radius); display: block; }

/* ---------- real app screenshots ---------- */
.hx-section.hx-app-section, .hx-section.hx-desktop-section { padding-top: 0; }
.hx-app-screens {
  display: flex; align-items: flex-start; gap: 40px;
  max-width: 1040px; margin-top: 36px;
}
.hx-app-screens figure { flex: 1 1 0; min-width: 0; margin: 0; }
.hx-desktop-screens {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px 40px; max-width: 1244px; margin-top: 36px;
}
.hx-desktop-screens figure { min-width: 0; max-width: 602px; margin: 0; }
/* Prepared screenshots have their status bars and private details removed in the image files. */
.hx-screenshot { display: block; overflow: hidden; border-radius: 12px; }
.hx-screenshot--phone { border-radius: 20px; }
.hx-screenshot img { display: block; width: 100%; height: auto; }
/* A shared frame aligns desktop captions while preserving every screenshot pixel. */
.hx-desktop-screens .hx-screenshot--desktop { aspect-ratio: 602 / 283; }
.hx-desktop-screens .hx-screenshot--desktop img { width: 100%; height: 100%; object-fit: contain; }
.hx-app-open {
  display: block; width: 100%; padding: 0; border: 0; border-radius: 20px;
  background: transparent; color: inherit; cursor: zoom-in;
}
.hx-app-open:focus-visible, .hx-image-close:focus-visible, .hx-image-body:focus-visible {
  outline: 3px solid var(--hx-ink); outline-offset: 4px;
}
.hx-app-screens figcaption, .hx-desktop-screens figcaption { margin-top: 16px; color: var(--hx-grey); font-size: 0.94rem; line-height: 1.5; }
html.hx-image-open { overflow: hidden; }
.hx-image-dialog {
  width: calc(100% - 32px); max-width: 848px; max-height: calc(100vh - 32px);
  max-height: calc(100dvh - 32px); padding: 0; margin: auto; border: 0;
  border-radius: 12px; color: var(--hx-ink); background: var(--hx-white);
  box-shadow: 0 12px 60px rgba(0, 0, 0, 0.3);
}
.hx-image-dialog[open] { display: flex; flex-direction: column; }
.hx-image-dialog::backdrop { background: rgba(0, 0, 0, 0.75); }
.hx-image-toolbar {
  display: flex; flex: 0 0 auto; align-items: center; justify-content: space-between;
  gap: 16px; padding: 16px 20px; border-bottom: 1px solid var(--hx-line);
}
.hx-image-toolbar p { margin: 0; font-weight: 600; font-size: 1rem; line-height: 1.4; }
.hx-image-close {
  flex: 0 0 auto; min-height: 44px; padding: 8px 14px; border: 1px solid var(--hx-ink);
  border-radius: 6px; font: inherit; color: var(--hx-white); background: var(--hx-ink); cursor: pointer;
}
.hx-image-body { min-height: 0; padding: 20px; overflow: auto; overscroll-behavior: contain; }
.hx-image-body .hx-screenshot { width: 100%; max-width: 800px; margin: 0 auto; }
@media (max-width: 760px) {
  .hx-app-screens { flex-direction: column; gap: 32px; }
  .hx-app-screens figure { flex: auto; width: 100%; max-width: 440px; }
  .hx-desktop-screens { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .hx-image-dialog { width: calc(100% - 16px); max-height: calc(100dvh - 16px); }
  .hx-image-toolbar { padding: 12px; gap: 12px; }
  .hx-image-body { padding: 12px; }
}

/* ---------- SignEase flow: Upload > Assign > Read > Sign > Track ---------- */
.hx-flow { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; margin-top: 38px; }
.hx-flow-step {
  position: relative; background: var(--hx-white); border: 1px solid var(--hx-line);
  border-radius: var(--hx-radius); padding: 22px 16px; text-align: center;
}
.hx-flow-step .n {
  display: inline-flex; align-items: center; justify-content: center;
  width: 30px; height: 30px; border-radius: 50%; background: var(--hx-ink); color: var(--hx-white);
  font-family: var(--wp--preset--font-family--heading); font-weight: 700; font-size: 0.85rem;
}
.hx-flow-step :is(h3, h4) {
  margin: 12px 0 6px; font-size: 1rem; font-family: var(--wp--preset--font-family--heading);
  color: var(--hx-ink);
}
.hx-flow-step p { margin: 0; font-size: 0.84rem; line-height: 1.5; color: var(--hx-grey); }
.hx-flow-step::after {
  content: ""; position: absolute; top: 50%; right: -10px; width: 10px; height: 2px;
  background: var(--hx-line);
}
.hx-flow-step:last-child::after { display: none; }
.hx-band .hx-flow-step { background: var(--hx-carbon); border-color: var(--hx-graphite); }
.hx-band .hx-flow-step :is(h3, h4) { color: var(--hx-white); }
.hx-band .hx-flow-step .n { background: var(--hx-white); color: var(--hx-ink); }
.hx-band .hx-flow-step p { color: var(--hx-silver); }

/* ---------- video slot ---------- */
.hx-video-slot {
  margin-top: 40px; aspect-ratio: 16 / 9; border-radius: var(--hx-radius);
  background: var(--hx-ink);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 18px; color: #D6D6D6; text-align: center; padding: 24px;
}
.hx-video-play {
  width: 72px; height: 72px; border-radius: 50%; background: rgba(255, 255, 255, 0.08);
  border: 2px solid rgba(255, 255, 255, 0.5);
  display: flex; align-items: center; justify-content: center;
}
.hx-video-play::after {
  content: ""; display: block; margin-left: 6px;
  border-left: 20px solid var(--hx-white);
  border-top: 12px solid transparent; border-bottom: 12px solid transparent;
}
.hx-video-slot p { margin: 0; font-size: 0.98rem; }
.hx-video-slot a { color: var(--hx-white); }

/* ---------- blog ---------- */
.hx-page-head { padding: 64px 0 8px; }
.hx-page-head h1 { margin: 0 0 12px; font-size: clamp(1.9rem, 4vw, 2.7rem); letter-spacing: -0.015em; }
.hx-blog { padding: 40px 0 80px; }
.hx-blog-grid {
  display: grid !important; grid-template-columns: repeat(3, 1fr); gap: 22px;
  margin: 0; padding: 0; list-style: none;
}
.hx-blog-grid > li { margin: 0; }
.hx-post-card {
  background: var(--hx-white); border: 1px solid var(--hx-line);
  border-radius: var(--hx-radius); padding: 26px 26px 22px; height: 100%;
}
.hx-post-date { font-size: 0.8rem; color: var(--hx-grey); text-transform: uppercase; letter-spacing: 0.08em; }
.hx-post-title { font-size: 1.12rem; line-height: 1.35; margin: 10px 0 10px; }
.hx-post-title a { color: var(--hx-ink); }
.hx-post-title a:hover { text-decoration: underline; text-underline-offset: 3px; }
.hx-post-excerpt { font-size: 0.94rem; line-height: 1.6; }
.hx-post-excerpt .wp-block-post-excerpt__more-link { color: var(--hx-ink); font-weight: 700; }
.hx-pagination { margin-top: 40px; font-weight: 600; }
.hx-home-blog { padding-bottom: 24px; }
.hx-home-blog-loop.hx-blog { padding: 0; }
.hx-home-blog-cta { padding-top: 28px; }

/* ---------- single article ---------- */
.hx-article { padding: 64px 22px 80px; max-width: 720px; margin: 0 auto; }
.hx-article-title { font-size: clamp(1.7rem, 3.6vw, 2.4rem); margin: 10px 0 22px; letter-spacing: -0.015em; }
.hx-article .wp-block-post-content p { line-height: 1.75; }
.hx-article .wp-block-post-content h2,
.hx-article .wp-block-post-content h3 { margin-top: 2em; }

/* ---------- long-form prose (About, guides, legal) ---------- */
.hx-prose { max-width: 782px; }
.hx-prose > h2 {
  margin: 2.6em 0 0.55em; font-size: clamp(1.2rem, 2vw, 1.35rem);
  padding-top: 1.4em; border-top: 1px solid var(--hx-line);
}
.hx-prose > h2:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.hx-prose > h3 { margin: 2em 0 0.5em; font-size: 1.08rem; }
.hx-prose > p { margin: 0 0 1.15em; }
.hx-prose > p:last-child { margin-bottom: 0; }
.hx-prose ul, .hx-prose ol { margin: 0 0 1.4em; padding-left: 1.3em; }
.hx-prose li { margin-bottom: 0.5em; padding-left: 0.2em; }
.hx-prose li::marker { color: var(--hx-silver); }
.hx-prose .hx-btn-row { margin-top: 2em; }
.hx-prose blockquote { margin: 2em 0; }
/* unfilled placeholder in a draft document: impossible to miss, impossible to ship by accident */
.hx-todo {
  background: var(--hx-ink); color: var(--hx-white); padding: 2px 8px;
  font-family: var(--wp--preset--font-family--heading); font-weight: 700;
  font-size: 0.82em; letter-spacing: 0.04em; white-space: nowrap;
}

/* ---------- legal documents (terms, privacy) ----------
   Clause letters are literal text, never <ol type="a">: clause 14.3 of the
   supplied terms deliberately skips (e), and a browser-numbered list would
   silently renumber every item after it and change the legal meaning. */
.hx-legal-date {
  font-family: var(--wp--preset--font-family--heading);
  font-size: 0.82rem; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--hx-slate); margin: 0 0 2.4em;
}
.hx-cn {
  display: inline-block; min-width: 2.9em;
  font-family: var(--wp--preset--font-family--heading);
  font-weight: 700; font-variant-numeric: tabular-nums; color: var(--hx-ink);
}
.hx-prose ul.hx-legal-list,
.hx-prose ul.hx-legal-defs { list-style: none; padding-left: 2.9em; margin: 0 0 1.35em; }
.hx-prose ul.hx-legal-list li,
.hx-prose ul.hx-legal-defs li { margin-bottom: 0.55em; padding-left: 0; }
.hx-prose ul.hx-legal-defs li { text-indent: -1.1em; padding-left: 1.1em; }
@media (max-width: 600px) {
  .hx-cn { min-width: 0; margin-right: 0.5em; }
  .hx-prose ul.hx-legal-list,
  .hx-prose ul.hx-legal-defs { padding-left: 1.2em; }
}

/* ---------- contact ---------- */
.hx-contact-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 44px; margin-top: 40px; align-items: start; }
.hx-contact-aside {
  background: var(--hx-mist); border: 1px solid var(--hx-line);
  border-radius: var(--hx-radius); padding: 30px 28px;
}
.hx-contact-aside :is(h2, h3) { margin: 0 0 10px; font-size: 1.05rem; }
.hx-contact-aside :is(h2, h3) + p { margin-top: 0; }
.hx-contact-aside p { margin: 0 0 18px; font-size: 0.96rem; }
.hx-social { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.hx-social li { margin: 0; }
.hx-social a {
  display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; border: 1px solid var(--hx-ink); border-radius: var(--hx-radius);
  padding: 7px 13px; font-size: 0.85rem; font-weight: 600; color: var(--hx-ink);
  text-decoration: none;
}
.hx-social a:hover { background: var(--hx-ink); color: var(--hx-white); }

/* CF7 */
.wpcf7 label { display: block; font-weight: 600; color: var(--hx-ink); font-size: 0.94rem; margin-bottom: 18px; }
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 textarea {
  width: 100%; box-sizing: border-box; margin-top: 7px;
  padding: 13px 14px; border: 1px solid var(--hx-grey); border-radius: var(--hx-radius);
  font: inherit; font-size: 1rem; color: var(--hx-ink); background: var(--hx-white);
}
.wpcf7 input:focus, .wpcf7 textarea:focus {
  outline: none; border-color: var(--hx-ink); box-shadow: 0 0 0 2px var(--hx-ink);
}
.wpcf7 textarea { min-height: 150px; resize: vertical; }
.wpcf7 input[type="submit"] {
  background: var(--hx-ink); color: var(--hx-white); border: 2px solid var(--hx-ink); cursor: pointer;
  padding: 14px 30px; border-radius: var(--hx-radius);
  font-family: var(--wp--preset--font-family--heading); font-size: 1rem; font-weight: 700;
}
.wpcf7 input[type="submit"]:hover { background: var(--hx-white); color: var(--hx-ink); }
.wpcf7 form .wpcf7-response-output {
  margin: 20px 0 0; padding: 14px 16px; border-radius: var(--hx-radius); border: 1px solid var(--hx-line);
}
.wpcf7 form.sent .wpcf7-response-output { border-color: var(--hx-ink); color: var(--hx-ink); }
.wpcf7-not-valid-tip { color: var(--hx-graphite); font-size: 0.85rem; font-weight: 600; margin-top: 4px; }

/* ---------- footer (BLACK) ---------- */
.hx-footer { background: var(--hx-ink); color: #C9C9C9; }
.hx-footer-inner {
  max-width: 1100px; margin: 0 auto; padding: 60px 22px 40px;
  display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 40px;
}
.hx-footer .hx-logo { width: 190px; }
.hx-footer-tag { margin: 16px 0 0; font-size: 0.9rem; color: var(--hx-silver); }
.hx-footer-nav { display: grid; gap: 0; align-content: start; }
.hx-footer-nav a { display: flex; align-items: center; min-height: 44px; color: #C9C9C9; font-size: 0.95rem; }
.hx-footer-nav a:hover { color: var(--hx-white); text-decoration: underline; text-underline-offset: 3px; }
.hx-footer-contact p { margin: 0 0 10px; font-size: 0.95rem; }
.hx-footer-contact a { display: inline-flex; align-items: center; min-height: 44px; color: var(--hx-white); }
.hx-footer-social { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.hx-footer-social a { display: inline-flex; align-items: center; justify-content: center; width: 44px; min-width: 44px; height: 44px; min-height: 44px; padding: 0; border-radius: 4px; color: var(--hx-ink); background: var(--hx-white); }
.hx-footer-social a:hover { color: var(--hx-ink); background: var(--hx-silver); }
.hx-footer-social svg { display: block; width: 24px; height: 24px; flex: none; }
.hx-footer-legal { border-top: 1px solid rgba(255, 255, 255, 0.14); }
.hx-footer-legal p {
  max-width: 1100px; margin: 0 auto; padding: 18px 22px; font-size: 0.84rem; color: var(--hx-silver);
}

/* ---------- 404 ---------- */
.hx-404 { padding: 110px 0 130px; text-align: center; }
.hx-404 h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); }
.hx-404-links { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 30px; }

/* ============================================================
   Mobile menu — burger on the black header
   ============================================================ */
.hx-burger {
  display: none; flex-direction: column; justify-content: center; align-items: flex-start;
  gap: 5px; width: 48px; height: 46px; padding: 11px;
  background: transparent; border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: var(--hx-radius); cursor: pointer;
}
.hx-burger-bar {
  display: block; height: 4px; background: var(--hx-white);
  transition: transform .28s ease, opacity .2s ease, width .28s ease; transform-origin: 3px 2px;
}
.hx-burger .b1 { width: 24px; }
.hx-burger .b2 { width: 24px; }
.hx-burger .b3 { width: 15px; }
.hx-burger.is-open .b1 { transform: rotate(45deg); width: 26px; }
.hx-burger.is-open .b2 { opacity: 0; transform: scaleX(0.2); }
.hx-burger.is-open .b3 { transform: rotate(-45deg); width: 26px; }

.hx-mobile-menu {
  position: fixed; inset: 0; z-index: 90; display: flex; flex-direction: column;
  padding: 16px 26px 30px; overflow-y: auto; overscroll-behavior: contain;
  background: var(--hx-ink);
  opacity: 0; visibility: hidden; transition: opacity .25s ease, visibility 0s linear .25s;
}
.hx-mobile-menu.open { opacity: 1; visibility: visible; transition: opacity .25s ease; }
html.hx-menu-lock, html.hx-menu-lock body { overflow: hidden; }
.hx-mm-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 46px; }
.hx-mm-top .hx-logo { width: 170px; }
.hx-mm-close {
  flex: 0 0 46px; width: 46px; height: 46px; border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: var(--hx-radius); background: transparent; color: var(--hx-white);
  font-size: 1rem; cursor: pointer;
}
.hx-mm-eyebrow {
  font-family: var(--wp--preset--font-family--heading); font-size: 0.75rem; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--hx-silver); margin: 34px 0 6px;
}
.hx-mm-list { list-style: none; margin: 0; padding: 0; }
.hx-mm-item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  opacity: 0; transform: translateY(14px); transition: opacity .35s ease, transform .35s ease;
}
.hx-mobile-menu.open .hx-mm-item { opacity: 1; transform: none; }
.hx-mm-item a {
  text-decoration: none;
  display: flex; align-items: center; gap: 16px; padding: 17px 2px;
  font-family: var(--wp--preset--font-family--heading); font-weight: 700; font-size: 1.4rem;
  color: var(--hx-white); letter-spacing: -0.01em;
}
.hx-mm-dot {
  flex: 0 0 26px; width: 26px; height: 26px; border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.4);
  display: inline-flex; align-items: center; justify-content: center;
  transition: background .18s ease, border-color .18s ease;
}
.hx-mm-dot::after {
  content: ""; width: 11px; height: 6px; border-left: 2.4px solid var(--hx-ink); border-bottom: 2.4px solid var(--hx-ink);
  transform: rotate(-45deg) translate(1px, -1px); opacity: 0; transition: opacity .15s ease;
}
.hx-mm-item a:active .hx-mm-dot, .hx-mm-item.ticked .hx-mm-dot { background: var(--hx-white); border-color: var(--hx-white); }
.hx-mm-item.ticked .hx-mm-dot::after { opacity: 1; }
.hx-mm-cta { margin-top: 26px; }
.hx-mm-cta .hx-btn { display: block; text-align: center; font-size: 1.05rem; padding: 15px 26px; }
.hx-mm-foot { margin-top: auto; padding-top: 34px; }
.hx-mm-foot p { margin: 0 0 6px; }
.hx-mm-foot a { display: inline-flex; align-items: center; min-height: 44px; color: var(--hx-white); font-size: 0.95rem; }
.hx-mm-tag { color: var(--hx-silver); font-size: 0.85rem; }

/* burger takes over from the wrap-nav ONLY when JS is present */
@media (max-width: 820px) {
  html.hx-js .hx-nav { display: none; }
  html.hx-js .hx-burger { display: flex; }
  html.hx-js .hx-header-inner { flex-wrap: nowrap; justify-content: space-between; }
}

/* ---------- responsive ---------- */
@media (max-width: 980px) {
  .hx-hero-grid { grid-template-columns: 1fr; padding-top: 60px; }
  .hx-hero-copy { padding-bottom: 0; }
  .hx-hero-visual img { margin-bottom: -90px; width: 260px; }
  .hx-steps, .hx-tiers, .hx-blog-grid { grid-template-columns: 1fr 1fr; }
  .hx-contact-grid { grid-template-columns: 1fr; }
  .hx-footer-inner { grid-template-columns: 1fr 1fr; }
  .hx-flow { grid-template-columns: repeat(2, 1fr); }
  .hx-flow-step::after { display: none; }
}
@media (max-width: 640px) {
  .hx-section { padding: 54px 0; }
  .hx-header-inner { padding: 14px 16px; }
  .hx-logo { width: 168px; }
  .hx-nav { justify-content: center; gap: 16px 20px; }
  .hx-hero-grid { padding-top: 48px; gap: 36px; }
  .hx-hero-visual img { margin-bottom: -70px; width: 230px; }
  .hx-hero + * { padding-top: 110px; }
  .hx-steps, .hx-tiers, .hx-blog-grid, .hx-flow { grid-template-columns: 1fr; }
  .hx-ticks { grid-template-columns: 1fr; }
  .hx-strip { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .hx-footer-inner { grid-template-columns: 1fr; gap: 28px; }
  .hx-band { padding: 60px 0; }
}
@media (prefers-reduced-motion: reduce) {
	.wpcf7-spinner, .wpcf7-spinner::before { animation: none !important; }
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

@media (max-width: 360px) {
  .hx-footer-social { max-width: 148px; }
}
