/* ═══════════════════════════════════════════════════════════════════
   Product pages — recorded system screens and the model benchmark.
   Loaded after sub.css; uses its tokens only. First used on
   /lt/pirkimo-saskaitu-agentas/.
   ═══════════════════════════════════════════════════════════════════ */

/* ═══ HERO with a screen instead of an object still ═══ */
.hero--sub .hero__grid--screen{ grid-template-columns:1fr 1.12fr; align-items:center; }
/* the screen takes more width than an object still, so the headline steps down a size */
.hero__grid--screen h1.disp-lg{ font-size:clamp(40px,4.4vw,64px); }

/* ═══ SCREEN — a recorded clip of the real app in a graphite bezel ═══ */
.screen{ position:relative; margin:0; }
.screen__frame{
  background:var(--graphite); border-radius:var(--r-card);
  padding:clamp(6px,.8vw,10px);
  box-shadow:0 1px 0 rgba(255,255,255,.06) inset;
}
.slab--canvas .screen__frame, .hero--sub .screen__frame{ background:var(--carbon); }
.screen video, .screen img{
  display:block; width:100%; height:auto; aspect-ratio:16/10;
  border-radius:calc(var(--r-card) - 10px); background:var(--mist);
}

/* a clip with its explanation beside it */
.shot{
  display:grid; grid-template-columns:1.55fr 1fr;
  gap:clamp(28px,4vw,56px); align-items:start;
  margin-top:clamp(56px,7vw,96px);
}
.shot--flip{ grid-template-columns:1fr 1.55fr; }
.shot--flip .screen{ order:2; }
.shot__copy h3{
  font-weight:600; font-stretch:80%; font-size:clamp(26px,2.6vw,34px);
  line-height:1; letter-spacing:-0.02em; text-wrap:balance;
}
.shot__copy p{ margin-top:16px; font-size:16px; line-height:1.4; color:rgba(255,255,255,.76); max-width:46ch; }
.shot__copy ul{ margin-top:18px; list-style:none; display:grid; gap:10px; }
.shot__copy li{
  font-size:14px; line-height:1.35; color:rgba(255,255,255,.82);
  padding-left:18px; position:relative; max-width:46ch;
}
.shot__copy li::before{
  content:""; position:absolute; left:0; top:.5em; width:7px; height:7px; border-radius:2px; background:var(--mint);
}

/* ═══ BENCH — model comparison table with in-cell marks ═══ */
.bench{ margin-top:clamp(32px,4vw,48px); }
.bench__tools{
  display:flex; align-items:center; gap:8px; flex-wrap:wrap; margin-bottom:14px;
  font-family:var(--mono); font-size:11px; letter-spacing:.06em; text-transform:uppercase; color:var(--ink2);
}
.bench__tools button{
  font:inherit; letter-spacing:inherit; text-transform:inherit;
  background:var(--mist); color:var(--carbon); border:0; border-radius:var(--r-pill);
  padding:7px 12px; cursor:pointer;
}
.bench__tools button[aria-pressed="true"]{ background:var(--carbon); color:var(--paper); }
.bench table{ width:100%; border-collapse:separate; border-spacing:0 4px; font-size:14px; line-height:1.3; }
.bench caption{ text-align:left; }
.bench th, .bench td{ text-align:left; padding:12px 14px; vertical-align:middle; }
.bench thead th{
  font-family:var(--mono); font-size:11px; font-weight:500; letter-spacing:.06em; text-transform:uppercase;
  color:var(--ink2); padding-block:6px; vertical-align:bottom;
}
.bench thead th:nth-child(3){ width:14%; }
.bench thead th:nth-child(4){ width:20%; }
.bench thead small{ display:block; text-transform:none; letter-spacing:0; margin-top:4px; color:var(--smoke); }
.bench tbody tr > *{ background:var(--mist); }
.bench tbody tr > :first-child{ border-radius:12px 0 0 12px; }
.bench tbody tr > :last-child{ border-radius:0 12px 12px 0; }
.bench tbody tr.is-pick > *{ background:var(--mint); }
.bench tbody th{ font-weight:500; white-space:nowrap; }
.bench__vendor{ display:block; font-family:var(--mono); font-size:11px; font-weight:400; color:var(--ink2); margin-top:3px; }
.bench__pick{ display:block; font-size:12px; font-weight:400; color:var(--slate); margin-top:4px; white-space:normal; max-width:24ch; }

/* accuracy: the count passed, beside a 0–100 % bar (.share) */
.acc__n{ font-family:var(--mono); font-size:13px; white-space:nowrap; }
.acc__n small{ display:block; font-size:11px; color:var(--ink2); }

/* price: the amount itself, no scale */
.price{ font-family:var(--mono); font-size:15px; white-space:nowrap; }
.time__v{ font-family:var(--mono); font-size:13px; white-space:nowrap; width:64px; flex:none; text-align:right; }

/* time: a bar 0–50 s */
.time{ display:flex; align-items:center; gap:12px; }
.time__track{ flex:1 1 90px; min-width:70px; height:6px; border-radius:3px; background:var(--paper); }
.is-pick .time__track{ background:rgba(255,255,255,.6); }
.time__bar{ display:block; height:100%; border-radius:3px; background:var(--carbon); }

/* share: a bar 0–100 % (the larger run, where 17 cells would not fit) */
.share{ display:flex; align-items:center; gap:12px; }
.share__track{ flex:1 1 90px; min-width:70px; height:6px; border-radius:3px; background:var(--paper); }
.share__bar{ display:block; height:100%; border-radius:3px; background:var(--carbon); }

/* wrong bookings: state with an icon and a word, never colour alone */
.wrong{ font-family:var(--mono); font-size:12px; white-space:nowrap; }
.wrong--yes{ background:var(--volt); padding:3px 8px; border-radius:5px; }
.wrong--no{ color:var(--ink2); }
.wrong__why{ display:block; margin-top:6px; font-family:var(--mono); font-size:11px; line-height:1.35; color:var(--ink2); white-space:normal; }

.bench__note{ margin-top:16px; font-size:13px; line-height:1.45; color:var(--ink2); max-width:90ch; }

@media (max-width:1080px){
  .shot, .shot--flip{ grid-template-columns:1fr; }
  .shot--flip .screen{ order:0; }
  .hero--sub .hero__grid--screen{ grid-template-columns:1fr; }
}
/* below the full table's width each model becomes a card and the column names move into the cells:
   two cells a row on tablets, one on phones */
@media (max-width:1100px){
  .bench thead{ position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0 0 0 0); }
  .bench table, .bench tbody, .bench th, .bench td{ display:block; }
  .bench table{ border-spacing:0; }
  .bench tbody tr{
    display:grid; grid-template-columns:1fr 1fr; column-gap:8px;
    border-radius:16px; overflow:hidden; margin-bottom:8px; background:var(--mist);
  }
  .bench tbody th{ grid-column:1 / -1; }
  .bench tbody tr > :nth-last-child(2){ padding-bottom:14px; }
  .bench tbody tr.is-pick{ background:var(--mint); }
  .bench tbody tr > *{ border-radius:0!important; padding:6px 16px; }
  .bench tbody th{ padding-top:14px; white-space:normal; }
  .bench tbody tr > :last-child{ padding-bottom:14px; }
  .bench td::before{
    content:attr(data-label); display:block; margin-bottom:4px;
    font-family:var(--mono); font-size:10px; letter-spacing:.06em; text-transform:uppercase; color:var(--ink2);
  }
}
@media (max-width:640px){
  .bench tbody tr{ grid-template-columns:1fr; }
  .bench tbody tr > :nth-last-child(2){ padding-bottom:6px; }
}
