/* CareNotes /pricing : plans page, layered on sample3.css */

:root { --pr: #2563eb; --pr-deep: #1e40af; --pr-soft: #dbeafe; --pr-green: #38cc75; --pr-gold: #f0c04a; }

/* ---------------- HERO ---------------- */
.pr-hero {
    margin-top: -76px; padding: 150px 22px 0; text-align: center; overflow: visible;
    background: linear-gradient(180deg, #ffffff 0%, #eef3ff 60%, #dbe7ff 100%);
    color: #1d1d1f;
}
.pr-hero .eyebrow, .detail .eyebrow { color: var(--pr-deep); }
.pr-hero h1 {
    margin: 10px auto 0; max-width: 920px;
    font-size: clamp(40px, 6vw, 76px); font-weight: 700; line-height: 1.04; letter-spacing: -.015em; text-wrap: balance;
}
.pr-hero .lede {
    margin: 18px auto 0; max-width: 680px; font-size: clamp(18px, 2vw, 23px); line-height: 1.35;
    color: #4b5a78; letter-spacing: -.01em; text-wrap: balance;
}
.pr-promise { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 18px; margin: 22px auto 0; font-size: 14px; font-weight: 600; color: #1d1d1f; }
.pr-promise span { display: inline-flex; align-items: center; gap: 7px; }
.pr-promise i { color: var(--pr-green); font-size: 13px; }
.pr-hero-end { height: 200px; }

/* ---------------- PLANS (overlap the hero) ---------------- */
.pr-plans-wrap { position: relative; z-index: 2; margin: -140px auto 0; padding: 0 22px; }
.pr-plans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; width: min(880px, 100%); margin: 0 auto; align-items: start; }
.pr-plans.has-annual { grid-template-columns: repeat(3, minmax(0, 1fr)); width: min(1180px, 100%); }
.plan {
    position: relative; display: flex; flex-direction: column; background: #fff; border-radius: 28px; padding: 32px 30px 28px; text-align: left;
    box-shadow: 0 40px 80px -40px rgba(30, 60, 140, .35), 0 0 0 1px rgba(0, 0, 0, .05);
}
.plan.featured { box-shadow: 0 50px 100px -40px rgba(37, 99, 235, .45); }
.plan.featured::before {
    content: ""; position: absolute; inset: -2px; border-radius: 30px; z-index: -1;
    background: linear-gradient(135deg, var(--pr) 0%, var(--pr) 45%, var(--pr-green) 100%);
}
.plan .badge {
    position: absolute; top: -14px; left: 30px; display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 980px;
    font-size: 11.5px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
    background: #1d1d1f; color: #fff; box-shadow: 0 8px 20px -10px rgba(0, 0, 0, .5);
}
.plan .badge.gold { background: linear-gradient(135deg, #fbbf24, var(--pr-gold)); color: #1d1d1f; }
.plan .badge.green { background: var(--pr-green); color: #0b2b16; }
.plan .name { font-size: 22px; font-weight: 700; letter-spacing: -.015em; }
.plan .for { margin-top: 4px; font-size: 14px; color: #6e6e73; }
.plan .price { margin-top: 22px; display: flex; align-items: baseline; gap: 6px; }
.plan .price .amt { font-size: clamp(44px, 4vw, 56px); font-weight: 700; letter-spacing: -.03em; line-height: 1; }
.plan .price .per { font-size: 15px; color: #6e6e73; font-weight: 500; }
.plan .unit { margin-top: 8px; font-size: 14px; font-weight: 600; color: #1d1d1f; }
.plan .unit i { color: var(--pr-green); margin-right: 4px; }
.plan .note { margin-top: 4px; font-size: 13px; color: #6e6e73; }
.plan .note.gold { color: #b45309; font-weight: 600; }
.plan .note.green { color: #15803d; font-weight: 600; }
.plan ul { list-style: none; margin: 22px 0 0; padding: 22px 0 0; border-top: 1px solid rgba(0, 0, 0, .08); flex: 1; }
.plan li { display: flex; gap: 11px; align-items: flex-start; font-size: 15px; line-height: 1.45; color: #424245; letter-spacing: -.01em; }
.plan li + li { margin-top: 11px; }
.plan li i { flex: 0 0 auto; margin-top: 3px; font-size: 13px; color: var(--pr-green); }
.plan li strong { color: #1d1d1f; font-weight: 600; }
.plan li.dim { color: #a1a1a6; }
.plan li.dim i { color: #c7c7cc; }
.plan .lock {
    margin-top: 18px; padding: 12px 14px; border-radius: 14px; background: #fff8e6; border: 1px solid #fde68a;
    font-size: 12.5px; line-height: 1.45; color: #92400e;
}
.plan .lock strong { color: #78350f; }
.plan .lock i { margin-right: 4px; }
.plan .cta {
    display: block; width: 100%; margin-top: 20px; padding: 14px 20px; border: 0; border-radius: 980px; text-align: center; cursor: pointer;
    font: inherit; font-size: 15px; font-weight: 600; letter-spacing: -.01em; color: #fff; background: #1d1d1f;
    transition: background .2s var(--ease), box-shadow .25s var(--ease), transform .2s var(--ease);
}
.plan .cta:hover { background: var(--pr); box-shadow: 0 14px 28px -14px rgba(37, 99, 235, .7); }
.plan.featured .cta { background: linear-gradient(135deg, var(--pr), var(--pr-deep)); }
.plan.featured .cta:hover { background: linear-gradient(135deg, var(--pr-deep), var(--pr)); box-shadow: 0 18px 34px -14px rgba(37, 99, 235, .75); }
.plan .cta.ghost { background: #fff; color: #1d1d1f; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .14); }
.plan .cta.ghost:hover { background: #1d1d1f; color: #fff; box-shadow: none; }
.plan .tiny { margin-top: 12px; text-align: center; font-size: 12px; color: #86868b; line-height: 1.45; }
.plan .tiny a { color: #6e6e73; text-decoration: underline; text-underline-offset: 3px; }
.plan .tiny a:hover { color: #1d1d1f; }
#cn-invite-row { margin-top: 10px; }
#cn-invite-row.hidden { display: none; }
#cn-referral-code {
    width: 100%; border: 1px solid rgba(0, 0, 0, .14); border-radius: 980px; padding: 11px 16px; font: inherit; font-size: 14px; letter-spacing: .08em; text-transform: uppercase;
    background: #fff; color: #1d1d1f; outline: none; transition: border-color .15s, box-shadow .15s;
}
#cn-referral-code:focus { border-color: var(--pr); box-shadow: 0 0 0 3px rgba(37, 99, 235, .14); }
#cn-referral-code::placeholder { letter-spacing: 0; text-transform: none; color: #a1a1a6; }
#cn-referral-start { margin-top: 8px; }
#plan-annual { display: none; }
.pr-plans.has-annual #plan-annual { display: flex; }
.plan .name .premium-wordmark { display: block; height: 18px; margin: 4px 0 2px; }
.premium-wordmark {
    display: inline-block; height: 12px; aspect-ratio: 1583 / 130; vertical-align: middle;
    background: linear-gradient(90deg, #2663eb 0%, #2663eb 45%, #38cc75 100%);
    -webkit-mask: url(/img/premium_text.png?v=2) no-repeat center / contain; mask: url(/img/premium_text.png?v=2) no-repeat center / contain;
}
.pr-legal { margin: 26px auto 0; max-width: 680px; text-align: center; font-size: 13px; line-height: 1.55; color: #86868b; }
.pr-legal a { color: #6e6e73; text-decoration: underline; text-underline-offset: 3px; }
.pr-legal a:hover { color: #1d1d1f; }
.pr-plans-wrap + .detail { padding-top: 110px; }

/* ---------------- WHAT PREMIUM UNLOCKS ---------------- */
.pr-feats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 44px; text-align: left; }
.pr-feat { display: block; background: #f5f5f7; border-radius: 22px; padding: 24px 22px 22px; color: inherit; transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.detail-alt .pr-feat { background: #fff; }
.pr-feat:hover { transform: translateY(-4px); box-shadow: 0 30px 50px -36px rgba(0, 0, 0, .45); }
.pr-feat .ico { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: linear-gradient(135deg, var(--pr-soft), #bfdbfe); color: var(--pr-deep); font-size: 17px; }
.pr-feat b { display: block; margin-top: 16px; font-size: 17px; font-weight: 600; letter-spacing: -.01em; }
.pr-feat p { margin-top: 6px; font-size: 14px; line-height: 1.5; color: #6e6e73; }
.pr-feat .more { display: inline-block; margin-top: 12px; font-size: 13.5px; font-weight: 600; color: var(--pr); }
.pr-pms { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 28px; }
.pr-pms span, .pr-pms a { font-size: 13.5px; font-weight: 600; padding: 8px 13px; border-radius: 980px; background: #f5f5f7; color: #1d1d1f; box-shadow: 0 0 0 1px rgba(0, 0, 0, .06); }
.pr-pms a { color: var(--pr); }
.pr-pms a:hover { background: var(--pr); color: #fff; }

/* ---------------- COMPARE ---------------- */
.pr-table { margin-top: 44px; width: 100%; border-collapse: separate; border-spacing: 0; text-align: left; background: #fff; border-radius: 22px; overflow: hidden; box-shadow: 0 0 0 1px rgba(0, 0, 0, .06), 0 30px 60px -44px rgba(0, 0, 0, .35); }
.pr-table th, .pr-table td { padding: 15px 20px; font-size: 15px; border-bottom: 1px solid rgba(0, 0, 0, .06); }
.pr-table tr:last-child td { border-bottom: 0; }
.pr-table th { font-weight: 600; letter-spacing: -.01em; background: #fafafa; }
.pr-table th:first-child { color: #6e6e73; font-weight: 500; font-size: 13px; text-transform: uppercase; letter-spacing: .06em; }
.pr-table th.prem { color: var(--pr-deep); }
.pr-table td { color: #424245; }
.pr-table td:first-child { color: #1d1d1f; font-weight: 500; }
.pr-table td small { display: block; font-weight: 400; font-size: 13px; color: #86868b; margin-top: 2px; }
.pr-table .c { text-align: center; width: 150px; }
.pr-table .yes { color: var(--pr-green); font-size: 15px; }
.pr-table .no { color: #c7c7cc; font-size: 14px; }
.pr-table .txt { font-size: 14px; font-weight: 500; color: #1d1d1f; }
.pr-table tbody tr:hover td { background: #fafafa; }

/* ---------------- HOW BILLING WORKS (dark) ---------------- */
.pr-dark { background: #1d1d1f; color: #f5f5f7; }
.pr-dark .eyebrow { color: #93c5fd; }
.pr-dark h3 { color: #f5f5f7; }
.pr-dark .lede { margin: 14px auto 0; max-width: 700px; font-size: 17px; line-height: 1.5; color: #a1a1a6; letter-spacing: -.01em; }
.pr-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 40px; text-align: left; }
.pr-step { background: #2a2a2e; border-radius: 20px; padding: 22px 20px 20px; }
.pr-step .n { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--pr); color: #fff; font-size: 13px; font-weight: 700; }
.pr-step b { display: block; margin-top: 14px; font-size: 16px; font-weight: 600; color: #f5f5f7; letter-spacing: -.01em; }
.pr-step p { margin-top: 6px; font-size: 14px; line-height: 1.5; color: #a1a1a6; }
.pr-step a { color: #93c5fd; font-weight: 600; }
.pr-step a:hover { text-decoration: underline; }
.pr-loc { display: grid; grid-template-columns: 1.1fr .9fr; gap: 20px; align-items: center; margin-top: 18px; background: #2a2a2e; border-radius: 22px; padding: 26px 26px; text-align: left; }
.pr-loc b { display: block; font-size: 18px; font-weight: 600; letter-spacing: -.01em; }
.pr-loc p { margin-top: 8px; font-size: 15px; line-height: 1.5; color: #a1a1a6; }
.pr-office { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; }
.pr-office span {
    display: inline-flex; align-items: center; gap: 7px; padding: 8px 12px; border-radius: 980px; background: #333338; font-size: 13px; font-weight: 600; color: #f5f5f7;
}
.pr-office span i { color: var(--pr-green); }
.pr-office .host { background: var(--pr); }
.pr-office .host i { color: #fff; }

/* ---------------- FAQ ---------------- */
.pr-qa { margin: 30px auto 0; max-width: 820px; text-align: left; }
.pr-qa details { border-top: 1px solid rgba(0, 0, 0, .1); }
.pr-qa details:last-child { border-bottom: 1px solid rgba(0, 0, 0, .1); }
.pr-qa summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 14px; padding: 20px 4px; font-size: 18px; font-weight: 600; letter-spacing: -.01em; }
.pr-qa summary::-webkit-details-marker { display: none; }
.pr-qa summary::after { content: "+"; margin-left: auto; font-size: 24px; font-weight: 300; color: #86868b; transition: transform .3s var(--ease); flex: 0 0 auto; }
.pr-qa details[open] summary::after { transform: rotate(45deg); }
.pr-qa .ans { padding: 0 4px 22px; font-size: 16px; line-height: 1.55; color: #424245; letter-spacing: -.01em; max-width: 740px; }
.pr-qa .ans a { color: var(--pr); font-weight: 600; }
.pr-qa .ans a:hover { text-decoration: underline; }

/* ---------------- CLOSER ---------------- */
#start .btn-fill { background: #1d1d1f; color: #fff; }
#start .btn-fill:hover { background: var(--pr); }
#start .btn-line { color: #1d1d1f; box-shadow: inset 0 0 0 1px #1d1d1f; }
#start .btn-line:hover { background: #1d1d1f; color: #fff; }

/* ---------------- RESPONSIVE ---------------- */
@media (max-width: 1068px) {
    .pr-feats { grid-template-columns: 1fr 1fr; }
    .pr-plans.has-annual { grid-template-columns: repeat(2, minmax(0, 1fr)); width: min(880px, 100%); }
}
@media (max-width: 734px) {
    .pr-hero { padding-top: 120px; }
    .pr-hero-end { height: 160px; }
    .pr-plans-wrap { margin-top: -100px; }
    .pr-plans, .pr-plans.has-annual { grid-template-columns: 1fr; }
    .plan { padding: 30px 22px 24px; }
    .pr-plans-wrap + .detail { padding-top: 80px; }
    .pr-feats { grid-template-columns: 1fr; }
    .pr-table th, .pr-table td { padding: 12px 12px; font-size: 14px; }
    .pr-table .c { width: 72px; }
    .pr-table th:first-child { font-size: 11px; }
    .pr-steps { grid-template-columns: 1fr; }
    .pr-loc { grid-template-columns: 1fr; }
    .pr-office { justify-content: flex-start; }
    .pr-qa summary { font-size: 16px; padding: 16px 2px; }
}
