/* M26 B3/B4 home artwork 1:1 with the owner mockup (docs/ref/mockup_rev003.jpg, 1280x853). Markup: web/home.js.
   Device screens scale with container query units (cqw) so the dashboard and phone UI stay proportional from 390 to 1440. */
body.site{background:radial-gradient(ellipse 50% 40% at 78% 8%,#4b2fd033,transparent 70%),radial-gradient(ellipse 40% 30% at 10% 0%,#2a2f8a40,transparent 70%),#070a1a}
.h-ico{width:24px;height:24px;flex:none}

/* ---- hero: copy left (mockup x 40-500), laptop right (x 480-1240) */
.h-hero.s-hero{text-align:left;padding-block:20px 8px}
.h-hero .s-herotext{position:relative;z-index:2}
.h-pill{display:inline-block;padding:6px 16px;border:1px solid #6c5cff99;border-radius:30px;background:#1d1b4d99;color:#e5e3ff;font-size:13px;font-weight:600;box-shadow:0 0 18px #6c5cff33}
.site .h-hero h1{margin:16px 0 14px;font-size:clamp(34px,8.6vw,44px);line-height:1.08;letter-spacing:-.02em;font-weight:700}
.h-hero h1 span{display:block}.h-hero h1 .h-l2{color:#d9d3ff}
.h-hero h1 .s-grad{background:linear-gradient(95deg,#a99bff,#7c6bff);-webkit-background-clip:text;background-clip:text;color:transparent}
.h-hero .s-lead{margin:0;color:#c9cde0;font-size:16px;line-height:1.45;max-width:40ch}
.h-feats{list-style:none;margin:18px 0 0;padding:0;display:flex;flex-wrap:wrap;gap:12px 22px}
.h-feats li{display:flex;gap:8px;align-items:center}.h-feats .h-ico{color:#8c7cff;width:26px;height:26px}
.h-feats b{display:block;font-size:13px;font-weight:600;color:#fff}.h-feats small{display:block;font-size:11px;color:#b9bfd6;white-space:nowrap}
.h-hero .s-cta{margin-top:20px;justify-content:flex-start;gap:14px}
.h-hero .s-cta .s-primary{background:linear-gradient(120deg,#6c5cf0,#5b4be0);box-shadow:0 0 22px #6c5cff66;min-width:186px}
.h-hero .s-cta .h-ghost{border-color:#ffffffcc;min-width:196px;gap:10px}.h-play{width:14px;height:14px}
.h-micro{display:flex;flex-wrap:wrap;gap:4px 10px;margin:12px 0 0;font-size:12.5px;color:#b9bfd6}
.h-micro #sChip{color:#e8e6ff}

/* laptop */
.h-art{position:relative;margin:28px 0 0;padding:0;z-index:1}
.h-beams{position:absolute;inset:-40px -60px 10% 10%;pointer-events:none;overflow:hidden;z-index:-1}
.h-beams i{position:absolute;right:-20%;width:140%;height:2px;background:linear-gradient(90deg,transparent,#7b5cff 55%,#b9a8ff);filter:blur(1.5px);opacity:.7;transform:rotate(-24deg);transform-origin:right center}
.h-beams i:nth-child(1){top:8%}.h-beams i:nth-child(2){top:22%;height:6px;filter:blur(6px);opacity:.55;background:linear-gradient(90deg,transparent,#4f7cff 60%,#a88bff)}
.h-beams i:nth-child(3){top:38%;opacity:.4}
.h-art::before{content:"";position:absolute;inset:-10% -10% 0 0;background:radial-gradient(ellipse 60% 55% at 60% 45%,#5b3fe055,transparent 70%);z-index:-1}
.h-laptop{transform:perspective(1800px) rotateY(-16deg) rotateX(3deg);transform-origin:center;transform-style:preserve-3d}
.h-lid{background:#05060d;border:2px solid #2b2d48;border-radius:14px 14px 4px 4px;padding:1.6%;box-shadow:0 0 0 1px #8c7cff66,0 0 26px #7b5cffaa,0 0 70px #5b4be055}
.h-screen{container-type:inline-size;aspect-ratio:16/10;border-radius:6px;overflow:hidden;background:#0b0e22}
.h-base{position:relative;height:14px;margin:0 -5%;border-radius:2px 2px 14px 14px;background:linear-gradient(#d9dbe8,#8f93ab 55%,#4c4f66);box-shadow:0 6px 18px #000a,0 0 22px #7b5cff88}
.h-notch{position:absolute;left:50%;top:0;width:14%;height:5px;transform:translateX(-50%);border-radius:0 0 8px 8px;background:#6f7390}
.h-pool{position:absolute;left:5%;right:0;bottom:-26px;height:46px;background:radial-gradient(ellipse at center,#7b5cffaa,transparent 70%);filter:blur(8px);z-index:-1}
.h-cap{margin:22px 0 0;font-size:12px;color:#b9bfd6;text-align:center}

/* dashboard inside the screen: 1em = 1.6cqw (~10px at a 640px screen) */
.h-dash{display:flex;height:100%;font-size:1.6cqw;color:#e8eaf6;font-family:Inter,system-ui,sans-serif}
.h-side{width:17em;flex:none;padding:1.4em 1em;background:#0e1129;border-right:1px solid #ffffff12}
.h-sidelogo .h-word{display:block;height:2.4em;width:auto;margin:0 0 1.6em .4em}
.h-side ul{list-style:none;margin:0;padding:0;display:grid;gap:.5em}
.h-side li{display:flex;align-items:center;gap:.9em;padding:.65em .8em;border-radius:.6em;font-size:1em;color:#c9cde0}
.h-side li.on{background:linear-gradient(90deg,#5b4be0,#3b2fa8);color:#fff}
.h-side .h-ico{width:1.5em;height:1.5em}
.h-dmain{flex:1;min-width:0;padding:1.4em 1.6em;display:flex;flex-direction:column;gap:1.2em}
.h-dtop{display:flex;align-items:center;gap:1em}.h-dtop>b{font-size:1.5em;font-weight:600}
.h-sample{font-size:.85em;padding:.2em .7em;border-radius:1em;border:1px solid #ffd78966;color:#ffd789}
.h-dicons{margin-left:auto;display:flex;align-items:center;gap:1.2em}.h-dicons .h-ico{width:1.6em;height:1.6em}
.h-avatar{display:grid;place-items:center;width:2.2em;height:2.2em;border-radius:50%;background:#5b4be0;font-style:normal;font-size:.95em}
.h-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:1em}
.h-stat{padding:1em;border-radius:.8em;background:#151935;border:1px solid #ffffff12}
.h-stat small{display:block;font-size:.85em;color:#b9bfd6}.h-stat b{display:block;margin-top:.4em;font-size:1.5em;font-weight:600}.h-stat b.up{color:#2ee26b}
.h-dbot{flex:1;display:grid;grid-template-columns:1.55fr 1fr;gap:1em;min-height:0}
.h-perf,.h-autos{padding:1em;border-radius:.8em;background:#151935;border:1px solid #ffffff12;min-width:0}
.h-perfhead{display:flex;justify-content:space-between;align-items:baseline;font-size:1em}.h-perfhead small{color:#2ee26b;font-size:.85em}
.h-perfbody{display:flex;gap:.6em;height:12em;margin-top:.6em}
.h-yax,.h-xax{display:flex;font-size:.75em;color:#9aa1bd}.h-yax{flex-direction:column;justify-content:space-between}.h-xax{justify-content:space-between;padding-left:3.5em;margin-top:.4em}
.h-chart{display:block;width:100%;height:100%}.h-grid{stroke:#ffffff10;stroke-width:1;vector-effect:non-scaling-stroke}
.h-autos>b{font-size:1em}.h-autos ul{list-style:none;margin:.8em 0 0;padding:0;display:grid;gap:.75em}
.h-autos li{display:flex;justify-content:space-between;align-items:center;gap:.5em;font-size:.85em;color:#d7daea}
.h-autos li span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.h-run{flex:none;font-style:normal;font-size:.85em;color:#2ee26b;padding:.15em .6em;border-radius:1em;background:#2ee26b1f}
.h-run::before{content:"";display:inline-block;width:.5em;height:.5em;margin-right:.4em;border-radius:50%;background:#2ee26b}

@media(min-width:1024px){
 .h-hero.s-hero{display:grid;grid-template-columns:460px minmax(0,1fr);column-gap:0;align-items:start;padding-block:12px 0}
 .site .h-hero h1{font-size:44px}
 .h-art{margin:0 -40px 0 -20px}
 .h-cap{position:absolute;right:0;bottom:-30px;margin:0}
}
@media(min-width:1360px){.h-art{margin-right:-80px}}
@media(max-width:480px){.h-art{margin-inline:-6px}.h-laptop{transform:perspective(1200px) rotateY(-8deg)}.h-feats{gap:10px 16px}.h-hero .s-cta .s-btn{min-width:0}}

/* ---- broker strip (mockup y 450-515) */
.h-strip{margin-top:28px;border-block:1px solid #ffffff14;background:linear-gradient(90deg,#11143399,#1a1d4799,#11143399)}
.h-stripin{display:flex;align-items:center;gap:20px;min-height:64px;padding-block:8px}
.h-striplbl{flex:none;width:170px;padding-right:18px;border-right:1px solid #ffffff2a}.h-striplbl b{display:block;font-size:16px;line-height:1.2;font-weight:600}
.h-striplbl small{display:block;margin-top:2px;font-size:10.5px;color:#b9bfd6;line-height:1.3}
.h-bks{list-style:none;margin:0;padding:0;flex:1;min-width:0;display:flex;align-items:center;justify-content:space-between;gap:14px}
.h-bk{display:flex;align-items:center;gap:7px;min-width:0;font-weight:700;font-size:15px;color:#fff;white-space:nowrap}
.h-bklogo{flex:none;display:grid;place-items:center;width:28px;height:28px;border-radius:7px;background:#f4f5fa;overflow:hidden}
.h-bklogo.bd-tone-dark{background:#151a38}
.h-bklogo img{display:block;max-width:100%;max-height:100%;width:auto;height:auto;object-fit:contain}
.h-bklogo.h-bksm img{max-width:24px;max-height:24px}
.h-more{flex:none;padding:8px 12px;border:1px solid #ffffff4d;border-radius:9px;font-size:13px;text-decoration:none;color:#fff}.h-more:hover{border-color:#fff}
@media(max-width:1100px){.h-stripin{flex-wrap:wrap}.h-striplbl{width:100%;border:0;padding:0}.h-bks{flex-wrap:wrap;justify-content:flex-start;gap:12px 18px}}
@media(max-width:480px){.h-bks{display:grid;grid-template-columns:1fr 1fr;gap:12px}.h-bk{font-size:14px}.h-bkname{overflow:hidden;text-overflow:ellipsis}}

/* ---- value props (mockup y 520-595) */
.h-vprops{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px;padding-block:18px 14px}
.h-vp{display:flex;gap:14px;align-items:flex-start}.h-vp .h-ico{width:34px;height:34px;color:#8c7cff}
.h-vp h3{margin:0;font-size:15px;font-weight:600}.h-vp p{margin:2px 0 0;font-size:12.5px;line-height:1.4;color:#b9bfd6}
@media(max-width:1023px){.h-vprops{grid-template-columns:1fr 1fr}}@media(max-width:480px){.h-vprops{grid-template-columns:1fr}}

/* ---- bottom row: How It Works | Integrations | Pricing | phone (mockup y 600-840) */
.h-rows{display:grid;grid-template-columns:minmax(0,270px) minmax(0,250px) minmax(0,1fr) 220px;gap:14px;align-items:start;padding-bottom:40px}
.h-card{padding:16px 18px;border-radius:14px;background:#11143399;border:1px solid #ffffff1c;min-width:0}
.h-card h2{margin:0 0 12px;font-size:18px;font-weight:600;letter-spacing:-.01em}
.h-steps{list-style:none;margin:0;padding:0;display:grid;gap:22px;position:relative}
.h-steps::before{content:"";position:absolute;left:16px;top:20px;bottom:20px;width:2px;background:#6c5cff66}
.h-steps li{display:flex;gap:14px;align-items:center;position:relative}
.h-num{flex:none;display:grid;place-items:center;width:34px;height:34px;border-radius:50%;background:linear-gradient(#8c7cff,#5b4be0);font-size:15px;color:#fff;box-shadow:0 0 14px #6c5cff88}
.h-steps h3{margin:0;font-size:14.5px;font-weight:600}.h-steps p{margin:2px 0 0;font-size:12px;color:#b9bfd6}
.h-ints ul{list-style:none;margin:0;padding:0;display:grid;gap:14px}.h-ints li{display:flex;gap:14px;align-items:center}
.h-tile svg{display:block;width:34px;height:34px}.h-ints b{display:block;font-size:13px;font-weight:600}.h-ints small{display:block;font-size:11.5px;color:#b9bfd6}
.h-pricehead{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:6px}.h-pricehead h2{margin:0}
.h-plans{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;padding-top:8px}
.h-plan{position:relative;display:flex;flex-direction:column;padding:12px;border-radius:12px;background:#0c0f27;border:1px solid #ffffff1f}
.h-plan.h-pop{background:#1c1850;border-color:#8c7cff;box-shadow:0 0 22px #6c5cff77}
.h-popbadge{position:absolute;top:-10px;left:50%;transform:translateX(-50%);padding:2px 10px;border-radius:10px;background:#5b4be0;font-size:10.5px;white-space:nowrap}
.h-plan h3{margin:0;font-size:15px;font-weight:600}.h-amt{margin:4px 0 6px}.h-amt b{font-size:24px;font-weight:700}.h-amt small{font-size:11px;color:#b9bfd6;margin-left:3px}
.h-plan ul{list-style:none;margin:0 0 10px;padding:0;display:grid;gap:4px;font-size:11.5px;color:#d7daea;flex:1}
.h-plan li::before{content:"✓";margin-right:6px;color:#b9bfd6}
.h-planbtn{display:block;text-align:center;padding:6px;border:1px solid #ffffff4d;border-radius:8px;font-size:12px;font-weight:600;text-decoration:none}
.h-planpop{background:#6c5cff;border-color:#6c5cff}

/* phone */
.h-phone{margin:0;padding:7px;border-radius:34px;background:#05060d;border:2px solid #3a3d5c;box-shadow:0 0 0 1px #8c7cff55,0 0 26px #7b5cffaa}
.h-phscreen{container-type:inline-size;position:relative;border-radius:27px;overflow:hidden;background:#0b0e22;padding:34px 10px 12px;display:grid;gap:8px}
.h-island{position:absolute;top:9px;left:50%;width:34%;height:16px;transform:translateX(-50%);border-radius:10px;background:#000}
.h-phtop{display:flex;justify-content:space-between;align-items:center}.h-phword{display:block;height:22px;width:auto}
.h-phbell{position:relative;color:#e8eaf6}.h-phbell .h-ico{width:20px;height:20px}.h-dot{position:absolute;top:0;right:1px;width:7px;height:7px;border-radius:50%;background:#ff5a6a}
.h-phcard{padding:8px 10px;border-radius:10px;background:#151935;border:1px solid #ffffff12;min-width:0}
.h-phcard small{display:block;font-size:10px;color:#b9bfd6}.h-phcard b{display:block;font-size:15px;font-weight:600}
.h-mini{height:30px;margin-top:4px}
.h-phrow{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.h-phbots{list-style:none;margin:0;padding:6px 10px;display:grid;gap:7px;border-radius:10px;background:#151935;font-size:11px}
.h-phbots li{display:flex;justify-content:space-between;align-items:center;gap:6px}.h-phbots .h-run{font-size:9.5px}

@media(max-width:1180px){.h-rows{grid-template-columns:1fr 1fr}.h-price{grid-column:1/-1}.h-phone{justify-self:center;width:240px}}
@media(max-width:640px){.h-rows{grid-template-columns:minmax(0,1fr)}.h-plans{grid-template-columns:minmax(0,1fr)}.h-plan.h-pop{margin-top:6px}}
.h-previewsec{padding-top:40px}

/* M26 B5 parity at 1280 (mockup boxes in tools/mock_parity.py): 3-line H1, one-row features, short hero; laptop 735 wide from x~497;
   strip at y~455, bottom row in a wider 27px-gutter frame with the phone rising above the cards */
@media(min-width:1024px){
 .h-hero.s-hero{grid-template-columns:520px minmax(0,1fr);padding-block:10px 0}
 .site .h-hero h1{font-size:clamp(34px,3.05vw,44px);line-height:1.02;margin:14px 0 12px;letter-spacing:-.025em}
 .h-hero h1 span{white-space:nowrap}
 .h-hero .s-lead{font-size:15.5px;max-width:52ch;line-height:1.38}
 .h-feats{flex-wrap:nowrap;gap:22px;margin-top:16px}.h-feats small{font-size:10.5px}
 .h-hero .s-cta{margin-top:18px}.h-hero .s-cta .s-btn{height:44px;min-height:44px}
 .h-micro{margin-top:10px}
 .h-art{margin:4px -40px 0 -88px}
 .h-screen{aspect-ratio:2/1}.h-perfbody{height:9.5em}.h-dmain{gap:1em;padding:1.2em 1.4em}.h-side{padding:1.2em .9em}.h-side ul{gap:.3em}.h-side li{padding:.5em .8em}
 .h-cap{bottom:-24px;font-size:11px}
 .h-strip{margin-top:30px}.h-stripin{min-height:56px;padding-block:4px}
 .h-striplbl small{font-size:10px;white-space:nowrap}
 .h-vprops{padding-block:14px 8px}
 .h-rows.s-wrap{max-width:1280px;padding:0 27px;grid-template-columns:minmax(0,271fr) minmax(0,248fr) minmax(0,435fr) 190px;column-gap:15px}
 .h-phone{margin-top:-17px;width:190px;justify-self:end}
}
@media(min-width:1024px) and (max-width:1180px){.h-rows.s-wrap{grid-template-columns:1fr 1fr}.h-phone{margin-top:0;justify-self:center}}
/* B5 pass 2: copy column 440 (H1 may run under the laptop's far edge like the mockup), 3-line lead, flatter screen, phone right gutter 55 */
@media(min-width:1024px){
 .h-hero.s-hero{grid-template-columns:440px minmax(0,1fr)}
 .h-hero .s-lead{max-width:430px}
 .h-art{margin:-6px -25px 0 -38px}
 .h-screen{aspect-ratio:2.2/1}.h-perfbody{height:8em}.h-stats{gap:.8em}.h-stat{padding:.8em}
 .h-strip{margin-top:6px}
 .h-rows.s-wrap{padding:0 55px 40px 27px}
 .h-card{padding:12px 16px}.h-card h2{margin-bottom:10px;font-size:17px}.h-steps{gap:16px}
 .h-plan{padding:10px}.h-plan ul{font-size:11px}.h-amt b{font-size:22px}.h-pricehead .s-pill{font-size:10px;padding:2px 8px}
}
/* B5 pass 3: legacy .s-step b (2.1rem) must not size the How It Works circles; features fit the 440 copy column; value props span the mockup width */
.h-steps .h-num{font-size:15px;line-height:1}
@media(min-width:1024px){.h-feats{gap:16px}.h-feats li{gap:6px}.h-feats .h-ico{width:24px;height:24px}
 .h-vprops.s-wrap{max-width:1280px;padding:12px 40px 10px 73px;gap:28px}}
/* M27 C1/C2: copy column and laptop never intersect (copy 450 wide, H1 sized to it); laptop fully inside the viewport (right gutter >= 24);
   angled 3D frame with thin black bezel, violet/blue rim, metallic base slab with notch + lavender edge, glow pool */
.h-lid{border:1px solid #000;padding:1.2%;box-shadow:0 0 0 1px #8c7cff88,-6px 0 18px #4f7cff66,0 0 30px #7b5cffaa,0 0 80px #5b4be055}
.h-base{border-top:1px solid #d7cfff;box-shadow:inset 0 1px 0 #ece8ff,0 6px 18px #000a,0 0 22px #7b5cff88}
.h-pool{background:radial-gradient(ellipse at center,#7b5cffcc,#5b4be044 45%,transparent 72%)}
@media(max-width:640px){.h-micro{display:grid;gap:2px}.h-micro>span[aria-hidden]{display:none}}
@media(min-width:1024px){
 .h-hero.s-hero{grid-template-columns:450px minmax(0,1fr)}
 .site .h-hero h1{font-size:35px;line-height:1.08;letter-spacing:-.02em}
 .h-feats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.h-feats small{white-space:normal;line-height:1.25}
 .h-art{margin:-4px 0 0 0}
 .h-laptop{transform:perspective(1800px) rotateY(-16deg) rotateX(4deg)}
}
@media(min-width:1280px){.h-art{margin-right:-30px}}
@media(min-width:1024px){.site .h-hero h1{font-size:34px}.h-art{margin-top:-16px;margin-left:-20px}.h-hero .s-herotext{padding-right:4px}}
@media(max-width:1100px) and (min-width:1024px){.h-art{margin-right:4px}}
@media(min-width:1024px) and (max-width:1279px){.h-art{margin-left:-10px}}
@media(min-width:1280px){.h-art{margin-left:-27px}}
@media(max-width:480px){.site .h-hero h1{font-size:30px;line-height:1.12}.h-hero h1 .s-l1{white-space:nowrap}.h-hero h1 span{text-wrap:balance}}
/* M27 C3: broker strip = one contained rounded band (dark fill, 1px border, r14): label | divider | 8 brokers (icon <= 28px + white 600 wordmark, no tiles) | + More */
.h-strip{border:0;background:none}
.h-stripin.s-wrap{max-width:1226px;margin-inline:auto;padding:8px 18px;gap:18px;border:1px solid #ffffff24;border-radius:14px;background:#0d1030e6;box-shadow:0 0 24px #5b4be022}
.h-striplbl{width:auto;max-width:150px;padding-right:18px}.h-striplbl b{font-size:14.5px}
.h-bks{gap:16px}.h-bk{gap:8px;font-weight:600;font-size:14px;color:#fff}
.h-bklogo,.h-bklogo.bd-tone-dark{width:auto;height:auto;max-height:28px;background:none;border-radius:6px;overflow:visible}
.h-bklogo img{max-width:28px;max-height:28px;border-radius:6px}.h-bklogo.h-bksm img{max-width:24px;max-height:24px}
.h-stripnote{margin:6px auto 0;font-size:10.5px;color:#9aa1bd;text-align:right}
@media(max-width:1100px){.h-striplbl{max-width:none;width:100%;border:0;padding:0}}
@media(max-width:640px){.h-stripin.s-wrap{margin-inline:16px;padding:12px 14px}.h-bks{display:flex;flex-wrap:nowrap;overflow-x:auto;gap:16px;padding-bottom:4px;scrollbar-width:thin}.h-bk{flex:none}.h-stripnote{text-align:left}}
@media(max-width:640px){.h-bks{flex:1 1 100%}.h-more{margin-left:auto}}
.h-bk-ink .h-bklogo img,.h-bk-word .h-bklogo img{filter:brightness(0) invert(1)}
.h-bk-word .h-bklogo img{max-width:88px;max-height:20px;border-radius:0}
.h-bk-word .h-bkname{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.h-bklogo img[data-natural=vector]{height:28px}.h-bk-word .h-bklogo img[data-natural=vector]{height:20px}
/* M27 C5: bottom row at mockup proportions (cards 226px at >=1181), solid violet step circles + 3:1 connector, slim tall phone (aspect ~0.47) below the value props */
.h-num{background:#6C4DFF;box-shadow:0 0 12px #6c4dff88}
.h-steps::before{background:#6C4DFF}
.h-phone{aspect-ratio:.47;display:flex;box-shadow:0 0 0 1px #8c7cff77,0 0 22px #7b5cffbb,0 0 60px #5b4be055}
.h-phscreen{flex:1;align-content:start}
@media(min-width:1181px){
 .h-rows .h-card{height:226px;box-sizing:border-box;overflow:hidden}
 .h-card{padding:12px 16px}.h-card h2{margin-bottom:8px;font-size:16.5px}
 .h-steps{gap:12px}.h-steps::before{left:14px;top:16px;bottom:16px}.h-num{width:30px;height:30px}.h-steps .h-num{font-size:14px}
 .h-steps h3{font-size:14px}.h-steps p{font-size:11.5px;line-height:1.3}
 .h-ints ul{gap:9px}.h-tile svg{width:30px;height:30px}.h-ints li{gap:12px}
 .h-pricehead{margin-bottom:2px}.h-plans{gap:9px;padding-top:10px}
 .h-plan{padding:8px 10px}.h-plan h3{font-size:14px}.h-amt{margin:2px 0 4px}.h-amt b{font-size:20px}
 .h-plan ul{gap:3px;margin-bottom:8px;font-size:10.5px;white-space:nowrap}.h-plan li::before{margin-right:4px}
 .h-planbtn{padding:5px;font-size:11.5px}
 .h-phone{margin-top:0;width:180px;padding:6px}
 .h-phscreen{padding:32px 9px 10px;gap:9px}
}
@media(min-width:1181px){
 .h-plans{padding-top:8px}.h-plan ul{margin-bottom:6px}
 .h-vprops.s-wrap{padding-top:4px;padding-bottom:4px}.h-vp p{line-height:1.3}
 .h-rows{position:relative}.h-phone{margin-top:-24px}
}
@media(min-width:1181px){.h-phone{margin-top:0}}
.h-steps .h-num{color:#fff}
.h-bk{position:relative}
/* M27 C7: 360 phones keep the 16px gutter with the one-line "Automate Your Trading" (C2) */
@media(max-width:374px){.site .h-hero h1{font-size:27px}}
/* ---- M28 A2: device screens are real app screenshots (web/brand/art/*@2x.webp, sample paper data); A3 frame materials */
.h-screen,.h-phscreen{position:relative}
.h-shot{display:block;width:100%;height:100%;object-fit:cover;object-position:left top}
.h-screen>.h-shot{position:absolute;inset:0}
.h-shotcap{position:absolute;right:.9em;bottom:.8em;z-index:2;font-size:11px;font-weight:600;background:#0b0e22e6;line-height:1.5}
.h-phscreen{padding:0;display:block}
.h-phscreen>.h-shot{position:absolute;inset:0;object-position:center top}
.h-phscreen .h-island{z-index:2;top:7px;height:15px;width:32%;box-shadow:0 0 0 1px #1d2034}
.h-phscreen .h-shotcap{right:50%;transform:translateX(50%);bottom:10px;white-space:nowrap}
/* A3 laptop: thin black bezel, metallic edge, violet/blue rim light, specular lid streak, glow pool */
.h-lid{position:relative;padding:1.1%;border:1px solid #000;background:linear-gradient(#0a0b14,#05060d) padding-box,linear-gradient(135deg,#c9ccdf,#5d6180 30%,#2a2c40 60%,#9da2c4) border-box;
  box-shadow:inset 0 0 0 1px #000,0 0 0 1px #8c7cff99,-8px -2px 22px #4f7cff77,6px 0 30px #7b5cffaa,0 0 90px #5b4be066}
.h-lid::after{content:"";position:absolute;inset:0;border-radius:inherit;pointer-events:none;z-index:3;
  background:linear-gradient(115deg,transparent 18%,#ffffff1f 26%,#ffffff08 34%,transparent 42%)}
.h-base{background:linear-gradient(#eef0f8,#a9adc4 40%,#5d6178 80%,#3a3d52);border-top:1px solid #f4f2ff}
.h-pool{left:0;right:-4%;bottom:-34px;height:60px;background:radial-gradient(ellipse 50% 50% at 50% 50%,#8b6cffcc,#5b4be055 50%,transparent 75%);filter:blur(10px)}
/* diagonal light beams behind the laptop (upper right): blurred gradient bands */
.h-beams{inset:-70px -90px 25% 20%}
.h-beams i{height:14px;filter:blur(10px);opacity:.75;background:linear-gradient(90deg,transparent,#6d4cff 45%,#a68bff 80%,#e1d8ff);transform:rotate(-28deg)}
.h-beams i:nth-child(1){top:4%;height:4px;filter:blur(2px);opacity:.9}
.h-beams i:nth-child(2){top:20%;height:26px;filter:blur(16px);opacity:.6;background:linear-gradient(90deg,transparent,#3f6bff 55%,#9a7cff)}
.h-beams i:nth-child(3){top:36%;height:8px;filter:blur(5px);opacity:.5}
/* A3 phone: slim metallic frame, black bezel, rim light, glow pool */
.h-phone{position:relative;padding:5px;border:1.5px solid transparent;background:linear-gradient(#05060d,#05060d) padding-box,linear-gradient(150deg,#d6d8e8,#55597a 35%,#262838 65%,#a3a7c8) border-box;
  box-shadow:inset 0 0 0 2px #000,0 0 0 1px #8c7cff88,-6px 0 18px #4f7cff66,0 0 26px #7b5cffbb,0 0 70px #5b4be066}
.h-phone::before{content:"";position:absolute;left:8%;right:8%;bottom:-26px;height:34px;background:radial-gradient(ellipse at center,#8b6cffaa,transparent 70%);filter:blur(8px);z-index:-1}
.h-phone::after{content:"";position:absolute;inset:5px;border-radius:27px;pointer-events:none;background:linear-gradient(120deg,transparent 30%,#ffffff14 38%,transparent 46%)}
.h-phscreen{background:#070b16}
.h-phscreen>.h-shot{top:22px;height:calc(100% - 22px)}
.h-phscreen .h-shotcap{bottom:40px;font-size:11px;padding:.1em .6em}
.h-phscreen .h-shotcap{left:0;right:0;bottom:0;transform:none;border:0;border-top:1px solid #ffd78955;border-radius:0 0 27px 27px;padding:5px 0 9px;text-align:center;background:#0b0e22}
/* ---- M28 A5: full-bleed darker broker band (edge to edge), real coloured logos on equal light chips (28px), no contained box */
.h-strip{margin-top:10px;border-block:1px solid #ffffff1a;background:linear-gradient(90deg,#070a1c,#0d1033 50%,#070a1c);box-shadow:inset 0 1px 0 #8c7cff22}
.h-stripin.s-wrap{max-width:1226px;border:0;border-radius:0;background:none;box-shadow:none;padding:10px 18px}
.h-bklogo.h-chip{display:grid;place-items:center;flex:none;width:28px;height:28px;padding:0;border-radius:7px;background:#ffffffeb;box-shadow:0 0 0 1px #ffffff33,0 2px 8px #0006;overflow:hidden}
.h-bklogo.h-chip img{display:block;width:22px;height:22px;max-width:none;max-height:none;object-fit:contain;border-radius:3px;filter:none}
.h-bk-word .h-bklogo.h-chip{width:auto;padding:0 7px}
.h-bk-word .h-bklogo.h-chip img{width:auto;height:20px;max-width:90px;border-radius:0;filter:none}
.h-bk-word .h-bkname{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.h-stripnote{margin-top:4px}
@media(max-width:640px){.h-stripin.s-wrap{margin-inline:0;padding:12px 16px}}
/* ---- M28 A6: readability floor in the home first viewport (>= 12px; legal microcopy 11px) + phone fully above the fold, laptop base inside the viewport */
.h-feats small,.h-steps p,.h-ints small,.h-amt small,.h-plan ul,.h-planbtn,.h-popbadge,.h-pricehead .s-pill{font-size:12px}
.h-shotcap,.h-cap,.h-stripnote{font-size:11px}
@media(min-width:1024px){.h-feats small{font-size:12px}.h-feats{gap:14px}.h-feats li{gap:6px}}
@media(min-width:1181px){
 .h-plan ul{font-size:12px;gap:2px}.h-plan{padding:8px 9px}.h-planbtn{font-size:12px;padding:4px}.h-steps p{font-size:12px;line-height:1.25}.h-ints small{font-size:12px}
 .h-pricehead .s-pill{font-size:12px;padding:1px 8px}.h-popbadge{font-size:12px;top:-11px}
 .h-rows .h-phone{width:150px;align-self:start;margin-top:-6px}
}
@media(min-width:1280px){.h-base{margin:0 -2.5%}}
@media(min-width:1181px){
 .h-rows .h-phone{width:130px;margin:-52px 0 0 0;justify-self:start;padding:4px;border-radius:24px}
 .h-rows .h-phone .h-phscreen,.h-rows .h-phone::after{border-radius:20px}.h-rows .h-phone .h-phscreen .h-shotcap{border-radius:0 0 20px 20px;padding:3px 0 6px}
 .h-rows .h-phone .h-island{top:5px;height:11px}.h-rows .h-phone .h-phscreen>.h-shot{top:18px;height:calc(100% - 18px)}
}
@media(min-width:1024px){.h-hero .s-herotext{min-width:0}.h-feats{gap:10px;justify-content:space-between}.h-feats li{gap:5px}.h-feats .h-ico{width:20px;height:20px}
 .h-feats{display:grid;grid-template-columns:1.25fr 1fr 1fr;align-items:start}.h-feats li{min-width:0;align-items:flex-start}.h-feats li>span{min-width:0}
 .h-feats small{white-space:normal;line-height:1.25}.h-feats b{font-size:12.5px}
 .h-hero .s-cta{margin-top:12px}.h-micro{margin-top:6px}}
/* A6: phone fully above the fold at 1280x853 / 1440x900 without touching the value-prop text: 114px wide, starts just under the value props */
@media(min-width:1181px){.h-rows .h-phone{width:110px;margin-top:-6px}.h-vprops.s-wrap{padding-bottom:0}.h-vp p{line-height:1.25}}
/* M28 A4: the phone top clears the value-prop text (2nd line of "Run multiple strategies" ended 5px below the phone top) and stays above the fold */
@media(min-width:1181px){.h-rows .h-phone{margin-top:1px}}
/* M28 A1 broker band fidelity: mockup band tone (#171b40 centre, lighter edge glow) and larger white wordmark names next to the A5 chips */
.h-strip{background:linear-gradient(90deg,#0c0f30,#1a1e48 50%,#0c0f30);border-block-color:#8c7cff2e}
.h-bk .h-bkname{font-weight:600;font-size:16px;letter-spacing:-.3px}  /* M27 C3: names stay white 600 */
.h-bk[data-broker=ibkr] .h-bkname{font-size:13px;line-height:1.05;white-space:normal;max-width:84px}
@media(max-width:374px){.h-bk[data-broker=ibkr] .h-bkname{max-width:none;white-space:nowrap}}
/* ---- M29 D1: hero laptop at mockup scale + angle (right ~52% of the hero, lid >= 640px at 1440), stronger 3D perspective, whole device visible */
@media(min-width:1024px){
 .h-laptop{transform:perspective(1600px) rotateY(-20deg) rotateX(5deg)}
 .h-beams{inset:-90px -110px 15% 5%}.h-beams i{opacity:.85}
 .h-art{margin-top:8px}
}
/* ---- M29 D2: phone = standalone device in its own right column, ~1.35x the 226px card row, fully inside the section; own band at <= 640 */
.h-phband{display:contents}
@media(min-width:1181px){
 .h-rows .h-phone{width:150px;height:306px;aspect-ratio:auto;margin:0;justify-self:center;align-self:start}
 .h-rows.s-wrap{padding-bottom:28px}
}
@media(max-width:640px){
 .h-phband{display:grid;place-items:center;margin:8px -20px 0;padding:32px 0 40px;background:radial-gradient(ellipse 60% 55% at 50% 50%,#5b3fe044,transparent 70%),#0a0d26;border-block:1px solid #ffffff14}
 .h-phband .h-phone{width:240px;margin:0}
}
@media(min-width:1024px) and (max-width:1279px){.h-art{margin-right:8px}}  /* M29 D1: -20deg lid keeps the base inside 1024-1279 */
/* ---- M29 D3: one broker treatment on the dark band (mark + white name, no light tile); OANDA glyph crop in monochrome white */
.h-bklogo{display:grid;place-items:center;flex:none;width:28px;height:28px;padding:0;background:none;box-shadow:none;border-radius:0;overflow:hidden}
.h-bklogo img{display:block;width:28px;height:28px;max-width:none;object-fit:contain;border-radius:6px;filter:none}
.h-bk[data-broker=oanda] .h-bklogo img{object-fit:cover;object-position:left center;border-radius:0;filter:brightness(0) invert(1)}
/* D3 rhythm + grid at 1440 (>= 1400; 1280 keeps the M26 mockup-parity boxes): >= 48px between sections, one left edge = hero copy */
@media(min-width:1400px){
 .h-hero.s-hero{padding-bottom:0}.h-strip{margin-top:68px}
 .h-stripin.s-wrap,.h-vprops.s-wrap,.h-rows.s-wrap{max-width:1200px;padding-inline:25px}
 .h-stripnote{max-width:1200px;padding-inline:25px}
 .h-vprops.s-wrap{padding-top:0;padding-bottom:0;margin-top:48px;margin-bottom:48px}
 .h-rows.s-wrap{grid-template-columns:minmax(0,262fr) minmax(0,240fr) minmax(0,420fr) 170px;padding-bottom:64px}
}
/* ---- M29 D4: phone hero preview (<= 640): phone frame with the mobile screen at ~1:1 CSS scale (text >= 11px effective) replaces the laptop; paper line up front */
.h-heroph,.h-paperfirst{display:none}
@media(max-width:640px){
 .h-hero .h-art{display:none}
 .h-paperfirst{display:block;margin:10px 0 0;font-size:13px;font-weight:600;color:#ffd789}
 .h-heroph{display:grid;justify-items:center;margin:28px 0 0;position:relative}
 .h-heroph::before{content:"";position:absolute;inset:10% -10% 0;background:radial-gradient(ellipse 55% 50% at 50% 45%,#5b3fe066,transparent 70%);z-index:-1}
 .h-heroph .h-phone{width:304px;aspect-ratio:.6;padding:5px;border-radius:38px}
 .h-heroph .h-phscreen{border-radius:32px}.h-heroph .h-phone::after{border-radius:32px}
 .h-heroph .h-phscreen>.h-shot{top:26px;height:auto;bottom:auto;aspect-ratio:290/617;object-fit:fill}
 .h-heroph .h-phscreen .h-shotcap{border-radius:0 0 32px 32px}
 .h-heroph .h-cap{margin-top:18px}
}
/* M29 D7: at 1280-1439 the enlarged laptop sits 12px left (mockup x, dx <= 24) and the broker band 6px lower so the laptop box clears it */
@media(min-width:1280px) and (max-width:1439px){.h-art{translate:-12px 0}.h-strip{margin-top:16px}}
.h-bkavail{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}  /* REV2 item 03: label for screen readers; the note under the band shows it */
