/* Home page (design B: light and bold, with a dark variant that follows the theme picker) */
.hb{--hb-blue:#1f5fd6;--hb-btn:#1f5fd6;--hb-vio:#5b21b6;--hb-vio-btn:#7c3aed;--hb-vio-soft:#ede7fe;--hb-blue-soft:#e5edff;--hb-or:#9a3412;--hb-or-soft:#fff4e8;--hb-warn:#fff6ec;--hb-warn-line:#fcd9b6;--hb-frame:#13233f;--hb-panel:#13233f;--hb-panel-2:#1d3157;--hb-panel-ink:#c9d3e6;--hb-shadow:0 30px 60px -30px rgba(19,35,63,.45)}
:root[data-theme="dark"] .hb{--hb-blue:#7fb0ff;--hb-vio:#c4b5fd;--hb-vio-soft:#241a44;--hb-blue-soft:#14264a;--hb-or:#f0a868;--hb-or-soft:#2d1f10;--hb-warn:#2d1f10;--hb-warn-line:#5a3a17;--hb-frame:#04080e;--hb-panel:#0a1322;--hb-panel-2:#15233b;--hb-shadow:0 30px 60px -30px rgba(0,0,0,.8)}
@media (prefers-color-scheme: dark){:root:not([data-theme="light"]) .hb{--hb-blue:#7fb0ff;--hb-vio:#c4b5fd;--hb-vio-soft:#241a44;--hb-blue-soft:#14264a;--hb-or:#f0a868;--hb-or-soft:#2d1f10;--hb-warn:#2d1f10;--hb-warn-line:#5a3a17;--hb-frame:#04080e;--hb-panel:#0a1322;--hb-panel-2:#15233b;--hb-shadow:0 30px 60px -30px rgba(0,0,0,.8)}}

body.out main.wrap,body.out .top .wrap,body.out .lp-foot .wrap{max-width:1200px}
body.out .gate.hb{margin-top:0;gap:0}
.hb-nav{display:none}
body.out .hb-nav{display:flex;align-items:center;gap:18px;margin-right:6px}
.hb-nav a{color:var(--muted);text-decoration:none;font-weight:500;font-size:.92rem}
.hb-nav a:hover{color:var(--ink)}
.hb-nav a.hb-pill{background:var(--ink);color:var(--bg);padding:7px 16px;border-radius:999px;font-weight:600}
@media (max-width:760px){body.out .hb-nav a:not(.hb-pill){display:none}}

.hb h2,.hb h3{margin:0;font-family:var(--f-display);font-weight:800;letter-spacing:-.02em;color:var(--ink)}
.hb .hb-sec{padding-top:clamp(64px,9vw,112px);display:flex;flex-direction:column;gap:36px}
.hb .hb-head{display:flex;flex-direction:column;gap:10px;align-items:center;text-align:center}
.hb .hb-head h2{font-size:clamp(2rem,5vw,3.4rem);line-height:1.05;text-wrap:balance}
.hb .hb-tag{font-size:.9rem;font-weight:700;color:var(--hb-vio)}

/* Hero */
.hb-hero{display:flex;flex-direction:column;align-items:center;text-align:center;gap:22px;padding-top:clamp(40px,7vw,72px)}
.hb .hb-chip{font-size:.88rem;font-weight:600;color:var(--hb-vio);background:var(--hb-vio-soft);padding:8px 16px;border-radius:999px}
.hb .hb-h1{margin:0;font-family:var(--f-display);font-weight:800;font-size:clamp(2.5rem,7.4vw,4.9rem);line-height:1;letter-spacing:-.035em;max-width:16ch;text-wrap:balance;color:var(--ink)}
.hb .hb-h1 span{color:var(--hb-blue)}
.hb .hb-lead{font-size:clamp(1.05rem,2vw,1.25rem);line-height:1.55;color:var(--muted);max-width:44ch}
.hb .hb-lead b{color:var(--ink)}
.hb-signin{display:flex;flex-direction:column;align-items:center;gap:10px;width:100%;max-width:560px}
.hb-form{display:flex;gap:8px;flex-wrap:wrap;width:100%;background:var(--surface);border:1px solid var(--line);border-radius:999px;padding:6px;box-shadow:0 10px 30px -18px rgba(19,35,63,.35)}
.hb-form input{flex:1 1 200px;min-width:0;height:50px;padding:0 18px;border:0;border-radius:999px;background:transparent;color:var(--ink);font:inherit;font-size:1.02rem}
.hb-form input:focus-visible{outline:2px solid var(--hb-blue);outline-offset:0}
.hb-form button{height:50px;padding:0 26px;border:0;border-radius:999px;background:var(--hb-btn);color:#fff;font:700 1rem var(--f-body);cursor:pointer}
.hb-form button:hover{filter:brightness(1.08)}
.hb .gmsg{color:var(--ink);font-size:.92rem}
.hb .hb-fine{font-size:.84rem;color:var(--muted);max-width:52ch}
.hb .hb-fine a{color:inherit;text-decoration:underline;text-underline-offset:2px}
@media (max-width:480px){.hb-form{border-radius:18px}.hb-form button{width:100%}}

/* Phones */
.hb-phones{display:flex;justify-content:center;align-items:flex-end;gap:24px;padding-top:56px}
.hb-phone{flex:0 0 250px;height:470px;background:var(--hb-frame);border-radius:36px;padding:12px;box-shadow:var(--hb-shadow)}
.hb-phone.l{transform:rotate(-4deg)}.hb-phone.r{transform:rotate(4deg)}
.hb-phone.c{flex-basis:280px;height:540px;border-radius:40px;position:relative;z-index:1}
.hb-scr{background:var(--surface);border-radius:26px;height:100%;padding:20px 18px;display:flex;flex-direction:column;gap:10px;text-align:left;font-size:.84rem;color:var(--ink);overflow:hidden}
.hb-scr b{font-size:.95rem}
.hb .hb-scr .m{color:var(--muted);font-size:.78rem}
.hb-bar{height:8px;background:var(--hb-blue-soft);border-radius:4px}.hb-bar i{display:block;height:100%;width:66%;background:var(--hb-blue);border-radius:4px}
.hb-row{border:1px solid var(--line);border-radius:12px;padding:10px}
.hb-row.warn{background:var(--hb-warn);border-color:var(--hb-warn-line)}
.hb-row.done{color:var(--muted)}
.hb-pills{display:flex;gap:6px;font-size:.74rem;font-weight:600}
.hb-pills span{background:var(--bg);padding:6px 10px;border-radius:999px}
.hb-pills span.on{background:var(--ink);color:var(--surface)}
.hb-hook{background:var(--hb-vio-soft);border-radius:12px;padding:12px;line-height:1.45}
.hb-apply{margin-top:auto;background:var(--hb-vio-btn);color:#fff;text-align:center;padding:12px;border-radius:12px;font-weight:700}
.hb-leg{display:flex;justify-content:space-between;font-size:.74rem;font-weight:700}
@media (max-width:860px){.hb-phone.l,.hb-phone.r{display:none}}

/* Steps */
.hb-grid3{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:20px}
.hb-card{background:var(--surface);border:1px solid var(--line);border-radius:28px;padding:32px;display:flex;flex-direction:column;gap:12px}
.hb-card h3{font-size:1.6rem}
.hb .hb-card p{color:var(--muted);line-height:1.6}
.hb-num{font-family:var(--f-display);font-size:3rem;font-weight:800;line-height:1;color:var(--hb-blue)}
.hb-code{margin-top:auto;align-self:flex-start;font:600 .8rem var(--f-mono);color:var(--hb-vio);background:var(--hb-vio-soft);padding:8px 12px;border-radius:8px}

/* Demo panel (reuses the .lp-tabs / .lp-out tab script) */
.hb-panel{background:var(--hb-panel);color:#fff;border:1px solid var(--sec-line);border-radius:32px;padding:clamp(24px,4vw,48px);display:flex;flex-direction:column;gap:20px}
.hb-panel h2{color:#fff;font-size:clamp(1.8rem,4vw,2.8rem);line-height:1.08;text-wrap:balance}
.hb .hb-panel .hb-tag{color:var(--sec-ai)}
.hb .hb-panel p.hb-psub{color:var(--hb-panel-ink);font-size:1.05rem}
.hb-panel .hb-psub b{color:#fff}
.hb-panel .lp-tabs{margin:0}
.hb-panel .lp-tabs button{font-size:.95rem;padding:10px 20px}
.hb-panel .lp-tabs button[aria-selected="true"]{background:#fff;border-color:#fff;color:#13233f}
.hb-panel .lp-out{background:var(--hb-panel-2);border:0;border-radius:20px;padding:24px;min-height:200px;gap:12px}
.gate.hb .hb-panel .lp-out p{font-size:1.05rem;line-height:1.55}
.gate.hb .hb-panel .lp-demo-note{margin:0;color:var(--sec-muted)}

/* Features */
.hb-feats{display:grid;grid-template-columns:repeat(auto-fit,minmax(320px,1fr));gap:20px}
.hb-dir{background:var(--hb-panel);color:#fff;border:1px solid var(--sec-line);border-radius:28px;padding:40px;display:flex;flex-direction:column;gap:14px;grid-row:span 3}
.hb-dir h2{color:#fff;font-size:clamp(1.9rem,3.6vw,2.6rem);line-height:1.05}
.hb .hb-dir .hb-tag{color:var(--sec-ai)}
.hb .hb-dir p{color:var(--hb-panel-ink);line-height:1.6;font-size:1.05rem}
.hb-ops{margin-top:auto;background:var(--hb-panel-2);border-radius:16px;padding:18px;display:flex;flex-direction:column;gap:6px;font-size:.92rem}
.hb-ops em{font-style:normal;align-self:flex-start;margin-top:8px;background:var(--hb-vio-btn);padding:8px 14px;border-radius:8px;font-weight:700}
.hb-tile{border-radius:28px;padding:32px;display:flex;flex-direction:column;gap:10px;background:var(--surface);border:1px solid var(--line)}
.hb-tile.blue{background:var(--hb-blue-soft);border-color:transparent}
.hb-tile.vio{background:var(--hb-vio-soft);border-color:transparent}
.hb-tile.or{background:var(--hb-or-soft);border-color:transparent}
.hb-tile .k{font-size:.9rem;font-weight:700;color:var(--hb-blue)}
.hb-tile.vio .k{color:var(--hb-vio)}.hb-tile.or .k{color:var(--hb-or)}
.hb-tile h3{font-size:1.55rem}
.hb .hb-tile p{color:var(--muted);line-height:1.55}
.hb-facts{display:grid;grid-template-columns:repeat(auto-fit,minmax(320px,1fr));gap:20px;padding-top:20px}
.hb-fact{border-radius:28px;padding:32px 40px;display:flex;gap:20px;align-items:center;background:var(--hb-blue-soft)}
.hb-fact.vio{background:var(--hb-vio-soft);flex-direction:column;align-items:flex-start;gap:6px}
.hb-fact strong{font-family:var(--f-display);font-size:2.4rem;font-weight:800;color:var(--hb-blue)}
.hb-fact.vio strong{font-size:1.25rem;color:var(--ink)}
.hb .hb-fact p{color:var(--muted);line-height:1.55}

/* Closing call to action */
.hb-cta{padding:clamp(72px,10vw,112px) 0 clamp(56px,8vw,96px);display:flex;flex-direction:column;align-items:center;text-align:center;gap:24px}
.hb-cta h2{font-size:clamp(2rem,5.4vw,3.6rem);line-height:1.02;max-width:18ch;text-wrap:balance}
.hb-cta button{height:58px;padding:0 34px;border:0;border-radius:999px;background:var(--hb-btn);color:#fff;font:700 1.05rem var(--f-body);cursor:pointer}
