/* =========================================================
   Hax-page–specific extensions on top of styles.css
   ========================================================= */

/* Hax product wordmark */
.hax-mark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-weight: 600;
  letter-spacing: 0.04em;
  font-size: 14px;
  color: var(--fg-0);
}
.hax-mark .sq {
  width: 22px; height: 22px; display: inline-grid; place-items: center;
  background: var(--red); color: #fff; font-size: 12px; font-weight: 700;
  letter-spacing: 0;
}

/* Hero — product UI variant */
.phero {
  padding-top: calc(var(--nav-h, 64px) + 80px);
  padding-bottom: 80px;
  position: relative;
  border-top: none;
  overflow: hidden;
}
.phero__top {
  display: grid;
  gap: 28px;
  margin-bottom: clamp(48px, 6vw, 80px);
  align-items: end;
}
@media (min-width: 1000px) {
  .phero__top { grid-template-columns: 1.4fr 1fr; gap: 64px; }
}

.phero__title {
  font-size: clamp(40px, 6vw, 88px);
  letter-spacing: -0.03em;
  line-height: 0.98;
  margin-bottom: 24px;
}
.phero__title .accent { color: var(--red); }

.phero__sub {
  font-size: clamp(15px, 1.1vw, 17px);
  color: var(--fg-1);
  max-width: 56ch;
  margin-bottom: 32px;
  line-height: 1.55;
}
.phero__ctas { display: flex; gap: 12px; flex-wrap: wrap; }

.phero__meta {
  border-top: 1px solid var(--line);
  padding-top: 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
@media (min-width: 700px) { .phero__meta { grid-template-columns: repeat(4,1fr); } }
.phero__meta .lbl {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fg-3);
  margin-bottom: 8px;
}
.phero__meta .v {
  font-family: var(--font-display);
  font-size: clamp(18px, 1.4vw, 22px);
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--fg-0);
}
.phero__meta .v small {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--fg-2);
  font-weight: 400;
  letter-spacing: 0.06em;
  margin-left: 6px;
}

/* Product UI mockup (centerpiece) */
.papp {
  border: 1px solid var(--line);
  background: var(--bg-0);
  box-shadow:
    0 60px 120px -30px rgba(0,0,0,0.7),
    0 0 0 1px rgba(255,255,255,0.02) inset,
    0 0 80px -20px rgba(215,38,61,0.18);
  overflow: hidden;
  position: relative;
}
.papp__topbar {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--line);
  background: var(--bg-2);
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--fg-2);
  letter-spacing: 0.06em;
}
.papp__topbar .dots { display: flex; gap: 6px; }
.papp__topbar .dots span { width: 10px; height: 10px; border-radius: 50%; }
.papp__topbar .dots span:nth-child(1) { background: #ff5f57; }
.papp__topbar .dots span:nth-child(2) { background: #febc2e; }
.papp__topbar .dots span:nth-child(3) { background: #28c840; }
.papp__topbar .url {
  flex: 1; text-align: center; color: var(--fg-2); font-size: 11px;
}
.papp__topbar .url b { color: var(--fg-0); font-weight: 500; }
.papp__topbar .live {
  color: var(--red-bright);
  display: inline-flex; align-items: center; gap: 6px;
}
.papp__topbar .live::before {
  content:''; width:6px; height:6px; background: var(--red-bright);
  border-radius:50%; box-shadow:0 0 8px var(--red-bright); animation: pulse 1.2s infinite;
}

.papp__body {
  display: grid;
  grid-template-columns: 220px 1fr;
  min-height: 540px;
}
@media (max-width: 800px) { .papp__body { grid-template-columns: 1fr; } }

.papp__side {
  border-right: 1px solid var(--line);
  background: var(--bg-1);
  padding: 18px 0;
  font-family: var(--font-mono);
  font-size: 12px;
}
.papp__side .group {
  font-size: 9px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--fg-4);
  padding: 14px 18px 6px;
}
.papp__side a {
  display: flex; align-items: center; gap: 10px;
  padding: 7px 18px; color: var(--fg-2);
  letter-spacing: 0.04em;
  border-left: 2px solid transparent;
}
.papp__side a:hover { color: var(--fg-0); background: var(--bg-2); }
.papp__side a.on {
  color: var(--fg-0); background: var(--bg-3);
  border-left-color: var(--red);
}
.papp__side a .k { margin-left: auto; color: var(--fg-4); font-size: 10px; }
.papp__side a .badge {
  margin-left: auto;
  background: var(--red); color: #fff;
  font-size: 9px; padding: 2px 6px; letter-spacing: 0.06em;
}

.papp__main { padding: 22px 26px; }
.papp__head {
  display: flex; align-items: center; justify-content: space-between;
  padding-bottom: 16px; margin-bottom: 18px; border-bottom: 1px solid var(--line);
  flex-wrap: wrap; gap: 12px;
}
.papp__crumb {
  font-family: var(--font-mono); font-size: 12px; color: var(--fg-2);
  letter-spacing: 0.06em;
}
.papp__crumb b { color: var(--fg-0); font-weight: 500; }
.papp__head .actions { display: flex; gap: 8px; }
.papp__head .pill {
  font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.1em;
  text-transform: uppercase; padding: 5px 10px; border: 1px solid var(--line);
  color: var(--fg-1); background: var(--bg-2);
}
.papp__head .pill.on { background: var(--red); border-color: var(--red); color:#fff; }

.papp__kpis {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px;
  margin-bottom: 18px;
}
@media (max-width: 700px) { .papp__kpis { grid-template-columns: repeat(2,1fr); } }

.papp__row {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 12px;
}
@media (max-width: 800px) { .papp__row { grid-template-columns: 1fr; } }

.feed {
  border: 1px solid var(--line);
  background: var(--bg-1);
}
.feed__head {
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fg-2);
  display: flex; justify-content: space-between;
}
.feed__list { display: flex; flex-direction: column; }
.feed__item {
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: 24px 1fr auto;
  gap: 12px;
  align-items: start;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--fg-1);
}
.feed__item:last-child { border-bottom: 0; }
.feed__item .ic {
  width: 22px; height: 22px;
  display: grid; place-items: center;
  font-size: 11px; font-weight: 600;
  border: 1px solid var(--line); background: var(--bg-2);
}
.feed__item.crit .ic { background: var(--red); border-color: var(--red); color: #fff; }
.feed__item.warn .ic { background: rgba(240,160,32,0.15); border-color: rgba(240,160,32,0.4); color: var(--amber); }
.feed__item.ok .ic { color: var(--green-term); border-color: rgba(125,216,125,0.3); background: rgba(125,216,125,0.08); }
.feed__item .body strong { color: var(--fg-0); font-weight: 500; }
.feed__item .body .dim { color: var(--fg-3); }
.feed__item .when {
  font-size: 10px; color: var(--fg-3); white-space: nowrap;
  letter-spacing: 0.06em;
}

.tile {
  border: 1px solid var(--line);
  background: var(--bg-1);
  padding: 16px;
  display: flex; flex-direction: column; gap: 12px;
}
.tile__h {
  font-family: var(--font-mono);
  font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--fg-2);
  display: flex; justify-content: space-between;
}
.tile__row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 8px 0; border-bottom: 1px dashed var(--line);
  font-family: var(--font-mono); font-size: 12px;
}
.tile__row:last-child { border-bottom: 0; }
.tile__row .k { color: var(--fg-2); }
.tile__row .v { color: var(--fg-0); }
.tile__row .v.crit { color: var(--red-bright); }

/* Three-phase Recon → Analyse → Act */
.phases {
  display: grid;
  grid-template-columns: 1fr;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
@media (min-width: 900px) {
  /* Four explicit row tracks shared across the three .phase columns
     via subgrid (declared on .phase below). Mapping:
       row 1 (auto) → .phase__num        (eyebrow + 01/02/03 digit)
       row 2 (auto) → h3                 (phase title)
       row 3 (1fr)  → body <p>           (stretches to absorb height
                                          differences so the divider
                                          and bullet list align)
       row 4 (auto) → .phase__list       (divider line + bullets)
     The 1fr on row 3 is the alignment trick — every body cell fills
     the same row, so the .phase__list rows end up at exactly the
     same Y across all three columns. */
  .phases {
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: auto auto 1fr auto;
  }
}

.phase {
  padding: 36px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  position: relative;
  display: flex; flex-direction: column;
}
@media (min-width: 900px) {
  /* Subgrid: each .phase inherits the 4-row track template from
     .phases, and the four direct children (phase__num, h3, p, ul)
     each occupy one row. This is what aligns the divider line above
     the bullet list across all three tiles regardless of body length
     or bullet count. min-height was previously used to fudge tile
     heights into rough alignment; subgrid makes it unnecessary. */
  .phase {
    display: grid;
    grid-template-rows: subgrid;
    grid-row: span 4;
  }
}
.phase__num {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--red);
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.phase__num .line {
  height: 1px; flex: 0 0 60px; background: var(--red);
}
.phase__num .digit {
  font-family: var(--font-display);
  font-size: 22px; font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--red);
  line-height: 1;
}
.phase h3 {
  font-size: 28px;
  margin-bottom: 14px;
  letter-spacing: -0.02em;
  font-weight: 600;
}
.phase p {
  color: var(--fg-2);
  font-size: 14px;
  line-height: 1.55;
  margin-bottom: 20px;
}
.phase__list {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 8px;
  font-family: var(--font-mono); font-size: 12px;
  color: var(--fg-1);
  letter-spacing: 0.04em;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  /* margin-top: auto removed — at >=900px subgrid pins the list to
     row 4 of the .phases grid (same Y in every column). Below
     900px each .phase stacks independently and an auto-margin would
     just push the bullets to the very bottom of the tile, leaving
     a gap below the body paragraph. Natural document flow is what
     we want there. */
}
.phase__list li {
  display: flex; align-items: center; gap: 10px;
}
.phase__list li::before {
  content: '◆'; color: var(--red); font-size: 8px;
}

/* Capabilities split rows */
.caps {
  display: flex; flex-direction: column;
  border-top: 1px solid var(--line);
}
.cap {
  display: grid;
  grid-template-columns: 1fr;
  border-bottom: 1px solid var(--line);
  min-height: 380px;
}
@media (min-width: 900px) {
  .cap { grid-template-columns: 1fr 1.2fr; }
  .cap.flip { grid-template-columns: 1.2fr 1fr; }
  .cap.flip .cap__copy { order: 2; }
  .cap.flip .cap__viz { order: 1; }
}

.cap__copy {
  padding: 56px 48px;
  display: flex; flex-direction: column; justify-content: center;
  border-right: 1px solid var(--line);
  position: relative;
}
@media (max-width: 899px) { .cap__copy { padding: 36px 24px; border-right: 0; border-bottom: 1px solid var(--line); } }
.cap.flip .cap__copy { border-right: 0; border-left: 1px solid var(--line); }
@media (max-width: 899px) { .cap.flip .cap__copy { border-left: 0; } }

.cap__num {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  color: var(--red);
  margin-bottom: 22px;
}
/* Capability tile header: eyebrow left, partner mark right (e.g. Flare on CAP · 02). */
.cap__head-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 22px;
}
.cap__head-row .cap__num {
  margin-bottom: 0;
}
.cap__partner-logo {
  display: block;
  flex-shrink: 0;
  height: 26px;
  width: auto;
  object-fit: contain;
  object-position: right top;
}
@media (max-width: 899px) {
  .cap__partner-logo--flare { height: 22px; }
}
.cap__copy h3 {
  font-size: clamp(24px, 2.4vw, 34px);
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}
.cap__copy p {
  color: var(--fg-1);
  font-size: 15px;
  line-height: 1.55;
  margin-bottom: 22px;
  max-width: 50ch;
}
.cap__bullets {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--fg-1);
  letter-spacing: 0.04em;
}
.cap__bullets li::before { content: '› '; color: var(--red); }

.cap__viz {
  background: var(--bg-0);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: stretch;
  min-height: 380px;
}
.cap__viz > * { width: 100%; }

/* Mini surface map mock */
.surface-mock {
  padding: 32px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--fg-2);
  display: flex; flex-direction: column; gap: 14px;
  height: 100%;
}
.surface-mock .h {
  display: flex; justify-content: space-between;
  font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase;
}
.surface-mock .h .live { color: var(--red-bright); }
.surface-mock .nodes {
  display: grid; grid-template-columns: repeat(8, 1fr);
  gap: 8px; flex: 1;
}
.surface-mock .node {
  aspect-ratio: 1;
  border: 1px solid var(--line);
  display: grid; place-items: center;
  font-size: 9px; color: var(--fg-3);
  position: relative;
  letter-spacing: 0.05em;
}
.surface-mock .node.on { background: rgba(201,197,187,0.06); color: var(--fg-1); }
.surface-mock .node.warn { background: rgba(240,160,32,0.12); border-color: rgba(240,160,32,0.4); color: var(--amber); }
.surface-mock .node.crit { background: var(--red); border-color: var(--red); color: #fff; }
.surface-mock .node.crit::after {
  content: ''; position: absolute; inset: -3px;
  border: 1px solid var(--red);
  animation: pulseBox 1.6s infinite;
  pointer-events: none;
}
@keyframes pulseBox {
  0% { transform: scale(1); opacity: 1; }
  100% { transform: scale(1.4); opacity: 0; }
}
.surface-mock .legend {
  display: flex; gap: 18px; padding-top: 10px; border-top: 1px solid var(--line);
  font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase;
}
.surface-mock .legend span { display: inline-flex; align-items: center; gap: 6px; }
.surface-mock .legend .dot { width: 8px; height: 8px; }
.surface-mock .legend .dot.on { background: rgba(201,197,187,0.4); }
.surface-mock .legend .dot.warn { background: var(--amber); }
.surface-mock .legend .dot.crit { background: var(--red); }

/* Alert mock */
.alert-mock {
  padding: 32px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 14px;
  height: 100%;
}
@media (max-width: 600px) { .alert-mock { grid-template-columns: 1fr; } }
.alert-card {
  background: var(--bg-1);
  border: 1px solid var(--line);
  padding: 16px;
  display: flex; flex-direction: column; gap: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
}
.alert-card .ch {
  font-size: 9px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--fg-3);
  display: flex; justify-content: space-between;
}
.alert-card .ch .when { color: var(--fg-2); }
.alert-card .from { color: var(--fg-0); font-weight: 500; }
.alert-card .body {
  background: var(--bg-2); padding: 10px; color: var(--fg-1);
  line-height: 1.5; border-left: 2px solid var(--red);
}
.alert-card .body b { color: var(--fg-0); font-weight: 500; }
.alert-card .meta { font-size: 10px; color: var(--fg-3); letter-spacing: 0.06em; }

/* Compliance map */
.comp-mock {
  padding: 32px;
  font-family: var(--font-mono);
  font-size: 12px;
  height: 100%;
  display: flex; flex-direction: column; gap: 16px;
}
.comp-mock .top {
  font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--fg-3);
}
.comp-mock .grid {
  display: grid;
  grid-template-columns: 100px repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.comp-mock .grid > div {
  background: var(--bg-1);
  padding: 10px 12px;
  font-size: 10px;
  letter-spacing: 0.06em;
  color: var(--fg-2);
}
.comp-mock .grid .head {
  background: var(--bg-2);
  color: var(--fg-1);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 9px;
  text-align: center;
}
.comp-mock .grid .row-h { color: var(--fg-0); font-weight: 500; }
.comp-mock .grid .cell {
  display: grid; place-items: center;
  position: relative; min-height: 32px;
}
.comp-mock .grid .cell.full {
  background: var(--red);
  color: #fff;
}
.comp-mock .grid .cell.partial {
  background: rgba(215,38,61,0.2);
  color: var(--red-bright);
}
.comp-mock .grid .cell.empty { background: var(--bg-1); color: var(--fg-4); }

/* Report mock */
.report-mock {
  padding: 32px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 14px;
  height: 100%;
}
@media (max-width: 600px) { .report-mock { grid-template-columns: 1fr; } }
.report-page {
  background: var(--bg-1); border: 1px solid var(--line);
  padding: 18px; display: flex; flex-direction: column; gap: 10px;
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--fg-2);
}
.report-page .stamp {
  font-size: 9px; letter-spacing: 0.14em; color: var(--red);
}
.report-page .report-mock__finding {
  margin: 0;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  color: var(--fg-0);
  letter-spacing: -0.01em;
  line-height: 1.2;
}
.report-page .lines {
  display: flex; flex-direction: column; gap: 4px;
}
.report-page .lines span {
  display: block; height: 4px; background: var(--line); border-radius: 2px;
}
.report-page .lines span:nth-child(odd) { width: 92%; }
.report-page .lines span:nth-child(even) { width: 78%; }
.report-page .num-row {
  display: flex; gap: 14px; padding-top: 8px; border-top: 1px solid var(--line);
}
.report-page .num-row b {
  font-family: var(--font-display); font-size: 18px; font-weight: 500;
  color: var(--fg-0); display: block; letter-spacing: -0.01em;
}
.report-page .num-row .crit b { color: var(--red-bright); }
.report-page .num-row .warn b { color: var(--amber); }
.report-page .num-row span {
  font-size: 9px; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--fg-3);
}
.report-page.exec {
  background: var(--bg-1);
  font-family: var(--font-display);
  font-size: 12px;
  color: var(--fg-1);
}
.report-page.exec .body {
  font-size: 13px; line-height: 1.4; color: var(--fg-0);
  letter-spacing: -0.005em;
}

/* Dark web differentiator */
/* §03 head: Flare under eyebrow; logo row aligns to vertical centre of lead copy (desktop 2x2 grid). */
.section-head--dw-partner .section-head__dw-eyebrow {
  grid-row: 1;
}
.section-head--dw-partner .section-head__dw-mark {
  grid-row: 2;
}
.section-head--dw-partner .section-head__dw-title {
  grid-row: 3;
}
.section-head--dw-partner .section-head__dw-body {
  grid-row: 4;
}
.section-head--dw-partner .section-head__dw-title h2 {
  margin: 0;
}
.section-head__dw-flare {
  display: block;
  height: 26px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  object-position: left center;
}
@media (min-width: 900px) {
  .section-head--dw-partner {
    column-gap: 48px;
    row-gap: 20px;
  }
  .section-head--dw-partner .section-head__dw-eyebrow {
    grid-column: 1;
    grid-row: 1;
  }
  .section-head--dw-partner .section-head__dw-title {
    grid-column: 2;
    grid-row: 1;
  }
  .section-head--dw-partner .section-head__dw-mark {
    grid-column: 1;
    grid-row: 2;
    align-self: center;
  }
  .section-head--dw-partner .section-head__dw-body {
    grid-column: 2;
    grid-row: 2;
  }
}

.darkweb {
  background: var(--bg-0);
  border-top: 1px solid var(--line);
}

.darkweb__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 64px;
  align-items: start;
}
@media (min-width: 1000px) {
  .darkweb__grid { grid-template-columns: 1.1fr 1fr; gap: 80px; }
}

.dw-mock {
  border: 1px solid var(--line);
  background: var(--bg-1);
  font-family: var(--font-mono);
  font-size: 12px;
  overflow: hidden;
}
.dw-mock__bar {
  padding: 10px 14px;
  border-bottom: 1px solid var(--line);
  background: var(--bg-2);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--fg-2);
  text-transform: uppercase;
}
.dw-mock__bar .live { color: var(--red-bright); display: inline-flex; align-items: center; gap: 6px; }
.dw-mock__bar .live::before {
  content:''; width:6px; height:6px; background: var(--red-bright);
  border-radius:50%; box-shadow:0 0 8px var(--red-bright); animation: pulse 1.2s infinite;
}
.dw-mock__list { padding: 0; }
.dw-leak {
  padding: 16px 20px;
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 16px;
  align-items: center;
}
.dw-leak:last-child { border-bottom: 0; }
.dw-leak:hover { background: var(--bg-2); }
.dw-leak .av {
  width: 36px; height: 36px;
  background: var(--bg-3);
  border: 1px solid var(--line);
  display: grid; place-items: center;
  font-family: var(--font-display);
  font-size: 13px; font-weight: 600;
  color: var(--fg-1);
  letter-spacing: -0.02em;
}
.dw-leak.vip .av {
  background: var(--red); color: #fff; border-color: var(--red);
}
.dw-leak .name {
  color: var(--fg-0);
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 14px;
  letter-spacing: -0.01em;
}
.dw-leak .name + .role {
  color: var(--fg-3); font-size: 11px;
  letter-spacing: 0.06em; margin-top: 2px;
  text-transform: uppercase;
}
.dw-leak .src {
  color: var(--red-bright);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-align: right;
}
.dw-leak .src small {
  display: block; color: var(--fg-3); font-size: 10px;
  margin-top: 2px;
}
.dw-leak .vipbadge {
  display: inline-block;
  background: var(--red);
  color: #fff;
  font-size: 9px;
  letter-spacing: 0.12em;
  padding: 2px 6px;
  margin-left: 8px;
  vertical-align: middle;
  text-transform: uppercase;
}

.dw-list {
  display: flex; flex-direction: column; gap: 4px;
  margin: 32px 0;
}
.dw-list .item {
  padding: 18px 0;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 16px;
}
.dw-list .item .n {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--red);
  letter-spacing: 0.1em;
  padding-top: 4px;
}
.dw-list .item h4 {
  font-size: 18px;
  margin-bottom: 8px;
  letter-spacing: -0.015em;
  font-weight: 600;
}
.dw-list .item p {
  color: var(--fg-2);
  font-size: 14px;
  line-height: 1.55;
}

/* Quote */
.quote {
  border-top: 1px solid var(--line);
  background: var(--bg-1);
}
.quote__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: start;
}
@media (min-width: 900px) {
  .quote__inner { grid-template-columns: 200px 1fr; gap: 80px; }
}
.quote__mark {
  font-family: var(--font-display);
  font-size: 120px;
  font-weight: 600;
  color: var(--red);
  line-height: 0.8;
  letter-spacing: -0.05em;
}
.quote blockquote {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(24px, 2.6vw, 36px);
  line-height: 1.25;
  letter-spacing: -0.018em;
  font-weight: 500;
  color: var(--fg-0);
  text-wrap: balance;
}
.quote__attr {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--fg-2);
  text-transform: uppercase;
}
.quote__attr b { color: var(--fg-0); font-weight: 500; }

/* =========================================================
   HAX wordmark — image variant (overrides .hax-mark text mark)
   The design ships a CSS-constructed wordmark (.hax-mark with a
   square red H + lowercase "ax") but the brand standard for the
   marketing surface is the artwork PNG (770×250 transparent
   "HAX" with white HA + dark-red/bright-red X chevrons). These
   rules style the <img> variant used in nav + footer.
   ========================================================= */
.nav__logo img {
  /* The shared styles.css declares .nav__logo img with
     transform: scaleY(0.82) — that compensation is for the XCR
     banner PNG, not for HAX. Reset it here so the HAX logo
     keeps its native 770:250 (≈3.08:1) aspect ratio. Height
     progression: 32→51→77px (the latest +50% bump). Note that
     --nav-h is overridden below to keep the fixed-nav offset in
     sync, otherwise the ticker would slide under the nav strip. */
  height: 77px;
  width: auto;
  transform: none;
}
.foot__logo {
  display: inline-block;
  line-height: 0;
}

/* =========================================================
   Footer grid — HAX-only override
   The shared styles.css declares .foot__grid as 1.3fr 1fr 1fr 1fr at
   ≥700px (brand + 3 link columns). HAX now ships only the brand + a
   single "Company" column, so the 4-col template would leave two
   empty cells / orphan whitespace on the right. Override to a 2-col
   layout that gives the brand most of the row and pulls the Company
   list to the right edge for balance.
   ========================================================= */
@media (min-width: 700px) {
  .foot__grid { grid-template-columns: 1.6fr 1fr; }
}
.foot__logo img {
  /* Footer logo bumped 44→70px (+60%) to match the prominence
     of the nav variant (which also got +60%). At 770:250 this
     renders ~215×70 in the foot__brand column. */
  height: 70px;
  width: auto;
  display: block;
}

/* =========================================================
   Fixed-nav offset override
   The shared styles.css sets --nav-h: 72px based on a 51px-tall
   logo (51 + 14*2 = 79). The HAX nav now renders a 77px logo
   inside the same 14px vertical padding, so the actual nav
   measures ~105px. Bump the offset so .ticker (margin-top:
   var(--nav-h)) and .phero (padding-top: calc(var(--nav-h)+80px))
   both clear the nav strip without clipping.
   ========================================================= */
:root {
  --nav-h: 108px;
}
/* #threat-ticker sets margin-top inline (same pattern as xcontent.red)
   so cached styles.css without --nav-h still clears the fixed nav.
   This rule remains as a fallback for any .ticker without an id. */
.ticker {
  margin-top: var(--nav-h);
}
