/* ==========================================================================
   Pax Family — Pricing page styles
   Implementation of marketing_mocks/page-pricing.html from Claude Design.
   Loads after tokens.css. Everything scoped under .page.pp.
   ========================================================================== */

/* Page-frame override — warm cream */
.page.pp { background: #FBF5EA; }
.pp .topnav { padding-top: 28px; }

/* ===== HERO ===== */
.pp-hero {
    padding: 24px var(--page-gutter) 80px;
    text-align: center;
    position: relative;
}
.pp-hero::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 60px;
    background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='1440' height='60' viewBox='0 0 1440 60' preserveAspectRatio='none'><path d='M0 30 Q 180 60 360 30 T 720 30 T 1080 30 T 1440 30 L 1440 60 L 0 60 Z' fill='%23ffffff'/></svg>") no-repeat center/cover;
}
.pp-hero .eyebrow {
    display: inline-flex; align-items: center; gap: 8px;
    background: #fff; border: 1px solid #F4E4BC; color: #8A6A1F;
    font-size: 13px; font-weight: 600; padding: 7px 14px; border-radius: 999px;
}
.pp-hero .eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: #C9A227; }
.pp-hero h1 {
    font-family: var(--font-display); font-size: 80px; font-weight: 800;
    letter-spacing: -0.04em; line-height: .96; color: #1b2a3a;
    margin: 22px auto 18px; max-width: 920px;
}
.pp-hero h1 em { font-style: italic; color: #66A367; font-weight: 800; }
.pp-hero h1 .pencil { display: inline-block; position: relative; color: #095FA1; }
.pp-hero h1 .pencil::after {
    content: ""; position: absolute; left: -2%; right: -2%; bottom: 4px; height: 10px; z-index: -1;
    background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 10' preserveAspectRatio='none'><path d='M0 6 Q 50 0 100 5 T 200 4' stroke='%23E9B949' stroke-width='5' fill='none' stroke-linecap='round'/></svg>") no-repeat center/100% 100%;
}
.pp-hero p.sub {
    font-size: 19px; line-height: 1.55; color: #4a5568;
    max-width: 620px; margin: 0 auto 26px;
}
.pp-hero .badges {
    display: inline-flex; gap: 24px; flex-wrap: wrap; justify-content: center;
}
.pp-hero .badge {
    display: inline-flex; align-items: center; gap: 8px;
    font-size: 14px; color: #4a5568;
}
.pp-hero .badge .b-ic {
    width: 28px; height: 28px; border-radius: 8px;
    background: #E8F0E9; color: #66A367;
    display: inline-flex; align-items: center; justify-content: center; font-size: 14px;
}

/* ===== PLAN SECTION (pitch + plan card) ===== */
.pp-plan { padding: 80px var(--page-gutter); background: #fff; }
.pp-plan .wrap {
    max-width: 1100px; margin: 0 auto;
    display: grid; grid-template-columns: 1fr 480px;
    gap: 56px; align-items: center;
}

/* Pitch (left side) */
.pp-plan .pitch .stamp {
    display: inline-flex; flex-direction: column;
    align-items: center; justify-content: center;
    width: 104px; height: 104px; border-radius: 50%;
    background: #C9A227; color: #fff;
    border: 3px solid #fff;
    box-shadow: 0 6px 16px rgba(201,162,39,.45);
    transform: rotate(-10deg);
    font-family: var(--font-display); font-weight: 800;
    line-height: 1; gap: 2px; margin-bottom: 18px;
}
.pp-plan .pitch .stamp .pct { font-size: 30px; letter-spacing: -0.02em; }
.pp-plan .pitch .stamp .l { font-size: 10px; letter-spacing: .12em; text-transform: uppercase; }
.pp-plan .pitch h2 {
    font-family: var(--font-display); font-size: 46px; font-weight: 800;
    letter-spacing: -0.025em; line-height: 1.05; color: #1b2a3a;
    margin: 0 0 14px; max-width: 480px;
}
.pp-plan .pitch h2 em { font-style: italic; color: #66A367; }
.pp-plan .pitch p {
    font-size: 17px; color: #4a5568; line-height: 1.6;
    margin: 0 0 14px; max-width: 480px;
}
.pp-plan .pitch p strong { color: #1b2a3a; font-weight: 700; }
.pp-plan .pitch .lockin {
    display: inline-flex; align-items: center; gap: 10px;
    background: #FDF4DC; border: 1px dashed #C9A227; color: #7C2D12;
    border-radius: 12px; padding: 12px 16px;
    font-size: 14px; font-weight: 600;
    margin-top: 8px;
}

/* Plan card (right side) */
.pp-plan .plan {
    position: relative; background: #fff;
    border: 2px solid #C9A227; border-radius: 24px;
    padding: 38px 32px 28px;
    box-shadow: 0 24px 50px rgba(201,162,39,.12), 0 4px 12px rgba(15,23,42,.04);
}
.pp-plan .plan .ribbon {
    position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
    background: #C9A227; color: #fff;
    font-size: 11px; font-weight: 800; letter-spacing: .08em;
    padding: 6px 14px; border-radius: 999px; text-transform: uppercase;
    box-shadow: 0 4px 12px rgba(201,162,39,.35); white-space: nowrap;
}
.pp-plan .plan .row-top {
    display: flex; align-items: center; justify-content: space-between;
    gap: 12px; margin-bottom: 6px;
}
.pp-plan .plan .planname {
    font-size: 13px; font-weight: 700; text-transform: uppercase;
    letter-spacing: .08em; color: #64748b;
}
.pp-plan .plan .planhead {
    font-family: var(--font-display); font-size: 28px; font-weight: 800;
    letter-spacing: -0.02em; color: #1b2a3a; margin: 0 0 14px;
}
.pp-plan .plan .amt-row {
    display: flex; align-items: baseline; gap: 14px;
    margin: 8px 0 4px; flex-wrap: wrap;
}
.pp-plan .plan .amt {
    font-family: var(--font-display); font-size: 64px; font-weight: 800;
    letter-spacing: -0.03em; line-height: 1; color: #1b2a3a;
}
.pp-plan .plan .amt .unit {
    font-size: 18px; color: #64748b; font-weight: 600; margin-left: 2px;
}
.pp-plan .plan .strike {
    position: relative; font-family: var(--font-display);
    font-size: 28px; font-weight: 700; color: #94a3b8;
    display: inline-block;
}
.pp-plan .plan .strike::after {
    content: ""; position: absolute; left: -4%; right: -4%;
    top: 55%; height: 2px;
    background: #94a3b8; transform: rotate(-8deg);
}
.pp-plan .plan .strike span { font-size: 14px; font-weight: 600; margin-left: 2px; }
.pp-plan .plan .trial {
    font-size: 14px; color: #4a5568; line-height: 1.4;
    margin: 8px 0 18px;
}
.pp-plan .plan .trial strong { color: #1b2a3a; }
.pp-plan .plan ul { list-style: none; padding: 0; margin: 0 0 22px; }
.pp-plan .plan li {
    font-size: 14.5px; color: #1e293b;
    padding: 10px 0 10px 30px; position: relative; line-height: 1.45;
    border-bottom: 1px dashed rgba(15,23,42,.08);
}
.pp-plan .plan li:last-child { border-bottom: 0; }
.pp-plan .plan li::before {
    content: "✓"; position: absolute; left: 0; top: 10px;
    color: #16a34a; font-weight: 800;
    width: 20px; height: 20px; background: #DCFCE7; border-radius: 50%;
    display: flex; align-items: center; justify-content: center; font-size: 11px;
}
.pp-plan .plan .pick .btn-3d {
    width: 100%; text-align: center; box-sizing: border-box;
}
.pp-plan .plan .foot {
    text-align: center; margin-top: 14px;
    font-size: 13px; color: #64748b; line-height: 1.5;
}

/* ===== REFERRAL STRIP ===== */
.pp-ref { padding: 0 var(--page-gutter) 90px; background: #fff; }
.pp-ref .wrap {
    max-width: 1080px; margin: 0 auto;
    background: linear-gradient(135deg,#095FA1 0%,#0d7cc4 100%);
    color: #fff; border-radius: 24px;
    padding: 30px 36px;
    display: grid; grid-template-columns: 72px 1fr auto;
    gap: 24px; align-items: center;
    box-shadow: 0 20px 40px rgba(9,95,161,.18);
    position: relative; overflow: hidden;
}
.pp-ref .wrap::before, .pp-ref .wrap::after {
    content: ""; position: absolute; border-radius: 50%;
}
.pp-ref .wrap::before {
    width: 220px; height: 220px;
    background: rgba(201,162,39,.20);
    top: -110px; right: -60px;
}
.pp-ref .wrap::after {
    width: 160px; height: 160px;
    background: rgba(102,163,103,.20);
    bottom: -90px; left: 25%;
}
.pp-ref .gift {
    width: 72px; height: 72px; border-radius: 18px;
    background: rgba(255,255,255,.18); border: 1px solid rgba(255,255,255,.28);
    display: flex; align-items: center; justify-content: center;
    font-size: 32px; position: relative; z-index: 1;
}
.pp-ref .copy { position: relative; z-index: 1; }
.pp-ref .copy h3 {
    font-family: var(--font-display); font-size: 24px; font-weight: 800;
    letter-spacing: -0.015em; margin: 0 0 4px;
}
.pp-ref .copy h3 em { font-style: italic; color: #FDE68A; }
.pp-ref .copy p {
    font-size: 15px; color: rgba(255,255,255,.88);
    margin: 0; line-height: 1.5;
}
.pp-ref .copy strong { color: #FDE68A; font-weight: 800; }
.pp-ref .arrow {
    position: relative; z-index: 1;
    background: rgba(255,255,255,.16); color: #fff;
    border-radius: 999px; padding: 11px 20px;
    font-size: 14px; font-weight: 700; text-decoration: none;
    display: inline-flex; align-items: center; gap: 6px;
    border: 1px solid rgba(255,255,255,.28);
    transition: background 0.15s;
}
.pp-ref .arrow:hover { background: rgba(255,255,255,.28); color: #fff; text-decoration: none; }

/* ===== WHY WE CHARGE ===== */
.pp-why { padding: 100px var(--page-gutter); background: #FBF5EA; }
.pp-why .sec-h { text-align: center; max-width: 680px; margin: 0 auto 56px; }
.pp-why .sec-h .eyebrow {
    display: inline-flex; align-items: center; gap: 8px;
    background: #fff; border: 1px solid #F4E4BC; color: #C9A227;
    font-size: 13px; font-weight: 700;
    padding: 7px 14px; border-radius: 999px;
    letter-spacing: .04em; text-transform: uppercase;
}
.pp-why .sec-h h2 {
    font-family: var(--font-display); font-size: 48px; font-weight: 800;
    letter-spacing: -0.025em; line-height: 1.05; color: #1b2a3a;
    margin: 18px 0 14px;
}
.pp-why .sec-h h2 em { font-style: italic; color: #66A367; }
.pp-why .sec-h p { font-size: 17px; color: #4a5568; line-height: 1.55; }
.pp-why .grid {
    max-width: 1200px; margin: 0 auto;
    display: grid; grid-template-columns: repeat(3,1fr); gap: 24px;
}
.pp-why .card {
    background: #fff; padding: 36px 32px; border-radius: 24px;
    border: 1px solid #f0e7d5;
}
.pp-why .card:nth-child(2) { background: #E8F1F9; border-color: #C9DBEE; }
.pp-why .card:nth-child(3) { background: #EEF6EC; border-color: #D4E8D3; }
.pp-why .card .ic {
    width: 56px; height: 56px; border-radius: 14px;
    background: #FBF5EA;
    display: flex; align-items: center; justify-content: center;
    font-size: 28px; margin-bottom: 16px;
    box-shadow: 0 2px 0 rgba(0,0,0,.04);
}
.pp-why .card:nth-child(2) .ic, .pp-why .card:nth-child(3) .ic { background: #fff; }
.pp-why .card h3 {
    font-family: var(--font-display); font-size: 22px; font-weight: 800;
    letter-spacing: -0.01em; margin: 0 0 8px; color: #1b2a3a;
}
.pp-why .card p { font-size: 15px; line-height: 1.55; color: #4a5568; margin: 0; }

/* Promises strip */
.pp-why .promises {
    max-width: 1200px; margin: 32px auto 0;
    background: #fff; border: 1px solid #f0e7d5; border-radius: 20px;
    padding: 24px 28px;
    display: grid; grid-template-columns: repeat(4,1fr); gap: 24px;
}
.pp-why .promise { display: flex; align-items: center; gap: 12px; }
.pp-why .promise .ic {
    width: 40px; height: 40px; border-radius: 10px;
    background: #FDF4DC; color: #8A6A1F;
    display: flex; align-items: center; justify-content: center;
    font-size: 18px; flex-shrink: 0;
}
.pp-why .promise:nth-child(2) .ic { background: #E8F1F9; color: #095FA1; }
.pp-why .promise:nth-child(3) .ic { background: #EEF6EC; color: #16a34a; }
.pp-why .promise:nth-child(4) .ic { background: #F3E8FF; color: #7C3AED; }
.pp-why .promise .t { font-size: 14px; font-weight: 700; color: #1b2a3a; line-height: 1.3; }

/* ===== FAQ ===== */
.pp-faq { padding: 100px var(--page-gutter); background: #fff; }
.pp-faq .sec-h { text-align: center; max-width: 680px; margin: 0 auto 48px; }
.pp-faq .sec-h .eyebrow {
    color: #C9A227; font-size: 13px; font-weight: 700;
    letter-spacing: .08em; text-transform: uppercase;
}
.pp-faq .sec-h h2 {
    font-family: var(--font-display); font-size: 48px; font-weight: 800;
    letter-spacing: -0.025em; line-height: 1.05; color: #1b2a3a;
    margin: 10px 0 0;
}
.pp-faq .sec-h h2 em { font-style: italic; color: #66A367; }
.pp-faq .list {
    max-width: 820px; margin: 0 auto;
    display: flex; flex-direction: column; gap: 14px;
}
.pp-faq details {
    background: #FBF5EA; border: 1px solid #f0e7d5; border-radius: 16px;
    transition: background 0.15s, border-color 0.15s, box-shadow 0.15s;
}
.pp-faq details[open] {
    background: #fff; border-color: #C9A227;
    box-shadow: 0 8px 24px rgba(201,162,39,.10);
}
.pp-faq summary {
    list-style: none; cursor: pointer;
    padding: 20px 24px;
    display: flex; align-items: center; justify-content: space-between; gap: 16px;
    font-family: var(--font-display); font-weight: 700;
    font-size: 18px; color: #1b2a3a; letter-spacing: -0.01em;
}
.pp-faq summary::-webkit-details-marker { display: none; }
.pp-faq summary::after {
    content: "+"; flex-shrink: 0;
    width: 30px; height: 30px; border-radius: 50%;
    background: #fff; border: 1px solid #e2e8f0;
    display: flex; align-items: center; justify-content: center;
    font-weight: 700; font-size: 18px; color: #64748b;
    transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.pp-faq details[open] summary::after {
    content: "−"; background: #C9A227; color: #fff; border-color: #C9A227;
}
.pp-faq .ans {
    padding: 0 24px 22px;
    font-size: 15.5px; line-height: 1.6; color: #4a5568;
}
.pp-faq .ans strong { color: #1b2a3a; }
.pp-faq .ans a { color: #095FA1; font-weight: 600; }

/* ===== FINAL CTA BAND ===== */
.pp-cta {
    padding: 100px var(--page-gutter); background: #095FA1; color: #fff;
    text-align: center; position: relative; overflow: hidden;
}
.pp-cta::before {
    content: ""; position: absolute;
    width: 300px; height: 300px;
    background: rgba(201,162,39,.20);
    top: -150px; left: -100px; border-radius: 50%;
}
.pp-cta::after {
    content: ""; position: absolute;
    width: 220px; height: 220px;
    background: rgba(102,163,103,.20);
    bottom: -100px; right: -80px; border-radius: 50%;
}
.pp-cta h2 {
    font-family: var(--font-display); font-size: 56px; font-weight: 800;
    letter-spacing: -0.025em; margin: 0 0 16px; position: relative;
}
.pp-cta h2 em { font-style: italic; color: #E9B949; }
.pp-cta p {
    font-size: 19px; color: rgba(255,255,255,.85);
    max-width: 560px; margin: 0 auto 32px;
    line-height: 1.55; position: relative;
}
.pp-cta .cta-row { position: relative; display: inline-flex; gap: 16px; align-items: center; }
.pp-cta .sec-link {
    color: #fff; font-weight: 600; font-size: 15px;
    text-decoration: none; opacity: .85;
}
.pp-cta .sec-link:hover { opacity: 1; color: #fff; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1100px) {
    .pp-hero { padding: 24px 32px 64px; }
    .pp-hero h1 { font-size: 56px; }
    .pp-plan { padding: 64px 32px; }
    .pp-plan .wrap { grid-template-columns: 1fr; max-width: 520px; gap: 36px; }
    .pp-plan .pitch h2 { max-width: none; }
    .pp-plan .pitch p { max-width: none; }
    .pp-ref { padding: 0 32px 64px; }
    .pp-ref .wrap { grid-template-columns: 1fr; gap: 16px; padding: 28px; text-align: center; }
    .pp-ref .gift { margin: 0 auto; }
    .pp-why, .pp-faq, .pp-cta { padding: 80px 32px; }
    .pp-why .grid { grid-template-columns: 1fr; }
    .pp-why .promises { grid-template-columns: 1fr 1fr; gap: 16px; }
}

@media (max-width: 700px) {
    .pp-hero { padding: 16px 20px 48px; }
    .pp-hero h1 { font-size: 40px; }
    .pp-hero p.sub { font-size: 16px; }

    .pp-plan { padding: 48px 20px; }
    .pp-plan .plan { padding: 32px 24px 24px; }
    .pp-plan .plan .amt { font-size: 52px; }
    .pp-plan .pitch h2 { font-size: 32px; }

    .pp-ref { padding: 0 20px 48px; }

    .pp-why, .pp-faq, .pp-cta { padding: 64px 20px; }
    .pp-why .sec-h h2, .pp-faq .sec-h h2 { font-size: 32px; }
    .pp-why .promises { grid-template-columns: 1fr; }

    .pp-faq summary { font-size: 16px; padding: 18px 20px; }
    .pp-faq .ans { padding: 0 20px 18px; font-size: 15px; }

    .pp-cta h2 { font-size: 32px; }
    .pp-cta p { font-size: 16px; }
    .pp-cta .cta-row { flex-direction: column; }
}
