/* CareNotes /careassist : detail page styles layered on sample3.css */

:root { --ca: #2563eb; --ca-deep: #1d4ed8; --ca-green: #38cc75; --ca-pink: #e0457b; }

/* ---------------- HERO ---------------- */
.ca-hero {
    margin-top: -76px; padding: 150px 22px 0; text-align: center; overflow: hidden;
    background: radial-gradient(55% 50% at 30% 100%, rgba(37, 99, 235, .16) 0, rgba(37, 99, 235, 0) 70%), radial-gradient(55% 50% at 70% 100%, rgba(56, 204, 117, .18) 0, rgba(56, 204, 117, 0) 70%), linear-gradient(180deg, #fff 0%, #f5f5f7 100%);
    color: #1d1d1f;
}
.ca-hero .eyebrow, .detail .eyebrow { color: var(--ca-deep); }
.ca-hero h1 {
    margin: 10px auto 0; max-width: 900px;
    font-size: clamp(40px, 6vw, 76px); font-weight: 700; line-height: 1.04; letter-spacing: -.015em; text-wrap: balance;
}
.ca-hero .lede {
    margin: 18px auto 0; max-width: 680px; font-size: clamp(18px, 2vw, 23px); line-height: 1.35;
    color: #6e6e73; letter-spacing: -.01em; text-wrap: balance;
}
.ca-hero .ctas { margin-top: 26px; }
.ca-hero .btn-fill { background: #1d1d1f; color: #fff; }
.ca-hero .btn-fill:hover { background: var(--ca); }
.ca-hero .btn-line { color: #1d1d1f; box-shadow: inset 0 0 0 1px #1d1d1f; }
.ca-hero .btn-line:hover { background: #1d1d1f; color: #fff; }
.ca-hero .fine { margin-top: 14px; font-size: 13px; color: #86868b; }

.ca-stage { position: relative; width: min(1000px, 100%); margin: 20px auto 0; padding-bottom: 56px; }
.ca-stage .vis-assist { width: min(640px, 100%); height: 620px; margin: 0 auto; }
.ca-stage .vis-assist .phone { transform: translateX(-50%) translateX(90px); }
.ca-stage .assist-card { left: max(14px, calc(50% - 330px)); top: 150px; width: 320px; }
.ca-stage .phone-md { --pw: 290px; }

/* ---------------- PHOTO ---------------- */
.ca-photo { background: #000; }
.ca-photo figure { position: relative; margin: 0; max-height: 720px; overflow: hidden; }
.ca-photo img { width: 100%; height: 100%; max-height: 720px; object-fit: cover; display: block; }
.ca-photo figcaption {
    position: absolute; left: 0; right: 0; bottom: 0; padding: 120px 22px 34px; text-align: center; color: #fff;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, .62) 100%);
}
.ca-photo figcaption strong { display: block; font-size: clamp(22px, 2.8vw, 34px); font-weight: 600; letter-spacing: -.01em; }
.ca-photo figcaption span { display: block; margin-top: 6px; font-size: 15px; color: rgba(255, 255, 255, .82); }

/* ---------------- SHARED ---------------- */
.detail .lede { margin: 14px auto 0; max-width: 700px; font-size: 17px; line-height: 1.5; color: #6e6e73; letter-spacing: -.01em; }
.detail .lede a, .ca-card p a, .ca-two p a, .ca-faq p a, .ca-step p a, .ca-where p a { color: var(--blue); }
.detail .lede a:hover, .ca-card p a:hover, .ca-two p a:hover, .ca-faq p a:hover, .ca-step p a:hover, .ca-where p a:hover { text-decoration: underline; }

/* ---------------- THREE LINES ---------------- */
.ca-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 44px; text-align: left; }
.ca-card { background: #f5f5f7; border-radius: 22px; padding: 26px 24px 28px; }
.detail-alt .ca-card { background: #fff; }
.ca-card .ico { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 16px; font-size: 18px; color: #fff; background: var(--ca); }
.ca-card:nth-child(2) .ico { background: #7c3aed; }
.ca-card:nth-child(3) .ico { background: var(--ca-pink); }
.ca-card h4 { font-size: 21px; font-weight: 600; letter-spacing: -.01em; }
.ca-card .role { margin-top: 2px; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ca-deep); }
.ca-card p { margin-top: 10px; font-size: 15px; line-height: 1.5; color: #6e6e73; letter-spacing: -.01em; }
.ca-card .sample {
    margin-top: 16px; padding: 14px 16px; border-radius: 14px; background: #fff; box-shadow: 0 0 0 1px rgba(0, 0, 0, .06);
    font-size: 13.5px; line-height: 1.45; color: #3a3a3c; letter-spacing: -.01em;
}
.detail-alt .ca-card .sample { background: #f5f5f7; box-shadow: none; }
.ca-card .sample strong { display: block; font-size: 10.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #86868b; margin-bottom: 4px; }

/* ---------------- HOW IT WORKS ---------------- */
.ca-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 44px; text-align: left; }
.ca-step { position: relative; background: #fff; border-radius: 22px; padding: 26px 22px 28px; }
.ca-step .num {
    display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 12px;
    font-size: 14px; font-weight: 700; letter-spacing: .02em; color: #fff;
    background: linear-gradient(135deg, #1d1d1f, #3a3a3c);
}
.ca-step:nth-child(3) .num { background: linear-gradient(135deg, var(--ca), var(--ca-green)); }
.ca-step h4 { margin-top: 16px; font-size: 20px; font-weight: 600; letter-spacing: -.01em; line-height: 1.2; }
.ca-step p { margin-top: 8px; font-size: 15px; line-height: 1.5; color: #6e6e73; letter-spacing: -.01em; }

/* ---------------- WHERE YOU SEE IT ---------------- */
.ca-wheres { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 20px; margin-top: 44px; text-align: left; }
.ca-where { background: #f5f5f7; border-radius: 22px; padding: 26px 24px 28px; }
.ca-where .ico { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 16px; font-size: 18px; background: #1d1d1f; color: #fff; }
.ca-where:first-child .ico { background: var(--ca); }
.ca-where h4 { font-size: 21px; font-weight: 600; letter-spacing: -.01em; }
.ca-where .role { margin-top: 2px; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ca-deep); }
.ca-where p { margin-top: 10px; font-size: 15px; line-height: 1.5; color: #6e6e73; letter-spacing: -.01em; }

/* ---------------- PREMIUM TAG (same as /starter-guide) ---------------- */
.tag {
    display: inline-flex; align-items: center; gap: 6px; vertical-align: middle;
    font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
    padding: 5px 10px; border-radius: 980px; line-height: 1; white-space: nowrap; font-style: normal;
}
.tag-premium { position: relative; color: #1d4ed8; background: #fff; }
.tag-premium::before {
    content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1.5px;
    background: linear-gradient(90deg, #2563eb, #38cc75);
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor; mask-composite: exclude;
}
.tag-premium i { color: #2563eb; font-size: 10px; }
.tag-premium span { background: linear-gradient(90deg, #2563eb, #15803d); -webkit-background-clip: text; background-clip: text; color: transparent; }
p .tag { font-size: 9.5px; padding: 4px 7px; position: relative; top: -2px; margin-left: 4px; }
h4 .tag { margin-left: 8px; position: relative; top: -2px; }
.ca-source .tag-premium { background: #2a2a2e; }

/* ---------------- WHERE THE HISTORY COMES FROM (DARK) ---------------- */
.ca-source { background: #000; color: #f5f5f7; padding: 120px 22px 130px; }
.ca-source .eyebrow { color: #7fa6ff; }
.ca-source h3 { color: #f5f5f7; }
.ca-source .lede { color: #a1a1a6; }
.ca-source .lede a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.ca-source .split { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin: 44px auto 0; max-width: 820px; text-align: left; }
.ca-source .split > div { border-radius: 22px; padding: 24px 24px 26px; background: #1c1c1e; }
.ca-source .split h4 { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; font-size: 15px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #a1a1a6; }
.ca-source .split h4 .tag { top: 0; margin-left: 0; }
.ca-source .split .big { margin-top: 8px; font-size: 26px; font-weight: 700; letter-spacing: -.01em; line-height: 1.2; }
.ca-source .split p { margin-top: 8px; font-size: 15px; line-height: 1.5; color: #a1a1a6; letter-spacing: -.01em; }
.ca-source .split p a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.ca-source .pms-list { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 28px; }
.ca-source .pms-pill { font-size: 14px; font-weight: 600; padding: 9px 14px; border-radius: 980px; background: rgba(255, 255, 255, .08); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12); color: #f5f5f7; }
.ca-source .pms-pill small { font-weight: 500; color: #86868b; }
.ca-source .ctas { margin-top: 36px; }
.ca-source .btn-fill { background: #f5f5f7; color: #1d1d1f; }
.ca-source .btn-fill:hover { background: #fff; }
.ca-source .btn-line { color: #f5f5f7; box-shadow: inset 0 0 0 1px rgba(245, 245, 247, .7); }
.ca-source .btn-line:hover { background: #f5f5f7; color: #1d1d1f; }

/* ---------------- HUDDLE vs CAREASSIST + PRIVACY ---------------- */
.ca-two { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 44px; text-align: left; }
.ca-two > div { background: #f5f5f7; border-radius: 22px; padding: 28px 26px 30px; }
.detail-alt .ca-two > div { background: #fff; }
.ca-two h4 { font-size: 22px; font-weight: 600; letter-spacing: -.01em; }
.ca-two p { margin-top: 10px; font-size: 15.5px; line-height: 1.55; color: #515154; letter-spacing: -.01em; }
.ca-two ul { margin: 14px 0 0; padding: 0; list-style: none; }
.ca-two li { position: relative; padding-left: 26px; margin-top: 8px; font-size: 15px; line-height: 1.5; color: #515154; }
.ca-two li::before { content: "\f00c"; font-family: "Font Awesome 6 Free"; font-weight: 900; position: absolute; left: 0; top: 2px; font-size: 12px; color: #30a14e; }

/* ---------------- FAQ ---------------- */
.ca-faq { margin: 40px auto 0; max-width: 760px; text-align: left; }
.ca-faq details { background: #f5f5f7; border-radius: 18px; padding: 0 22px; box-shadow: 0 0 0 1px rgba(0, 0, 0, .04); }
.detail-alt .ca-faq details { background: #fff; box-shadow: 0 0 0 1px rgba(0, 0, 0, .06); }
.ca-faq details + details { margin-top: 10px; }
.ca-faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 0; font-size: 17px; font-weight: 600; letter-spacing: -.01em; }
.ca-faq summary::-webkit-details-marker { display: none; }
.ca-faq summary::after { content: "\2b"; flex: none; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-size: 16px; font-weight: 500; background: #fff; color: #1d1d1f; transition: transform .25s var(--ease); box-shadow: 0 0 0 1px rgba(0, 0, 0, .06); }
.detail-alt .ca-faq summary::after { background: #f5f5f7; box-shadow: none; }
.ca-faq details[open] summary::after { transform: rotate(45deg); }
.ca-faq p { margin: -4px 0 20px; font-size: 15.5px; line-height: 1.55; color: #515154; letter-spacing: -.01em; max-width: 640px; }

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

/* ---------------- RESPONSIVE ---------------- */
@media (max-width: 1068px) {
    .ca-steps { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 734px) {
    .ca-hero { padding: 120px 22px 0; }
    .ca-stage { padding-bottom: 40px; }
    .ca-stage .vis-assist { height: 520px; width: 100%; }
    .ca-stage .vis-assist .phone { transform: translateX(-50%) translateX(30px); }
    .ca-stage .assist-card { width: 250px; top: 110px; left: 8px; }
    .ca-stage .phone-md { --pw: 240px; }
    .ca-steps, .ca-cards, .ca-wheres, .ca-two, .ca-source .split { grid-template-columns: 1fr; }
    .ca-photo figcaption { padding-top: 80px; }
    .ca-source { padding: 90px 22px 100px; }
}
