@font-face {
  font-family: "Bricolage Grotesque";
  font-style: normal;
  font-weight: 600 800;
  font-display: swap;
  src: url("/bricolage-impact-a79fdb52d4a5.woff2") format("woff2");
}

body.pn.home,
body.pn-login {
  --hx-impact-display: "Bricolage Grotesque", "Manrope", sans-serif;
}

body.pn.home ::selection,
body.pn-login ::selection {
  color: var(--hx-action-ink);
  background: var(--hx-signal);
}

body.pn.home :focus-visible,
body.pn-login :focus-visible {
  outline: 2px solid var(--hx-info);
  outline-offset: 4px;
}

/* Public home: the product interface leads the first viewport. */
body.pn.home .pn-wrap {
  width: 100%;
  max-width: none;
  padding-inline: clamp(14px, 1.25vw, 24px);
}

body.pn.home .pn-top {
  min-height: 66px;
  border-bottom-width: 2px;
}

body.pn.home .pn-hero {
  padding-block: clamp(20px, 2.4vw, 36px) 14px !important;
}

body.pn.home .pn-hero-grid {
  grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
  gap: clamp(18px, 1.5vw, 28px);
  align-items: stretch;
}

body.pn.home .pn-kicker {
  margin: 0 0 12px;
  color: var(--hx-info);
  font: 700 11px/1.3 var(--hx-text-font);
  letter-spacing: .12em;
  text-transform: uppercase;
}

body.pn.home #h-hero {
  max-width: 20ch;
  margin: 0 0 15px;
  font: 750 clamp(42px, 4.2vw, 64px)/.97 var(--hx-impact-display);
  letter-spacing: -.055em;
  text-wrap: balance;
}

body.pn.home .pn-hero .lead {
  max-width: 58ch;
  font-size: clamp(15px, 1.15vw, 17px);
  line-height: 1.52;
}

body.pn.home .pn-cta-row {
  gap: 12px 18px;
  margin: 18px 0 0;
}

body.pn.home .pn-hero-jump {
  margin: 12px 0 0;
  font-size: 12px;
}

.pn-product-board {
  display: grid;
  grid-template-rows: auto auto 1fr;
  gap: 12px;
  min-width: 0;
  min-height: 340px;
  padding: clamp(14px, 1.8vw, 22px);
  color: var(--hx-ink);
  background: var(--hx-surface);
  border: 1px solid var(--hx-ink);
  box-shadow: 6px 6px 0 var(--hx-signal);
}

.pn-product-head,
.pn-product-toolbar,
.pn-product-flow small {
  font: 700 11px/1.4 var(--hx-text-font);
  letter-spacing: .1em;
  text-transform: uppercase;
}

.pn-product-head,
.pn-product-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}

.pn-product-head {
  padding-bottom: 10px;
  color: var(--hx-muted);
  border-bottom: 1px solid var(--hx-line);
}

.pn-product-head span:last-child {
  color: var(--hx-info);
  text-align: right;
}

.pn-product-tabs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 5px;
}

.pn-product-tabs button {
  min-width: 0;
  min-height: 38px;
  padding: 7px 8px;
  color: var(--hx-muted);
  background: var(--hx-paper);
  border: 1px solid var(--hx-line);
  border-radius: 3px;
  font: 650 12px/1.2 var(--hx-text-font);
  cursor: pointer;
  transition: color .16s ease, background-color .16s ease, transform .16s ease;
}

.pn-product-tabs button:hover {
  color: var(--hx-ink);
  transform: translateY(-1px);
}

.pn-product-tabs button[aria-selected="true"] {
  color: var(--hx-action-ink);
  background: var(--hx-action);
  border-color: var(--hx-action);
}

.pn-product-panels {
  min-width: 0;
}

.pn-product-panel {
  height: 100%;
  min-height: 0;
  padding: clamp(14px, 1.7vw, 20px);
  color: var(--hx-dk-ink);
  background: var(--hx-rail);
  border: 1px solid var(--hx-rail);
  animation: pn-product-enter .24s cubic-bezier(.16, 1, .3, 1) both;
}

.pn-product-panel[hidden] {
  display: none !important;
}

.pn-product-toolbar {
  padding-bottom: 10px;
  color: var(--hx-dk-soft);
  border-bottom: 1px solid var(--hx-dk-line);
}

.pn-product-toolbar span:last-child {
  color: var(--hx-info);
  text-align: right;
}

.pn-product-panel :is(h2, h3) {
  max-width: 18ch;
  margin: 15px 0 7px;
  color: var(--hx-dk-ink);
  font: 700 clamp(22px, 2vw, 30px)/1.08 var(--hx-impact-display);
  letter-spacing: -.035em;
  text-wrap: balance;
}

.pn-product-panel p {
  max-width: 58ch;
  margin: 0;
  color: var(--hx-dk-soft);
  font-size: 13px;
  line-height: 1.5;
}

.pn-product-flow {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 17px;
  border: 1px solid var(--hx-dk-line);
}

.pn-product-flow span {
  min-width: 0;
  padding: 10px 11px;
  border-right: 1px solid var(--hx-dk-line);
}

.pn-product-flow span:last-child {
  border-right: 0;
}

.pn-product-flow small {
  display: block;
  margin-bottom: 5px;
  color: var(--hx-info);
}

.pn-product-flow strong {
  display: block;
  color: var(--hx-dk-ink);
  font-size: 12px;
  line-height: 1.35;
}

.pn-product-link {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  margin-top: 12px;
  color: var(--hx-action) !important;
  font-size: 12px;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 4px;
}

@keyframes pn-product-enter {
  from { opacity: .55; transform: translateY(5px); }
  to { opacity: 1; transform: translateY(0); }
}

body.pn.home .pn-evidence {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin: 22px 0 0;
  border-block: 1px solid var(--hx-line);
}

body.pn.home .pn-evidence li {
  min-width: 0;
  padding: 12px 14px;
  border-right: 1px solid var(--hx-line);
  font-size: 12px;
  line-height: 1.45;
}

body.pn.home .pn-evidence li:first-child { padding-left: 0; }
body.pn.home .pn-evidence li:last-child { padding-right: 0; border-right: 0; }
body.pn.home .pn-evidence strong { color: var(--hx-ink); }
body.pn.home section { padding-block: clamp(20px, 2vw, 28px); }
body.pn.home .pn-product-panel { padding: 18px; }
body.pn.home .pn-cobertura .pn-wrap > .pn-panel { padding: 24px; }
body.pn.home .pn-sec-head { font-family: var(--hx-impact-display); }
body.pn.home .pn-card { border-radius: 5px; }

/* Login: keep the form and product preview visible without a tall empty split. */
.pn-access {
  grid-template-columns: minmax(0, 1.12fr) minmax(390px, .88fr);
  min-height: 100svh;
}

.pn-story {
  justify-content: flex-start;
  gap: clamp(14px, 2vh, 22px);
  padding: clamp(20px, 2.7vw, 38px) clamp(22px, 3.4vw, 54px);
  border-right: 1px solid var(--hx-isle-line);
}

.pn-story header {
  flex: 0 0 auto;
  min-height: 42px;
}

.access-intro {
  flex: 0 0 auto;
  padding: 4px 0 0;
}

.access-intro .eyebrow { display: none; }

.access-intro h2 {
  max-width: 14ch;
  margin: 0 0 8px;
  font: 750 clamp(34px, 3.9vw, 58px)/.98 var(--hx-impact-display);
  letter-spacing: -.05em;
}

.access-intro p {
  max-width: 48ch;
  font-size: 14px;
  line-height: 1.5;
}

.access-console {
  width: 100%;
  max-width: none;
  margin-top: 2px;
  padding: 12px;
  background: var(--hx-isle);
  border: 1px solid var(--hx-isle-line);
  border-radius: 4px;
  box-shadow: 5px 5px 0 color-mix(in srgb, var(--hx-isle-accent) 76%, transparent);
}

.console-top {
  margin-bottom: 9px;
  padding: 0 0 8px;
  border-bottom: 1px solid var(--hx-isle-line);
  font-size: 11px;
}

.access-tabs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 5px;
  margin-bottom: 8px;
}

.access-tabs button {
  min-height: 36px;
  padding: 6px 7px;
  color: var(--hx-isle-muted);
  border: 1px solid var(--hx-isle-line);
  border-radius: 3px;
  font-size: 11px;
}

.access-tabs button[aria-selected="true"] {
  color: var(--hx-isle);
  background: var(--hx-isle-accent);
  border-color: var(--hx-isle-accent);
}

#access-panel {
  min-height: 0;
  padding: 0;
}

.pn-story .pn-product-panel {
  min-height: 218px;
  padding: 13px;
  color: var(--hx-isle-ink);
  background: color-mix(in srgb, var(--hx-isle-ink) 5%, transparent);
  border-color: var(--hx-isle-line);
}

.pn-story .pn-product-toolbar {
  color: var(--hx-isle-muted);
  border-color: var(--hx-isle-line);
  font-size: 11px;
}

.pn-story .pn-product-toolbar span:last-child,
.pn-story .pn-product-flow small { color: var(--hx-isle-accent); }

.pn-story .pn-product-panel h3 {
  margin: 12px 0 5px;
  color: var(--hx-isle-ink);
  font-size: clamp(20px, 2vw, 25px);
}

.pn-story .pn-product-panel p {
  color: var(--hx-isle-muted);
  font-size: 12px;
}

.pn-story .pn-product-flow { margin-top: 12px; border-color: var(--hx-isle-line); }
.pn-story .pn-product-flow span { padding: 8px; border-color: var(--hx-isle-line); }
.pn-story .pn-product-flow strong { color: var(--hx-isle-ink); font-size: 11px; }
.pn-story .pn-product-link { min-height: 30px; margin-top: 7px; font-size: 11px; }

@media (min-width: 960px) {
  .pn-story .access-console { display: flex; flex: 1 0 auto; flex-direction: column; }
  .pn-story #access-panel { display: flex; flex: 1; min-height: 0; }
  .pn-story .pn-product-panel:not([hidden]) {
    display: flex;
    flex: 1;
    flex-direction: column;
    min-height: clamp(260px, 30vh, 390px);
  }
  .pn-story .pn-product-flow {
    flex: 1;
    position: relative;
    gap: 8px;
    min-height: 160px;
    margin-top: clamp(16px, 3vh, 28px);
    border: 0;
  }
  .pn-story .pn-product-flow::before {
    position: absolute;
    top: 50%;
    right: 7%;
    left: 7%;
    height: 1px;
    background: var(--hx-isle-line);
    content: "";
  }
  .pn-story .pn-product-flow span {
    z-index: 1;
    display: flex;
    flex-direction: column;
    padding: clamp(12px, 1.4vw, 18px);
    background: var(--hx-isle);
    border: 1px solid var(--hx-isle-line);
    counter-increment: product-step;
  }
  .pn-story .pn-product-flow { counter-reset: product-step; }
  .pn-story .pn-product-flow span::before {
    color: var(--hx-isle-accent);
    font: 750 clamp(26px, 2.5vw, 40px)/1 var(--hx-impact-display);
    letter-spacing: -.06em;
    content: "0" counter(product-step);
  }
  .pn-story .pn-product-flow small {
    width: fit-content;
    margin-top: clamp(12px, 2vh, 20px);
    padding-top: 8px;
    border-top: 2px solid var(--hx-isle-accent);
  }
  .pn-story .pn-product-flow strong { font-size: 12px; }
  .pn-story .pn-product-flow span::after {
    width: 24px;
    height: 3px;
    margin-top: auto;
    background: var(--hx-isle-accent);
    content: "";
  }
}

.pn-story footer {
  margin-top: auto;
  padding-top: 8px;
  font-size: 11px;
}

.pn-formside {
  justify-content: center;
  padding: clamp(22px, 3vw, 42px) clamp(22px, 4vw, 64px);
}

.access-form-inner {
  max-width: 500px;
  padding: 0;
}

.pn-formtop { margin-bottom: 16px; }
.access-step { font-size: 10px; }
.pn-formside h1 {
  margin: 0 0 5px;
  font: 700 clamp(34px, 3.1vw, 44px)/1.03 var(--hx-impact-display);
  letter-spacing: -.045em;
}

#subtitle { margin-bottom: 16px; font-size: 14px; }
#auth { gap: 2px; }
#auth label { margin-top: 4px; font-size: 13px; }
.field { gap: 6px; margin-top: 5px; }
#auth input { min-height: 46px; padding: 10px 12px; border-radius: 4px; }
.password-control button { border-radius: 3px; }
.submit-button {
  min-height: 48px;
  margin-top: 10px;
  border-radius: 3px;
  font-size: 14px;
}
.access-switch { margin-top: 13px; font-size: 13px; }
.access-proof { margin-top: 14px; padding: 11px 12px; border-radius: 4px; }
.access-proof p { font-size: 12px; }
.access-links { margin-top: 12px; font-size: 12px; }
.access-copyright { margin-top: 10px; font-size: 11px; }

@media (max-width: 959px) {
  body.pn.home .pn-hero-grid { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  body.pn.home #h-hero { max-width: 15ch; font-size: clamp(42px, 7vw, 60px); }
  .pn-product-board { min-height: 320px; }
  body.pn.home .pn-evidence { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  body.pn.home .pn-evidence li:nth-child(2) { border-right: 0; }
  body.pn.home .pn-evidence li:nth-child(-n+2) { border-bottom: 1px solid var(--hx-line); }
  body.pn.home .pn-evidence li:nth-child(3) { padding-left: 0; }
  .pn-access { grid-template-columns: minmax(0, 1fr); }
  .pn-formside { order: -1; padding: 26px clamp(20px, 5vw, 52px) 24px; }
  .access-form-inner { max-width: 540px; }
  .pn-story { order: 1; gap: 16px; padding: 20px clamp(20px, 5vw, 52px) 24px; }
  .access-console { display: block; }
  .pn-story footer { margin-top: 0; }
}

@media (max-width: 560px) {
  body.pn.home .pn-wrap { width: 100%; padding-inline: 14px; }
  body.pn.home .pn-top { min-height: 58px; }
  body.pn.home #h-hero { font-size: clamp(38px, 10vw, 48px); }
  body.pn.home .pn-hero .lead { font-size: 14px; }
  .pn-product-board { min-height: 370px; padding: 11px; gap: 9px; }
  .pn-product-head { font-size: 11px; }
  .pn-product-tabs,
  .access-tabs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pn-product-panel { padding: 12px; }
  .pn-product-panel h3 { font-size: 22px; }
  .pn-product-flow span { padding: 8px 7px; }
  .pn-product-flow strong { font-size: 11px; }
  body.pn.home .pn-evidence li { padding: 10px 9px; font-size: 11px; }
  body.pn.home .pn-evidence li:first-child,
  body.pn.home .pn-evidence li:nth-child(3) { padding-left: 0; }
  .pn-formtop { margin-bottom: 12px; }
  .pn-formside { padding: 20px 18px; }
  .pn-formside h1 { font-size: 34px; }
  .access-intro h2 { font-size: 34px; }
  .pn-story header { align-items: flex-start; }
  .pn-story .pn-product-panel { min-height: 230px; }
  .pn-story .pn-product-flow { grid-template-columns: 1fr; }
  .pn-story .pn-product-flow span { border-right: 0; border-bottom: 1px solid var(--hx-isle-line); }
  .pn-story .pn-product-flow span:last-child { border-bottom: 0; }
}

/* Authenticated products: stronger hierarchy, tighter controls, same theme tokens. */
body.hexvia-product.hx-console {
  --hx-display: "Bricolage Grotesque", "Manrope", "DM Sans", sans-serif;
  font-size: 13px;
  scrollbar-color: var(--hx-signal) var(--hx-paper);
}

body.hexvia-product.hx-console ::selection { color: var(--hx-action-ink); background: var(--hx-signal); }
body.hexvia-product.hx-console :focus-visible { outline: 2px solid var(--hx-focus); outline-offset: 3px; }
body.hexvia-product.hx-console .content { padding: 18px clamp(14px, 1.7vw, 26px) 30px; }
body.hexvia-product.hx-console .app-top { min-height: 58px; padding-block: 8px; border-bottom-width: 2px; }
body.hexvia-product.hx-console .verify-banner { padding-block: 4px; }
body.hexvia-product.hx-console .sidebar { border-right-width: 2px; }
body.hexvia-product.hx-console .sidebar .nx-workspace { border-radius: 4px; border-color: var(--hx-line); }
body.hexvia-product.hx-console .sidebar .nx-nav-label { font-weight: 750; letter-spacing: .14em; }
body.hexvia-product.hx-console .sidebar :is(.nx-nav, #utility-nav) a { border-radius: 4px; font-weight: 600; }
body.hexvia-product.hx-console .sidebar .nx-nav a.active {
  color: var(--hx-action-ink);
  background: var(--hx-action);
  border-color: var(--hx-action);
  box-shadow: 3px 3px 0 var(--hx-info);
}
body.hexvia-product.hx-console .sidebar .nx-nav a.active svg { color: currentColor; }
body.hexvia-product.hx-console .sidebar .nx-user { border-radius: 4px; }
body.hexvia-product.hx-console :is(h1, h2, h3, h4) { letter-spacing: -.035em; }
body.hexvia-product.hx-console h1 { font: 700 clamp(28px, 2.2vw, 36px)/1.05 var(--hx-display); }
body.hexvia-product.hx-console h2 { font-weight: 700; }
body.hexvia-product.hx-console :is(button, .button) { border-radius: 4px; }
body.hexvia-product.hx-console :is(button, .button).primary,
body.hexvia-product.hx-console :is(button, .button)[data-primary] {
  color: var(--hx-action-ink);
  background: var(--hx-action);
  border-color: var(--hx-action);
}
body.hexvia-product.hx-console :is(.card, .panel) {
  padding: 16px;
  border-radius: 6px;
  box-shadow: none;
}
body.hexvia-product.hx-console :is(.grid, .cards, .metrics) { gap: 10px; }
body.hexvia-product.hx-console :is(.table-wrap, .hx-record-table) { border-radius: 5px; }
body.hexvia-product.hx-console :is(th, td) { padding: 10px 12px; }
body.hexvia-product.hx-console th { color: var(--hx-dk-ink); background: var(--hx-rail); }
body.hexvia-product.hx-console :is(.product-tabs, .hx-context-nav) { gap: 4px; }
body.hexvia-product.hx-console :is(.product-tabs, .hx-context-nav) > a { border-radius: 3px; font-weight: 650; }
body.hexvia-product.hx-console :is(.product-tabs, .hx-context-nav) > a.active,
body.hexvia-product.hx-console :is(.product-tabs, .hx-context-nav) > a[aria-current="page"] {
  color: var(--hx-action-ink);
  background: var(--hx-action);
  border-color: var(--hx-action);
}
body.hexvia-product.hx-console .hx-module-menu { border-radius: 5px; }
body.hexvia-product.hx-console dialog { border-radius: 8px; }

body.hexvia-product.hx-console .hx-home .nx-pagehead h1 {
  font: 750 32px/1.05 var(--hx-display);
  letter-spacing: -.04em;
}

body.hexvia-product.hx-console .hx-home .nx-kpis { border-radius: 5px; }
body.hexvia-product.hx-console .hx-home .nx-kpis .nx-kpi { min-height: 104px; padding: 12px 15px; }
body.hexvia-product.hx-console .hx-home .nx-kpi-head { font-weight: 650; }
body.hexvia-product.hx-console .hx-home .nx-kpi > strong { font-size: 32px; }
body.hexvia-product.hx-console .hx-home .nx-panel { border-radius: 5px; }
body.hexvia-product.hx-console .hx-home .nx-panel h2 { font-size: 18px; }
body.hexvia-product.hx-console .hx-home .nx-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(230px, .65fr);
  align-items: center;
  gap: 14px;
  padding: 17px 19px;
  color: var(--hx-dk-ink);
  background: var(--hx-rail);
  border: 1px solid var(--hx-ink);
  border-radius: 5px;
  box-shadow: 5px 5px 0 var(--hx-signal);
}
body.hexvia-product.hx-console .hx-home .nx-hero-copy { padding: 0; }
body.hexvia-product.hx-console .hx-home .nx-hero h2 { color: var(--hx-dk-ink); font: 700 24px/1.08 var(--hx-display); }
body.hexvia-product.hx-console .hx-home .nx-hero-copy p { color: var(--hx-dk-soft); }
body.hexvia-product.hx-console .hx-home .nx-hero :is(a, button) { border-radius: 3px; }
body.hexvia-product.hx-console .hx-home .nx-hero .nx-orbit { display: block; max-height: 120px; }
body.hexvia-product.hx-console .hx-home .nx-prio-item { border-bottom: 1px solid var(--hx-line); }
body.hexvia-product.hx-console .hx-home .nx-prio-item:last-child { border-bottom: 0; }
body.hexvia-product.hx-console .hx-home .hx-console-fold { border-radius: 5px; }

@media (max-width: 1100px) {
  body.hexvia-product.hx-console .content { padding: 16px; }
  body.hexvia-product.hx-console .hx-home .nx-hero { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 760px) {
  body.hexvia-product.hx-console .content { padding: 14px 12px 24px; }
  body.hexvia-product.hx-console .app-top { min-height: 56px; }
  body.hexvia-product.hx-console h1 { font-size: 26px; }
  body.hexvia-product.hx-console .hx-home .nx-pagehead h1 { font-size: 28px; }
  body.hexvia-product.hx-console .hx-home .nx-kpis .nx-kpi { min-height: 100px; }
  body.hexvia-product.hx-console .hx-home .nx-kpi-head { min-height: 24px; }
  body.hexvia-product.hx-console .hx-home .nx-hero { padding: 14px; box-shadow: 3px 3px 0 var(--hx-signal); }
}

@media (prefers-reduced-motion: reduce) {
  body.pn.home *, body.pn-login *, body.hexvia-product.hx-console *,
  body.pn.home *::before, body.pn-login *::before, body.hexvia-product.hx-console *::before,
  body.pn.home *::after, body.pn-login *::after, body.hexvia-product.hx-console *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }
}
