/* ==========================================================================
   VADR landing · section 02 "What the store gets"
   1. Section + heading   2. Tabs + panel (same grid as section 01)   3. Try-on wipe
   4. Size panel   5. Dashboard   6. Phones
   Reuses the tokens, .shop__bar, .shop__rec and .mock__* from css/how.css
   ========================================================================== */

/* 1. Section + heading ------------------------------------------------------ */
/* no top padding: section 01 already ends with a quarter screen of space for its last step */
.gets { position: relative; padding: 0 var(--gutter) clamp(140px, 18vh, 220px); background: var(--ink); }
.gets__head { max-width: 1280px; margin: 0 auto clamp(40px, 7vh, 80px); }
.gets h2 {
  max-width: 14ch;
  font-size: clamp(36px, 4.6vw, 80px); font-weight: 600; line-height: 1; letter-spacing: -.04em;
}
.gets h2 em {
  font-style: normal;
  background: linear-gradient(100deg, #FFE1B0 0%, var(--amber-1) 40%, var(--amber-2) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.gets__head > p { margin-top: 20px; max-width: 520px; color: var(--muted); font-size: clamp(15px, 1.15vw, 18px); line-height: 1.55; }

/* 2. Tabs + panel ------------------------------------------------------------ */
/* same columns, gap and right-hand shift as .how-b, so the panel sits right under the product page */
.gets-b {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 96px); align-items: center;
  max-width: 1280px; margin: 0 auto;
  opacity: 0; transform: translateY(28px); transition: opacity .8s, transform .9s cubic-bezier(.2, .8, .2, 1);
}
.gets-b.is-in { opacity: 1; transform: none; }
.gets-b__tabs { list-style: none; }
/* each tab has a hairline under it, which fills gold left to right as the timer */
.gets-b__tab {
  position: relative; display: block; width: 100%; padding: clamp(20px, 3vh, 34px) 0;
  text-align: left; font: inherit; color: inherit; background: none; border: 0; border-bottom: 1px solid var(--line); cursor: pointer;
  opacity: .32; transition: opacity .5s;
}
.gets-b__tab:hover, .gets-b__tab.is-on { opacity: 1; }
.gets-b__tab::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px;
  background: var(--amber-1); transform: scaleX(0); transform-origin: left;
}
.gets-b.is-in .gets-b__tab.is-on::after { animation: gets-fill 6s linear forwards; }
@keyframes gets-fill { to { transform: scaleX(1); } }
.gets__num { display: block; margin-bottom: 14px; font-family: var(--mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--amber-1); }
.gets h3 { font-size: clamp(26px, 2.4vw, 40px); font-weight: 600; letter-spacing: -.02em; line-height: 1.1; }
/* only the open tab shows its line of text */
.gets-b__tab p {
  max-width: 420px; max-height: 0; margin-top: 0; overflow: hidden; opacity: 0;
  color: var(--muted); font-size: clamp(15px, 1.15vw, 18px); line-height: 1.55;
  transition: max-height .5s, margin-top .5s, opacity .4s;
}
.gets-b__tab.is-on p { max-height: 140px; margin-top: 10px; opacity: 1; transition-delay: 0s, 0s, .15s; }

/* as tall as the section 01 product page: its bar (34px) + a 4:5 photo across 1.1/2.1 of the width */
.gets-b__stage {
  --shift: clamp(0px, calc((100vw - 1280px) / 2 - 48px), 120px);
  display: grid; margin: 0 calc(-1 * var(--shift)) 0 var(--shift); container-type: inline-size;
}
.gets-b__pane {
  grid-area: 1 / 1; min-width: 0; height: calc(34px + 65.476cqw);
  opacity: 0; transform: translateY(14px) scale(.985); pointer-events: none;
  transition: opacity .55s, transform .7s cubic-bezier(.2, .8, .2, 1);
}
.gets-b__pane.is-on { opacity: 1; transform: none; pointer-events: auto; }
.gets__mock {
  position: relative; height: 100%; overflow: hidden; border-radius: 18px; background: var(--paper); color: #111827;
  box-shadow: 0 40px 100px rgba(0, 0, 0, .5), 0 0 0 1px rgba(255, 255, 255, .06);
}

/* 3. Try-on wipe: his photo, then a line sweeps across and he's wearing it --- */
.gets__try { background: linear-gradient(180deg, #e9ecf1, #dfe3ea); }
.gets__try img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 8%; }
.gets__try .is-after { clip-path: inset(0 100% 0 0); animation: gets-after 7s cubic-bezier(.6, 0, .3, 1) infinite; }
.gets__wipe {
  position: absolute; top: 0; bottom: 0; left: 0; width: 2px; margin-left: -1px;
  background: var(--amber-1); box-shadow: 0 0 18px rgba(255, 198, 118, .9);
  animation: gets-wipe 7s cubic-bezier(.6, 0, .3, 1) infinite;
}
@keyframes gets-after { 0%, 14% { clip-path: inset(0 100% 0 0); } 44%, 82% { clip-path: inset(0 0 0 0); } 96%, 100% { clip-path: inset(0 100% 0 0); } }
@keyframes gets-wipe { 0%, 14% { left: 0; opacity: 0; } 18% { opacity: 1; } 40% { opacity: 1; } 44%, 82% { left: 100%; opacity: 0; } 86% { opacity: 1; } 96%, 100% { left: 0; opacity: 0; } }
.gets__chip {
  position: absolute; left: 12px; top: 12px; padding: 5px 9px; border-radius: 999px;
  background: rgba(11, 18, 32, .78); color: #fff; font-family: var(--mono); font-size: 10px; letter-spacing: .03em;
  animation: gets-chip-a 7s infinite;
}
.gets__chip--after { background: var(--navy); animation-name: gets-chip-b; }
@keyframes gets-chip-a { 0%, 30% { opacity: 1; } 36%, 88% { opacity: 0; } 94%, 100% { opacity: 1; } }
@keyframes gets-chip-b { 0%, 34% { opacity: 0; } 40%, 84% { opacity: 1; } 90%, 100% { opacity: 0; } }

/* 4. Size panel --------------------------------------------------------------- */
.gets__size { display: grid; place-items: center; padding: 6%; }
.gets__panel { width: min(100%, 440px); padding: clamp(16px, 1.6vw, 24px); border-radius: 14px; background: #fff; box-shadow: 0 18px 40px rgba(11, 18, 32, .1); }
.gets__panelhead { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.gets__size .shop__rec { opacity: 0; transform: translateY(4px); transition: opacity .5s .6s, transform .5s .6s; }
.gets__size.is-sized .shop__rec { opacity: 1; transform: none; }
.gets__fit { list-style: none; display: grid; gap: 12px; margin-top: 20px; }
.gets__fit li { display: grid; grid-template-columns: 76px 1fr 72px; align-items: center; gap: 10px; font-size: 12px; color: #4b5563; }
/* the track: the middle band is "fits well", the dot lands on the shopper */
.gets__fit b {
  position: relative; height: 6px; border-radius: 99px;
  background: linear-gradient(90deg, #e5e7eb 0 30%, rgba(79, 116, 143, .35) 30% 70%, #e5e7eb 70%);
}
.gets__fit b::after {
  content: ""; position: absolute; top: 50%; left: 0; width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%;
  background: var(--navy); box-shadow: 0 0 0 3px #fff, 0 2px 6px rgba(1, 55, 99, .35);
  transition: left 1.1s cubic-bezier(.2, .8, .2, 1) .5s;
}
.gets__size.is-sized .gets__fit b::after { left: var(--at); }
.gets__fit em { font-style: normal; font-weight: 600; color: var(--navy); text-align: right; opacity: 0; transition: opacity .4s 1.3s; }
.gets__size.is-sized .gets__fit em { opacity: 1; }
.gets__note { display: block; margin-top: 18px; font-family: var(--mono); font-size: 10px; color: var(--steel); }

/* 5. Dashboard ---------------------------------------------------------------- */
.gets__dash { display: flex; flex-direction: column; }
.gets__dash .shop__bar span { flex: 1; }
.gets__example { font-style: normal; padding: 3px 8px; border-radius: 999px; background: rgba(247, 169, 86, .18); color: #9a5b12; font-size: 10px; }
.gets__kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-bottom: 1px solid #e5e7eb; }
.gets__kpis div { display: flex; flex-direction: column; justify-content: space-between; padding: clamp(14px, 1.6vw, 22px); }
.gets__kpis div + div { border-left: 1px solid #e5e7eb; }
.gets__kpis strong { display: block; margin-top: 8px; font-size: clamp(24px, 2.4vw, 38px); font-weight: 600; letter-spacing: -.03em; color: var(--navy); font-variant-numeric: tabular-nums; }
.gets__charts { flex: 1; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-content: center; gap: clamp(16px, 2vw, 32px); padding: clamp(14px, 1.6vw, 22px); }
.gets__bars, .gets__top { list-style: none; display: grid; gap: 10px; margin-top: 14px; }
.gets__bars li { display: grid; grid-template-columns: 26px 1fr 38px; align-items: center; gap: 10px; font-size: 12px; font-weight: 600; color: #374151; }
.gets__top li { display: grid; grid-template-columns: 30px 70px 1fr 34px; align-items: center; gap: 10px; font-size: 12px; color: #374151; }
.gets__top img { width: 30px; height: 30px; object-fit: contain; border-radius: 7px; background: #eef0f4; padding: 3px; }
.gets__bars b, .gets__top b { position: relative; height: 8px; border-radius: 99px; background: #eceef2; overflow: hidden; }
.gets__bars b::after, .gets__top b::after {
  content: ""; position: absolute; inset: 0 auto 0 0; width: 0; border-radius: inherit; background: var(--steel);
  transition: width 1.2s cubic-bezier(.2, .8, .2, 1);
}
.gets__bars li:nth-child(2) b::after { background: var(--navy); }
.is-in .gets__bars b::after, .is-in .gets__top b::after { width: var(--w); }
.gets__bars li:nth-child(2) b::after, .gets__top li:nth-child(2) b::after { transition-delay: .1s; }
.gets__bars li:nth-child(3) b::after, .gets__top li:nth-child(3) b::after { transition-delay: .2s; }
.gets__bars li:nth-child(4) b::after { transition-delay: .3s; }
.gets__bars em, .gets__top em { font-style: normal; text-align: right; color: #6b7280; font-variant-numeric: tabular-nums; }

/* 6. Phones ------------------------------------------------------------------- */
@media (max-width: 900px) {
  .gets-b { grid-template-columns: 1fr; gap: 12px; }
  .gets-b__tab { padding: 16px 0; }
  .gets h3 { font-size: 22px; }
  .gets-b__pane { height: auto; }
  .gets__try { height: auto; aspect-ratio: 4 / 5; }
  .gets__size { padding: 24px 14px; }
  .gets__kpis div { padding: 12px 10px; }
  .gets__kpis strong { font-size: 22px; }
  .gets__kpis .mock__label { font-size: 9px; }
  .gets__charts { grid-template-columns: 1fr; }
  .gets__dash .shop__bar span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
}
