/* CareNotes /apple-watch-dental-scribe : detail page styles layered on sample3.css */

:root { --aw: #ff453a; --aw-deep: #d93b31; --aw-soft: #ffb4ae; }

/* ---------------- HERO ---------------- */
.aw-hero {
    margin-top: -76px; padding: 150px 22px 90px; text-align: center; overflow: hidden;
    background: radial-gradient(60% 55% at 50% 100%, rgba(233, 74, 74, .32) 0, rgba(233, 74, 74, .08) 45%, rgba(0, 0, 0, 0) 75%), linear-gradient(180deg, #000 0%, #0a0a0c 100%);
    color: #f5f5f7;
}
.aw-hero .eyebrow { color: var(--aw); }
.aw-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; color: #f5f5f7;
}
.aw-hero .lede {
    margin: 18px auto 0; max-width: 640px; font-size: clamp(18px, 2vw, 23px); line-height: 1.35;
    color: #a1a1a6; letter-spacing: -.01em; text-wrap: balance;
}
.aw-hero .ctas { margin-top: 26px; }
.aw-hero .btn-fill { background: #f5f5f7; color: #1d1d1f; }
.aw-hero .btn-fill:hover { background: #fff; }
.aw-hero .btn-line { color: #f5f5f7; box-shadow: inset 0 0 0 1px rgba(245, 245, 247, .7); }
.aw-hero .btn-line:hover { background: #f5f5f7; color: #1d1d1f; }
.aw-hero .replay { background: rgba(255, 255, 255, .14); color: #f5f5f7; }

.aw-stage { position: relative; width: min(1000px, 100%); margin: 30px auto 0; }
.aw-stage .vis-watch { width: min(440px, 78%); margin: 0 auto; }
.aw-stage .w { filter: drop-shadow(0 50px 70px rgba(0, 0, 0, .8)); }

.aw-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, .92); color: #1d1d1f;
    -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
    box-shadow: 0 24px 50px -24px rgba(0, 0, 0, .8);
    opacity: 0; transform: translateY(14px) scale(.96);
}
.aw-chip i { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; font-size: 12px; color: #fff; background: #1d1d1f; }
.aw-chip.c1 { left: calc(50% - 400px); top: 22%; }
.aw-chip.c2 { right: calc(50% - 400px); top: 58%; }
.aw-chip.c2 i { background: var(--aw); }
.is-play .aw-chip.c1 { animation: awChip .7s var(--ease) 1s forwards; }
.is-play .aw-chip.c2 { animation: awChip .7s var(--ease) 4.3s forwards; }
@keyframes awChip { to { opacity: 1; transform: none; } }

/* ---------------- PHOTO ---------------- */
.aw-photo { background: #000; }
.aw-photo figure { position: relative; margin: 0; max-height: 720px; overflow: hidden; }
.aw-photo img { width: 100%; height: 100%; max-height: 720px; object-fit: cover; display: block; }
.aw-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, .6) 100%);
}
.aw-photo figcaption strong { display: block; font-size: clamp(22px, 2.8vw, 34px); font-weight: 600; letter-spacing: -.01em; }
.aw-photo figcaption span { display: block; margin-top: 6px; font-size: 15px; color: rgba(255, 255, 255, .8); }

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

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

/* ---------------- ON THE WATCH ---------------- */
.aw-screens { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 44px; }
.aw-screen { text-align: center; }
.aw-screen .shot {
    position: relative; margin: 0 auto; width: min(260px, 80%); aspect-ratio: 640 / 717;
    border-radius: 28px; background: radial-gradient(60% 50% at 50% 60%, rgba(0, 0, 0, .12), rgba(0, 0, 0, 0) 70%);
}
.aw-screen img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 26px 34px rgba(0, 0, 0, .28)); }
.aw-screen h4 { margin-top: 18px; font-size: 20px; font-weight: 600; letter-spacing: -.01em; }
.aw-screen p { margin: 8px auto 0; max-width: 300px; font-size: 15px; line-height: 1.5; color: #6e6e73; letter-spacing: -.01em; }
.aw-screen .lbl { display: inline-block; margin-bottom: 10px; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--aw-deep); }

/* ---------------- WRIST / PHONE / WEB ---------------- */
.aw-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 44px; text-align: left; }
.aw-card { background: #f5f5f7; border-radius: 22px; padding: 26px 24px 28px; }
.detail-alt .aw-card { background: #fff; }
.aw-card .ico { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 16px; font-size: 18px; background: #1d1d1f; color: #fff; }
.aw-card:first-child .ico { background: var(--aw); }
.aw-card h4 { font-size: 21px; font-weight: 600; letter-spacing: -.01em; }
.aw-card .role { margin-top: 2px; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--aw-deep); }
.aw-card 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; }
.aw-chart .tag-premium { background: #2a2a2e; }

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

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

/* ---------------- CLOSER ---------------- */
.aw-closer .btn-fill { background: #1d1d1f; color: #fff; }
.aw-closer .btn-fill:hover { background: #2563eb; }
.aw-closer .btn-line { color: #1d1d1f; box-shadow: inset 0 0 0 1px #1d1d1f; }
.aw-closer .btn-line:hover { background: #1d1d1f; color: #fff; }

/* ---------------- RESPONSIVE ---------------- */
@media (max-width: 1068px) {
    .aw-chip.c1 { left: 12px; }
    .aw-chip.c2 { right: 12px; }
    .aw-steps { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 734px) {
    .aw-hero { padding: 120px 22px 70px; }
    .aw-stage { padding: 26px 0 22px; }
    .aw-stage .vis-watch { width: min(340px, 84%); }
    .aw-chip { font-size: 13px; padding: 8px 12px 8px 8px; }
    .aw-chip.c1 { top: 0; }
    .aw-chip.c2 { top: auto; bottom: 0; }
    .aw-steps, .aw-screens, .aw-cards, .aw-two, .aw-chart .split { grid-template-columns: 1fr; }
    .aw-screen .shot { width: min(240px, 70%); }
    .aw-photo figcaption { padding-top: 80px; }
    .aw-chart { padding: 90px 22px 100px; }
}
