/* ManageHive brand pages: landing and sign-up */
:root { --navy:#1b1f3b; --navy2:#2a2f55; --honey:#f5a524; --honey2:#ffc857; --cream:#fdf8ee; --ink:#1b1f3b; --muted:#5b5f78; --line:#e8e2d3; --bad:#b42318; --good:#137a3a; }
* { box-sizing: border-box; }
body.mh { margin:0; background:var(--cream); color:var(--ink); font:17px/1.55 Outfit, system-ui, sans-serif; }
a { color: var(--navy); }
.mh-top { display:flex; justify-content:space-between; align-items:center; padding:14px clamp(16px,4vw,40px); }
.mh-logo { display:inline-flex; align-items:center; gap:8px; text-decoration:none; color:var(--navy); font-weight:800; font-size:24px; letter-spacing:-.5px; }
.mh-logo b { color: var(--honey); font-weight:800; }
.mh-logo img { width:40px; height:40px; }
.mh-link { background:none; border:0; padding:8px 4px; font:600 16px Outfit, sans-serif; color:var(--navy); text-decoration:underline; cursor:pointer; min-height:44px; }
.mh-btn { display:inline-flex; align-items:center; justify-content:center; min-height:48px; padding:10px 24px; border-radius:999px; border:2px solid var(--navy); background:var(--navy); color:#fff; font:700 17px Outfit, sans-serif; text-decoration:none; cursor:pointer; }
.mh-btn:hover { background:var(--navy2); }
.mh-btn.ghost { background:transparent; color:var(--navy); }
.mh-btn.honey { background:var(--honey); border-color:var(--honey); color:var(--navy); }
.mh-btn:disabled { opacity:.6; cursor:wait; }
:focus-visible { outline:3px solid var(--honey); outline-offset:2px; }
.formerr { color:var(--bad); font-weight:600; min-height:1.2em; margin:8px 0 0; }
.hint, .small { font-size:14px; color:var(--muted); }
.muted { color:var(--muted); }
.opt { font-weight:500; color:var(--muted); font-size:15px; }

/* sign-up */
.su { max-width:880px; margin:0 auto; padding:8px 16px 48px; }
.su-steps { display:flex; gap:6px; list-style:none; padding:0; margin:0 0 16px; counter-reset:s; flex-wrap:wrap; }
.su-steps li { flex:1 1 120px; font-size:14px; font-weight:600; color:var(--muted); border-top:4px solid var(--line); padding-top:6px; counter-increment:s; }
.su-steps li::before { content: counter(s) ". "; }
.su-steps li.on { color:var(--navy); border-color:var(--honey); }
.su-steps li.done { color:var(--navy); border-color:var(--navy); }
.su-card { background:#fff; border-radius:20px; padding:clamp(18px,4vw,36px); box-shadow:0 10px 30px rgba(27,31,59,.08); }
.su-card h1 { font-size:clamp(26px,4vw,34px); line-height:1.15; margin:0 0 6px; outline:none; }
.lead { color:var(--muted); margin:0 0 18px; }
.su-card label { display:block; font-weight:600; margin:0 0 14px; }
.su-card input:not([type=file]) { display:block; width:100%; margin-top:4px; min-height:48px; padding:10px 14px; border:2px solid var(--line); border-radius:12px; font:500 17px Outfit, sans-serif; color:var(--ink); background:#fff; }
.su-card input:focus { border-color:var(--honey); outline:none; box-shadow:0 0 0 3px rgba(245,165,36,.3); }
.two { display:grid; grid-template-columns:1fr 1fr; gap:12px; }
.addr { display:flex; align-items:center; border:2px solid var(--line); border-radius:12px; margin-top:4px; overflow:hidden; background:#faf7f0; }
.addr > span { padding:0 0 0 12px; font-size:14px; color:var(--muted); white-space:nowrap; overflow:hidden; text-overflow:ellipsis; max-width:55%; }
.addr input { border:0 !important; margin:0 !important; border-radius:0 !important; background:#fff !important; }
.su-nav { display:flex; justify-content:space-between; align-items:center; gap:12px; margin-top:22px; }
.types, .plans { display:grid; grid-template-columns:repeat(2, minmax(0,1fr)); gap:12px; }
.plans { grid-template-columns:repeat(3, minmax(0,1fr)); }
.type, .plan { position:relative; text-align:left; display:flex; flex-direction:column; gap:4px; padding:16px; border:2px solid var(--line); border-radius:16px; background:#fff; font:inherit; color:inherit; cursor:pointer; min-height:44px; }
.type b, .plan b { font-size:19px; }
.type span:last-child { font-size:15px; color:var(--muted); }
.type .ico { font-size:30px; }
.type[aria-checked=true], .plan[aria-checked=true] { border-color:var(--honey); background:#fff9ec; box-shadow:0 0 0 3px rgba(245,165,36,.25); }
.type[aria-checked=true]::after, .plan[aria-checked=true]::after { content:"✓"; position:absolute; top:10px; right:12px; width:26px; height:26px; border-radius:50%; background:var(--honey); color:var(--navy); font-weight:800; display:grid; place-items:center; }
.plan .price { font-size:30px; font-weight:800; }
.plan .price small { font-size:15px; font-weight:600; color:var(--muted); }
.plan ul { margin:6px 0 0; padding-left:18px; font-size:15px; color:var(--muted); }
.plan .tag { position:absolute; top:-12px; left:14px; background:var(--navy); color:#fff; font-size:12px; font-weight:700; padding:3px 10px; border-radius:999px; }
.logo-pick { border:2px dashed var(--line); border-radius:16px; padding:14px 16px; margin:6px 0 0; }
.logo-pick legend { font-weight:700; padding:0 6px; }
.logo-row { display:flex; gap:16px; align-items:center; flex-wrap:wrap; }
.logo-prev { width:180px; height:110px; border-radius:12px; background:#faf7f0; display:grid; place-items:center; overflow:hidden; }
.logo-prev img { max-width:160px; max-height:96px; }
.logo-prev .mh-logo.big { font-size:22px; }
.logo-btns { display:flex; flex-direction:column; align-items:flex-start; gap:4px; }
.file { position:relative; overflow:hidden; }
.file input { position:absolute; inset:0; opacity:0; cursor:pointer; }
.file:focus-within { outline:3px solid var(--honey); outline-offset:2px; }

/* landing */
.hero { max-width:1100px; margin:0 auto; padding:clamp(24px,6vw,64px) 16px; display:grid; grid-template-columns:1.2fr 1fr; gap:32px; align-items:center; }
.hero h1 { font-size:clamp(34px,6vw,58px); line-height:1.05; margin:0 0 14px; letter-spacing:-1px; }
.hero h1 em { font-style:normal; color:var(--honey); }
.hero p { font-size:19px; color:var(--muted); margin:0 0 22px; }
.hero .cta { display:flex; gap:12px; flex-wrap:wrap; }
.hero-art { display:grid; place-items:center; }
.hero-art img { width:min(320px, 70vw); height:auto; }
.band { background:#fff; }
.wrap { max-width:1100px; margin:0 auto; padding:clamp(28px,5vw,56px) 16px; }
.wrap h2 { font-size:clamp(26px,4vw,38px); margin:0 0 18px; }
.cards4 { display:grid; grid-template-columns:repeat(4, minmax(0,1fr)); gap:14px; }
.card { background:var(--cream); border-radius:16px; padding:18px; }
.card .ico { font-size:32px; }
.card h3 { margin:6px 0; font-size:19px; }
.card p { margin:0; color:var(--muted); font-size:15px; }
.feat { display:grid; grid-template-columns:repeat(3, minmax(0,1fr)); gap:14px; }
.feat div { border-left:4px solid var(--honey); padding:4px 12px; }
.feat b { display:block; }
.feat span { color:var(--muted); font-size:15px; }
.mh-foot { text-align:center; padding:28px 16px; color:var(--muted); font-size:14px; }

#toasts { position:fixed; bottom:16px; left:50%; transform:translateX(-50%); display:flex; flex-direction:column; gap:8px; z-index:50; }
.toast { background:var(--navy); color:#fff; padding:12px 18px; border-radius:12px; font-weight:600; transition:opacity .4s; }
.toast.bad { background:var(--bad); } .toast.good { background:var(--good); } .toast.out { opacity:0; }

@media (max-width: 760px) {
  .types, .plans, .two, .cards4, .feat, .hero { grid-template-columns:1fr; }
  .hero-art { order:-1; } .hero-art img { width:160px; }
}
.offer { border:2px solid var(--line); border-radius:16px; padding:12px 16px; margin:14px 0 0; display:grid; grid-template-columns:1fr 1fr; gap:4px 16px; }
.offer legend { font-weight:700; padding:0 6px; }
.offer legend .opt { display:block; font-size:14px; }
.chk { display:flex !important; align-items:center; gap:10px; min-height:44px; margin:0 !important; font-weight:500 !important; cursor:pointer; }
.chk input { width:22px !important; height:22px; min-height:22px !important; flex:none; margin:0 !important; accent-color:var(--honey); }
@media (max-width:760px){ .offer { grid-template-columns:1fr; } }
