/* =========================================================
   ACCOUNTING PRO — product / marketing page
   Self-contained. No framework, no web-font, no icon-font.
   Kept deliberately lean so the page paints fast.
   ========================================================= */

:root {
    --ap-red: #c81d0a;
    --ap-red-dark: #8f1408;
    --ap-red-soft: #fdf0ed;
    --ap-peach: #ffcabb;
    --ap-ink: #14181d;
    --ap-muted: #5b646d;
    --ap-faint: #8b939b;
    --ap-bg: #faf9f7;
    --ap-white: #ffffff;
    --ap-border: #e7e2dc;
    --ap-dark: #14181d;
    --ap-green: #0f7a4d;
    --ap-green-soft: #e8f6ee;
    --ap-radius-sm: 10px;
    --ap-radius: 16px;
    --ap-shadow: 0 12px 34px rgba(20, 24, 29, .07);
    --ap-shadow-lg: 0 26px 60px rgba(20, 24, 29, .13);
    --ap-font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body.ap-page {
    margin: 0;
    color: var(--ap-ink);
    background: var(--ap-bg);
    font-family: var(--ap-font);
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

img, svg { display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
button { font: inherit; }

h1, h2, h3, h4 { margin: 0; line-height: 1.16; letter-spacing: -.015em; font-weight: 700; color: var(--ap-ink); }
p { margin: 0; }

.ap-wrap { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.ap-ico { width: 22px; height: 22px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ap-ico--fill { fill: currentColor; stroke: none; }
.ap-sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ---------- BUTTONS ---------- */
.ap-btn {
    min-height: 48px; padding: 0 22px; border: 1px solid transparent; border-radius: var(--ap-radius-sm);
    display: inline-flex; align-items: center; justify-content: center; gap: 9px;
    font-size: .95rem; font-weight: 600; cursor: pointer; white-space: nowrap;
    transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease, border-color .15s ease, color .15s ease;
}
.ap-btn:hover { transform: translateY(-1px); }
.ap-btn--primary { color: #fff; background: var(--ap-red); box-shadow: 0 10px 22px rgba(200, 29, 10, .24); }
.ap-btn--primary:hover { background: var(--ap-red-dark); box-shadow: 0 14px 28px rgba(200, 29, 10, .3); }
.ap-btn--ghost { color: var(--ap-ink); background: transparent; border-color: var(--ap-border); }
.ap-btn--ghost:hover { border-color: var(--ap-red); color: var(--ap-red); }
.ap-btn--light { color: var(--ap-red-dark); background: #fff; }
.ap-btn--sm { min-height: 42px; padding: 0 16px; font-size: .88rem; }

/* ---------- NAV ---------- */
.ap-nav {
    position: sticky; top: 0; z-index: 40;
    background: rgba(250, 249, 247, .88);
    backdrop-filter: saturate(180%) blur(10px);
    border-bottom: 1px solid var(--ap-border);
}
.ap-nav__inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 66px; }
.ap-brand { display: inline-flex; align-items: center; gap: 9px; font-weight: 700; font-size: 1.18rem; color: var(--ap-red); letter-spacing: -.02em; }
.ap-brand small { color: var(--ap-muted); font-weight: 600; font-size: .8rem; }
.ap-brand__dot { width: 11px; height: 11px; border-radius: 50%; background: var(--ap-red); box-shadow: 0 0 0 4px rgba(200, 29, 10, .14); flex: none; }
.ap-nav__links { display: flex; align-items: center; gap: 26px; }
.ap-nav__links a { font-size: .92rem; font-weight: 500; color: var(--ap-muted); position: relative; }
.ap-nav__links a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -6px; height: 2px; background: var(--ap-red); transition: right .2s ease; }
.ap-nav__links a:hover { color: var(--ap-ink); }
.ap-nav__links a:hover::after { right: 0; }
.ap-nav__cta { display: flex; align-items: center; gap: 12px; }
.ap-nav__cta .ap-login { font-size: .9rem; font-weight: 600; color: var(--ap-ink); padding: 0 4px; }
.ap-nav__cta .ap-login:hover { color: var(--ap-red); }

/* ---------- HERO ---------- */
.ap-hero {
    position: relative; overflow: hidden; color: #fff; padding: 82px 0 92px;
    background:
        radial-gradient(620px 420px at 88% 6%, rgba(255, 130, 100, .18), transparent 60%),
        linear-gradient(160deg, #2c0704 0%, #5c0f06 46%, #8f1608 100%);
}
.ap-hero__grid { display: grid; grid-template-columns: 1.06fr .94fr; gap: 60px; align-items: center; }
.ap-hero__eyebrow { display: inline-flex; align-items: center; gap: 9px; margin-bottom: 22px; color: rgba(255,255,255,.85); font-size: .85rem; font-weight: 500; }
.ap-hero__eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: #6be3a0; box-shadow: 0 0 0 4px rgba(107,227,160,.18); flex: none; }
.ap-hero h1 { max-width: 660px; margin-bottom: 20px; color: #fff; font-size: clamp(2.2rem, 4.4vw, 3.35rem); font-weight: 700; }
.ap-hero h1 .accent { color: var(--ap-peach); }
.ap-hero__lead { max-width: 560px; margin-bottom: 32px; color: rgba(255,255,255,.85); font-size: 1.08rem; }
.ap-hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 34px; }
.ap-hero .ap-btn--ghost { color: #fff; border-color: rgba(255,255,255,.34); }
.ap-hero .ap-btn--ghost:hover { border-color: #fff; background: rgba(255,255,255,.09); color: #fff; }
.ap-badges { display: flex; flex-wrap: wrap; gap: 10px 20px; padding-top: 26px; border-top: 1px solid rgba(255,255,255,.18); }
.ap-badges li { display: inline-flex; align-items: center; gap: 8px; color: rgba(255,255,255,.82); font-size: .84rem; }
.ap-badges .ap-ico { width: 17px; height: 17px; color: #6be3a0; }

.ap-hero__card { padding: 26px; border: 1px solid rgba(255,255,255,.16); border-radius: 20px; background: rgba(255,255,255,.07); backdrop-filter: blur(6px); box-shadow: var(--ap-shadow-lg); }
.ap-hero__card .label { margin-bottom: 16px; color: rgba(255,255,255,.62); font-size: .76rem; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; }
.ap-stack { display: grid; gap: 2px; }
.ap-stack__item { display: flex; align-items: center; gap: 15px; padding: 13px 10px; border-radius: 12px; }
.ap-stack__item + .ap-stack__item { border-top: 1px solid rgba(255,255,255,.1); }
.ap-stack__item .ap-ico { width: 40px; height: 40px; padding: 9px; border-radius: 11px; background: rgba(255,255,255,.1); color: var(--ap-peach); }
.ap-stack__item .t { color: #fff; font-size: .92rem; font-weight: 600; }
.ap-stack__item .s { margin-top: 1px; color: rgba(255,255,255,.58); font-size: .78rem; }

/* ---------- SECTION SCAFFOLDING ---------- */
.ap-section { padding: 92px 0; }
.ap-section--soft { background: var(--ap-white); border-top: 1px solid var(--ap-border); border-bottom: 1px solid var(--ap-border); }
.ap-section--tint { background: var(--ap-red-soft); }
.ap-section__head { max-width: 660px; margin-bottom: 50px; }
.ap-section__head--center { margin-inline: auto; text-align: center; }
.ap-kicker { display: block; margin-bottom: 12px; color: var(--ap-red); font-size: .86rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.ap-section__title { margin-bottom: 14px; font-size: clamp(1.65rem, 2.8vw, 2.3rem); }
.ap-section__sub { color: var(--ap-muted); font-size: 1.03rem; }
.ap-grid { display: grid; gap: 22px; }
.ap-grid--2 { grid-template-columns: repeat(2, 1fr); }
.ap-grid--3 { grid-template-columns: repeat(3, 1fr); }

/* ---------- CARDS ---------- */
.ap-card { padding: 28px; border: 1px solid var(--ap-border); border-radius: var(--ap-radius); background: var(--ap-white); transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease; }
.ap-card:hover { border-color: rgba(200, 29, 10, .25); box-shadow: var(--ap-shadow); transform: translateY(-3px); }
.ap-card__icon { display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 18px; border-radius: 12px; background: var(--ap-red-soft); color: var(--ap-red); }
.ap-card__icon .ap-ico { width: 24px; height: 24px; }
.ap-card h3 { margin-bottom: 9px; font-size: 1.1rem; }
.ap-card p { color: var(--ap-muted); font-size: .93rem; }
.ap-card__tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.ap-card__tags span { padding: 5px 11px; border: 1px solid var(--ap-border); border-radius: 999px; color: var(--ap-muted); font-size: .73rem; font-weight: 600; }

/* ---------- OFFERS ---------- */
.ap-offers { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.ap-offer { position: relative; padding: 32px; border-radius: 20px; border: 1px solid var(--ap-border); background: var(--ap-white); box-shadow: var(--ap-shadow); }
.ap-offer__flag { display: inline-flex; align-items: center; gap: 7px; margin-bottom: 16px; padding: 5px 12px; border-radius: 999px; background: var(--ap-green-soft); color: var(--ap-green); font-size: .76rem; font-weight: 700; letter-spacing: .03em; text-transform: uppercase; }
.ap-offer h3 { margin-bottom: 10px; font-size: 1.25rem; }
.ap-offer p { color: var(--ap-muted); font-size: .95rem; }
.ap-offer .ap-offer__big { display: block; margin: 4px 0 12px; font-size: 2.1rem; font-weight: 800; color: var(--ap-red); letter-spacing: -.03em; }
.ap-offer__note { margin-top: 22px; padding-top: 18px; border-top: 1px dashed var(--ap-border); color: var(--ap-faint); font-size: .82rem; }

/* ---------- FEATURE LIST ---------- */
.ap-checks { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px 34px; margin-top: 6px; }
.ap-checks li { display: flex; align-items: flex-start; gap: 12px; font-size: .95rem; color: var(--ap-ink); }
.ap-checks .ap-ico { width: 20px; height: 20px; margin-top: 3px; color: var(--ap-green); }
.ap-checks strong { font-weight: 700; }

/* ---------- MODULE ROWS ---------- */
.ap-module { display: grid; grid-template-columns: 250px 1fr; gap: 34px; padding: 30px 0; border-top: 1px solid var(--ap-border); }
.ap-module:first-of-type { border-top: 0; }
.ap-module__head { display: flex; align-items: center; gap: 14px; }
.ap-module__head .ap-ico { width: 44px; height: 44px; padding: 10px; border-radius: 12px; background: var(--ap-red-soft); color: var(--ap-red); }
.ap-module__head h3 { font-size: 1.12rem; }
.ap-module__head span { display: block; margin-top: 2px; color: var(--ap-faint); font-size: .78rem; font-weight: 600; letter-spacing: .03em; text-transform: uppercase; }
.ap-module ul { display: flex; flex-wrap: wrap; gap: 9px; }
.ap-module ul li { padding: 7px 13px; border-radius: 999px; background: var(--ap-bg); border: 1px solid var(--ap-border); color: var(--ap-muted); font-size: .85rem; }
.ap-section--soft .ap-module ul li { background: var(--ap-bg); }

/* ---------- PRICING ---------- */
.ap-prices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
.ap-price { display: flex; flex-direction: column; padding: 30px; border: 1px solid var(--ap-border); border-radius: 18px; background: var(--ap-white); }
.ap-price--featured { border-color: rgba(200, 29, 10, .35); box-shadow: var(--ap-shadow-lg); position: relative; }
.ap-price__badge { position: absolute; top: -13px; left: 30px; padding: 5px 13px; border-radius: 999px; background: var(--ap-red); color: #fff; font-size: .72rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.ap-price__name { font-size: 1.15rem; font-weight: 700; }
.ap-price__desc { margin-top: 6px; color: var(--ap-muted); font-size: .88rem; min-height: 40px; }
.ap-price__amount { display: flex; align-items: baseline; gap: 6px; margin: 18px 0 4px; }
.ap-price__amount .n { font-size: 2.3rem; font-weight: 800; letter-spacing: -.03em; color: var(--ap-ink); }
.ap-price__amount .u { color: var(--ap-muted); font-size: .95rem; }
.ap-price__alt { min-height: 22px; color: var(--ap-faint); font-size: .82rem; }
.ap-price__save { display: inline-block; margin-top: 4px; padding: 3px 9px; border-radius: 6px; background: var(--ap-green-soft); color: var(--ap-green); font-size: .75rem; font-weight: 700; }
.ap-price__cta { margin: 20px 0 22px; width: 100%; }
.ap-price ul { display: grid; gap: 10px; margin-top: 4px; }
.ap-price li { display: flex; align-items: flex-start; gap: 10px; color: var(--ap-muted); font-size: .9rem; }
.ap-price li .ap-ico { width: 18px; height: 18px; margin-top: 3px; color: var(--ap-green); }
.ap-price__foot { margin-top: 22px; padding-top: 16px; border-top: 1px solid var(--ap-border); color: var(--ap-faint); font-size: .8rem; }
.ap-pricing-note { margin-top: 26px; text-align: center; color: var(--ap-muted); font-size: .92rem; }

/* ---------- STEPS ---------- */
.ap-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: ap-step; }
.ap-step { position: relative; padding-top: 18px; }
.ap-step + .ap-step { border-left: 1px solid var(--ap-border); padding-left: 24px; }
.ap-step__num { margin-bottom: 14px; font-size: .85rem; font-weight: 800; color: var(--ap-red); letter-spacing: .06em; }
.ap-step__num::before { counter-increment: ap-step; content: "0" counter(ap-step); }
.ap-step h3 { margin-bottom: 9px; font-size: 1.05rem; }
.ap-step p { color: var(--ap-muted); font-size: .9rem; }

/* ---------- MANUAL / HELP ---------- */
.ap-manual { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: center; }
.ap-manual__tasks { display: grid; gap: 10px; }
.ap-manual__tasks li { display: flex; align-items: center; gap: 12px; padding: 13px 16px; border: 1px solid var(--ap-border); border-radius: 12px; background: var(--ap-white); font-size: .93rem; font-weight: 600; }
.ap-manual__tasks .ap-ico { width: 20px; height: 20px; color: var(--ap-red); }
.ap-manual__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.ap-manual__meta { margin-top: 18px; color: var(--ap-faint); font-size: .84rem; }

/* ---------- FAQ ---------- */
.ap-faq { display: grid; gap: 12px; max-width: 860px; margin-inline: auto; }
.ap-faq details { border: 1px solid var(--ap-border); border-radius: 14px; background: var(--ap-white); overflow: hidden; }
.ap-faq summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 22px; font-size: 1rem; font-weight: 600; cursor: pointer; list-style: none; }
.ap-faq summary::-webkit-details-marker { display: none; }
.ap-faq summary::after { content: "+"; color: var(--ap-red); font-size: 1.4rem; font-weight: 400; line-height: 1; }
.ap-faq details[open] summary::after { content: "\2013"; }
.ap-faq details[open] summary { border-bottom: 1px solid var(--ap-border); }
.ap-faq .ap-faq__body { padding: 18px 22px; color: var(--ap-muted); font-size: .94rem; }

/* ---------- CTA BAND ---------- */
.ap-cta { padding: 60px 54px; border-radius: 24px; text-align: center; color: #fff; background: linear-gradient(160deg, #2c0704 0%, #8f1608 100%); }
.ap-cta h2 { margin-bottom: 14px; color: #fff; font-size: clamp(1.6rem, 3vw, 2.15rem); }
.ap-cta p { max-width: 620px; margin: 0 auto 30px; color: rgba(255,255,255,.85); font-size: 1rem; }
.ap-cta__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.ap-cta .ap-btn--ghost { color: #fff; border-color: rgba(255,255,255,.34); }
.ap-cta .ap-btn--ghost:hover { border-color: #fff; background: rgba(255,255,255,.09); color: #fff; }

/* ---------- FOOTER ---------- */
.ap-footer { padding: 60px 0 26px; color: rgba(255,255,255,.62); background: var(--ap-dark); }
.ap-footer__grid { display: grid; grid-template-columns: 1.6fr .8fr .9fr; gap: 44px; padding-bottom: 40px; }
.ap-footer .ap-brand { color: #fff; margin-bottom: 14px; }
.ap-footer p { max-width: 330px; color: rgba(255,255,255,.55); font-size: .88rem; }
.ap-footer h4 { margin-bottom: 16px; color: #fff; font-size: .82rem; letter-spacing: .06em; text-transform: uppercase; }
.ap-footer ul { display: grid; gap: 10px; }
.ap-footer ul a { color: rgba(255,255,255,.62); font-size: .88rem; }
.ap-footer ul a:hover { color: #fff; }
.ap-footer__bottom { padding-top: 22px; border-top: 1px solid rgba(255,255,255,.12); color: rgba(255,255,255,.5); font-size: .82rem; display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: space-between; }
.ap-footer__bottom a { color: rgba(255,255,255,.72); }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 960px) {
    .ap-hero__grid { grid-template-columns: 1fr; gap: 44px; }
    .ap-grid--3 { grid-template-columns: repeat(2, 1fr); }
    .ap-prices { grid-template-columns: 1fr; }
    .ap-prices .ap-price--featured { order: -1; }
    .ap-steps { grid-template-columns: repeat(2, 1fr); }
    .ap-step:nth-child(3) { border-left: 0; padding-left: 0; }
    .ap-manual { grid-template-columns: 1fr; gap: 32px; }
    .ap-footer__grid { grid-template-columns: 1fr 1fr; }
    .ap-module { grid-template-columns: 1fr; gap: 16px; }
    .ap-nav__links { display: none; }
}

@media (max-width: 640px) {
    .ap-section { padding: 64px 0; }
    .ap-hero { padding: 60px 0 68px; }
    .ap-grid--2, .ap-grid--3, .ap-offers, .ap-checks, .ap-steps { grid-template-columns: 1fr; }
    .ap-step { border-left: 0 !important; padding-left: 0 !important; }
    .ap-cta { padding: 44px 24px; }
    .ap-footer__grid { grid-template-columns: 1fr; }
    .ap-hero__cta .ap-btn, .ap-cta__actions .ap-btn { flex: 1 1 100%; }
    .ap-nav__cta .ap-login { display: none; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .ap-btn:hover, .ap-card:hover { transform: none; }
}

