/* BIG Word theme styles. The page layouts carry their own inline styles
   (they are the approved design, moved over as-is); this file holds the
   resets, the phone layout and the little bits of interactive state. */
html{-webkit-text-size-adjust:100%;background:#FDFBF6}
body{margin:0;background:#FDFBF6}
*,*::before,*::after{box-sizing:inherit}
a{color:#C9483B}a:hover{color:#A33A2F}
img{max-width:100%}
button,input,select,textarea{color:inherit}
input:focus-visible,textarea:focus-visible,select:focus-visible,button:focus-visible,a:focus-visible{outline:3px solid #3B75B2;outline-offset:2px}
.bw-skip{position:absolute;left:-9999px;top:8px;background:#20242B;color:#fff;padding:8px 12px;border-radius:8px;font-weight:800;z-index:100}
.bw-skip:focus{left:8px;color:#fff}
html{scroll-behavior:smooth}
@media (prefers-reduced-motion: reduce){html{scroll-behavior:auto}.faq-inner{transition:none !important}}
/* Logged-in admin bar */
body.admin-bar{padding-top:32px}@media (max-width:782px){body.admin-bar{padding-top:46px}}

/* FAQ flip cards */
.faq-inner{transform:rotateY(0deg)}
.faq-card.is-open .faq-inner{transform:rotateY(180deg)}
.faq-card:hover .faq-inner{transform:translateY(-2px)}
.faq-card.is-open:hover .faq-inner{transform:rotateY(180deg) translateY(-2px)}

/* Review filter chips + star picker */
.chip{transition:transform .08s ease}
.chip:active{transform:translate(2px,2px)}
.rv-card.is-hidden{display:none}

/* 404 */
.bw-404 a{text-decoration:none}

/* phone layout */
@media (max-width: 940px){
  section[style*="padding: 32px 48px 20px"]{padding-left:20px !important;padding-right:20px !important}
  header[style*="48px"], section[style*="48px"]{padding-left:20px !important;padding-right:20px !important}
  nav[style*="gap: 26px"]{gap:12px 18px !important;font-size:13px !important}
  [style*="grid-template-columns"]{grid-template-columns:1fr !important}
  [style*="repeat(4,"]{grid-template-columns:repeat(2, minmax(0, 1fr)) !important}
  [style*="repeat(10,"]{grid-template-columns:repeat(10, minmax(0, 1fr)) !important}
  [style*="56px minmax"]{grid-template-columns:56px minmax(0, 1fr) 32px !important}
  h1[style*="font-size: 6"], h1[style*="font-size: 7"]{font-size:40px !important}
  h1[style*="font-size: 56px"]{font-size:38px !important}
  h2[style*="font-size: 4"]{font-size:30px !important}
  h2[style*="font-size: 36px"]{font-size:28px !important}
  [style*="height: 300px; width: 100%; max-width: 900px"]{transform:scale(0.5);transform-origin:center top;height:170px !important;margin-bottom:-10px}
  img[style*="width: 280px"]{width:200px !important}
  img[style*="width: 240px"]{width:180px !important}
  [style*="align-items: flex-end; gap: 20px"], [style*="align-items: flex-end; gap: 24px"]{flex-wrap:wrap;justify-content:center}
  section#setup [style*="repeat(3,"]{grid-template-columns:repeat(3, minmax(0, 1fr)) !important}
  [style*="font-family: 'Permanent Marker', cursive; font-size: 28px"]{font-size:22px !important}
  [style*="font-family: 'Permanent Marker', cursive; font-size: 28px"] > span:last-child{white-space:nowrap}
  [style*="line-height: 48px; font-size: 12px"]{line-height:1.3 !important;padding:12px 0 6px}
  [style*="padding: 14px 20px; border-bottom: 3px solid #20242B"]{flex-wrap:wrap}
  [style*="rotate(-2deg)"][style*="repeat(10,"]{transform:none !important}
  [style*="padding: 40px 44px"], [style*="padding: 40px 44px;"]{padding:24px 20px !important}
  [style*="padding: 30px 32px"], [style*="padding: 28px 30px"]{padding:22px 18px !important}
  [style*="padding: 56px"], [style*="padding: 32px 36px"]{padding:24px 20px !important}
  [style*="font-size: 148px"]{font-size:72px !important}
}
