/* Toby /pricing phone layout (19 Oct 2026). Loaded on the pricing page only (body class m-v2 page-id-101).
   Every rule sits under max-width:640px, so tablet and desktop are unchanged.
   Spacing follows the xinference.co phone spec (sections 56px, cards 24px padding, 24px between cards, 16px text at 1.55 line height).
   Brand colours come from site.css: --v4-accent #0045B0 (blue), --v3-ink #14141C, --v3-bg #F7F7F4, --brand-orange #EE8A3C. */
.m-sticky{display:none;}
@media (max-width:640px){
  body.m-v2.page-id-101 .tb-page{--m-text:#1F2330;--m-blue:#0045B0;}
  body.m-v2.page-id-101 .m-hide{display:none !important;}

  /* ---- primary buttons: solid brand blue, white text (nav, cards, extra buttons, sticky bar) ---- */
  body.m-v2.page-id-101 .tb-page .btn-slack{
    background:var(--m-blue);color:#fff;border:1.5px solid var(--m-blue);
    -webkit-backdrop-filter:none;backdrop-filter:none;
    box-shadow:0 10px 22px -12px rgba(0,69,176,.75);font-weight:700;}
  body.m-v2.page-id-101 .tb-page .btn-slack:hover,
  body.m-v2.page-id-101 .tb-page .btn-slack:active{background:#003A94;border-color:#003A94;color:#fff;}
  body.m-v2.page-id-101 .tb-page .tb-nav .btn-slack{min-height:44px;font-size:15px;}
  /* Slack + Teams marks keep their colours on a white chip so they read on the blue button */
  body.m-v2.page-id-101 .tb-page .btn-slack .tb-btnmarks{background:#fff;border-radius:999px;padding:5px 10px;gap:6px;}
  /* closing band is a dark block: white button with blue text stays the primary there */
  body.m-v2.page-id-101 .tb-page .tb-panel .btn-slack{background:#fff;color:var(--m-blue);border-color:#fff;box-shadow:none;}
  body.m-v2.page-id-101 .tb-page .tb-panel .btn-slack .tb-btnmarks{padding:0;background:none;}

  /* ---- gutters + nav row: logo, button and menu all fit from 340px up ---- */
  body.m-v2.page-id-101 .tb-page .container,
  body.m-v2.page-id-101 .tb-page .container-narrow{padding-left:20px;padding-right:20px;}
  body.m-v2.page-id-101 .tb-page .tb-nav__inner{gap:8px;}
  body.m-v2.page-id-101 .tb-page .tb-nav__right{gap:8px;}
  body.m-v2.page-id-101 .tb-page .tb-nav .btn-slack{padding:10px 14px;}
  body.m-v2.page-id-101 .tb-page .tb-nav__burger{flex:0 0 44px;}

  /* ---- hero: headline visible at once (no opacity/blur wait for GSAP), trust list folded away ---- */
  body.m-v2.page-id-101 .tb-page .tb-hero{padding:32px 0 0;margin-bottom:0;}
  body.m-v2.page-id-101 .tb-page .tb-hero__title{margin-top:0;font-size:44px;line-height:1.04;}
  body.m-v2.page-id-101 .tb-page .tb-hero__title .tb-word{opacity:1 !important;transform:none !important;filter:none !important;}
  body.m-v2.page-id-101 .tb-page .tb-hero__title em{color:var(--m-blue) !important;}
  body.m-v2.page-id-101 .tb-page .tb-hero__title .tb-marker path{stroke-dashoffset:0 !important;}
  body.m-v2.page-id-101 .tb-page .tb-hero__title .tb-fade{color:#566074;}
  /* its three lines repeat inside the plan cards (2,000 credits / no card / change anytime) */
  body.m-v2.page-id-101 .tb-page .tb-hero .tb-trust{display:none;}
  /* with the Hosted in Australia item the strip comes back on phones: its first two items on one short line, no icons */
  body.m-v2.page-id-101 .tb-page .tb-hero .tb-trust--au{display:flex;flex-direction:row;flex-wrap:wrap;justify-content:center;gap:2px 14px;margin:10px auto 0;max-width:none;padding:0;}
  body.m-v2.page-id-101 .tb-page .tb-hero .tb-trust--au li{display:none;font-size:15px;line-height:1.35;font-weight:600;color:#14141C;}
  body.m-v2.page-id-101 .tb-page .tb-hero .tb-trust--au li:nth-child(-n+2){display:flex;}
  body.m-v2.page-id-101 .tb-page .tb-hero .tb-trust--au svg{display:none;}
  body.m-v2.page-id-101 .tb-page .tb-hero .tb-trust--au li:nth-child(2):before{content:"";width:5px;height:5px;border-radius:50%;background:var(--m-blue);margin-right:7px;align-self:center;flex:0 0 5px;}

  /* ---- plan cards: stacked, price big, one obvious button each ---- */
  body.m-v2.page-id-101 .tb-page .tb-section-tight.section--surface{padding:20px 0 56px;}
  body.m-v2.page-id-101 .tb-page .tb-tri{gap:24px;max-width:none;}
  body.m-v2.page-id-101 .tb-page .tb-tri__card{padding:24px;border-radius:22px;
    opacity:1 !important;transform:none !important;}
  /* badges sit inside the card on phones (two of them would not fit across the top edge) */
  body.m-v2.page-id-101 .tb-page .tb-tri__flags{position:static;margin:0 0 16px;gap:6px;flex-wrap:wrap;}
  body.m-v2.page-id-101 .tb-page .tb-tri__flag{padding:6px 11px;font-size:13px;font-weight:700;line-height:1.3;white-space:nowrap;background:var(--brand-orange);color:#14141C;}
  body.m-v2.page-id-101 .tb-page .tb-tri__flag--free{background:var(--m-blue);color:#fff;}
  body.m-v2.page-id-101 .tb-page .tb-tri__name{font-size:26px;line-height:1.15;color:#14141C;}
  body.m-v2.page-id-101 .tb-page .tb-tri__blurb{margin-top:8px;font-size:16px;line-height:1.55;color:var(--m-text);min-height:0;}
  body.m-v2.page-id-101 .tb-page .tb-tri__price{margin:16px 0 0;gap:8px;}
  body.m-v2.page-id-101 .tb-page .tb-tri__amt{font-size:48px;}
  body.m-v2.page-id-101 .tb-page .tb-tri__per{font-size:17px;font-weight:600;color:var(--m-text);}
  body.m-v2.page-id-101 .tb-page .tb-tri__meta{margin-top:12px;font-size:16px;line-height:1.55;color:var(--m-text);min-height:0;}
  body.m-v2.page-id-101 .tb-page .tb-tri__selectwrap{margin-top:16px;}
  body.m-v2.page-id-101 .tb-page .tb-tri__select{height:52px;padding:0 40px 0 14px;font-size:16px;font-weight:600;
    color:#14141C;text-overflow:ellipsis;border-radius:14px;}
  body.m-v2.page-id-101 .tb-page .tb-tri__card .btn{margin-top:20px;min-height:54px;height:54px;padding:0 18px;font-size:17px;}
  body.m-v2.page-id-101 .tb-page .tb-tri__card .btn + .tb-tri__list{margin-top:28px;}
  /* secondary button on the "Free with Model API" card */
  body.m-v2.page-id-101 .tb-page .tb-tri__card--model .btn-ghost{background:#fff;color:var(--m-blue);border:2px solid var(--m-blue);font-weight:700;box-shadow:none;}
  body.m-v2.page-id-101 .tb-page .tb-tri__card--model .btn-ghost:active{background:#EEF2FA;}
  body.m-v2.page-id-101 .tb-page .tb-tri__card--model .tb-tri__meta{color:#14141C;}
  body.m-v2.page-id-101 .tb-page .tb-tri__list{gap:14px;}
  body.m-v2.page-id-101 .tb-page .tb-tri__list li{font-size:16px;line-height:1.55;color:var(--m-text);}
  body.m-v2.page-id-101 .tb-page .tb-tri__list .tb-mark svg{width:18px;height:18px;flex:0 0 18px;margin-top:3px;}
  /* "Checking us against the alternatives?" line (inline styles on the page, so !important) */
  body.m-v2.page-id-101 .tb-page .tb-tri ~ p{margin:32px 0 0 !important;max-width:none !important;
    text-align:left !important;font-size:16px;line-height:1.6;color:var(--m-text);}
  body.m-v2.page-id-101 .tb-page .tb-tri ~ p a{color:var(--m-blue);font-weight:700;display:inline-block;padding:6px 0;}

  /* ---- how credits work: white block, dark 16px text ---- */
  body.m-v2.page-id-101 .tb-page main > section:nth-of-type(3){background:#fff;padding:56px 0;}
  body.m-v2.page-id-101 .tb-page .tb-creditsplit{gap:36px;}
  body.m-v2.page-id-101 .tb-page .tb-sechead{padding-top:0;}
  body.m-v2.page-id-101 .tb-page .tb-sechead .h2{font-size:32px;line-height:1.1;}
  body.m-v2.page-id-101 .tb-page .tb-creditsteps{margin-top:28px;gap:28px;}
  body.m-v2.page-id-101 .tb-page .tb-creditsteps b{font-size:18px;line-height:1.3;color:#14141C;}
  body.m-v2.page-id-101 .tb-page .tb-creditsteps p{margin-top:6px;font-size:16px;line-height:1.55;color:var(--m-text);}
  body.m-v2.page-id-101 .tb-page .tb-covers{padding:24px 20px 24px;}
  body.m-v2.page-id-101 .tb-page .tb-illustrative{font-size:13px;color:#14141C;margin-bottom:14px;}
  body.m-v2.page-id-101 .tb-page .tb-illustrative:before{background:#14141C;}
  body.m-v2.page-id-101 .tb-page .tb-covers__head{margin-top:8px;}
  body.m-v2.page-id-101 .tb-page .tb-covers__head b{font-size:30px;}
  body.m-v2.page-id-101 .tb-page .tb-covers__head span{font-size:16px;color:var(--m-text);}
  body.m-v2.page-id-101 .tb-page .tb-covers__list{border-top:0;padding-top:0;margin-top:20px;gap:18px;}
  body.m-v2.page-id-101 .tb-page .tb-covers__num{flex:0 0 52px;font-size:22px;color:var(--m-blue);}
  body.m-v2.page-id-101 .tb-page .tb-covers__lbl{font-size:16px;line-height:1.5;color:var(--m-text);}
  body.m-v2.page-id-101 .tb-page .tb-covers__foot{border-top:0;padding-top:0;margin-top:18px;line-height:1.5;font-size:16px;color:var(--m-text);}
  /* extra button at the end of the credits block */
  body.m-v2.page-id-101 .tb-page .m-cta{display:block;margin-top:32px;}
  body.m-v2.page-id-101 .tb-page .m-cta .btn{width:100%;margin:0;}

  /* ---- FAQ: each question is its own white card instead of hairlines ---- */
  body.m-v2.page-id-101 .tb-page #faq{padding:56px 0;}
  body.m-v2.page-id-101 .tb-page #faq .tb-sechead.is-center{text-align:left;margin:0;}
  body.m-v2.page-id-101 .tb-page .tb-faq{margin-top:28px;padding:0;background:none;border:0;box-shadow:none;
    -webkit-backdrop-filter:none;backdrop-filter:none;border-radius:0;display:flex;flex-direction:column;gap:12px;}
  body.m-v2.page-id-101 .tb-page .tb-faq details,
  body.m-v2.page-id-101 .tb-page .tb-faq details:first-child{background:#fff;border:0;border-radius:16px;padding:0 20px;box-shadow:0 1px 0 rgba(20,20,28,.04);}
  body.m-v2.page-id-101 .tb-page .tb-faq summary{padding:20px 36px 20px 0;min-height:60px;display:flex;align-items:center;
    font-size:17px;line-height:1.35;font-weight:700;color:#14141C;}
  body.m-v2.page-id-101 .tb-page .tb-faq summary:after,
  body.m-v2.page-id-101 .tb-page .tb-faq summary:before{background:var(--m-blue);}
  body.m-v2.page-id-101 .tb-page .tb-faq summary:before{right:0;}
  body.m-v2.page-id-101 .tb-page .tb-faq summary:after{right:6.2px;}
  body.m-v2.page-id-101 .tb-page .tb-faq__a{padding:0 0 22px;font-size:16px;line-height:1.6;color:var(--m-text);}

  /* ---- closing band + footer ---- */
  body.m-v2.page-id-101 .tb-page main > section:last-of-type{padding:56px 0;}
  body.m-v2.page-id-101 .tb-page .tb-ctaband{padding:52px 24px;}
  body.m-v2.page-id-101 .tb-page .tb-ctaband h2{font-size:34px;line-height:1.1;}
  body.m-v2.page-id-101 .tb-page .tb-footer{background:#fff;border-top:0;padding:40px 0 48px;}
  body.m-v2.page-id-101 .tb-page .tb-footer__brand{font-size:16px;color:var(--m-text);}
  body.m-v2.page-id-101 .tb-page .tb-footer__links{font-size:16px;gap:0 24px;color:var(--m-text);}
  body.m-v2.page-id-101 .tb-page .tb-footer__links a{color:var(--m-text);font-weight:600;}
  body.m-v2.page-id-101 .tb-page .tb-footer__copy{font-size:16px;color:var(--m-text);}

  /* ---- sticky bottom bar: appears after the first plan button, hides at the closing band ---- */
  body.m-v2.page-id-101 .m-sticky{display:block;position:fixed;left:0;right:0;bottom:0;z-index:90;
    padding:10px 16px calc(10px + env(safe-area-inset-bottom));
    background:rgba(255,255,255,.96);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);
    box-shadow:0 -8px 24px -12px rgba(20,20,28,.25);
    transform:translateY(115%);transition:transform .25s ease;}
  body.m-v2.page-id-101 .m-sticky.on{transform:none;}
  @media (max-width:339px){
    body.m-v2.page-id-101 .tb-page .tb-nav .btn-slack{font-size:14px;padding:10px 11px;}
    body.m-v2.page-id-101 .tb-page .tb-nav__inner.container{padding-left:16px;padding-right:16px;}
    body.m-v2.page-id-101 .tb-page .tb-tri__card .btn-slack .tb-btnmarks,body.m-v2.page-id-101 .m-cta .tb-btnmarks,body.m-v2.page-id-101 .m-sticky .tb-btnmarks{display:none;}
  }
  body.m-v2.page-id-101 .m-sticky .btn{width:100%;margin:0;min-height:52px;height:52px;font-size:17px;}
}
