/* NEW FILE: pricing.css */

/* ==========================================================
   Local tokens (derived from the existing design system)
========================================================== */
.pricing-page {
    --pp-max-width: 1200px;
    --pp-hero-width: 700px;
    --pp-section-y: 120px;
    --pp-gap: 48px;
    --pp-radius: 24px;
    --pp-radius-sm: 14px;

    --pp-display-font: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Georgia, serif;
    --pp-body-font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

    --pp-shadow: 0 1px 2px oklch(0% 0 0 / 0.16), 0 20px 48px -20px oklch(0% 0 0 / 0.45);

    color: var(--colour-text);
    font-family: var(--pp-body-font);
    background: var(--colour-page);
}

.pricing-page * {
    box-sizing: border-box;
}



.pricing-page p {
    margin: 0;
    color: oklch(from var(--colour-text-muted) 0.6 c h);
}

.pricing-page a {
    text-decoration: none;
}

/* ==========================================================
   Eyebrow label — a quiet structural device used throughout,
   echoing the section headers of a legal document.
========================================================== */
.pricing-page .eyebrow {
    font-family: var(--pp-body-font);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--colour-brand);
    margin: 0 0 10px 0;
}

/* ==========================================================
   Buttons
========================================================== */
.pricing-page .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    border-radius: 999px;
    font-size: 0.95rem;
    font-weight: 600;
    font-family: var(--pp-body-font);
    border: 1px solid transparent;
    cursor: pointer;
    transition: transform 0.15s ease, background-color 0.15s ease, border-color 0.15s ease;
}

.pricing-page .btn-primary {
    background: var(--colour-brand);
    color: oklch(from var(--colour-brand) 15% 0.03 h);
}

.pricing-page .btn-primary:hover {
    transform: translateY(-1px);
    background: oklch(from var(--colour-brand) calc(l + 0.05) c h);
}

.pricing-page .btn-secondary {
    background: transparent;
    color: var(--colour-text);
    border-color: var(--colour-border);
}

.pricing-page .btn-secondary:hover {
    border-color: oklch(from var(--colour-border) l c h / 0.4);
    background: var(--colour-section-alt);
}

.pricing-page .btn-block {
    display: flex;
    width: 100%;
    margin-top: 8px;
}

.pricing-page a.btn:focus-visible {
    outline: 2px solid var(--colour-brand);
    outline-offset: 3px;
}

/* ==========================================================
   1. Hero
========================================================== */
.pricing-page .hero {
    position: relative;
    padding: 0px 24px 120px;
    overflow: hidden;
    isolation: isolate;
}

.pricing-page .hero-atmosphere {
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        radial-gradient(560px 360px at 50% 30%,
            oklch(from var(--colour-brand) l c h / 0.26),
            transparent 70%);
    background:
        radial-gradient(min(35rem, 60vw) 22rem at 50% 30%,
            oklch(from var(--colour-brand) l c h / 0.26),
            transparent 70%);
}

.pricing-page .hero-inner {
    max-width: var(--pp-hero-width);
    margin: 20px auto;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.pricing-page .hero-inner .eyebrow {
    text-align: center;
}

.pricing-page .hero h1 {
    font-size: clamp(2.25rem, 4vw, 3.25rem);
    margin-bottom: 1rem !important;
    font-family: var(--font-family-logo), sans-serif;
}

.pricing-page .hero-subheading {
    font-size: 1.15rem;
    line-height: 1.6;
    color: var(--colour-text-subtle);
    max-width: 560px;
    margin: 1rem auto 3rem auto !important;
}

.pricing-page .hero-subheading strong {
    color: var(--text-col-100);
    font-weight: 600;
}

.pricing-page .hero-actions {
    display: flex;
    gap: 16px;
    margin-top: 40px;
    flex-wrap: wrap;
    justify-content: center;
}

.pricing-page .trust-strip {
    list-style: none;
    display: flex;
    gap: 28px;
    flex-wrap: wrap;
    justify-content: center;
    margin: 48px 0 0;
    padding: 24px 0 0;
    border-top: 1px solid var(--colour-border);
    width: 100%;
}

.pricing-page .trust-strip li {
    position: relative;
    padding-left: 20px;
    font-size: 0.875rem;
    color: var(--colour-text-subtle);
}

.pricing-page .trust-strip li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: oklch(from var(--colour-brand) l c h / 0.7);
    transform: translateY(-50%);
}

/* ==========================================================
   Generic section rhythm
========================================================== */
/* .section {
    padding: var(--pp-section-y) 24px;
} */

.pricing-page .section-inner {
    max-width: var(--pp-max-width);
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: var(--pp-gap);
}

.pricing-page .section-heading-center {
    text-align: center;
    font-size: clamp(1.75rem, 3vw, 2.25rem);
}

/* ==========================================================
   2. Pricing card
========================================================== */

.pricing-page .pricing-card h2.plan-heading{
    font-size: 3rem;
    max-width: 34ch;
    color: oklch(from var(--colour-brand) 1 c h / 0.4);
}

.pricing-page .pricing-section {
    padding-top: 0;
}

.pricing-page .pricing-card {
    background: var(--colour-surface);
    border: 1px solid var(--colour-border);
    border-radius: var(--pp-radius);
    box-shadow: var(--pp-shadow);
    padding: 56px;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.pricing-page .pricing-card-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}

.pricing-page .pricing-card-header h2 {
    font-size: 1.75rem;
    color: var(--colour-text, var(--text-col-000));
}

.pricing-page .pricing-card h2 {
    color: oklch(from var(--colour-text) 0.6 c h);
}

.pricing-page .badge {
    display: inline-flex;
    align-items: center;
    padding: 8px 16px;
    border-radius: 0.25rem;
    font-size: 0.8rem;
    font-weight: 600;
    background: oklch(from var(--colour-brand) 1 c h / 0.05);
    color: oklch(from var(--colour-brand) 0.6 c h);
    border: 1px solid oklch(from var(--colour-brand) 1 c h / 0.1);
    white-space: nowrap;
}

.pricing-page .price {
    display: flex;
    align-items: baseline;
    gap: 10px;
    color: oklch(from var(--colour-text) l c h);
}

.pricing-page .price-amount {
    font-size: 3.25rem;
    line-height: 1;
    color: oklch(from var(--colour-text) 1 c h);
}

.pricing-page .price-period {
    font-size: 1rem;
    color: oklch(from var(--colour-text) 60% c h);
}

.pricing-page .section-intro {
    font-size: 1.05rem;
    line-height: 1.65;
    max-width: 62ch;
}

.pricing-page .feature-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px var(--pp-gap);
    padding: 32px 0;
    border-top: 1px solid var(--colour-border);
    border-bottom: 1px solid var(--colour-border);
}

.pricing-page .feature-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 18px;
    margin: 0;
    padding: 0;
}

.pricing-page .feature-list li {
    position: relative;
    padding-left: 30px;
    font-size: 0.95rem;
    color: oklch(from var(--colour-text) l c h);
}

.pricing-page .feature-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 1px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: oklch(from var(--colour-brand) l c h / 0.12);
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E");
    mask-repeat: no-repeat;
    mask-position: center;
    mask-size: 12px;
    background-color: var(--colour-brand);
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E");
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-position: center;
    -webkit-mask-size: 12px;
}



/* ==========================================================
   3. Integration section — deliberately quieter treatment:
   dashed rule instead of solid shadowed card, muted background.
========================================================== */
.pricing-page .integration-section {
    padding-top: 0;
}

.pricing-page .integration-card {
    background-image: linear-gradient(to bottom, oklch(from var(--bg-300) l c h / 0.35), oklch(from var(--colour-brand) 0.2 c h / 0.42));
    border: 1px solid oklch(from var(--colour-brand) l c h / 0.25);
    border-radius: var(--pp-radius);
    padding: 48px 56px;
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.pricing-page .integration-card-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}

.pricing-page .integration-card-header h2 {
    font-size: 3rem;
    max-width: 34ch;
    color: oklch(from var(--colour-brand) 1 c h);
}

.pricing-page .price-label {
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    padding: 8px 16px;
    border-radius: 999px;
    border: 1px solid var(--colour-border);
    color: oklch(from var(--colour-text) 70% c h);
    white-space: nowrap;
}

.pricing-page .integration-intro {
    max-width: 68ch;
    font-size: 1rem;
    line-height: 1.65;
    color: oklch(from var(--colour-page) 38% c h);
}

.pricing-page .benefit-grid {
    list-style: none;
    margin: 0;
    padding: 24px 0 0;
    border-top: 1px solid var(--colour-border);
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px var(--pp-gap);
}

.pricing-page .benefit-grid li {
    position: relative;
    padding-left: 22px;
    font-size: 0.92rem;
    color: oklch(from var(--colour-page) 32% c h);
}

.pricing-page .benefit-grid li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 8px;
    width: 8px;
    height: 8px;
    border-radius: 2px;
    background: oklch(from var(--colour-brand) l c h / 0.6);
    transform: rotate(45deg);
}

/* ==========================================================
   4. Why firms choose this model
========================================================== */
.pricing-page .why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--pp-gap);
}

.pricing-page .why-card {
    background: var(--colour-surface);
    border: 1px solid var(--colour-border);
    border-radius: var(--pp-radius-sm);
    padding: 32px 28px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.pricing-page .why-card h3 {
    font-size: 1.3rem;
    color: oklch(from var(--colour-brand) 1 c h);
}

.pricing-page .why-card p {
    font-size: 0.9rem;
    line-height: 1.6;
    color: oklch(from var(--colour-text) 68% c h);
}

/* ==========================================================
   5. Closing statement
========================================================== */
.pricing-page .closing-section {
    text-align: center;
}

.pricing-page .closing-inner {
    max-width: 640px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.pricing-page .closing-inner h2 {
    font-size: clamp(1.75rem, 3vw, 2.25rem);
}

.pricing-page .closing-inner p {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--colour-text-subtle);
}

/* ==========================================================
   6. Final CTA
========================================================== */
.pricing-page .cta-section {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    padding: 120px 24px;
    text-align: center;
}

.pricing-page .cta-atmosphere {
    position: absolute;
    inset: 0;
    z-index: -1;
    background: radial-gradient(700px 420px at 50% 50%,
        oklch(from var(--colour-brand) l c h / 0.18),
        transparent 70%);
}

.pricing-page .cta-inner {
    max-width: var(--pp-hero-width);
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.pricing-page .cta-inner h2 {
    font-size: clamp(1.75rem, 3.5vw, 2.5rem);
}

.pricing-page .cta-inner p {
    font-size: 1.05rem;
    line-height: 1.65;
    color: var(--colour-text-subtle);
    max-width: 520px;
}

.pricing-page .cta-inner .btn {
    margin-top: 12px;
}

/* ==========================================================
   Responsive — stack below 850px, keep generous spacing
========================================================== */
@media (max-width: 850px) {
    .pricing-page {
        --pp-section-y: 72px;
    }

    .pricing-page .hero {
        padding: 96px 20px 72px;
    }

    .pricing-page .pricing-card,
    .pricing-page .integration-card {
        padding: 32px 24px;
    }

    .pricing-page .feature-columns,
    .pricing-page .why-grid,
    .pricing-page .benefit-grid {
        grid-template-columns: 1fr;
    }

    .pricing-page .pricing-card-header,
    .pricing-page .integration-card-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .pricing-page .hero-actions {
        flex-direction: column;
        width: 100%;
    }

    .pricing-page .hero-actions .btn {
        width: 100%;
    }

    .pricing-page .trust-strip {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
        padding-left: 8px;
    }
}

/* ==========================================================
   Reduced motion
========================================================== */
@media (prefers-reduced-motion: reduce) {
    .pricing-page .btn {
        transition: none;
    }
}