/* Validas product hub — scoped to body.validas-hub.
   Uses Stan Advoka tokens from stan-advoka-brand.css.
   Do not restyle .stan-route, .stan-shell or other brand classes here. */

body.validas-hub {
  background:
    radial-gradient(ellipse 48% 40% at 0% 0%, rgba(150, 186, 214, 0.34), transparent 60%),
    radial-gradient(ellipse 40% 34% at 100% 8%, rgba(201, 169, 98, 0.22), transparent 54%),
    radial-gradient(ellipse 36% 30% at 78% 100%, rgba(150, 186, 168, 0.16), transparent 55%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.07), transparent 42%),
    var(--stan-bg);
}

.vh {
  width: min(1040px, calc(100% - 40px));
  margin: 0 auto;
  padding: 22px 0 56px;
}

.vh-bar {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px 32px;
  padding-bottom: 18px;
  margin-bottom: 36px;
  border-bottom: 1px solid rgba(201, 169, 98, 0.22);
}

.vh-logo {
  display: inline-block;
  line-height: 0;
  text-decoration: none;
  flex: 0 0 auto;
}
.vh-logo img {
  display: block;
  width: min(420px, 86vw);
  height: auto;
}

.vh-platform {
  margin: 0;
  font-size: 13px;
  line-height: 1.45;
  color: var(--stan-cream);
  text-align: right;
}
.vh-platform a {
  color: var(--stan-gold-light);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid rgba(201, 169, 98, 0.55);
  margin-left: 8px;
  white-space: nowrap;
}
.vh-platform a:hover {
  color: var(--stan-cream);
  border-bottom-color: var(--stan-gold);
}

.vh-hero {
  max-width: 38rem;
  margin: 0 0 18px;
}
.vh-hero h1 {
  margin: 0 0 10px;
  font-family: var(--stan-serif);
  font-size: clamp(28px, 4vw, 36px);
  font-weight: 600;
  letter-spacing: 0.16em;
  color: var(--stan-cream);
  font-variant-ligatures: none;
  font-feature-settings: "locl" 0;
}
.vh-tagline {
  margin: 0 0 10px;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--stan-cream);
}
.vh-lead {
  margin: 0;
  max-width: 46ch;
  font-size: 14px;
  line-height: 1.6;
  color: var(--stan-muted);
}

.vh-entity {
  max-width: 46rem;
  margin: 0 0 28px;
  padding: 12px 14px;
  border-left: 2px solid var(--stan-gold);
  background: rgba(201, 169, 98, 0.06);
  font-size: 13px;
  line-height: 1.55;
  color: var(--stan-muted);
}
.vh-entity p {
  margin: 0;
}
.vh-entity p + p {
  margin-top: 6px;
}

.vh-section {
  margin-top: 36px;
}
.vh-section-kicker,
.vh-section-title {
  margin: 0 0 6px;
  font-family: var(--stan-sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--stan-gold);
}
.vh-section-title {
  font-size: 12px;
  color: var(--stan-gold-light);
}
.vh-section-note {
  margin: 0 0 14px;
  font-size: 13px;
  line-height: 1.5;
  color: var(--stan-muted);
}

.vh-primary {
  margin-top: 8px;
}

.vh-grid {
  display: grid;
  gap: 14px;
  align-items: stretch;
}
.vh-grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.vh-grid-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.vh-card {
  display: flex;
  flex-direction: column;
  min-height: 200px;
  padding: 18px 16px 16px;
  background: rgba(12, 18, 32, 0.78);
  border: 1px solid rgba(201, 169, 98, 0.22);
  border-top: 3px solid var(--stan-gold);
  border-radius: 2px;
}
.vh-card-primary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px 28px;
  align-items: end;
  min-height: 0;
  padding: 22px 22px 20px;
  border-top-width: 4px;
  border-top-color: #c9a962;
  background:
    linear-gradient(180deg, rgba(201, 169, 98, 0.14), transparent 90px),
    rgba(12, 18, 32, 0.88);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
}
.vh-primary-copy h2 {
  margin: 0 0 10px;
  font-size: clamp(20px, 2.6vw, 26px);
}
.vh-primary-copy p {
  margin: 0;
  max-width: 54ch;
  font-size: 14px;
}

.vh-card-file {
  border-top-color: #c9a962;
  background:
    linear-gradient(180deg, rgba(201, 169, 98, 0.1), transparent 72px),
    rgba(12, 18, 32, 0.78);
}
.vh-card-patent {
  border-top-color: #7eb6d4;
  background:
    linear-gradient(180deg, rgba(126, 182, 212, 0.12), transparent 72px),
    rgba(12, 18, 32, 0.78);
}
.vh-card-brand {
  border-top-color: #c4a0d8;
  background:
    linear-gradient(180deg, rgba(196, 160, 216, 0.12), transparent 72px),
    rgba(12, 18, 32, 0.78);
}
.vh-card-upc {
  border-top-color: #8fbfae;
  background:
    linear-gradient(180deg, rgba(143, 191, 174, 0.12), transparent 72px),
    rgba(12, 18, 32, 0.78);
}
.vh-card-soft {
  min-height: 0;
  border-top-color: rgba(201, 169, 98, 0.35);
  background: rgba(12, 18, 32, 0.55);
  border-color: rgba(201, 169, 98, 0.16);
}
.vh-card-soft h2 {
  font-size: 14px;
}
.vh-card-soft p {
  font-size: 12px;
}

.vh-card h2 {
  margin: 0 0 10px;
  font-family: var(--stan-sans);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
  line-height: 1.35;
  color: var(--stan-cream);
}
.vh-card p {
  margin: 0;
  flex: 1;
  font-size: 13px;
  line-height: 1.55;
  color: var(--stan-muted);
}

.vh-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: flex-start;
  margin-top: 18px;
  min-height: 36px;
  padding: 0 12px;
  border: 1px solid rgba(201, 169, 98, 0.55);
  background: transparent;
  color: var(--stan-gold-light);
  font-family: var(--stan-sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-decoration: none;
  white-space: nowrap;
}
.vh-btn-primary {
  margin-top: 0;
  min-height: 42px;
  padding: 0 18px;
  font-size: 12px;
  background: rgba(201, 169, 98, 0.14);
  border-color: rgba(201, 169, 98, 0.85);
  color: #e8d5a3;
}
.vh-card-file .vh-btn,
.vh-card-primary .vh-btn {
  border-color: rgba(201, 169, 98, 0.7);
  color: #e8d5a3;
}
.vh-card-patent .vh-btn {
  border-color: rgba(126, 182, 212, 0.7);
  color: #d5ebf5;
}
.vh-card-brand .vh-btn {
  border-color: rgba(196, 160, 216, 0.7);
  color: #eddff5;
}
.vh-card-upc .vh-btn {
  border-color: rgba(143, 191, 174, 0.75);
  color: #d7eee6;
}
.vh-card-soft .vh-btn {
  margin-top: 14px;
  min-height: 32px;
  font-size: 10px;
  letter-spacing: 0.03em;
  border-color: rgba(201, 169, 98, 0.35);
  color: rgba(232, 213, 163, 0.85);
}
.vh-btn:hover {
  color: var(--stan-cream);
  background: rgba(255, 255, 255, 0.04);
}

.vh-related {
  opacity: 0.96;
}

.vh-foot {
  margin-top: 40px;
  padding-top: 16px;
  border-top: 1px solid rgba(201, 169, 98, 0.2);
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  align-items: center;
  font-size: 12px;
  color: var(--stan-muted);
}
.vh-foot a {
  color: var(--stan-gold-light);
  text-decoration: none;
  border-bottom: 1px dotted rgba(201, 169, 98, 0.4);
}
.vh-foot a:hover {
  color: var(--stan-cream);
}
.vh-foot .vh-admin {
  margin-left: auto;
  color: rgba(245, 240, 230, 0.32);
  border-bottom: none;
  font-size: 11px;
}
.vh-foot .vh-admin:hover {
  color: var(--stan-muted);
}

.vh-page {
  max-width: 40rem;
}
.vh-page h1 {
  margin: 0 0 12px;
  font-family: var(--stan-serif);
  font-size: 26px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--stan-cream);
}
.vh-page h2 {
  margin: 28px 0 8px;
  font-family: var(--stan-sans);
  font-size: 15px;
  font-weight: 600;
  color: var(--stan-cream);
}
.vh-page p,
.vh-page li {
  font-size: 14px;
  line-height: 1.6;
  color: var(--stan-muted);
}
.vh-page a {
  color: var(--stan-gold-light);
}
.vh-page ul {
  padding-left: 18px;
}

@media (max-width: 960px) {
  .vh-grid-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .vh-bar,
  .vh-platform {
    display: block;
    text-align: left;
  }
  .vh-platform {
    margin-top: 12px;
  }
  .vh-platform a {
    display: inline-block;
    margin: 6px 0 0;
  }
  .vh-card-primary {
    grid-template-columns: 1fr;
  }
  .vh-btn-primary {
    margin-top: 4px;
    justify-self: start;
  }
  .vh-grid-3,
  .vh-grid-4 {
    grid-template-columns: 1fr;
  }
  .vh-card {
    min-height: 0;
  }
  .vh-foot .vh-admin {
    margin-left: 0;
  }
}
