/* === Deliver2inbox — modern UI === */
*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family:'Inter',system-ui,-apple-system,Segoe UI,Roboto,Helvetica,Arial,sans-serif;
  color:#0f172a;
  background:#fff;
  -webkit-font-smoothing:antialiased;
  line-height:1.55;
}
a{color:inherit;text-decoration:none}
img{max-width:100%;display:block}
ul{margin:0;padding:0;list-style:none}
h1,h2,h3,h4,h5{margin:0 0 .5em;line-height:1.2;font-weight:700;letter-spacing:-.02em}
h1{font-size:clamp(2.2rem,4.6vw,3.6rem);font-weight:800}
h2{font-size:clamp(1.8rem,3.2vw,2.6rem)}
h3{font-size:1.25rem}
p{margin:0 0 1em;color:#475569}
.container{max-width:1180px;margin:0 auto;padding:0 1.25rem}

/* === Buttons === */
.btn{
  display:inline-flex;align-items:center;justify-content:center;gap:.5rem;
  padding:.7rem 1.2rem;border-radius:10px;font-weight:600;font-size:.95rem;
  border:1px solid transparent;cursor:pointer;transition:transform .15s ease,box-shadow .2s ease,background .2s ease;
}
.btn--lg{padding:.95rem 1.6rem;font-size:1rem;border-radius:12px}
.btn--block{width:100%}
.btn--primary{background:linear-gradient(135deg,#4f46e5,#7c3aed);color:#fff;box-shadow:0 8px 24px -8px rgba(79,70,229,.55)}
.btn--primary:hover{transform:translateY(-1px);box-shadow:0 12px 28px -8px rgba(79,70,229,.65)}
.btn--ghost{background:#fff;color:#0f172a;border-color:#e2e8f0}
.btn--ghost:hover{border-color:#cbd5e1;background:#f8fafc}
.btn--white{background:#fff;color:#1e1b4b}
.btn--white:hover{background:#f5f3ff}
.btn--outline-light{background:transparent;color:#fff;border-color:rgba(255,255,255,.5)}
.btn--outline-light:hover{background:rgba(255,255,255,.1);border-color:#fff}

/* === Topbar === */
.topbar{
  position:sticky;top:0;z-index:30;
  background:rgba(255,255,255,.85);
  backdrop-filter:saturate(160%) blur(12px);
  -webkit-backdrop-filter:saturate(160%) blur(12px);
  border-bottom:1px solid #eef2f7;
}
.topbar__inner{display:flex;align-items:center;gap:1rem;height:68px}
.brand{display:flex;align-items:center;gap:.55rem;font-weight:800;letter-spacing:-.02em}
.brand__mark{
  display:inline-grid;place-items:center;width:34px;height:34px;border-radius:9px;
  background:linear-gradient(135deg,#4f46e5,#7c3aed);color:#fff;font-size:.78rem;font-weight:800;
}
.brand__text{font-size:1.1rem}
.brand__text span{background:linear-gradient(135deg,#4f46e5,#7c3aed);-webkit-background-clip:text;background-clip:text;color:transparent}
.nav{display:flex;gap:1.6rem;margin-left:2rem}
.nav a{color:#475569;font-weight:500;font-size:.95rem;transition:color .15s}
.nav a:hover{color:#0f172a}
.topbar__cta{margin-left:auto;display:flex;align-items:center;gap:.85rem}
.phone{font-weight:600;color:#0f172a;font-size:.95rem}
.hamburger{display:none;background:none;border:0;width:30px;height:30px;flex-direction:column;justify-content:space-between;padding:6px 0;cursor:pointer}
.hamburger span{height:2px;background:#0f172a;border-radius:2px;display:block}

/* === Hero === */
.hero{position:relative;padding:5rem 0 4.5rem;overflow:hidden}
.hero__bg{
  position:absolute;inset:-10% -10% 0;z-index:-1;
  background:
    radial-gradient(60% 50% at 80% 0%,rgba(124,58,237,.18),transparent 60%),
    radial-gradient(50% 40% at 10% 30%,rgba(79,70,229,.14),transparent 60%),
    linear-gradient(180deg,#fbfaff 0%,#fff 60%);
}
.hero__inner{display:grid;grid-template-columns:1.1fr 1fr;gap:3rem;align-items:center}
.eyebrow{
  display:inline-block;font-size:.78rem;font-weight:700;letter-spacing:.12em;text-transform:uppercase;
  padding:.35rem .7rem;border-radius:99px;background:#eef2ff;color:#4338ca;margin-bottom:1.1rem;
}
.eyebrow--light{background:rgba(255,255,255,.18);color:#fff}
.lead{font-size:1.1rem;color:#475569;max-width:54ch}
.grad{background:linear-gradient(135deg,#4f46e5,#7c3aed,#ec4899);-webkit-background-clip:text;background-clip:text;color:transparent}
.hero__cta{display:flex;gap:.75rem;flex-wrap:wrap;margin:1.4rem 0 2rem}
.hero__stats{display:grid;grid-template-columns:repeat(4,1fr);gap:1rem;max-width:520px;border-top:1px solid #e2e8f0;padding-top:1.25rem}
.hero__stats div{display:flex;flex-direction:column}
.hero__stats strong{font-size:1.4rem;font-weight:800;color:#0f172a}
.hero__stats span{font-size:.85rem;color:#64748b}

/* hero visual */
.hero__visual{position:relative}
.card{
  background:#fff;border:1px solid #e2e8f0;border-radius:18px;
  box-shadow:0 30px 80px -30px rgba(15,23,42,.25),0 8px 20px -10px rgba(15,23,42,.08);
  overflow:hidden;
}
.card--inbox{transform:rotate(-1.5deg)}
.card__head{display:flex;align-items:center;gap:.4rem;padding:.85rem 1rem;border-bottom:1px solid #e2e8f0;background:#f8fafc}
.dot{width:10px;height:10px;border-radius:50%;display:inline-block}
.dot--r{background:#ef4444}.dot--y{background:#f59e0b}.dot--g{background:#22c55e}
.card__title{margin-left:.6rem;font-size:.85rem;color:#475569;font-weight:500}
.inbox{padding:.5rem .25rem}
.inbox li{display:grid;grid-template-columns:36px 1fr auto;gap:.75rem;align-items:center;padding:.75rem .9rem;border-radius:10px}
.inbox li:hover{background:#f8fafc}
.inbox li b{display:block;font-size:.95rem;font-weight:600;color:#0f172a}
.inbox li em{font-style:normal;font-size:.78rem;color:#64748b}
.inbox li time{font-size:.78rem;color:#94a3b8}
.avatar{width:36px;height:36px;border-radius:50%}
.a1{background:linear-gradient(135deg,#22c55e,#16a34a)}
.a2{background:linear-gradient(135deg,#4f46e5,#7c3aed)}
.a3{background:linear-gradient(135deg,#f59e0b,#ef4444)}
.a4{background:linear-gradient(135deg,#ec4899,#f43f5e)}
.a5{background:linear-gradient(135deg,#06b6d4,#0ea5e9)}
.card__foot{padding:.75rem 1rem;background:#f8fafc;border-top:1px solid #e2e8f0;display:flex;justify-content:flex-end}
.badge{font-size:.78rem;font-weight:600;padding:.3rem .6rem;border-radius:99px}
.badge--ok{background:#dcfce7;color:#166534}

/* === Trust === */
.trust{padding:2rem 0;border-top:1px solid #eef2f7;border-bottom:1px solid #eef2f7;background:#fbfaff}
.trust__label{text-align:center;color:#64748b;font-size:.85rem;letter-spacing:.08em;text-transform:uppercase;margin:0 0 1rem}
.trust__items{display:flex;flex-wrap:wrap;justify-content:center;gap:.6rem 1.6rem}
.trust__items span{color:#475569;font-weight:600;letter-spacing:.02em;opacity:.85}

/* === Sections === */
.section{padding:5rem 0}
.section--alt{background:#fbfaff}
.section__head{max-width:760px;margin:0 auto 3rem;text-align:center}
.section__head p{font-size:1.05rem;color:#475569}
.grid{display:grid;gap:1.25rem}
.grid--3{grid-template-columns:repeat(3,1fr)}
.grid--4{grid-template-columns:repeat(4,1fr)}

/* services */
.service{
  background:#fff;border:1px solid #e2e8f0;border-radius:14px;padding:1.5rem;
  transition:transform .15s ease,box-shadow .2s ease,border-color .2s ease;
}
.service:hover{transform:translateY(-3px);box-shadow:0 18px 40px -20px rgba(79,70,229,.25);border-color:#c7d2fe}
.service__icon{font-size:1.6rem;width:48px;height:48px;border-radius:12px;background:#eef2ff;display:grid;place-items:center;margin-bottom:.9rem}
.service h3{margin-bottom:.4rem}
.service p{font-size:.92rem;margin-bottom:.85rem}
.link{font-weight:600;font-size:.9rem;color:#4f46e5}
.link:hover{color:#3730a3}

/* features */
.grid--features{gap:1.5rem}
.feature{padding:1.5rem;border-radius:14px;background:#fff;border:1px solid #e2e8f0;position:relative}
.feature__num{font-size:.85rem;font-weight:800;color:#7c3aed;letter-spacing:.1em;margin-bottom:.5rem}
.feature h4{margin:0 0 .35rem;font-size:1.05rem}
.feature p{font-size:.92rem;margin:0}

/* pricing */
.toggle{display:inline-flex;background:#eef2ff;border-radius:99px;padding:4px;margin-top:1rem}
.toggle__btn{padding:.5rem 1rem;border:0;background:transparent;font-weight:600;border-radius:99px;cursor:pointer;color:#475569;font-size:.9rem}
.toggle__btn.is-active{background:#fff;color:#4338ca;box-shadow:0 2px 6px rgba(15,23,42,.06)}
.pricing{align-items:stretch}
.plan{
  position:relative;background:#fff;border:1px solid #e2e8f0;border-radius:16px;padding:1.6rem;
  display:flex;flex-direction:column;
}
.plan--featured{border-color:#7c3aed;box-shadow:0 30px 60px -30px rgba(124,58,237,.45);transform:translateY(-6px)}
.ribbon{position:absolute;top:-12px;left:50%;transform:translateX(-50%);background:linear-gradient(135deg,#4f46e5,#7c3aed);color:#fff;font-size:.72rem;font-weight:700;padding:.3rem .7rem;border-radius:99px;letter-spacing:.06em;text-transform:uppercase}
.plan__name{font-size:1.05rem;color:#4f46e5;text-transform:uppercase;letter-spacing:.06em;font-weight:700;margin:0}
.plan__desc{font-size:.88rem;color:#64748b;margin:.4rem 0 1rem}
.plan__price{display:flex;align-items:baseline;gap:.2rem;margin:.5rem 0 1.25rem}
.plan__price .cur{font-size:1.1rem;color:#475569;font-weight:600}
.plan__price strong{font-size:2.6rem;font-weight:800;color:#0f172a}
.plan__price .per{color:#64748b;font-size:.9rem;margin-left:.2rem}
.plan__list{margin:0 0 1.5rem;flex:1}
.plan__list li{padding:.45rem 0;font-size:.92rem;color:#334155;border-bottom:1px dashed #eef2f7;display:flex;align-items:center;gap:.5rem}
.plan__list li::before{content:"✓";color:#22c55e;font-weight:800}
.plan__list li:last-child{border:0}
.pricing__note{margin-top:1.5rem;font-size:.85rem;color:#64748b;text-align:center}

/* steps */
.steps{display:grid;grid-template-columns:repeat(4,1fr);gap:1.25rem;counter-reset:step}
.steps li{background:#fff;border:1px solid #e2e8f0;border-radius:14px;padding:1.4rem;position:relative}
.steps li span{display:inline-grid;place-items:center;width:36px;height:36px;border-radius:10px;background:linear-gradient(135deg,#4f46e5,#7c3aed);color:#fff;font-weight:800;margin-bottom:.7rem}
.steps h4{margin:0 0 .3rem;font-size:1.02rem}
.steps p{font-size:.9rem;margin:0}

/* faq */
.faq{max-width:780px;margin:0 auto;display:flex;flex-direction:column;gap:.6rem}
.faq details{background:#fff;border:1px solid #e2e8f0;border-radius:12px;padding:.25rem 1.1rem;transition:border-color .2s}
.faq details[open]{border-color:#c7d2fe}
.faq summary{padding:1rem 0;font-weight:600;cursor:pointer;list-style:none;display:flex;justify-content:space-between;align-items:center;font-size:1rem}
.faq summary::-webkit-details-marker{display:none}
.faq summary::after{content:"+";font-size:1.4rem;color:#7c3aed;font-weight:400;transition:transform .2s}
.faq details[open] summary::after{transform:rotate(45deg)}
.faq p{padding:0 0 1rem;color:#475569;font-size:.95rem;margin:0}

/* CTA section */
.section--cta{
  background:
    radial-gradient(60% 60% at 90% 10%,rgba(236,72,153,.35),transparent 60%),
    radial-gradient(60% 60% at 10% 90%,rgba(124,58,237,.45),transparent 60%),
    linear-gradient(135deg,#1e1b4b 0%,#312e81 100%);
  color:#fff;
}
.section--cta .eyebrow{background:rgba(255,255,255,.15);color:#fff}
.section--cta h2{color:#fff}
.section--cta p{color:rgba(255,255,255,.85)}
.cta{display:grid;grid-template-columns:1fr 1fr;gap:3rem;align-items:start}
.cta__actions{display:flex;flex-wrap:wrap;gap:.75rem;margin-top:1.5rem}
.cta__form{background:#fff;color:#0f172a;padding:2rem;border-radius:18px;box-shadow:0 30px 80px -30px rgba(0,0,0,.5)}
.cta__form h3{margin:0 0 1.25rem}
.cta__form label{display:block;font-size:.85rem;font-weight:600;margin-bottom:.85rem;color:#334155}
.cta__form input,.cta__form select,.cta__form textarea{
  width:100%;margin-top:.3rem;padding:.65rem .8rem;border:1px solid #e2e8f0;border-radius:10px;
  font-family:inherit;font-size:.95rem;background:#f8fafc;color:#0f172a;
}
.cta__form input:focus,.cta__form select:focus,.cta__form textarea:focus{outline:none;border-color:#7c3aed;background:#fff;box-shadow:0 0 0 3px rgba(124,58,237,.18)}
.form-msg{margin:.85rem 0 0;font-size:.9rem;color:#16a34a;font-weight:600;text-align:center}

/* Footer */
.footer{background:#0b1020;color:#cbd5e1;padding:3.5rem 0 1.5rem;font-size:.92rem}
.footer__grid{display:grid;grid-template-columns:1.4fr 1fr 1fr 1fr;gap:2rem;padding-bottom:2rem;border-bottom:1px solid rgba(255,255,255,.08)}
.footer h5{color:#fff;margin:0 0 .85rem;font-size:.9rem;letter-spacing:.06em;text-transform:uppercase}
.footer ul li{margin-bottom:.45rem}
.footer ul li a{color:#cbd5e1;transition:color .15s}
.footer ul li a:hover{color:#fff}
.footer__tag{margin-top:1rem;color:#94a3b8;font-size:.9rem;max-width:32ch}
.brand--footer{color:#fff}
.brand--footer .brand__text{color:#fff}
.brand--footer .brand__text span{background:linear-gradient(135deg,#a78bfa,#f0abfc);-webkit-background-clip:text;background-clip:text;color:transparent}
.footer__bottom{display:flex;justify-content:space-between;align-items:center;padding-top:1.5rem;color:#94a3b8;font-size:.85rem;flex-wrap:wrap;gap:.5rem}
.footer__bottom a{color:#cbd5e1}
.footer__bottom a:hover{color:#fff}

/* === Responsive === */
@media (max-width:980px){
  .hero__inner{grid-template-columns:1fr}
  .hero__visual{order:-1;max-width:520px}
  .grid--4{grid-template-columns:repeat(2,1fr)}
  .grid--3{grid-template-columns:repeat(2,1fr)}
  .steps{grid-template-columns:repeat(2,1fr)}
  .footer__grid{grid-template-columns:1fr 1fr}
  .cta{grid-template-columns:1fr}
  .plan--featured{transform:none}
}
@media (max-width:640px){
  .nav{display:none;position:absolute;top:68px;left:0;right:0;background:#fff;flex-direction:column;padding:1rem;border-bottom:1px solid #eef2f7;gap:.25rem}
  .nav.is-open{display:flex}
  .nav a{padding:.7rem .5rem;border-radius:8px}
  .nav a:hover{background:#f8fafc}
  .hamburger{display:flex}
  .phone{display:none}
  .hero__stats{grid-template-columns:repeat(2,1fr)}
  .grid--4,.grid--3{grid-template-columns:1fr}
  .steps{grid-template-columns:1fr}
  .footer__grid{grid-template-columns:1fr}
  .hero{padding:3rem 0}
}

/* === SVG brand mark === */
.brand__mark--svg{
  width:34px;height:34px;border-radius:9px;padding:0;
  background:transparent;
  box-shadow:0 6px 18px -6px rgba(124,58,237,.45);
}

/* === Tally Prime window mock === */
.tally-window{
  background:#f5f3ec;
  border-radius:14px;
  box-shadow:
    0 40px 80px -30px rgba(15,23,42,.30),
    0 10px 24px -12px rgba(15,23,42,.18),
    inset 0 0 0 1px rgba(15,23,42,.06);
  overflow:hidden;
  font-family:'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size:11.5px;
  color:#1a1d2e;
  line-height:1.35;
  transform:rotate(-.5deg);
}
.tw-titlebar{
  display:flex;align-items:center;gap:.85rem;
  padding:.55rem .9rem;
  background:linear-gradient(180deg,#1a3866 0%, #14304f 100%);
  color:#f6e8b0;
  border-bottom:1px solid rgba(0,0,0,.2);
}
.tw-titlebar .tw-dots{display:flex;gap:.35rem;margin-right:.3rem}
.tw-titlebar .dot{width:11px;height:11px;border-radius:50%}
.tw-titlebar .dot--r{background:#ff5f57}
.tw-titlebar .dot--y{background:#febc2e}
.tw-titlebar .dot--g{background:#28c840}
.tw-brand{font-weight:700;color:#fff;letter-spacing:.04em;font-family:Inter,system-ui,sans-serif;font-size:13px}
.tw-brand em{font-style:normal;color:#f6e8b0;font-weight:500;margin-left:.25em}
.tw-version{margin-left:auto;color:rgba(255,255,255,.7);font-family:Inter,system-ui,sans-serif;font-size:11px}

.tw-menubar{
  display:flex;flex-wrap:nowrap;overflow:hidden;
  gap:.9rem;
  padding:.42rem .9rem;
  background:#f6e8b0;
  color:#1a3866;
  border-bottom:1px solid #d6c581;
  font-family:Inter,system-ui,sans-serif;
  font-size:10.5px;font-weight:600;
}
.tw-menubar span:first-letter{color:#c0392b}
.tw-menubar .tw-help{margin-left:auto;color:#c0392b}

.tw-body{display:grid;grid-template-columns:170px 1fr;min-height:280px}
.tw-sidebar{
  background:#fbf8ef;
  border-right:1px solid #e2dcc5;
  padding:.85rem .9rem;
  font-family:Inter,system-ui,sans-serif;
}
.tw-sidebar h6{
  margin:.6rem 0 .35rem;font-size:9.5px;
  color:#9a8f63;letter-spacing:.14em;font-weight:700;
}
.tw-sidebar h6:first-child{margin-top:0}
.tw-sidebar ul{margin:0;padding:0;list-style:none}
.tw-sidebar li{
  padding:.28rem .45rem;font-size:11.5px;color:#1a3866;
  border-radius:4px;display:flex;justify-content:space-between;align-items:center;
  font-weight:500;
}
.tw-sidebar li.active{background:#f6e8b0;color:#7a4e00;font-weight:700}
.tw-sidebar li.active span{color:#c0392b}

.tw-main{padding:1rem 1.1rem;background:#fbf8ef}
.tw-main-head{
  display:flex;justify-content:space-between;align-items:baseline;
  padding-bottom:.55rem;margin-bottom:.55rem;
  border-bottom:1px dashed #d6c581;
  font-family:Inter,system-ui,sans-serif;
}
.tw-voucher-no{font-weight:700;color:#1a3866;font-size:13px}
.tw-date{color:#9a8f63;font-size:11.5px}
.tw-rows{display:flex;flex-direction:column;gap:.42rem}
.tw-row{
  display:grid;grid-template-columns:110px 1fr;gap:.6rem;
  padding:.32rem .15rem;
  border-bottom:1px dotted #e2dcc5;
  font-family:Inter,system-ui,sans-serif;
  font-size:11.5px;
}
.tw-row b{color:#1a3866;font-weight:600}
.tw-row span{color:#1a1d2e}
.tw-row.tw-total{
  font-weight:700;background:#f6e8b0;border-radius:4px;
  margin-top:.35rem;padding:.55rem .55rem;border-bottom:0;
}
.tw-row.tw-total b,.tw-row.tw-total span{color:#7a4e00;font-size:13px}

.tw-statusbar{
  display:flex;justify-content:space-between;align-items:center;
  padding:.5rem .9rem;
  background:#14304f;color:#cbd5e1;
  font-family:Inter,system-ui,sans-serif;
  font-size:10.5px;
}
.tw-cloud-pill{
  display:inline-flex;align-items:center;gap:.45rem;
  background:rgba(124,58,237,.25);color:#e9d8ff;
  padding:.22rem .55rem;border-radius:99px;
  font-weight:600;
}
.tw-cloud-dot{
  width:7px;height:7px;border-radius:50%;background:#22c55e;
  box-shadow:0 0 0 0 rgba(34,197,94,.6);
  animation:tw-pulse 2s ease-in-out infinite;
}
@keyframes tw-pulse{
  0%,100%{box-shadow:0 0 0 0 rgba(34,197,94,.55)}
  50%   {box-shadow:0 0 0 6px rgba(34,197,94,0)}
}
.tw-saved{color:rgba(255,255,255,.55)}

@media (max-width:980px){
  .tally-window{transform:none}
  .tw-body{grid-template-columns:140px 1fr;min-height:auto}
}
@media (max-width:640px){
  .tw-body{grid-template-columns:1fr}
  .tw-sidebar{border-right:0;border-bottom:1px solid #e2dcc5;padding:.6rem .8rem}
  .tw-sidebar h6{margin-top:.4rem}
  .tw-menubar{overflow-x:auto}
}
