/* Tablet and small-laptop layout (761-1279 px). Phone (<=760) and desktop (>=1280) must not change.
   Ranges: T = 761-1023 (tablet portrait: stacked, phone-like, two-column card grids, 40 px gutters)
           L = 1024-1279 (small laptop: the desktop compositions made fluid, 32 px gutters)
           header: phone header (logo, Book a call, burger + menu sheet) from 761 to 1179; desktop nav from 1180.
   Every rule below sits inside a media query that starts at 761 and ends at or before 1279. */

/* =====================================================================================================
   ALL (761-1279): shell
   ===================================================================================================== */
@media (min-width:761px) and (max-width:1279px){
  .wrap{max-width:calc(100% - 64px)}
  /* desktop nav at 1180-1279: a little tighter so it never touches the logo */
  .nav-links a{padding:9px 12px}
  .nav-cta{gap:18px}
}

/* header with burger + menu sheet, 761-1179 */
@media (min-width:761px) and (max-width:1179px){
  .nav-links,.nav-wa{display:none}
  .nav-in{gap:12px}
  .nav-cta{margin-left:auto}
  .nav-burger{display:grid}
  .menu-open .nav-menu{display:block}
  /* the open menu: two columns (services | company), actions in one row */
  .nav-menu-in{display:grid;grid-template-columns:1fr 1fr;column-gap:56px;align-content:start;
    grid-template-areas:"top top" "k1 k2" "l1 l2" "cta cta"}
  .nm-top{grid-area:top;margin-top:24px}
  .nav-menu-in > p.nm-k:nth-of-type(1){grid-area:k1}
  .nav-menu-in > p.nm-k:nth-of-type(2){grid-area:k2}
  .nav-menu-in > nav.nm-links:nth-of-type(1){grid-area:l1}
  .nav-menu-in > nav.nm-links:nth-of-type(2){grid-area:l2}
  .nm-k{margin-top:40px}
  .nm-links a,.nm-links-sm a{min-height:64px;padding:0;font-size:26px;font-weight:700}
  .nm-links-sm a{font-size:22px;font-weight:600}
  .nm-cta{grid-area:cta;flex-direction:row;align-items:center;gap:28px;margin-top:44px}
  .nm-cta .btn{justify-content:flex-start;gap:16px}
}

/* =====================================================================================================
   T (761-1023): shell + type
   ===================================================================================================== */
@media (min-width:761px) and (max-width:1023px){
  .wrap{max-width:calc(100% - 80px)}
  .t-h1{font-size:56px;line-height:1.04}
  .p-h1{font-size:52px}
  .h2{font-size:46px;line-height:1.05}
  .h2-xl{font-size:52px;line-height:1.02}
  .h-xl{font-size:62px;line-height:1}
  .t-sub{font-size:18px}
  .t-proof{grid-template-columns:1fr 1fr;gap:30px 0}
  .t-pf{padding:0 20px 0 28px}
  .t-pf:nth-child(odd){border-left:0;padding-left:0}
  .t-pf b{font-size:40px}

  .p-hero-in{padding:36px 0 60px}
  .p-stage{padding-bottom:64px}

  .p-cta{padding:32px 0 80px}
  .p-cta-box{grid-template-columns:1fr 220px;gap:28px;padding:48px 44px;border-radius:32px}
  .p-cta-h{font-size:44px}
  .p-cta-p{font-size:17px}
  .p-cta-orb{right:-40px;bottom:-70px;width:250px;height:250px}

  .foot{padding:64px 0 30px}
  .foot-top{grid-template-columns:1fr;gap:44px}
  .foot-brand{display:grid;grid-template-columns:1fr auto;align-items:center;column-gap:24px}
  .foot-brand p{grid-column:1;margin-top:14px}
  .foot-brand .btn{grid-column:2;grid-row:1 / span 2;margin-top:0}
  .foot-cols{grid-template-columns:repeat(4,minmax(0,1fr));gap:24px}
  .foot-cols a{min-height:30px;font-size:15px}
  .foot-word{margin-top:40px;font-size:150px}
}

/* =====================================================================================================
   L (1024-1279): shell + type
   ===================================================================================================== */
@media (min-width:1024px) and (max-width:1279px){
  .t-h1{font-size:64px}
  .p-h1{font-size:60px}
  .h2{font-size:54px}
  .h2-xl{font-size:64px}
  .h-xl{font-size:78px}

  .p-cta-box{grid-template-columns:1fr 300px;padding:56px 52px}
  .p-cta-h{font-size:48px}
  .p-cta-orb{right:-40px;bottom:-80px;width:270px;height:270px}

  .foot-top{grid-template-columns:300px 1fr;gap:40px}
  .foot-word{font-size:clamp(200px,19.5vw,240px)}
}

/* =====================================================================================================
   HOMEPAGE COMPONENTS (also reused on inner pages): hero reel, logos, #work showcase, services, chapters,
   the four demos, ad wall, email phones, process, why, FAQ, booking block
   ===================================================================================================== */
@media (min-width:761px) and (max-width:1279px){
  /* hero reel: the 1120 player becomes fluid */
  .t1-player{width:calc(100% - 64px);max-width:1120px;height:auto;aspect-ratio:16/9}
  .t1-poster,.t1-video{width:100%;height:100%}

  /* website demo: the real screen scales as one picture, the template drawing scales with it */
  .dw-screen{height:auto;aspect-ratio:860/538;container-type:inline-size}
  .new{width:100cqw;height:auto}
  .new-real img{width:100%;height:auto}
  .old{right:auto;bottom:auto;width:860px;height:538px;transform-origin:0 0;transform:scale(tan(atan2(100cqw,860px)))}
  .dw .pin{transform-origin:0 50%;transform:scale(1.25)}
  .dw.armed .pin{transform:translateY(8px) scale(.9)}
  .dw.armed.play .pin{transform:scale(1.25)}

  /* Meta chart: the desktop SVG goes fluid; labels and week ticks move to percentages */
  .dm{grid-template-columns:minmax(0,1fr);gap:20px}
  .dm-plot{width:auto;height:auto}
  .dm-plot > svg{width:100%;height:auto}
  .dm-plot .pt-s{left:96.8%!important;top:-1%!important}
  .dm-plot .pt-c{left:96.8%!important;top:69.5%!important}
  .dm-chart .xax span:nth-child(1){left:3.19%!important}
  .dm-chart .xax span:nth-child(2){left:16.57%!important}
  .dm-chart .xax span:nth-child(3){left:29.93%!important}
  .dm-chart .xax span:nth-child(4){left:43.31%!important}
  .dm-chart .xax span:nth-child(5){left:56.69%!important}
  .dm-chart .xax span:nth-child(6){left:70.07%!important}
  .dm-chart .xax span:nth-child(7){left:83.43%!important}
  .dm-chart .xax span:nth-child(8){left:96.81%!important}

  /* SEO demo: chart and table stack inside the console; the chart is fluid */
  .ds-grid{grid-template-columns:minmax(0,1fr)}
  .ds-plot{width:auto;height:auto}
  .ds-plot svg{width:100%;height:auto}
  .ds-plot .pt-s{left:89.7%!important;top:1.05%!important}
  .ds-chart .xax-s span:nth-child(1){left:4.24%!important}
  .ds-chart .xax-s span:nth-child(2){left:22.55%!important}
  .ds-chart .xax-s span:nth-child(3){left:40.85%!important}
  .ds-chart .xax-s span:nth-child(4){left:59.15%!important}
  .ds-chart .xax-s span:nth-child(5){left:77.45%!important}
  .ds-chart .xax-s span:nth-child(6){left:95.76%!important}


  /* services: no grow-on-hover (the cards reflow text) */
  .sv-bar:hover .sv,.sv-bar .sv:hover{flex-grow:1}
  .sv > *{width:auto}
}

@media (min-width:1024px) and (max-width:1279px){
  /* #work showcase */
  .work-head{margin-bottom:56px}
  .wk-in{grid-template-columns:minmax(0,54%) minmax(0,1fr)}
  .wk-r .wk-in{grid-template-columns:minmax(0,1fr) minmax(0,54%)}
  .wk-browser,.wk-view{width:100%}
  .wk-view{height:auto;aspect-ratio:640/400}
  .wk-tall{width:100%;height:auto}
  .wk-slab{height:calc(33vw - 4px)}
  .wk-l .wk-slab{right:calc(50% - 110px)}
  .wk-r .wk-slab{left:calc(50% - 110px)}
  .wk-phone{width:124px;padding:6px;border-radius:26px}
  .wk-l .wk-phone{right:-58px}
  .wk-r .wk-phone{left:-58px}
  .wk-phone .ph-scr{width:112px;height:242px;border-radius:20px}
  .wk-phone .ph-scr img{width:112px;height:auto}
  .wk-l .wk-info{padding-left:120px}
  .wk-r .wk-info{padding-right:120px}
  .wk-no{font-size:134px}
  .wk-name{margin-top:-40px;font-size:42px}
  .wk-line{font-size:18px}

  /* services */
  .sv-head{margin-bottom:80px}
  .sv{height:auto;min-height:486px;padding:32px 24px 28px}
  .sv-no{font-size:80px}
  .sv-ic{width:124px;height:124px;margin:-84px -16px 0 0}
  .sv-t{font-size:28px}
  .sv-p{font-size:15.5px;min-height:93px}

  /* chapters */
  .chap-head{grid-template-columns:250px minmax(0,1fr);gap:24px}
  .chap-emb{height:230px}
  .chap-no{font-size:236px;margin-left:-12px}
  .chap-ic{width:140px;height:140px;right:-4px;bottom:-16px}
  .chap-emb::after{right:14px;bottom:-30px;width:120px}
  .chap-row{gap:32px}
  .chap-p{font-size:18px}
  .gets{padding:22px 24px 24px}
  .gets-list li{padding:0 14px}
  .gets-list li:first-child{padding-left:0}

  .dw{grid-template-columns:minmax(0,1fr) 270px;gap:24px}
  .res-v .cnt{font-size:40px}

  .ds{grid-template-columns:380px minmax(0,1fr);gap:24px}

  .de{grid-template-columns:minmax(0,1fr) 300px;gap:40px}
  .de-body{grid-template-columns:minmax(0,1fr) 210px;gap:18px}
  .kpi-row{flex-direction:column;align-items:flex-start;gap:10px}
  .kpi-row .kpi-v{font-size:32px}

  /* process */
  .pr-grid{grid-template-columns:400px minmax(0,1fr);gap:56px}
  .pr-card{padding:40px 36px}
  .pr-card .btn{left:36px;bottom:40px}

  /* why */
  .why-panel{padding:60px 48px}

  /* FAQ */
  .faq-grid{grid-template-columns:380px minmax(0,1fr);gap:48px}

  /* booking block */
  .book-top{grid-template-columns:minmax(0,1fr) 340px}
  .book-orb{width:340px;height:340px;margin:-30px 0 -20px 0}
  .book-grid{grid-template-columns:400px minmax(0,1fr)}
  .cal-body{grid-template-columns:minmax(0,1fr) 196px;gap:22px}
}

@media (min-width:761px) and (max-width:1023px){
  /* hero reel */
  .t1-copy{padding-top:48px}
  .t1 .t-h1{margin-top:22px;font-size:58px}
  .t1-stage{margin-top:52px}
  .t1-band{top:180px}
  .t1-player{width:calc(100% - 80px);border-radius:22px}
  .t1-proof-wrap{padding:44px 0 52px}

  /* logo carousel: label on top */
  .logos{padding:32px 0 34px}
  .logos-in{flex-direction:column;align-items:stretch;gap:22px}
  .logos-lbl{width:auto;text-align:center;font-size:14px}

  /* #work showcase: the browser full width on its slab, phone on the corner, caption below */
  .work{padding:72px 0 84px}
  .work-head{flex-direction:column;align-items:flex-start;gap:16px;margin-bottom:44px}
  .work-lead{max-width:520px;padding:0;font-size:18px}
  .wk + .wk{margin-top:64px}
  .wk-slab{height:calc(45vw + 40px)}
  .wk-l .wk-slab{right:60px;border-radius:0 40px 40px 0}
  .wk-r .wk-slab{left:60px;border-radius:40px 0 0 40px}
  .wk-in,.wk-r .wk-in{grid-template-columns:minmax(0,1fr)}
  /* name first, then the site (13 Nov): the colour slab is drawn by .wk-media so it stays behind the browser */
  .wk-slab{display:none}
  .wk-media{order:0;padding:36px 0 0;margin-bottom:44px;isolation:isolate}
  .wk-media::before,.wk-media::after{content:"";position:absolute;top:0;height:calc(45vw + 40px);z-index:-1}
  .wk-media::before{background:var(--wk-bg)}
  .wk-media::after{background-image:radial-gradient(var(--wk-dot,rgba(255,255,255,.28)) 1.2px, transparent 1.4px);background-size:22px 22px;opacity:.7}
  .wk-l .wk-media::before,.wk-l .wk-media::after{left:-40px;right:20px;border-radius:0 40px 40px 0}
  .wk-r .wk-media::before,.wk-r .wk-media::after{left:20px;right:-40px;border-radius:40px 0 0 40px}
  .wk-browser,.wk-view{width:100%}
  .wk-view{height:auto;aspect-ratio:640/400}
  .wk-tall{width:100%;height:auto}
  .wk-phone{width:140px;padding:6px;border-radius:28px;bottom:-44px}
  .wk-l .wk-phone,.wk-r .wk-phone{left:auto;right:-14px}
  .wk-phone .ph-scr{width:128px;height:277px;border-radius:22px}
  .wk-phone .ph-scr img{width:128px;height:auto}
  .wk-info,.wk-l .wk-info,.wk-r .wk-info{order:-1;padding:0;margin:0 0 26px}
  .wk-no{font-size:120px;margin-left:-6px}
  .wk-name{margin-top:-38px;font-size:40px}
  .wk-line{font-size:18px}

  /* services: 2 x 2 */
  .services{padding:0 0 88px}
  .sv-head{flex-direction:column;align-items:flex-start;gap:16px;margin-bottom:84px}
  .sv-lead{max-width:520px;padding:0;font-size:18px}
  .sv-bar{display:grid;grid-template-columns:1fr 1fr;border-radius:36px}
  .sv{height:auto;min-height:440px;padding:32px 30px 30px}
  .sv:first-child{border-radius:36px 0 0 0}
  .sv:nth-child(2){border-radius:0 36px 0 0}
  .sv:nth-child(3){border-radius:0 0 0 36px}
  .sv:last-child{border-radius:0 0 36px 0}
  .sv-ic{width:132px;height:132px;margin:-90px -14px 0 0}
  .sv-p{min-height:0;font-size:16px}
  .sv .ticks li{font-size:15px}

  /* chapters: numeral + 3D icon as a compact emblem over the copy */
  .chap{padding:72px 0}
  .chap + .chap{margin-top:56px}
  .chap .h2:not(:has(.hl)){text-wrap:balance}
  .chap-head{grid-template-columns:1fr;gap:0;margin-bottom:40px}
  .chap-emb{width:320px;height:150px}
  .chap-no{font-size:180px;margin-left:-8px}
  .chap-ic{width:130px;height:130px;right:0;bottom:-14px}
  .chap-emb::after{right:14px;bottom:-24px;width:104px;height:22px}
  .chap-tag{margin-top:26px;font-size:26px}
  .chap .h2{margin-top:18px}
  .chap-row{gap:32px;margin-top:22px}
  .chap-p{font-size:18px}
  .gets{margin-top:32px;padding:22px 26px 24px}
  .gets-list{grid-template-columns:1fr 1fr;column-gap:32px;margin-top:6px}
  .gets-list li,.gets-list li:first-child{padding:12px 0;border-left:0;border-top:1px solid var(--line);font-size:15.5px}
  .gets-list li:nth-child(-n+2){border-top:0}

  /* demos: stacked */
  .dw{grid-template-columns:minmax(0,1fr);gap:16px}
  .dw-side{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
  .dw-side .demo-foot{grid-column:1 / -1}
  .res-v .cnt{font-size:40px}
  .dm-panel{padding:20px 22px 16px}
  .kpi-v{font-size:30px}
  .ds{grid-template-columns:minmax(0,1fr);gap:16px}
  .de{grid-template-columns:minmax(0,1fr);gap:28px}
  .de-body{grid-template-columns:minmax(0,1fr) 240px;gap:20px}
  .kpi-row{padding:14px 16px}
  .kpi-row .kpi-v{font-size:30px}
  .de-phone{padding-top:44px}
  .ph-lg{margin:0 auto}
  .toast{left:50%;margin-left:-300px}
  .replay{height:40px;padding:0 14px}

  /* ad wall */
  .chap-navy .adwall{margin-top:64px}
  .aw-head{flex-direction:column;align-items:flex-start;gap:14px;margin-bottom:24px}
  .aw-h,.chap-navy .aw-h{font-size:40px}
  .aw-p{max-width:560px;padding:0}
  .aw-ad,.aw-ad img{width:196px;height:196px}
  .aw-r2 .aw-track{margin-left:-108px}

  /* email phones: the row itself belongs to the email-rows builder (marquee); only the head is set here */
  .ems{margin-top:56px}
  .ems-head{flex-direction:column;align-items:flex-start;gap:12px}
  .ems-h{font-size:34px}
  .ems-p{max-width:560px}

  /* process: the card goes wide (copy left, icon right), timeline below */
  .process{padding:84px 0 80px}
  .pr-grid{grid-template-columns:minmax(0,1fr);gap:40px}
  .pr-card{min-height:400px;padding:40px 40px 40px}
  .pr-card .h2,.pr-p{max-width:360px}
  .pr-ic{position:absolute;right:44px;top:60px;width:230px;height:230px;margin:0}
  .pr-ring{left:auto;right:4px;top:176px;transform:translateY(-50%)}
  .pr-card::after{left:auto;right:84px;top:286px;margin-left:0}
  .pr-card .btn{left:40px;bottom:40px}

  /* why */
  .why{padding:0 0 88px}
  .why-panel{padding:48px 32px 40px;border-radius:40px}
  .why-grid{margin-top:36px}
  .wh{padding:22px 22px 14px}
  .wc{min-height:62px;padding:0 22px;font-size:17px;gap:12px}

  /* FAQ: heading, questions, then the help card */
  .faq{padding:0 0 88px}
  .faq-grid{display:flex;flex-direction:column;align-items:stretch;gap:0}
  .faq-head{display:contents}
  .faq-head .pill{align-self:flex-start}
  .faq-list{order:1;margin-top:32px;padding-top:0}
  .faq-card{order:2;margin-top:28px;padding:30px 30px}
  .faq-ch{max-width:none}
  .faq-cp{max-width:440px}
  .qa summary{min-height:64px;padding:18px 22px}

  /* booking block */
  .book{padding:80px 0 88px}
  .book-top{grid-template-columns:minmax(0,1fr) 220px;align-items:start}
  .book-orb{width:240px;height:240px;margin:-20px -30px 0 -20px}
  .book-p{font-size:18px}
  .book-grid{grid-template-columns:minmax(0,1fr);gap:20px;margin-top:40px}
  .fit-after{margin-top:24px}
  .cal-body{grid-template-columns:minmax(0,1fr) 220px}
}

/* services: titles, copy and ticks line up across the cards (subgrid rows) */
@media (min-width:761px) and (max-width:1279px){
  .sv-bar{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));grid-auto-rows:auto;min-height:486px}
  .sv,.sv-bar:hover .sv,.sv-bar .sv:hover{display:grid;grid-row:span 5;grid-template-rows:subgrid;row-gap:0;height:auto;min-height:0}
  .sv-bar{grid-template-rows:auto 1fr auto auto auto}
  .sv-t{align-self:end;margin-top:0}
  .sv-more{align-self:start;justify-self:start}
}
@media (min-width:761px) and (max-width:1023px){
  .sv-bar{grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:auto 1fr auto auto auto auto 1fr auto auto auto;min-height:0}
  .sv-top{height:96px}
  .sv-t{margin-top:20px}
}

/* SEO demo at L: narrower results column, chart and table side by side in the console */
@media (min-width:1024px) and (max-width:1279px){
  .ds{grid-template-columns:340px minmax(0,1fr)}
  .ds-grid{grid-template-columns:minmax(0,.9fr) minmax(0,1fr);gap:14px}
}
@media (min-width:761px) and (max-width:1023px){
  .ds-grid{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:14px}
}
@media (min-width:761px) and (max-width:1279px){
  .ds-table table{font-size:12.5px}
  .ds-table th,.ds-table td{padding:0 8px}
  .ds-table th:first-child{padding-left:12px}
  .ds-table td:first-child{padding:8px 6px 8px 12px;white-space:normal;line-height:1.3}
}

}}

/* tap targets under 1024 */
@media (min-width:761px) and (max-width:1023px){
  .wk-link{margin-top:6px;padding-top:12px}
  .faq-wa,.book-wa,.p-cta-wa{display:inline-flex;align-items:center;min-height:44px}
  .crumbs a{display:inline-flex;align-items:center;min-height:44px}
  .crumbs{margin-bottom:10px}
  .foot-cols div{gap:2px}
  .foot-cols a{display:flex;align-items:center;min-height:44px}
}

/* scrolling screenshots keep scrolling to the bottom of the (now fluid) view */
@media (min-width:761px) and (max-width:1279px){
  .wk-view{container-type:size}
  @keyframes wkscrollt{0%,10%{transform:translateY(0)}90%,100%{transform:translateY(calc(-100% + 100cqh))}}
  .js .wk.in .wk-tall{animation-name:wkscrollt}
}

/* =====================================================================================================
   01 WEBSITES  /prop-firm-website-development/  (wd-)
   ===================================================================================================== */
@media (min-width:761px) and (max-width:1279px){
  .wd-shot{height:auto;padding-bottom:64px}
  .wd-hb{width:calc(100% - 170px);margin-left:48px}
  .wd-hv{width:100%;height:auto;aspect-ratio:940/560;container-type:size}
  .wd-tall{width:100%;height:auto}
  @keyframes wdscrollt{0%,8%{transform:translateY(0)}92%,100%{transform:translateY(calc(-100% + 100cqh))}}
  .js .wd-tall{animation-name:wdscrollt}
  .wd-hp{right:20px;top:110px;width:186px;border-radius:30px}
  .wd-hp .ph-scr{width:172px;height:372px;border-radius:24px}
  .wd-hp .ph-scr img{width:172px;height:372px}
  .wd-chip-2{top:auto;bottom:40px}

  /* the four site cards: browser and phone scale with the card */
  .wd-site-top{height:auto;padding:36px 0 0}
  .wd-sb{position:relative;left:auto;top:auto;width:calc(100% - 118px);margin-left:28px;border-radius:12px 12px 0 0}
  .wd-sv{width:100%;height:auto;aspect-ratio:470/294}
  .wd-sv img{width:100%;height:100%}
  .wd-sp{right:22px;top:auto;bottom:-56px;width:112px;padding:6px;border-radius:22px}
  .wd-sp .ph-scr{width:100px;height:216px;border-radius:17px}
  .wd-sp .ph-scr img{width:100px;height:216px}

  .wd-ph-row{gap:14px}
  .wd-pp{width:128px;padding:6px;border-radius:24px}
  .wd-pp .ph-scr{width:116px;height:251px;border-radius:18px}
  .wd-pp .ph-scr img{width:116px;height:251px}

  .wd-rc-pic{width:220px;height:138px;right:-36px}
  .wd-rc-pic img{width:220px;height:138px}
}
@media (min-width:1024px) and (max-width:1279px){
  .wd-lead{max-width:360px}
  .wd-steps{grid-template-columns:repeat(3,minmax(0,1fr));row-gap:34px}
  .wd-steps::before{display:none}
  .wd-pr{padding:14px 14px 14px 10px;gap:12px}
  .wd-pr img{width:60px;height:60px}
}
@media (min-width:1180px) and (max-width:1279px){
  .wd-steps{grid-template-columns:repeat(6,minmax(0,1fr));row-gap:0}
  .wd-steps::before{display:block}
}
@media (min-width:761px) and (max-width:1023px){
  .wd-hero-in{padding-bottom:44px}
  .wd-band{top:150px}
  .wd-hb{width:calc(100% - 110px);margin-left:0}
  .wd-hp{right:-10px;top:96px;width:150px;padding:6px;border-radius:26px}
  .wd-hp .ph-scr{width:138px;height:299px;border-radius:21px}
  .wd-hp .ph-scr img{width:138px;height:299px}
  .wd-chip{position:relative;left:auto;top:auto;bottom:auto;display:inline-flex;margin:18px 10px 0 0;box-shadow:0 14px 30px rgba(3,46,74,.2)}
  .wd-proof{margin-top:40px;padding-bottom:56px}

  .wd-head{flex-direction:column;align-items:flex-start;gap:16px;margin-bottom:40px}
  .wd-lead,.wd-lead-w{max-width:560px;padding-bottom:0}
  .wd-sites{padding:80px 0 76px}
  .wd-grid{grid-template-columns:minmax(0,1fr);gap:24px}
  .wd-sb{width:calc(100% - 200px);margin-left:36px}
  .wd-sp{right:40px;bottom:-70px;width:140px}
  .wd-sp .ph-scr{width:126px;height:272px;border-radius:20px}
  .wd-sp .ph-scr img{width:126px;height:272px}
  .wd-site-info{padding:28px 32px 30px}

  .wd-needs{padding:80px 0 84px}
  .wd-root{width:100%;max-width:560px}
  .wd-wires{height:28px}
  .wd-wires .w-v{height:28px}
  .wd-wires .w-h,.wd-wires .w-d{display:none}
  .wd-groups{grid-template-columns:minmax(0,1fr);gap:16px}
  .wd-items{display:grid;grid-template-columns:1fr 1fr;column-gap:28px}
  .wd-pair{grid-template-columns:minmax(0,1fr);gap:20px}
  .wd-phones{padding:32px 32px 0}
  .wd-ph-row{gap:20px}
  .wd-pp{width:150px;padding:7px;border-radius:26px}
  .wd-pp .ph-scr{width:136px;height:294px;border-radius:20px}
  .wd-pp .ph-scr img{width:136px;height:294px}

  .wd-tpl{padding:80px 0 76px}
  .wd-build{padding:80px 0 72px}
  .wd-rail{padding:36px 30px 32px;border-radius:32px}
  .wd-steps{grid-template-columns:repeat(2,minmax(0,1fr));gap:30px 28px}
  .wd-steps::before{display:none}

  .wd-rel{padding:0 0 48px}
  .wd-rel-h{font-size:34px}
  .wd-rel-grid{grid-template-columns:1fr 1fr;gap:16px}
  .wd-rc{min-height:280px}
  .wd-rc-work{grid-column:1 / -1;min-height:250px}
  .wd-rc-work b{max-width:340px}
  .wd-rc-pic{right:28px;bottom:-26px;width:260px;height:163px}
  .wd-rc-pic img{width:260px;height:163px}
  .wd-pairs{grid-template-columns:minmax(0,1fr);gap:12px}
  .wd-more{min-height:44px}
  .wd-link{padding-top:12px}
}

/* =====================================================================================================
   02 META ADS  /meta-ads-for-prop-firms/  (mt-)
   ===================================================================================================== */
@media (min-width:761px) and (max-width:1279px){
  .mt-four{gap:20px}
  .mt-ad{width:calc((100% - 60px) / 4)}
  .mt-ad-img{width:100%;height:auto;aspect-ratio:1}
  .mt-ad-img img{width:100%;height:100%}
  .mt-rc-ads{gap:8px}
  .mt-rc-ads img{width:calc((100% - 16px) / 3);height:auto}
}
@media (min-width:1024px) and (max-width:1279px){
  .mt-check{grid-template-columns:minmax(0,1fr);gap:16px}
  .mt-st-grid{grid-template-columns:380px minmax(0,1fr);gap:24px}
  .mt-bars li{grid-template-columns:210px minmax(0,1fr) 44px;gap:14px}
  .mt-ru-grid{grid-template-columns:330px minmax(0,1fr);gap:40px}
  .mt-tr{grid-template-columns:140px 1fr 1fr;gap:18px;padding:18px 22px}
  .mt-cr{gap:12px}
  .mt-cr-i{width:calc((100% - 24px) / 3)}
  .mt-cr-pic,.mt-cr-reel,.mt-cr-brief{width:100%;height:auto;aspect-ratio:1}
  .mt-cr-pic img{width:100%;height:100%}
  .mt-pr{padding:14px 14px 14px 10px;gap:12px}
  .mt-pr img{width:60px;height:60px}
}
@media (min-width:761px) and (max-width:1023px){
  .mt-hero-in{padding-bottom:44px}
  .mt-four{display:grid;grid-template-columns:1fr 1fr;gap:24px 28px;max-width:600px;margin:0 auto}
  .mt-ad{width:auto}
  .mt-ad:nth-child(even){margin-top:40px}
  .mt-ad:nth-child(3){margin-top:-20px}
  .mt-check{grid-template-columns:minmax(0,1fr);gap:16px;padding:22px 24px}
  .mt-check-list{grid-template-columns:1fr 1fr;gap:0 24px}
  .mt-check-list li,.mt-check-list li:first-child{padding:11px 0;border-left:0;border-top:1px solid var(--line);font-size:15px}
  .mt-check-list li:nth-child(-n+2){border-top:0}

  .mt-wall{padding:72px 0 56px}
  .mt-head{flex-direction:column;align-items:flex-start;gap:16px;margin-bottom:36px}
  .mt-lead{max-width:560px;padding-bottom:0}
  .mt-study{padding:80px 0 84px}
  .mt-st-grid{grid-template-columns:minmax(0,1fr);gap:20px}
  .mt-shape-list{grid-template-columns:1fr 1fr;row-gap:22px}
  .mt-shape-list li:nth-child(3){padding-left:0;border-left:0}
  .mt-bento{grid-template-columns:1fr 1fr;gap:16px}
  .mt-t1{grid-column:1 / -1}
  .mt-t2,.mt-t3,.mt-t4,.mt-t5{grid-column:auto}
  .mt-tile{padding:24px 22px 20px}
  .mt-tt{font-size:24px}
  .mt-rules{padding:80px 0 76px}
  .mt-ru-grid{grid-template-columns:minmax(0,1fr);gap:32px}
  .mt-tr{grid-template-columns:130px 1fr 1fr;gap:18px;padding:18px 22px}
  .mt-rel{padding:0 0 48px}
  .mt-rel-h{font-size:34px}
  .mt-rel-grid{grid-template-columns:1fr 1fr;gap:16px}
  .mt-rc{min-height:280px}
  .mt-rc-work{grid-column:1 / -1;min-height:0}
  .mt-rc-ads img{width:120px;height:120px}
  .mt-pairs{grid-template-columns:minmax(0,1fr);gap:12px}
  .mt-link{padding-top:12px}
  .mt-srcs a{display:inline-block;padding:10px 0}
}

/* =====================================================================================================
   03 GOOGLE SEO  /seo-for-prop-firms/  (se-, sx, sb, yn, sw, rel)
   ===================================================================================================== */
@media (min-width:761px) and (max-width:1279px){
  .se-h1{max-width:none}
  .se-stage .sx{width:auto}
  .sx-q{flex:1 1 auto;min-width:0;width:auto;max-width:640px}
  .sb-stat{grid-template-columns:minmax(0,1fr) minmax(0,440px);gap:40px}
}
@media (min-width:1024px) and (max-width:1279px){
  .se-h1{font-size:58px}
  .sx-body{grid-template-columns:minmax(0,1fr) 300px;gap:24px}
  .sbt{padding:6px 26px 22px}
  .sbt-r{grid-template-columns:200px minmax(0,1fr) 190px 210px;gap:18px}
  .sbt-win{margin:0 -26px;padding:18px 26px}
  .sw-grid{grid-template-columns:380px minmax(0,1fr);gap:48px}
  .sw-card{padding:40px 36px}
  .sw-card .h2{font-size:46px}
  .sw-card .btn{left:36px;bottom:40px}
  section.rel .rel-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
  .rel-links{grid-column:1 / -1;flex-direction:row;gap:24px;padding:8px 26px}
  .rel-l,.rel-l:first-child{border-top:0}
  .rel-l + .rel-l{padding-left:24px;border-left:1px solid #EAF1F6}
}
@media (min-width:761px) and (max-width:1023px){
  .se-h1{font-size:50px}
  .se-hero .p-hero-in{padding-bottom:48px}
  .se-stage .sx{padding:20px 22px 24px;border-radius:24px}
  .sx-body{grid-template-columns:minmax(0,1fr) 250px;gap:18px}
  .sx-links{grid-template-columns:1fr 1fr}
  .kp-btns{flex-wrap:wrap}
  .sx-from{display:none}

  .sb{padding:80px 0 84px}
  .sb-head{flex-direction:column;align-items:flex-start;gap:16px}
  .sb-lead{max-width:560px;padding-bottom:0}
  .sbt{margin-top:40px;padding:4px 24px 20px}
  .sbt-h{display:none}
  .sbt-r{grid-template-columns:minmax(0,1fr) minmax(0,1.2fr);gap:10px 24px;padding:20px 0}
  .sbt-r:nth-child(2){border-top:0}
  .sbt-q{grid-column:1;grid-row:1}
  .sbt-v{grid-column:1;grid-row:2;align-self:start}
  .sbt-w{grid-column:2;grid-row:1}
  .sbt-do{grid-column:2;grid-row:2}
  .sbt .sbt-lab{display:block;margin-bottom:2px;font-size:11px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:var(--ink-3)}
  .sbt-win{margin:0 -24px;padding:20px 24px}
  .sb-stat{grid-template-columns:minmax(0,1fr);gap:24px;padding:28px 28px}

  .yn{padding:84px 0 80px}
  .yn-grid{gap:16px;margin-top:40px}
  .yn-col{padding:28px 24px 24px;border-radius:30px}
  .yn-ch{font-size:22px}

  section.sw{padding:0 0 84px}
  .sw-grid{grid-template-columns:minmax(0,1fr);gap:40px}
  .sw-card{min-height:380px;padding:40px}
  .sw-card .h2{font-size:44px;max-width:380px}
  .sw-p{max-width:360px}
  .sw-ring{left:auto;right:6px;top:166px}
  .sw-ic{position:absolute;right:40px;top:56px;width:220px;height:220px;margin:0}
  .sw-card::after{left:auto;right:90px;top:270px;margin-left:0}
  .sw-card .btn{left:40px;bottom:40px}

  .se-rep{padding:80px 0}
  .se-rep-head{flex-direction:column;align-items:flex-start;gap:14px;margin-bottom:32px}
  .se-rep-p{max-width:560px;padding-bottom:0}
  .se-faq{padding-top:84px;padding-bottom:56px}
  section.rel{padding:72px 0 32px}
  .rel-head{flex-direction:column;align-items:flex-start;gap:12px}
  section.rel .rel-h{font-size:46px}
  section.rel .rel-p{max-width:560px;padding-bottom:0}
  section.rel .rel-grid{grid-template-columns:1fr 1fr;gap:14px;margin-top:32px}
  .rel-sv{min-height:260px}
  .rel-links{grid-column:auto}
}

/* =====================================================================================================
   04 EMAIL  /email-marketing-for-prop-firms/  (em-, eh, lc, ew, ck, rel)
   ===================================================================================================== */
@media (min-width:1024px) and (max-width:1279px){
  .em-h1{font-size:60px}
  .lc-st{padding:18px 14px 14px}
  .lc-sh b{font-size:18px}
  .lc-t{font-size:19px}
  .ew-grid{grid-template-columns:minmax(0,1fr) 440px;gap:56px}
}
@media (min-width:761px) and (max-width:1023px){
  .em-h1{font-size:50px}
  .em-hero .p-hero-in{padding-bottom:48px}
  .em-stage .p-band{top:190px}
  .eh{gap:28px}
  .eh .ph-scr{width:174px;height:371px;border-radius:26px}
  .eh-phone{padding:8px;border-radius:33px}
  .eh-c .eh-phone{padding:9px;border-radius:38px}
  .eh-c .ph-scr{width:212px;height:452px;border-radius:30px}
  .eh-l,.eh-r{margin-top:56px}
  .eh-cap{font-size:12.5px;padding:0 12px 0 10px}

  .lc{padding:80px 0 76px}
  .lc-head{flex-direction:column;align-items:flex-start;gap:16px}
  .lc-lead{max-width:560px;padding-bottom:0}
  .lc-board{grid-template-columns:repeat(2,minmax(0,1fr));margin-top:40px}
  .em-deep{padding:80px 0 76px}
  .em-dh{flex-direction:column;align-items:flex-start;gap:14px;margin-bottom:32px}
  .em-dp{max-width:560px;padding-bottom:0}
  .ew{padding:80px 0 80px}
  .ew-grid{grid-template-columns:minmax(0,1fr);gap:40px}
  .em-faq{padding-bottom:56px}
}

/* =====================================================================================================
   OUR WORK  /work/  (wo-, cs-, wa-, we-, ws-)
   ===================================================================================================== */
@media (min-width:761px) and (max-width:1279px){
  .wo-shot{height:auto;aspect-ratio:295/180}
  .wo-shot img{width:100%;height:auto}
  .cs-head{grid-template-columns:320px minmax(0,1fr);gap:40px}
  .cs-no{font-size:130px}
  .cs-name{margin-top:-44px;font-size:48px}
  .cs-stage{height:calc(40vw + 10px);margin-top:44px}
  .cs-browser{width:calc(100% - 130px)}
  .cs-view{--vh:100cqh;height:auto;aspect-ratio:880/600;container-type:size}
  .cs-tall{width:100%;height:auto}
  .cs-phone{bottom:40px;width:196px;padding:7px;border-radius:30px}
  .cs-l .cs-phone{left:auto;right:0}
  .cs-r .cs-phone{left:0}
  .cs-phone .ph-scr{width:182px;height:394px;border-radius:24px}
  .cs-phone img{width:182px;height:394px}
  .wa-img{width:100%;height:auto;aspect-ratio:1}
  .wa-img img{width:100%;height:100%}
}
@media (min-width:1024px) and (max-width:1279px){
  .cs-panel{padding:48px 44px 0}
  .wa-head{grid-template-columns:minmax(0,1fr) 340px;gap:40px}
  .wa-grid{gap:26px 16px}
  .we-head{gap:40px}
  .we-n{min-width:150px;padding:20px 20px 18px}
  .we-n b{font-size:44px}
}
@media (min-width:761px) and (max-width:1023px){
  .wo-index{grid-template-columns:1fr 1fr;gap:16px}
  .wo-proof{margin-top:44px}
  .cs-sec{padding-top:80px}
  .cs-sec-head{flex-direction:column;align-items:flex-start;gap:14px;margin-bottom:40px}
  .cs-sec-lead{max-width:560px;padding-bottom:0}
  .cs + .cs{margin-top:24px}
  .cs-panel{padding:40px 36px 0;border-radius:36px}
  .cs-head{grid-template-columns:minmax(0,1fr);gap:22px}
  .cs-no{font-size:120px}
  .cs-name{margin-top:-40px;font-size:44px}
  .cs-about{padding-top:0}
  .cs-line{font-size:17.5px}
  .cs-stage{height:calc(48vw - 10px);margin-top:36px}
  .cs-browser{width:calc(100% - 90px)}
  .cs-phone{width:160px;padding:6px;border-radius:26px;bottom:30px}
  .cs-l .cs-phone{right:-10px}
  .cs-r .cs-phone{left:-10px}
  .cs-phone .ph-scr{width:148px;height:320px;border-radius:21px}
  .cs-phone img{width:148px;height:320px}
  .cs-more{min-height:44px;display:inline-flex;align-items:center}

  .wa-sec{margin-top:80px;padding:80px 0}
  .wa-head{grid-template-columns:minmax(0,1fr);gap:28px;margin-bottom:40px}
  .wa-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:26px 18px}
  .wa-ad:last-child:nth-child(3n+1){grid-column:2}
  .wa-foot{flex-direction:column;align-items:flex-start;gap:18px}

  .we-sec{padding:80px 0}
  .we-head{grid-template-columns:minmax(0,1fr);gap:26px;margin-bottom:40px}

  .ws-sec{padding:80px 0 56px}
  .ws-head{flex-direction:column;align-items:flex-start;gap:14px;margin-bottom:36px}
  .ws-lead{max-width:560px;padding-bottom:0}
  .ws-grid{grid-template-columns:1fr 1fr;gap:14px}
  .ws{min-height:300px}
  .ws-note a{display:inline-flex;align-items:center;min-height:44px}
}

/* =====================================================================================================
   HOW WE WORK  /how-it-works/  (hw-, hs-, hv-, hr-)
   ===================================================================================================== */
@media (min-width:1024px) and (max-width:1279px){
  .hs-in,.hs-r .hs-in{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:48px}
  .hs-h{font-size:46px}
  .hs-p{font-size:17.5px}
  .hs-need,.hs-get{padding:18px 18px 20px}
  .hv-panel{padding:56px 48px}
  .hv-labels,.hv-row{grid-template-columns:330px minmax(0,1fr)}
  .hr-grid{grid-template-columns:400px minmax(0,1fr);gap:48px}
}
@media (min-width:761px) and (max-width:1023px){
  .hw-track{grid-template-columns:1fr 1fr;gap:16px}
  .hs-sec{padding:48px 0 16px}
  .hs{padding:0}
  .hs + .hs{margin-top:72px}
  .hs-slab{display:none}
  .hs-in,.hs-r .hs-in{grid-template-columns:minmax(0,1fr);gap:36px}
  .hs-art{order:-1;margin:0 -40px;padding:44px 40px;background:var(--hs-bg);overflow:hidden}
  .hs-art::before{content:"";position:absolute;inset:0;background-image:radial-gradient(var(--hs-dot) 1.2px,transparent 1.4px);background-size:22px 22px}
  .hs-art .ui{max-width:620px;margin:0 auto}
  .hs-h{font-size:46px}
  .hs-p{max-width:620px}
  .hv-sec{padding-top:80px}
  .hv-panel{padding:48px 32px 40px;border-radius:40px}
  .hv-head{grid-template-columns:minmax(0,1fr);gap:16px}
  .hv-labels,.hv-row{grid-template-columns:minmax(0,.8fr) minmax(0,1fr)}
  .hv-a{padding:16px 18px;font-size:16px}
  .hv-b{padding:15px 18px 16px}
  .hv-b b{font-size:17px}
  .hr-sec{margin-top:80px;padding:80px 0}
  .hr-grid{grid-template-columns:minmax(0,1fr);gap:40px}
  .hw-faq{padding-top:84px}
}

/* =====================================================================================================
   BOOK A CALL  /book-a-call/  (bk-, bc-, bp-, br-)
   ===================================================================================================== */
@media (min-width:1024px) and (max-width:1279px){
  .bp-grid{grid-template-columns:minmax(0,1fr) 480px;gap:48px}
  .bc-panel{padding:36px 32px 40px}
  .bc-steps{gap:20px}
  .bc-t{font-size:22px}
  .br-v{font-size:28px}
}
@media (min-width:761px) and (max-width:1023px){
  .bc-sec{padding-top:80px}
  .bc-head{flex-direction:column;align-items:flex-start;gap:14px;margin-bottom:36px}
  .bc-lead{max-width:560px;padding-bottom:0}
  .bc-panel{padding:32px 32px 36px;border-radius:34px}
  .bc-bar{display:none}
  .bc-steps{grid-template-columns:1fr 1fr;gap:30px 32px;margin-top:0}
  .bc-when{display:block;margin-top:16px;margin-bottom:-10px;font-size:11.5px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:var(--sky)}
  .bp-sec{margin-top:80px;padding:80px 0}
  .bp-grid{grid-template-columns:minmax(0,1fr);gap:40px}
  .br-sec{padding-top:80px}
  .br-grid{grid-template-columns:1fr 1fr;gap:14px}
  .br-card{min-height:280px}
  .br-card:last-child:nth-child(odd){grid-column:1 / -1;min-height:0}
  .br-v{font-size:28px}
  .bk-faq{padding-top:84px;padding-bottom:84px}
  .bk-faq-p{order:0;max-width:560px}
}

/* =====================================================================================================
   CALCULATOR  /prop-firm-calculator/  (pc-, po-, pf-, ps-)
   ===================================================================================================== */
@media (min-width:1024px) and (max-width:1279px){
  .pc-body{grid-template-columns:minmax(0,1fr) 480px}
  .pc-in{padding:24px 26px 28px 24px}
  .po-big{font-size:54px}
  .pf-grid{grid-template-columns:360px minmax(0,1fr);gap:48px}
}
@media (min-width:761px) and (max-width:1023px){
  .pc-body{grid-template-columns:minmax(0,1fr)}
  .pc-in{padding:24px 28px 26px}
  .pc-out{margin:0 12px 12px}
  .seg-b{height:38px;padding:0 16px}
  .pc-reset{height:40px}
  .sl{height:36px;margin-top:6px}
  .sl-tr{top:15px}
  .sl-th{top:5px;width:26px;height:26px;margin-left:-13px}
  .pc-app .sw{width:52px;height:32px}
  .pc-app .sw-k{width:26px;height:26px}
  .pf-sec{padding:80px 0}
  .pf-grid{grid-template-columns:minmax(0,1fr);gap:36px}
  .ps-sec{padding:64px 0 80px}
  .ps-box{grid-template-columns:minmax(0,1fr);gap:24px;padding:36px 36px}
  .ps-act{flex-direction:row;align-items:center;gap:24px}
  .ps-links a,.ps-wa{display:inline-flex;align-items:center;min-height:44px}
}

/* =====================================================================================================
   BLOG  /blog/  (bl-, post, cv-, nx-)
   ===================================================================================================== */
@media (min-width:761px) and (max-width:1279px){
  .cv-browser{width:calc(100% - 150px);left:36px}
  .cv-shot{width:100%;height:auto;aspect-ratio:440/275}
  .cv-shot img{width:100%;height:100%}
  .cv-phone{right:30px}
  .pb{left:32px;right:32px;top:36px}
  .pb-row{grid-template-columns:34px 92px minmax(0,1fr) auto;gap:10px}
}
@media (min-width:1024px) and (max-width:1279px){
  .nx-panel{grid-template-columns:340px minmax(0,1fr);gap:48px;padding:52px 48px}
  .p-cta--sm .p-cta-box{padding:44px 270px 44px 48px}
}
@media (min-width:761px) and (max-width:1023px){
  .bl-grid{grid-template-columns:minmax(0,1fr);gap:24px}
  .post-cv{height:380px}
  .cv-browser{width:470px;left:48px;top:48px}
  .cv-phone{right:56px;top:110px;width:130px}
  .cv-phone .ph-scr{height:252px}
  .cv-phone .ph-scr img{width:118px;height:252px}
  .pb{left:48px;right:48px;top:44px}
  .pb-row{grid-template-columns:34px 110px minmax(0,1fr) auto;gap:12px}
  .nx{padding:72px 0 32px}
  .nx-panel{grid-template-columns:minmax(0,1fr);gap:30px;padding:44px 40px 36px;border-radius:36px}
  .nx-h{font-size:42px}
  .nx-p{max-width:520px}
  .p-cta--sm .p-cta-box{grid-template-columns:minmax(0,1fr);padding:40px 230px 40px 40px}
  .p-cta--sm .p-cta-h{font-size:36px}
  .p-cta--sm .p-cta-orb{width:240px;height:240px;right:-30px;bottom:-60px}
}

/* =====================================================================================================
   ARTICLES + LEGAL  (content.css, article.css, legal.css)
   ===================================================================================================== */
@media (min-width:761px) and (max-width:1279px){
  .c-col{width:auto;max-width:720px}
  /* real-work crops scale with the column (offsets in % of the crop box) */
  .crop-home{height:auto;aspect-ratio:720/450}
  .crop-home img{width:100%;height:auto}
  .crop-picker{height:auto;aspect-ratio:720/390}
  .crop-picker img{top:-301.54%;width:100%;height:auto}
  .crop-rules{height:auto;aspect-ratio:720/348}
  .crop-rules img{top:-477.59%;width:100%;height:auto}
  .phones{gap:20px;padding:30px 20px 26px}
  .phones .phone{width:calc((100% - 80px) / 3);max-width:230px}
  .phones .ph-scr{height:auto;aspect-ratio:216/467}
  .phones .ph-scr img{width:100%;height:auto}
}
@media (min-width:1024px) and (max-width:1279px){
  .c-h1{font-size:54px}
  .sum{grid-template-columns:minmax(0,1fr) 400px;gap:36px;padding:40px 40px 40px 44px}
  .c-grid{grid-template-columns:minmax(0,720px) 300px;gap:40px}
  .say{padding:48px 40px 44px}
  .say-h{font-size:42px}
  .lg-h1{font-size:56px}
  .lg-grid{grid-template-columns:260px minmax(0,720px);column-gap:56px}
}
@media (min-width:761px) and (max-width:1023px){
  .c-hero .p-hero-in{padding:36px 0 48px}
  .c-h1{font-size:46px}
  .c-dek{font-size:18.5px}
  .c-stage{padding-bottom:64px}
  .sum{grid-template-columns:minmax(0,1fr);gap:28px;padding:36px 36px 34px;border-radius:30px}
  .c-body{padding:64px 0 0}
  .c-grid{grid-template-columns:minmax(0,1fr);gap:0}
  .c-col{max-width:none}
  .c-seg{padding:64px 0 0}
  .c-end{padding-bottom:80px}
  .c-rail{order:-1;gap:14px;margin-bottom:44px}
  .c-rail .toc,.c-rail .rc{display:none}
  .c-rail .toc-m{display:block}
  .toc-m{border-radius:20px;background:#fff;border:1px solid #DCEDFA;box-shadow:0 8px 20px rgba(3,46,74,.05)}
  .toc-m summary{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:60px;padding:0 22px;list-style:none;cursor:pointer;font-size:17px;font-weight:700}
  .toc-m summary::-webkit-details-marker{display:none}
  .toc-m summary span{display:flex;align-items:center;gap:10px}
  .toc-m summary small{font-size:13px;font-weight:600;color:var(--ink-3)}
  .toc-m summary i{display:grid;place-items:center;width:32px;height:32px;border-radius:50%;background:var(--ice);border:1px solid var(--ice-2);color:var(--navy)}
  .toc-m ol{padding:0 22px 10px}
  .toc-m a{display:grid;grid-template-columns:32px 1fr;align-items:center;min-height:48px;padding:6px 0;border-top:1px solid #EEF4F9;font-size:15.5px;font-weight:600}
  .toc-m a span{font-size:12.5px;font-weight:700;color:var(--sky-deep)}
  .c-band{padding:64px 0 68px;margin-top:80px}
  .c-band-head{flex-direction:column;align-items:flex-start;gap:12px;margin-bottom:28px}
  .c-band-h{font-size:40px}
  .say{margin-top:48px;padding:40px 32px 36px;border-radius:36px}
  .say-head{flex-direction:column;align-items:flex-start;gap:12px}
  .say-h{font-size:40px}
  .sh{padding:20px 22px 14px}
  .say .sx,.say .sy{padding:16px 22px}
  .sx q,.sy q{font-size:17px}
  div.rel{padding:64px 0 0}
  .rel-c{min-height:230px;padding:28px 26px 26px}
  .rel-c .rel-t{font-size:26px}
  .rel-c .rel-ic{width:140px;height:140px;right:-20px;top:-20px}

  .lg-hero .p-hero-in{padding-bottom:44px}
  .lg-h1{font-size:50px}
  .lg-body{padding:48px 0 80px}
  .lg-grid{grid-template-columns:minmax(0,1fr);row-gap:0}
  .lg-side{margin-bottom:36px}
  .lg-side .rc{display:none}
  .lg-set a{min-height:44px}
}

/* =====================================================================================================
   404
   ===================================================================================================== */
@media (min-width:761px) and (max-width:1279px){
  .nf-shot{width:100%;height:auto;aspect-ratio:1600/1000}
  .nf-shot img{width:100%;height:100%}
}
@media (min-width:1024px) and (max-width:1279px){
  .nf-c{padding:26px 22px 24px}
  .nf-t{font-size:24px}
}
@media (min-width:761px) and (max-width:1023px){
  .nf-num{font-size:170px}
  .nf-grid{grid-template-columns:1fr 1fr;gap:16px}
  .nf-c{min-height:300px}
  .nf-more a{display:inline-flex;align-items:center;min-height:44px}
}

/* =====================================================================================================
   ROUND 2 fixes (after the first look at 768 / 834 / 1024 / 1180)
   ===================================================================================================== */
@media (min-width:761px) and (max-width:1023px){
  /* closing CTA: the orb sits lower and smaller so it never sits on the WhatsApp link */
  .p-cta-orb{right:-56px;bottom:-96px;width:230px;height:230px}
  /* wide cards with the 3D icon on the right: the button follows the copy */
  .pr-card,.sw-card{min-height:360px}
  .pr-card .btn,.sw-card .btn{position:relative;left:auto;bottom:auto;margin-top:30px}
  /* calculator: inputs come first, so a slim result bar stays in view while sliding (as on the phone) */
  .pc-hero{overflow:clip}
  .pc-mini{position:sticky;top:12px;z-index:5;display:flex;align-items:center;justify-content:space-between;gap:12px;margin:14px 14px 0;padding:12px 14px 12px 20px;border-radius:18px;color:#fff;background:linear-gradient(170deg,#053658 0%,#032E4A 60%,#021C2E 100%);box-shadow:0 14px 30px rgba(3,46,74,.3)}
  .pcm-t{display:flex;flex-direction:column;line-height:1.15}
  .pcm-t small{font-size:11px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:var(--sky)}
  .pcm-t b{margin-top:3px;font-size:24px;font-weight:700;letter-spacing:-.03em;font-variant-numeric:tabular-nums}
  .pcm-c{display:inline-flex;align-items:center;gap:6px;height:32px;padding:0 12px;border-radius:99px;font-size:12.5px;font-weight:700;white-space:nowrap}
  .pcm-c i{width:7px;height:7px;border-radius:50%;background:currentColor}
  .seg-b{height:44px}
  .pc-app .sw::before{content:"";position:absolute;inset:-6px -4px}
}
@media (min-width:1024px) and (max-width:1279px){
  .de .ex-cap{white-space:normal}
  .call-body{grid-template-columns:150px minmax(0,1fr)}
  .call-tile{height:96px}
}
@media (min-width:1024px) and (max-width:1179px){
  .mt-ru-grid{grid-template-columns:minmax(0,1fr);gap:36px}
  .mt-ru-l{max-width:760px}
  .mt-tr{grid-template-columns:170px 1fr 1fr}
  .hs-in,.hs-r .hs-in{grid-template-columns:minmax(0,.95fr) minmax(0,1.05fr);gap:40px}
  .hs-lists{grid-template-columns:minmax(0,1fr);gap:12px}
}
@media (min-width:761px) and (max-width:1279px){
  /* article "keep reading" cards: smaller 3D icon so it never sits on the title */
  .rel-c .rel-ic{width:120px;height:120px;right:-12px;top:-14px}
  .rel-c .rel-t,.rel-c .rel-k{max-width:calc(100% - 84px)}
}
@media (min-width:761px) and (max-width:1023px){
  .cs-spec-ad dd a{display:inline-block;padding:6px 0;margin:-6px 0}
}
@media (min-width:761px) and (max-width:1179px){
  .nm-wa{display:inline-flex;align-items:center;min-height:44px}
}
@media (min-width:761px) and (max-width:1279px){
  /* demo captions + Replay never run out of a narrow column */
  .demo-foot{flex-wrap:wrap;row-gap:8px}
  .dw-side .ex-cap{white-space:normal}
}
@media (min-width:761px) and (max-width:1023px){
  .lg-c-links a{min-height:44px}
}
