/* mobile pass: system — every rule must sit inside a phone/tablet media query (max-width:900px or narrower); desktop must not change */

/* ---------- #system: brain globe + Feed/Learn/Suggest/Ship ---------- */
@media (max-width:820px){
  .v03a{padding-block:56px 28px}
  .v03a .kicker{margin-bottom:16px}
  .v03a .display{max-width:7.4em}
  .v03a-act{margin-top:20px}
  .v03a .link{display:inline-block;padding:14px 0 3px;margin-top:-14px}
  /* globe stage: js/system.js centres the globe in this box and sizes it to fit the screen width */
  .v03a-stage{height:clamp(320px,92vw,420px);margin-top:4px}
  /* steps: tidy 2x2 grid with hairline cross dividers */
  .v03a-beats{grid-template-columns:1fr 1fr;row-gap:0;margin-top:8px}
  .v03a-beats li{padding:18px 14px 20px 0;border-left:0}
  .v03a-beats li:nth-child(even){padding-left:16px;padding-right:0;border-left:1px solid rgba(16,36,26,.1)}
  .v03a-beats li:nth-child(n+3){border-top:1px solid rgba(16,36,26,.1)}
  .v03a-beats h3{gap:10px;font-size:1.18rem}
  .v03a-beats p{margin-top:6px;font-size:.95rem;line-height:1.45}
  html[data-theme=dark] .v03a:not([data-tone]) .v03a-beats li:nth-child(even),
  html[data-theme=dark] .v03a:not([data-tone]) .v03a-beats li:nth-child(n+3){border-color:rgba(242,239,230,.1)}
}
@media (max-width:360px){
  .v03a-beats li{padding-right:10px}
  .v03a-beats li:nth-child(even){padding-left:12px}
  .v03a-beats h3{font-size:1.08rem}
}

/* ---------- #faq ---------- */
@media (max-width:900px){
  .faq{padding-top:44px;padding-bottom:36px;row-gap:28px}
  .faq__still{margin-top:18px}
  .faq__still .tile__go{min-height:44px;align-items:center}
  .acc button{min-height:60px;padding:16px 0;grid-template-columns:34px 1fr 28px;column-gap:4px;-webkit-tap-highlight-color:transparent}
  .acc__t{font-size:1.1rem;line-height:1.25;text-wrap:balance}
  .acc__x{width:28px;height:28px}
  .acc__x::before,.acc__x::after{left:8px;right:8px;top:13.25px}
  .acc__in{padding:0 4px 22px 38px;font-size:1rem;line-height:1.55}
  .acc__in p+p{margin-top:12px}
  /* open state: title picks up the bronze so the open row reads at a glance */
  .acc__i.is-open .acc__t{color:var(--bronze-d,#A46A2C)}
  html[data-theme=dark] .acc__i.is-open .acc__t{color:var(--bronze-l)}
}

/* ---------- #ending: Book your GTM Engine Review ---------- */
@media (max-width:900px){
  .endbox{padding-block:32px 28px}
}
@media (max-width:560px){
  .endbox__card.tile{padding:40px 22px 26px}
  .endbox__k{margin-bottom:14px}
  .endbox__h{font-size:clamp(2.2rem,10.4vw,2.7rem)}
  .endbox__s{margin-top:14px;font-size:1.04rem}
  .endbox__btn{width:100%;min-width:0;height:58px;margin-top:24px}
}

/* ---------- footer (generic: same markup on inner pages) ---------- */
@media (max-width:560px){
  .ft-f--a{padding:0 10px 10px}
  .ft-panel{border-radius:26px;padding:28px 22px 0}
  /* report form: full-width field, full-width button underneath */
  [data-foot=e] .ft-rep{gap:14px;margin-top:22px}
  /* newsletter: the same single pill as desktop, edge-aligned with the text above and below */
  [data-foot=e] .ft-rep{max-width:none}
  [data-foot=e] .ft-rep input{font-size:16px}
  html[data-fbtn] [data-foot=e] .ft-link2,[data-foot=e] .ft-link2{min-height:44px;margin-top:0}
  /* link columns: Explore | Resources, then Legal and Get in touch full width */
  .ft-a__top{gap:24px}
  .ft-a__cols{grid-template-columns:1fr 1fr;gap:30px 16px;padding-top:28px;margin-top:-4px;border-top:1px solid var(--f-line)}
  .ft-col h3{margin-bottom:8px}
  .ft-col a:not(.ft-who){min-height:44px}
  .ft-a__cols .ft-col:nth-child(3){grid-column:1/-1;display:flex;flex-wrap:wrap;column-gap:24px}
  .ft-a__cols .ft-col:nth-child(3) h3{flex:0 0 100%}
  .ft-col--touch{grid-column:1/-1}
  .ft-col--touch h3{margin-bottom:14px}
  .ft-people{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px 10px}
  .ft-people .ft-who:not(.ft-who--mail){flex-direction:column;align-items:flex-start;gap:10px}
  .ft-people .ft-av:not(.ft-av--m){width:46px;height:46px}
  .ft-who--mail{grid-column:1/-1;min-height:44px;margin-top:4px}
  .ft-bar{align-items:center;padding:16px 0 18px}
  .ft-soc{width:44px;height:44px}
}
