/* v297: wide-screen fill, home grid rows, accent-following colours, readability, Quick questions accordion, Social sign-in fill.
   Loaded LAST. Phone layout (<900px) is untouched except the FAQ / Social extras which are mobile-first. */

/* ---------- 1. Laptop / desktop: use the screen (was 1120px at 1366, 1280px at 1920) ---------- */
@media (min-width:900px){
  html body main#app{max-width:1600px!important;width:calc(100% - 40px)!important;margin-left:auto!important;margin-right:auto!important;box-sizing:border-box}
  html body main#app>[id^="view-"]{max-width:none!important;width:auto!important;margin-left:0!important;margin-right:0!important}
}
@media (min-width:1200px){html body main#app{width:calc(100% - 56px)!important}}
@media (min-width:900px){
  html body #planContent,html body #gxRoot,html body #view-challenge>.card,html body #runContent{max-width:none!important}
}

/* Run page at laptop width: banner photo kept to a sensible height; the pre-run tracker uses two columns
   (Start + stats on the left, map on the right) so the card is not one long stretched column.
   Only applies while the pre-run map is showing (:has(#preMap)); during a run the tracker is unchanged. */
@media (min-width:900px){
  html body #view-run .run-photo-hero{aspect-ratio:auto!important;height:clamp(260px,26vw,420px)!important}
}
@media (min-width:1100px){
  html body #runContent>.rx-hero:has(>#preMap){display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1.2fr);column-gap:28px;row-gap:12px;align-content:start}
  html body #runContent>.rx-hero:has(>#preMap)>*{grid-column:1/-1;margin-top:0;margin-bottom:0}
  html body #runContent>.rx-hero:has(>#preMap)>:is(.rx-ready,.run-type,#runStart,.rx-ov){grid-column:1}
  html body #runContent>.rx-hero:has(>#preMap)>#runStart{justify-self:center}
  html body #runContent>.rx-hero:has(>#preMap)>#preMap{grid-column:2;grid-row:2/span 4;height:auto!important;min-height:300px;align-self:stretch}
  html body #runContent>.rx-hero:has(>#preMap)>#preLocate{grid-column:2;grid-row:6;justify-self:center}
  html body #runContent>.rx-hero:has(>#preMap)>#preLocate+p{grid-column:1;grid-row:6;align-self:center}
}

/* ---------- 4. Home grid: Explore gets its own full-width row; mini cards fill their tile ---------- */
html body #homeContent>.h286-head,html body #homeContent>.h286-row{grid-column:1/-1!important}
html body #homeContent>.h286-row{width:auto!important;margin-left:0!important;margin-right:0!important}
html body .run-mini{flex-direction:row!important;align-items:center!important;justify-content:flex-start!important;text-align:left!important;gap:16px!important}
html body .run-mini>div{flex:1 1 auto;min-width:0;display:flex;flex-direction:column;align-items:flex-start;gap:3px;text-align:left}
html body .run-mini:not(.team-mini){position:relative;padding-left:20px!important}
html body .run-mini:not(.team-mini)::before{content:"";flex:none;width:52px;height:52px;border-radius:15px;box-sizing:border-box;background:rgba(var(--accent-rgb),.14);border:1px solid rgba(var(--accent-rgb),.3)}
html body .run-mini:not(.team-mini)::after{content:"";position:absolute;left:20px;top:50%;width:52px;height:52px;margin-top:-26px;background:var(--accent);pointer-events:none;
  -webkit-mask:var(--w297-ic) center/26px 26px no-repeat;mask:var(--w297-ic) center/26px 26px no-repeat}
html[data-theme=light] body .run-mini:not(.team-mini)::after{background:var(--accent-dark,var(--accent))}
html body .run-mini{--w297-ic:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 19c3-6 6-1 9-7s4-6 7-7'/%3E%3Ccircle cx='4' cy='19' r='1.6'/%3E%3Ccircle cx='20' cy='5' r='1.6'/%3E%3C/svg%3E")}
html body .run-mini.booth-mini{--w297-ic:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 8h3l2-3h6l2 3h3v11H4z'/%3E%3Ccircle cx='12' cy='13' r='3.5'/%3E%3C/svg%3E")}
@media (max-width:420px){html body .run-mini:not(.team-mini){padding-left:16px!important}html body .run-mini:not(.team-mini)::before{width:44px;height:44px}html body .run-mini:not(.team-mini)::after{width:44px;height:44px;margin-top:-22px;left:16px}}

/* ---------- 3. Fixed colours on Home follow the accent (and Light/Dark) ---------- */
/* "Stay safe" card had an orange border rgba(255,159,90,.4) in both themes */
html body .safety,html[data-theme] body .safety{border-color:rgba(var(--accent-rgb),.38)!important}
/* protein / water rings were fixed yellow / cyan: now two tints of the accent (calories ring stays the full accent) */
html body .r-pro .rf{stroke:color-mix(in srgb,var(--accent) 62%,var(--text))!important}
html body .r-wat .rf{stroke:color-mix(in srgb,var(--accent) 55%,var(--bg))!important}

/* ---------- 5. Readability: small meta text a little larger on wide screens ---------- */
@media (min-width:900px){
  html body main#app :is(.eyebrow,small,.small,.h286-hint,.hd-pc-h,.hd-dot,.dl-tag,.hd-eb,.hd-chal-share,.hd-buddy-s,.hd-src,.hd-buddy-go){font-size:max(13px,0.8125rem)!important}
  html body main#app :is(.muted,.st7-count,.hd-do-sub,.tk){font-size:max(13.5px,1em)}
  html body main#app i.hd-pro{font-size:10.5px!important}
}

/* ---------- 6. Quick questions: accordion cards ---------- */
html body .faq297{padding:22px 20px}
html body .faq297>h2{margin:0 0 14px}
html body .faq297 .fq-list{display:grid;grid-template-columns:minmax(0,1fr);gap:10px}
html body .faq297 .fq-item{border:1px solid var(--line);border-radius:16px;background:var(--surface,var(--card));transition:border-color .2s,box-shadow .2s;overflow:hidden}
html[data-theme=light] body .faq297 .fq-item{background:#fff;box-shadow:0 2px 10px rgba(15,23,42,.05)}
html body .faq297 .fq-item.open{border-color:rgba(var(--accent-rgb),.55);box-shadow:0 0 0 1px rgba(var(--accent-rgb),.18)}
html body .faq297 .fq-h{margin:0;font-size:inherit;font-weight:inherit;letter-spacing:0;text-transform:none}
html body .faq297 :is(.fq-q,.fq-ages){all:unset;box-sizing:border-box;display:flex;align-items:center;gap:14px;width:100%;min-height:60px;padding:12px 14px;cursor:pointer;color:var(--text);font:inherit;text-align:left;border-radius:16px}
html body .faq297 :is(.fq-q,.fq-ages):focus-visible{outline:2px solid var(--accent);outline-offset:2px}
html body .faq297 .fq-ic{flex:none;width:38px;height:38px;border-radius:11px;display:grid;place-items:center;background:rgba(var(--accent-rgb),.14);color:var(--accent);border:1px solid rgba(var(--accent-rgb),.28)}
html[data-theme=light] body .faq297 .fq-ic{color:var(--accent-dark,var(--accent))}
html body .faq297 .fq-ic svg,html body .faq297 .fq-chev svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
html body .faq297 .fq-t{flex:1 1 auto;min-width:0;font-weight:700;font-size:16px;line-height:1.3}
html body .faq297 .fq-chev{flex:none;width:30px;height:30px;border-radius:50%;display:grid;place-items:center;color:var(--muted);transition:transform .28s ease,color .2s,background .2s}
html body .faq297 .fq-q:hover .fq-chev{color:var(--accent);background:rgba(var(--accent-rgb),.1)}
html body .faq297 .fq-q[aria-expanded="true"] .fq-chev{transform:rotate(180deg);color:var(--accent)}
html body .faq297 .fq-a{display:grid;grid-template-rows:0fr;visibility:hidden;transition:grid-template-rows .28s ease,visibility .28s}
html body .faq297 .fq-item.open .fq-a{grid-template-rows:1fr;visibility:visible}
html body .faq297 .fq-in{overflow:hidden;min-height:0}
html body .faq297 .fq-in p{margin:0;padding:0 16px 16px 66px;color:var(--muted);font-size:15px;line-height:1.55}
html body .faq297 .fq-ages{margin-top:12px;border:1px solid rgba(var(--accent-rgb),.5);background:rgba(var(--accent-rgb),.12)}
html body .faq297 .fq-ages .fq-t{color:var(--text)}
html body .faq297 .fq-ages .fq-chev{color:var(--accent)}
html[data-theme=light] body .faq297 .fq-ages .fq-chev{color:var(--accent-dark,var(--accent))}
html body .faq297 .fq-ages:hover{background:rgba(var(--accent-rgb),.2)}
@media (max-width:420px){html body .faq297 .fq-in p{padding-left:16px}}
@media (min-width:900px){
  html body .faq297 .fq-list{grid-template-columns:repeat(2,minmax(0,1fr));align-items:start}
  html body .faq297 .fq-ages{width:auto;max-width:none}
}
@media (prefers-reduced-motion:reduce){html body .faq297 :is(.fq-a,.fq-chev){transition:none}}

/* ---------- 2. Social sign-in page: fill the laptop width, photos from the app ---------- */
#acGate .ac3-pics{margin:4px 0 0;display:grid;gap:8px}
#acGate .ac3-pics-row{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
#acGate .ac3-pics img{display:block;width:100%;height:auto;aspect-ratio:4/5;object-fit:cover;border-radius:14px;background:var(--card2,rgba(var(--accent-rgb),.08));border:1px solid var(--line)}
#acGate .ac3-pics figcaption{font-size:13.5px;color:var(--muted)}
@media (min-width:900px){
  html body #acGate.ac3-host{max-width:none!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;align-items:stretch;gap:24px}
  html body #acGate.ac3-host .ac3-why{align-content:start}
  html body #acGate.ac3-host .ac3-pics img{aspect-ratio:4/5}
}
@media (min-width:1200px){
  html body #acGate.ac3-host .ac3-list{grid-template-columns:repeat(2,minmax(0,1fr))!important;column-gap:18px}
}
/* single item left alone in a two-column row */
html body .pr-tick>:only-child,html body .row2.rh-opts>:only-child{grid-column:1/-1}

/* Chrome "Desktop site" on a phone (wide297.js adds html.w297-dsite): the 980px page is shrunk to the phone width,
   so body copy and meta text get bigger and muted text gets more contrast. */
html.w297-dsite body main#app :is(p,li,label,.muted,small,.small,.eyebrow){line-height:1.45}
html.w297-dsite body main#app :is(p,li){font-size:max(17px,1em)}
html.w297-dsite[data-theme=light]{--muted:#3c4350}
html.w297-dsite[data-theme=dark]{--muted:#c8c8c8}

/* ---------- v298: sign-in pages (#account, #apjjsocial, guest Profile) ----------
   social-gate.css gave #acGate min-height:calc(100dvh - 150/170px) + align-content:center. On a tall screen
   (Chrome "Desktop site" on a phone is ~980x2170 CSS px) that pushed the cards a third of the way down. Start at the top. */
html body #acGate.ac3-host,html body #view-account #acGate,html body #acGate{min-height:0!important;align-content:start!important}
@media (min-width:900px){
  /* the Account page uses the same two balanced cards as Social */
  html body #acGate:not(.ac3-solo){max-width:none!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;align-items:stretch;gap:24px}
  html body #acGate:not(.ac3-solo) .ac3-why{position:static;align-content:start}
  html body #acGate~.ac2-pricing{max-width:none}
}
@media (min-width:1200px){
  html body #acGate:not(.ac3-solo) .ac3-list{grid-template-columns:repeat(2,minmax(0,1fr))!important;column-gap:18px}
}

/* v298: "Explore the app" tiles under the sign-in cards (#account, #apjjsocial, guest Profile) */
html body .ac3-apps{margin:18px 0 0;padding:20px 18px;border-radius:22px;background:var(--surface,#111);border:1px solid var(--line,#262626);display:flex;flex-direction:column;gap:6px}
html[data-theme=light] body .ac3-apps{background:#fff;box-shadow:0 8px 24px rgba(15,23,42,.08)}
html body .ac3-apps-h{margin:0;font-size:1.15rem;color:var(--text)}
html body .ac3-apps-sub{margin:0 0 8px;color:var(--muted);font-size:14px}
html body .ac3-apps-grid{list-style:none;margin:0;padding:0;flex:1;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-auto-rows:1fr;align-content:stretch;gap:10px}
html body .ac3-apps-grid>li{display:flex;min-width:0}
html body .ac3-app{position:relative;flex:1;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:10px;min-height:116px;padding:14px 14px 14px;border-radius:16px;text-decoration:none;color:var(--text);
  background:rgba(var(--accent-rgb),.05);border:1px solid rgba(var(--accent-rgb),.22);transition:border-color .2s,background .2s,transform .2s}
html[data-theme=light] body .ac3-app{background:linear-gradient(180deg,#fff,rgba(var(--accent-rgb),.05))}
html body .ac3-app:hover{border-color:rgba(var(--accent-rgb),.6);background:rgba(var(--accent-rgb),.1)}
html body .ac3-app:focus-visible{outline:3px solid var(--accent);outline-offset:2px}
html body .ac3-app-ic{width:40px;height:40px;flex:none;border-radius:12px;display:grid;place-items:center;background:rgba(var(--accent-rgb),.14);border:1px solid rgba(var(--accent-rgb),.3);color:var(--accent)}
html[data-theme=light] body .ac3-app-ic{color:var(--accent-dark,var(--accent))}
html body .ac3-app svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
html body .ac3-app-t{display:grid;gap:3px;padding-right:18px}
html body .ac3-app-t b{font-size:15px;line-height:1.25;color:var(--text)}
html body .ac3-app-t small{font-size:13px;line-height:1.35;color:var(--muted)}
html body .ac3-app-go{position:absolute;top:14px;right:12px;color:var(--muted)}
html body .ac3-app-go svg{width:18px;height:18px}
html body .ac3-app:hover .ac3-app-go{color:var(--accent)}
@media (min-width:600px){html body .ac3-apps-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media (min-width:900px){html body .ac3-apps{padding:26px 24px;margin-top:24px}html body .ac3-apps-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}}
@media (min-width:1200px){html body .ac3-apps-grid{grid-template-columns:repeat(6,minmax(0,1fr))}}
@media (prefers-reduced-motion:reduce){html body .ac3-app{transition:none}}

/* v298: Lifetime "Best value" badge. On wide screens the card is two columns and the list sits top-right,
   so the absolute badge covered its first line. Put the badge in the left column's flow instead. */
@media (min-width:900px){
  html body .pr-lifetime .lt-card .lt-best{position:static;justify-self:start;align-self:start;display:inline-block;width:max-content;margin:0 0 10px}
  html body .pr-lifetime .lt-card .eyebrow{padding-right:0}
}
html body #acGate>.ac3-apps,html body .ac3-apps{grid-column:1/-1;width:100%;box-sizing:border-box;min-width:0}
/* Social: the gate wrapper was a centred row, so the tiles sat beside the cards. Stack them. */
html body .sg-wrap{flex-direction:column;align-items:stretch;justify-content:flex-start;min-height:0!important}
html body .sg-wrap>#acGate{width:100%}

/* ===== v298b: home bottom — balanced card pairs, roomier tiles, consistent buttons ===== */
@media (min-width:900px){
  /* reflow: "Need a hand?" becomes a full-width strip and "What you can do here" goes full width,
     so no short card is stretched beside a tall one */
  html body #homeContent>.support-card{grid-column:1/-1}
  html body #homeContent>.card:has(>.feat){grid-column:1/-1}
  html body #homeContent>.card>.feat{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
  html body #homeContent>.support-card{display:flex!important;flex-direction:row!important;align-items:center!important;justify-content:space-between;gap:16px 24px;flex-wrap:wrap}
  html body #homeContent>.support-card .sc-row h2{margin:0 0 4px}html body #homeContent>.support-card .sc-row p{margin:0}
  html body #homeContent>.support-card .sc-row{flex:1 1 220px;min-width:0}
  html body #homeContent>.support-card>.btn{margin:0!important;flex:none!important;width:auto!important;min-width:180px}
  html body #homeContent>.tip-card{display:flex;flex-direction:column}
  html body #homeContent>.tip-card #tipText{flex:1;display:flex;align-items:center;margin:6px 0 0;padding:12px 14px;border-left:3px solid var(--accent);border-radius:10px;background:rgba(var(--accent-rgb),.07);font-size:1.02rem;line-height:1.5}
  html body #homeContent>.theme-card,html body #homeContent>.wk-chall,html body #homeContent>.safety{display:flex;flex-direction:column}
}
@media (min-width:1200px){html body #homeContent>.card>.feat{grid-template-columns:repeat(8,minmax(0,1fr))}}
html body #homeContent .feat .ft{padding:14px 12px;min-height:96px;gap:4px;border-radius:14px;justify-content:flex-start;text-align:left;align-items:flex-start}
html body #homeContent .feat .ft b{line-height:1.25}
html body #homeContent .feat .ft small{line-height:1.35}

/* consistent pill buttons: Get Support, About links, View all, Install */
html body #homeContent .support-card>.btn,
html body .home-intro .home-intro-links a,
html body main .site-foot3 .sfh-view{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:44px;padding:0 20px;border-radius:999px;font:700 15px/1 var(--body,system-ui);text-decoration:none;cursor:pointer;
  background:rgba(var(--accent-rgb),.08)!important;color:var(--text)!important;-webkit-text-fill-color:currentColor;border:1.5px solid rgba(var(--accent-rgb),.45)!important;box-shadow:none!important;transition:background .2s,border-color .2s}
html body #homeContent .support-card>.btn:hover,html body .home-intro .home-intro-links a:hover,html body main .site-foot3 .sfh-view:hover{background:rgba(var(--accent-rgb),.16)!important;border-color:var(--accent)!important}
html body .home-intro .home-intro-links a:first-child{background:var(--accent)!important;border-color:var(--accent)!important;color:#fff!important}
html[data-theme=light] body .home-intro .home-intro-links a:first-child{background:var(--accent-dark,var(--accent))!important;border-color:var(--accent-dark,var(--accent))!important}
html body .home-intro .home-intro-links a:first-child:hover{filter:brightness(1.08)}
html body .home-intro .home-intro-links{display:flex;flex-wrap:wrap;gap:10px;margin:14px 0 0}
html body .home-intro{padding:22px 22px 20px;border-radius:22px;background:var(--surface,#111);border:1px solid var(--line);margin-top:18px}
html[data-theme=light] body .home-intro{background:#fff;box-shadow:0 8px 24px rgba(15,23,42,.06)}
html body .home-intro h2{margin:0 0 8px}
html body .home-intro p{max-width:78ch;line-height:1.6;color:var(--muted)}
html body .home-intro p.home-intro-links{max-width:none}

/* ===== v298b: site footer ===== */
html body main .site-foot3{box-sizing:border-box;margin:22px 0 0!important;padding:28px 22px 18px!important;border-radius:24px;border:1px solid var(--line)!important;border-top:3px solid var(--accent)!important;
  background:var(--surface,#111)!important;display:flex;flex-direction:column;align-items:center;gap:18px;text-align:center}
html[data-theme=light] body main .site-foot3{background:#fff!important;box-shadow:0 10px 30px rgba(15,23,42,.07)}
html body main .site-foot3 .sf3-top{display:flex;flex-direction:column;align-items:center;gap:10px!important;width:100%}
html body main .site-foot3 .sf3-tag{margin:0;color:var(--muted);font-weight:600}
html body main .site-foot3 .sf3-laws{box-sizing:border-box;width:100%;max-width:440px;margin:4px 0 0;padding:16px 18px;border-radius:18px;text-align:left;display:grid;gap:8px;justify-items:start;
  background:rgba(var(--accent-rgb),.06)!important;border:1px solid rgba(var(--accent-rgb),.22)!important}
html body main .site-foot3 .sf3-laws .sfh-head{margin:0;display:flex;align-items:center;gap:6px 8px;flex-wrap:wrap}
html body main .site-foot3 .sf3-laws .sfh-txt{margin:0;color:var(--text)}
html body main .site-foot3 .sfh-view{min-height:40px;padding:0 16px;font-size:14px}
html body main .site-foot3 .sf3-install{width:100%;max-width:440px;display:flex;flex-direction:column;align-items:stretch}
html body main .site-foot3 .sf3-inst-btn{width:100%;border-radius:18px}
html body main .site-foot3 .sf3-links{display:flex;flex-wrap:wrap;justify-content:center;gap:8px;margin:0;padding:0}
html body main .site-foot3 .sf3-links a{min-height:40px;padding:0 14px;border:1px solid var(--line);background:transparent}
html body main .site-foot3 .sf3-links a:hover{border-color:var(--accent);color:var(--accent)!important}
html body main .site-foot3 .soc{margin:0!important;display:flex;flex-direction:column;align-items:center;gap:10px!important}
html body main .site-foot3 .soc-h{margin:0}
html body main .site-foot3 .soc-list{display:flex;gap:10px;margin:0;padding:0;list-style:none}
html body main .site-foot3 .soc-l{width:44px;height:44px;border-radius:999px;display:grid;place-items:center;border:1px solid var(--line);background:rgba(var(--accent-rgb),.06)}
html body main .site-foot3 .soc-l:hover{border-color:var(--accent)}
html body main .site-foot3 .sf3-copy{width:100%;margin:0!important;padding-top:14px!important;border-top:1px solid var(--line);color:var(--muted);font-size:13px}
@media (min-width:900px){
  html body main .site-foot3{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1.25fr) minmax(0,1fr);grid-template-rows:auto auto 1fr auto auto;column-gap:32px;row-gap:12px;align-items:start;text-align:left;padding:30px 32px 18px!important}
  html body main .site-foot3 .sf3-top{display:contents}
  html body main .site-foot3 .sf3-logo{grid-column:1;grid-row:1;justify-self:start}
  html body main .site-foot3 .sf3-tag{grid-column:1;grid-row:2}
  html body main .site-foot3 .sf3-install{grid-column:1;grid-row:3;max-width:360px;margin-top:4px}
  html body main .site-foot3 .sf3-laws{grid-column:2;grid-row:1/4;max-width:none;margin:0}
  html body main .site-foot3 .soc{grid-column:3;grid-row:1/4;align-items:flex-start}
  html body main .site-foot3 .soc-h{font:800 12px/1 var(--body,system-ui)!important;letter-spacing:.12em;text-transform:uppercase;color:var(--muted)}
  html body main .site-foot3 .soc-list{flex-wrap:wrap}
  html body main .site-foot3 .sf3-links{grid-column:1/-1;grid-row:4;justify-content:center;padding-top:16px;margin-top:6px;border-top:1px solid var(--line)}
  html body main .site-foot3 .sf3-copy{grid-column:1/-1;grid-row:5;text-align:center;border-top:0;padding-top:4px!important}
}
html body main .site-foot3 .sf3-laws{justify-items:center!important;text-align:center!important}
html body main .site-foot3 .sf3-laws .sfh-head{justify-content:center!important}
html body main .site-foot3 .sf3-laws .sfh-txt{text-align:center!important}
@media (min-width:900px){
  html body main .site-foot3 .sf3-laws{justify-items:start!important;text-align:left!important;grid-row:1/3}
  html body main .site-foot3 .sf3-laws .sfh-head{justify-content:flex-start!important}
  html body main .site-foot3 .sf3-laws .sfh-txt{text-align:left!important}
  html body main .site-foot3 .sf3-install{grid-column:1/3;grid-row:3;max-width:none}
  html body main .site-foot3 .sf3-links{width:100%;box-sizing:border-box}
}
@media (min-width:900px){
  html body main .site-foot3 .sf3-logo{justify-self:start!important;margin:0!important}
  html body main .site-foot3 .sf3-tag{text-align:left!important;justify-self:start!important;align-self:start}
  html body main .site-foot3 .sf3-links{max-width:none!important;margin-left:0!important;margin-right:0!important}
}

/* ===== v306: desktop footer uses the same width as membership / main =====
   styles.css capped .site-foot3 at 1200px (1320px at 1600+), while wide297 opened main to ~1600px
   and #acGate~.ac2-pricing to full width — so the footer looked narrow beside membership.
   Keep the phone card as-is; only lift the cap from 900px up. */
@media (min-width:900px){
  html body main .site-foot3{max-width:none!important;width:100%!important;margin-left:0!important;margin-right:0!important;box-sizing:border-box}
  html body main .site-foot3 .soc{justify-self:stretch;align-items:flex-end!important}
  html body main .site-foot3 .soc-list{justify-content:flex-end}
}
@media (min-width:1280px){
  html body main .site-foot3{padding-left:36px!important;padding-right:36px!important;column-gap:40px}
}

/* v335: Chrome "Desktop site" on a phone (html.w297-dsite from wide297.js).
   The ~980px layout is scaled onto the phone (visualViewport.scale ≈ screen/980,
   typically 0.33–0.44). The fixed tabbar is painted in the visual viewport, so
   it covers about (tabbar height / scale) layout pixels — much more than the
   v300 flush pad of --ft-tb + 18px (~83px). That left the Install row under
   the nav. Pad enough to clear a 65px bar down to a 320px-wide phone (scale
   320/980 ≈ 0.327). Normal phone and 1:1 desktop layouts are unchanged. */
html.w297-dsite.ft-flush body main > .site-foot3,
html.w297-dsite.ft-flush body main > #view-more:not([hidden]) ~ .site-foot3,
html.w297-dsite body main > .site-foot3{
  padding-bottom:calc(var(--tb-h,65px) / 0.32 + 18px)!important;
}
