/* DentCare mobile app chapter. The paper and marble continue the clinic's
   landing page; blue and teal come from the actual DentCare tooth logo. */
.landing .app-showcase {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding: clamp(105px, 10vw, 150px) var(--pad);
    border-top: 1px solid var(--line);
    background: linear-gradient(115deg, #fbfaf6 0%, #f4f8f8 54%, #eaf6f5 100%);
    color: var(--ink);
}
.landing .app-showcase::before {
    content: ""; position: absolute; inset: 0; z-index: -2; pointer-events: none;
    background: url("../images/marble-panel.jpg") center / cover no-repeat;
    opacity: .10; mix-blend-mode: multiply;
}
/* The logo's turquoise sweep becomes a quiet, scroll-moving arc. */
.landing .app-showcase::after {
    content: ""; position: absolute; z-index: -1; top: 23%; right: -240px;
    width: 820px; height: 340px; border: 42px solid rgba(5,164,174,.12);
    border-radius: 50%; pointer-events: none;
    transform: translateY(var(--app-ribbon-shift, 0px)) rotate(-23deg);
}
.landing .app-showcase__wordmark {
    position: absolute; z-index: -1; top: 48%; left: 51%; width: max-content;
    color: rgba(6,85,139,.055); font-family: var(--font-body);
    font-size: clamp(170px,23vw,340px); font-weight: 700; letter-spacing: -.09em;
    line-height: 1; white-space: nowrap; pointer-events: none; user-select: none;
    transform: translate3d(calc(-50% + var(--app-wordmark-shift, 0px)), -50%, 0);
}
.landing .app-showcase__inner {
    position: relative; display: grid; grid-template-columns: minmax(0,1fr) minmax(360px,.95fr);
    grid-template-rows: 1fr auto auto auto 1fr;
    grid-template-areas: ". visual" "head visual" "chapters visual" "download visual" ". visual";
    column-gap: clamp(52px,6vw,110px); max-width: var(--max); margin-inline: auto;
}
.landing .app-showcase__head { grid-area: head; z-index: 2; margin: 0 0 clamp(32px,4vw,48px); }
.landing .app-showcase__chapters { grid-area: chapters; position: relative; z-index: 2; }
.landing .app-showcase__download { grid-area: download; position: relative; z-index: 2; }
.landing .app-showcase__visual { grid-area: visual; }
/* The one accent: the logo's blue to teal, on the second line only. */
.landing .app-showcase__accent { background: linear-gradient(100deg,#07518a,#0877aa 52%,#0aaead); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* The three story beats are controls: tapping one changes the phone preview. */
.landing .app-showcase__chapters { max-width: 540px; margin-top: 0; }
.landing .app-showcase__chapter {
    position: relative; display: grid; grid-template-columns: 47px 1fr 20px; align-items: center;
    width: 100%; min-height: 63px; padding: 0 12px 0 0; border: 0;
    border-bottom: 1px solid #bfd4d5; background: transparent; color: var(--ink);
    font: 600 15px/1.3 var(--font-body); text-align: left; cursor: pointer;
    transition: padding-left .45s var(--ease-out), background-color .3s ease, color .3s ease;
}
.landing .app-showcase__chapter::before { content: ""; position: absolute; left: 0; bottom: -1px; width: 0; height: 2px; background: #079dab; transition: width .55s var(--ease-out); }
.landing .app-showcase__chapter:hover,
.landing .app-showcase__chapter.is-current { padding-left: 10px; background: rgba(10,147,171,.055); color: #075084; }
.landing .app-showcase__chapter.is-current::before { width: 100%; }
.landing .app-showcase__chapter:focus-visible { outline: 2px solid #0877aa; outline-offset: 3px; }
.landing .app-showcase__chapter > span:first-child { color: var(--brand); font-size: 11px; font-weight: 700; letter-spacing: .12em; }
.landing .app-showcase__chapter > .icon { width: 16px; height: 16px; justify-self: end; transition: transform .3s ease; }
/* The three highlights as cards, like the page's other cards (2026-10-09, owner). */
.landing .app-showcase__chapters { display: grid; gap: 12px; }
.landing .app-showcase__chapter {
    grid-template-columns: 44px 1fr 20px; min-height: 68px; padding: 0 18px 0 16px;
    border: 1px solid #d9e6e6; border-radius: 18px; background: rgba(255,255,255,.85);
    box-shadow: 0 18px 36px -30px rgba(44,70,74,.35);
    transition: border-color .3s ease, background-color .3s ease, color .3s ease;
}
.landing .app-showcase__chapter::before { display: none; }
.landing .app-showcase__chapter:hover,
.landing .app-showcase__chapter.is-current { padding-left: 16px; border-color: #079dab; background: #fff; color: #075084; }
.landing .app-showcase__chapter > span:first-child { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: #e3f3f2; color: #087899; }
.landing .app-showcase__chapter.is-current > span:first-child { background: #079dab; color: #fff; }
.landing .app-showcase__chapter:hover > .icon,
.landing .app-showcase__chapter.is-current > .icon { transform: translateX(4px); }

.landing .app-showcase__download {
    display: flex; align-items: center; gap: 24px; max-width: 540px; margin-top: 40px; padding: 22px;
    border: 1px solid #d9e6e6; border-radius: 22px; background: rgba(255,255,255,.8);
    box-shadow: 0 24px 50px -36px rgba(44,70,74,.28), inset 0 1px rgba(255,255,255,.9);
}
.landing .app-showcase__qr { position: relative; flex: 0 0 150px; width: 150px; height: 150px; border: 1px solid #dbe4e4; border-radius: 12px; background: #f7fbfa; color: #075084; }
.landing .app-showcase__qr img { display: block; width: 100%; height: 100%; object-fit: contain; padding: 7px; }
.landing .app-showcase__qr-corner { position: absolute; width: 27px; height: 27px; border: 6px solid #075084; border-radius: 3px; }
.landing .app-showcase__qr-corner::after { content: ""; position: absolute; inset: 5px; background: #075084; }
.landing .app-showcase__qr-corner--tl { top: 13px; left: 13px; }
.landing .app-showcase__qr-corner--tr { top: 13px; right: 13px; }
.landing .app-showcase__qr-corner--bl { bottom: 13px; left: 13px; }
.landing .app-showcase__qr-center { position: absolute; right: 12px; bottom: 17px; font-size: 11px; font-weight: 800; line-height: 1.15; letter-spacing: .08em; text-transform: uppercase; }
.landing .app-showcase__download-copy { min-width: 0; }
.landing .app-showcase__download-label { color: #075084; font-size: 15px; font-weight: 700; letter-spacing: .11em; text-transform: uppercase; }
.landing .app-showcase__download-copy p { margin-top: 10px; color: var(--ink-2); font-size: 16px; line-height: 1.55; }
.landing .app-showcase__coming-soon { display: inline-block; margin-top: 13px; color: var(--brand); font-size: 14px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.landing .app-showcase__download-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 13px; color: #075084; font-size: 16px; font-weight: 700; text-decoration: underline; text-underline-offset: 5px; }
.landing .app-showcase__download-link:hover { color: #0a888d; }
.landing .app-showcase__download-link:focus-visible { outline: 2px solid #0877aa; outline-offset: 5px; }
.landing .app-showcase__download-link .icon { width: 15px; height: 15px; }

/* A light, logo-coloured product study instead of a separate dark world. */
.landing .app-showcase__visual { position: relative; min-height: 720px; display: grid; place-items: center; }
.landing .app-showcase__visual::before { content: ""; position: absolute; inset: 11% 2%; border: 1px solid rgba(12,119,155,.16); border-radius: 48% 52% 46% 54%; background: radial-gradient(circle at 50% 45%,rgba(86,194,203,.18),transparent 60%); transform: translateY(var(--app-glow-shift,0px)) rotate(-11deg); pointer-events: none; }
.landing .app-showcase__visual-caption { position: absolute; left: 0; right: 0; display: flex; justify-content: space-between; color: #537981; font-size: 10px; font-weight: 700; letter-spacing: .17em; }
.landing .app-showcase__visual-caption--top { top: 0; }
.landing .app-showcase__visual-caption--bottom { bottom: 0; }
.landing .app-showcase__phone-wrap { position: relative; z-index: 1; transform: translate3d(0,var(--app-shift,0px),0) rotate(var(--app-rotate,0deg)); transition: transform .45s var(--ease-out); will-change: transform; }
.landing .app-showcase__phone { width: min(338px,31vw); aspect-ratio: 335/650; padding: 11px; border: 2px solid #5b7b90; border-radius: 44px; background: #103a5b; box-shadow: 0 42px 70px -25px rgba(28,73,96,.36), inset 0 0 0 2px #1c577b, 0 0 0 1px rgba(255,255,255,.8); }
.landing .app-showcase__phone-top { position: absolute; top: 19px; left: 50%; z-index: 2; width: 80px; height: 22px; transform: translateX(-50%); border-radius: 20px; background: #103a5b; }
.landing .app-showcase__phone-top span { position: absolute; top: 9px; left: 50%; width: 25px; height: 4px; transform: translateX(-50%); border-radius: 5px; background: #466c84; }
.landing .app-showcase__screen { position: relative; height: 100%; overflow: hidden; padding: 58px 23px 22px; border-radius: 34px; background: #f9fcfb; color: #14415e; }
.landing .app-showcase__screen::before { content: ""; position: absolute; width: 280px; height: 280px; top: 73px; right: -132px; border: 1px solid rgba(39,159,175,.14); border-radius: 50%; box-shadow: 0 0 0 45px rgba(39,159,175,.03), 0 0 0 90px rgba(39,159,175,.02); pointer-events: none; }
.landing .app-showcase__screen-head { position: relative; display: flex; align-items: center; gap: 5px; font-family: var(--font-body); font-size: 18px; font-weight: 800; letter-spacing: -.05em; }
.landing .app-showcase__screen-head img { width: 36px; height: 36px; object-fit: contain; }
.landing .app-showcase__screen-head > span:nth-child(2) > span { color: #0aaead; }
.landing .app-showcase__screen-dot { width: 30px; height: 30px; margin-left: auto; border-radius: 50%; background: #d6f1ef; box-shadow: inset 0 0 0 7px #eef9f7; }
.landing .app-showcase__screen-kicker { position: relative; margin-top: 39px; color: #13748e; font-size: 9px; font-weight: 800; letter-spacing: .19em; }
.landing .app-showcase__screen-title { position: relative; margin-top: 8px; font-family: var(--font-display); font-size: clamp(30px,3vw,39px); line-height: 1; }
.landing .app-showcase__screen-card { position: relative; display: grid; gap: 7px; min-height: 142px; margin-top: 25px; padding: 22px; border-radius: 17px; background: linear-gradient(132deg,#07518a,#077b9e 68%,#09a8aa); color: white; box-shadow: 0 16px 28px -17px rgba(8,78,127,.55); }
.landing .app-showcase__screen-card-label { font-size: 9px; font-weight: 700; letter-spacing: .18em; opacity: .85; }
.landing .app-showcase__screen-card strong { font-family: var(--font-display); font-size: 30px; font-weight: 500; line-height: 1; }
.landing .app-showcase__screen-card > span:nth-of-type(2) { max-width: 20ch; font-size: 10px; line-height: 1.45; opacity: .95; }
.landing .app-showcase__screen-card i { position: absolute; right: 20px; bottom: 20px; display: grid; place-items: center; width: 28px; height: 28px; border: 1px solid rgba(255,255,255,.75); border-radius: 50%; font-style: normal; }
.landing .app-showcase__screen-card i .icon { width: 13px; height: 13px; }
.landing .app-showcase__screen-row { display: flex; align-items: center; gap: 10px; min-height: 58px; border-bottom: 1px solid #d8e5e6; font-size: 12px; font-weight: 700; }
.landing .app-showcase__screen-row:first-of-type { margin-top: 17px; }
.landing .app-showcase__screen-row > span:nth-child(2) { flex: 1; }
.landing .app-showcase__screen-row small { display: block; margin-top: 1px; color: #66818b; font-size: 9px; font-weight: 500; }
.landing .app-showcase__screen-row-icon { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 10px; background: #e3f3f2; color: #087899; }
.landing .app-showcase__screen-row .icon { width: 14px; height: 14px; }
.landing .app-showcase__screen-row > .icon { color: #7a979e; }
.landing .app-showcase__screen-nav { position: absolute; left: 23px; right: 23px; bottom: 21px; display: flex; justify-content: space-between; padding-top: 13px; border-top: 1px solid #d8e5e6; color: #75949a; font-size: 10px; }
.landing .app-showcase__screen-nav span:first-child { color: #07518a; font-weight: 800; }

@media (max-width: 900px) {
    .landing .app-showcase { padding-block: 92px 100px; }
    .landing .app-showcase__inner {
        grid-template-columns: 1fr; grid-template-rows: none;
        grid-template-areas: "head" "visual" "chapters" "download";
    }
    .landing .app-showcase__head { margin-bottom: 8px; }
    .landing .app-showcase__visual { min-height: 0; max-width: 580px; width: 100%; margin: 0 auto 40px; padding-block: 34px; }
    .landing .app-showcase__phone { width: 310px; }
    .landing .app-showcase__screen { padding: 52px 21px 19px; }
    .landing .app-showcase__screen-kicker { margin-top: 34px; }
    .landing .app-showcase__screen-card { min-height: 130px; margin-top: 24px; padding: 19px; }
    .landing .app-showcase__screen-row { min-height: 51px; }
    .landing .app-showcase__screen-nav { left: 21px; right: 21px; bottom: 18px; }
    .landing .app-showcase__wordmark { top: 62%; left: 50%; }
    .landing .app-showcase::after { top: 55%; right: -300px; }
}
@media (max-width: 600px) {
    .landing .app-showcase { padding-block: 92px 72px; }
    .landing .app-showcase__chapter { min-height: 57px; }
    .landing .app-showcase__download { gap: 15px; margin-top: 38px; padding: 14px; }
    .landing .app-showcase__qr { flex-basis: 116px; width: 116px; height: 116px; }
    .landing .app-showcase__qr-corner { width: 21px; height: 21px; border-width: 5px; }
    .landing .app-showcase__qr-corner::after { inset: 3px; }
    .landing .app-showcase__qr-corner--tl { top: 10px; left: 10px; }
    .landing .app-showcase__qr-corner--tr { top: 10px; right: 10px; }
    .landing .app-showcase__qr-corner--bl { bottom: 10px; left: 10px; }
    .landing .app-showcase__qr-center { right: 8px; bottom: 13px; font-size: 9px; }
    .landing .app-showcase__download-label { font-size: 13px; }
    .landing .app-showcase__download-copy p { font-size: 13px; }
    .landing .app-showcase__coming-soon { font-size: 12px; }
    .landing .app-showcase__visual { margin-bottom: 32px; }
    .landing .app-showcase__phone { width: min(280px,74vw); }
    .landing .app-showcase__visual-caption { font-size: 8px; }
    .landing .app-showcase::after { right: -425px; }
}
@media (max-width: 360px) {
    .landing .app-showcase__phone { width: min(280px,calc(100vw - 40px)); }
    .landing .app-showcase__screen { padding: 44px 17px 15px; }
    .landing .app-showcase__screen-head img { width: 30px; height: 30px; }
    .landing .app-showcase__screen-dot { width: 25px; height: 25px; }
    .landing .app-showcase__screen-kicker { margin-top: 20px; }
    .landing .app-showcase__screen-card { min-height: 110px; margin-top: 16px; padding: 16px; }
    .landing .app-showcase__screen-card strong { font-size: 27px; }
    .landing .app-showcase__screen-row { min-height: 46px; }
    .landing .app-showcase__screen-nav { left: 17px; right: 17px; bottom: 14px; padding-top: 9px; }
}
@media (prefers-reduced-motion: reduce) {
    .landing .app-showcase__phone-wrap,
    .landing .app-showcase__wordmark,
    .landing .app-showcase::after,
    .landing .app-showcase__visual::before { transform: none !important; transition: none !important; }
}
