:root {
    --pm-accent: #d58f15;
    --pm-accent-dark: #ef8420;
    --pm-accent-light: #fff7e8;
    --pm-accent-border: #efd6a6;

    --pm-text: #1f2937;
    --pm-text-soft: #667085;
    --pm-heading: #2b2f38;

    --pm-bg: #fbfaf7;
    --pm-surface: #ffffff;
    --pm-border: #e8e3d9;

    --pm-success-bg: #ecfbf2;
    --pm-success-text: #23945d;

    --pm-warn-bg: #fff5e9;
    --pm-warn-text: #c97f00;

    --pm-shadow: 0 4px 18px rgba(213, 143, 21, 0.08);
    --pm-shadow-soft: 0 2px 10px rgba(213, 143, 21, 0.06);
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: Arial, sans-serif;
    color: var(--pm-text);
    background: var(--pm-bg);
}

a {
    color: inherit;
}

.pm-page-wrap {
    max-width: 1040px;
    margin: 0 auto;
    padding: 34px 20px 72px;
}

.pm-content-shell {
    max-width: 840px;
    margin: 0 auto;
}

.pm-page-header {
    margin-bottom: 26px;
}

.pm-page-title {
    font-size: 30px;
    line-height: 1.2;
    color: var(--pm-heading);
    margin: 0 0 10px;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.pm-page-subtitle {
    font-size: 18px;
    line-height: 1.7;
    color: var(--pm-text-soft);
    margin: 0;
}

.pm-section-title {
    font-size: 28px;
    line-height: 1.2;
    color: var(--pm-heading);
    margin: 0 0 10px;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.pm-section-rule {
    height: 1px;
    background: #eee7da;
    margin-bottom: 16px;
}

.pm-card {
    background: var(--pm-surface);
    border: 1px solid var(--pm-border);
    border-radius: 16px;
    padding: 22px 24px;
    box-shadow: var(--pm-shadow-soft);
    margin-bottom: 18px;
}

.pm-card-tight {
    padding: 18px 20px;
}

.pm-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.pm-empty-card {
    background: var(--pm-surface);
    border: 1px solid var(--pm-border);
    border-radius: 16px;
    padding: 26px;
    color: var(--pm-text-soft);
    font-size: 17px;
    line-height: 1.7;
}

.pm-msg {
    padding: 12px 14px;
    border-radius: 12px;
    background: var(--pm-accent-light);
    color: #8a5a00;
    margin-bottom: 18px;
    border: 1px solid var(--pm-accent-border);
}

.pm-field {
    margin-bottom: 14px;
}

.pm-field label {
    display: block;
    font-weight: 700;
    margin-bottom: 6px;
    color: var(--pm-heading);
}

.pm-input,
.pm-field input,
.pm-field select,
.pm-field textarea {
    width: 100%;
    box-sizing: border-box;
    border: 1px solid #d8d0c3;
    border-radius: 12px;
    padding: 13px 14px;
    font-size: 16px;
    background: #fff;
    color: var(--pm-text);
}

.pm-field textarea {
    min-height: 120px;
    resize: vertical;
}

.pm-btn,
.pm-btn-secondary,
.pm-btn-linkish {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 0 20px;
    border-radius: 12px;
    text-decoration: none;
    font-size: 16px;
    font-weight: 800;
    cursor: pointer;
    transition: transform .15s ease, opacity .15s ease;
}

.pm-btn:hover,
.pm-btn-secondary:hover,
.pm-btn-linkish:hover {
    transform: translateY(-1px);
}

.pm-btn {
    background: linear-gradient(180deg, var(--pm-accent) 0%, var(--pm-accent-dark) 100%);
    color: #fff;
    border: none;
    box-shadow: 0 8px 20px rgba(239, 132, 32, 0.16);
}

.pm-btn-secondary {
    background: #f4efe6;
    color: #6f6149;
    border: 1px solid #ddd3c4;
}

.pm-btn-linkish {
    background: none;
    border: none;
    color: var(--pm-accent-dark);
    padding: 0;
    min-height: 0;
    font-size: 14px;
    font-weight: 700;
}

.pm-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 14px;
    align-items: center;
}

.pm-item {
    padding: 16px 0;
    border-top: 1px solid #f0eadf;
}

.pm-item:first-child {
    padding-top: 0;
    border-top: none;
}

.pm-item-title {
    font-size: 20px;
    line-height: 1.3;
    font-weight: 800;
    color: var(--pm-heading);
    margin-bottom: 6px;
}

.pm-item-meta {
    font-size: 15px;
    line-height: 1.6;
    color: var(--pm-text-soft);
    margin-bottom: 10px;
}

.pm-badge-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.pm-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    padding: 7px 11px;
    font-size: 12px;
    line-height: 1;
    font-weight: 700;
    background: #f6f2ea;
    color: #746a59;
}

.pm-badge-success {
    background: var(--pm-success-bg);
    color: var(--pm-success-text);
}

.pm-badge-warn {
    background: var(--pm-warn-bg);
    color: var(--pm-warn-text);
}

.pm-list {
    margin: 0;
    padding-left: 22px;
}

.pm-list li {
    margin-bottom: 8px;
    color: #4d5968;
    line-height: 1.7;
    font-size: 16px;
}

.pm-chip-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.pm-chip-link {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    background: var(--pm-accent-light);
    border: 1px solid var(--pm-accent-border);
    color: #8a5a00;
    border-radius: 999px;
    padding: 9px 12px;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.2;
}

.pm-chip-link.secondary {
    background: #fff;
    border-color: var(--pm-border);
    color: #62584a;
}

.pm-nav {
    background: #fffdf8;
    border-bottom: 1px solid var(--pm-border);
    position: sticky;
    top: 0;
    z-index: 50;
}

.pm-nav-inner {
    max-width: 1240px;
    margin: 0 auto;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.pm-logo {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}

.pm-logo img {
    height: 44px;
    width: auto;
    display: block;
}

.pm-desktop-nav {
    display: flex;
    align-items: center;
    gap: 20px;
}

.pm-desktop-nav a {
    text-decoration: none;
    color: var(--pm-accent-dark);
    font-size: 14px;
    font-weight: 700;
}

.pm-desktop-nav a:hover {
    text-decoration: underline;
}

.pm-burger-btn {
    display: none;
    border: 1px solid var(--pm-border);
    background: #fff;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.pm-burger-icon {
    width: 18px;
    height: 14px;
    position: relative;
}

.pm-burger-icon span {
    position: absolute;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--pm-accent-dark);
    border-radius: 999px;
}

.pm-burger-icon span:nth-child(1) { top: 0; }
.pm-burger-icon span:nth-child(2) { top: 6px; }
.pm-burger-icon span:nth-child(3) { top: 12px; }

.pm-mobile-menu {
    display: none;
    border-top: 1px solid var(--pm-border);
    background: #fffdf8;
    padding: 10px 20px 16px;
}

.pm-mobile-menu.open {
    display: block;
}

.pm-mobile-menu a {
    display: block;
    text-decoration: none;
    color: var(--pm-accent-dark);
    font-weight: 700;
    font-size: 15px;
    padding: 12px 2px;
}

.pm-mobile-menu a + a {
    border-top: 1px solid #f2ede3;
}

.pm-pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 18px;
}

.pm-pricing-card {
    background: var(--pm-surface);
    border: 1px solid var(--pm-border);
    border-radius: 18px;
    padding: 22px;
    box-shadow: var(--pm-shadow-soft);
}

.pm-pricing-card.featured {
    border: 2px solid var(--pm-accent);
    box-shadow: var(--pm-shadow);
}

.pm-pricing-badge {
    display: inline-block;
    background: var(--pm-accent-light);
    border: 1px solid var(--pm-accent-border);
    color: #8a5a00;
    border-radius: 999px;
    padding: 6px 10px;
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 10px;
}

.pm-pricing-title {
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 6px;
    color: var(--pm-heading);
}

.pm-pricing-price {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 8px;
    color: var(--pm-heading);
}

.pm-pricing-desc {
    color: var(--pm-text-soft);
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 14px;
}

.pm-alert {
    background: var(--pm-accent-light);
    border: 1px solid var(--pm-accent-border);
    color: #8a5a00;
    border-radius: 14px;
    padding: 14px 16px;
    line-height: 1.7;
    font-size: 15px;
}

.pm-summary-hero {
    margin-bottom: 24px;
}

.pm-summary-title {
    font-size: 34px;
    line-height: 1.15;
    margin: 0 0 14px;
    color: var(--pm-heading);
    font-weight: 800;
    letter-spacing: -0.02em;
    text-align:center;
}

.pm-summary-text {
    font-size: 18px;
    line-height: 1.75;
    color: var(--pm-text-soft);
    margin: 0;
    text-align:center;
}

.pm-summary-upgrade {
    border: 1px solid var(--pm-accent-border);
    border-radius: 20px;
    padding: 24px 22px;
    background: linear-gradient(180deg, #fffaf1 0%, #ffffff 100%);
    box-shadow: var(--pm-shadow);
    text-align: center;
}

.pm-summary-upgrade h2 {
    margin: 0 0 10px;
    font-size: 28px;
    line-height: 1.2;
    color: var(--pm-heading);
}

.pm-summary-upgrade p {
    color: var(--pm-text-soft);
    line-height: 1.75;
    font-size: 17px;
}

@media (max-width: 900px) {
    .pm-grid-2 {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .pm-desktop-nav {
        display: none;
    }

    .pm-burger-btn {
        display: inline-flex;
    }

    .pm-nav-inner {
        padding: 14px 16px;
    }

    .pm-logo img {
        height: 40px;
    }

    .pm-page-wrap {
        padding: 26px 14px 60px;
    }

    .pm-page-title,
    .pm-summary-title {
        font-size: 26px;
    }

    .pm-page-subtitle,
    .pm-summary-text {
        font-size: 16px;
    }

    .pm-card {
        padding: 18px;
    }

    .pm-pricing-price {
        font-size: 28px;
    }

    .pm-btn,
    .pm-btn-secondary {
        width: 100%;
    }
}

.pm-footer {
    margin-top: 40px;
    background: linear-gradient(180deg, #fffdf8 0%, #fbf7ef 100%);
    border-top: 1px solid var(--pm-border);
}

.pm-footer-inner {
    max-width: 1240px;
    margin: 0 auto;
    padding: 28px 20px 18px;
}

.pm-footer-top {
    display: grid;
    grid-template-columns: 1.2fr 2fr;
    gap: 28px;
    align-items: start;
}

.pm-footer-brand {
    font-size: 22px;
    font-weight: 800;
    color: var(--pm-heading);
    margin-bottom: 8px;
    letter-spacing: -0.02em;
}

.pm-footer-text {
    margin: 0;
    max-width: 360px;
    color: var(--pm-text-soft);
    font-size: 15px;
    line-height: 1.75;
}

.pm-footer-links {
    display: grid;
    grid-template-columns: repeat(3, minmax(140px, 1fr));
    gap: 20px;
}

.pm-footer-group h4 {
    margin: 0 0 10px;
    font-size: 14px;
    font-weight: 800;
    color: var(--pm-heading);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.pm-footer-menu {
    list-style: none;
    margin: 0;
    padding: 0;
}

.pm-footer-menu li {
    margin-bottom: 8px;
}

.pm-footer-menu a {
    text-decoration: none;
    color: var(--pm-text-soft);
    font-size: 15px;
    line-height: 1.6;
}

.pm-footer-menu a:hover {
    color: var(--pm-accent-dark);
}

.pm-footer-social {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.pm-footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    height: 38px;
    padding: 0 12px;
    border-radius: 999px;
    border: 1px solid var(--pm-accent-border);
    background: #fff;
    color: var(--pm-accent-dark);
    text-decoration: none;
    font-size: 13px;
    font-weight: 800;
    transition: all .15s ease;
}

.pm-footer-social a:hover {
    background: var(--pm-accent-light);
    transform: translateY(-1px);
}

.pm-footer-bottom {
    margin-top: 22px;
    padding-top: 14px;
    border-top: 1px solid #eee7da;
    display: flex;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

.pm-footer-bottom p {
    margin: 0;
    color: #8a8173;
    font-size: 13px;
    line-height: 1.6;
}

@media (max-width: 900px) {
    .pm-footer-top {
        grid-template-columns: 1fr;
    }

    .pm-footer-links {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 640px) {
    .pm-footer-inner {
        padding: 24px 14px 16px;
    }

    .pm-footer-links {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .pm-footer-brand {
        font-size: 20px;
    }

    .pm-footer-text,
    .pm-footer-menu a {
        font-size: 14px;
    }
}