/* Virool record page — extends ../styles.css and ../gox/gox.css. Same components, Virool content. */

.vrh .gxh__bg {
  background-image: url('../assets/virool-hero.webp');
}
.vrh h1 {
  max-width: 15ch;
}

/* ── 01 Systems ────────────────────────────────────────── */
.vsys {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.vsys__c {
  background: var(--bg-2);
  padding: 1.5rem 1.4rem 1.6rem;
  display: flex;
  flex-direction: column;
}
.vsys__c .mono {
  color: var(--gold);
  font-size: 0.6875rem;
}
.vsys__c h3 {
  font-size: var(--text-lg);
  margin: 1.4rem 0 0.35rem;
}
.vsys__c b {
  font-family: var(--font-mono);
  font-weight: 400;
  font-size: 0.6875rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 0.9rem;
}
.vsys__c--sized b {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.6rem;
  letter-spacing: -0.02em;
  text-transform: none;
  color: var(--gold-hi);
  line-height: 1;
}
.vsys__c p {
  color: var(--ink-3);
  font-size: var(--text-sm);
  line-height: 1.55;
}

/* ── 02 Scale ──────────────────────────────────────────── */
.vscale {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  border-top: 1px solid var(--line);
}
.vscale__c {
  padding: 1.6rem 1.4rem 0.4rem 0;
  border-right: 1px solid var(--line);
}
.vscale__c + .vscale__c {
  padding-left: 1.4rem;
}
.vscale__c:last-child {
  border-right: 0;
}
.vscale__c b {
  display: block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.2rem, 3.6vw, 3.2rem);
  line-height: 0.95;
  letter-spacing: -0.035em;
  color: var(--gold-hi);
  font-variant-numeric: tabular-nums;
}
.vscale__c p {
  margin-top: 0.9rem;
  color: var(--ink-2);
  font-size: var(--text-sm);
  line-height: 1.55;
}

/* ── 03 Deals ──────────────────────────────────────────── */
/* Feature card holds the left column; the six others fill a 2 × 3 grid beside it. */
.deals {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.deal {
  border: 1px solid var(--line);
  background: var(--bg-2);
  border-radius: var(--radius);
  padding: 1.3rem 1.3rem 1.4rem;
}
.deal .mono {
  color: var(--gold);
  font-size: 0.6875rem;
}
.deal h3 {
  font-size: var(--text-base);
  margin: 0.9rem 0 0.4rem;
}
.deal p {
  color: var(--ink-3);
  font-size: var(--text-sm);
  line-height: 1.55;
}
.deal--feature {
  grid-row: span 3;
  border-color: rgba(216, 164, 74, 0.45);
  background:
    radial-gradient(600px 300px at 0% 0%, rgba(216, 164, 74, 0.12), transparent 70%),
    var(--bg-2);
  padding: 1.8rem 1.8rem 2rem;
  display: flex;
  flex-direction: column;
}
.deal__big {
  display: block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(3.4rem, 7vw, 5.4rem);
  line-height: 0.9;
  letter-spacing: -0.045em;
  color: var(--gold-hi);
  margin-top: auto;
  padding-top: 2rem;
}
.deal--feature h3 {
  font-size: var(--text-xl);
  margin-top: 0.8rem;
}
.deal--feature p {
  color: var(--ink-2);
  font-size: var(--text-base);
  max-width: 40ch;
}

/* ── 04 Acquisition trace: longer date labels than Go X ── */
.vtrace::before {
  left: 8.25rem;
}
.vtrace li {
  grid-template-columns: 7.25rem 2rem 12rem minmax(0, 1fr);
}

/* ── 05 Docket: kind · count · years · stages ──────────── */
.vdk {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.vdk__row {
  display: grid;
  grid-template-columns: 17rem 5rem 8rem minmax(0, 1fr);
  align-items: center;
  gap: 0 1rem;
  padding: 1rem 1.2rem;
  border-bottom: 1px solid var(--line);
}
.vdk__row:last-child {
  border-bottom: 0;
}
.vdk__row--head {
  background: var(--bg-2);
  padding-top: 0.8rem;
  padding-bottom: 0.8rem;
}
.vdk__row--head span {
  font-family: var(--font-mono);
  font-size: 0.625rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.vdk__row--head span:nth-child(2) {
  text-align: center;
}
.vdk__k {
  font-weight: 700;
  font-size: var(--text-sm);
}
.vdk__n {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.35rem;
  color: var(--gold-hi);
  text-align: center;
  font-variant-numeric: tabular-nums;
}
.vdk__y {
  font-size: 0.75rem;
  color: var(--ink);
}
.vdk__s {
  color: var(--ink-3);
  font-size: var(--text-sm);
  line-height: 1.5;
}

.vfirst {
  margin-top: 2.4rem;
}
.vfirst__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.vfirst__c {
  border: 1px solid rgba(216, 164, 74, 0.45);
  background: var(--gold-dim);
  border-radius: var(--radius);
  padding: 1.3rem 1.3rem 1.4rem;
}
.vfirst__c .mono {
  color: var(--gold-hi);
  font-size: 0.6875rem;
}
.vfirst__c p {
  margin-top: 0.8rem;
  color: var(--ink-2);
  font-size: var(--text-sm);
  line-height: 1.6;
}

/* ── 06 Uses: five cards — the last two share the bottom row ── */
.vuses {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}
.vuses > div {
  grid-column: span 2;
}

/* ── 07 Delivery ───────────────────────────────────────── */
.vdel {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 3rem;
  border-top: 1px solid var(--line);
}
.vdel li {
  position: relative;
  padding: 1.1rem 0 1.1rem 1.9rem;
  border-bottom: 1px solid var(--line);
  color: var(--ink-2);
  line-height: 1.55;
}
.vdel li::before {
  content: '';
  position: absolute;
  left: 0.2rem;
  top: 1.45rem;
  width: 11px;
  height: 6px;
  border-left: 1.5px solid var(--gold);
  border-bottom: 1.5px solid var(--gold);
  transform: rotate(-45deg);
}
.vdel li:last-child {
  grid-column: 1 / -1;
  color: var(--ink-3);
  font-size: var(--text-sm);
}
.vdel__cta {
  margin-top: 2.2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

/* ── Responsive ────────────────────────────────────────── */
@media (max-width: 1100px) {
  .vsys {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .vscale {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    row-gap: 1.6rem;
  }
  .vscale__c:nth-child(3n) {
    border-right: 0;
  }
  .vscale__c:nth-child(3n + 1) {
    padding-left: 0;
  }
  .deals {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .deal--feature {
    grid-column: 1 / -1;
    grid-row: auto;
  }
  .vdk__row {
    grid-template-columns: 14rem 4rem 7rem minmax(0, 1fr);
  }
}
@media (max-width: 1040px) {
  .vuses > div {
    grid-column: span 3;
  }
}
@media (max-width: 860px) {
  .vsys {
    grid-template-columns: 1fr 1fr;
  }
  .vsys__c:last-child {
    grid-column: 1 / -1;
  }
  .vtrace::before {
    left: 0.45rem;
  }
  .vtrace li {
    grid-template-columns: 1.5rem minmax(0, 1fr);
  }
  .vdk__row--head {
    display: none;
  }
  .vdk__row {
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas: 'k n' 'y y' 's s';
    row-gap: 0.35rem;
    padding: 1rem;
  }
  .vdk__k {
    grid-area: k;
  }
  .vdk__n {
    grid-area: n;
  }
  .vdk__y {
    grid-area: y;
    color: var(--gold);
  }
  .vdk__s {
    grid-area: s;
  }
  .vfirst__grid {
    grid-template-columns: 1fr;
  }
  .vdel {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 600px) {
  .vsys {
    grid-template-columns: 1fr;
  }
  .vscale {
    grid-template-columns: 1fr 1fr;
  }
  .vscale__c,
  .vscale__c + .vscale__c {
    padding: 1.2rem 1rem 0 0;
    border-right: 0;
  }
  .vscale__c:last-child {
    grid-column: 1 / -1;
  }
  .deals {
    grid-template-columns: 1fr;
  }
  .deal--feature {
    grid-column: auto;
  }
  .vuses > div {
    grid-column: 1 / -1;
  }
}
