/* PRODUCT family (features): the product is the hero.
   Full-bleed aubergine band with the product rising out of it, a Before / During / After spine, a sticky area index.
   Accent: violet #5C1FD2 / lilac #9D7BFF. Everything scoped under .t-product. */
.t-product{--pv:#5C1FD2;--pl:#9D7BFF;--ptint:#F8F7FA;--ptint2:#F4F3F7;--gut:clamp(16px,4vw,48px);--sink:clamp(150px,22vw,330px)}

/* ---------- hero band ---------- */
.t-product .pband{position:relative;padding:clamp(56px,7vw,104px) 0 0;color:#fff;isolation:isolate;
  background:
    radial-gradient(55% 70% at 88% 0%,rgba(157,123,255,.24),transparent 62%),
    radial-gradient(45% 60% at 0% 90%,rgba(91,33,182,.38),transparent 62%),
    linear-gradient(165deg,var(--au1),var(--au2) 55%,var(--au3));
  background-size:100% calc(100% - var(--sink));background-repeat:no-repeat}
/* faint product grid on the band */
.t-product .pband::before{content:"";position:absolute;inset:0 0 var(--sink) 0;z-index:-1;pointer-events:none;
  background-image:linear-gradient(rgba(255,255,255,.045) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.045) 1px,transparent 1px);
  background-size:56px 56px;-webkit-mask-image:linear-gradient(180deg,#000,transparent 85%);mask-image:linear-gradient(180deg,#000,transparent 85%)}
.t-product .pb-txt{display:flex;flex-direction:column;gap:18px;max-width:1100px}
.t-product .pband .kick{color:var(--pl);margin:0}
.t-product .pband h1{font:600 clamp(36px,4.3vw,62px)/1.06 var(--display);letter-spacing:-.035em;color:#fff;text-wrap:pretty}
.t-product .pband .lead{font-size:clamp(18px,1.5vw,20px);line-height:1.55;max-width:58ch;color:rgba(255,255,255,.74)}
.t-product .pb-row{display:flex;flex-wrap:wrap;align-items:center;gap:18px clamp(24px,4vw,48px);margin-top:6px}
.t-product .pb-row .ctas{margin:0}
.t-product .capline{display:flex;align-items:center;gap:12px;margin:0;color:rgba(255,255,255,.74);font-size:15px;line-height:1.35;
  padding-left:clamp(0px,2vw,24px);border-left:1px solid rgba(255,255,255,.16)}
.t-product .capline b{font:600 32px/1 var(--display);letter-spacing:-.02em;color:var(--pl)}
.t-product .capline span{max-width:22ch}
/* the product rising out of the band */
.t-product .rise{position:relative;margin-top:clamp(44px,5vw,72px);padding-right:clamp(0px,9vw,140px)}
.t-product .rise .pnl{box-shadow:0 0 0 1px rgba(25,18,41,.06),0 50px 90px -40px rgba(25,18,41,.55)}
.t-product .rise-main{border-radius:16px}
.t-product .rise-phone{position:absolute;right:0;top:14%;width:19%;border-radius:28px;border:6px solid #191229}
@media (max-width:760px){
  .t-product{--sink:clamp(110px,34vw,170px)}
  .t-product .rise{padding-right:0}
  .t-product .rise-phone{display:none}
  .t-product .capline{border-left:0;padding-left:0}
}

/* ---------- Before / During / After spine ---------- */
.t-product .spine{padding:clamp(72px,9vw,128px) 0 clamp(64px,8vw,112px)}
.t-product .track{position:relative;--rail:56px}
.t-product .track::before{content:"";position:absolute;left:calc(var(--rail)/2 - 1px);top:22px;bottom:40px;width:2px;border-radius:2px;
  background:linear-gradient(180deg,var(--pv),var(--pl) 70%,rgba(157,123,255,.2))}
.t-product .beat{position:relative;display:grid;grid-template-columns:var(--rail) minmax(0,.82fr) minmax(0,1.18fr);gap:0 clamp(24px,4vw,56px);align-items:start}
.t-product .beat+.beat{margin-top:clamp(72px,9vw,120px)}
.t-product .beat.minor{margin-top:clamp(56px,7vw,96px)}
.t-product .node{grid-column:1;justify-self:center;position:relative;z-index:1}
.t-product .major .node{width:44px;height:44px;border-radius:50%;background:var(--fg);display:grid;place-items:center;box-shadow:0 0 0 6px var(--page)}
.t-product .major .node span{font:600 14px/1 var(--sans);color:#fff;letter-spacing:.02em}
.t-product .live .node{background:var(--pv)}
.t-product .live .node::after{content:"";position:absolute;inset:-6px;border-radius:50%;box-shadow:0 0 0 2px var(--pl);opacity:.7}
.t-product .minor .node{width:16px;height:16px;margin-top:2px;border-radius:50%;background:var(--page);box-shadow:inset 0 0 0 3px var(--pv),0 0 0 6px var(--page)}
.t-product .bt{grid-column:2;padding-top:4px}
.t-product .phase{font:600 22px/1 var(--display);letter-spacing:-.015em;color:var(--pv);margin:6px 0 18px}
.t-product .minor .kick{margin:2px 0 14px}
.t-product .tray{grid-column:3;position:relative;border-radius:24px;padding:clamp(18px,2.6vw,32px);
  background:radial-gradient(70% 80% at 100% 0%,rgba(157,123,255,.55),transparent 60%),linear-gradient(160deg,var(--ptint),var(--ptint2));
  box-shadow:inset 0 0 0 1px rgba(91,33,182,.08)}
.t-product .tray .pnl{box-shadow:0 0 0 1px rgba(25,18,41,.06),0 24px 48px -24px rgba(25,18,41,.35)}
.t-product .lay-over{position:absolute}
.t-product .lay-phone{border-radius:24px;border:5px solid #191229}
.t-product .kia{width:72%;margin-inline:auto}
.t-product .tchip{display:flex;align-items:center;gap:10px;font-size:14px;font-weight:500;color:var(--fg);margin:0 0 16px}
.t-product .tchip img{width:30px;height:30px;border-radius:9px;background:#fff;box-shadow:0 0 0 1px rgba(25,18,41,.08)}
.t-product .tchip em{font-style:normal;color:var(--pv)}
.t-product .book>.pnl:not(.lay-over){width:72%}
@media (max-width:920px){
  .t-product .track{--rail:32px}
  .t-product .track::before{top:16px}
  .t-product .beat{grid-template-columns:var(--rail) minmax(0,1fr);gap:0 18px}
  .t-product .major .node{width:32px;height:32px;box-shadow:0 0 0 5px var(--page)}
  .t-product .major .node span{font-size:12px}
  .t-product .minor .node{width:14px;height:14px}
  .t-product .bt,.t-product .tray{grid-column:2}
  .t-product .tray{margin-top:28px}
  .t-product .phase{margin-top:4px}
}
@media (max-width:760px){
  .t-product .lay-over{position:static;width:100%!important;margin-top:12px}
  .t-product .lay-phone{display:none}
  .t-product .book>.pnl:not(.lay-over),.t-product .kia{width:100%}
}
/* the spine fills as you read (progressive; static line without support or with reduced motion) */
@supports (animation-timeline:view()){
  @media (prefers-reduced-motion:no-preference){
    .t-product .track::after{content:"";position:absolute;left:calc(var(--rail)/2 - 1px);top:22px;bottom:40px;width:2px;border-radius:2px;background:var(--fg);
      transform-origin:top;transform:scaleY(0);animation:p-fill linear both;animation-timeline:view();animation-range:entry 40% exit 30%}
    @keyframes p-fill{to{transform:scaleY(1)}}
  }
}

/* ---------- feature directory with sticky area index ---------- */
.t-product .dir-head .body{max-width:62ch}
.t-product .dir-grid{display:grid;grid-template-columns:260px minmax(0,1fr);gap:clamp(24px,4vw,56px);align-items:start;margin-top:clamp(40px,5vw,64px)}
.t-product .aidx{position:sticky;top:96px;max-height:calc(100vh - 120px);overflow:auto;padding:8px 0 8px 0;border-left:2px solid var(--hl)}
.t-product .aidx ol{position:relative;list-style:none;margin:0;padding:0;display:flex;flex-direction:column}
.t-product .aidx a{display:flex;justify-content:space-between;align-items:baseline;gap:12px;padding:7px 12px 7px 18px;margin-left:-2px;border-left:2px solid transparent;
  text-decoration:none;font-size:14.5px;line-height:1.35;color:var(--muted);transition:color .15s,border-color .15s}
.t-product .aidx a b{font:600 12px/1 var(--sans);color:var(--muted2);font-variant-numeric:tabular-nums}
.t-product .aidx a:hover{color:var(--fg)}
.t-product .aidx a[aria-current]{color:var(--fg);font-weight:600;border-left-color:var(--pv)}
.t-product .aidx a[aria-current] b{color:var(--pv)}
.t-product .areas{columns:auto;display:flex;flex-direction:column;gap:16px;margin-top:0}
.t-product .area{margin:0;padding:clamp(20px,2.4vw,28px) clamp(20px,2.6vw,32px) clamp(16px,2vw,24px)}
.t-product .area ul{columns:2 240px;column-gap:32px}
.t-product .area li{break-inside:avoid}
.t-product .area{scroll-margin-top:96px;background:var(--page);box-shadow:none;border:1px solid var(--border)}
.t-product .area h3 small{font:600 12px/1 var(--sans);color:var(--pv);background:var(--ptint);padding:6px 10px;border-radius:9999px;white-space:nowrap}
.t-product .area li{border-top-color:var(--border)}
.t-product .nw{white-space:nowrap}
@media (max-width:920px){
  .t-product .dir-grid{grid-template-columns:minmax(0,1fr);gap:20px}
  .t-product .aidx{top:68px;z-index:5;max-height:none;overflow:visible;border-left:0;background:rgba(255,255,255,.94);
    -webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);margin-inline:calc(var(--gut)*-1);padding:10px 0;border-bottom:1px solid var(--border)}
  .t-product .aidx ol{flex-direction:row;overflow-x:auto;gap:8px;padding-inline:var(--gut);scrollbar-width:none}
  .t-product .aidx ol::-webkit-scrollbar{display:none}
  .t-product .aidx a{white-space:nowrap;margin:0;border:0;border-radius:9999px;padding:8px 14px;background:var(--page);box-shadow:inset 0 0 0 1px var(--border);color:var(--fg2)}
  .t-product .aidx a[aria-current]{background:var(--fg);color:#fff;box-shadow:none}
  .t-product .aidx a[aria-current] b{color:var(--pl)}
  .t-product .area{scroll-margin-top:140px}
}
.t-product .rise-main img{aspect-ratio:1400/866;object-fit:cover;object-position:top}
/* Figma polish 10-14: white framed screenshot cards with a caption row replace the lilac trays */
.t-product .journey{padding-block:clamp(56px,7vw,96px) 0}
.t-product .journey .body{max-width:62ch}
.t-product .shot{margin:0;background:#fff;border-radius:22px;padding:22px 22px 0;box-shadow:var(--shadow-card),0 0 0 1px rgba(25,18,41,.06)}
.t-product .shot-img{border-radius:12px;overflow:hidden;background:var(--page);aspect-ratio:16/10;box-shadow:0 0 0 1px rgba(25,18,41,.05)}
.t-product .shot-img img{width:100%;height:100%;object-fit:cover;object-position:top center}
.t-product .shot figcaption{display:flex;justify-content:space-between;gap:16px;padding:16px 2px 18px;font-size:14px;color:var(--muted)}
.t-product .shot figcaption b{font-weight:500;color:var(--fg2)}
@media (max-width:560px){.t-product .shot figcaption{flex-direction:column;gap:2px}}
.t-product .shot figcaption b{white-space:nowrap}
/* Platform page (10-14): pillar name is the H2 (.phase), the punchier line is a subhead at the h2.mid size */
.t-product h3.mid,.t-product .bt .sub{font:600 clamp(24px,2.4vw,32px)/1.15 var(--display);letter-spacing:-.02em;margin:0;color:var(--fg);text-wrap:pretty}
.t-product .bt .sub{margin:0 0 16px}
.t-product .bt .kick+h2.phase{margin-top:0}
.t-product .aidx li.grp{font:600 12px/1 var(--sans);letter-spacing:.08em;text-transform:uppercase;color:var(--g600,var(--muted));padding:18px 12px 8px 18px}
.t-product .aidx li.grp:first-child{padding-top:6px}
.t-product .areas .pgrp{margin:24px 0 0}
.t-product .areas .pgrp:first-child{margin-top:0}
@media (max-width:920px){.t-product .aidx li.grp{display:none}}
/* the framed shot sits under the text on narrow screens (it was falling into the 32px rail column) */
@media (max-width:920px){.t-product .shot{grid-column:2;margin-top:28px;padding:14px 14px 0}}
