/* BAB · 24-how-teal.css — "How it works": four square step tiles across the top, detail card below (warm orange + plum) */
.bab-how{--a:#F5B301;--ad:#A86F00;--al:#FFE08A;--g:#7A4F00;--ink:#2B1E06;--tint:#FFF1C9;--mu:#5E5236}
#welcome .bab-how{color:var(--ink);background:
 radial-gradient(900px 460px at 50% -8%,rgba(255,196,50,.38),transparent 66%),
 radial-gradient(760px 420px at 100% 100%,rgba(255,160,40,.18),transparent 66%),
 radial-gradient(620px 380px at 0 90%,rgba(255,210,90,.22),transparent 66%),
 linear-gradient(180deg,#FFFCF0,#FFF4D6)!important}
#welcome .bab-how .bm-bg{opacity:.22}
.bab-how .bh-grid{grid-template-columns:1fr!important;gap:26px!important;justify-items:center;max-width:1180px}
.bab-how .bh-left{display:contents}
.bab-how .bh-eyebrow,.bab-how .bh-sub{text-align:center;justify-content:center}
.bab-how h2{text-align:center;margin-bottom:0!important}
#welcome .bab-how .bh-eyebrow{color:var(--ad)!important}
#welcome .bab-how .bh-eyebrow:before{background:var(--a)!important;box-shadow:0 0 0 5px color-mix(in srgb,var(--a) 20%,transparent)!important}
#welcome .bab-how h2,#welcome .bab-how .bh-l1,#welcome .bab-how .bh-b{color:var(--ink)!important;-webkit-text-fill-color:var(--ink)!important}
#welcome .bab-how .bh-l2{margin:2px auto 0;color:transparent!important;-webkit-text-fill-color:transparent!important;background-image:linear-gradient(100deg,var(--ad),var(--a) 45%,var(--g))!important;-webkit-background-clip:text!important;background-clip:text!important}
#welcome .bab-how .bh-sub{max-width:none!important;margin:0 auto!important;color:var(--mu)!important}

/* steps */
.bab-how .bhv-steps{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;width:100%;max-width:1100px;margin:8px 0 0;padding:0;position:relative}
.bab-how .bhv-steps:before{display:none!important}
.bab-how .bhv-steps li{position:relative}
.bab-how .bhv-steps li:not(:last-child):after{content:"";position:absolute;top:36px;left:calc(100% - 1px);width:18px;height:2px;background:repeating-linear-gradient(90deg,var(--g) 0 4px,transparent 4px 8px);z-index:2}
.bab-how .bhv-steps li:nth-child(n){--ac:var(--a);--ac2:var(--al);--tx:var(--ad)}
.bab-how .bhv-row{display:grid!important;grid-template-columns:auto 1fr;grid-template-areas:"ic no" "tx tx";align-items:center;gap:14px 10px;padding:18px 18px 22px!important;border-radius:20px!important;height:100%;text-align:left;background:#fff!important;box-shadow:0 12px 30px -18px color-mix(in srgb,var(--ink) 45%,transparent),inset 0 0 0 1px color-mix(in srgb,var(--ink) 8%,transparent)!important;transition:transform .35s,box-shadow .35s,background .35s}
.bab-how .bhv-row:hover{transform:translateY(-3px);box-shadow:0 18px 36px -18px color-mix(in srgb,var(--a) 60%,transparent),inset 0 0 0 1px color-mix(in srgb,var(--a) 35%,transparent)!important}
.bab-how .bhv-ic{grid-area:ic;width:46px;height:46px;border-radius:14px!important;background:var(--tint)!important;box-shadow:none!important}
.bab-how .bhv-ic svg{stroke:var(--ad)!important}
.bab-how .bhv-no{grid-area:no;justify-self:end;position:static!important;background:transparent!important;border:1.5px solid color-mix(in srgb,var(--ink) 22%,transparent)!important;color:var(--ink)!important;box-shadow:none!important}
.bab-how .bhv-go{display:none!important}
.bab-how .bhv-tx{grid-area:tx;display:block}
.bab-how .bhv-tx b{font-size:16px;line-height:1.25;display:block;color:var(--ink)}
.bab-how .bhv-tx em{font-size:13px;line-height:1.45;display:block;margin-top:6px;color:var(--mu);font-style:normal}
.bab-how .bhv-bar{left:18px!important;right:18px!important;bottom:10px!important;width:auto!important;height:3px!important;border-radius:3px;background:var(--g)!important}
/* active step: solid, vivid */
.bab-how .bhv-row.is-active{background:linear-gradient(145deg,var(--a),var(--ad))!important;box-shadow:0 26px 44px -22px var(--a),inset 0 0 0 1px rgba(255,255,255,.18)!important;transform:translateY(-4px)}
#welcome .bab-how .bhv-row.is-active .bhv-tx b{color:#fff!important;-webkit-text-fill-color:#fff!important}
#welcome .bab-how .bhv-row.is-active .bhv-tx em{color:rgba(255,255,255,.88)!important;-webkit-text-fill-color:rgba(255,255,255,.88)!important}
#welcome .bab-how .bhv-row:not(.is-active) .bhv-tx b{color:var(--ink)!important}
#welcome .bab-how .bhv-row:not(.is-active) .bhv-tx em{color:var(--mu)!important}
.bab-how .bhv-row.is-active .bhv-ic{background:rgba(255,255,255,.18)!important}
.bab-how .bhv-row.is-active .bhv-ic svg{stroke:#fff!important}
.bab-how .bhv-row.is-active .bhv-no{background:var(--g)!important;border-color:var(--g)!important;color:var(--ink)!important}

/* detail card: gradient edge */
.bab-how .bhv-card{width:100%;max-width:1100px;padding:clamp(24px,3.2vw,44px)!important;border-radius:30px!important;border:2px solid transparent!important;display:block!important;background:linear-gradient(#fff,#fff) padding-box,linear-gradient(135deg,var(--a),var(--g)) border-box!important;box-shadow:0 50px 90px -50px color-mix(in srgb,var(--a) 70%,#000),0 0 0 8px color-mix(in srgb,var(--a) 8%,transparent)!important}
.bab-how .bhv-view{grid-area:auto!important;position:relative;display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1.05fr);grid-template-areas:"head art" "list art" "foot art";column-gap:clamp(24px,4vw,56px);align-content:center}
.bab-how .bhv-view:not(.is-active){display:none!important}
.bab-how .bhv-head{grid-area:head;flex-direction:column;align-items:flex-start;gap:12px}
.bab-how .bhv-head h3{font-size:clamp(26px,2.8vw,36px);color:var(--ink)}
.bab-how .bhv-head p{color:var(--mu)}
.bab-how .bhv-art{grid-area:art;height:auto;margin:0;align-self:center}
.bab-how .bhv-art svg{height:auto}
.bab-how .bhv-art svg circle[fill="#FBE7D6"]{fill:var(--tint)}
.bab-how .bhv-list{grid-area:list;margin-top:18px}
.bab-how .bhv-foot{grid-area:foot}
.bab-how .bhv-pill{background:linear-gradient(135deg,var(--a),var(--ad))!important;color:#fff!important}
.bab-how .bhv-li{background:var(--tint)!important;border-radius:9px;display:grid;place-items:center;width:30px;height:30px}
.bab-how .bhv-li svg{stroke:var(--ad)!important}
.bab-how .bhv-list li{border-color:color-mix(in srgb,var(--ink) 10%,transparent)!important;background:#fff}
.bab-how .bhv-foot{border-top-color:color-mix(in srgb,var(--ink) 10%,transparent)!important}
.bab-how .bhv-badges svg{stroke:var(--g)!important}
@media(max-width:900px){.bab-how .bhv-steps{grid-template-columns:1fr 1fr}.bab-how .bhv-steps li:after{display:none!important}.bab-how .bhv-view{grid-template-columns:1fr;grid-template-areas:"head" "art" "list" "foot"}}
@media(max-width:560px){
 .bab-how .bhv-steps{gap:10px}.bab-how .bhv-row{padding:14px 14px 18px!important}.bab-how .bhv-tx em{display:none}.bab-how .bhv-tx b{font-size:14.5px}.bab-how .bhv-ic{width:40px;height:40px}}

/* tiles: filled, centred, close to square */
.bab-how .bhv-steps,.bab-how .bhv-card{max-width:960px}
.bab-how .bhv-row{aspect-ratio:auto;display:flex!important;flex-direction:column;align-items:center;justify-content:center;text-align:center;gap:14px;padding:30px 18px 30px!important;height:100%}
.bab-how .bhv-ic{width:68px;height:68px;border-radius:22px!important}
.bab-how .bhv-ic svg{width:32px;height:32px}
.bab-how .bhv-no{position:absolute!important;top:12px;right:12px}
.bab-how .bhv-tx{text-align:center}
.bab-how .bhv-tx b{font-size:18px}
.bab-how .bhv-tx em{font-size:14px;margin-top:5px}
.bab-how .bhv-bar{left:20px!important;right:20px!important;bottom:12px!important}
.bab-how .bhv-steps li:not(:last-child):after{top:calc(50% - 1px)}
@media(max-width:900px){.bab-how .bhv-steps{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.bab-how .bhv-steps li:after{display:none!important}.bab-how .bhv-row{padding:24px 10px 26px!important}.bab-how .bhv-ic{width:56px;height:56px}.bab-how .bhv-tx b{font-size:15px}.bab-how .bhv-tx em{font-size:12.5px}}
@media(max-width:560px){
 .bab-how .bhv-steps{grid-template-columns:1fr 1fr;gap:12px}
 .bab-how .bhv-row{padding:22px 10px 24px!important;border-radius:18px!important;gap:10px}
 .bab-how .bhv-ic{width:52px;height:52px;border-radius:17px!important}
 .bab-how .bhv-ic svg{width:26px;height:26px}
 .bab-how .bhv-no{top:9px;right:9px}
 .bab-how .bhv-tx b{font-size:15.5px}
 .bab-how .bhv-tx em{display:block;font-size:12.5px}
 .bab-how .bhv-bar{left:14px!important;right:14px!important;bottom:8px!important}
}

/* type + colour polish */
#welcome .bab-how .bh-eyebrow{font:800 12.5px/1 'DM Sans',system-ui,sans-serif;letter-spacing:.24em}
#welcome .bab-how h2{font-family:'Syne','DM Sans',system-ui,sans-serif!important;font-weight:800;letter-spacing:-.03em}
#welcome .bab-how .bh-l1{display:block;font-size:clamp(36px,5.4vw,70px);line-height:1.02}
#welcome .bab-how .bh-l2{display:block;font-family:'Cormorant Garamond',Georgia,serif!important;font-style:italic;font-weight:500;font-size:clamp(44px,6.4vw,84px);line-height:.98;letter-spacing:-.01em;margin-top:4px;background-image:linear-gradient(100deg,#9A6400 0%,#E5A100 50%,#FFC933 100%)!important}
#welcome .bab-how .bh-sub{font:500 clamp(16px,1.5vw,19px)/1.5 'DM Sans',system-ui,sans-serif}
.bab-how .bhv-tx b{font-family:'DM Sans',system-ui,sans-serif;font-weight:800;letter-spacing:-.02em}
.bab-how .bhv-tx em{font-family:'DM Sans',system-ui,sans-serif;font-weight:500}
.bab-how .bhv-row.is-active{background:linear-gradient(150deg,#FFD84D 0%,#FFC21A 55%,#E6A100 100%)!important;box-shadow:0 28px 46px -22px rgba(245,179,1,.75),inset 0 0 0 1px rgba(255,255,255,.22)!important}
.bab-how .bhv-row.is-active .bhv-no{background:#2B1E06!important;border-color:#2B1E06!important;color:#FFD84D!important}
.bab-how .bhv-head h3{font-family:'Syne','DM Sans',system-ui,sans-serif;font-weight:800;letter-spacing:-.025em}
.bab-how .bhv-pill{font:800 11.5px/1 'DM Sans',system-ui,sans-serif;letter-spacing:.1em;background:linear-gradient(135deg,#FFD84D,#E6A100)!important;box-shadow:0 10px 20px -10px rgba(245,179,1,.5)}
.bab-how .bhv-list b{font-family:'DM Sans',system-ui,sans-serif;font-weight:800;letter-spacing:-.01em}
.bab-how .bhv-list li span:last-child{font-weight:600;color:var(--mu)}
.bab-how .bhv-card{background:linear-gradient(#fff,#fff) padding-box,linear-gradient(135deg,#F5B301,#FFE08A 60%,#E6A100) border-box!important;box-shadow:0 50px 90px -50px rgba(245,179,1,.38),0 0 0 8px rgba(245,179,1,.10)!important}
.bab-how .bhv-ic{background:linear-gradient(145deg,#FFF6D6,#FFE9A8)!important}
.bab-how .bhv-row.is-active .bhv-ic{background:rgba(255,255,255,.2)!important}
.bab-how .bhv-li{background:linear-gradient(145deg,#FFF6D6,#FFE9A8)!important}

/* ---- desktop: tiles 2x2 on the left, detail card on the right ---- */
#welcome .bab-how .bh-l1{font-size:clamp(32px,4.8vw,62px)}
#welcome .bab-how .bh-l2{font-size:clamp(40px,5.6vw,74px)}
.bab-how .bhv-head h3{font-family:'DM Sans',system-ui,sans-serif;font-weight:800;font-size:clamp(24px,2.4vw,32px);letter-spacing:-.025em}
@media(min-width:1000px){
 .bab-how .bh-grid{display:grid!important;grid-template-columns:minmax(0,5fr) minmax(0,6.6fr)!important;column-gap:44px!important;row-gap:22px!important;align-items:center!important;justify-items:stretch!important;max-width:1180px!important}
 .bab-how .bh-eyebrow,.bab-how h2,.bab-how .bh-sub{grid-column:1/-1;justify-self:center}
 .bab-how .bhv-steps{grid-column:1;grid-row:4;grid-template-columns:1fr 1fr!important;max-width:none!important;margin:0!important}
 .bab-how .bhv-card{grid-column:2;grid-row:4;max-width:none!important;width:100%}
 .bab-how .bhv-steps li:after{display:none!important}
 .bab-how .bhv-view{grid-template-columns:1fr!important;grid-template-areas:"head" "art" "list"!important}
 .bab-how .bhv-art{margin:14px 0 4px}
}

/* ---- zig-zag path: steps stagger down the column, linked in order ---- */
.bab-how .bhv-steps{--thread:#C79A3A;--done:#E09B00;--gap:46px;--u:110px}
@media(max-width:560px){.bab-how .bhv-steps{--gap:30px;--u:98px}}
@media(min-width:1000px),(max-width:560px){
 .bab-how .bhv-steps{grid-template-columns:1fr 1fr!important;grid-auto-rows:var(--u)!important;column-gap:var(--gap)!important;row-gap:0!important}
 .bab-how .bhv-steps li{margin-block:10px;position:relative}
 .bab-how .bhv-steps li:nth-child(1){grid-column:1;grid-row:1/span 2}
 .bab-how .bhv-steps li:nth-child(2){grid-column:2;grid-row:2/span 2}
 .bab-how .bhv-steps li:nth-child(3){grid-column:1;grid-row:3/span 2}
 .bab-how .bhv-steps li:nth-child(4){grid-column:2;grid-row:4/span 2}
 .bab-how .bhv-row{height:100%}
 /* links */
 .bab-how .bhv-steps li:not(:last-child):after{content:""!important;display:block!important;position:absolute!important;top:75%!important;width:var(--gap)!important;height:0!important;border-top:2.5px dashed var(--thread);background:none!important;transform:translateY(-1.25px);z-index:0}
 .bab-how .bhv-steps li:not(:last-child):before{content:"";display:block;position:absolute;top:calc(75% - 7px);border-top:7px solid transparent;border-bottom:7px solid transparent}
 .bab-how .bhv-steps li:nth-child(odd):after{left:100%!important;right:auto!important}
 .bab-how .bhv-steps li:nth-child(odd):before{left:calc(100% + var(--gap) - 10px);border-left:10px solid var(--thread)}
 .bab-how .bhv-steps li:nth-child(even):after{right:100%!important;left:auto!important}
 .bab-how .bhv-steps li:nth-child(even):before{right:calc(100% + var(--gap) - 10px);border-right:10px solid var(--thread)}
 .bab-how .bhv-steps li:not(:last-child):has(~ li .bhv-row.is-active):after{border-top-style:solid;border-top-color:var(--done)}
 .bab-how .bhv-steps li:nth-child(odd):has(~ li .bhv-row.is-active):before{border-left-color:var(--done)}
 .bab-how .bhv-steps li:nth-child(even):has(~ li .bhv-row.is-active):before{border-right-color:var(--done)}
}
@media(min-width:561px) and (max-width:999px){
 .bab-how .bhv-steps{--gap:24px;grid-template-columns:repeat(4,minmax(0,1fr))!important;row-gap:0!important;grid-auto-rows:auto}
 .bab-how .bhv-steps li:not(:last-child):after{content:""!important;display:block!important;position:absolute!important;left:100%!important;top:50%!important;width:var(--gap)!important;height:0!important;border-top:2.5px dashed var(--thread);background:none!important;transform:translateY(-1.25px)}
 .bab-how .bhv-steps li:not(:last-child):before{content:"";display:block;position:absolute;left:calc(100% + var(--gap) - 10px);top:calc(50% - 7px);border-left:10px solid var(--thread);border-top:7px solid transparent;border-bottom:7px solid transparent}
 .bab-how .bhv-steps li:not(:last-child):has(~ li .bhv-row.is-active):after{border-top-style:solid;border-top-color:var(--done)}
 .bab-how .bhv-steps li:not(:last-child):has(~ li .bhv-row.is-active):before{border-left-color:var(--done)}
}

/* neon finish */
#welcome .bab-how .bhv-row.is-active .bhv-tx b{color:#2B1E06!important;-webkit-text-fill-color:#2B1E06!important}
#welcome .bab-how .bhv-row.is-active .bhv-tx em{color:rgba(43,30,6,.82)!important;-webkit-text-fill-color:rgba(43,30,6,.82)!important}
.bab-how .bhv-row.is-active .bhv-ic{background:rgba(255,255,255,.45)!important}
.bab-how .bhv-row.is-active .bhv-ic svg{stroke:#2B1E06!important}
.bab-how .bhv-row.is-active{box-shadow:0 0 0 1px rgba(255,255,255,.55),0 0 26px rgba(245,179,1,.6),0 24px 44px -22px rgba(245,179,1,.85)!important}
.bab-how .bhv-pill{color:#2B1E06!important}
.bab-how .bhv-steps li:has(~ li .bhv-row.is-active):after,.bab-how .bhv-steps li:has(~ li .bhv-row.is-active):before{filter:drop-shadow(0 0 4px rgba(245,179,1,.9))}
.bab-how .bhv-steps li .bhv-bar{background:#2B1E06!important;opacity:.55}

/* no arrowheads: links are plain lines */
.bab-how .bhv-steps li:before{display:none!important;content:none!important}

/* no connecting lines */
.bab-how .bhv-steps li:after{display:none!important;content:none!important}
#welcome .bab-how .bhv-steps li:after,#welcome .bab-how .bhv-steps li:before{display:none!important;content:none!important;border:0!important;background:none!important}

/* ---- compact: smaller section, tighter spacing ---- */
#welcome .bab-how{padding-top:clamp(36px,4.2vw,56px)!important;padding-bottom:clamp(40px,4.6vw,60px)!important}
#welcome .bab-how .bh-l1{font-size:clamp(26px,3.3vw,42px)!important;line-height:1.05}
#welcome .bab-how .bh-l2{font-size:clamp(32px,4vw,52px)!important;margin-top:2px}
#welcome .bab-how .bh-sub{font-size:15.5px!important;margin:0}
#welcome .bab-how .bh-eyebrow{font-size:11.5px}
.bab-how .bh-grid{row-gap:14px!important;gap:14px!important}
@media(min-width:1000px){.bab-how .bh-grid{row-gap:16px!important;column-gap:36px!important;max-width:1080px!important}}
.bab-how .bhv-card{padding:clamp(18px,2vw,26px)!important;border-radius:26px!important}
.bab-how .bhv-head h3{font-size:clamp(20px,2vw,24px)!important}
.bab-how .bhv-art svg{max-height:200px;width:auto;max-width:100%;display:block;margin:0 auto}
.bab-how .bhv-art{margin:6px 0 2px!important}
.bab-how .bhv-list{margin-top:6px!important;gap:7px!important}
.bab-how .bhv-list li{padding:9px 14px!important;border-radius:14px!important;font-size:13.5px!important}
.bab-how .bhv-steps{--u:84px;--gap:34px}
.bab-how .bhv-steps li{margin-block:6px!important}
.bab-how .bhv-row{padding:16px 14px!important;gap:10px!important}
.bab-how .bhv-ic{width:50px!important;height:50px!important;border-radius:16px!important}
.bab-how .bhv-ic svg{width:24px!important;height:24px!important}
.bab-how .bhv-tx b{font-size:16px!important}
.bab-how .bhv-tx em{font-size:12.5px!important;margin-top:3px!important}
@media(max-width:560px){
 .bab-how .bhv-steps{--u:78px;--gap:20px}
 .bab-how .bhv-row{padding:14px 8px!important}
 .bab-how .bhv-ic{width:42px!important;height:42px!important}
 .bab-how .bhv-tx b{font-size:14px!important}
 .bab-how .bhv-tx em{font-size:12px!important}
 .bab-how .bhv-art svg{max-height:160px}
}

/* ---- tiles in plain order 1-2-3-4: one row above a wide card (phone: 2x2 grid in order) ---- */
@media(min-width:1000px){
 .bab-how .bh-grid{grid-template-columns:minmax(0,1fr)!important;max-width:1020px!important;justify-items:stretch!important;row-gap:18px!important}
 .bab-how .bhv-steps{grid-column:1!important;grid-row:auto!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;grid-auto-rows:auto!important;column-gap:16px!important;row-gap:0!important;max-width:none!important;margin:0!important;align-self:stretch}
 .bab-how .bhv-steps li:nth-child(n){grid-column:auto!important;grid-row:auto!important;margin-block:0!important}
 .bab-how .bhv-card{grid-column:1!important;grid-row:auto!important;max-width:none!important;width:100%}
 .bab-how .bhv-view{grid-template-columns:minmax(0,1fr) minmax(0,1.12fr)!important;grid-template-areas:"head art" "list art" "foot art"!important;column-gap:34px!important;align-content:center}
 .bab-how .bhv-art{margin:0!important}
 .bab-how .bhv-art svg{max-height:240px}
}
@media(max-width:560px){
 .bab-how .bhv-steps{grid-template-columns:1fr 1fr!important;grid-auto-rows:auto!important;column-gap:12px!important;row-gap:12px!important}
 .bab-how .bhv-steps li:nth-child(n){grid-column:auto!important;grid-row:auto!important;margin-block:0!important}
}
