/* GymGirl blog (tools/blog/build.py copies this to the website folder as blog.css). Brand: STYLEBOOK.md */
@font-face{font-family:Inter;font-weight:400;font-display:swap;src:url(assets/fonts/inter-400.woff) format("woff")}
@font-face{font-family:Inter;font-weight:500;font-display:swap;src:url(assets/fonts/inter-500.woff) format("woff")}
@font-face{font-family:Inter;font-weight:600;font-display:swap;src:url(assets/fonts/inter-600.woff) format("woff")}
@font-face{font-family:Inter;font-weight:700;font-display:swap;src:url(assets/fonts/inter-700.woff) format("woff")}
*{box-sizing:border-box;margin:0;padding:0}
html{-webkit-text-size-adjust:100%}
body{font-family:Inter,system-ui,-apple-system,"Segoe UI",sans-serif;background:#F6F4FA;color:#17131C;-webkit-font-smoothing:antialiased;line-height:1.5}
a{color:inherit}
img{max-width:100%}
.bt-in{max-width:1180px;margin:0 auto;padding:0 32px}
.c-str{--c:#B9A2FF;--t:#F1ECFF}.c-car{--c:#E0587F;--t:#FDEDF2}.c-glu{--c:#FF8FBF;--t:#FFF0F6}.c-cyc{--c:#7FA8F0;--t:#EDF3FF}

.bt-brand img{display:block;height:26px;width:auto}
.bt-foot{border-top:1px solid #E4DEEE;margin-top:20px}
.bt-foot .bt-in{display:flex;align-items:center;justify-content:space-between;gap:16px 24px;flex-wrap:wrap;padding-top:28px;padding-bottom:40px}
.bt-foot nav{display:flex;flex-wrap:wrap;gap:10px 22px;font-size:14px;font-weight:500}
.bt-foot nav a{text-decoration:none}.bt-foot nav a:hover{text-decoration:underline}
.bt-foot nav span{color:#8A8392}

/* blog page */
.bt-main{padding-top:60px;padding-bottom:70px}
.bt-kick{font-size:12.5px;letter-spacing:.14em;text-transform:uppercase;font-weight:700;color:#17131C;display:flex;align-items:center;gap:8px}
.bt-kick::before{content:"";width:7px;height:7px;border-radius:50%;background:#B9A2FF}
.bt-h1{font-size:clamp(38px,5vw,58px);font-weight:600;letter-spacing:-.035em;line-height:1.02;margin-top:12px}
.bt-intro{font-size:18px;color:#4A4452;margin-top:12px;max-width:620px}
.bt-chips{display:flex;flex-wrap:wrap;gap:8px;margin-top:24px}
.bt-chip,.bt-cat{display:inline-block;font-size:12.5px;font-weight:700;padding:5px 11px;border-radius:999px;background:#fff;box-shadow:inset 0 0 0 1px #E4DEEE;text-decoration:none;color:#17131C}
.bt-chip.on{background:#17131C;color:#fff;box-shadow:none}
.bt-cov{background:var(--t);position:relative;display:flex;align-items:flex-end;padding:14px}
.bt-cov svg{position:absolute;right:16px;top:16px}
.bt-feat{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);margin-top:32px;background:#fff;border:1px solid #E9E4F1;border-radius:16px;overflow:hidden;text-decoration:none;transition:transform .15s ease}
.bt-feat .bt-cov{min-height:300px}
.bt-feat .bt-b{padding:34px;display:flex;flex-direction:column;justify-content:center;gap:12px}
.bt-latest{font-size:13px;font-weight:700;color:#8A8392}
.bt-feat .bt-t{font-size:clamp(24px,2.6vw,30px);font-weight:600;letter-spacing:-.03em;line-height:1.15}
.bt-feat .bt-d{font-size:16px;color:#4A4452}
.bt-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;margin-top:20px}
.bt-grid2{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-top:14px}
.bt-card{background:#fff;border:1px solid #E9E4F1;border-radius:16px;text-decoration:none;display:flex;flex-direction:column;overflow:hidden;transition:transform .15s ease}
.bt-card:hover,.bt-feat:hover{transform:translateY(-2px)}
.bt-card .bt-b{padding:16px 18px 18px;display:flex;flex-direction:column;gap:8px}
.bt-t{font-size:19px;font-weight:600;letter-spacing:-.02em;line-height:1.22}
.bt-d{font-size:14.5px;color:#4A4452}
.bt-m{font-size:12.5px;color:#8A8392;font-weight:600}

/* article */
.bt-art{max-width:720px;margin:0 auto;padding:56px 24px 70px}
.bt-crumb{font-size:14px;font-weight:600}.bt-crumb a{color:#7A5BE0;text-decoration:none}.bt-crumb span{color:#8A8392}
.bt-h1a{font-size:clamp(30px,4.4vw,46px);font-weight:600;letter-spacing:-.03em;line-height:1.06;margin-top:14px}
.bt-meta{font-size:14px;font-weight:600;color:#8A8392;margin-top:14px}
.bt-hero{height:220px;border-radius:16px;margin-top:26px}
.bt-body{margin-top:26px;font-size:17px;line-height:1.68;color:#2A2530;overflow-wrap:break-word}
.bt-body .lead{font-size:20px;line-height:1.55;color:#17131C;margin-bottom:6px}
.bt-body p{margin-top:12px}
.bt-body h2{font-size:24px;letter-spacing:-.02em;line-height:1.2;color:#17131C;margin-top:32px}
.bt-body h3{font-size:19px;color:#17131C;margin-top:24px}
.bt-body ul,.bt-body ol{margin:12px 0 0 22px}.bt-body li{margin-top:6px}
.bt-body a{color:#7A5BE0}
.bt-body strong{color:#17131C}
.bt-body .srcs{font-size:14px;line-height:1.5;color:#4A4452}
.bt-app{margin-top:30px;padding:22px 24px;border-radius:16px;background:linear-gradient(#fff,#fff) padding-box,linear-gradient(110deg,#B9A2FF,#FFA6CB) border-box;border:1.5px solid transparent;display:flex;align-items:center;justify-content:space-between;gap:20px}
.bt-app-t{font-size:18px;font-weight:600;letter-spacing:-.02em;color:#17131C}
.bt-app-d{font-size:15px;color:#4A4452;margin-top:4px;line-height:1.45}
.bt-app img{display:block;height:44px;width:auto}
.bt-note{font-size:13px;color:#8A8392;margin-top:28px}
.bt-next{font-size:20px;letter-spacing:-.02em;margin-top:40px}

@media (max-width:900px){.bt-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:640px){
  .bt-in{padding:0 18px}
  .bt-brand img{height:22px}
  .bt-main{padding-top:34px}
  .bt-intro{font-size:15.5px}
  .bt-feat{grid-template-columns:minmax(0,1fr)}
  .bt-feat .bt-cov{min-height:150px}
  .bt-feat .bt-b{padding:18px}
  .bt-grid,.bt-grid2{grid-template-columns:minmax(0,1fr)}
  .bt-art{padding:30px 18px 50px}
  .bt-hero{height:150px}
  .bt-body{font-size:16.5px}.bt-body .lead{font-size:18px}
  .bt-app{flex-direction:column;align-items:flex-start;gap:14px}
}

/* tables in articles (scroll inside the box on small phones, never the page) */
.bt-table{margin-top:18px;overflow-x:auto;border:1px solid #E4DEEE;border-radius:12px;background:#fff}
.bt-body table{border-collapse:collapse;width:100%;font-size:15px;line-height:1.45}
.bt-body th,.bt-body td{text-align:left;padding:10px 14px;border-bottom:1px solid #EEEAF4;vertical-align:top}
.bt-body th{font-weight:700;color:#17131C;background:#F8F6FC}
.bt-body tr:last-child td{border-bottom:0}
.bt-body em{color:#4A4452}
.bt-body .bt-plan{text-decoration:none}.bt-body .bt-plan:hover{text-decoration:underline}
@media (max-width:640px){.bt-body table{font-size:14px}.bt-body th,.bt-body td{padding:8px 10px}}

/* photos (w13): the photo fills the cover box, cropped around image_focus */
.bt-ph{background:#EDE9F3;overflow:hidden}
.bt-ph img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;display:block}
.bt-ph .bt-cat{position:relative;z-index:1}
.bt-hero.bt-ph{height:auto;aspect-ratio:16/9}
.bt-feat .bt-ph{min-height:320px}



/* site header (w18): the home page's header, same markup and same final styles (index.html: nav, refine); menu aligned right */
.topbar{position:sticky;top:0;z-index:100;background:rgba(252,251,254,.8);-webkit-backdrop-filter:saturate(1.5) blur(16px);backdrop-filter:saturate(1.5) blur(16px);border-bottom:1px solid #E4DEEE}
.wrap{max-width:1180px;margin:0 auto;padding:0 32px}
.nav{display:flex;align-items:center;justify-content:space-between;gap:20px}
.topbar .nav{padding:14px 0}
.brand{display:flex;align-items:center;text-decoration:none}
.brand img{width:auto;height:26px;border-radius:0}
.links{display:flex;gap:0;list-style:none;margin-left:auto}
.links a{text-decoration:none;font-weight:600;font-size:12px;letter-spacing:.14em;text-transform:uppercase;padding:8px 10px;border-radius:999px;white-space:nowrap;transition:background .15s ease}
.links a:hover{background:#fff}
.nav summary{list-style:none;cursor:pointer}
.nav summary::-webkit-details-marker{display:none}
.mnav{display:none}
.mnav summary{padding:9px 16px;border-radius:999px;font-size:14.5px;font-weight:500;box-shadow:inset 0 0 0 1px #E4DEEE;background:#fff}
.mnav ul,.lang ul{list-style:none;position:absolute;right:0;top:calc(100% + 8px);background:#fff;border:1px solid #E4DEEE;border-radius:20px;padding:8px;box-shadow:0 10px 30px rgba(58,34,82,.08)}
.mnav ul{z-index:20;min-width:200px}.lang ul{z-index:30;min-width:190px}
.mnav a,.lang a{display:block;text-decoration:none;font-weight:600;font-size:15px;padding:11px 14px;border-radius:12px;white-space:nowrap}
.lang a{padding:10px 14px}
.mnav a:hover,.lang a:hover{background:#F6F4FA}
.lang a.cur{background:#F1EBFF}
.lang{position:relative;flex:none}
.lang summary{display:flex;align-items:center;gap:7px;padding:9px 14px;border-radius:999px;font-size:14px;font-weight:500;box-shadow:inset 0 0 0 1px #E4DEEE;background:#fff}
.lang summary svg{flex:none}
a:focus-visible,summary:focus-visible{outline:2px solid #17131C;outline-offset:3px;border-radius:8px}
@media (max-width:1099px){.links{display:none}.nav{gap:10px}.mnav{display:block;position:relative;margin-left:auto}}
@media (max-width:760px){.wrap{padding:0 18px}}
@media (max-width:420px){.mnav summary{padding:9px 13px}}
@media (max-width:560px){.lang summary{padding:9px 11px}.lang summary span{display:none}}

/* w18: menu in the kicker style; on phones and tablets the language list sits in the Menu */
.nav .links a{font-size:12px;font-weight:600;letter-spacing:.14em;text-transform:uppercase;padding:8px 10px}
.mnav .mlang{border-bottom:1px solid #EEEAF4;margin-bottom:6px;padding-bottom:6px}
.mnav>ul{max-height:calc(100vh - 90px);overflow-y:auto;overscroll-behavior:contain}
.mnav .mlang summary{display:flex;align-items:center;gap:8px;padding:11px 14px;font-size:15px;font-weight:600;border-radius:12px}
.mnav .mlang summary::after{content:"";display:block;margin-left:auto;width:7px;height:7px;border:solid #8A8392;border-width:0 1.5px 1.5px 0;transform:rotate(45deg)}
.mnav .mlang details[open] summary::after{transform:rotate(-135deg)}
.mnav .mlang summary:hover{background:#F6F4FA}
.mnav .mlang ul{position:static;border:0;box-shadow:none;padding:0 0 4px 10px;min-width:0;border-radius:0;background:none}
.mnav .mlang a{font-size:14.5px;padding:9px 14px}
@media (max-width:1099px){.nav .lang{display:none}}
