/* ZingBills — product imagery: phone frames, the home tour, and the /product
   deep-dive. Uses the same tokens as main.css; adds no overrides to existing
   element styles. */

/* ---------- phone frame ---------- */
.phone{
  position:relative;width:100%;max-width:296px;margin:0 auto;
  background:linear-gradient(160deg,#1F2937,#0B1120);
  border-radius:40px;padding:9px;
  box-shadow:0 34px 80px rgba(42,26,114,.28),0 2px 0 rgba(255,255,255,.5) inset;
}
.phone::after{ /* earpiece bar */
  content:"";position:absolute;top:20px;left:50%;transform:translateX(-50%);
  width:74px;height:5px;border-radius:99px;background:rgba(255,255,255,.22);z-index:2;
}
.phone img{
  display:block;width:100%;height:auto;border-radius:32px;
  background:var(--wash);
}
.phone.sm{max-width:216px;border-radius:32px;padding:7px}
.phone.sm img{border-radius:26px}
.phone.sm::after{width:54px;height:4px;top:15px}

/* ---------- TV display frame for KDS ---------- */
.tv-frame{
  position:relative;width:100%;max-width:440px;margin:0 auto;
  background:#0B1120;border:5px solid #1F2937;
  border-radius:18px;padding:6px;
  box-shadow:0 30px 70px rgba(15,23,42,.35),0 2px 0 rgba(255,255,255,.1) inset;
}
.tv-frame img{
  display:block;width:100%;height:auto;border-radius:10px;
  aspect-ratio:16/9;object-fit:cover;background:#030712;
}
.tv-frame::after{
  content:"";display:block;width:80px;height:5px;margin:6px auto 0;
  background:#374151;border-radius:0 0 3px 3px;
}
.tour-shot .tv-frame{max-width:460px}
.flow-shots.kds{flex-direction:column;max-width:420px}
.flow-shots.kds .tv-frame{width:100%}
.flow-shots.kds .phone.sm{margin-top:-30px;z-index:2;transform:translateX(50px);box-shadow:0 24px 60px rgba(0,0,0,.4)}
@media(max-width:900px){
  .tour-shot .tv-frame{max-width:100%}
  .flow-shots.kds .phone.sm{transform:none;margin-top:10px}
}

/* Hero: the frame sits inside the existing .device perspective wrapper. */
.hero .phone{max-width:286px;transform:rotateY(-9deg) rotateX(4deg);transition:transform 1s var(--ease)}
.hero .device:hover .phone{transform:rotateY(0) rotateX(0)}
@media(max-width:900px){.hero .phone{transform:none;max-width:262px}}

/* ---------- provenance note ---------- */
.shotnote{
  display:inline-flex;align-items:center;gap:9px;margin-top:18px;
  font-family:'JetBrains Mono',monospace;font-size:11px;letter-spacing:.06em;
  color:var(--ink-2);background:var(--wash);border:1px solid var(--line);
  padding:8px 14px;border-radius:999px;
}
.shotnote b{color:var(--violet);font-weight:600}

/* ---------- home tour: alternating rows ---------- */
.tour{display:flex;flex-direction:column;gap:96px;margin-top:64px}
.tour-row{display:grid;grid-template-columns:1fr 1fr;gap:64px;align-items:center}
.tour-row:nth-child(even) .tour-shot{order:2}
.tour-shot{display:flex;justify-content:center}
.tour-copy .eyebrow{margin-bottom:14px}
.tour-copy h3{font-size:clamp(24px,2.6vw,31px);font-weight:700;margin-bottom:14px;letter-spacing:-.02em}
.tour-copy p{color:var(--ink-2);font-size:16.5px;margin-bottom:18px}
.tour-gain{
  display:flex;gap:13px;align-items:flex-start;
  border-left:3px solid var(--lime);background:var(--wash);
  padding:15px 18px;border-radius:0 12px 12px 0;
}
.tour-gain b{display:block;font-size:13px;letter-spacing:.02em;color:var(--violet-dk);margin-bottom:3px}
.tour-gain p{margin:0;font-size:14.5px;color:var(--ink-2)}
.tour-shot .phone{max-width:268px}
@media(max-width:900px){
  .tour{gap:64px}
  .tour-row{grid-template-columns:1fr;gap:32px}
  .tour-row:nth-child(even) .tour-shot{order:0}
}

/* ---------- screenshot strip ---------- */
.strip{
  display:grid;grid-auto-flow:column;grid-auto-columns:216px;gap:26px;
  overflow-x:auto;padding:8px 4px 26px;scroll-snap-type:x mandatory;
  scrollbar-width:thin;
}
.strip::-webkit-scrollbar{height:7px}
.strip::-webkit-scrollbar-thumb{background:#D9D3F5;border-radius:99px}
.strip figure{scroll-snap-align:center}
.strip figcaption{
  margin-top:14px;text-align:center;font-size:13.5px;font-weight:600;color:var(--ink-2);
}

/* ---------- /product: module cards ---------- */
.mod-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:26px;margin-top:44px}
.mod{
  border:1px solid var(--line);border-radius:var(--radius);background:#fff;padding:30px;
  display:grid;grid-template-columns:auto 1fr;gap:22px;align-items:start;
  transition:.4s var(--ease);
}
.mod:hover{border-color:#C7B9FF;box-shadow:0 22px 50px rgba(42,26,114,.1);transform:translateY(-3px)}
.mod .ic{
  width:52px;height:52px;border-radius:14px;font-size:24px;
  background:linear-gradient(135deg,var(--wash),#E9E4FF);display:grid;place-items:center;
}
.mod h3{font-size:19px;font-weight:600;margin-bottom:7px}
.mod p{font-size:14.5px;color:var(--ink-2)}
@media(max-width:820px){.mod-grid{grid-template-columns:1fr}}

/* ---------- /product: workflow blocks ---------- */
.flow{display:flex;flex-direction:column;gap:80px;margin-top:56px}
.flow-block{display:grid;grid-template-columns:1fr 1fr;gap:56px;align-items:center}
.flow-block:nth-child(even) .flow-shots{order:2}
.flow-shots{display:flex;gap:20px;justify-content:center;align-items:center}
.flow-shots .phone.sm:nth-child(2){transform:translateY(26px)}
.flow-copy h2{font-size:clamp(25px,2.8vw,33px);font-weight:700;margin-bottom:16px;letter-spacing:-.02em}
.flow-copy>p{color:var(--ink-2);font-size:16.5px;margin-bottom:20px}
@media(max-width:900px){
  .flow{gap:60px}
  .flow-block{grid-template-columns:1fr;gap:34px}
  .flow-block:nth-child(even) .flow-shots{order:0}
  .flow-shots .phone.sm:nth-child(2){transform:none}
}
/* A pair of 216px frames overflows a phone viewport, so shrink them to fit
   rather than letting the page scroll sideways. */
@media(max-width:560px){
  .flow-shots{gap:13px}
  .flow-shots .phone.sm{max-width:154px;border-radius:24px;padding:5px}
  .flow-shots .phone.sm img{border-radius:20px}
  .flow-shots .phone.sm::after{width:38px;height:3px;top:11px}
}

/* ---------- honesty band ---------- */
.honest{
  border:1px solid var(--line);border-radius:var(--radius);background:#fff;
  padding:38px 40px;display:grid;grid-template-columns:auto 1fr;gap:26px;align-items:start;
}
.honest .ic{
  width:56px;height:56px;border-radius:16px;font-size:26px;
  background:linear-gradient(135deg,var(--wash),#E9E4FF);display:grid;place-items:center;
}
.honest h3{font-size:21px;font-weight:600;margin-bottom:10px}
.honest p{color:var(--ink-2);font-size:15.5px;margin-bottom:10px}
.honest p:last-child{margin-bottom:0}
@media(max-width:620px){.honest{grid-template-columns:1fr;padding:28px 24px}}
