/* Home pricing section "Start working with EasyBooks". Everything scoped under .eb-hp. Transparent: the page background shows through. */
.eb-hp{
  --hp-h:#24183f; --hp-ink:#243047; --hp-muted:#414d63; --hp-card:#fff; --hp-line:#dedff3; --hp-shadow:0 8px 28px #5366ae14;
  --hp-accent:#4facf3; --hp-glow:#4facf355; --hp-ok:#1d5c49; --hp-lilac:#f1edff; --hp-focus:#8463e7; --hp-link:#47268d; --hp-btn:#47268d;
  text-align:start; color:var(--hp-ink);
}
.eb-hp *,.eb-hp *::before,.eb-hp *::after{box-sizing:border-box}
.eb-hp :focus-visible{outline:3px solid var(--hp-focus); outline-offset:3px}
.eb-hp h2.eb-hp-h{display:flex; align-items:center; flex-wrap:wrap; gap:8px 16px; margin:0 0 10px; font-family:'Rubik','Heebo',Arial,sans-serif; font-weight:800; color:var(--hp-h);
  font-size:clamp(30px,4.4vw,54px); line-height:1.1; text-align:start}
.eb-hp .eb-hp-wm{height:.95em; width:auto; margin-top:.08em; display:block}
@media (max-width:767px){ .eb-hp h2.eb-hp-h{flex-direction:row; align-items:center; gap:8px 12px} }
.eb-hp p.eb-hp-lead{margin:0 0 22px; font-weight:500; color:var(--hp-muted); font-size:clamp(17px,1.5vw,21px); line-height:1.4; text-align:start}

/* billing toggle: selected = white pill with blue border + glow, faint highlighter under the text; unselected = plain text */
.eb-hp .eb-hp-toggle{display:inline-flex; gap:6px; padding:0; margin:0 0 26px}
.eb-hp .eb-hp-toggle[hidden]{display:none}
.eb-hp .eb-hp-toggle button{appearance:none; margin:0; cursor:pointer; border:1px solid transparent; background:none; border-radius:999px; padding:9px 20px; min-height:44px;
  font-family:'Rubik','Heebo',sans-serif; font-weight:500; font-size:18px; line-height:1.2; color:var(--hp-muted); white-space:nowrap; display:inline-flex; align-items:center}
.eb-hp .eb-hp-toggle button[aria-pressed="true"]{color:var(--hp-h); font-weight:800; background:var(--hp-card); border-color:var(--hp-accent); box-shadow:0 0 0 3px var(--hp-glow),0 8px 20px #5366ae1f}
.eb-hp .eb-hp-toggle button[aria-pressed="true"]>span:first-child{background:linear-gradient(to top,rgba(79,172,243,.22) 0 36%,transparent 36%); border-radius:3px; padding:0 2px}
.eb-hp .eb-hp-toggle small{font-size:12px; color:var(--hp-ok); font-weight:700; margin-inline-start:6px}
@media (max-width:420px){ .eb-hp .eb-hp-toggle button{padding:9px 14px} .eb-hp .eb-hp-toggle small{display:none} }

.eb-hp .eb-hp-grid{display:grid; grid-template-columns:repeat(3,1fr); gap:20px; align-items:start; margin-top:6px}
@media (max-width:900px){ .eb-hp .eb-hp-grid{grid-template-columns:1fr; gap:28px} }
.eb-hp .eb-hp-card{background:var(--hp-card); border:1px solid var(--hp-line); border-radius:22px; box-shadow:var(--hp-shadow); position:relative; padding:26px 24px 24px;
  display:flex; flex-direction:column; gap:16px; min-width:0; margin:0}
.eb-hp .eb-hp-card.is-popular{border-color:var(--hp-accent); box-shadow:0 0 0 3px var(--hp-accent),0 10px 32px var(--hp-glow)}
.eb-hp .eb-hp-badge{position:absolute; inset-block-start:-13px; inset-inline-start:22px; background:linear-gradient(135deg,#6846da,#47268d); color:#fff; font-size:13px; font-weight:700; line-height:1.5;
  padding:3px 14px; border-radius:999px; box-shadow:0 6px 16px -6px #5a2fd0}
.eb-hp .eb-hp-top{display:flex; align-items:center; gap:14px}
.eb-hp .eb-hp-sym{width:96px; height:96px; object-fit:contain; flex:none; display:block}
.eb-hp .eb-hp-card.is-popular .eb-hp-sym{transform:scale(1.4); margin-inline-start:18px}
.eb-hp h3.eb-hp-name{font-family:'Rubik',sans-serif; font-weight:800; color:var(--hp-h); font-size:26px; line-height:1.2; margin:0; text-align:start}
.eb-hp p.eb-hp-sub{margin:4px 0 0; color:var(--hp-muted); font-size:15px; line-height:1.4; text-align:start}
.eb-hp .eb-hp-price[hidden]{display:none}
.eb-hp p.eb-hp-amount{display:flex; align-items:baseline; gap:6px; flex-wrap:wrap; margin:0}
.eb-hp .eb-hp-amount b{font-family:'Rubik',sans-serif; font-weight:800; color:var(--hp-h); font-size:44px; line-height:1}
.eb-hp .eb-hp-amount>span{color:var(--hp-muted); font-size:15px; line-height:1}
.eb-hp .eb-hp-price-sub{display:block; font-size:14px; color:var(--hp-muted); margin-top:6px; min-height:21px; text-align:start}
.eb-hp .eb-hp-renew{font-size:12px}
.eb-hp .eb-hp-price-sub em{font-style:normal; color:var(--hp-ok); font-weight:700}

/* rows: text and tooltip share one centered axis */
.eb-hp ul.eb-hp-rows{margin:0; padding:0; list-style:none}
.eb-hp .eb-hp-row{display:flex; align-items:center; gap:12px; min-height:44px; padding:6px 0; border-top:1px solid var(--hp-line); line-height:1.35; margin:0}
.eb-hp .eb-hp-tx{flex:1; min-width:0; display:flex; align-items:center; flex-wrap:wrap; gap:0 6px; font-size:17px; color:var(--hp-ink); text-align:start}
.eb-hp .eb-hp-tx b{font-family:'Rubik',sans-serif; font-weight:800; color:var(--hp-h); font-size:20px; line-height:1.35}
.eb-hp .eb-hp-tx small{color:var(--hp-muted); font-size:14px}
.eb-hp .eb-hp-more-h{margin:0; list-style:none}
.eb-hp .eb-hp-more-h h4{font-size:13px; font-weight:700; color:var(--hp-muted); margin:0; padding:12px 0 6px; border-top:1px solid var(--hp-line); text-align:start; font-family:inherit; line-height:1.4}
.eb-hp button.eb-hp-tip{appearance:none; display:inline-grid; place-items:center; width:20px; height:20px; padding:0; margin:0; border-radius:50%; border:1px solid var(--hp-line); background:none;
  font:700 11px/1 inherit; color:var(--hp-muted); cursor:help; flex:none}
.eb-hp button.eb-hp-tip.is-star{border-radius:6px}
.eb-hp-tipbox{position:fixed; z-index:100000; max-width:250px; background:#24183f; color:#fff; font-size:14px; line-height:1.4; padding:8px 12px; border-radius:12px; box-shadow:0 10px 28px #0005;
  pointer-events:none; opacity:0; transition:opacity .15s; text-align:start}
.eb-hp-tipbox.on{opacity:1}

/* expand the common features */
.eb-hp button.eb-hp-more{appearance:none; display:inline-flex; align-items:center; justify-content:center; gap:8px; min-height:44px; border:0; background:none; color:var(--hp-link); font:500 17px/1.2 inherit;
  padding:0 4px; margin:0; align-self:flex-start; border-radius:10px; cursor:pointer}
.eb-hp .eb-hp-more svg{width:18px; height:18px; fill:none; stroke:currentColor; stroke-width:1.75; stroke-linecap:round; stroke-linejoin:round; transition:transform .3s}
.eb-hp .eb-hp-more[aria-expanded="true"] svg{transform:rotate(180deg)}
.eb-hp .eb-hp-pan{display:grid; grid-template-rows:0fr; visibility:hidden; transition:grid-template-rows .35s ease,visibility 0s .35s; margin-top:-8px}
.eb-hp .eb-hp-pan.open{grid-template-rows:1fr; visibility:visible; transition:grid-template-rows .35s ease,visibility 0s}
.eb-hp .eb-hp-pan>div{overflow:hidden; min-height:0}

.eb-hp a.eb-hp-btn{display:inline-flex; align-items:center; justify-content:center; min-height:48px; padding:0 24px; border-radius:999px; font-weight:700; font-size:17px; text-decoration:none;
  border:1px solid #bba8f5; color:var(--hp-btn); background:transparent; width:100%}
.eb-hp a.eb-hp-btn:hover{background:var(--hp-lilac)}
.eb-hp a.eb-hp-btn.is-primary{background:linear-gradient(135deg,#6846da,#47268d); color:#fff; border-color:transparent; box-shadow:0 10px 26px -10px #5a2fd0}
.eb-hp p.eb-hp-vat{margin:18px 0 0; font-size:14px; color:var(--hp-muted); text-align:start}
.eb-hp a.eb-hp-link{color:var(--hp-link); font-weight:500; text-underline-offset:5px}
/* billing switch: price block fades out/in, savings tag pops */
.eb-hp .eb-hp-price{transition:opacity .15s ease, transform .15s ease}
.eb-hp .eb-hp-price.out{opacity:0; transform:translateY(-8px)}
.eb-hp .eb-hp-price.in{animation:eb-hp-in .32s cubic-bezier(.2,.8,.2,1)}
.eb-hp .eb-hp-price-sub em{display:inline-block; border-radius:999px; padding:0 8px; background:#e3f6ee}
.eb-hp .eb-hp-price-sub em.pop{animation:eb-hp-pop .5s cubic-bezier(.3,1.6,.5,1) .12s both}
@keyframes eb-hp-in{from{opacity:0; transform:translateY(10px)} to{opacity:1; transform:none}}
@keyframes eb-hp-pop{0%{transform:scale(.5); opacity:0} 100%{transform:scale(1); opacity:1}}
@media (prefers-reduced-motion:reduce){ .eb-hp *,.eb-hp-tipbox{transition:none !important; animation:none !important} }

