:root {
    --brand: #d97706;
    --brand-dark: #b45309;
    --brand-soft: #fff3e6;
    --ink: #172033;
    --ink-soft: #52607a;
    --muted: #8b97ab;
    --surface: #ffffff;
    --surface-alt: #f8fafc;
    --surface-dark: #0f172a;
    --border: #e2e8f0;
}

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
    font-family: "Roboto", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--ink);
    background: var(--surface);
    line-height: 1.65;
}

body {
    min-height: 100vh;
}

a {
    color: var(--brand-dark);
    text-decoration: none;
}

a:hover {
    color: var(--brand);
}

h1,
h2,
h3,
h4 {
    color: var(--ink);
    font-weight: 700;
    line-height: 1.12;
    margin: 0 0 .6em;
    letter-spacing: -.02em;
}

h1 {
    font-size: clamp(2.6rem, 5vw, 4rem);
}

h2 {
    font-size: clamp(2rem, 3.5vw, 2.7rem);
}

h3 {
    font-size: 1.28rem;
}

p {
    margin: 0 0 1rem;
    color: var(--ink-soft);
}

.container {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.pm-nav {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
}

.pm-nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    min-height: 76px;
}

.pm-brand {
    display: flex;
    align-items: center;
    gap: .65rem;
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--ink);
}

.pm-brand:hover {
    color: var(--ink);
}

.pm-brand-mark {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: var(--brand-dark);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 800;
    font-size: .95rem;
}

.pm-nav-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    border: 1px solid var(--border);
    background: #fff;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 4px;
    cursor: pointer;
}

.pm-nav-toggle span {
    display: block;
    width: 18px;
    height: 2px;
    border-radius: 999px;
    background: var(--ink);
}

.pm-nav-links {
    display: flex;
    align-items: center;
    gap: 1.3rem;
}

.pm-nav-links a {
    color: var(--ink-soft);
    font-weight: 500;
    font-size: .95rem;
}

.pm-nav-links a.active {
    color: var(--brand-dark);
}

.btn-primary,
.btn-ghost {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: .8rem 1.35rem;
    border-radius: 999px;
    font-weight: 600;
    font-size: .95rem;
    border: 1px solid transparent;
    cursor: pointer;
    transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease, background-color .15s ease;
    text-decoration: none;
}

.btn-primary {
    background: var(--brand);
    color: #fff;
    box-shadow: 0 12px 24px rgba(217, 119, 6, 0.18);
}

.btn-primary:hover {
    background: var(--brand-dark);
    color: #fff;
    transform: translateY(-1px);
}

.btn-ghost {
    background: #fff;
    color: var(--ink);
    border-color: var(--border);
}

.btn-ghost:hover {
    border-color: var(--brand);
    color: var(--brand-dark);
}

.btn-lg {
    padding: 1rem 1.7rem;
    font-size: 1rem;
}

.hero {
    padding: 6rem 0 5rem;
    background: var(--surface-alt);
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    padding: .38rem .85rem;
    background: var(--brand-soft);
    color: var(--brand-dark);
    font-size: .8rem;
    font-weight: 700;
    border-radius: 999px;
    margin-bottom: 1.25rem;
    letter-spacing: .05em;
    text-transform: uppercase;
}

.hero h1 {
    max-width: 760px;
    margin-bottom: 1rem;
}

.hero h1 .accent {
    color: var(--brand);
}

.hero p.lead {
    font-size: 1.12rem;
    max-width: 640px;
    margin-bottom: 1.9rem;
}

.hero-actions {
    display: flex;
    gap: .9rem;
    flex-wrap: wrap;
}

section {
    padding: 5rem 0;
}

.section-alt {
    background: var(--surface-alt);
}

.section-dark {
    background: var(--surface-dark);
    color: #e5e7eb;
}

.section-dark h2,
.section-dark h3 {
    color: #fff;
}

.section-dark p {
    color: #a8b3c7;
}

.section-heading {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 2.85rem;
}

.section-heading .eyebrow {
    display: inline-block;
    color: var(--brand-dark);
    font-weight: 700;
    font-size: .82rem;
    letter-spacing: .08em;
    text-transform: uppercase;
    margin-bottom: .95rem;
}

.section-heading p {
    font-size: 1.02rem;
    margin-bottom: 0;
}

.grid {
    display: grid;
    gap: 1.5rem;
}

.grid-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 1.9rem;
    transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.04);
}

.card:hover {
    transform: translateY(-2px);
    border-color: #fdba74;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
}

.card .icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: var(--brand-soft);
    color: var(--brand-dark);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.card h3 {
    margin-bottom: .55rem;
}

.card p {
    margin-bottom: 0;
    font-size: .96rem;
}

.pricing-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 22px;
    padding: 2.1rem 1.85rem;
    display: flex;
    flex-direction: column;
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.04);
}

.pricing-card.featured {
    border: 2px solid var(--brand);
    position: relative;
    box-shadow: 0 20px 42px rgba(217, 119, 6, 0.12);
}

.pricing-card.featured::before {
    content: "Most popular";
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--brand);
    color: #fff;
    font-size: .74rem;
    font-weight: 700;
    padding: .28rem .8rem;
    border-radius: 999px;
    text-transform: uppercase;
    letter-spacing: .05em;
}

.pricing-card h3 {
    font-size: 1.3rem;
    margin-bottom: .25rem;
}

.pricing-card .price {
    font-size: 2.45rem;
    font-weight: 700;
    color: var(--ink);
    margin: .5rem 0;
}

.pricing-card .price .unit {
    font-size: .95rem;
    color: var(--muted);
    font-weight: 400;
}

.pricing-card .pricing-desc {
    color: var(--ink-soft);
    font-size: .95rem;
    margin-bottom: 1.5rem;
}

.pricing-card ul {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem;
    flex-grow: 1;
}

.pricing-card li {
    padding: .5rem 0;
    color: var(--ink-soft);
    font-size: .95rem;
    display: flex;
    align-items: start;
    gap: .5rem;
}

.pricing-card li::before {
    content: "✓";
    color: var(--brand);
    font-weight: 700;
    flex-shrink: 0;
}

.pm-footer {
    background: var(--surface-dark);
    color: #9ca3af;
    padding: 3rem 0 2rem;
    font-size: .9rem;
}

.pm-footer .container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.pm-footer a {
    color: #d1d5db;
}

.pm-footer a:hover {
    color: #fff;
}

.pm-footer-links {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.form-wrap {
    max-width: 680px;
    margin: 0 auto;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 22px;
    padding: 2.3rem;
    box-shadow: 0 14px 36px rgba(15, 23, 42, 0.05);
}

.form-group {
    margin-bottom: 1.25rem;
}

.form-group label {
    display: block;
    font-weight: 600;
    font-size: .9rem;
    color: var(--ink);
    margin-bottom: .45rem;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: .8rem .95rem;
    border: 1px solid var(--border);
    border-radius: 12px;
    font-family: inherit;
    font-size: .96rem;
    color: var(--ink);
    background: #fff;
    transition: border-color .15s ease, box-shadow .15s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--brand);
    box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.14);
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
}

.field-error {
    color: #dc2626;
    font-size: .85rem;
    margin-top: .25rem;
}

.success-banner {
    background: rgba(34, 197, 94, 0.10);
    border: 1px solid rgba(34, 197, 94, 0.30);
    color: #15803d;
    padding: 1rem 1.25rem;
    border-radius: 14px;
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.cta-strip {
    background: var(--brand-dark);
    color: #fff;
    text-align: center;
    padding: 4.6rem 0;
}

.cta-strip h2 {
    color: #fff;
    margin-bottom: .75rem;
}

.cta-strip p {
    color: rgba(255, 255, 255, 0.88);
    max-width: 560px;
    margin: 0 auto 1.75rem;
    font-size: 1.05rem;
}

.cta-strip .btn-primary {
    background: #fff;
    color: var(--brand-dark);
    box-shadow: none;
}

.cta-strip .btn-primary:hover {
    background: #fff;
    color: var(--brand-dark);
}

.stats-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.4rem;
    text-align: center;
}

.stat {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 1.65rem 1.2rem;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04);
}

.stat .num {
    font-size: 2.3rem;
    font-weight: 700;
    color: var(--brand);
    line-height: 1;
}

.stat .lbl {
    color: var(--ink-soft);
    font-size: .94rem;
    margin-top: .45rem;
}

@media (max-width: 980px) {
    .pm-nav-toggle {
        display: inline-flex;
    }

    .pm-nav-links {
        position: absolute;
        top: calc(100% + .75rem);
        left: 1rem;
        right: 1rem;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: .8rem;
        padding: 1rem;
        border-radius: 20px;
        border: 1px solid var(--border);
        background: #fff;
        box-shadow: 0 16px 36px rgba(15, 23, 42, 0.08);
    }

    .pm-nav-links.is-open {
        display: flex;
    }

    .pm-nav-links .btn-primary,
    .pm-nav-links .btn-ghost {
        width: 100%;
    }

    .grid-3,
    .grid-2,
    .grid-4,
    .stats-row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 860px) {
    section {
        padding: 4rem 0;
    }

    .hero {
        padding: 4.75rem 0 4rem;
    }

    .hero p.lead {
        font-size: 1.05rem;
    }
}

@media (max-width: 640px) {
    .container {
        padding: 0 1rem;
    }

    .pm-nav-inner {
        min-height: 70px;
    }

    .form-wrap,
    .card,
    .pricing-card,
    .stat {
        padding: 1.45rem;
    }
}
