/* Team Upgrade page. Loaded after chrome.css, on this page only. */
body[data-page="team"] .main>section{position:relative}
body[data-page="team"] .main>section.tx-dark{--ink:#fff;--muted:var(--tm-mist);--dim:var(--tm-dim);--spark:var(--tm-ember);--accent:var(--tm-teal);--line:rgba(255,255,255,.14);color:#fff;background:radial-gradient(50% 42% at 82% 12%,rgba(53,205,186,.1),transparent 72%),radial-gradient(46% 42% at 6% 88%,rgba(238,123,69,.1),transparent 72%),var(--tm-night)}
body[data-page="team"] .main>section.tx-light{--ink:#1C2B3A;--muted:#515D69;--spark:#C4552E;--line:#E5DACB;color:#1C2B3A;background:#FAF6F0}
.tx-dark .eyebrow{color:var(--tm-ember)}
.tx-light .eyebrow{color:#B34A25}
.tx-head{display:flex;flex-direction:column;gap:16px;max-width:900px;margin-bottom:clamp(30px,4vw,52px)}
.tx-head h2{font-size:clamp(34px,4.6vw,62px);line-height:1.03}
.tx-head .lede{max-width:66ch;font-size:clamp(17px,1.4vw,19px)}
.tx-fine{margin:18px 0 0;color:var(--dim,#6A7682);font-size:13px;line-height:1.5}
.tx-light .tx-fine{color:#5F6B76}

/* hero */
.main>.tx-hero{display:flex;align-items:center;min-height:min(100vh,940px);min-height:min(100svh,940px);padding-top:clamp(108px,10vw,132px)!important;padding-bottom:clamp(48px,5vw,72px)!important}
#team-net{position:absolute;inset:0;z-index:-1;display:block;width:100%;height:100%;pointer-events:none}
html:not(.tx-live) #team-net{display:none}
html.motion .main>.tx-hero>.tx-hero-grid{animation:none!important}
html.motion .tx-hero-copy{animation:tm-rise .9s var(--tm-ease) .05s both}
html.motion .tx-stage{animation:tx-fade 1s ease .2s both}
@keyframes tx-fade{from{opacity:0}to{opacity:1}}
.tx-hero-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:center;gap:clamp(24px,4vw,56px);width:100%}
.tx-hero-copy{display:flex;flex-direction:column;align-items:flex-start;gap:20px}
.tx-hero .h1-page{font-size:clamp(42px,5.1vw,76px)}
.tx-hero .lede{max-width:56ch;color:var(--tm-mist);font-size:clamp(17px,1.45vw,20px)}
.tx-hero .hero-cta{display:flex;flex-wrap:wrap;gap:12px;margin:4px 0 0}
.tx-hero .btn-ghost{color:#fff;border-color:rgba(255,255,255,.28);background:rgba(255,255,255,.04)}
.tx-stage{display:flex;flex-direction:column;align-items:center;gap:12px;min-width:0}
.tx-anchor{display:grid;place-items:center;width:min(100%,560px);aspect-ratio:1/.86;color:#fff}
.tx-anchor svg{width:38%;height:auto;overflow:visible;filter:drop-shadow(0 0 28px rgba(238,123,69,.6))}
.tx-anchor .mk-spark{fill:var(--tm-ember)}
html.tx-live .tx-anchor svg{display:none}
.tx-seg,.dx-tabs,.rt-tabs{display:inline-flex;flex-wrap:wrap;gap:4px;padding:4px;border:1px solid rgba(255,255,255,.16);border-radius:12px;background:rgba(255,255,255,.05)}
.tx-seg{visibility:hidden}
html.tx-live .tx-seg{visibility:visible}
.tx-seg button,.dx-tabs button,.rt-tabs button{min-height:40px;padding:8px 16px;border:0;border-radius:9px;background:transparent;color:var(--tm-mist);font:700 14px var(--body);cursor:pointer;transition:background .2s,color .2s}
.tx-seg button:hover,.dx-tabs button:hover,.rt-tabs button:hover{color:#fff;background:rgba(255,255,255,.08)}
.tx-seg button[aria-pressed="true"],.dx-tabs button[aria-pressed="true"],.rt-tabs button[aria-pressed="true"]{background:#fff;color:#14202C}
.tx-note{min-height:1.5em;margin:0;color:var(--tm-mist);font:500 13px var(--mono);text-align:center}
html:not(.tx-live) .tx-note{display:none}

/* same question, two answers */
.dx-tabs{margin-bottom:22px}
html:not(.tx-live) .dx-tabs,html:not(.tx-live) .rt-tabs{display:none}
.dx-scn+.dx-scn{margin-top:30px}
html.tx-live .dx-scn+.dx-scn{margin-top:0}
.dx-q{display:flex;flex-wrap:wrap;align-items:center;gap:8px 14px;width:fit-content;max-width:100%;margin:0 0 18px;padding:14px 20px;border:1px solid rgba(255,255,255,.18);border-radius:14px;background:rgba(255,255,255,.07);font:800 clamp(18px,2vw,24px)/1.2 var(--body)}
.dx-q span{color:var(--tm-amber);font:600 11px var(--mono);letter-spacing:.14em;text-transform:uppercase}
.dx-grid{display:grid;grid-template-columns:minmax(0,.86fr) minmax(0,1.14fr);gap:18px;align-items:stretch}
.dx-win{display:flex;flex-direction:column;min-width:0;overflow:hidden;border:1px solid rgba(255,255,255,.13);border-radius:18px;background:var(--tm-navy);box-shadow:0 34px 70px -42px #000}
.dx-live{border-color:rgba(53,205,186,.55);box-shadow:0 0 0 1px rgba(53,205,186,.14),0 34px 80px -36px rgba(53,205,186,.5)}
.dx-bar{display:flex;align-items:center;gap:6px;padding:12px 16px;border-bottom:1px solid rgba(255,255,255,.1);background:rgba(255,255,255,.04)}
.dx-bar i{width:9px;height:9px;border-radius:50%;background:rgba(255,255,255,.22)}
.dx-live .dx-bar i{background:var(--tm-teal)}
.dx-bar b{margin-left:8px;color:var(--tm-mist);font:600 12px var(--mono)}
.dx-live .dx-bar b{color:#fff}
.dx-body{display:flex;flex-direction:column;gap:14px;min-height:230px;padding:clamp(18px,2vw,26px)}
.dx-body p{margin:0;color:var(--tm-mist);font-size:16px;line-height:1.55}
.dx-wait{margin-top:auto!important;color:#FFB08A!important;font:500 13px var(--mono)!important}
.dx-steps{display:flex;flex-direction:column;gap:9px;margin:0;padding:0;list-style:none}
.dx-steps li{display:flex;align-items:center;gap:10px;color:#DCE6EC;font:500 14px var(--mono)}
.dx-steps li::before{content:"";flex:none;width:17px;height:17px;border-radius:50%;background:var(--tm-teal) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230A121C' stroke-width='4'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E") center/11px no-repeat}
.dx-result{margin-top:auto!important;padding:14px 16px;border-radius:12px;background:rgba(53,205,186,.12);color:#fff!important}
.dx-result b{color:#7EEBDD}
html.motion.tx-live .dx-scn:not(.play) .dx-anim{opacity:0}
html.motion.tx-live .dx-scn.play .dx-anim{animation:dx-in .55s var(--tm-ease) both;animation-delay:calc(var(--i) * .5s)}
@keyframes dx-in{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:none}}

/* comparison */
.tx-table-wrap{overflow:hidden;border:1px solid #E1D4C2;border-radius:22px;background:#fff;box-shadow:0 34px 70px -52px rgba(28,43,58,.6)}
.tx-table{width:100%;border-collapse:collapse;table-layout:fixed}
.tx-table th,.tx-table td{padding:17px 20px;border-bottom:1px solid #EFE6DA;color:#515D69;font-size:15px;line-height:1.4;text-align:left;vertical-align:middle}
.tx-table thead th{border-bottom:0;background:#F6F0E7;color:#1C2B3A;font:600 12px var(--mono);letter-spacing:.06em;text-transform:uppercase}
.tx-table tbody th{color:#1C2B3A;font-weight:800}
.tx-table tbody tr:last-child>*{border-bottom:0}
.tx-table .tx-us{background:#101D2B;color:#fff;border-bottom-color:rgba(255,255,255,.1);font-weight:700}
.tx-table thead .tx-us{background:linear-gradient(135deg,#9F3E1E,#B84C27);color:#fff}
.tx-table thead .tx-us .logo{display:inline-block;width:20px;height:20px;margin-right:7px;vertical-align:-5px;color:#fff}
.tx-table thead .tx-us .mk-spark{fill:#FFE0B8}
.tx-table td.tx-us::before{content:"";display:inline-block;width:13px;height:8px;margin-right:9px;border-left:3px solid var(--tm-teal);border-bottom:3px solid var(--tm-teal);transform:translateY(-3px) rotate(-45deg)}

/* what gets installed */
.main>.tx-stack{padding-top:clamp(60px,7vw,100px);padding-bottom:clamp(60px,7vw,100px)}
.tx-stack-grid{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);align-items:center;gap:clamp(24px,4vw,56px);width:100%}
.tx-stack-copy{display:flex;flex-direction:column;gap:18px;min-width:0}
.tx-stack-copy h2{font-size:clamp(36px,4.6vw,62px);line-height:1.03}
.tx-layers{display:grid;gap:12px;margin:8px 0 0;padding:0;list-style:none}
.tx-layers li{display:flex;gap:16px;padding:14px 16px;border:1px solid rgba(255,255,255,.12);border-radius:14px;background:rgba(255,255,255,.04)}
.tx-layers span{flex:none;color:var(--tm-ember);font:600 13px/1.6 var(--mono)}
.tx-layers h3{margin:0 0 3px;color:#fff;font:800 18px var(--body)}
.tx-layers p{margin:0;color:var(--tm-mist);font-size:15px;line-height:1.5}
.tx-iso-wrap{min-width:0}
#tx-iso{display:block;width:100%;height:auto;overflow:visible}
html:not(.tx-live) .tx-iso-wrap{display:none}
html:not(.tx-live) .tx-stack-grid{grid-template-columns:1fr}
.lyr .top{fill:#172738;stroke:rgba(53,205,186,.55);stroke-width:1.5;transition:fill .35s,stroke .35s}
.lyr .l{fill:#0E1A27;transition:fill .35s}
.lyr .r{fill:#132233;transition:fill .35s}
.lyr .ln{stroke:rgba(255,255,255,.28);stroke-width:1.2;transition:stroke .3s}
.lyr text{fill:var(--tm-mist);font:600 19px var(--mono);transition:fill .3s}
.lyr.on .top{fill:url(#iso-glow);stroke:#FFC066}
.lyr.on .l{fill:#8E3D20}
.lyr.on .r{fill:#B34D29}
.lyr.on .ln{stroke:var(--tm-amber)}
.lyr.on text{fill:#fff}
.iso-star{fill:var(--tm-amber);opacity:0;transform-box:fill-box;transform-origin:center;transition:opacity .45s,transform .6s var(--tm-ease);transform:scale(.4);filter:drop-shadow(0 0 16px rgba(255,192,102,.95))}
.iso-star.lit{opacity:1;transform:scale(1)}
@media (min-width:921px) and (prefers-reduced-motion:no-preference){
  html.motion.tx-live .main>.tx-stack{height:520vh;padding:0}
  html.motion.tx-live .tx-pin{position:sticky;top:0;display:flex;align-items:center;height:100vh;height:100svh;padding:76px var(--tm-inset) 24px}
  html.motion.tx-live .tx-layers{display:grid;grid-template-areas:"stack";min-height:150px}
  html.motion.tx-live .tx-layers li{grid-area:stack;align-items:flex-start;opacity:0;pointer-events:none;transform:translateY(16px);transition:opacity .35s,transform .5s var(--tm-ease)}
  html.motion.tx-live .tx-layers li.on{opacity:1;pointer-events:auto;transform:none;border-color:rgba(238,123,69,.6);background:rgba(238,123,69,.09)}
  html.motion.tx-live #tx-iso{max-height:calc(100vh - 110px);max-height:calc(100svh - 110px)}
  html.motion.tx-live .tx-layers h3{font-size:24px}
  html.motion.tx-live .tx-layers p{font-size:17px}
  .lyr{transition:none}
}
html.motion.tx-live #tx-iso.drop .lyr{animation:iso-drop .7s var(--tm-ease) both;animation-delay:calc(var(--i) * .09s)}
@keyframes iso-drop{from{opacity:0;transform:translateY(-70px)}to{opacity:1;transform:none}}

/* rollout */
.rl{position:relative;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:18px;margin:0;padding:0;list-style:none}
.rl::before,.rl::after{content:"";position:absolute;top:25px;left:25px;right:calc(20% - 8px);height:3px;border-radius:3px;background:#E4D8C7}
.rl::after{background:var(--tm-sunset);transform:scaleX(1);transform-origin:left}
html.motion .rl.rv::after{transform:scaleX(0);transition:transform 2.2s var(--tm-ease) .25s}
html.motion .rl.rv.in::after{transform:scaleX(1)}
.rl li{position:relative;z-index:1;display:flex;flex-direction:column;gap:9px;min-width:0}
.rl b{display:grid;place-items:center;width:52px;height:52px;margin-bottom:8px;border-radius:50%;background:#C4552E;color:#fff;font:900 21px var(--display);box-shadow:0 0 0 7px #FAF6F0}
html.motion .rl.rv b{background:#CDBDA8;transition:background .4s calc(var(--n) * .42s + .25s)}
html.motion .rl.rv.in b{background:#C4552E}
.rl h3{margin:0;color:#1C2B3A;font:800 18px/1.2 var(--body)}
.rl p{margin:0;color:#515D69;font-size:15px;line-height:1.5}

/* roles */
.tx-role-shell{display:flex;flex-direction:column;align-items:flex-start;gap:18px}
.rt-card{width:100%;padding:clamp(24px,3.2vw,44px);border:1px solid rgba(255,255,255,.14);border-radius:22px;background:radial-gradient(70% 90% at 92% 8%,rgba(238,123,69,.2),transparent 70%),var(--tm-navy)}
html:not(.tx-live) .rt-card+.rt-card{margin-top:0}
.rt-card h3{margin:0 0 20px;color:#fff;font:900 clamp(25px,3vw,40px)/1.06 var(--display);letter-spacing:-.015em}
.rt-card ul{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:0;padding:0;list-style:none}
.rt-card li{padding:16px;border:1px solid rgba(255,255,255,.12);border-radius:14px;background:rgba(255,255,255,.05);color:#DCE6EC;font-size:16px;line-height:1.45}
html.motion.tx-live .rt-card:not([hidden]){animation:dx-in .5s var(--tm-ease) both}

/* control */
.tc-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.tc-grid article{padding:24px;border:1px solid #E5DACB;border-radius:18px;background:#fff;box-shadow:0 22px 46px -40px rgba(28,43,58,.6)}
.tc-grid h3{margin:0 0 8px;color:#1C2B3A;font:800 19px var(--body)}
.tc-grid p{margin:0;color:#515D69;font-size:15px;line-height:1.55}

/* offer */
.to-card{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr);gap:clamp(24px,4vw,56px);padding:clamp(26px,4vw,56px);border:1px solid rgba(238,123,69,.45);border-radius:26px;background:radial-gradient(70% 90% at 0% 0%,rgba(238,123,69,.22),transparent 70%),var(--tm-navy);box-shadow:0 44px 90px -50px rgba(238,123,69,.8)}
.to-main{display:flex;flex-direction:column;align-items:flex-start;gap:18px}
.to-main h2{font-size:clamp(34px,4.2vw,56px);line-height:1.03}
.to-main .lede{color:var(--tm-mist)}
.to-side ul{display:grid;gap:11px;margin:0;padding:0;list-style:none}
.to-side li{position:relative;padding-left:27px;color:#E4ECF1;font-size:16px;line-height:1.4}
.to-side li::before{content:"";position:absolute;left:2px;top:5px;width:13px;height:7px;border-left:3px solid var(--tm-teal);border-bottom:3px solid var(--tm-teal);transform:rotate(-45deg)}

/* faq */
.tx-faq .faq{max-width:900px}
.tx-faq summary{color:#1C2B3A}
.tx-faq details p{color:#515D69}

@media (max-width:1100px){
  .rl{grid-template-columns:1fr;gap:24px}
  .rl::before,.rl::after{top:25px;bottom:40px;left:25px;right:auto;width:3px;height:auto}
  html.motion .rl.rv::after{transform:scaleY(0);transform-origin:top}
  html.motion .rl.rv.in::after{transform:scaleY(1)}
  .rl li{display:grid;grid-template-columns:52px minmax(0,1fr);column-gap:18px;row-gap:4px}
  .rl b{grid-row:1/3;margin:0}
  .tc-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width:920px){
  .main>.tx-hero{min-height:0}
  .tx-hero-grid,.dx-grid,.tx-stack-grid,.to-card{grid-template-columns:minmax(0,1fr)}
  .tx-stage{order:-1}
  .tx-anchor{width:min(100%,420px)}
  .tx-iso-wrap{order:-1;max-width:320px;width:78%;margin-inline:auto}
  .lyr text,.lyr .ln{display:none}
  .rt-card ul{grid-template-columns:minmax(0,1fr)}
  .dx-body{min-height:0}
  .tx-table-wrap{overflow:visible;border:0;border-radius:0;background:transparent;box-shadow:none}
  .tx-table,.tx-table tbody,.tx-table tr,.tx-table th,.tx-table td{display:block;width:100%}
  .tx-table thead{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
  .tx-table tbody{display:grid;gap:12px}
  .tx-table tr{overflow:hidden;border:1px solid #E1D4C2;border-radius:16px;background:#fff}
  .tx-table tbody th{padding:14px 16px;background:#F6F0E7;border-bottom:0;font-size:16px}
  .tx-table td{display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1fr);gap:10px;padding:10px 16px;font-size:14px}
  .tx-table td::before,.tx-table td.tx-us::before{content:attr(data-l);display:block;width:auto;height:auto;margin:0;border:0;transform:none;color:#6A7682;font:600 11px/1.4 var(--mono)}
  .tx-table td.tx-us::before{color:var(--tm-teal)}
  .tx-table tbody tr:last-child>*{border-bottom:1px solid #EFE6DA}
  .tx-table tbody tr>td:last-child{border-bottom:0}
}
@media (max-width:620px){
  .tc-grid{grid-template-columns:minmax(0,1fr)}
  .tx-hero .hero-cta,.tx-hero .btn{width:100%}
  .dx-tabs,.rt-tabs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));width:100%}
  html.tx-live .dx-tabs button:last-child{grid-column:1/-1}
  .to-main .btn{width:100%}
}
@media (prefers-reduced-motion:reduce){
  .lyr *,.iso-star,.tx-seg button,.dx-tabs button,.rt-tabs button{transition:none}
}
