/* CareNotes /chrome-extension : detail page styles layered on sample3.css */

:root { --cx: #2563eb; --cx-deep: #1d4ed8; --cx-soft: #bfdbfe; }

/* ---------------- HERO ---------------- */
.cx-hero {
    margin-top: -76px; padding: 150px 22px 0; text-align: center; overflow: hidden;
    background: radial-gradient(60% 50% at 50% 100%, rgba(37, 99, 235, .22) 0, rgba(37, 99, 235, .06) 45%, rgba(245, 245, 247, 0) 75%), linear-gradient(180deg, #fff 0%, #f5f5f7 100%);
    color: #1d1d1f;
}
.cx-hero .eyebrow, .detail .eyebrow { color: var(--cx-deep); }
.cx-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;
}
.cx-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;
}
.cx-hero .ctas { margin-top: 26px; }
.cx-hero .btn-fill { background: #1d1d1f; color: #fff; }
.cx-hero .btn-fill:hover { background: var(--cx); }
.cx-hero .btn-line { color: #1d1d1f; box-shadow: inset 0 0 0 1px #1d1d1f; }
.cx-hero .btn-line:hover { background: #1d1d1f; color: #fff; }
.cx-hero .btn i { margin-right: 8px; }
.cx-hero .fine { margin-top: 14px; font-size: 13px; color: #86868b; }

.cx-stage { position: relative; width: min(1000px, 100%); margin: 30px auto 0; padding-bottom: 40px; }
.cx-stage .vis-chrome { margin: 0 auto; }
.cx-stage .browser { width: min(360px, 88%); box-shadow: 0 60px 120px -40px rgba(0, 0, 0, .4), 0 0 0 1px rgba(0, 0, 0, .06); }
.cx-stage .view { height: 420px; }

.cx-chip {
    position: absolute; display: inline-flex; align-items: center; gap: 10px; z-index: 3;
    padding: 10px 14px 10px 10px; border-radius: 980px; font-size: 14px; font-weight: 600; letter-spacing: -.01em;
    background: rgba(255, 255, 255, .96); color: #1d1d1f;
    -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
    box-shadow: 0 24px 50px -24px rgba(0, 0, 0, .45), 0 0 0 1px rgba(0, 0, 0, .05);
    opacity: 0; transform: translateY(14px) scale(.96);
}
.cx-chip i { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; font-size: 12px; color: #fff; background: #1d1d1f; }
.cx-chip.c1 { left: calc(50% - 420px); top: 18%; }
.cx-chip.c2 { right: calc(50% - 420px); top: 46%; }
.cx-chip.c3 { left: calc(50% - 400px); top: 72%; }
.cx-chip.c2 i { background: var(--cx); }
.cx-chip.c3 i { background: var(--green); }
.is-play .cx-chip.c1 { animation: cxChip .7s var(--ease) .8s forwards; }
.is-play .cx-chip.c2 { animation: cxChip .7s var(--ease) 3.2s forwards; }
.is-play .cx-chip.c3 { animation: cxChip .7s var(--ease) 4.4s forwards; }
@keyframes cxChip { to { opacity: 1; transform: none; } }

/* ---------------- PHOTO ---------------- */
.cx-photo { background: #000; }
.cx-photo figure { position: relative; margin: 0; max-height: 720px; overflow: hidden; }
.cx-photo img { width: 100%; height: 100%; max-height: 720px; object-fit: cover; display: block; }
.cx-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%);
}
.cx-photo figcaption strong { display: block; font-size: clamp(22px, 2.8vw, 34px); font-weight: 600; letter-spacing: -.01em; }
.cx-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, .cx-card p a, .cx-two p a, .cx-faq p a, .cx-step p a, .cx-mic p a { color: var(--blue); }
.detail .lede a:hover, .cx-card p a:hover, .cx-two p a:hover, .cx-faq p a:hover, .cx-step p a:hover, .cx-mic p a:hover { text-decoration: underline; }

/* ---------------- HOW IT WORKS ---------------- */
.cx-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 44px; text-align: left; }
.cx-step { position: relative; background: #f5f5f7; border-radius: 22px; padding: 26px 22px 28px; }
.cx-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);
}
.cx-step:nth-child(3) .num { background: linear-gradient(135deg, var(--cx), var(--cx-deep)); }
.cx-step h4 { margin-top: 16px; font-size: 20px; font-weight: 600; letter-spacing: -.01em; line-height: 1.2; }
.cx-step p { margin-top: 8px; font-size: 15px; line-height: 1.5; color: #6e6e73; letter-spacing: -.01em; }

/* ---------------- IN THE PANEL ---------------- */
.cx-panel { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-top: 44px; align-items: start; text-align: left; }
.cx-panel .browser { width: 100%; max-width: 380px; margin: 0 auto; }
.cx-panel .view { height: auto; }
.cx-panel .view img { width: 100%; height: auto; display: block; }
.cx-list { margin: 0; padding: 0; list-style: none; }
.cx-list li { display: flex; gap: 14px; padding: 16px 0; border-top: 1px solid rgba(0, 0, 0, .08); }
.cx-list li:first-child { border-top: 0; padding-top: 0; }
.cx-list .ico { flex: none; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; font-size: 16px; background: #fff; color: var(--cx); box-shadow: 0 0 0 1px rgba(0, 0, 0, .06); }
.cx-list h4 { font-size: 17px; font-weight: 600; letter-spacing: -.01em; }
.cx-list p { margin-top: 4px; font-size: 14.5px; line-height: 1.5; color: #6e6e73; letter-spacing: -.01em; }
.cx-list .lbl { display: inline-block; margin-left: 8px; font-size: 10.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--cx-deep); vertical-align: middle; }

/* ---------------- ROOM MICROPHONE ---------------- */
.cx-mics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 44px; text-align: left; }
.cx-mic { background: #f5f5f7; border-radius: 22px; padding: 26px 24px 28px; }
.detail-alt .cx-mic { background: #fff; }
.cx-mic .ico { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 16px; font-size: 18px; background: #1d1d1f; color: #fff; }
.cx-mic:nth-child(2) .ico { background: var(--cx); }
.cx-mic h4 { font-size: 21px; font-weight: 600; letter-spacing: -.01em; }
.cx-mic .role { margin-top: 2px; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--cx-deep); }
.cx-mic p { margin-top: 10px; font-size: 15px; line-height: 1.5; color: #6e6e73; letter-spacing: -.01em; }
.cx-mic ul { margin: 12px 0 0; padding: 0; list-style: none; }
.cx-mic li { position: relative; padding-left: 24px; margin-top: 6px; font-size: 14.5px; line-height: 1.5; color: #515154; }
.cx-mic li::before { content: "\f00c"; font-family: "Font Awesome 6 Free"; font-weight: 900; position: absolute; left: 0; top: 2px; font-size: 12px; color: #30a14e; }

/* ---------------- 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; }
.cx-chart .tag-premium { background: #2a2a2e; }

/* ---------------- INTO THE CHART (DARK) ---------------- */
.cx-chart { background: #000; color: #f5f5f7; padding: 120px 22px 130px; }
.cx-chart .eyebrow { color: #7fa6ff; }
.cx-chart h3 { color: #f5f5f7; }
.cx-chart .lede { color: #a1a1a6; }
.cx-chart .lede a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.cx-chart .split { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 18px; margin: 44px auto 0; max-width: 1000px; text-align: left; }
.cx-chart .split > div { border-radius: 22px; padding: 24px 24px 26px; background: #1c1c1e; }
.cx-chart .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; }
.cx-chart .split h4 .tag { top: 0; margin-left: 0; }
.cx-chart .split .big { margin-top: 8px; font-size: 24px; font-weight: 700; letter-spacing: -.01em; line-height: 1.2; }
.cx-chart .split p { margin-top: 8px; font-size: 15px; line-height: 1.5; color: #a1a1a6; letter-spacing: -.01em; }
.cx-chart .split p a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.cx-chart .pms-list { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 28px; }
.cx-chart .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; }
.cx-chart .pms-pill small { font-weight: 500; color: #86868b; }
.cx-chart .ctas { margin-top: 36px; }
.cx-chart .btn-fill { background: #f5f5f7; color: #1d1d1f; }
.cx-chart .btn-fill:hover { background: #fff; }
.cx-chart .btn-line { color: #f5f5f7; box-shadow: inset 0 0 0 1px rgba(245, 245, 247, .7); }
.cx-chart .btn-line:hover { background: #f5f5f7; color: #1d1d1f; }

/* ---------------- WHO + PRIVACY ---------------- */
.cx-two { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 44px; text-align: left; }
.cx-two > div { background: #f5f5f7; border-radius: 22px; padding: 28px 26px 30px; }
.cx-two h4 { font-size: 22px; font-weight: 600; letter-spacing: -.01em; }
.cx-two p { margin-top: 10px; font-size: 15.5px; line-height: 1.55; color: #515154; letter-spacing: -.01em; }
.cx-two ul { margin: 14px 0 0; padding: 0; list-style: none; }
.cx-two li { position: relative; padding-left: 26px; margin-top: 8px; font-size: 15px; line-height: 1.5; color: #515154; }
.cx-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 ---------------- */
.cx-faq { margin: 40px auto 0; max-width: 760px; text-align: left; }
.cx-faq details { background: #fff; border-radius: 18px; padding: 0 22px; box-shadow: 0 0 0 1px rgba(0, 0, 0, .06); }
.cx-faq details + details { margin-top: 10px; }
.cx-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; }
.cx-faq summary::-webkit-details-marker { display: none; }
.cx-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: #f5f5f7; color: #1d1d1f; transition: transform .25s var(--ease); }
.cx-faq details[open] summary::after { transform: rotate(45deg); }
.cx-faq p { margin: -4px 0 20px; font-size: 15.5px; line-height: 1.55; color: #515154; letter-spacing: -.01em; max-width: 640px; }

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

/* ---------------- RESPONSIVE ---------------- */
@media (max-width: 1068px) {
    .cx-chip.c1, .cx-chip.c3 { left: 12px; }
    .cx-chip.c2 { right: 12px; }
    .cx-steps { grid-template-columns: repeat(2, 1fr); }
    .cx-chart .split { grid-template-columns: 1fr; max-width: 640px; }
}
@media (max-width: 734px) {
    .cx-hero { padding: 120px 22px 0; }
    .cx-stage { padding: 26px 0 22px; }
    .cx-stage .browser { width: min(320px, 86%); }
    .cx-stage .view { height: 360px; }
    .cx-chip { font-size: 13px; padding: 8px 12px 8px 8px; }
    .cx-chip.c1 { top: 0; }
    .cx-chip.c2 { top: auto; bottom: 48px; }
    .cx-chip.c3 { display: none; }
    .cx-steps, .cx-panel, .cx-mics, .cx-two { grid-template-columns: 1fr; }
    .cx-photo figcaption { padding-top: 80px; }
    .cx-chart { padding: 90px 22px 100px; }
}
