.p2 {
    --p2-ink: #142033;
    --p2-muted: #4a5568;
    --p2-blue: #1b4fd8;
    --p2-blue-deep: #153eae;
    --p2-navy: #0f2744;
    --p2-line: #d5dee8;
    --p2-paper: #f4f7fb;
    color: var(--p2-ink);
    background: #fff;
    font-family: Figtree, "Segoe UI", sans-serif;
}

.p2 * { box-sizing: border-box; }
.p2-wrap { width: min(1120px, calc(100% - 48px)); margin-inline: auto; }
.p2 :is(section, article, form, input, figure)[id] { scroll-margin-top: 88px; }
.p2 :is(a, button, summary):focus-visible { outline: 3px solid var(--p2-blue); outline-offset: 3px; }
.p2 h1, .p2 h2, .p2 h3, .p2 p { margin: 0; }
.p2 h1, .p2 h2, .p2 h3 { font-weight: 700; letter-spacing: -0.03em; color: var(--p2-ink); }
.p2 h2 { font-size: clamp(30px, 3.4vw, 44px); line-height: 1.12; }
.p2 h3 { font-size: 22px; line-height: 1.25; }
.p2 p { color: var(--p2-muted); line-height: 1.6; }
.p2-section { padding-block: 80px; }
.p2-section-heading { max-width: 38rem; }
.p2-section-heading > p { margin-top: 14px; font-size: 18px; }
.p2-section-heading a,
.p2-text-link { color: var(--p2-blue); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.p2-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 28px; }

.p2 :is(a, button).lp-button {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    min-height: 48px;
    padding: 12px 20px;
    border: 1.5px solid var(--p2-blue);
    border-radius: 10px;
    background: #fff;
    color: var(--p2-blue);
    font-family: inherit;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.2;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
}
.p2 :is(a, button).lp-button-primary { color: #fff; background: var(--p2-blue); }
.p2 :is(a, button).lp-button-primary:hover { background: var(--p2-blue-deep); border-color: var(--p2-blue-deep); }
.p2 :is(a, button).lp-button-secondary:hover { background: #eef3ff; }

.p2-hero { padding: 112px 0 56px; background: #fff; }
.p2-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.p2 h1 { max-width: 11ch; font-size: clamp(44px, 4.8vw, 64px); line-height: 1.02; letter-spacing: -0.04em; }
.p2 h1 span { display: block; margin-top: 6px; color: var(--p2-blue); }
.p2-hero .p2-lead { margin-top: 22px; max-width: 36ch; font-size: 18px; }

.p2-demo-panel { border: 1px solid var(--p2-line); border-radius: 18px; background: #fff; box-shadow: 0 16px 40px rgba(15, 39, 68, 0.08); overflow: hidden; }
.p2-demo-top { display: flex; align-items: center; gap: 8px; padding: 14px 22px; background: var(--p2-navy); color: #fff; font-size: 14px; font-weight: 600; }
.p2-live-dot { width: 8px; height: 8px; border-radius: 50%; background: #3ddc97; flex-shrink: 0; }
.p2 .lp-demo { padding: 22px; }
.p2 .lp-demo-kicker { margin-bottom: 8px; color: var(--p2-ink); font-size: 18px; font-weight: 700; line-height: 1.3; }
.p2 .lp-field { display: block; margin-top: 14px; }
.p2 .lp-field span { display: block; margin-bottom: 6px; color: var(--p2-ink); font-size: 14px; font-weight: 600; }
.p2 .lp-field input { width: 100%; height: 48px; padding: 10px 12px; border: 1px solid #c5d0e0; border-radius: 8px; background: var(--p2-paper); color: var(--p2-ink); font-size: 16px; }
.p2 .lp-field input::placeholder { color: #64748b; opacity: 1; }
.p2 .lp-field input:focus,
.p2 .lp-field input:focus-visible {
    outline: 2px solid var(--p2-blue);
    outline-offset: 0;
    border-color: var(--p2-blue);
    box-shadow: none;
}
.p2 .lp-field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.p2 .lp-demo-note { margin-top: 14px; font-size: 14px; }
.p2 .lp-demo-static input { background: #e8edf3; color: var(--p2-muted); }

.p2-trust { position: relative; height: 340px; margin: 0; overflow: hidden; }
.p2-trust img { width: 100%; height: 100%; object-fit: cover; object-position: 62% 42%; }
.p2-trust figcaption { position: absolute; left: max(24px, calc((100% - 1120px) / 2)); bottom: 24px; max-width: 34ch; margin: 0; padding: 12px 16px; background: var(--p2-navy); color: #fff; font-size: 15px; font-weight: 600; line-height: 1.4; }

.p2-benefits { background: var(--p2-paper); }
.p2-benefit-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; padding-block: 36px; }
.p2-mark { display: grid; width: 52px; height: 52px; place-items: center; border-radius: 14px; background: var(--p2-blue); color: #fff; }
.p2-mark svg { width: 26px; height: 26px; }
.p2-mark-lg { width: 64px; height: 64px; border-radius: 16px; }
.p2-mark-lg svg { width: 32px; height: 32px; }
.p2-mark-navy { background: var(--p2-navy); }
.p2-benefits h2 { margin-top: 16px; font-size: 20px; letter-spacing: -0.02em; }
.p2-benefits p { margin-top: 6px; font-size: 15px; }

.p2-audience-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; margin-top: 40px; }
.p2-audience .p2-mark { margin-bottom: 20px; }
.p2-audience > p { margin-top: 10px; max-width: 38ch; }
.p2-check-list { list-style: none; padding: 0; margin: 18px 0 22px; }
.p2-check-list li { position: relative; padding-left: 26px; margin-top: 10px; color: var(--p2-ink); font-size: 15px; line-height: 1.45; }
.p2-check-list li::before { content: ""; position: absolute; left: 2px; top: 6px; width: 12px; height: 7px; border-left: 2px solid var(--p2-blue); border-bottom: 2px solid var(--p2-blue); transform: rotate(-45deg); }

.p2-integration { background: var(--p2-paper); }
.p2-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; list-style: none; padding: 0; margin: 36px 0 0; }
.p2-steps h3 { margin-top: 16px; font-size: 18px; }
.p2-steps p { margin-top: 8px; font-size: 15px; }

.p2-plans { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 36px; align-items: stretch; }
.p2 .lp-plan { display: flex; flex-direction: column; padding: 24px 22px; border: 1px solid var(--p2-line); border-radius: 12px; background: #fff; color: var(--p2-ink); }
.p2 .lp-plan h3 { font-size: 20px; color: var(--p2-ink); }
.p2 .lp-price { margin-top: 16px; }
.p2 .lp-price p { margin-top: 4px; font-size: 14px; }
.p2 .lp-price .lp-price-net,
.p2 .lp-plan-custom .lp-price-net { color: var(--p2-ink); font-size: 18px; }
.p2 .lp-price-net strong { font-size: 40px; font-weight: 700; letter-spacing: -0.04em; }
.p2 .lp-price .lp-price-request { margin-top: 12px; color: var(--p2-ink); font-size: 20px; font-weight: 700; }
.p2 .lp-plan ul { list-style: none; padding: 0; margin: 18px 0 22px; }
.p2 .lp-plan li { padding-block: 8px; border-bottom: 1px solid #e7eef5; color: var(--p2-muted); font-size: 14px; line-height: 1.45; }
.p2 .lp-plan li:last-child { border-bottom: none; }
.p2 .lp-plan a.lp-button { width: 100%; margin-top: auto; }
.p2 .lp-plan-custom { background: #fff; color: var(--p2-ink); border: 1.5px solid var(--p2-navy); }
.p2 .lp-plan-custom .lp-price-net { margin-top: 18px; font-size: 26px; font-weight: 700; letter-spacing: -0.03em; line-height: 1.2; }
.p2 .lp-plan-custom li { color: var(--p2-muted); border-color: #e7eef5; }
.p2-pricing-note {margin-top: 22px; font-size: 15px; }

.p2-faq-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 56px; align-items: start; }
.p2-faq details { border-bottom: 1px solid var(--p2-line); }
.p2-faq summary { padding: 18px 28px 18px 0; cursor: pointer; color: var(--p2-ink); font-weight: 600; line-height: 1.4; }
.p2-faq details[open] summary { color: var(--p2-blue); }
.p2-faq details p { padding: 0 8px 18px 0; font-size: 15px; }

.p2-close { padding-block: 56px; background: var(--p2-navy); }
.p2-close-grid { display: flex; justify-content: space-between; align-items: center; gap: 32px; }
.p2-close h2 { color: #fff; max-width: 16ch; }
.p2-close p { margin-top: 10px; max-width: 36ch; color: #d5deea; font-size: 17px; }
.p2-close .p2-actions { margin-top: 0; }
.p2 .p2-close a.lp-button-primary { color: var(--p2-navy); background: #fff; border-color: #fff; }
.p2 .p2-close a.lp-button-primary:hover { background: #e7eef8; }
.p2 .p2-close a.lp-button-secondary { color: #fff; background: transparent; border-color: #fff; }
.p2 .p2-close a.lp-button-secondary:hover { background: rgba(255, 255, 255, 0.1); }
.p2 .p2-close a:focus-visible { outline-color: #fff; }

.p2-footer { padding: 48px 0 28px; background: #0b1c33; color: #fff; }
.p2-footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 40px; }
.p2-footer .p2-footer-name { color: #fff; font-size: 20px; font-weight: 700; }
.p2-footer p { margin-bottom: 10px; color: #c5d0de; font-size: 14px; }
.p2-footer a { color: #fff; font-size: 14px; text-decoration: underline; text-underline-offset: 3px; }
.p2-footer nav { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.p2-footer-meta { margin-top: 28px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, 0.16); }
.p2-footer-meta p { margin-bottom: 6px; font-size: 12px; }

@media (max-width: 1000px) {
    .p2-plans { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
    .p2-hero-grid,
    .p2-audience-grid,
    .p2-steps,
    .p2-faq-grid,
    .p2-footer-grid { grid-template-columns: 1fr; }
    .p2-close-grid { flex-direction: column; align-items: flex-start; }
    .p2-close .p2-actions { margin-top: 8px; }
    .p2-hero-grid,
    .p2-audience-grid,
    .p2-faq-grid { gap: 32px; }
}

@media (max-width: 760px) {
    .p2-wrap { width: calc(100% - 32px); }
    .p2-section { padding-block: 56px; }
    .p2-hero { padding: 96px 0 36px; }
    .p2 h1 { max-width: 12ch; font-size: clamp(38px, 10vw, 48px); }
    .p2-benefit-grid,
    .p2-plans { grid-template-columns: 1fr; gap: 22px; }
    .p2-trust { height: 220px; }
    .p2-trust figcaption { left: 16px; right: 16px; bottom: 16px; max-width: none; }
    .p2 .lp-field-row { grid-template-columns: 1fr 1fr; }
}

@media (prefers-reduced-motion: reduce) {
    .p2 :is(a, button).lp-button { transition: none; }
}

.p2 .p2-checkout { padding: 40px 0 72px; background: #fff; }
.p2 .p2-checkout h1 { max-width: 20ch; font-size: clamp(36px, 4vw, 52px); }
.p2 .p2-checkout .p2-lead { margin-top: 16px; max-width: 42ch; font-size: 18px; }
.p2-checkout-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr); gap: 40px; align-items: start; margin-top: 28px; }
.p2-checkout-summary { position: sticky; top: 88px; }
.p2-checkout-summary .lp-plan { border-bottom: none; border-bottom-left-radius: 0; border-bottom-right-radius: 0; }
.p2-checkout-pay { padding: 4px 22px 22px; border: 1px solid var(--p2-line); border-top: none; border-radius: 0 0 12px 12px; background: #fff; }
.p2-checkout-extra { margin-bottom: 16px; }
.p2-checkout-terms .inline-flex,
.p2-checkout-extra .inline-flex { display: flex; align-items: flex-start; width: 100%; }
.p2-checkout-terms .inline-flex input,
.p2-checkout-extra .inline-flex input { flex-shrink: 0; margin-top: 3px; }
.p2-checkout-terms .inline-flex label,
.p2-checkout-extra .inline-flex label { min-width: 0; }
.p2-stripe-label { position: relative; display: flex; align-items: center; gap: 8px; margin: 0; color: var(--p2-ink); font-size: 14px; font-weight: 600; }
.p2-stripe-anchor { display: inline-flex; }
.p2 .p2-stripe-icon { display: inline-flex; align-items: center; justify-content: center; width: 22px; height: 22px; min-height: 0; padding: 0; flex: 0 0 22px; border: 1.5px solid var(--p2-line); border-radius: 50%; background: #fff; color: var(--p2-muted); font-family: inherit; font-size: 13px; font-weight: 700; line-height: 1; letter-spacing: normal; text-transform: none; box-shadow: none; cursor: pointer; }
.p2 .p2-stripe-icon:hover { border-color: var(--p2-blue); color: var(--p2-blue); }
.p2-stripe-bubble { position: absolute; left: 0; top: calc(100% + 8px); z-index: 30; width: 100%; padding: 12px 14px; border: 1px solid var(--p2-line); border-radius: 12px; background: #fff; color: var(--p2-muted); font-size: 13px; font-weight: 400; line-height: 1.45; text-align: left; box-shadow: 0 12px 28px rgba(15, 39, 68, 0.12); }
.p2-stripe-bubble-title { display: block; margin-bottom: 6px; color: var(--p2-ink); font-weight: 700; }
.p2-stripe-bubble-copy { display: block; }
.p2-stripe-bubble ul { margin: 8px 0 0; padding-left: 16px; }
.p2-stripe-bubble li + li { margin-top: 4px; }
.p2-invoice-error { margin-top: 12px; color: #9f1239; font-size: 14px; font-weight: 600; }
.p2-checkout-extra label,
.p2-checkout-terms label { color: var(--p2-ink); font-size: 14px; font-weight: 500; line-height: 1.45; }
.p2-checkout-terms { margin-bottom: 16px; }
.p2-checkout-terms a { color: var(--p2-blue); font-weight: 600; text-underline-offset: 3px; }
.p2-checkout-pay .lp-button { width: 100%; }
.p2-checkout-trust { margin-top: 18px; color: var(--p2-ink); font-size: 14px; }
.p2-checkout-trust .p2-check-list { margin-bottom: 0; }
.p2-notice { margin-top: 22px; padding: 14px 16px; border: 1px solid var(--p2-line); border-left: 4px solid var(--p2-blue); border-radius: 10px; background: var(--p2-paper); color: var(--p2-ink); font-size: 15px; line-height: 1.5; }
.p2-notice-error { border-left-color: #9f1239; background: #f8e4e8; }
.p2-notice-error p { color: #142033; }
.p2-notice a { color: var(--p2-blue); font-weight: 600; }
.p2-checkout-form { padding: 22px; }
.p2-checkout #userInvoiceDataForm label.block { margin-top: 0; margin-bottom: 6px; color: var(--p2-ink); font-size: 14px; font-weight: 600; }
.p2-checkout #userInvoiceDataForm :is(input[type="text"], select) { width: 100%; height: 48px; margin-top: 0; padding: 10px 12px; border: 1px solid #c5d0e0; border-radius: 8px; background: var(--p2-paper); color: var(--p2-ink); font-size: 16px; box-shadow: none; }
.p2-checkout #userInvoiceDataForm :is(input[type="text"], select):focus { outline: 2px solid var(--p2-blue); outline-offset: 0; border-color: var(--p2-blue); box-shadow: none; }
.p2-checkout #userInvoiceDataForm :is(input[type="text"], select).is-invalid { border-color: #9f1239; background: #f8e4e8; }
.p2-checkout #userInvoiceDataForm :is(input[type="text"], select).is-invalid:focus { outline: 2px solid #9f1239; border-color: #9f1239; }
.p2-checkout #userInvoiceDataForm ul.invoice-field-error { margin: 6px 0 0; padding: 0; color: #9f1239; font-size: 13px; font-weight: 600; line-height: 1.45; list-style: none; }
.p2-checkout #userInvoiceDataForm ul.invoice-field-error:not(:has(li)) { display: none; margin: 0; }
.p2-checkout #userInvoiceDataForm .readonly { background: #e8edf3; color: var(--p2-muted); }
.p2-checkout #userInvoiceDataForm p { margin-top: 6px; color: var(--p2-muted); font-size: 13px; line-height: 1.45; }
.p2-checkout #userInvoiceDataForm button { min-height: 44px; padding: 10px 16px; border-radius: 10px; border: 1.5px solid var(--p2-blue); background: #fff; color: var(--p2-blue); font-family: inherit; font-size: 15px; font-weight: 700; letter-spacing: normal; text-transform: none; box-shadow: none; cursor: pointer; }

@media (max-width: 900px) {
    .p2-checkout-grid { grid-template-columns: 1fr; }
    .p2-checkout-summary { position: static; }
}
