/* Technology (19 November 2026): XShield and the four Quantum products as tabs, each with the parts of its own page.
   products.astro builds it; tech.js runs the tabs. The bar of the tabs stays under the site navigation while a long
   tab is read. Hover by colour; no pills, no glass, no lifts. */
.v2-products .tx-head { min-height: 0; padding: clamp(120px, 16vh, 170px) 0 clamp(34px, 5vh, 54px); }
.v2-products .tx-head .v2-l { max-width: 62ch; }

/* ---- the bar ---- */
.tx-tabs { position: relative; }
.tx-bar-wrap { position: sticky; top: 0; z-index: 40; background: #021825; border-bottom: 1px solid rgba(255,255,255,.16); padding-top: 64px; margin-top: -64px; }
.tx-bar { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: clamp(12px, 2vw, 34px); }
.tx-bar button { appearance: none; -webkit-appearance: none; position: relative; margin: 0; padding: 18px 0 16px; border: 0; background: none;
  font: inherit; text-align: left; color: rgba(255,255,255,.6); cursor: pointer; transition: color .25s; min-width: 0; }
.tx-bar button b { display: block; font-size: clamp(16px, 1.45vw, 22px); line-height: 1.1; font-weight: 700; letter-spacing: -.02em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tx-bar button span { display: block; margin-top: 5px; font-size: 13.5px; line-height: 1.3; font-weight: 500; color: rgba(255,255,255,.48); transition: color .25s; }
.tx-bar button::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: #24B6D1; transform: scaleX(0); transform-origin: 0 50%; transition: transform .55s cubic-bezier(.2,.7,.2,1); }
.tx-bar button[aria-selected="true"], .tx-bar button:hover { color: #fff; }
.tx-bar button[aria-selected="true"] span { color: #8ED6E8; }
.tx-bar button[aria-selected="true"]::after { transform: scaleX(1); }
.tx-bar button:focus-visible { outline: 2px solid #24B6D1; outline-offset: 4px; }

/* ---- a panel ---- */
.tx-js .tx-panel:not(.is-on) { display: none; }
.tx-panel { outline: none; scroll-margin-top: 0; }
.tx-js .tx-panel.is-on { animation: tx-in .5s ease both; }
@keyframes tx-in { from { opacity: 0; } to { opacity: 1; } }
.tx-top { position: relative; overflow: hidden; background: #021825; color: #fff; min-height: clamp(460px, 66vh, 680px); display: flex; align-items: center; }
.tx-photo { position: absolute; inset: 0; }
.tx-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 62% 50%; }
.tx-photo::after { content: ""; position: absolute; inset: 0; background:
  linear-gradient(90deg, rgba(2,24,37,.95) 0%, rgba(2,24,37,.86) 38%, rgba(2,24,37,.42) 70%, rgba(2,24,37,.30) 100%),
  linear-gradient(0deg, rgba(2,24,37,.55) 0%, rgba(2,24,37,0) 40%); }
.tx-top-in { position: relative; z-index: 1; width: 100%; padding-top: clamp(56px, 8vh, 96px); padding-bottom: clamp(56px, 8vh, 96px); }
.tx-name { margin: 0; font-size: clamp(46px, 5.2vw, 82px); line-height: .96; letter-spacing: -.045em; font-weight: 700; color: #fff; }
.tx-verb { margin: 12px 0 0; font-size: clamp(17px, 1.5vw, 22px); font-weight: 600; color: #8ED6E8; }
.tx-title { margin: 26px 0 0; max-width: 24ch; font-size: clamp(22px, 2vw, 30px); line-height: 1.22; letter-spacing: -.02em; font-weight: 650; color: #fff; text-wrap: balance; }
.tx-em { background-image: linear-gradient(97deg, #24B6D1 0%, #8ED6E8 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.tx-lede { margin: 14px 0 0; max-width: 58ch; font-size: 17px; line-height: 1.6; color: rgba(255,255,255,.84); text-wrap: pretty; }
.tx-top .v2-actions { margin-top: 26px; }

/* ---- the parts of a product ---- */
.tx-body { background: #fff; color: #4C6372; }
.tx-sec { padding: clamp(56px, 8vh, 96px) 0; }
.tx-sec + .tx-sec { border-top: 1px solid #DCE5EA; }
.tx-alt { background: #F7FAFB; }
.tx-h { margin: 0; max-width: 26ch; font-size: clamp(28px, 2.6vw, 40px); line-height: 1.08; letter-spacing: -.03em; font-weight: 700; color: #0E2433; text-wrap: balance; }
.tx-h .xs-em { background-image: linear-gradient(97deg, #216393 0%, #24B6D1 70%, #3FC1DA 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.tx-h-s { font-size: 13.5px; letter-spacing: 0; font-weight: 600; color: #216393; }
.tx-l { margin: 14px 0 0; max-width: 64ch; font-size: 17px; line-height: 1.6; color: #4C6372; }
.tx-note { margin: 26px 0 0; max-width: 80ch; font-size: 15px; line-height: 1.55; color: #4C6372; }
.tx-a, .tx-links a { color: #216393; font-weight: 600; text-decoration: none; }
.tx-a:hover, .tx-links a:hover { text-decoration: underline; text-underline-offset: 4px; }
.tx-n { display: block; font-size: 13px; font-weight: 700; color: #216393; font-variant-numeric: tabular-nums; }
.tx-p { display: block; margin-top: 8px; font-size: 15.5px; line-height: 1.55; color: #4C6372; }
.tx-st { display: block; margin-top: 4px; font-size: 15px; font-weight: 600; color: #216393; }
.tx-uses { display: block; margin-top: 10px; font-size: 13.5px; color: #7C8E9A; }
.tx-steps, .tx-cards, .tx-rows, .tx-check, .tx-links { list-style: none; margin: 0; padding: 0; }
.tx-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; margin-top: clamp(28px, 4vh, 40px); }
.tx-steps.tx-s3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.tx-steps li { padding-top: 16px; border-top: 2px solid #0E2433; }
.tx-steps b { display: block; margin-top: 8px; font-size: 19px; line-height: 1.25; letter-spacing: -.012em; color: #0E2433; }
.tx-cards { display: grid; gap: 18px; margin-top: clamp(28px, 4vh, 40px); }
.tx-c3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.tx-c5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.tx-cards li { padding: 22px 20px 24px; border: 1px solid #DCE5EA; border-radius: 14px; background: #fff; }
.tx-cards b { display: block; margin-top: 6px; font-size: 18px; line-height: 1.25; letter-spacing: -.012em; color: #0E2433; }
.tx-split { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(32px, 5vw, 88px); align-items: start; }
.tx-rows { margin-top: 24px; border-top: 1px solid #DCE5EA; }
.tx-rows li { padding: 18px 0; border-bottom: 1px solid #DCE5EA; }
.tx-rows b { display: block; font-size: 18px; line-height: 1.3; letter-spacing: -.01em; color: #0E2433; }
.tx-rows a { display: block; color: inherit; text-decoration: none; }
.tx-rows a b span { color: #216393; }
.tx-rows a:hover b { color: #216393; }
.tx-papers li { display: grid; grid-template-columns: 40px minmax(0, 1fr); column-gap: 8px; }
.tx-papers .tx-n { grid-row: 1 / span 3; font-size: 18px; }
.tx-check { margin-top: 18px; border-top: 1px solid #DCE5EA; }
.tx-check li { position: relative; padding: 12px 0 12px 26px; border-bottom: 1px solid #DCE5EA; font-size: 16px; line-height: 1.45; color: #0E2433; }
.tx-check li::before { content: ""; position: absolute; left: 2px; top: 1.05em; width: 12px; height: 6px; border-left: 2px solid #24B6D1; border-bottom: 2px solid #24B6D1; transform: rotate(-45deg); }
.tx-card { margin: 20px 0 0; padding: 18px 20px; border-radius: 14px; background: #021825; color: rgba(255,255,255,.84); font-size: 15.5px; line-height: 1.5; }
.tx-card b { color: #fff; }
.tx-links { margin-top: 18px; display: grid; gap: 10px; }
.tx-lead { display: flex; align-items: center; gap: 14px; margin: 26px 0 0; padding-top: 20px; border-top: 1px solid #DCE5EA; }
.tx-lead img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; }
.tx-lead span { font-size: 14.5px; color: #4C6372; }
.tx-lead b { display: block; font-size: 16px; color: #0E2433; }
.tx-partner { display: flex; align-items: center; gap: 14px; margin: 22px 0 0; font-size: 14.5px; line-height: 1.5; color: #4C6372; }
.tx-partner img { height: 28px; width: auto; flex: none; }

/* ---- one real screen of the product in a window frame, under the top band of its tab (20 November 2026) ---- */
.tx-glory { background: linear-gradient(180deg, #021825 0, #021825 44%, #fff 44%); }
.tx-win { margin: 0 auto; max-width: 1040px; }
.tx-win-f { border-radius: 14px; overflow: hidden; border: 1px solid rgba(255,255,255,.18); background: #0A2231; box-shadow: 0 36px 72px -30px rgba(2,24,37,.62), 0 2px 8px rgba(2,24,37,.22); }
.tx-win-bar { margin: 0; padding: 11px 18px; font-size: 13px; line-height: 1.4; font-weight: 600; color: rgba(255,255,255,.74); background: #0A2231; border-bottom: 1px solid rgba(255,255,255,.1); }
.tx-win img { display: block; width: 100%; height: auto; }
.tx-win figcaption { margin: 16px auto 0; max-width: 78ch; text-align: center; font-size: 14.5px; line-height: 1.5; color: #4C6372; text-wrap: pretty; }
.tx-glory + .tx-body > .tx-sec:first-child { padding-top: clamp(44px, 6vh, 72px); }
/* one phone screen of a product (21 November 2026, Quantum Navigator and Quantum Ed): the same band, a phone frame */
.tx-phone-f { margin: 0 auto; max-width: 300px; }
.tx-phone-f img { display: block; width: 100%; height: auto; border-radius: 30px; border: 8px solid #0A2231; box-shadow: 0 36px 72px -30px rgba(2,24,37,.62), 0 2px 8px rgba(2,24,37,.22); }
.tx-phone-f figcaption { margin: 16px auto 0; max-width: 46ch; text-align: center; font-size: 14.5px; line-height: 1.5; color: #4C6372; text-wrap: pretty; }

/* ---- Quantum Hub: the screens of the product (20 November 2026) ---- */
.tx-shots { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 24px; margin-top: clamp(28px, 4vh, 40px); align-items: start; }
.tx-shot { margin: 0; }
.tx-shot-w { grid-column: 1 / -1; }
.tx-shot img { display: block; width: 100%; height: auto; border-radius: 14px; border: 1px solid #DCE5EA; background: #0B1B33; }
.tx-shot figcaption { margin-top: 12px; max-width: 72ch; font-size: 14.5px; line-height: 1.5; color: #4C6372; }
.tx-ck2 { columns: 2; column-gap: clamp(32px, 5vw, 88px); margin-top: 26px; border-top: 0; }
.tx-ck2 li { break-inside: avoid; border-top: 1px solid #DCE5EA; border-bottom: 0; }

@media (max-width: 1100px) {
  .tx-c5 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .tx-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .tx-bar { grid-template-columns: repeat(5, max-content); overflow-x: auto; scrollbar-width: none; gap: 22px; }
  .tx-bar::-webkit-scrollbar { display: none; }
  .tx-bar button span { display: none; }
  .tx-split, .tx-c3, .tx-steps.tx-s3, .tx-shots { grid-template-columns: 1fr; }
  .tx-ck2 { columns: 1; }
  .tx-c5 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .tx-steps, .tx-c5 { grid-template-columns: 1fr; }
  .tx-top { min-height: 0; }
  .tx-photo { opacity: .55; }
}
@media (prefers-reduced-motion: reduce) {
  .tx-js .tx-panel.is-on { animation: none; }
  .tx-bar button::after { transition: none; }
}
/* phones: the site sets overflow-x hidden on html and body, which makes the body a scroll box and stops the bar of
   the tabs from staying at the top. clip hides the same overflow and keeps the page as the scroll box. */
@media (max-width: 860px) { html, body { overflow-x: clip !important; } }
