/* Home hero: 12 visuals + 4 layouts, per storefront (2026-11-28). Everything uses the theme's own variables. */
.hv{justify-self:center;width:min(440px,100%);position:relative}
.hv *{box-sizing:border-box}
.hv small{display:block}.hv em{font-style:normal}
/* layouts */
.hero.hl-split{grid-template-columns:1.15fr .85fr}
.hero.hl-split-r{grid-template-columns:.85fr 1.15fr}.hero.hl-split-r>div:first-child{order:2}.hero.hl-split-r>.hv{order:1}
.hero.hl-center{grid-template-columns:1fr;text-align:center;justify-items:center;gap:var(--s6)}
.hero.hl-center .lead{margin-inline:auto}.hero.hl-center .cta,.hero.hl-center .stats{justify-content:center}.hero.hl-center .eyebrow::before{display:none}
.hero.hl-center>.hv{width:min(560px,100%)}
.hero.hl-left{grid-template-columns:1.6fr .65fr;align-items:end}.hero.hl-left>.hv{width:min(300px,100%);align-self:center;transform:scale(.92)}
.hero.hl-left h1{font-size:clamp(34px,5.6vw,66px)}
@media(max-width:860px){.hero.hl-split,.hero.hl-split-r,.hero.hl-left{grid-template-columns:1fr}.hero.hl-split-r>div:first-child{order:0}.hero.hl-split-r>.hv{order:0}.hv{width:min(420px,100%)}}
/* phone styles (the old .phone box keeps its theme look; variants change the device) */
.hv-phone .phone.v1{border-radius:34px;aspect-ratio:9/16}.hv-phone .phone.v1::before{width:10px;height:10px;top:20px;border-radius:50%}
.hv-phone .phone.v2{border-radius:12px;padding:10px 10px 22px;aspect-ratio:9/16}.hv-phone .phone.v2::before{width:44px;height:5px;top:auto;bottom:9px;border-radius:9px}.hv-phone .phone.v2 .screen{border-radius:6px;padding-top:20px}
.hv-phone .phone.v3{border-radius:52px;border-width:5px;aspect-ratio:9/18}.hv-phone .phone.v3::before{width:64px;height:12px;top:18px}
/* android */
.droid{width:min(290px,100%);margin:auto;aspect-ratio:9/17.5;border-radius:30px;padding:10px 10px 18px;background:#0e1118;border:3px solid #272c3a;position:relative;box-shadow:var(--sh-3)}
.droid .cam{position:absolute;top:16px;left:50%;width:11px;height:11px;border-radius:50%;background:#000;border:2px solid #232838;transform:translateX(-50%);z-index:2}
.droid .dscreen{height:100%;border-radius:20px;background:var(--surface);padding:34px 12px 12px;display:flex;flex-direction:column;gap:10px;position:relative;overflow:hidden}
.droid .dbar{display:flex;justify-content:space-between;font-family:var(--mono);font-size:13px;color:var(--text);border-bottom:1px solid var(--line-2);padding-bottom:8px}.droid .dbar i{font-style:normal;color:var(--text-3);letter-spacing:2px}
.droid .dmsg{background:var(--surface-2);color:var(--text-2);border-radius:4px 16px 16px 16px;padding:10px 12px;font-size:12.5px;border:1px solid var(--line)}.droid .dmsg small{color:var(--text-3);font-size:11px;margin-bottom:3px}
.droid .dfab{position:absolute;right:14px;bottom:14px;width:46px;height:46px;border-radius:16px;background:var(--gold);color:var(--gold-ink);display:grid;place-items:center;font-size:26px}
.droid .navbar{position:absolute;bottom:6px;left:50%;transform:translateX(-50%);width:70px;height:4px;border-radius:9px;background:#3a4054}
.droid.v1{border-radius:14px;aspect-ratio:9/16}.droid.v1 .dscreen{border-radius:6px}.droid.v2{border-radius:42px;border-color:#434a60}.droid.v3{aspect-ratio:9/15;border-width:6px}
/* browser window */
.bwin{background:var(--surface);border:1px solid var(--line-2);border-radius:var(--r);box-shadow:var(--sh-3);overflow:hidden}
.btop{display:flex;align-items:center;gap:6px;padding:10px 12px;background:var(--surface-2);border-bottom:1px solid var(--line)}
.btop i{width:10px;height:10px;border-radius:50%;background:var(--text-3);opacity:.5}.btop i:nth-child(1){background:#f87171;opacity:1}.btop i:nth-child(2){background:#fbbf24;opacity:1}.btop i:nth-child(3){background:#34d399;opacity:1}
.burl{margin-left:10px;flex:1;background:var(--bg-2,var(--bg));border:1px solid var(--line);border-radius:99px;padding:3px 12px;font-size:11.5px;color:var(--text-3);font-family:var(--mono);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.bbody{display:grid;grid-template-columns:116px 1fr;min-height:220px}.bbody aside{border-right:1px solid var(--line);padding:12px;display:flex;flex-direction:column;gap:8px;font-size:12px;color:var(--text-3)}
.bbody aside b{color:var(--text);font-size:12px}.bbody aside .on{color:var(--gold-2);font-family:var(--mono);font-size:10.5px}
.bmain{padding:10px;display:flex;flex-direction:column;gap:8px}.brow{display:grid;grid-template-columns:auto 1fr auto;gap:8px;align-items:center;padding:9px 10px;border-radius:8px;background:var(--surface-2);font-size:12px;color:var(--text-2)}
.brow b{color:var(--text)}.brow span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.brow em{color:var(--text-3);font-size:11px}.brow.dim{opacity:.6}
.bwin.v1 .bbody{grid-template-columns:1fr}.bwin.v1 aside{flex-direction:row;border-right:0;border-bottom:1px solid var(--line)}.bwin.v2{border-radius:2px}.bwin.v2 .btop{background:var(--text);}.bwin.v2 .burl{display:none}.bwin.v3 .bbody{grid-template-columns:1fr 116px}.bwin.v3 aside{order:2;border-right:0;border-left:1px solid var(--line)}
/* stacked message list */
.stk{position:relative;display:flex;flex-direction:column;gap:12px;padding:6px}
.scard{display:grid;grid-template-columns:40px 1fr auto;gap:12px;align-items:center;padding:14px 16px;border-radius:var(--r-lg);background:var(--surface);border:1px solid var(--line-2);box-shadow:var(--sh-2);color:var(--text-2);font-size:13px}
.scard .av{width:40px;height:40px;border-radius:12px;display:grid;place-items:center;font-weight:800;background:linear-gradient(135deg,var(--gold),var(--cyan));color:var(--gold-ink)}
.scard b{color:var(--text)}.scard small{color:var(--text-3);font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:240px}.scard em{color:var(--text-3);font-size:11px}
.scard.s1{margin-left:22px}.scard.s2{margin-right:22px}.scard.s3{margin-left:10px;opacity:.7}
.stk.v1 .scard{margin:0!important;border-radius:8px}.stk.v1 .scard .av{border-radius:50%}.stk.v2 .scard{box-shadow:none;border-style:dashed}.stk.v3 .scard{transform:rotate(-1.4deg)}.stk.v3 .scard.s1{transform:rotate(1.2deg)}.stk.v3 .scard.s3{transform:rotate(-.6deg)}
/* number ticker */
.tick{background:var(--surface);border:1px solid var(--line-2);border-radius:var(--r);box-shadow:var(--sh-2);overflow:hidden;font-family:var(--mono)}
.thead{display:flex;align-items:center;gap:8px;padding:12px 14px;font-size:12px;color:var(--text-2);border-bottom:1px solid var(--line);background:var(--surface-2)}
.pulse{width:9px;height:9px;border-radius:50%;background:var(--green);box-shadow:0 0 0 0 rgba(52,211,153,.6);animation:hvpulse 1.8s infinite}@keyframes hvpulse{70%{box-shadow:0 0 0 9px rgba(52,211,153,0)}100%{box-shadow:0 0 0 0 rgba(52,211,153,0)}}
.tick table{width:100%;border-collapse:collapse;font-size:12.5px}.tick td{padding:9px 14px;border-bottom:1px solid var(--line);color:var(--text-2)}.tick tr:last-child td{border:0}
.tick .tn{color:var(--text)}.tick .ts{text-align:right;color:var(--gold-2)}.tick .ok{color:var(--green);font-style:normal}
.tick.v1{border-radius:0}.tick.v2 .thead{background:transparent}.tick.v2 td{border-bottom-style:dashed}.tick.v3 tr:nth-child(odd) td{background:var(--surface-2)}
/* world map */
.wmap{position:relative;background:var(--surface);border:1px solid var(--line-2);border-radius:var(--r-lg);padding:14px;box-shadow:var(--sh-2);overflow:hidden}
.wmap svg{display:block;width:100%;height:auto}.wmap .land{fill-opacity:.9}.wmap pattern circle{fill:var(--text-3)}
.wmap .pin circle{fill:var(--gold)}.wmap .pin .ring{fill:none;stroke:var(--gold);stroke-width:.35;transform-box:fill-box;transform-origin:center;animation:hvring 2.4s var(--d) infinite}@keyframes hvring{0%{transform:scale(1);opacity:1}100%{transform:scale(4.2);opacity:0}}
.mcap{position:absolute;left:18px;bottom:14px;padding:6px 12px;border-radius:99px;background:var(--surface-2);border:1px solid var(--line-2);font-size:12px;color:var(--text-2)}.mcap b{color:var(--gold-2)}
.wmap.v1{border-radius:0;border-width:2px}.wmap.v2{background:transparent;border-style:dashed}.wmap.v3 .land{opacity:.6}
/* stats dashboard */
.dsh{background:var(--surface);border:1px solid var(--line-2);border-radius:var(--r-lg);padding:16px;box-shadow:var(--sh-2)}
.dhead{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px;color:var(--text)}.dhead span{font-size:11.5px;color:var(--green);background:var(--green-bg);padding:2px 10px;border-radius:99px}
.dkpi{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.dkpi div{background:var(--surface-2);border-radius:10px;padding:10px}.dkpi small{font-size:10.5px;color:var(--text-3);margin-bottom:2px}.dkpi b{font-size:15px;color:var(--text);font-family:var(--mono)}
.dbars{display:flex;align-items:flex-end;gap:5px;height:90px;margin-top:14px;padding-top:8px;border-top:1px solid var(--line)}.dbars i{flex:1;background:linear-gradient(180deg,var(--gold),var(--cyan));border-radius:3px 3px 0 0;opacity:.85}
.dsh.v1{border-radius:4px}.dsh.v1 .dbars i{border-radius:0}.dsh.v2 .dbars{flex-direction:row-reverse}.dsh.v3 .dkpi{grid-template-columns:1fr}.dsh.v3 .dkpi div{display:flex;justify-content:space-between;align-items:center}
/* single large code card */
.ccard{background:linear-gradient(150deg,var(--surface-2),var(--surface));border:1px solid var(--line-2);border-radius:var(--r-xl);padding:26px;box-shadow:var(--sh-3);text-align:center}
.cc-top{display:flex;justify-content:space-between;color:var(--text-3);font-size:13px;margin-bottom:16px}.cc-top span{color:var(--text);font-weight:700}
.cc-code{display:flex;gap:8px;justify-content:center;margin:6px 0 16px}.cc-code i{font-style:normal;font-family:var(--mono);font-size:34px;font-weight:800;width:42px;height:56px;display:grid;place-items:center;border-radius:10px;background:var(--bg);border:1px solid var(--line-2);color:var(--gold-2)}
.cc-num{font-family:var(--mono);color:var(--text-2);font-size:14px}.cc-bar{height:5px;border-radius:9px;background:var(--line);margin-top:18px;overflow:hidden}.cc-bar i{display:block;height:100%;background:var(--green);border-radius:9px}
.ccard.v1 .cc-code i{border-radius:50%;width:46px;height:46px;font-size:22px}.ccard.v2{border-radius:6px}.ccard.v2 .cc-code i{border:0;border-bottom:3px solid var(--gold);border-radius:0;background:transparent}.ccard.v3 .cc-code i{font-size:26px;width:34px;height:46px}
/* chat thread */
.cthread{background:var(--surface);border:1px solid var(--line-2);border-radius:var(--r-xl);padding:14px;display:flex;flex-direction:column;gap:9px;box-shadow:var(--sh-2)}
.chd{font-family:var(--mono);font-size:13px;text-align:center;color:var(--gold-2);padding:6px 0 10px;border-bottom:1px solid var(--line)}
.cb{max-width:82%;padding:10px 14px;border-radius:18px;font-size:13px;line-height:1.4}.cb.in{background:var(--surface-2);color:var(--text-2);border-bottom-left-radius:4px;align-self:flex-start}.cb.out{background:var(--gold);color:var(--gold-ink);border-bottom-right-radius:4px;align-self:flex-end}
.cb b{font-family:var(--mono);font-size:22px;color:var(--text);letter-spacing:.06em}.cb small{font-size:11px;color:var(--text-3)}.cb.typing{align-self:flex-start;display:flex;gap:4px;background:var(--surface-2)}.cb.typing i{width:7px;height:7px;border-radius:50%;background:var(--text-3);animation:hvdot 1.2s infinite}.cb.typing i:nth-child(2){animation-delay:.2s}.cb.typing i:nth-child(3){animation-delay:.4s}@keyframes hvdot{50%{transform:translateY(-4px);opacity:.4}}
.cthread.v1{border-radius:6px}.cthread.v1 .cb{border-radius:4px}.cthread.v2 .cb.in{border-radius:4px 18px 18px 18px}.cthread.v3{background:transparent;border:0;box-shadow:none}
/* flag mosaic */
.mos{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}
.mt{aspect-ratio:1;border-radius:var(--r);background:var(--surface);border:1px solid var(--line-2);display:grid;place-items:center;align-content:center;gap:2px;box-shadow:var(--sh-1)}.mt span{font-size:34px;line-height:1}.mt small{font-size:11px;color:var(--text-3);font-family:var(--mono)}
.mt.t1{background:var(--surface-2)}.mt.t3{transform:translateY(12px)}.mt.t2{transform:translateY(-8px)}
.mos.v1{grid-template-columns:repeat(3,1fr)}.mos.v1 .mt{aspect-ratio:1.5}.mos.v2 .mt{border-radius:50%}.mos.v2 .mt small{display:none}.mos.v3 .mt{border-radius:3px;transform:none!important}
/* laptop */
.lap{width:min(470px,100%);margin:auto}.lscreen{background:var(--surface);border:8px solid #1b2030;border-bottom-width:12px;border-radius:14px 14px 4px 4px;padding:14px;min-height:210px;box-shadow:var(--sh-3)}
.ltop{display:flex;justify-content:space-between;font-size:12px;color:var(--text-2);border-bottom:1px solid var(--line);padding-bottom:8px;margin-bottom:12px}.ltop b{color:var(--text)}.ltop span{font-family:var(--mono);color:var(--gold-2)}
.lrow{display:flex;justify-content:space-between;align-items:center;padding:10px 12px;margin-bottom:8px;border-radius:8px;background:var(--surface-2)}.lrow .code{font-size:22px}.lrow small{color:var(--text-3)}
.lbase{height:12px;background:linear-gradient(#2a3042,#151926);border-radius:0 0 18px 18px;width:112%;margin:0 -6%;position:relative}.lbase::after{content:"";position:absolute;top:0;left:50%;width:70px;height:5px;border-radius:0 0 8px 8px;background:#0c0f18;transform:translateX(-50%)}
.lap.v1 .lscreen{border-color:#cfd3dc}.lap.v1 .lbase{background:linear-gradient(#e2e5ec,#b8bdc9)}.lap.v2 .lscreen{border-radius:4px;border-width:5px 5px 14px}.lap.v3 .lscreen{min-height:170px}.lap.v3 .lrow:nth-child(3){display:none}
