/* Sections built from the panel (Nov 11, 2026): pieces in 03, the product tour, integrations, team and getting started.
   Every product picture is a still of the panel in its dark theme (assets/panel/<lang>/c-*.webp, tools/panel-crops.js),
   shown on a dark frame like the other product pieces. */

/* ---------- panel stills ---------- */
.how-shot,.tour-shot{margin:0;border-radius:22px;overflow:hidden;background:#140F15;box-shadow:0 22px 30px -26px rgba(20,15,21,.55),0 0 0 1px rgba(20,15,21,.06)}
.how-shot img,.tour-shot img{width:100%;height:auto}
.how-stack{grid-template-columns:1fr}
.m-shot{width:100%;height:auto}

/* ---------- product tour: one view at a time ---------- */
.tour{margin-top:40px}
.tour-tabs{display:flex;flex-wrap:wrap;gap:8px}
.tour-tab{height:40px;padding:0 16px;border-radius:999px;border:1px solid rgba(20,15,21,.16);background:transparent;color:var(--text);font:500 15px/1 var(--font);cursor:pointer;white-space:nowrap;
  transition:background-color .25s var(--ease),color .25s var(--ease),border-color .25s var(--ease)}
.tour-tab:hover{border-color:rgba(20,15,21,.45)}
.tour-tab.is-on{background:var(--ink);border-color:var(--ink);color:var(--cream)}
.tour-tab:focus-visible{outline:2px solid var(--ink);outline-offset:2px}
.tour-pane{margin-top:28px}
.tour-pane:not([hidden]){animation:tour-in .4s var(--ease) both}
@keyframes tour-in{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}
.tour-text{max-width:46em;margin:0 0 22px;font-size:17px;line-height:1.55;color:var(--text-muted);text-wrap:pretty}
.tour-text b{color:var(--text);font-weight:600}
.tour-shot{max-width:1000px}

/* ---------- integrations ---------- */
.levels{list-style:none;margin:44px 0 0;padding:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.levels li,.start li{display:flex;gap:14px;padding:22px;border-radius:20px;background:var(--cream-2);border:1px solid rgba(20,15,21,.06)}
.lv-n,.st-n{flex:none;display:grid;place-items:center;width:28px;height:28px;border-radius:50%;background:var(--ink);color:var(--cream);font-size:13px;font-weight:600}
.levels h3,.start h3{margin:2px 0 0;font-size:18px;font-weight:600;letter-spacing:-.01em}
.levels p,.start p{margin:8px 0 0;font-size:15px;line-height:1.55;color:var(--text-muted)}
.logos{margin-top:16px;display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:16px}
.lg-group{grid-column:span 2;padding:22px;border-radius:22px;background:var(--ink);color:var(--cream)}
.lg-group:first-child{grid-column:span 4}
.lg-group h3{margin:0 0 14px;font-size:14px;font-weight:500;color:var(--text-inv-muted)}
.lg-group ul{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:8px}
.lg-group li{display:flex;align-items:center;gap:9px;min-height:40px;padding:0 14px 0 11px;border-radius:999px;background:rgba(251,247,242,.07);font-size:14px;font-weight:500;color:var(--text-inv-2)}
.lg-group img{width:20px;height:20px;object-fit:contain;filter:brightness(0) invert(.96)}
.lg-group li.lg-txt{padding-left:14px;color:var(--text-inv-muted);background:transparent;box-shadow:inset 0 0 0 1px var(--line-dark)}
.facts{list-style:none;margin:16px 0 0;padding:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.facts li{padding:22px 0 0;border-top:1px solid rgba(20,15,21,.14)}
.facts b{display:block;font-size:20px;font-weight:600;letter-spacing:-.015em}
.facts span{display:block;margin-top:8px;font-size:15px;line-height:1.55;color:var(--text-muted)}

/* ---------- team ---------- */
.team-stats{list-style:none;margin:40px 0 0;padding:0;display:flex;flex-wrap:wrap;gap:16px 56px}
.team-stats b{display:block;font-size:clamp(40px,4.4vw,60px);line-height:1;font-weight:600;letter-spacing:-.03em}
.team-stats span{display:block;margin-top:8px;font-size:15px;color:var(--text-muted)}
.trust.team-cards{grid-template-columns:repeat(2,minmax(0,1fr));margin-top:36px}
.team-close{margin:28px 0 0;max-width:32em;font-size:clamp(18px,1.5vw,21px);line-height:1.45;font-weight:600;letter-spacing:-.01em;text-wrap:balance}

/* ---------- getting started ---------- */
.start{list-style:none;margin:44px 0 0;padding:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.start li{flex-direction:column;gap:12px}
.start li:last-child{background:var(--ink);color:var(--cream);border-color:var(--ink)}
.start li:last-child p{color:var(--text-inv-muted)}
.start li:last-child .st-n{background:var(--cream);color:var(--ink)}

@media (max-width: 959px){
  .levels,.facts{grid-template-columns:1fr}
  .logos{grid-template-columns:1fr}
  .lg-group,.lg-group:first-child{grid-column:auto}
  .start{grid-template-columns:1fr 1fr}
}
@media (max-width: 719px){
  .tour-tabs{flex-wrap:nowrap;overflow-x:auto;margin:0 -16px;padding:2px 16px 4px;scrollbar-width:none}
  .tour-tabs::-webkit-scrollbar{display:none}
  .tour-tab{height:36px;padding:0 14px;font-size:14px}
  .tour-text{font-size:15px}
  .how-shot,.tour-shot{border-radius:16px}
  .trust.team-cards{grid-template-columns:1fr}
  .start{grid-template-columns:1fr}
  .levels li,.start li{padding:18px}
  .lg-group{padding:18px}
}
@media (prefers-reduced-motion: reduce){ .tour-pane:not([hidden]){animation:none} }

/* phone hero: the panel's anomaly card in two stills (chart, then the likely cause). The card appears, the cat peeks over it and
   asks once, then the cause opens under the chart (js/main.js playCard: is-live, is-alert, coach-1, m-why) */
.m-cat,.m-label{display:none}
@media (max-width: 719px){
  .m-card{position:relative}
  .m-screen{background:#140F15}
  .m-cat{display:block;position:absolute;right:34px;top:-33px;z-index:2;width:60px;height:40px}
  .m-cat .cat-slot{left:0;top:0;right:auto;width:60px;height:40px}
  .m-cat .cat{width:60px}
  .m-card .m-cat .cat-bubble{right:52px;top:-30px}
  .m-shot{display:block;width:100%;height:auto;opacity:.0001;transform:translateY(6px);transition:opacity .5s var(--ease),transform .7s var(--ease-expo)}
  .m-card.is-live .m-shot{opacity:1;transform:none}
  /* the card keeps the height of its top half; when the cat has asked, the stack glides up to the likely cause */
  .m-screen{aspect-ratio:384/454}
  .m-stack{transition:transform 1.1s var(--ease-soft)}
  .m-cause{margin-top:-1px;padding:0 6.77% 6.25%;background:#241923;opacity:.0001;transition:opacity .45s var(--ease) .3s}
  .m-cause img{display:block;width:100%;height:auto}
  .m-card.m-why .m-cause{opacity:1}
  .m-card.m-why .m-stack{transform:translateY(-45.2%)}
  .m-label{display:block;margin:12px 0 0;text-align:center;font-size:13px;color:var(--text-inv-muted)}
}
@media (max-width: 719px) and (prefers-reduced-motion: reduce){ .m-shot,.m-cause{opacity:1;transform:none;transition:none} }

/* every panel still is labelled as sample data */
.how-shot,.tour-shot{position:relative}
.how-shot::after,.tour-shot::after{content:"Sample data";position:absolute;right:12px;bottom:12px;padding:4px 10px;border-radius:999px;background:rgba(20,15,21,.82);
  box-shadow:inset 0 0 0 1px rgba(251,247,242,.14);color:var(--text-inv-2);font-size:12px;font-weight:600;line-height:1.3;pointer-events:none}
:lang(tr) .how-shot::after,:lang(tr) .tour-shot::after{content:"Örnek veri"}

.lg-group li.lg-word{padding:0 16px}
.lg-group li.lg-word img{width:auto;height:18px;max-width:120px;object-fit:contain}
@media (min-width: 720px) and (max-width: 1180px){ .sources li:nth-child(n+6):not(.more){display:none} }
@media (max-width: 719px){ .nav-login{display:none} }
@media (max-width: 719px){
  .m-card{margin-top:76px}
  /* phones show the panel's own phone layout (c-*-m.webp), full width */
  .how-shot img,.tour-shot img{width:100%;height:auto}
}
@media (max-width: 719px){
  /* one still per row (no swipe row around stills that pan themselves) and a hint that they pan */
  .how .how-visuals{display:flex;flex-direction:column;overflow:visible;gap:14px;margin-left:0;margin-right:0;padding-left:0;padding-right:0}
  .how .how-visuals>.how-shot{flex:none;width:100%}
  .how-stack>.how-shot:nth-child(n+2){display:none} /* one still per step on a phone */
}

/* hero source row: the platforms' own logos next to their names (one colour, like the integrations section) */
.sources li{display:flex;align-items:center;gap:8px}
.sources li img{width:18px;height:18px;object-fit:contain;filter:brightness(0) invert(.86)}
.sources li.src-word img{width:auto;height:17px}
@media (min-width: 720px){ .sources{column-gap:24px} }

/* phones: one column of security cards, compact getting-started steps, feature pages without the desktop still on top */
@media (max-width: 719px){
  .trust{grid-template-columns:1fr}
  .trust li{padding:16px}
  .start{gap:8px}
  .start li{display:grid;grid-template-columns:28px 1fr;column-gap:12px;row-gap:4px;padding:14px 16px}
  .start li .st-n{grid-row:1/3}
  .start h3{margin:3px 0 0;font-size:16px}
  .start p{margin:0;font-size:14px}
  .levels{gap:8px}
  .levels li{padding:14px 16px}
  .show{gap:56px;margin-top:36px}
  .show-text ul{display:none}
}
@media (max-width: 719px) and (prefers-reduced-motion: reduce){ .m-stack{transition:none} }

/* logos (Ceren's audit, Nov 11, 2026): wordmarks set to one optical size, Microsoft as its mark like the other icons */
.lg-group li.lg-word img{max-width:none}
.lg-group li.lg-word img.lg-criteo{height:17px}
.lg-group li.lg-word img.lg-taboola{height:16px}
.lg-group li.lg-word img.lg-rtb{height:14px}
.lg-group li.lg-word img.lg-appnext{height:17px}
.lg-group img[src$="microsoft.svg"]{width:17px;height:17px}
