:root {
    color-scheme: light;
    --ink: #101c2f;
    --muted: #4e5f73;
    --navy: #101c31;
    --mint: #79f0c8;
    --green: #00634f;
    --line: #dce7ed;
    --tint: #f2f8f8;
    --white: #fff;
    --shadow: 0 22px 65px rgba(13, 48, 63, .09);
    font-family: Cairo, Tahoma, sans-serif;
    color: var(--ink);
    background: var(--white);
    scroll-behavior: smooth;
}
* { box-sizing: border-box; }
body { margin: 0; }
a { color: inherit; }
button, input, select { font: inherit; }
button, summary, select { cursor: pointer; }
button, a, input, select, summary { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid #3487f0; outline-offset: 4px; }
[hidden] { display: none !important; }
h1, h2, h3, p { margin: 0; }
h1, h2 { line-height: 1.16; letter-spacing: -.045em; font-weight: 900; }
h1 { font-size: clamp(2.55rem, 4.8vw, 5.6rem); }
h2 { font-size: clamp(2rem, 4.1vw, 4.25rem); }
h3 { line-height: 1.5; }
p, li { line-height: 1.75; }
em { font-style: normal; color: var(--green); }
.wrap { width: min(1250px, 100% - 4.5rem); margin-inline: auto; }
.split, .hero-grid {
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
    gap: clamp(2rem, 6.8vw, 7rem);
    align-items: center;
}
.section, .hero { scroll-margin-top: 70px; }
.section { padding-block: clamp(4rem, 8vw, 8rem); }
.tint { background: var(--tint); }
.dark { background: var(--navy); color: var(--white); }
.dark em, .dark .eyebrow { color: var(--mint); }
.eyebrow { color: var(--green); font-weight: 800; font-size: .86rem; margin-block-end: 1rem; }
.lede { font-size: clamp(.98rem, 1.3vw, 1.22rem); color: var(--muted); margin-block: 1.4rem; max-width: 39rem; }
.dark .lede { color: #c9d7e8; }
.sr-only, .skip:not(:focus) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.skip:focus { position: fixed; top: 1rem; right: 1rem; z-index: 9; background: white; padding: .5rem 1rem; }
.bar {
    position: sticky;
    top: 0;
    z-index: 5;
    background: rgba(255, 255, 255, .94);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(12px);
}
.bar-inner, .actions, .brand, .center-identity, .chat-brand { display: flex; align-items: center; gap: .7rem; }
.bar-inner { min-height: 64px; justify-content: space-between; }
.bar nav { display: flex; gap: 1.5rem; font-size: .9rem; color: var(--muted); }
.bar a, .button { text-decoration: none; }
.brand { font-weight: 900; white-space: nowrap; }
.brand img, .center-identity img, .chat-brand img { object-fit: contain; flex: none; }
.bar button, .present-controls button { border: 0; border-radius: 10px; padding: .45rem .8rem; color: var(--ink); background: var(--tint); }
.bar .button { background: var(--navy); color: white; }
#section-progress { width: 100%; height: 2px; display: block; border: 0; background: transparent; appearance: none; }
#section-progress::-webkit-progress-bar { background: transparent; }
#section-progress::-webkit-progress-value { background: #36b992; }
#section-progress::-moz-progress-bar { background: #36b992; }
.actions { flex-wrap: wrap; }
.button {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: .4rem;
    background: var(--navy);
    color: white;
    border: 1px solid transparent;
    min-height: 49px;
    border-radius: 11px;
    padding: .6rem 1.1rem;
    font-weight: 800;
    transition: transform .18s ease, background .18s ease;
}
.button:hover { transform: translateY(-2px); }
.button.primary { background: #06634f; }
.dark .button.primary { color: var(--navy); background: var(--mint); }
.button.outline { background: transparent; color: var(--ink); border-color: #a8bdc8; }
.dark .button.outline { color: white; border-color: #8092a9; }
.button.compact { min-height: 40px; padding: .35rem .75rem; font-size: .82rem; }
.hero {
    min-height: calc(100svh - 66px);
    display: flex;
    align-items: center;
    padding-block: 4rem 5rem;
    overflow: clip;
    background: radial-gradient(ellipse at 10% 48%, #d4f5eb, transparent 49%), linear-gradient(160deg, #fff 43%, #eef7fd);
}
.center-identity { margin-block-end: 1rem; font-weight: 800; font-size: .98rem; }
.center-identity img { background: white; border: 1px solid var(--line); border-radius: 13px; }
.hero-device { position: relative; min-width: 0; padding: 1.4rem 0 5rem 2.6rem; }
.hero-device::before {
    content: '';
    position: absolute;
    inset: -1rem -1rem 1rem;
    background-image: radial-gradient(#3f9d87 1px, transparent 1px);
    background-size: 16px 16px;
    opacity: .24;
    mask-image: radial-gradient(ellipse, #000 40%, transparent 72%);
}
.mock-window, .mock-phone { position: relative; background: white; box-shadow: 0 26px 70px #0f3d4d38; }
.mock-window { border-radius: 19px; border: 1px solid #b6d0d6; overflow: hidden; }
.window-bar { display: flex; align-items: center; justify-content: space-between; background: #f4f8fb; padding: .85rem 1.15rem; color: var(--muted); }
.window-bar span { display: flex; gap: .3rem; }
.window-bar i { display: block; width: .4rem; height: .4rem; background: #8ca7b3; border-radius: 50%; }
.mock-dashboard { display: grid; grid-template-columns: 25% minmax(0, 1fr); min-height: 295px; }
.mock-menu { padding: .95rem .65rem; background: var(--navy); color: white; font-size: .74rem; display: grid; align-content: start; gap: .42rem; }
.mock-menu > * { padding: .44rem; }
.mock-menu b { background: #ffffff20; border-radius: 7px; color: var(--mint); }
.mock-content { padding: 1.05rem; }
.mock-title, .mock-row { display: flex; align-items: center; gap: .55rem; }
.mock-title { justify-content: space-between; margin-block-end: .8rem; }
.mock-title span, .mock-row em { color: var(--green); font-size: .65rem; }
.mock-row { border: 1px solid var(--line); padding: .55rem; border-radius: 8px; margin-block: .5rem; font-size: .72rem; }
.mock-row i { background: #b5e9dc; width: 1rem; height: 1rem; border-radius: 50%; flex: none; }
.mock-row span { flex: 1; min-width: 0; }
.mock-row small, .mock-phone small { display: block; color: var(--muted); }
.mock-phone { position: absolute; inset: auto auto 0 0; width: 31%; min-width: 136px; border: 4px solid #1e3448; border-radius: 18px; overflow: hidden; font-size: .72rem; }
.mock-phone img { display: block; width: 100%; height: auto; aspect-ratio: 2 / 1; object-fit: cover; background: #deefeb; }
.mock-phone div { padding: .6rem; }
.mock-phone span { display: block; margin-block-start: .48rem; color: var(--green); }
.opportunities, .modules, .plans, .journey, .onboarding, .values { display: grid; gap: 1rem; }
.opportunities { grid-template-columns: repeat(4, minmax(0, 1fr)); margin-block-start: 2.4rem; }
.opportunities article, .values li { background: var(--tint); border-radius: 17px; padding: 1.45rem; border: 1px solid var(--line); }
.opportunities h3, .modules h3 { font-size: 1rem; margin-bottom: .4rem; }
.opportunities p, .modules p { color: var(--muted); font-size: .87rem; }
.panel { min-width: 0; border: 1px solid var(--line); padding: clamp(1rem, 2.6vw, 1.9rem); background: white; color: var(--ink); border-radius: 24px; box-shadow: var(--shadow); }
.panel-heading, .thread-heading { display: flex; justify-content: space-between; align-items: center; gap: .55rem; }
.panel-heading { margin-block-end: 1rem; }
.panel-heading > span, .thread-heading span { background: #e5f7ef; color: var(--green); border-radius: 99px; padding: .18rem .6rem; font-size: .72rem; text-align: center; }
.channel-switch, .suggestions { display: flex; flex-wrap: wrap; gap: .38rem; margin-block-end: .8rem; }
.channel-switch button, .suggestions button {
    border: 1px solid var(--line);
    background: white;
    color: var(--ink);
    border-radius: 9px;
    padding: .32rem .52rem;
    font-weight: 700;
    font-size: .78rem;
}
.channel-switch button[aria-pressed="true"] { background: var(--channel); border-color: var(--channel); color: white; }
.inbox-thread, .chat-log { background: #f2f6f8; border: 1px solid #e1e9ed; border-radius: 13px; padding: .86rem; margin-bottom: .8rem; }
.chat-log { min-height: 188px; max-height: 280px; overflow: auto; }
.manual-messages { max-height: 145px; overflow: auto; }
.bubble { border-radius: 12px 3px 12px 12px; background: white; width: fit-content; max-width: 91%; padding: .42rem .64rem; margin-top: .48rem; font-size: .84rem; overflow-wrap: anywhere; }
.bubble.patient { margin-inline-start: auto; background: #ddf4ec; border-radius: 3px 12px 12px 12px; }
.bubble.staff { border: 1px solid #a9c2dc; }
.composer { display: flex; gap: .45rem; margin-top: .7rem; }
.composer input, .calc-inputs input, .manager select { min-width: 0; border: 1px solid #a8bdc8; border-radius: 8px; padding: .4rem .6rem; color: var(--ink); background: white; }
.composer input { flex: 1; }
.typing { display: flex; gap: .3rem; padding: .7rem; }
.typing i { width: .3rem; height: .3rem; border-radius: 50%; background: var(--green); animation: blink 1s infinite alternate; }
.typing i:nth-child(2) { animation-delay: .15s; }
.typing i:nth-child(3) { animation-delay: .3s; }
@keyframes blink { from { opacity: .28; } to { opacity: 1; } }
.service-list { border: 1px solid #40526c; border-radius: 12px; padding: .65rem .9rem; max-width: 35rem; color: #e0f5ef; }
.service-list summary b { margin-inline-start: .55rem; color: var(--mint); }
.service-list ul { columns: 2; font-size: .8rem; margin: .5rem 0; padding-inline-start: 1.2rem; }
.service-list li { break-inside: avoid; }
.journey, .onboarding, .values { list-style: none; padding: 0; }
.journey { grid-template-columns: repeat(5, minmax(0, 1fr)); margin-block-start: 2.4rem; counter-reset: journey; }
.journey li { counter-increment: journey; border-top: 2px solid #a2d4c6; padding-block-start: .75rem; }
.journey summary { font-weight: 800; font-size: .92rem; }
.journey li p { color: var(--muted); font-size: .87rem; margin-top: .45rem; }
.journey li::before { content: counter(journey, decimal-leading-zero); display: block; color: var(--green); font-weight: 800; margin-bottom: .4rem; }
.modules, .values { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.modules article { background: var(--tint); border-radius: 13px; padding: .85rem; }
.manager label { display: block; margin: 1rem 0 .3rem; font-size: .85rem; font-weight: 700; }
.manager select { width: 100%; }
#role-access { margin-top: .5rem; font-size: .82rem; color: var(--muted); }
.values li { font-weight: 800; font-size: .95rem; }
.calculator > p { color: var(--muted); font-size: .83rem; margin-bottom: 1rem; }
.calc-inputs, .calc-results { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .7rem; }
.calc-inputs label { display: grid; align-content: space-between; gap: .25rem; font-size: .79rem; font-weight: 700; }
.calc-inputs input { width: 100%; direction: ltr; text-align: right; }
.calc-results { margin-top: 1rem; }
.calc-results div { border-radius: 12px; background: var(--tint); padding: .6rem .8rem; }
.calc-results output { display: block; font-size: 1.35rem; font-weight: 900; color: var(--green); overflow-wrap: anywhere; }
.calc-results span { font-size: .73rem; color: var(--muted); }
.plans { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-block-start: 2.4rem; align-items: start; }
.plan h3 { font-size: 1.25rem; }
.plan .price { margin-top: .4rem; font-size: 2rem; font-weight: 900; line-height: 1.4; }
.price small, .annual { font-weight: 700; font-size: .83rem; color: var(--muted); }
.plan ul { padding-inline-start: 1rem; margin-block-end: 0; font-size: .87rem; }
.plan li { padding-block: .2rem; }
.plan li::marker { color: #0b9170; }
.plan.recommended { border-color: #309980; background: #f1fdf8; }
.plan .fit { margin-top: .8rem; color: var(--green); font-size: .82rem; font-weight: 700; }
.closing { text-align: center; }
.onboarding { grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 50rem; margin: 0 auto 2.4rem; color: #cfdfec; }
.onboarding li { border-block-start: 1px solid #52677e; padding-top: .7rem; }
.closing .actions { justify-content: center; margin-top: 1.5rem; }
.contact-note { margin-top: .8rem; color: #cad9eb; font-size: .82rem; }
.presenting .bar { display: none; }
.presenting main > section { min-height: 100svh; display: grid; align-items: center; padding-bottom: 6rem; scroll-margin-top: 0; }
.present-controls { position: fixed; inset: auto 50% 1rem auto; transform: translateX(50%); z-index: 6; display: flex; gap: .5rem; align-items: center; white-space: nowrap; background: white; color: var(--ink); border: 1px solid var(--line); box-shadow: var(--shadow); border-radius: 14px; padding: .45rem; font-size: .79rem; }
.present-controls button:disabled { opacity: .5; cursor: default; }
@media (max-width: 950px) {
    .split, .hero-grid { gap: 2rem; }
    .wrap { width: min(1250px, 100% - 2.6rem); }
    .opportunities { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .mock-dashboard { min-height: 245px; }
    .mock-menu { display: none; }
    .mock-dashboard { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
    .split, .hero-grid, .plans { grid-template-columns: minmax(0, 1fr); }
    .wrap { width: calc(100% - 2rem); }
    .bar nav { display: none; }
    .bar-inner { min-height: 58px; gap: .3rem; }
    .brand { font-size: .85rem; gap: .25rem; }
    .brand img { width: 27px; height: 27px; }
    .bar .actions { gap: .3rem; }
    .bar button { font-size: .7rem; padding-inline: .5rem; }
    .hero { min-height: auto; padding-block: 3.2rem 4rem; }
    .hero-device { padding: 0 0 3rem 1.6rem; }
    .journey, .onboarding { grid-template-columns: 1fr; }
    .journey li { display: grid; grid-template-columns: 2rem 1fr; gap: .35rem; }
    .journey li::before { margin: 0; }
    .onboarding { gap: .35rem; }
    .section { padding-block: 3.7rem; }
}
@media (max-width: 360px) {
    .opportunities, .modules, .values { grid-template-columns: 1fr; }
    .mock-phone { min-width: 114px; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; animation: none !important; transition: none !important; }
}
@media print {
    .bar, .present-controls, .actions, .composer, .channel-switch, .suggestions, #takeover, .skip { display: none !important; }
    .hero, .section, .presenting main > section { background: white; color: black; min-height: 0; padding: 1rem 0; }
    .wrap { width: 100%; }
    .dark .lede, .dark .eyebrow, .dark em, .onboarding, .service-list, .contact-note { color: black; }
    h1 { font-size: 2.4rem; }
    h2 { font-size: 1.65rem; }
    .panel, .opportunities article, .journey li { break-inside: avoid; box-shadow: none; }
    .hero-device { padding-bottom: 2rem; }
    .chat-log, .manual-messages { max-height: none; overflow: visible; }
}

/* Hafeeda demo identity: cool blue, soft whites and the logo's restrained red. */
:root {
    --ink:#233c56;
    --muted:#6b7e91;
    --navy:#193c60;
    --mint:#bfdcf2;
    --green:#235984;
    --line:#e0e8f0;
    --tint:#f4f7fb;
    --shadow:0 20px 60px #234a7210;
    --red:#ad414e
}
h1,h2 {
    letter-spacing:-.035em;
    line-height:1.38;
    font-weight:800
}
h1 {
    font-size:clamp(2.1rem,3.5vw,3.5rem)
}
h2 {
    font-size:clamp(1.8rem,2.8vw,2.8rem)
}
h3 {
    font-weight:800
}
.wrap {
    width:min(1160px,100% - 3rem)
}
.section {
    padding-block:clamp(3.5rem,6.5vw,6rem)
}
.hero {
    padding-block:5.5rem 5rem;
    min-height:0;
    background:radial-gradient(ellipse at 15% 30%,#e7eff9,transparent 55%),#fff
}
.hero-grid,.split {
    gap:clamp(2rem,5vw,5rem);
    grid-template-columns:minmax(0,1fr) minmax(0,1fr)
}
.eyebrow {
    font-size:.76rem;
    letter-spacing:.01em
}
.lede {
    font-size:1rem;
    line-height:1.95;
    margin-block:1.2rem 1.5rem
}
.bar {
    border:0;
    box-shadow:0 1px 0 #e8edf3
}
.brand {
    font-size:.83rem
}
.brand small {
    display:block;
    font-size:.61rem;
    font-weight:600;
    color:var(--muted)
}
.brand img {
    border-radius:10px
}
.bar button {
    font-size:.73rem
}
.bar nav {
    gap:1.2rem;
    font-size:.75rem
}
#section-progress {
    display:none
}
.button {
    border-radius:12px;
    font-size:.85rem;
    padding:.8rem 1.1rem;
    min-height:44px
}
.button.primary {
    background:var(--green);
    color:white;
    box-shadow:0 5px 15px #23598418
}
.button.outline {
    background:white;
    border:1px solid var(--line);
    color:var(--ink)
}
.button:hover {
    transform:translateY(-2px)
}
.button,button,a {
    transition:background .2s,box-shadow .2s,transform .2s
}
.panel {
    border-radius:24px;
    border-color:var(--line);
    box-shadow:var(--shadow)
}
.panel-heading>span {
    background:#edf3fa;
    color:var(--green)
}
.live-dot {
    display:inline-block;
    width:7px;
    height:7px;
    background:var(--red);
    border-radius:50%;
    margin-inline-end:.4rem
}
.hero-tags,.feature-pills {
    display:flex;
    flex-wrap:wrap;
    gap:.55rem;
    margin-block:1.4rem
}
.hero-tags span,.feature-pills span {
    font-size:.74rem;
    color:var(--muted);
    border:1px solid var(--line);
    padding:.4rem .7rem;
    border-radius:30px;
    background:#ffffffb8
}
.hero-tags span:before {
    content:'✓';
    color:var(--green);
    margin-inline-end:.4rem
}
.demo-note {
    color:var(--muted);
    font-size:.69rem;
    line-height:1.85;
    margin-top:1rem;
    max-width:34rem
}
.hero-visual {
    position:relative;
    min-height:420px;
    display:grid;
    align-items:center;
    padding:2rem 1rem 3rem
}
.photo-orbit {
    position:absolute;
    inset:0;
    border:1px solid #dce6f0;
    border-radius:50%;
    transform:rotate(-15deg)
}
.photo-orbit:before {
    content:'';
    position:absolute;
    inset:1.4rem;
    border:1px dashed #cfddeb;
    border-radius:50%
}
.hero-photo {
    height:300px;
    border:8px solid white;
    border-radius:30px;
    box-shadow:0 24px 60px #193c6020;
    transform:rotate(-3deg);
    overflow:hidden;
    background:#eaf0f8
}
.hero-photo img {
    width:100%;
    height:100%;
    object-fit:cover
}
.hero-center {
    position:absolute;
    bottom:1rem;
    left:0;
    display:flex;
    gap:.7rem;
    align-items:center;
    padding:.8rem 1rem;
    border-radius:17px;
    border:1px solid var(--line);
    background:#fff;
    box-shadow:var(--shadow);
    font-size:.8rem
}
.hero-center img {
    object-fit:contain;
    border-radius:12px
}
.hero-center small {
    display:block;
    color:var(--muted);
    font-size:.65rem;
    margin-top:.3rem
}
.floating-card {
    display:flex;
    align-items:center;
    gap:.65rem;
    padding:.8rem 1rem;
    background:#fff;
    border:1px solid var(--line);
    border-radius:18px;
    box-shadow:var(--shadow)
}
.hero-receipt {
    position:absolute;
    right:-.5rem;
    top:1.2rem;
    animation:quiet-float 5s ease-in-out infinite
}
.hero-receipt small,.hero-receipt span:not(.icon-tile) {
    display:block;
    font-size:.6rem;
    color:var(--muted)
}
.hero-receipt b {
    display:block;
    font-size:.76rem;
    margin:.15rem 0
}
.icon-tile {
    display:grid;
    place-items:center;
    flex:none;
    width:39px;
    height:39px;
    background:#edf4fc;
    border-radius:12px;
    color:var(--green);
    font-size:1.3rem
}
.center-gallery {
    display:flex;
    gap:.65rem;
    margin:1.6rem 0
}
.center-gallery img {
    width:calc((100% - 1.3rem)/3);
    height:115px;
    object-fit:cover;
    border-radius:15px;
    border:4px solid white;
    box-shadow:0 10px 25px #234a7210
}
.phone-stage {
    display:grid;
    justify-items:center;
    gap:1rem;
    position:relative;
    background:radial-gradient(ellipse,#dce8f5,transparent 68%);
    padding:1rem
}
.phone {
    position:relative;
    width:310px;
    max-width:100%;
    padding:8px;
    border:1px solid #ccd8e7;
    border-radius:42px;
    background:#223d58;
    box-shadow:0 28px 55px #1b3f6825, inset 0 0 0 3px #eff3f8;
    overflow:hidden
}
.app-phone {
    background:#f5f7fb;
    border:7px solid #20364c;
    padding:0
}
.phone-camera {
    position:absolute;
    z-index:2;
    top:8px;
    left:50%;
    transform:translateX(-50%);
    width:76px;
    height:17px;
    background:#20364c;
    border-radius:20px
}
.phone-status {
    display:flex;
    justify-content:space-between;
    padding:10px 16px 7px;
    direction:ltr;
    font:600 10px Arial;
    color:var(--ink);
    background:#fff
}
.app-cover {
    height:128px;
    position:relative;
    background:#dbe6f0
}
.app-cover img {
    width:100%;
    height:100%;
    object-fit:cover
}
.app-back {
    position:absolute;
    right:12px;
    top:12px;
    width:28px;
    height:28px;
    display:grid;
    place-items:center;
    border-radius:50%;
    background:#ffffffde
}
.app-identity {
    position:relative;
    padding:0 13px 12px;
    background:#fff
}
.app-identity>img {
    position:relative;
    display:block;
    object-fit:contain;
    border:4px solid white;
    border-radius:20px;
    margin-top:-30px;
    box-shadow:0 3px 15px #1d466619;
    background:#fff
}
.app-identity h3 {
    font-size:.83rem;
    margin-top:8px
}
.app-identity p,.app-address {
    font-size:.63rem;
    color:var(--muted)
}
.app-address {
    display:block;
    margin-top:3px
}
.app-actions {
    display:flex;
    gap:6px;
    padding:0 13px 14px;
    background:#fff
}
.app-actions span {
    flex:1;
    text-align:center;
    border-radius:9px;
    background:#edf3f9;
    color:var(--green);
    padding:7px;
    font-size:.62rem
}
.app-tabs {
    display:flex;
    gap:5px;
    padding:10px 12px;
    font-size:.64rem;
    text-align:center
}
.app-tabs>* {
    flex:1;
    padding:7px;
    border-radius:9px
}
.app-tabs b {
    background:white;
    box-shadow:0 2px 8px #1b3c6012
}
.app-service-list {
    padding:0 11px 15px;
    display:grid;
    gap:7px
}
.app-service {
    display:flex;
    align-items:center;
    gap:7px;
    text-decoration:none;
    border:1px solid var(--line);
    border-radius:13px;
    background:#fff;
    padding:9px
}
.app-service img,.scan-icon {
    width:39px;
    height:39px;
    border-radius:10px;
    object-fit:cover;
    flex:none
}
.scan-icon {
    display:grid;
    place-items:center;
    font-size:1.3rem;
    background:#edf3fa;
    color:var(--green)
}
.app-service b {
    display:block;
    font-size:.61rem;
    line-height:1.7
}
.app-service small {
    display:block;
    font-size:.51rem;
    color:var(--muted)
}
.round-arrow {
    margin-inline-start:auto;
    color:var(--green)
}
.phone-home {
    width:85px;
    height:4px;
    border-radius:9px;
    background:#23374b;
    margin:0 auto 8px
}
.stage-caption {
    font-size:.68rem;
    color:var(--muted)
}
.centered-heading {
    text-align:center;
    max-width:600px;
    margin:0 auto 2.5rem
}
.centered-heading .lede {
    margin-inline:auto
}
.booking-showcase {
    display:grid;
    grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);
    gap:3.5rem;
    align-items:center
}
.booking-story h3 {
    font-size:1.3rem
}
.booking-story>p:not(.demo-note) {
    font-size:.9rem;
    color:var(--muted);
    line-height:1.9;
    margin-top:.7rem;
    max-width:340px
}
.scan-art {
    height:235px;
    position:relative;
    max-width:350px;
    background:radial-gradient(ellipse at 50% 60%,#dce9f6,transparent 65%);
    margin-bottom:1rem
}
.scan-ring {
    position:absolute;
    inset:22px 80px 40px 50px;
    border:22px solid #f8fafc;
    border-left-color:#d7e3ee;
    border-bottom-color:#c7d7e6;
    border-radius:48%;
    box-shadow:12px 18px 30px #294f7220,inset 0 0 0 7px #a9c9e3;
    transform:rotate(-8deg)
}
.scan-ring i {
    position:absolute;
    inset:6px;
    border:13px solid #28628d;
    border-radius:50%;
    box-shadow:inset 5px 5px 15px #102b49
}
.scan-bed {
    position:absolute;
    bottom:35px;
    left:25px;
    width:205px;
    height:28px;
    background:linear-gradient(white,#b9cfdf);
    border-radius:15px;
    transform:rotate(-8deg);
    box-shadow:0 28px 0 -8px #a8bdcf
}
.scan-art>span {
    position:absolute;
    bottom:5px;
    right:50px;
    font-size:9px;
    letter-spacing:.2em;
    color:#839eb8
}
.journey-chips {
    display:flex;
    gap:.7rem;
    align-items:center;
    margin:1.2rem 0;
    font-size:.72rem;
    color:var(--green)
}
.journey-chips span {
    padding:.35rem .65rem;
    background:var(--tint);
    border-radius:7px
}
.journey-chips i {
    font-style:normal;
    color:#b4c6d6
}
.booking-demo {
    min-height:470px;
    overflow:hidden
}
.booking-progress {
    display:flex;
    justify-content:space-between;
    margin:1.2rem 0 1.8rem;
    gap:.5rem;
    position:relative
}
.booking-progress:before {
    content:'';
    position:absolute;
    top:17px;
    height:1px;
    background:var(--line);
    left:16%;
    right:16%
}
.booking-progress button {
    z-index:1;
    border:0;
    background:white;
    color:var(--muted);
    font-size:.67rem;
    display:grid;
    justify-items:center;
    gap:.4rem;
    min-width:60px
}
.booking-progress i {
    display:grid;
    place-items:center;
    width:34px;
    height:34px;
    border-radius:50%;
    background:#edf2f8;
    color:var(--green);
    font-style:normal;
    border:3px solid white
}
.booking-progress button[aria-current=step] {
    color:var(--green);
    font-weight:800
}
.booking-progress button[aria-current=step] i {
    color:white;
    background:var(--green)
}
.booking-progress button:disabled {
    opacity:.5;
    cursor:default
}
.step-title {
    font-size:.95rem;
    margin-bottom:1rem
}
.demo-services {
    display:grid;
    gap:.6rem;
    max-height:360px;
    overflow:auto;
    padding:2px
}
.demo-services button {
    display:flex;
    align-items:center;
    gap:.7rem;
    text-align:right;
    width:100%;
    padding:.75rem;
    border:1px solid var(--line);
    background:#f8fafc;
    border-radius:13px;
    color:var(--ink)
}
.demo-services button:hover {
    border-color:#93b1cc;
    background:#f0f5fb;
    transform:translateX(-2px)
}
.demo-services img {
    width:45px;
    height:45px;
    object-fit:cover;
    border-radius:11px
}
.demo-services b {
    display:block;
    font-size:.73rem
}
.demo-services small {
    display:block;
    font-size:.66rem;
    color:var(--muted);
    margin-top:.15rem
}
.demo-services i {
    margin-inline-start:auto;
    font-style:normal;
    color:var(--green)
}
.selected-service {
    font-size:.77rem;
    color:var(--green);
    margin-bottom:.7rem
}
.demo-dates,.demo-times {
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:.5rem;
    margin:1.2rem 0
}
.demo-dates button,.demo-times button {
    padding:.8rem .3rem;
    border:1px solid var(--line);
    border-radius:12px;
    background:#f6f8fc;
    color:var(--ink);
    font-size:.7rem
}
.demo-dates button span {
    display:block;
    font-size:.6rem;
    margin-bottom:.25rem;
    color:var(--muted)
}
.demo-dates button[aria-pressed=true],.demo-times button[aria-pressed=true] {
    background:#e4eef8;
    border-color:#7da4c7;
    color:var(--green)
}
.booking-next {
    width:100%;
    margin-top:1.25rem
}
.review-row {
    display:flex;
    gap:1rem;
    justify-content:space-between;
    padding:1rem 0;
    border-bottom:1px solid var(--line);
    font-size:.76rem
}
.review-row>span {
    color:var(--muted);
    flex:none
}
.review-row b {
    text-align:left
}
.demo-review-note {
    background:var(--tint);
    border-radius:12px;
    padding:.8rem;
    margin-top:1rem;
    font-size:.72rem;
    color:var(--muted)
}
.demo-success {
    font-size:.76rem;
    background:#eaf3fb;
    border-radius:12px;
    padding:.9rem;
    color:var(--green);
    margin-top:.8rem
}
.text-button {
    display:block;
    border:0;
    background:none;
    color:var(--green);
    font-size:.73rem;
    padding:.6rem;
    margin:.4rem auto 0
}
.notification-tabs {
    display:flex;
    gap:.5rem;
    flex-wrap:wrap
}
.notification-tabs button {
    border:1px solid var(--line);
    background:white;
    color:var(--muted);
    padding:.6rem .9rem;
    border-radius:10px;
    font-size:.74rem
}
.notification-tabs button[aria-pressed=true] {
    color:var(--green);
    border-color:#a4bdd5;
    background:#edf4fb
}
.notification-stage {
    padding:1.5rem 1rem 3rem;
    position:relative
}
.notice-clock {
    text-align:center;
    font:300 65px Arial;
    color:#afc1d3;
    letter-spacing:-.05em;
    margin-bottom:1.5rem
}
.notice-clock small {
    display:block;
    font:600 .7rem Cairo;
    color:#8da2b6;
    letter-spacing:0;
    margin-top:.4rem
}
.notification-card {
    position:relative;
    z-index:1;
    border:1px solid #d9e4ef;
    background:#ffffffdd;
    border-radius:23px;
    box-shadow:0 20px 50px #31567815;
    padding:1.3rem;
    min-height:185px;
    backdrop-filter:blur(15px)
}
.notification-brand {
    display:flex;
    gap:.6rem;
    align-items:center;
    margin-bottom:1.1rem;
    font-size:.73rem;
    font-weight:800
}
.notification-brand>small {
    margin-inline-start:auto;
    font-weight:400;
    color:var(--muted);
    font-size:.6rem
}
.notification-brand span small {
    display:block;
    font-weight:400;
    font-size:.56rem;
    color:var(--muted)
}
.notification-card h3 {
    font-size:.9rem
}
.notification-card p {
    font-size:.77rem;
    color:var(--muted);
    margin:.5rem 0 1rem
}
.notice-footer {
    display:flex;
    justify-content:space-between;
    font-size:.58rem;
    color:#8196aa
}
.notification-shadow {
    position:absolute;
    bottom:1.9rem;
    left:2.3rem;
    right:2.3rem;
    height:60px;
    border-radius:20px;
    border:1px solid #dbe6f0;
    background:#e7eff8
}
.dark {
    background:#edf3f9;
    color:var(--ink)
}
.dark .lede {
    color:var(--muted)
}
.dark em,.dark .eyebrow {
    color:var(--green)
}
.channel-switch button[aria-pressed=true] {
    background:var(--green);
    border-color:var(--green);
    color:white
}
.bubble.patient {
    background:#e8f0f8;
    color:var(--green)
}
.thread-heading span {
    background:#ecf3fa;
    color:var(--green)
}
.plan.recommended {
    background:#eef5fc;
    border-color:#93b2cf
}
.plan li::marker {
    color:var(--green)
}
.plans {
    gap:1rem;
    margin-top:2rem
}
.plan ul {
    font-size:.78rem
}
.plan .fit {
    font-size:.73rem
}
.price {
    color:var(--ink)
}
.plan .price {
    font-size:1.8rem
}
.closing {
    background:#193c60;
    color:white
}
.closing em,.closing .eyebrow {
    color:#c5dcef
}
.closing .button.primary {
    background:white;
    color:var(--green)
}
.closing .button.outline {
    background:transparent;
    color:white;
    border-color:#7890a8
}
.closing h2 {
    font-size:clamp(1.8rem,3vw,2.7rem)
}
.closing .contact-note {
    font-size:.7rem;
    color:#adbed1
}
.service-list {
    color:var(--ink);
    border-color:var(--line)
}
@keyframes quiet-float {
    50% {
        transform:translateY(-5px)
    }
}
@media(max-width:950px) {
    .bar nav {
        display:none
    }
    .hero-grid,.split {
        gap:2rem
    }
    .hero-photo {
        height:260px
    }
    .hero-visual {
        min-height:350px
    }
    .booking-showcase {
        gap:2rem
    }
    .hero-receipt {
        right:-.5rem;
        font-size:.6rem
    }
    .hero-center {
        left:-.3rem
    }
    .hero-tags {
        gap:.3rem
    }
    .hero-tags span {
        font-size:.64rem
    }
    .booking-demo {
        padding:1.1rem
    }
}
@media(max-width:720px) {
    .wrap {
        width:calc(100% - 2rem)
    }
    .hero {
        padding:3rem 0
    }
    .hero-grid,.split,.booking-showcase {
        grid-template-columns:minmax(0,1fr)
    }
    .hero-copy {
        text-align:center
    }
    .hero-copy .actions {
        justify-content:center
    }
    .hero-tags {
        justify-content:center
    }
    .hero-copy .demo-note {
        margin-inline:auto
    }
    .hero h1 {
        font-size:2.2rem
    }
    .hero-visual {
        width:min(430px,100%);
        margin:auto;
        min-height:335px;
        padding:1.5rem 1rem 3rem
    }
    .hero-photo {
        height:245px
    }
    .hero-receipt {
        right:0;
        top:.1rem
    }
    .hero-center {
        left:0;
        bottom:.6rem
    }
    .app-layout>.section-copy {
        text-align:center
    }
    .feature-pills {
        justify-content:center
    }
    .app-layout .demo-note {
        margin-inline:auto
    }
    .center-gallery {
        justify-content:center
    }
    .center-gallery img {
        height:90px
    }
    .phone-stage {
        padding:0
    }
    .phone {
        width:300px
    }
    .booking-story {
        text-align:center
    }
    .booking-story>p {
        margin-inline:auto
    }
    .scan-art {
        margin:0 auto 1rem;
        height:190px;
        max-width:290px
    }
    .scan-ring {
        inset:10px 60px 40px 40px
    }
    .scan-bed {
        width:170px;
        left:15px
    }
    .scan-art>span {
        right:35px
    }
    .journey-chips {
        justify-content:center
    }
    .booking-story .demo-note {
        max-width:300px
    }
    .booking-demo {
        min-height:450px
    }
    .notification-stage {
        padding-top:0
    }
    .notification-tabs {
        justify-content:flex-start
    }
    .bar-inner {
        gap:.4rem
    }
    .brand {
        font-size:.7rem
    }
    .brand small {
        font-size:.48rem
    }
    .bar .actions button {
        padding:.4rem .5rem;
        font-size:.62rem
    }
    .bar .actions {
        gap:.3rem
    }
    .section {
        padding-block:3.2rem
    }
    .centered-heading {
        margin-bottom:1.5rem
    }
    .centered-heading .lede {
        font-size:.9rem
    }
    .plans {
        gap:.85rem
    }
    .plan {
        padding:1.3rem
    }
    .plan ul {
        display:grid;
        grid-template-columns:1fr 1fr;
        gap:.2rem .7rem;
        font-size:.68rem
    }
    .booking-progress {
        margin-bottom:1.3rem
    }
    .panel-heading {
        font-size:.8rem
    }
    .panel-heading>span {
        font-size:.55rem
    }
    .notification-card {
        padding:1rem
    }
    .app-service-list {
        padding-bottom:12px
    }
}
@media(prefers-reduced-motion:reduce) {
    .hero-receipt {
        animation:none
    }
}
@media print {
    .hero-visual,.phone,.booking-demo,.notification-card {
        break-inside:avoid
    }
    .hero-visual {
        min-height:300px
    }
    .booking-showcase {
        grid-template-columns:1fr 1fr
    }
    .center-gallery {
        display:none
    }
    .dark,.closing {
        background:white;
        color:black
    }
    .demo-services {
        max-height:none
    }
    .phone-stage {
        background:none
    }
}
/* Final contrast and mobile artwork framing. */
:root {
    --muted:#596f83
}
.service-list b {
    color:var(--green)
}
@media(max-width:720px) {
    .hero-photo {
        height:auto;
        aspect-ratio:1.65
    }
    .hero-photo img {
        object-fit:contain;
        background:white
    }
    .hero-visual {
        min-height:300px
    }
    .plan ul {
        column-gap:1rem;
        row-gap:.4rem
    }
}
