:root {
  --blue-950:#041a40;--blue-900:#06265d;--blue-800:#0b3d91;--blue-700:#1554b8;--blue-600:#2872d9;--blue-200:#bed4f8;--blue-100:#deebff;--blue-50:#f2f7ff;
  --white:#fff;--ink:#0b1e3a;--muted:#5d6d86;--line:rgba(11,61,145,.13);--surface:#f7faff;--success:#168a66;
  --font-sans:Inter,Avenir,"Segoe UI",Helvetica,Arial,sans-serif;
  --text-xs:.75rem;--text-sm:.875rem;--text-lg:clamp(1.05rem,1.5vw,1.2rem);--text-xl:clamp(2.15rem,4.5vw,4.25rem);--text-hero:clamp(3.25rem,7.5vw,7.25rem);
  --space-1:.375rem;--space-2:.75rem;--space-3:1rem;--space-4:1.5rem;--space-5:2rem;--space-6:3rem;--space-7:4.5rem;--space-8:clamp(5rem,10vw,9rem);
  --radius-sm:12px;--radius-md:20px;--radius-lg:30px;--radius-xl:40px;
  --shadow-sm:0 8px 24px rgba(5,35,82,.07);--shadow-md:0 18px 50px rgba(5,35,82,.11);--shadow-lg:0 34px 90px rgba(5,35,82,.16);
  --ease:cubic-bezier(.22,1,.36,1);--container:1180px;
}

*,*::before,*::after{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;overflow-x:hidden;color:var(--ink);background:var(--white);font-family:var(--font-sans);line-height:1.65;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased}button,a{font:inherit}a{color:inherit;text-decoration:none}button{color:inherit}:focus-visible{outline:3px solid rgba(40,114,217,.45);outline-offset:3px}[id]{scroll-margin-top:90px}
.skip-link{position:fixed;left:1rem;top:-5rem;z-index:100;padding:.75rem 1rem;color:#fff;background:var(--blue-800);border-radius:var(--radius-sm)}.skip-link:focus{top:1rem}.container{width:min(calc(100% - 2.5rem),var(--container));margin-inline:auto}.section{position:relative;padding:var(--space-8) 0}.section--soft{background:linear-gradient(180deg,#f8fbff,#f3f8ff)}.section--primary{overflow:hidden;color:#fff;background:radial-gradient(circle at 85% 10%,rgba(74,139,238,.35),transparent 30%),linear-gradient(135deg,var(--blue-950),var(--blue-800))}.section--primary::after{content:"";position:absolute;width:420px;height:420px;right:-180px;bottom:-260px;border:1px solid rgba(255,255,255,.15);border-radius:50%;box-shadow:0 0 0 55px rgba(255,255,255,.025),0 0 0 110px rgba(255,255,255,.02);pointer-events:none}
h1,h2,h3,p{margin-top:0}h1,h2,h3{color:inherit;font-weight:760;letter-spacing:-.04em;text-wrap:balance}h1{margin-bottom:1.5rem;font-size:var(--text-hero);line-height:.95}h1 span{color:var(--blue-700)}h2{max-width:17ch;margin-bottom:1.5rem;font-size:var(--text-xl);line-height:1.06}h3{margin-bottom:.75rem;font-size:1.18rem;line-height:1.25}.lead,.section-copy{color:var(--muted);font-size:var(--text-lg);line-height:1.75;text-wrap:pretty}.lead{max-width:620px}.section--primary .section-copy{color:rgba(255,255,255,.76)}.eyebrow{display:inline-flex;align-items:center;gap:.55rem;margin-bottom:1rem;color:var(--blue-700);font-size:var(--text-xs);font-weight:800;letter-spacing:.13em;text-transform:uppercase}.eyebrow-dot{width:7px;height:7px;background:currentColor;border-radius:50%;box-shadow:0 0 0 5px rgba(40,114,217,.11)}.section--primary .eyebrow{color:#bcd5ff}.section--primary .eyebrow-dot{box-shadow:0 0 0 5px rgba(255,255,255,.1)}.section-heading{max-width:760px;margin-bottom:3rem}
.site-header{position:sticky;top:0;z-index:30;border-bottom:1px solid transparent;background:rgba(255,255,255,.84);backdrop-filter:blur(20px) saturate(150%);transition:border-color .25s,box-shadow .25s}.site-header.is-scrolled{border-color:var(--line);box-shadow:0 8px 40px rgba(5,35,82,.06)}.navbar,.footer-row{display:flex;align-items:center;justify-content:space-between;min-height:80px;gap:1.5rem}.brand{display:inline-flex;align-items:center;gap:.7rem;color:var(--blue-800);font-size:1.3rem;font-weight:850;line-height:1;letter-spacing:-.03em}.brand small{display:block;margin-top:.35rem;color:var(--muted);font-size:.54rem;font-weight:700;letter-spacing:.13em;text-transform:uppercase}.brand-mark{position:relative;display:grid;place-items:center;width:38px;height:38px;border-radius:12px;background:linear-gradient(145deg,var(--blue-700),var(--blue-900));box-shadow:0 9px 24px rgba(11,61,145,.24);transform:rotate(8deg)}.brand-mark i{position:absolute;width:17px;height:4px;border-radius:99px;background:#fff}.brand-mark i:nth-child(2){transform:rotate(60deg)}.brand-mark i:nth-child(3){transform:rotate(-60deg)}.nav-links,.footer-links{display:flex;align-items:center;gap:clamp(.75rem,2vw,1.5rem)}.nav-links>a:not(.button),.footer-links a{color:#334763;font-size:var(--text-sm);font-weight:650;transition:color .2s}.nav-links>a:not(.button):hover,.footer-links a:hover{color:var(--blue-700)}.nav-toggle{display:none}
.actions{display:flex;flex-wrap:wrap;gap:.75rem;margin-top:2rem}.actions--center{justify-content:center}.button{display:inline-flex;align-items:center;justify-content:center;gap:.55rem;min-height:50px;padding:.75rem 1.25rem;border:1px solid transparent;border-radius:999px;font-size:var(--text-sm);font-weight:780;cursor:pointer;transition:transform .25s var(--ease),background .25s,color .25s,border-color .25s,box-shadow .25s}.button:hover{transform:translateY(-2px)}.button--primary,.nav-links .button{color:#fff;background:linear-gradient(135deg,var(--blue-700),var(--blue-800));box-shadow:0 12px 28px rgba(11,61,145,.2)}.button--primary:hover,.nav-links .button:hover{box-shadow:0 16px 34px rgba(11,61,145,.3)}.button--ghost{color:var(--blue-900);border-color:var(--line);background:rgba(255,255,255,.65)}.button--ghost:hover{border-color:var(--blue-200);background:#fff}.button--light{color:var(--blue-900);background:#fff;box-shadow:0 15px 38px rgba(0,0,0,.15)}.play-icon{display:grid;place-items:center;width:25px;height:25px;color:var(--blue-700);background:var(--blue-100);border-radius:50%;font-size:.55rem}.text-link{display:inline-flex;align-items:center;gap:.55rem;margin-top:1rem;color:var(--blue-700);font-weight:760}.section--primary .text-link{color:#fff}.text-link span{transition:transform .2s}.text-link:hover span{transform:translateX(4px)}
.hero{overflow:hidden;min-height:850px;padding-top:clamp(5.5rem,9vw,8.5rem);background:linear-gradient(145deg,#fff 18%,#f2f7ff 66%,#eaf2ff)}.hero::before{content:"";position:absolute;inset:0;opacity:.32;background-image:linear-gradient(rgba(11,61,145,.06) 1px,transparent 1px),linear-gradient(90deg,rgba(11,61,145,.06) 1px,transparent 1px);background-size:72px 72px;mask-image:linear-gradient(to bottom,#000,transparent 75%)}.hero-grid,.feature-layout,.pricing-grid,.footer-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:center;gap:clamp(2.5rem,6vw,6rem)}.hero-grid{position:relative;z-index:2;grid-template-columns:1.04fr .96fr}.hero-copy{position:relative;z-index:3}.hero-proof{display:flex;align-items:center;gap:1rem;margin-top:2rem;color:var(--muted);font-size:var(--text-xs);line-height:1.45}.hero-proof p{margin:0}.hero-proof strong{color:var(--ink)}.avatar-stack{display:flex;padding-left:10px}.avatar-stack i{width:31px;height:31px;margin-left:-10px;border:3px solid #fff;border-radius:50%;background:linear-gradient(145deg,var(--blue-200),var(--blue-700))}.avatar-stack i:nth-child(2){background:linear-gradient(145deg,#dceaff,var(--blue-900))}.avatar-stack i:nth-child(3){background:linear-gradient(145deg,#9ec3ff,var(--blue-600))}.hero-orb{position:absolute;border-radius:50%;pointer-events:none}.hero-orb--one{width:420px;height:420px;right:-180px;top:30px;border:1px solid rgba(11,61,145,.1);box-shadow:0 0 0 70px rgba(11,61,145,.025),0 0 0 140px rgba(11,61,145,.018)}.hero-orb--two{width:180px;height:180px;left:-90px;bottom:80px;background:rgba(40,114,217,.06)}
.hero-visual{position:relative;min-width:0;padding:2.5rem 0 2.5rem 1rem;perspective:1200px}.dashboard-shell{overflow:hidden;min-height:480px;border:1px solid rgba(255,255,255,.9);border-radius:var(--radius-lg);background:rgba(255,255,255,.82);box-shadow:var(--shadow-lg);backdrop-filter:blur(18px);transform:rotateY(-5deg) rotateX(2deg)}.dashboard-topbar{display:flex;align-items:center;gap:.75rem;height:58px;padding:0 1.1rem;border-bottom:1px solid var(--line);color:var(--blue-950);font-size:.76rem;font-weight:760}.mini-brand{display:grid;place-items:center;width:27px;height:27px;color:#fff;background:var(--blue-800);border-radius:9px}.status-pill{display:inline-flex;align-items:center;gap:.35rem;margin-left:auto;padding:.25rem .55rem;color:var(--success);background:rgba(22,138,102,.09);border-radius:99px}.status-pill i{width:6px;height:6px;background:var(--success);border-radius:50%}.dashboard-body{display:grid;grid-template-columns:54px 1fr;min-height:420px}.dashboard-nav{display:flex;flex-direction:column;align-items:center;gap:1.25rem;padding-top:1.5rem;border-right:1px solid var(--line);background:rgba(242,247,255,.7)}.dashboard-nav i{width:18px;height:18px;border:2px solid #b6c8e4;border-radius:6px}.dashboard-nav i:first-child{border-color:var(--blue-700);background:var(--blue-100)}.dashboard-content{padding:1.2rem}.metric-row{display:grid;grid-template-columns:repeat(3,1fr);gap:.75rem}.metric-row div{padding:1rem;border:1px solid var(--line);border-radius:15px;background:#fff}.metric-row small,.metric-row strong,.metric-row em{display:block}.metric-row small{color:var(--muted);font-size:.62rem}.metric-row strong{margin:.3rem 0;color:var(--blue-950);font-size:1.45rem;line-height:1}.metric-row em{color:var(--success);font-size:.6rem;font-style:normal;font-weight:700}.chart-panel{margin-top:.8rem;padding:1rem;border:1px solid var(--line);border-radius:16px;background:#fff}.chart-heading{display:flex;justify-content:space-between;color:var(--blue-950);font-size:.72rem;font-weight:750}.chart-heading small{color:var(--muted);font-weight:500}.bar-chart{display:flex;align-items:end;justify-content:space-around;height:190px;gap:.5rem;padding-top:1.5rem;border-bottom:1px solid var(--line);background:repeating-linear-gradient(to bottom,var(--line),var(--line) 1px,transparent 1px,transparent 48px)}.bar-chart i{width:8%;height:40%;border-radius:7px 7px 2px 2px;background:linear-gradient(to top,var(--blue-800),#6aa1f0)}.bar-chart i:nth-child(2){height:54%}.bar-chart i:nth-child(3){height:47%}.bar-chart i:nth-child(4){height:70%}.bar-chart i:nth-child(5){height:62%}.bar-chart i:nth-child(6){height:81%}.bar-chart i:nth-child(7){height:75%}.bar-chart i:nth-child(8){height:94%}.floating-card{position:absolute;display:flex;align-items:center;gap:.7rem;padding:.8rem 1rem;border:1px solid rgba(255,255,255,.92);border-radius:15px;background:rgba(255,255,255,.9);box-shadow:var(--shadow-md);backdrop-filter:blur(16px)}.floating-card small,.floating-card strong{display:block}.floating-card small{color:var(--muted);font-size:.6rem}.floating-card strong{color:var(--blue-950);font-size:.71rem}.floating-card--ai{top:0;right:-24px}.floating-card--patient{left:-30px;bottom:0}.ai-spark,.check-mark{display:grid;place-items:center;width:32px;height:32px;color:#fff;background:linear-gradient(145deg,var(--blue-600),var(--blue-900));border-radius:10px}.check-mark{color:var(--success);background:rgba(22,138,102,.11)}
.card-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem}.card,.pricing-card,.faq-item{border:1px solid var(--line);border-radius:var(--radius-md);background:rgba(255,255,255,.92);box-shadow:var(--shadow-sm)}.card{min-height:240px;padding:clamp(1.5rem,3vw,2.1rem);transition:transform .3s var(--ease),border-color .3s,box-shadow .3s}.card:hover{transform:translateY(-6px);border-color:rgba(11,61,145,.25);box-shadow:var(--shadow-md)}.card p{margin-bottom:0;color:var(--muted)}.card-icon{display:grid;place-items:center;width:43px;height:43px;margin-bottom:2rem;color:var(--blue-700);background:linear-gradient(145deg,var(--blue-50),var(--blue-100));border:1px solid rgba(11,61,145,.08);border-radius:13px;font-weight:850}
.feature-layout{min-height:560px}.feature-copy{max-width:540px}.feature-layout--reverse .feature-copy{order:2}.feature-layout--reverse .visual-placeholder{order:1}.visual-placeholder{position:relative;display:grid;place-items:center;min-height:460px;padding:clamp(1rem,3vw,2.5rem);border:1px solid var(--line);border-radius:var(--radius-xl);background:linear-gradient(145deg,rgba(255,255,255,.95),rgba(222,235,255,.55));box-shadow:var(--shadow-md)}.section--primary .visual-placeholder{border-color:rgba(255,255,255,.16);background:rgba(255,255,255,.08);box-shadow:0 28px 80px rgba(0,0,0,.24);backdrop-filter:blur(18px)}.visual-glow{position:absolute;width:62%;aspect-ratio:1;background:rgba(40,114,217,.19);border-radius:50%;filter:blur(55px)}.product-window{position:relative;z-index:1;overflow:hidden;width:100%;max-width:460px;border:1px solid rgba(11,61,145,.13);border-radius:var(--radius-md);background:#fff;box-shadow:var(--shadow-md);transform:rotate(-1.5deg);transition:transform .45s var(--ease)}.visual-placeholder:hover .product-window{transform:rotate(0) translateY(-5px)}.product-window__bar{display:flex;align-items:center;gap:.35rem;height:45px;padding:0 .8rem;border-bottom:1px solid var(--line);color:var(--muted);font-size:.62rem;font-weight:650}.product-window__bar i{width:7px;height:7px;background:#dce5f3;border-radius:50%}.product-window__bar span{margin-left:.35rem}.product-window__body{min-height:310px;padding:1.4rem;color:var(--blue-950)}.product-window__body strong{display:block;margin:.8rem 0 1.4rem;font-size:1rem}.product-icon{display:grid;place-items:center;width:45px;height:45px;color:#fff;background:linear-gradient(145deg,var(--blue-600),var(--blue-900));border-radius:14px;box-shadow:0 10px 22px rgba(11,61,145,.22)}.skeleton-lines{display:grid;gap:.55rem}.skeleton-lines i{display:block;width:100%;height:9px;border-radius:99px;background:#e9f0fa}.skeleton-lines i:nth-child(2){width:78%}.skeleton-lines i:nth-child(3){width:56%}.mini-panels{display:grid;grid-template-columns:repeat(3,1fr);gap:.55rem;margin-top:1.5rem}.mini-panels i{display:block;height:75px;border:1px solid rgba(11,61,145,.08);border-radius:12px;background:linear-gradient(145deg,#f8fbff,#e5efff)}
.steps{counter-reset:steps}.steps .card::before{counter-increment:steps;content:"0" counter(steps);display:block;margin-bottom:2rem;color:var(--blue-700);font-size:.75rem;font-weight:850;letter-spacing:.12em}.steps .card-icon{display:none}.toggle-group{display:flex;width:fit-content;gap:.25rem;margin:0 0 2rem;padding:.32rem;border:1px solid var(--line);border-radius:999px;background:#fff;box-shadow:var(--shadow-sm)}.toggle-button{min-width:92px;padding:.65rem .9rem;border:0;border-radius:999px;color:var(--muted);background:transparent;font-size:var(--text-sm);font-weight:750;cursor:pointer;transition:all .22s}.toggle-button[aria-pressed=true]{color:#fff;background:var(--blue-800);box-shadow:0 7px 18px rgba(11,61,145,.22)}.pricing-grid{gap:1.5rem}.pricing-card{position:relative;padding:clamp(1.7rem,4vw,2.6rem);transition:transform .3s var(--ease),box-shadow .3s}.pricing-card:hover{transform:translateY(-5px);box-shadow:var(--shadow-md)}.pricing-card:nth-child(2){border-color:rgba(11,61,145,.35);box-shadow:0 22px 60px rgba(11,61,145,.14)}.pricing-card p{color:var(--muted)}.price{min-height:53px;margin:2rem 0 1.5rem;color:var(--blue-800)!important;font-size:1.6rem;font-weight:850;letter-spacing:-.04em}.faq-list{display:grid;max-width:900px;gap:.75rem}.faq-item{overflow:hidden;transition:border-color .2s,box-shadow .2s}.faq-item:hover{border-color:rgba(11,61,145,.28);box-shadow:var(--shadow-sm)}.faq-question{position:relative;width:100%;padding:1.25rem 3.5rem 1.25rem 1.35rem;border:0;color:var(--ink);background:transparent;font-weight:760;text-align:left;cursor:pointer}.faq-question::after{content:"+";position:absolute;right:1.4rem;top:50%;color:var(--blue-700);font-size:1.35rem;transform:translateY(-50%);transition:transform .25s}.faq-question[aria-expanded=true]::after{transform:translateY(-50%) rotate(45deg)}.faq-answer{padding:0 3.5rem 1.35rem 1.35rem;color:var(--muted)}.final-cta{text-align:center}.final-cta h2{max-width:16ch;margin-inline:auto}.final-cta .section-copy{max-width:650px;margin-inline:auto}
.site-footer{padding:4.5rem 0 1.5rem;border-top:1px solid var(--line);background:#fff}.footer-grid{align-items:start}.footer-grid>div:first-child p{margin-top:1rem;color:var(--muted);font-size:var(--text-sm)}.footer-links{justify-content:flex-end}.footer-row{min-height:55px;margin-top:2rem;border-top:1px solid var(--line);color:var(--muted)}
.reveal{opacity:0;transform:translateY(24px);transition:opacity .7s var(--ease),transform .7s var(--ease)}.reveal.is-visible{opacity:1;transform:translateY(0)}
@media(max-width:980px){.hero{min-height:auto}.hero-grid,.feature-layout{grid-template-columns:1fr}.hero-copy{max-width:760px}.hero-visual{width:min(100%,720px);margin-inline:auto;padding-left:0}.feature-layout{min-height:auto}.feature-layout--reverse .feature-copy,.feature-layout--reverse .visual-placeholder{order:initial}.feature-copy{max-width:680px}}
@media(max-width:820px){.card-grid{grid-template-columns:1fr}.card{min-height:auto}.nav-toggle{display:inline-flex;padding:.58rem .85rem;border:1px solid var(--line);border-radius:var(--radius-sm);background:#fff;font-weight:750}.nav-links{display:none;position:absolute;inset:80px 1rem auto;max-height:calc(100vh - 96px);overflow:auto;flex-direction:column;align-items:stretch;padding:1rem;border:1px solid var(--line);border-radius:var(--radius-md);background:rgba(255,255,255,.98);box-shadow:var(--shadow-lg)}.nav-links.is-open{display:flex}.nav-links a{padding:.7rem}.pricing-grid,.footer-grid{grid-template-columns:1fr}.footer-links{flex-wrap:wrap;justify-content:flex-start}}
@media(max-width:580px){:root{--radius-xl:26px}.container{width:min(calc(100% - 1.5rem),var(--container))}h1{font-size:clamp(2.9rem,15vw,4.2rem)}.section{padding-block:4.5rem}.hero{padding-top:4rem}.hero-visual{padding-block:1.5rem}.dashboard-shell{min-height:370px;transform:none}.dashboard-body{grid-template-columns:40px 1fr;min-height:315px}.dashboard-nav{gap:.9rem}.dashboard-nav i{width:14px;height:14px}.dashboard-content{padding:.7rem}.metric-row{grid-template-columns:1fr 1fr}.metric-row div:nth-child(3){display:none}.metric-row div{padding:.7rem}.chart-panel{padding:.7rem}.bar-chart{height:130px}.floating-card--ai{right:-5px;top:0}.floating-card--patient{left:-5px;bottom:0}.floating-card{padding:.6rem .7rem}.visual-placeholder{min-height:365px}.product-window__body{min-height:250px}.actions .button{width:100%}.footer-links{flex-direction:column;align-items:flex-start}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}.reveal{opacity:1;transform:none}}

/* Navbar + hero refinements */
.hero{padding-top:clamp(4.5rem,7vw,6.25rem)}.hero h1{max-width:14ch;font-size:clamp(3rem,4.3vw,4.25rem);line-height:.99}.hero h1 span{display:block}.nav-login{margin-left:.2rem;padding-left:1.2rem!important;border-left:1px solid var(--line)}
.hero-grid{grid-template-columns:1.08fr .92fr}.hero-pillars{display:flex;flex-wrap:wrap;gap:.65rem;margin-top:2rem}.hero-pillars span{display:inline-flex;align-items:center;gap:.45rem;padding:.48rem .7rem;border:1px solid var(--line);border-radius:999px;color:#40536f;background:rgba(255,255,255,.72);font-size:.7rem;font-weight:700;box-shadow:0 6px 18px rgba(5,35,82,.04)}.hero-pillars i{display:grid;place-items:center;width:20px;height:20px;border-radius:7px;color:var(--blue-700);background:var(--blue-100);font-style:normal;font-weight:850}.hero-pillars span:nth-child(2){color:var(--blue-800);border-color:rgba(11,61,145,.22);background:#fff;box-shadow:0 8px 22px rgba(11,61,145,.1)}
.platform-tabs{display:flex;gap:.35rem;margin-bottom:.75rem;padding:.25rem;border:1px solid var(--line);border-radius:11px;background:var(--blue-50)}.platform-tabs span{flex:1;padding:.38rem .3rem;border-radius:8px;color:var(--muted);font-size:.58rem;font-weight:750;text-align:center}.platform-tabs span.is-active{color:var(--blue-800);background:#fff;box-shadow:0 3px 10px rgba(5,35,82,.08)}.platform-tabs b{color:var(--blue-700)}.dashboard-content .metric-row strong{margin:.35rem 0;color:var(--blue-950);font-size:.78rem;line-height:1.2}
.ai-panel{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:.7rem;margin-top:.75rem;padding:.75rem;border:1px solid rgba(40,114,217,.18);border-radius:14px;background:linear-gradient(135deg,#f8fbff,#edf4ff)}.ai-panel__icon{display:grid;place-items:center;width:35px;height:35px;border-radius:11px;color:#fff;background:linear-gradient(145deg,var(--blue-600),var(--blue-900));box-shadow:0 8px 18px rgba(11,61,145,.18)}.ai-panel small,.ai-panel strong{display:block}.ai-panel small{color:var(--blue-700);font-size:.56rem;font-weight:750}.ai-panel strong{margin:.1rem 0 .35rem;color:var(--blue-950);font-size:.66rem}.ai-progress{display:flex;gap:.2rem}.ai-progress i{display:block;width:22px;height:3px;border-radius:99px;background:var(--blue-600)}.ai-progress i:nth-child(2){width:35px;opacity:.55}.ai-progress i:nth-child(3){width:15px;opacity:.25}.ai-ready{padding:.25rem .45rem;border-radius:99px;color:var(--success);background:rgba(22,138,102,.09);font-size:.52rem;font-weight:800}.dashboard-content .chart-panel{margin-top:.75rem}.dashboard-content .bar-chart{height:120px;padding-top:1rem}
@media(max-width:980px){.hero-grid{grid-template-columns:1fr}.hero h1{max-width:13ch}.nav-login{margin-left:0;padding-left:.7rem!important;border-left:0}}
@media(max-width:580px){.hero h1{font-size:clamp(2.55rem,12vw,3.6rem)}.hero .eyebrow{font-size:.65rem;line-height:1.5}.hero-pillars{gap:.45rem}.hero-pillars span{font-size:.64rem}.ai-panel{grid-template-columns:auto 1fr}.ai-ready{display:none}.dashboard-content .bar-chart{height:85px}}

/* Flagship AI workflow */
.ai-section{overflow:hidden;color:#fff;background:radial-gradient(circle at 12% 15%,rgba(62,128,229,.25),transparent 28%),radial-gradient(circle at 88% 80%,rgba(75,139,238,.19),transparent 30%),linear-gradient(145deg,#03132f 0%,#06265d 54%,#0b3d91 100%)}.ai-section .container{position:relative;z-index:2}.ai-section .eyebrow{color:#bcd5ff}.ai-section .eyebrow-dot{box-shadow:0 0 0 5px rgba(255,255,255,.1)}.ai-section__intro{display:grid;grid-template-columns:1.1fr .9fr;align-items:end;gap:clamp(2rem,6vw,6rem);margin-bottom:clamp(3rem,6vw,5rem)}.ai-section__intro h2{max-width:13ch;margin-bottom:0}.ai-section__intro .section-copy{margin-bottom:.35rem;color:rgba(255,255,255,.76)}.ai-grid{position:absolute;inset:0;opacity:.16;background-image:linear-gradient(rgba(255,255,255,.09) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.09) 1px,transparent 1px);background-size:68px 68px;mask-image:linear-gradient(to bottom,transparent,#000 20%,#000 75%,transparent)}.ai-glow{position:absolute;border:1px solid rgba(255,255,255,.08);border-radius:50%;pointer-events:none}.ai-glow--one{width:440px;height:440px;top:-220px;right:-100px;box-shadow:0 0 0 55px rgba(255,255,255,.018),0 0 0 110px rgba(255,255,255,.012)}.ai-glow--two{width:260px;height:260px;left:-160px;bottom:120px;box-shadow:0 0 80px rgba(58,126,230,.22)}
.ai-experience{display:grid;width:90vw;margin-left:50%;transform:translateX(-50%);grid-template-columns:minmax(0,1fr);gap:1.25rem;align-items:stretch}.ai-workflow,.ai-capabilities{border:1px solid rgba(255,255,255,.13);border-radius:30px;background:rgba(255,255,255,.075);box-shadow:0 32px 90px rgba(0,0,0,.25);backdrop-filter:blur(20px)}.ai-workflow{overflow:hidden;padding:1.15rem}.ai-workflow__header{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:.25rem .2rem 1.1rem}.ai-workflow__header>div{display:flex;align-items:center;gap:.7rem}.ai-workflow__header small,.ai-workflow__header strong{display:block}.ai-workflow__header small{color:#9fbee9;font-size:.58rem;letter-spacing:.08em;text-transform:uppercase}.ai-workflow__header strong{font-size:.8rem}.workflow-status{display:inline-flex;align-items:center;gap:.4rem;padding:.35rem .6rem;border:1px solid rgba(255,255,255,.09);border-radius:99px;color:#cfe0fa;background:rgba(255,255,255,.06);font-size:.58rem;font-weight:750}.workflow-status i{width:6px;height:6px;border-radius:50%;background:#71d5b3;box-shadow:0 0 0 4px rgba(113,213,179,.1);animation:workflowPulse 2.6s ease-in-out infinite}.workflow-list{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:.7rem;margin:0;padding:0;list-style:none}.workflow-step{position:relative;display:flex;flex-direction:column;min-height:145px;padding:1rem;border:1px solid rgba(255,255,255,.11);border-radius:18px;background:rgba(255,255,255,.065);transition:transform .3s var(--ease),border-color .3s,background .3s}.workflow-step:hover{transform:translateY(-4px);border-color:rgba(173,207,255,.35);background:rgba(255,255,255,.1)}.workflow-step--ai{border-color:rgba(128,178,255,.5);background:linear-gradient(145deg,rgba(43,112,218,.34),rgba(255,255,255,.08));box-shadow:inset 0 0 35px rgba(77,143,241,.1)}.workflow-number{position:absolute;right:.8rem;top:.7rem;color:rgba(255,255,255,.32);font-size:.56rem;font-weight:800;letter-spacing:.1em}.workflow-icon{display:grid;place-items:center;width:35px;height:35px;margin-bottom:1rem;border:1px solid rgba(255,255,255,.12);border-radius:11px;color:#d7e6ff;background:rgba(255,255,255,.08);font-size:.8rem;font-weight:850}.workflow-step--ai .workflow-icon{color:#0b3d91;background:#fff;box-shadow:0 8px 22px rgba(0,0,0,.18)}.workflow-copy{margin-top:auto}.workflow-copy strong,.workflow-copy small{display:block}.workflow-copy strong{font-size:.73rem;line-height:1.25}.workflow-copy small{margin-top:.3rem;color:#aebfda;font-size:.58rem;line-height:1.4}.workflow-connector{position:absolute;z-index:3;right:-.72rem;top:50%;width:.72rem;height:1px;background:rgba(166,201,252,.42)}.workflow-connector::after{content:"";position:absolute;right:-1px;top:-2px;width:5px;height:5px;border-top:1px solid #a6c9fc;border-right:1px solid #a6c9fc;transform:rotate(45deg)}.workflow-connector i{position:absolute;top:-2px;left:0;width:5px;height:5px;border-radius:50%;background:#8cbcff;box-shadow:0 0 10px #8cbcff;animation:workflowFlow 2.8s linear infinite}.workflow-step:nth-child(4) .workflow-connector{display:none}.workflow-note{display:flex;align-items:flex-start;gap:.5rem;margin:.85rem .25rem 0;color:#9fb4d3;font-size:.6rem;line-height:1.5}
.ai-capabilities{position:relative;overflow:hidden;padding:clamp(1.6rem,3vw,2.3rem)}.ai-capabilities::before{content:"";position:absolute;width:220px;height:220px;right:-110px;top:-120px;border-radius:50%;background:rgba(64,133,236,.25);filter:blur(45px)}.ai-capabilities h3{position:relative;max-width:11ch;margin-bottom:1rem;font-size:clamp(1.7rem,3vw,2.35rem);line-height:1.08}.ai-capabilities>p:not(.eyebrow){position:relative;color:#b8c8df;font-size:.85rem}.ai-orbit{position:absolute;right:1.4rem;top:1.4rem;display:grid;place-items:center;width:72px;height:72px;border:1px solid rgba(255,255,255,.12);border-radius:50%}.ai-orbit span{display:grid;place-items:center;width:35px;height:35px;border-radius:12px;color:var(--blue-800);background:#fff;box-shadow:0 0 28px rgba(131,183,255,.28)}.ai-orbit i{position:absolute;width:7px;height:7px;border-radius:50%;background:#7eb0f8}.ai-orbit i:nth-of-type(1){top:-3px}.ai-orbit i:nth-of-type(2){right:4px;bottom:7px}.ai-orbit i:nth-of-type(3){left:-2px;bottom:20px}.capability-list{position:relative;display:grid;gap:.55rem;margin:1.5rem 0 2rem}.capability-item{display:flex;align-items:center;gap:.7rem;min-height:43px;padding:.65rem .75rem;border:1px solid rgba(255,255,255,.09);border-radius:12px;color:#e5efff;background:rgba(255,255,255,.05);font-size:.72rem;font-weight:680;transition:transform .25s var(--ease),background .25s}.capability-item:hover{transform:translateX(4px);background:rgba(255,255,255,.09)}.capability-item span{display:grid;place-items:center;width:22px;height:22px;border-radius:7px;color:#c7ddff;background:rgba(110,167,250,.14);font-size:.65rem}.capability-item:first-child{border-color:rgba(142,187,255,.35);background:rgba(68,137,239,.13)}
@keyframes workflowPulse{0%,100%{opacity:.55;transform:scale(.9)}50%{opacity:1;transform:scale(1.12)}}@keyframes workflowFlow{0%{left:0;opacity:0}20%{opacity:1}80%{opacity:1}100%{left:calc(100% - 5px);opacity:0}}
@media(max-width:980px){.ai-section__intro,.ai-experience{grid-template-columns:1fr}.ai-section__intro{align-items:start;gap:1.5rem}.ai-section__intro .section-copy{max-width:700px}.ai-capabilities h3{max-width:16ch}.capability-list{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:720px){.workflow-list{grid-template-columns:1fr}.workflow-step{min-height:auto;display:grid;grid-template-columns:auto 1fr;align-items:center;gap:.8rem;padding:.8rem}.workflow-icon{grid-row:1;margin:0}.workflow-copy{grid-column:2;margin:0}.workflow-number{right:.75rem;top:.55rem}.workflow-connector{left:26px;right:auto;top:auto;bottom:-.72rem;width:1px;height:.72rem}.workflow-connector::after{right:-2px;top:auto;bottom:-1px;transform:rotate(135deg)}.workflow-connector i{top:0;left:-2px;animation:workflowFlowVertical 2.8s linear infinite}.workflow-step:nth-child(4) .workflow-connector{display:block}.workflow-step:last-child .workflow-connector{display:none}.capability-list{grid-template-columns:1fr}.workflow-status{display:none}.ai-orbit{opacity:.55}.workflow-note{margin-top:1rem}}@keyframes workflowFlowVertical{0%{top:0;opacity:0}20%{opacity:1}80%{opacity:1}100%{top:calc(100% - 5px);opacity:0}}

/* Everything Your Clinic Needs */
.clinic-platform{overflow:hidden;background:linear-gradient(180deg,#fff 0%,#f7faff 52%,#fff 100%)}.clinic-platform::before{content:"";position:absolute;width:520px;height:520px;right:-280px;top:9%;border:1px solid rgba(11,61,145,.07);border-radius:50%;box-shadow:0 0 0 70px rgba(11,61,145,.018),0 0 0 140px rgba(11,61,145,.012)}.clinic-platform__intro{position:relative;display:grid;grid-template-columns:1.05fr .95fr;align-items:end;gap:clamp(2rem,6vw,6rem);margin-bottom:clamp(2.5rem,5vw,4rem)}.clinic-platform__intro h2{max-width:12ch;margin-bottom:0}.clinic-platform__intro .section-copy{max-width:570px;margin:0 0 .35rem}.clinic-feature-grid{position:relative;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1rem}.clinic-card{position:relative;overflow:hidden;min-height:250px;padding:1.5rem;border:1px solid var(--line);border-radius:22px;background:rgba(255,255,255,.9);box-shadow:var(--shadow-sm);transition:transform .3s var(--ease),border-color .3s,box-shadow .3s}.clinic-card::before{content:"";position:absolute;width:130px;height:130px;right:-75px;top:-75px;border-radius:50%;background:rgba(40,114,217,.07);transition:transform .45s var(--ease),background .3s}.clinic-card:hover{transform:translateY(-6px);border-color:rgba(11,61,145,.25);box-shadow:var(--shadow-md)}.clinic-card:hover::before{transform:scale(1.25);background:rgba(40,114,217,.11)}.clinic-card__icon{position:relative;display:grid;place-items:center;width:46px;height:46px;margin-bottom:2.4rem;border:1px solid rgba(11,61,145,.09);border-radius:14px;color:var(--blue-700);background:linear-gradient(145deg,var(--blue-50),var(--blue-100));box-shadow:0 9px 22px rgba(11,61,145,.09)}.clinic-card__icon svg{width:23px;height:23px}.clinic-card h3{position:relative;font-size:1.05rem}.clinic-card p{position:relative;margin:0;color:var(--muted);font-size:.82rem;line-height:1.65}.clinic-card__arrow{position:absolute;right:1.2rem;bottom:1.05rem;color:#91a5c1;font-size:.9rem;transition:color .2s,transform .2s}.clinic-card:hover .clinic-card__arrow{color:var(--blue-700);transform:translate(2px,-2px)}.clinic-card--extra{display:none}.clinic-feature-grid.is-expanded .clinic-card--extra{display:block}.feature-grid-action{display:flex;justify-content:center;margin-top:2rem}.feature-toggle span{display:inline-block;transition:transform .25s}.feature-toggle:hover span{transform:translateY(2px)}
@media(max-width:1020px){.clinic-feature-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.clinic-platform__intro{grid-template-columns:1fr;align-items:start;gap:1.25rem}.clinic-platform__intro .section-copy{max-width:700px}.clinic-card{min-height:220px}}
@media(max-width:580px){.clinic-feature-grid{grid-template-columns:1fr}.clinic-card{min-height:200px;padding:1.25rem}.clinic-card__icon{margin-bottom:1.5rem}.clinic-feature-grid:not(.is-expanded) .clinic-card:nth-child(n+9){display:none}.feature-toggle{width:100%}}

/* Website + patient acquisition */
.website-growth{overflow:hidden;background:linear-gradient(180deg,#f6f9ff 0%,#fff 46%,#f4f8ff 100%)}.website-growth::before{content:"";position:absolute;inset:0;opacity:.25;background-image:radial-gradient(rgba(11,61,145,.13) 1px,transparent 1px);background-size:28px 28px;mask-image:linear-gradient(to bottom,#000,transparent 38%)}.website-growth>.container{position:relative;z-index:2}.website-growth__intro{max-width:900px;margin-bottom:clamp(3rem,7vw,6rem)}.website-growth__intro h2{max-width:16ch}.website-growth__intro .section-copy{max-width:760px}.website-showcase{display:grid;grid-template-columns:minmax(0,1.28fr) minmax(330px,.72fr);gap:clamp(1.5rem,4vw,3.5rem);align-items:center}
.website-browser{position:relative;padding-bottom:2rem}.website-browser__bar{display:grid;grid-template-columns:1fr 2fr 1fr;align-items:center;height:48px;padding:0 1rem;border:1px solid var(--line);border-bottom:0;border-radius:24px 24px 0 0;color:var(--muted);background:rgba(255,255,255,.96);box-shadow:var(--shadow-lg);font-size:.58rem}.website-browser__bar>span{display:flex;gap:.3rem}.website-browser__bar i{display:block;width:7px;height:7px;border-radius:50%;background:#d5e0ef}.website-browser__bar>div{padding:.35rem .7rem;border-radius:99px;background:var(--blue-50);text-align:center}.website-browser__bar small{text-align:right}.website-browser__page{overflow:hidden;min-height:470px;border:1px solid var(--line);border-radius:0 0 24px 24px;background:#fff;box-shadow:var(--shadow-lg)}.website-preview__nav{display:flex;align-items:center;justify-content:space-between;gap:1rem;height:57px;padding:0 1.25rem;border-bottom:1px solid var(--line);font-size:.62rem}.website-preview__nav strong{display:flex;align-items:center;gap:.35rem;color:var(--blue-900)}.website-preview__nav strong span{display:grid;place-items:center;width:20px;height:20px;border-radius:7px;color:#fff;background:var(--blue-800)}.website-preview__nav>div{display:flex;gap:1.2rem}.website-preview__nav>div i{display:block;width:34px;height:5px;border-radius:99px;background:#dfe8f5}.website-preview__nav b{padding:.48rem .65rem;border-radius:99px;color:#fff;background:var(--blue-800);font-size:.54rem}.website-preview__hero{display:grid;grid-template-columns:1.12fr .88fr;min-height:290px;background:linear-gradient(135deg,#f8fbff,#e5efff)}.website-preview__hero>div:first-child{padding:clamp(1.5rem,4vw,3rem)}.website-preview__hero small{color:var(--blue-700);font-size:.55rem;font-weight:800;letter-spacing:.08em;text-transform:uppercase}.website-preview__hero h3{max-width:11ch;margin:.65rem 0;font-size:clamp(1.45rem,3vw,2.5rem);line-height:1.05}.website-preview__hero p{max-width:35ch;color:var(--muted);font-size:.65rem}.website-preview__hero>div:first-child>span{display:inline-flex;padding:.52rem .7rem;border-radius:99px;color:#fff;background:var(--blue-800);font-size:.55rem;font-weight:750}.website-preview__portrait{position:relative;overflow:hidden;align-self:end;height:86%;margin-right:1.25rem;border-radius:80px 80px 16px 16px;background:linear-gradient(160deg,#c9dcf8,#86afe8)}.website-preview__portrait::before{content:"";position:absolute;width:95px;height:95px;left:50%;top:18%;border-radius:50%;background:#eaf2fd;transform:translateX(-50%)}.website-preview__portrait i{position:absolute;width:165px;height:170px;left:50%;bottom:-70px;border-radius:48% 48% 0 0;background:linear-gradient(145deg,var(--blue-700),var(--blue-950));transform:translateX(-50%)}.website-preview__portrait span{position:absolute;left:50%;bottom:1rem;width:max-content;padding:.35rem .55rem;border-radius:99px;color:var(--blue-900);background:rgba(255,255,255,.86);font-size:.5rem;font-weight:750;transform:translateX(-50%)}.website-preview__services{display:grid;grid-template-columns:repeat(3,1fr);gap:.65rem;padding:1rem}.website-preview__services div{display:flex;align-items:center;gap:.55rem;padding:.7rem;border:1px solid var(--line);border-radius:12px;color:var(--blue-900);font-size:.58rem;font-weight:700}.website-preview__services i{width:25px;height:25px;border-radius:8px;background:var(--blue-100)}.website-floating{position:absolute;display:flex;align-items:center;gap:.6rem;padding:.65rem .8rem;border:1px solid rgba(255,255,255,.9);border-radius:14px;background:rgba(255,255,255,.92);box-shadow:var(--shadow-md);backdrop-filter:blur(14px)}.website-floating>span{display:grid;place-items:center;width:30px;height:30px;border-radius:9px;color:#fff;background:var(--blue-800);font-weight:850}.website-floating small,.website-floating strong{display:block}.website-floating small{color:var(--muted);font-size:.52rem}.website-floating strong{color:var(--blue-950);font-size:.64rem}.website-floating--mobile{left:-1.5rem;bottom:0}.website-floating--booking{right:-1.25rem;top:70px}.website-floating--booking>span{color:var(--success);background:rgba(22,138,102,.11)}
.website-capabilities{padding:clamp(1rem,3vw,2rem)}.website-capabilities h3{max-width:12ch;font-size:clamp(2rem,3vw,3rem);line-height:1.08}.website-capabilities>p:not(.eyebrow){color:var(--muted);font-size:.9rem}.website-capability-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.55rem;margin-top:1.5rem}.website-capability-list div{display:flex;align-items:center;gap:.55rem;min-height:42px;padding:.55rem .65rem;border:1px solid var(--line);border-radius:11px;color:#334763;background:rgba(255,255,255,.7);font-size:.68rem;font-weight:680}.website-capability-list span{display:grid;place-items:center;width:21px;height:21px;border-radius:7px;color:var(--blue-700);background:var(--blue-100);font-size:.58rem}
.growth-panel{position:relative;overflow:hidden;display:grid;grid-template-columns:.95fr 1.05fr;gap:clamp(2rem,6vw,6rem);align-items:center;margin-top:clamp(5rem,10vw,9rem);padding:clamp(2rem,6vw,5rem);border-radius:34px;color:#fff;background:radial-gradient(circle at 80% 10%,rgba(84,150,249,.28),transparent 32%),linear-gradient(135deg,var(--blue-950),var(--blue-800));box-shadow:var(--shadow-lg)}.growth-panel::after{content:"";position:absolute;width:360px;height:360px;right:-180px;bottom:-250px;border:1px solid rgba(255,255,255,.14);border-radius:50%;box-shadow:0 0 0 55px rgba(255,255,255,.025),0 0 0 110px rgba(255,255,255,.018)}.growth-panel__copy,.growth-journey{position:relative;z-index:2}.growth-panel .eyebrow{color:#c5dafb}.growth-panel h2{max-width:12ch}.growth-panel .section-copy{color:#c3d1e6}.growth-journey{display:grid;gap:.7rem;margin:0;padding:0;list-style:none}.growth-journey li{display:grid;grid-template-columns:auto 1fr;gap:1rem;padding:1.1rem;border:1px solid rgba(255,255,255,.12);border-radius:16px;background:rgba(255,255,255,.07);backdrop-filter:blur(12px);transition:transform .25s var(--ease),background .25s}.growth-journey li:hover{transform:translateX(5px);background:rgba(255,255,255,.1)}.growth-journey>li>span{display:grid;place-items:center;width:34px;height:34px;border-radius:10px;color:var(--blue-900);background:#fff;font-size:.6rem;font-weight:850}.growth-journey h3{margin:.1rem 0 .25rem;font-size:.92rem}.growth-journey p{margin:0;color:#b9cae2;font-size:.7rem;line-height:1.55}
@media(max-width:980px){.website-showcase,.growth-panel{grid-template-columns:1fr}.website-browser{width:min(100%,780px);margin-inline:auto}.website-capabilities{padding-inline:0}.website-capabilities h3{max-width:18ch}.growth-journey{max-width:700px}}
@media(max-width:620px){.website-browser__page{min-height:390px}.website-preview__nav>div{display:none}.website-preview__hero{grid-template-columns:1fr;min-height:250px}.website-preview__portrait{display:none}.website-preview__services div:nth-child(3){display:none}.website-preview__services{grid-template-columns:repeat(2,1fr)}.website-floating--mobile{left:-.25rem}.website-floating--booking{right:-.25rem;top:60px}.website-capability-list{grid-template-columns:1fr}.growth-panel{padding:1.5rem;border-radius:24px}.growth-panel .button{width:100%}}
.growth-note{margin:-.5rem 0 1.5rem;color:#91a9ca;font-size:.65rem}

/* Healthcare Growth by Magnify Brand */
.healthcare-growth{overflow:hidden;background:#edf3fc}.healthcare-growth::before{content:"GROWTH";position:absolute;right:-.04em;top:-.15em;color:rgba(11,61,145,.035);font-size:clamp(10rem,25vw,26rem);font-weight:900;letter-spacing:-.09em;line-height:1;pointer-events:none}.growth-studio-lines{position:absolute;inset:0;opacity:.32;background-image:linear-gradient(90deg,transparent calc(50% - .5px),rgba(11,61,145,.09) 50%,transparent calc(50% + .5px));background-size:25% 100%;pointer-events:none}.healthcare-growth>.container{position:relative;z-index:2}.healthcare-growth__intro{display:grid;grid-template-columns:1.08fr .92fr;align-items:end;gap:clamp(2rem,7vw,7rem);margin-bottom:clamp(3rem,7vw,6rem)}.healthcare-growth__intro h2{max-width:13ch;margin-bottom:0}.healthcare-growth__intro .section-copy{max-width:580px}.magnify-signature{display:inline-flex;align-items:center;gap:.55rem;padding:.5rem .75rem;border:1px solid rgba(11,61,145,.14);border-radius:999px;color:var(--blue-900);background:rgba(255,255,255,.6);font-size:.65rem;font-weight:800;letter-spacing:.03em}.magnify-signature i{color:var(--blue-600);font-style:normal}.growth-services{display:grid;gap:1.25rem}.growth-service{position:relative;overflow:hidden;display:grid;grid-template-columns:.82fr 1.18fr;gap:clamp(2rem,6vw,6rem);align-items:center;min-height:650px;padding:clamp(1.5rem,5vw,4.5rem);border-radius:36px;box-shadow:var(--shadow-lg)}.growth-service--social{color:var(--ink);background:#fff}.growth-service--ads{color:#fff;background:radial-gradient(circle at 80% 10%,rgba(80,147,247,.3),transparent 30%),linear-gradient(145deg,var(--blue-950),var(--blue-800))}.growth-service__content{position:relative;z-index:2}.service-number{position:absolute;right:0;top:-1rem;color:rgba(11,61,145,.1);font-size:5rem;font-weight:900;letter-spacing:-.08em;line-height:1}.growth-service--ads .service-number{color:rgba(255,255,255,.1)}.growth-service--ads .eyebrow{color:#c4d9fb}.growth-service h3{max-width:10ch;margin-bottom:1rem;font-size:clamp(2.1rem,4vw,4rem);line-height:1.02}.growth-service__content>p:not(.eyebrow){max-width:490px;color:var(--muted)}.growth-service--ads .growth-service__content>p:not(.eyebrow){color:#bdcce2}.service-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.5rem;margin-top:1.75rem}.service-list span{display:flex;align-items:center;gap:.5rem;min-height:39px;padding:.45rem .55rem;border:1px solid var(--line);border-radius:10px;color:#3e526f;background:var(--blue-50);font-size:.67rem;font-weight:680}.service-list i{display:grid;place-items:center;width:19px;height:19px;border-radius:6px;color:var(--blue-700);background:#fff;font-size:.55rem;font-style:normal}.growth-service--ads .service-list span{border-color:rgba(255,255,255,.1);color:#e0eaff;background:rgba(255,255,255,.06)}.growth-service--ads .service-list i{color:#d4e4ff;background:rgba(255,255,255,.1)}
.social-studio,.ads-studio{position:relative;overflow:hidden;min-height:470px;border:1px solid var(--line);border-radius:26px;background:#f7faff;box-shadow:0 28px 70px rgba(5,35,82,.16);transform:rotate(1.5deg);transition:transform .4s var(--ease)}.growth-service:hover .social-studio,.growth-service:hover .ads-studio{transform:rotate(0) translateY(-4px)}.studio-toolbar{display:flex;align-items:center;justify-content:space-between;height:55px;padding:0 1.1rem;border-bottom:1px solid var(--line);color:var(--blue-950);background:#fff;font-size:.7rem;font-weight:780}.studio-toolbar small{padding:.3rem .5rem;border-radius:99px;color:var(--blue-700);background:var(--blue-50);font-size:.52rem}.content-calendar{display:grid;grid-template-columns:1.15fr .85fr;grid-template-rows:repeat(3,1fr);gap:.7rem;padding:1rem}.content-tile{display:grid;grid-template-columns:auto 1fr;align-items:center;gap:.65rem;min-height:93px;padding:.8rem;border:1px solid var(--line);border-radius:15px;color:var(--blue-950);background:#fff}.content-tile>span{color:var(--blue-700);font-size:.51rem;font-weight:800;letter-spacing:.08em}.content-tile b{height:43px;border-radius:10px;background:linear-gradient(145deg,var(--blue-100),#b9d1f5)}.content-tile small{grid-column:2;color:var(--muted);font-size:.56rem}.content-tile--feature{grid-row:1/4;display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-end;min-height:300px;padding:1.2rem;color:#fff;background:linear-gradient(160deg,rgba(8,39,91,.2),rgba(5,25,61,.92)),radial-gradient(circle at 70% 20%,#8eb6ef,var(--blue-700))}.content-tile--feature span{color:#d5e5ff}.content-tile--feature strong{max-width:8ch;font-size:1.6rem;line-height:1.05}.content-tile--feature i{font-size:.58rem;font-style:normal;opacity:.7}.studio-progress{display:flex;align-items:center;gap:.8rem;padding:0 1rem}.studio-progress>span{flex:1;height:6px;border-radius:99px;background:#dee9f7}.studio-progress>span i{display:block;width:82%;height:100%;border-radius:inherit;background:var(--blue-700)}.studio-progress small{color:var(--muted);font-size:.55rem}
.ads-studio{border-color:rgba(255,255,255,.14);background:rgba(255,255,255,.97);transform:rotate(-1.5deg)}.campaign-summary{display:flex;align-items:center;justify-content:space-between;margin:1rem;padding:1rem;border:1px solid var(--line);border-radius:15px}.campaign-summary small,.campaign-summary strong{display:block}.campaign-summary small{color:var(--muted);font-size:.55rem}.campaign-summary strong{color:var(--blue-950);font-size:.8rem}.campaign-summary>span{padding:.3rem .55rem;border-radius:99px;color:var(--success);background:rgba(22,138,102,.1);font-size:.55rem;font-weight:800}.campaign-chart{height:220px;margin:0 1rem;padding:1rem;border:1px solid var(--line);border-radius:15px;background:repeating-linear-gradient(to bottom,#fff,#fff 43px,var(--line) 44px)}.campaign-line{position:relative;height:100%}.campaign-line::before{content:"";position:absolute;left:5%;right:5%;top:48%;height:3px;border-radius:99px;background:linear-gradient(90deg,var(--blue-200),var(--blue-700));transform:rotate(-8deg)}.campaign-line i{position:absolute;width:11px;height:11px;border:3px solid #fff;border-radius:50%;background:var(--blue-700);box-shadow:0 3px 12px rgba(11,61,145,.25)}.campaign-line i:nth-child(1){left:8%;top:58%}.campaign-line i:nth-child(2){left:35%;top:52%}.campaign-line i:nth-child(3){left:62%;top:38%}.campaign-line i:nth-child(4){right:7%;top:27%}.campaign-line i:nth-child(5){display:none}.campaign-line i:nth-child(6){display:none}.campaign-cards{display:grid;grid-template-columns:repeat(3,1fr);gap:.55rem;margin:1rem}.campaign-cards div{padding:.8rem;border:1px solid var(--line);border-radius:12px}.campaign-cards small,.campaign-cards strong{display:block}.campaign-cards small{color:var(--muted);font-size:.52rem}.campaign-cards strong{margin-top:.3rem;color:var(--blue-950);font-size:.65rem}
.growth-disclaimer{display:flex;align-items:center;gap:1rem;max-width:850px;margin:2rem auto 0;padding:1rem 1.25rem;border:1px solid rgba(11,61,145,.12);border-radius:16px;color:var(--muted);background:rgba(255,255,255,.6);font-size:.7rem}.growth-disclaimer span{display:grid;place-items:center;flex:0 0 auto;width:34px;height:34px;border-radius:10px;color:#fff;background:var(--blue-800)}.growth-disclaimer p{margin:0}.growth-disclaimer strong{color:var(--blue-950)}
@media(max-width:980px){.healthcare-growth__intro,.growth-service{grid-template-columns:1fr}.healthcare-growth__intro{align-items:start;gap:1.25rem}.growth-service{min-height:auto}.growth-service__content{max-width:750px}.social-studio,.ads-studio{width:min(100%,760px);margin-inline:auto}}
@media(max-width:620px){.growth-service{padding:1.25rem;border-radius:24px}.service-list{grid-template-columns:1fr}.social-studio,.ads-studio{min-height:390px;transform:none}.content-calendar{grid-template-columns:1fr 1fr;grid-template-rows:auto}.content-tile--feature{grid-column:1/3;grid-row:auto;min-height:190px}.content-tile:nth-child(4){display:none}.campaign-chart{height:160px}.campaign-cards div:nth-child(3){display:none}.campaign-cards{grid-template-columns:repeat(2,1fr)}.growth-disclaimer{align-items:flex-start}}

/* Alternating product showcases */
.product-showcase{overflow:hidden;background:#fff}.product-showcase:nth-of-type(even){background:linear-gradient(180deg,#f8fbff,#f2f7ff)}.product-showcase--dark{color:#fff;background:radial-gradient(circle at 80% 20%,rgba(75,140,239,.25),transparent 30%),linear-gradient(145deg,var(--blue-950),var(--blue-800))}.product-showcase--dark .eyebrow{color:#c5dafb}.product-showcase--dark .section-copy{color:#becde3}.product-showcase--dark .text-link{color:#fff}.showcase-layout{display:grid;grid-template-columns:.88fr 1.12fr;align-items:center;gap:clamp(3rem,8vw,8rem);min-height:600px}.showcase-layout--reverse{grid-template-columns:1.12fr .88fr}.showcase-layout--reverse .showcase-copy{order:2}.showcase-layout--reverse .showcase-visual{order:1}.showcase-copy{max-width:520px}.showcase-copy h2{max-width:13ch}.showcase-bullets{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.55rem;margin:1.75rem 0 0;padding:0;list-style:none}.showcase-bullets li{display:flex;align-items:center;gap:.55rem;color:#3b4f6a;font-size:.73rem;font-weight:680}.showcase-bullets li span{display:grid;place-items:center;flex:0 0 auto;width:22px;height:22px;border-radius:7px;color:var(--blue-700);background:var(--blue-100);font-size:.56rem}.product-showcase--dark .showcase-bullets li{color:#dce8fa}.product-showcase--dark .showcase-bullets li span{color:#fff;background:rgba(255,255,255,.11)}
.showcase-visual{position:relative;padding:1.5rem}.showcase-visual::before{content:"";position:absolute;inset:5% 0;border-radius:50%;background:rgba(40,114,217,.13);filter:blur(50px)}.showcase-window{position:relative;z-index:2;overflow:hidden;min-height:480px;border:1px solid rgba(11,61,145,.14);border-radius:28px;background:#fff;box-shadow:var(--shadow-lg);transform:rotate(1.3deg);transition:transform .45s var(--ease)}.showcase-layout--reverse .showcase-window{transform:rotate(-1.3deg)}.showcase-visual:hover .showcase-window{transform:rotate(0) translateY(-5px)}.showcase-window__bar{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;height:52px;padding:0 1rem;border-bottom:1px solid var(--line);color:var(--muted);font-size:.56rem}.showcase-window__bar>span{display:flex;gap:.3rem}.showcase-window__bar i{display:block;width:7px;height:7px;border-radius:50%;background:#d4deec}.showcase-window__bar b{justify-self:end;color:var(--blue-800);font-size:.62rem}.showcase-window__body{min-height:428px;padding:1rem;background:#f7faff}.showcase-window__body>div{height:100%}.ui-title{display:flex;align-items:center;justify-content:space-between;margin-bottom:1rem;color:var(--blue-950);font-size:.75rem;font-weight:780}.ui-title small{padding:.3rem .5rem;border-radius:99px;color:var(--blue-700);background:var(--blue-50);font-size:.5rem}.showcase-window button{width:100%;padding:.7rem;border:0;border-radius:10px;color:#fff;background:var(--blue-800);font-size:.65rem;font-weight:750}
/* Booking */.booking-ui{padding:1rem}.booking-doctor{display:flex;align-items:center;gap:.7rem;padding:.8rem;border:1px solid var(--line);border-radius:13px;background:#fff}.booking-doctor>i{width:40px;height:40px;border-radius:12px;background:linear-gradient(145deg,var(--blue-200),var(--blue-700))}.booking-doctor strong,.booking-doctor small{display:block}.booking-doctor strong{color:var(--blue-950);font-size:.7rem}.booking-doctor small{color:var(--muted);font-size:.53rem}.booking-doctor b{margin-left:auto;color:var(--blue-700);font-size:.52rem}.date-strip,.time-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:.45rem;margin:1rem 0}.date-strip span,.time-grid span{padding:.55rem;border:1px solid var(--line);border-radius:10px;color:var(--muted);background:#fff;font-size:.5rem;text-align:center}.date-strip em{display:block;color:var(--blue-950);font-size:.8rem;font-style:normal;font-weight:800}.date-strip .active,.time-grid .active{color:#fff;border-color:var(--blue-800);background:var(--blue-800)}.date-strip .active em{color:#fff}.time-grid{grid-template-columns:repeat(3,1fr)}
/* Records + doctors */.records-ui,.doctors-ui{padding:1rem}.records-search{margin-bottom:.65rem;padding:.7rem;border:1px solid var(--line);border-radius:10px;color:#91a0b7;background:#fff;font-size:.56rem}.patient-row,.doctor-row{display:flex;align-items:center;gap:.65rem;margin:.5rem 0;padding:.7rem;border:1px solid var(--line);border-radius:12px;background:#fff}.patient-row.active{border-color:rgba(11,61,145,.28);box-shadow:0 8px 20px rgba(11,61,145,.07)}.patient-row>i,.doctor-row>i{display:grid;place-items:center;width:35px;height:35px;border-radius:11px;color:var(--blue-800);background:var(--blue-100);font-size:.56rem;font-style:normal;font-weight:800}.patient-row strong,.patient-row small,.doctor-row strong,.doctor-row small{display:block}.patient-row strong,.doctor-row strong{color:var(--blue-950);font-size:.66rem}.patient-row small,.doctor-row small{color:var(--muted);font-size:.5rem}.patient-row>span,.doctor-row>span{margin-left:auto;color:var(--blue-700);font-size:.5rem}.record-summary{display:grid;grid-template-columns:repeat(3,1fr);gap:.45rem;margin-top:1rem}.record-summary div{padding:.7rem;border:1px solid var(--line);border-radius:10px;background:var(--blue-50)}.record-summary small,.record-summary strong{display:block}.record-summary small{color:var(--muted);font-size:.48rem}.record-summary strong{color:var(--blue-950);font-size:.58rem}.doctor-hours{margin-top:1rem;padding:1rem;border:1px solid var(--line);border-radius:12px;background:#fff}.doctor-hours small{color:var(--muted);font-size:.52rem}.doctor-hours div{display:flex;gap:.4rem;margin-top:.6rem}.doctor-hours i{display:block;flex:1;height:8px;border-radius:99px;background:var(--blue-100)}.doctor-hours i:nth-child(-n+3){background:var(--blue-700)}
/* Patient card */.patient-card-ui{display:grid;grid-template-columns:1.1fr .9fr;gap:1rem;align-items:center;padding:1rem}.digital-card{position:relative;overflow:hidden;min-height:340px;padding:1.5rem;border-radius:22px;color:#fff;background:radial-gradient(circle at 80% 15%,rgba(112,170,255,.45),transparent 30%),linear-gradient(145deg,var(--blue-700),var(--blue-950));box-shadow:0 22px 50px rgba(11,61,145,.25)}.digital-card::after{content:"";position:absolute;width:180px;height:180px;right:-100px;bottom:-100px;border:1px solid rgba(255,255,255,.18);border-radius:50%;box-shadow:0 0 0 30px rgba(255,255,255,.035)}.digital-card__brand{display:flex;justify-content:space-between;font-size:.72rem;font-weight:800}.digital-card__brand span{font-size:.5rem;font-weight:600}.patient-avatar{display:grid;place-items:center;width:62px;height:62px;margin:3.5rem 0 1rem;border:2px solid rgba(255,255,255,.55);border-radius:50%;background:rgba(255,255,255,.14);font-size:.8rem;font-style:normal}.digital-card h4{margin:0;font-size:1.25rem}.digital-card p{color:#ccddf6;font-size:.6rem}.digital-card>div:last-child{display:flex;gap:2rem;margin-top:1.5rem}.digital-card>div:last-child span,.digital-card>div:last-child strong{display:block}.digital-card>div:last-child span{color:#aebfda;font-size:.5rem}.digital-card>div:last-child strong{margin-top:.2rem;color:#fff;font-size:.65rem}.qr-panel{text-align:center}.qr-code{display:grid;grid-template-columns:repeat(3,24px);grid-template-rows:repeat(3,24px);gap:5px;width:max-content;margin:0 auto 1.2rem;padding:1rem;border:1px solid var(--line);border-radius:18px;background:#fff;box-shadow:var(--shadow-sm)}.qr-code i{background:var(--blue-900);border-radius:3px}.qr-code i:nth-child(2),.qr-code i:nth-child(4),.qr-code i:nth-child(8){background:var(--blue-100)}.qr-panel strong,.qr-panel small{display:block}.qr-panel strong{color:var(--blue-950);font-size:.7rem}.qr-panel small{color:var(--muted);font-size:.52rem}
/* Calendar */.calendar-ui{padding:1rem}.calendar-head{display:grid;grid-template-columns:repeat(4,1fr);border:1px solid var(--line);border-radius:11px 11px 0 0;background:#fff}.calendar-head span{padding:.65rem;color:var(--muted);font-size:.5rem;text-align:center}.calendar-head .active{color:var(--blue-800);background:var(--blue-50);font-weight:800}.calendar-body{position:relative;display:grid;grid-template-columns:45px 1fr;grid-template-rows:repeat(3,80px);border:1px solid var(--line);border-top:0;background:repeating-linear-gradient(to bottom,#fff,#fff 79px,var(--line) 80px)}.calendar-body>small{padding:.5rem;color:var(--muted);font-size:.48rem}.calendar-body>i{border-left:1px solid var(--line)}.calendar-event{position:absolute;left:28%;width:30%;padding:.65rem;border-left:3px solid var(--blue-700);border-radius:8px;color:var(--blue-900);background:var(--blue-100)}.calendar-event strong,.calendar-event span{display:block}.calendar-event strong{font-size:.58rem}.calendar-event span{font-size:.48rem}.event-one{top:35px}.event-two{left:61%;top:126px;background:#e8f4f0;border-color:var(--success)}
/* Chat */.showcase-visual--chat .showcase-window__body{background:#e9f1ff}.chat-ui{display:grid;grid-template-columns:.37fr .63fr;overflow:hidden;border:1px solid var(--line);border-radius:16px;background:#fff}.chat-list{padding:1rem;border-right:1px solid var(--line)}.chat-list>strong{display:block;margin-bottom:1rem;color:var(--blue-950);font-size:.68rem}.chat-list>span{display:flex;align-items:center;gap:.5rem;margin:.4rem 0;padding:.6rem;border-radius:10px}.chat-list>span.active{background:var(--blue-50)}.chat-list i{display:grid;place-items:center;width:28px;height:28px;border-radius:9px;color:var(--blue-700);background:var(--blue-100);font-size:.45rem;font-style:normal}.chat-list b,.chat-list small{display:block}.chat-list b{color:var(--blue-950);font-size:.52rem}.chat-list small{color:var(--muted);font-size:.44rem;font-weight:500}.chat-thread{padding:1rem}.message{max-width:80%;padding:.7rem;border-radius:12px;color:var(--blue-950);background:var(--blue-50);font-size:.55rem;line-height:1.5}.message.patient{margin-left:auto;background:#e7f2ee}.message.assistant{border:1px solid var(--line);background:#fff}.message b{display:block;margin-bottom:.25rem;color:var(--blue-700)}.chat-options{display:flex;gap:.4rem}.chat-options span{padding:.4rem .55rem;border:1px solid var(--blue-200);border-radius:99px;color:var(--blue-700);font-size:.48rem}.chat-input{display:flex;justify-content:space-between;margin-top:2.5rem;padding:.65rem;border:1px solid var(--line);border-radius:10px;color:var(--muted);font-size:.5rem}.chat-input b{color:var(--blue-700)}
/* CMS */.cms-ui{display:grid;grid-template-columns:120px 1fr;overflow:hidden;border:1px solid var(--line);border-radius:15px;background:#fff}.cms-sidebar{display:flex;flex-direction:column;gap:.4rem;padding:1rem;border-right:1px solid var(--line);color:var(--muted);font-size:.54rem}.cms-sidebar strong{margin-bottom:1rem;color:var(--blue-800);font-size:.66rem}.cms-sidebar span{padding:.5rem;border-radius:8px}.cms-sidebar span.active{color:var(--blue-800);background:var(--blue-50);font-weight:700}.cms-editor{padding:1rem}.cms-editor label{display:block;margin:.6rem 0;color:var(--muted);font-size:.5rem}.cms-editor label i{display:block;margin-top:.3rem;padding:.65rem;border:1px solid var(--line);border-radius:9px;color:var(--blue-950);background:#fff;font-style:normal;font-size:.58rem}.copy-lines{height:55px;background:repeating-linear-gradient(to bottom,#fff,#fff 14px,var(--line) 15px)!important}.cms-image{display:grid;place-items:center;height:100px;border:1px dashed var(--blue-200);border-radius:10px;color:var(--blue-700);background:var(--blue-50);font-size:.55rem}.cms-actions{display:flex;justify-content:flex-end;gap:.5rem;margin-top:.7rem}.cms-actions span,.cms-actions b{padding:.5rem .7rem;border-radius:9px;font-size:.5rem}.cms-actions span{border:1px solid var(--line);color:var(--blue-700)}.cms-actions b{color:#fff;background:var(--blue-800)}
/* Prescription + billing */.prescription-ui,.billing-ui{display:grid;place-items:center}.rx-sheet,.invoice-sheet{width:84%;min-height:380px;padding:1.4rem;border:1px solid var(--line);border-radius:8px;background:#fff;box-shadow:0 20px 45px rgba(5,35,82,.1)}.rx-head,.invoice-head{display:flex;align-items:center;justify-content:space-between;padding-bottom:1rem;border-bottom:2px solid var(--blue-800);color:var(--blue-800);font-weight:800}.rx-head b{font-size:1.8rem}.rx-patient,.invoice-meta{display:grid;grid-template-columns:repeat(2,1fr);gap:1rem;padding:1rem 0;border-bottom:1px solid var(--line)}.rx-patient small,.rx-patient strong,.invoice-head small,.invoice-meta small{display:block}.rx-patient small,.invoice-head small,.invoice-meta small{color:var(--muted);font-size:.48rem}.rx-patient strong,.invoice-meta span{color:var(--blue-950);font-size:.6rem}.medicine-row{display:flex;gap:.7rem;padding:.8rem 0;border-bottom:1px solid var(--line)}.medicine-row>b{display:grid;place-items:center;width:24px;height:24px;border-radius:7px;color:var(--blue-700);background:var(--blue-100);font-size:.5rem}.medicine-row strong,.medicine-row small{display:block}.medicine-row strong{color:var(--blue-950);font-size:.62rem}.medicine-row small{color:var(--muted);font-size:.48rem}.rx-note{margin-top:1rem;padding:.8rem;border-radius:9px;color:var(--muted);background:var(--blue-50);font-size:.5rem}.rx-footer{margin-top:1.5rem;color:var(--muted);font-size:.5rem;text-align:right}.invoice-head span{display:block;color:var(--blue-800)}.invoice-head b{color:var(--blue-950);font-size:.65rem}.invoice-meta{grid-template-columns:repeat(3,1fr)}.invoice-meta span{display:block}.invoice-meta em{color:var(--success);font-style:normal}.invoice-table{margin-top:1rem}.invoice-table strong,.invoice-table p{display:grid;grid-template-columns:1fr 35px 55px;gap:.5rem;margin:0;padding:.65rem;border-bottom:1px solid var(--line);font-size:.52rem}.invoice-table strong{color:var(--muted);background:var(--blue-50)}.invoice-table p{color:var(--blue-950)}.invoice-total{display:flex;align-items:center;justify-content:flex-end;gap:1rem;margin-top:1rem}.invoice-total small{color:var(--muted);font-size:.55rem}.invoice-total strong{color:var(--blue-900);font-size:1rem}
@media(max-width:980px){.showcase-layout,.showcase-layout--reverse{grid-template-columns:1fr;min-height:auto}.showcase-layout--reverse .showcase-copy,.showcase-layout--reverse .showcase-visual{order:initial}.showcase-copy{max-width:720px}.showcase-visual{width:min(100%,760px);margin-inline:auto}}
@media(max-width:620px){.showcase-bullets{grid-template-columns:1fr}.showcase-visual{padding:.5rem}.showcase-window{min-height:400px;border-radius:20px;transform:none}.showcase-window__body{min-height:348px;padding:.6rem}.patient-card-ui{grid-template-columns:1fr}.digital-card{min-height:260px}.qr-panel{display:none}.chat-ui{grid-template-columns:1fr}.chat-list{display:none}.cms-ui{grid-template-columns:75px 1fr}.rx-sheet,.invoice-sheet{width:100%;min-height:330px;padding:1rem}.website-preview__nav b{display:none}}

/* Before → Medlify AI benefits comparison */
.benefits-comparison{overflow:hidden;background:linear-gradient(180deg,#f8fbff,#edf4ff)}.comparison-grid-bg{position:absolute;inset:0;opacity:.28;background-image:linear-gradient(rgba(11,61,145,.06) 1px,transparent 1px),linear-gradient(90deg,rgba(11,61,145,.06) 1px,transparent 1px);background-size:64px 64px;mask-image:linear-gradient(to bottom,transparent,#000 18%,#000 84%,transparent)}.benefits-comparison>.container{position:relative;z-index:2}.comparison-intro{max-width:850px;margin:0 auto clamp(3rem,7vw,5.5rem);text-align:center}.comparison-intro h2{max-width:15ch;margin-inline:auto}.comparison-intro .section-copy{max-width:750px;margin-inline:auto}.comparison-shell{display:grid;grid-template-columns:1fr auto 1fr;align-items:stretch;gap:1rem}.comparison-side{position:relative;overflow:hidden;min-height:620px;padding:clamp(1.5rem,4vw,3rem);border-radius:30px;box-shadow:var(--shadow-lg)}.comparison-side--before{border:1px solid rgba(29,51,82,.12);background:rgba(255,255,255,.78)}.comparison-side--after{color:#fff;background:radial-gradient(circle at 85% 10%,rgba(91,156,252,.35),transparent 28%),linear-gradient(145deg,var(--blue-950),var(--blue-800))}.comparison-side__heading{position:relative;z-index:2;display:flex;align-items:center;gap:1rem;margin-bottom:2rem}.comparison-side__heading>span:not(.brand-mark){display:grid;place-items:center;width:46px;height:46px;border-radius:14px;color:#7c8da5;background:#e9eef5;font-size:.63rem;font-weight:850;text-transform:uppercase}.comparison-side__heading small,.comparison-side__heading h3{display:block}.comparison-side__heading small{color:var(--muted);font-size:.58rem;font-weight:750;letter-spacing:.08em;text-transform:uppercase}.comparison-side__heading h3{margin:.2rem 0 0;font-size:1.5rem}.comparison-side--after .comparison-side__heading small{color:#a9c1e4}.comparison-side ul{position:relative;z-index:2;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.65rem;margin:0;padding:0;list-style:none}.comparison-side li{display:flex;align-items:center;gap:.6rem;min-height:49px;padding:.65rem .75rem;border:1px solid rgba(32,55,87,.09);border-radius:12px;color:#53647c;background:rgba(255,255,255,.65);font-size:.7rem;font-weight:680}.comparison-side li>span{display:grid;place-items:center;flex:0 0 auto;width:22px;height:22px;border-radius:7px;color:#7d8da4;background:#e9eef5;font-size:.7rem}.comparison-side--after li{border-color:rgba(255,255,255,.1);color:#e3edfc;background:rgba(255,255,255,.065)}.comparison-side--after li>span{color:#d8e8ff;background:rgba(255,255,255,.1)}.comparison-side--after li.is-ai{border-color:rgba(139,187,255,.35);background:rgba(76,144,246,.17)}.comparison-transition{position:relative;z-index:4;align-self:center;display:flex;flex-direction:column;align-items:center;gap:.45rem;width:62px;padding:.75rem .4rem;border:1px solid var(--line);border-radius:99px;color:var(--muted);background:#fff;box-shadow:var(--shadow-md);font-size:.48rem;font-weight:750;text-transform:uppercase}.comparison-transition i{display:grid;place-items:center;width:38px;height:38px;border-radius:50%;color:#fff;background:var(--blue-800);font-size:1rem;font-style:normal;box-shadow:0 8px 20px rgba(11,61,145,.25)}.comparison-transition strong{color:var(--blue-800);font-size:.48rem}.scattered-map,.connected-core{position:absolute;left:50%;bottom:-85px;width:280px;height:230px;transform:translateX(-50%)}.scattered-map i{position:absolute;width:45px;height:45px;border:1px solid rgba(50,73,104,.11);border-radius:13px;background:rgba(255,255,255,.5)}.scattered-map i:nth-child(1){left:0;top:70px}.scattered-map i:nth-child(2){left:80px;top:20px}.scattered-map i:nth-child(3){right:20px;top:80px}.scattered-map i:nth-child(4){left:105px;bottom:15px}.scattered-map i:nth-child(5){right:0;bottom:20px}.scattered-map span{position:absolute;width:70px;height:1px;background:rgba(62,84,115,.12);transform:rotate(-24deg)}.scattered-map span:nth-of-type(1){left:35px;top:70px}.scattered-map span:nth-of-type(2){right:60px;top:68px;transform:rotate(32deg)}.scattered-map span:nth-of-type(3){left:95px;bottom:75px;transform:rotate(76deg)}.connected-core{display:grid;place-items:center}.connected-core span{position:relative;z-index:2;display:grid;place-items:center;width:90px;height:90px;border:1px solid rgba(255,255,255,.2);border-radius:28px;color:var(--blue-800);background:#fff;font-size:.72rem;font-weight:850;box-shadow:0 0 50px rgba(105,164,252,.3)}.connected-core::before,.connected-core::after{content:"";position:absolute;width:170px;height:170px;border:1px solid rgba(255,255,255,.12);border-radius:50%}.connected-core::after{width:240px;height:240px}.connected-core i{position:absolute;width:14px;height:14px;border:3px solid var(--blue-800);border-radius:50%;background:#fff}.connected-core i:nth-of-type(1){left:48px;top:42px}.connected-core i:nth-of-type(2){right:48px;top:42px}.connected-core i:nth-of-type(3){left:40px;bottom:50px}.connected-core i:nth-of-type(4){right:40px;bottom:50px}.comparison-summary{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:1rem;max-width:1000px;margin:2rem auto 0;padding:1rem 1.25rem;border:1px solid var(--line);border-radius:17px;background:rgba(255,255,255,.75);box-shadow:var(--shadow-sm)}.comparison-summary__icon{display:grid;place-items:center;width:38px;height:38px;border-radius:11px;color:#fff;background:var(--blue-800)}.comparison-summary p{margin:0;color:var(--muted);font-size:.72rem}.comparison-summary strong{color:var(--blue-950)}.comparison-summary .text-link{margin:0;font-size:.72rem;white-space:nowrap}
@media(max-width:980px){.comparison-shell{grid-template-columns:1fr}.comparison-transition{justify-self:center;flex-direction:row;width:auto;padding:.5rem 1rem}.comparison-transition i{transform:rotate(90deg)}.comparison-side{min-height:540px}.comparison-summary{grid-template-columns:auto 1fr}.comparison-summary .text-link{grid-column:2}}
@media(max-width:580px){.comparison-side{min-height:570px;padding:1.25rem;border-radius:22px}.comparison-side ul{grid-template-columns:1fr}.comparison-side li{min-height:42px}.comparison-side__heading h3{font-size:1.2rem}.comparison-summary{grid-template-columns:1fr;text-align:center}.comparison-summary__icon{margin-inline:auto}.comparison-summary .text-link{grid-column:auto;margin-inline:auto}.connected-core,.scattered-map{opacity:.65}}

/* Pricing plans + comparison */
#pricing{overflow:hidden;background:linear-gradient(180deg,#f8fbff,#eef4ff)}#pricing::before{content:"";position:absolute;width:520px;height:520px;right:-260px;top:80px;border:1px solid rgba(11,61,145,.06);border-radius:50%;box-shadow:0 0 0 70px rgba(11,61,145,.018),0 0 0 140px rgba(11,61,145,.012)}#pricing>.container{position:relative;z-index:2}.pricing-intro{display:flex;align-items:flex-end;justify-content:space-between;gap:2rem;margin-bottom:3rem}.pricing-intro .section-heading{margin-bottom:0}.pricing-intro .section-heading h2{max-width:18ch}.pricing-intro .toggle-group{flex:0 0 auto;margin-bottom:.4rem}.toggle-button span{display:block;margin-top:.05rem;font-size:.46rem;font-weight:600;opacity:.75}.pricing-grid{grid-template-columns:repeat(3,minmax(0,1fr));align-items:stretch;gap:1rem}.pricing-card{display:flex;flex-direction:column;min-height:560px;padding:clamp(1.5rem,3vw,2.2rem);border-radius:26px}.pricing-card h3{font-size:1.35rem}.pricing-description{min-height:74px;color:var(--muted);font-size:.82rem}.pricing-card .price{min-height:auto;margin:1rem 0 .4rem;font-size:clamp(1.5rem,2.7vw,2.15rem)}.yearly-saving{width:fit-content;margin:0 0 1rem;padding:.35rem .55rem;border-radius:99px;color:var(--blue-700)!important;background:var(--blue-100);font-size:.57rem!important;font-weight:750}.pricing-card>.button{width:100%;margin:1.25rem 0 1.75rem}.plan-includes{display:grid;gap:.65rem;margin-top:auto;padding-top:1.4rem;border-top:1px solid var(--line)}.plan-includes small{margin-bottom:.25rem;color:var(--blue-900);font-size:.62rem;font-weight:800;text-transform:uppercase;letter-spacing:.08em}.plan-includes span{display:flex;align-items:center;gap:.55rem;color:#475b76;font-size:.7rem}.plan-includes i{display:grid;place-items:center;width:20px;height:20px;border-radius:7px;color:var(--blue-700);background:var(--blue-100);font-size:.53rem;font-style:normal}.pricing-card--featured{color:#fff;border-color:transparent;background:radial-gradient(circle at 85% 10%,rgba(91,156,252,.35),transparent 28%),linear-gradient(145deg,var(--blue-950),var(--blue-800));box-shadow:0 28px 70px rgba(5,35,82,.22)}.pricing-card--featured h3,.pricing-card--featured .price{color:#fff!important}.pricing-card--featured .pricing-description{color:#c2d1e6}.pricing-card--featured .plan-includes{border-color:rgba(255,255,255,.14)}.pricing-card--featured .plan-includes small,.pricing-card--featured .plan-includes span{color:#e1ebfa}.pricing-card--featured .plan-includes i{color:#fff;background:rgba(255,255,255,.12)}.pricing-card--featured .yearly-saving{color:#fff!important;background:rgba(255,255,255,.12)}.pricing-label{align-self:flex-end;margin:-.5rem -.5rem .4rem 0;padding:.35rem .55rem;border:1px solid rgba(255,255,255,.13);border-radius:99px;color:#dbe8fa;background:rgba(255,255,255,.08);font-size:.53rem;font-weight:800;text-transform:uppercase;letter-spacing:.08em}.pricing-comparison{margin-top:clamp(4rem,8vw,7rem);padding:clamp(1.25rem,4vw,3rem);border:1px solid var(--line);border-radius:28px;background:rgba(255,255,255,.85);box-shadow:var(--shadow-md)}.pricing-comparison__heading{display:flex;align-items:flex-end;justify-content:space-between;gap:2rem;margin-bottom:2rem}.pricing-comparison__heading .eyebrow{margin-bottom:.5rem}.pricing-comparison__heading h3{margin:0;font-size:clamp(1.7rem,3vw,2.6rem)}.pricing-comparison__heading>p{max-width:430px;margin:0;color:var(--muted);font-size:.74rem}.comparison-table-wrap{overflow-x:auto;border:1px solid var(--line);border-radius:17px}.plan-table{width:100%;min-width:680px;border-collapse:collapse;background:#fff}.plan-table th,.plan-table td{padding:1rem;border-bottom:1px solid var(--line);text-align:center;font-size:.7rem}.plan-table thead th{color:var(--blue-900);background:var(--blue-50);font-size:.65rem;text-transform:uppercase;letter-spacing:.06em}.plan-table th:first-child{text-align:left}.plan-table tbody th{color:#40536e;font-weight:650}.plan-table tr:last-child th,.plan-table tr:last-child td{border-bottom:0}.plan-table td:nth-child(4),.plan-table thead th:nth-child(4){background:rgba(222,235,255,.35)}.is-included,.is-not-included{display:grid;place-items:center;width:25px;height:25px;margin:auto;border-radius:8px}.is-included{color:var(--blue-700);background:var(--blue-100);font-weight:850}.is-not-included{color:#9baabd;background:#f2f5f8}
@media(max-width:980px){.pricing-intro{align-items:flex-start;flex-direction:column}.pricing-grid{grid-template-columns:1fr}.pricing-card{min-height:auto}.pricing-description{min-height:auto}.pricing-card--featured{order:-1}.pricing-comparison__heading{align-items:flex-start;flex-direction:column}}
@media(max-width:580px){.pricing-intro .toggle-group{width:100%}.pricing-intro .toggle-button{flex:1}.pricing-comparison{padding:.75rem;border-radius:20px}.pricing-comparison__heading{padding:.75rem}.comparison-table-wrap{border-radius:13px}.plan-table th,.plan-table td{padding:.8rem .65rem}}

/* Final CTA + complete footer */
.final-cta{isolation:isolate;min-height:620px;display:grid;align-items:center}.final-cta>.container{position:relative;z-index:2}.final-cta h2{max-width:15ch}.final-cta .section-copy{max-width:680px}.button--outline-light{color:#fff;border-color:rgba(255,255,255,.35);background:rgba(255,255,255,.06)}.button--outline-light:hover{border-color:rgba(255,255,255,.65);background:rgba(255,255,255,.12)}.cta-orbit{position:absolute;border:1px solid rgba(255,255,255,.11);border-radius:50%;pointer-events:none}.cta-orbit--one{width:340px;height:340px;left:-250px;top:50%;box-shadow:0 0 0 55px rgba(255,255,255,.02),0 0 0 110px rgba(255,255,255,.015);transform:translateY(-50%)}.cta-orbit--two{width:220px;height:220px;right:-145px;top:-120px;box-shadow:0 0 50px rgba(91,156,252,.18)}.cta-capabilities{display:flex;align-items:center;justify-content:center;gap:.8rem;margin-top:2.5rem;color:#a9c0e1;font-size:.62rem;font-weight:700;letter-spacing:.04em}.cta-capabilities i{width:4px;height:4px;border-radius:50%;background:#6ea3f0}
.site-footer{padding:clamp(4rem,8vw,7rem) 0 1.5rem;color:#fff;border-top:0;background:var(--blue-950)}.site-footer .footer-grid{grid-template-columns:.75fr 1.25fr;align-items:start}.site-footer .brand{color:#fff}.site-footer .brand small{color:#91a8c8}.site-footer .brand-mark{box-shadow:none;border:1px solid rgba(255,255,255,.12)}.footer-brand>p{max-width:360px;margin:1.5rem 0;color:#aabbd3!important;font-size:.82rem!important}.footer-contact{display:inline-flex;align-items:center;gap:.55rem;color:#dce8fb;font-size:.75rem;font-weight:750}.footer-contact span{color:#78a8ee;transition:transform .2s}.footer-contact:hover span{transform:translateX(4px)}.footer-nav{display:grid;grid-template-columns:repeat(3,1fr);gap:2rem}.footer-nav>div{display:flex;flex-direction:column;align-items:flex-start;gap:.65rem}.footer-nav h3{margin-bottom:.35rem;color:#fff;font-size:.68rem;letter-spacing:.1em;text-transform:uppercase}.footer-nav a{color:#9eb1cd;font-size:.72rem;transition:color .2s,transform .2s}.footer-nav a:hover{color:#fff;transform:translateX(3px)}.site-footer .footer-row{min-height:65px;margin-top:4rem;border-top-color:rgba(255,255,255,.1);color:#788daa;font-size:.65rem}.site-footer .footer-row span{font-size:.62rem}
@media(max-width:820px){.final-cta{min-height:560px}.site-footer .footer-grid{grid-template-columns:1fr}.footer-nav{margin-top:2rem}.site-footer .footer-row{align-items:flex-start;flex-direction:column;justify-content:center;gap:.25rem}}
@media(max-width:520px){.final-cta .actions{flex-direction:column}.cta-capabilities{flex-wrap:wrap}.footer-nav{grid-template-columns:repeat(2,1fr)}.footer-nav>div:last-child{grid-column:1/3}.cta-orbit--one{opacity:.5}}

/* Interaction polish */
html{scroll-padding-top:88px}.reveal{will-change:opacity,transform;transition-delay:var(--reveal-delay,0ms)}.reveal.is-visible{will-change:auto}.site-header .nav-links>a:not(.button){position:relative}.site-header .nav-links>a:not(.button)::after{content:"";position:absolute;left:.7rem;right:.7rem;bottom:.25rem;height:2px;border-radius:99px;background:var(--blue-700);transform:scaleX(0);transform-origin:right;transition:transform .24s var(--ease)}.site-header .nav-links>a.is-current::after{transform:scaleX(1);transform-origin:left}.site-header .nav-links>a.is-current{color:var(--blue-700)}
.button{position:relative;overflow:hidden;isolation:isolate}.button::after{content:"";position:absolute;inset:-1px;background:linear-gradient(110deg,transparent 25%,rgba(255,255,255,.2) 45%,transparent 65%);transform:translateX(-130%);transition:transform .45s var(--ease);pointer-events:none}.price.is-updating{animation:priceSwap .32s var(--ease)}.toggle-button{transition:color .2s ease,background-color .26s var(--ease),box-shadow .26s var(--ease),transform .2s var(--ease)}.toggle-button[aria-pressed=true]{transform:scale(1.015)}.workflow-step--ai .workflow-icon{animation:aiCorePulse 3.8s ease-in-out infinite}.ai-orbit{animation:orbitFloat 5s ease-in-out infinite}.showcase-window,.website-browser__page,.social-studio,.ads-studio,.dashboard-shell{will-change:transform}.clinic-card__icon,.card-icon,.showcase-window__bar b{transition:transform .3s var(--ease),box-shadow .3s ease}.faq-answer{animation:faqReveal .25s var(--ease)}
@media(hover:hover) and (pointer:fine){.button:hover::after{transform:translateX(130%)}.button:active{transform:translateY(0) scale(.98)}.clinic-card:hover .clinic-card__icon,.card:hover .card-icon{transform:translateY(-2px) rotate(-2deg);box-shadow:0 12px 28px rgba(11,61,145,.14)}.showcase-visual:hover .showcase-window__bar b{transform:translateX(-3px)}.website-browser:hover .website-browser__page{transform:translateY(-4px);box-shadow:0 38px 90px rgba(5,35,82,.18)}.website-browser__page{transition:transform .4s var(--ease),box-shadow .4s ease}.pricing-card:hover .price{transform:translateY(-2px)}.price{transition:transform .25s var(--ease)}.growth-service:hover .studio-toolbar small{color:#fff;background:var(--blue-700)}.studio-toolbar small{transition:color .2s,background .2s}.comparison-side--after:hover .connected-core span{transform:scale(1.04);box-shadow:0 0 65px rgba(105,164,252,.42)}.connected-core span{transition:transform .35s var(--ease),box-shadow .35s ease}}
@keyframes priceSwap{0%{opacity:.15;transform:translateY(7px)}100%{opacity:1;transform:translateY(0)}}@keyframes aiCorePulse{0%,100%{box-shadow:0 8px 22px rgba(0,0,0,.18),0 0 0 0 rgba(142,188,255,0)}50%{box-shadow:0 8px 22px rgba(0,0,0,.18),0 0 0 7px rgba(142,188,255,.08)}}@keyframes orbitFloat{0%,100%{transform:translateY(0)}50%{transform:translateY(-5px)}}@keyframes faqReveal{from{opacity:0;transform:translateY(-5px)}to{opacity:1;transform:translateY(0)}}
@media(prefers-reduced-motion:reduce){.workflow-step--ai .workflow-icon,.ai-orbit,.price.is-updating,.faq-answer{animation:none!important}.reveal{transition-delay:0ms!important}.site-header .nav-links>a::after{transition:none!important}}
.reveal{transition-duration:.55s}
@media(hover:hover) and (pointer:fine){.dashboard-shell{transition:transform .45s var(--ease),box-shadow .45s ease}.hero-visual:hover .dashboard-shell{transform:rotateY(-2deg) rotateX(1deg) translateY(-4px);box-shadow:0 42px 100px rgba(5,35,82,.2)}}
/* Mobile QA hardening */
img,
svg {
  max-width: 100%;
  height: auto;
}

.container,
.hero-grid,
.website-showcase,
.showcase-layout,
.pricing-grid,
.comparison-shell,
.hero-visual,
.dashboard-shell {
  min-width: 0;
}

@media (min-width: 581px) and (max-width: 820px) {
  .card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .plan-table {
    width: 100%;
    min-width: 0;
  }
}

@media (max-width: 580px) {
  .section {
    padding-block: clamp(3.5rem, 14vw, 4.25rem);
  }

  .section-heading {
    margin-bottom: 2rem;
  }

  .comparison-table-wrap {
    overflow-x: visible;
  }

  .plan-table {
    min-width: 0;
    display: block;
  }

  .plan-table thead {
    display: none;
  }

  .plan-table tbody {
    display: grid;
    gap: 0.75rem;
  }

  .plan-table tr {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #fff;
  }

  .plan-table tbody th {
    grid-column: 1 / -1;
    padding: 0.8rem !important;
    background: var(--blue-50);
    text-align: left;
  }

  .plan-table td {
    display: grid;
    gap: 0.35rem;
    padding: 0.7rem 0.35rem !important;
    border-right: 1px solid var(--line);
    border-bottom: 0;
  }

  .plan-table td:last-child {
    border-right: 0;
  }

  .plan-table td::before {
    color: var(--muted);
    font-size: 0.48rem;
    font-weight: 800;
    letter-spacing: 0.06em;
  }

  .plan-table td:nth-of-type(1)::before {
    content: "CORE";
  }

  .plan-table td:nth-of-type(2)::before {
    content: "GROWTH";
  }

  .plan-table td:nth-of-type(3)::before {
    content: "COMPLETE";
  }

  .comparison-side {
    min-height: auto;
    padding-bottom: 6rem;
  }

  .scattered-map,
  .connected-core {
    bottom: -135px;
  }

  .price {
    overflow-wrap: anywhere;
  }
}

@media (max-width: 430px) {
  :root {
    --text-xl: clamp(1.9rem, 9vw, 2.35rem);
    --text-lg: 1rem;
  }

  h2 {
    letter-spacing: -0.035em;
  }

  .navbar {
    min-height: 68px;
  }

  .nav-links {
    inset: 68px 0.75rem auto;
    max-height: calc(100vh - 80px);
    overscroll-behavior: contain;
  }

  .nav-toggle {
    min-height: 44px;
  }

  .hero {
    padding-top: 3.25rem;
  }

  .hero-visual,
  .dashboard-shell {
    max-width: 100%;
  }

  .hero-visual {
    padding-top: 4.2rem;
  }

  .floating-card--ai {
    top: 0;
    right: auto;
    left: 0;
  }

  .floating-card--patient {
    display: none;
  }

  .dashboard-topbar {
    gap: 0.45rem;
    padding-inline: 0.7rem;
  }

  .ai-workflow {
    padding: 0.75rem;
    border-radius: 22px;
  }

  .workflow-step {
    padding: 0.7rem;
  }

  .workflow-note {
    font-size: 0.7rem;
  }

  .ai-orbit {
    display: none;
  }

  .website-floating--mobile {
    left: 0;
  }

  .website-floating--booking {
    right: 0;
  }

  .website-browser__bar > div {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .booking-ui,
  .records-ui,
  .doctors-ui,
  .calendar-ui,
  .chat-thread,
  .cms-editor {
    padding: 0.6rem;
  }

  .digital-card > div:last-child {
    gap: 1rem;
    flex-wrap: wrap;
  }

  .campaign-summary {
    gap: 0.6rem;
    flex-wrap: wrap;
  }

  .faq-question {
    padding: 1rem 3rem 1rem 1rem;
    line-height: 1.4;
  }

  .faq-answer {
    padding: 0 1rem 1rem;
  }
}

/* Second section: Manage, automate, and grow */
.platform-highlights .section-heading { max-width: none; margin-bottom: clamp(2rem, 3vw, 3rem); }
.platform-highlights .section-heading h2 { max-width: none; font-size: clamp(2rem, 3.3vw, 3.6rem); line-height: 1.12; }
.platform-highlights .section-heading .section-copy { max-width: 52ch; margin-bottom: 0; font-size: clamp(1rem, 1.25vw, 1.15rem); line-height: 1.75; }
@media (min-width: 1081px) {
  .platform-highlights .section-heading { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); align-items: center; column-gap: clamp(2rem, 4vw, 4rem); }
  .platform-highlights .section-heading > .eyebrow { grid-column: 1 / -1; margin-bottom: 1rem; }
  .platform-highlights .section-heading h2 { margin-bottom: 0; }
  .platform-highlights .section-heading .section-copy { padding-left: 1.5rem; border-left: 2px solid var(--blue-200); }
}

.highlight-card {
  display: flex;
  flex-direction: column;
}

.highlight-card > small {
  margin-bottom: 0.65rem;
  color: var(--blue-700);
  font-size: 0.62rem;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.highlight-card h3 {
  max-width: 18ch;
}

.highlight-card:nth-child(2) {
  color: #fff;
  border-color: transparent;
  background: radial-gradient(circle at 85% 10%, rgba(91, 156, 252, 0.32), transparent 30%), linear-gradient(145deg, var(--blue-950), var(--blue-800));
  box-shadow: 0 24px 60px rgba(5, 35, 82, 0.2);
  transform: translateY(-8px);
}

.highlight-card:nth-child(2) > small,
.highlight-card:nth-child(2) p {
  color: #d5e3f7;
}

.highlight-card:nth-child(2) .card-icon {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.16);
}

@media (hover: hover) and (pointer: fine) {
  .highlight-card:nth-child(2):hover {
    transform: translateY(-14px);
    box-shadow: 0 30px 70px rgba(5, 35, 82, 0.25);
  }
}

@media (max-width: 820px) {
  .highlight-card:nth-child(2) {
    transform: none;
  }
}

/* Back to top */
.back-to-top {
  position: fixed;
  right: clamp(1rem, 2.5vw, 2rem);
  bottom: clamp(1rem, 2.5vw, 2rem);
  z-index: 40;
  display: grid;
  place-items: center;
  width: 3.1rem;
  height: 3.1rem;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 1rem;
  color: #fff;
  background: linear-gradient(145deg, var(--blue-700), var(--blue-900));
  box-shadow: 0 14px 34px rgba(5, 35, 82, 0.28);
  font-size: 1.3rem;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px) scale(0.92);
  transition: opacity 0.22s ease, visibility 0.22s ease, transform 0.25s var(--ease), box-shadow 0.25s ease;
}

.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.back-to-top:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 42px rgba(5, 35, 82, 0.38);
}

/* Compact FAQ */
#faq {
  padding-block: clamp(3.75rem, 6vw, 5.5rem);
}

#faq .section-heading {
  max-width: 680px;
  margin-bottom: 1.75rem;
}

#faq .section-heading h2 {
  margin-bottom: 0.85rem;
  font-size: clamp(2.2rem, 3.8vw, 3.55rem);
}

#faq .section-heading .section-copy {
  font-size: 1rem;
  line-height: 1.6;
}

#faq .faq-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  max-width: 1080px;
  gap: 0.55rem;
}

#faq .faq-item {
  border-radius: 1rem;
  box-shadow: 0 5px 16px rgba(5, 35, 82, 0.045);
}

#faq .faq-question {
  padding: 0.9rem 3.25rem 0.9rem 1.1rem;
  font-size: 0.88rem;
  line-height: 1.4;
}

#faq .faq-question::after {
  right: 1.1rem;
  font-size: 1.15rem;
}

#faq .faq-answer {
  padding: 0 3.25rem 1rem 1.1rem;
  font-size: 0.82rem;
  line-height: 1.65;
}

@media (max-width: 820px) {
  #faq .faq-list {
    grid-template-columns: 1fr;
    max-width: 820px;
  }
}

@media (max-width: 580px) {
  #faq {
    padding-block: 3.5rem;
  }

  #faq .section-heading {
    margin-bottom: 1.35rem;
  }

  #faq .faq-question {
    padding-block: 0.82rem;
  }
}

@media (max-width: 580px) {
  .back-to-top {
    width: 2.85rem;
    height: 2.85rem;
    border-radius: 0.85rem;
  }
}

/* Simulated multilingual voice assistant demo */
.voice-demo {
  margin-top: 0.8rem;
  padding: 0.8rem;
  border: 1px solid rgba(145, 188, 250, 0.2);
  border-radius: 18px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.09), rgba(50, 116, 216, 0.1));
}

.voice-demo__heading,
.voice-demo__heading > div,
.voice-listening {
  display: flex;
  align-items: center;
}

.voice-demo__heading {
  justify-content: space-between;
  gap: 0.75rem;
}

.voice-demo__heading > div,
.voice-listening {
  gap: 0.55rem;
}

.voice-demo__heading small,
.voice-demo__heading strong {
  display: block;
}

.voice-demo__heading small {
  color: #9fbee9;
  font-size: 0.48rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.voice-demo__heading strong {
  margin-top: 0.08rem;
  font-size: 0.68rem;
}

.voice-demo__heading > span {
  padding: 0.26rem 0.45rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  color: #aebfda;
  background: rgba(255, 255, 255, 0.05);
  font-size: 0.46rem;
  font-weight: 750;
}

.voice-demo__mic,
.voice-mic-ring {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 30px;
  height: 30px;
  border: 1px solid rgba(166, 201, 252, 0.3);
  border-radius: 10px;
  color: #fff;
  background: linear-gradient(145deg, #397bdc, var(--blue-800));
  font-size: 0.42rem;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.16);
}

.voice-language-tabs {
  display: flex;
  gap: 0.32rem;
  margin-top: 0.65rem;
  padding-bottom: 0.15rem;
  overflow-x: auto;
  scrollbar-width: none;
}

.voice-language-tabs::-webkit-scrollbar {
  display: none;
}

.voice-language-tabs button {
  flex: 0 0 auto;
  padding: 0.38rem 0.55rem;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 999px;
  color: #b7c9e3;
  background: rgba(255, 255, 255, 0.05);
  font: inherit;
  font-size: 0.5rem;
  font-weight: 750;
  cursor: pointer;
  transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.voice-language-tabs button[aria-selected="true"] {
  color: var(--blue-900);
  border-color: #fff;
  background: #fff;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.16);
}

.voice-language-tabs button:focus-visible {
  outline: 2px solid #9fc5ff;
  outline-offset: 2px;
}

.voice-demo__stage {
  position: relative;
  min-height: 220px;
  margin-top: 0.55rem;
  padding: 0.65rem;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 14px;
  background: rgba(2, 17, 44, 0.42);
}

.voice-listening {
  color: #cfe0fa;
  animation: voiceStage 9s infinite both;
}

.voice-listening strong {
  display: block;
  font-size: 0.56rem;
}

.voice-mic-ring {
  width: 27px;
  height: 27px;
  border-radius: 50%;
  animation: voiceMicPulse 1.3s ease-in-out infinite;
}

.voice-wave {
  display: flex;
  align-items: center;
  gap: 2px;
  height: 12px;
  margin-top: 0.15rem;
}

.voice-wave i {
  width: 2px;
  height: 5px;
  border-radius: 99px;
  background: #80aff5;
  animation: voiceWave 0.8s ease-in-out infinite alternate;
}

.voice-wave i:nth-child(2),
.voice-wave i:nth-child(4) { animation-delay: 0.16s; }
.voice-wave i:nth-child(3) { animation-delay: 0.32s; }
.voice-wave i:nth-child(5) { animation-delay: 0.48s; }

.voice-bubble {
  width: min(84%, 440px);
  margin: 0.48rem 0 0;
  padding: 0.55rem 0.65rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px 12px 12px 4px;
  color: #e8f1ff;
  background: rgba(255, 255, 255, 0.07);
  font-size: 0.56rem;
  line-height: 1.5;
  animation: voicePatient 9s infinite both;
}

.voice-bubble b,
.voice-bubble span {
  display: block;
}

.voice-bubble b {
  margin-bottom: 0.18rem;
  color: #a9c9f8;
  font-size: 0.48rem;
}

.voice-bubble--ai {
  position: relative;
  margin-left: auto;
  border-color: rgba(126, 176, 248, 0.25);
  border-radius: 12px 12px 4px 12px;
  background: rgba(52, 119, 221, 0.2);
  animation-name: voiceAssistant;
}

.typing-dots {
  display: flex;
  gap: 3px;
  margin-top: 0.35rem;
  animation: typingVisibility 9s infinite both;
}

.typing-dots em {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #bcd5ff;
  animation: typingDot 0.7s ease-in-out infinite alternate;
}

.typing-dots em:nth-child(2) { animation-delay: 0.14s; }
.typing-dots em:nth-child(3) { animation-delay: 0.28s; }

.voice-demo__results {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-top: 0.55rem;
  animation: voiceResults 9s infinite both;
}

.voice-demo__results span {
  padding: 0.35rem 0.48rem;
  border: 1px solid rgba(113, 213, 179, 0.18);
  border-radius: 999px;
  color: #9ee2ca;
  background: rgba(22, 138, 102, 0.1);
  font-size: 0.47rem;
  font-weight: 750;
}

.voice-demo.is-restarting .voice-listening,
.voice-demo.is-restarting .voice-bubble,
.voice-demo.is-restarting .typing-dots,
.voice-demo.is-restarting .voice-demo__results {
  animation-name: voiceStage;
}

.voice-demo.is-restarting .voice-bubble--patient { animation-name: voicePatient; }
.voice-demo.is-restarting .voice-bubble--ai { animation-name: voiceAssistant; }
.voice-demo.is-restarting .typing-dots { animation-name: typingVisibility; }
.voice-demo.is-restarting .voice-demo__results { animation-name: voiceResults; }

@keyframes voiceStage {
  0%, 15% { opacity: 1; transform: translateY(0); }
  21%, 96% { opacity: 0.55; transform: translateY(-2px); }
  100% { opacity: 1; transform: translateY(0); }
}

@keyframes voicePatient {
  0%, 14% { opacity: 0; transform: translateY(5px); }
  20%, 96% { opacity: 1; transform: translateY(0); }
  100% { opacity: 0; }
}

@keyframes voiceAssistant {
  0%, 34% { opacity: 0; transform: translateY(5px); }
  42%, 96% { opacity: 1; transform: translateY(0); }
  100% { opacity: 0; }
}

@keyframes typingVisibility {
  0%, 35% { opacity: 0; }
  38%, 48% { opacity: 1; }
  53%, 100% { opacity: 0; }
}

@keyframes voiceResults {
  0%, 58% { opacity: 0; transform: translateY(5px); }
  66%, 96% { opacity: 1; transform: translateY(0); }
  100% { opacity: 0; }
}

@keyframes voiceWave {
  from { height: 4px; opacity: 0.55; }
  to { height: 12px; opacity: 1; }
}

@keyframes voiceMicPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(126, 176, 248, 0); }
  50% { box-shadow: 0 0 0 5px rgba(126, 176, 248, 0.12); }
}

@media (max-width: 720px) {
  .voice-demo {
    padding: 0.65rem;
  }

  .voice-demo__stage {
    min-height: 235px;
    padding: 0.55rem;
  }

  .voice-bubble {
    width: 92%;
    font-size: 0.6rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .voice-listening,
  .voice-mic-ring,
  .voice-wave i,
  .voice-bubble,
  .typing-dots,
  .typing-dots em,
  .voice-demo__results {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }

  .typing-dots {
    display: none;
  }
}

/* Hero-only AI patient journey */
.hero-ai-card {
  padding: 0.75rem;
  border: 1px solid rgba(40, 114, 217, 0.2);
  border-radius: 16px;
  background: linear-gradient(145deg, #fff, #eef5ff);
  box-shadow: 0 12px 30px rgba(11, 61, 145, 0.08);
  animation: heroStageIn 0.45s 0.2s var(--ease) both;
}

.hero-ai-card__head {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.65rem;
}

.hero-ai-card__head small,
.hero-ai-card__head strong,
.hero-confirmed small,
.hero-confirmed strong {
  display: block;
}

.hero-ai-card__head small {
  color: var(--blue-700);
  font-size: 0.55rem;
  font-weight: 800;
}

.hero-ai-card__head strong {
  margin-top: 0.1rem;
  color: var(--blue-950);
  font-size: 0.72rem;
}

.hero-online {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.25rem 0.45rem;
  border-radius: 999px;
  color: var(--success);
  background: rgba(22, 138, 102, 0.09);
  font-size: 0.5rem;
  font-weight: 800;
}

.hero-online i,
.hero-automation-grid article > strong i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--success);
}

.hero-chat {
  display: grid;
  gap: 0.4rem;
  margin-top: 0.65rem;
}

.hero-chat p {
  width: 78%;
  margin: 0;
  padding: 0.48rem 0.6rem;
  border: 1px solid var(--line);
  border-radius: 10px 10px 10px 3px;
  color: #40536f;
  background: #fff;
  font-size: 0.54rem;
  line-height: 1.45;
  animation: heroStageIn 0.4s 0.5s var(--ease) both;
}

.hero-chat p b {
  display: block;
  margin-bottom: 0.16rem;
  color: var(--blue-900);
  font-size: 0.48rem;
}

.hero-chat .hero-chat__ai {
  justify-self: end;
  border-radius: 10px 10px 3px 10px;
  border-color: rgba(40, 114, 217, 0.18);
  background: var(--blue-50);
  animation-delay: 0.8s;
}

.hero-confirmed {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.55rem;
  padding: 0.5rem 0.6rem;
  border-radius: 10px;
  background: rgba(22, 138, 102, 0.08);
  animation: heroStageIn 0.4s 1.1s var(--ease) both;
}

.hero-confirmed > span {
  display: grid;
  place-items: center;
  width: 23px;
  height: 23px;
  border-radius: 8px;
  color: var(--success);
  background: #fff;
  font-size: 0.65rem;
  font-weight: 900;
}

.hero-confirmed small {
  color: var(--success);
  font-size: 0.46rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.hero-confirmed strong {
  margin-top: 0.08rem;
  color: var(--blue-950);
  font-size: 0.58rem;
}

.hero-automation-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.55rem;
  margin-top: 0.55rem;
}

.hero-automation-grid article {
  min-width: 0;
  padding: 0.62rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  animation: heroStageIn 0.4s 1.4s var(--ease) both;
}

.hero-automation-grid article:nth-child(2) {
  animation-delay: 1.7s;
}

.hero-automation-grid article > div {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.hero-automation-icon {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 23px;
  height: 23px;
  border-radius: 8px;
  color: var(--blue-700);
  background: var(--blue-100);
  font-size: 0.55rem;
}

.hero-automation-grid small {
  color: var(--blue-950);
  font-size: 0.53rem;
  font-weight: 800;
}

.hero-automation-grid p {
  min-height: 2.6em;
  margin: 0.45rem 0;
  color: var(--muted);
  font-size: 0.48rem;
  line-height: 1.4;
}

.hero-automation-grid p b {
  color: var(--blue-700);
}

.hero-automation-grid article > strong {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  color: var(--success);
  font-size: 0.46rem;
}

.hero-workflow {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0;
  margin: 0.6rem 0 0;
  padding: 0.55rem 0.45rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(247, 250, 255, 0.9);
  list-style: none;
  animation: heroStageIn 0.4s 2s var(--ease) both;
}

.hero-workflow li {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 0.25rem;
  min-width: 0;
  text-align: center;
}

.hero-workflow li:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 10px;
  left: calc(50% + 11px);
  width: calc(100% - 22px);
  height: 1px;
  background: var(--blue-300);
}

.hero-workflow i {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 21px;
  height: 21px;
  border-radius: 50%;
  color: #fff;
  background: var(--blue-800);
  font-size: 0.4rem;
  font-style: normal;
  font-weight: 850;
}

.hero-workflow span {
  color: #52657f;
  font-size: 0.4rem;
  font-weight: 700;
  line-height: 1.2;
}

.floating-online {
  color: var(--success);
  font-style: normal;
  font-weight: 800;
}

@keyframes heroStageIn {
  from { opacity: 0; transform: translateY(5px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 580px) {
  .hero-ai-card {
    padding: 0.6rem;
  }

  .hero-chat p {
    width: 90%;
  }

  .hero-automation-grid {
    grid-template-columns: 1fr;
  }

  .hero-automation-grid p {
    min-height: 0;
  }

  .hero-workflow {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    row-gap: 0.6rem;
  }

  .hero-workflow li:nth-child(3)::after {
    display: none;
  }
}

@media (max-width: 430px) {
  .hero-ai-card__head {
    grid-template-columns: auto 1fr;
  }

  .hero-online {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-ai-card,
  .hero-chat p,
  .hero-confirmed,
  .hero-automation-grid article,
  .hero-workflow {
    animation: none !important;
  }
}

@media (max-width: 360px) {
  .hero h1 {
    font-size: 2.35rem;
    line-height: 1.02;
    letter-spacing: -0.035em;
  }

  .dashboard-topbar .status-pill,
  .website-floating--booking {
    display: none;
  }

  .content-calendar {
    grid-template-columns: 1fr;
  }

  .content-tile--feature {
    grid-column: auto;
  }

  .invoice-meta {
    grid-template-columns: 1fr 1fr;
  }

  .footer-nav {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .footer-nav > div:last-child {
    grid-column: auto;
  }
}

/* Patient journey workspace + mixed pricing packages */
.workspace-journey {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0;
  margin: 0;
  padding: 0.8rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: linear-gradient(145deg, #fff, var(--blue-50));
  list-style: none;
}

.workspace-journey li {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 0.35rem;
  min-width: 0;
  color: var(--blue-950);
  font-size: 0.48rem;
  font-weight: 750;
  text-align: center;
}

.workspace-journey li:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 12px;
  left: calc(50% + 13px);
  width: calc(100% - 26px);
  height: 1px;
  background: linear-gradient(90deg, var(--blue-300), var(--blue-600));
}

.workspace-journey i {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 25px;
  height: 25px;
  border-radius: 50%;
  color: #fff;
  background: var(--blue-800);
  box-shadow: 0 5px 12px rgba(11, 61, 145, 0.2);
  font-size: 0.48rem;
  font-style: normal;
}

.pricing-card:nth-child(2) {
  border-color: var(--line);
  box-shadow: var(--shadow-sm);
}

.pricing-card--featured {
  border-color: transparent;
  box-shadow: 0 28px 70px rgba(5, 35, 82, 0.22);
}

.pricing-label {
  align-self: flex-start;
  margin: -0.2rem 0 1rem;
  color: var(--blue-800);
  background: var(--blue-100);
  border-color: rgba(11, 61, 145, 0.1);
}

.pricing-card--featured .pricing-label {
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.13);
}

.pricing-kicker {
  margin: 0 0 0.65rem;
  color: var(--blue-700) !important;
  font-size: 0.63rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.pricing-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
  margin: 1.25rem 0 0.75rem;
}

.pricing-options > div {
  min-width: 0;
  padding: 0.85rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--blue-50);
}

.pricing-options small,
.pricing-options strong {
  display: block;
}

.pricing-options small {
  margin-bottom: 0.3rem;
  color: var(--muted);
  font-size: 0.55rem;
  font-weight: 750;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.pricing-options strong {
  color: var(--blue-900);
  font-size: clamp(0.85rem, 1.4vw, 1.05rem);
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.pricing-card--featured .pricing-options > div {
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.08);
}

.pricing-card--featured .pricing-options small {
  color: #bcd0ec;
}

.pricing-card--featured .pricing-options strong {
  color: #fff;
}

.pricing-note {
  min-height: 2.8em;
  margin: 0;
  color: var(--muted) !important;
  font-size: 0.62rem;
  line-height: 1.5;
}

.pricing-card--featured .pricing-note,
.pricing-card--featured .pricing-kicker {
  color: #c2d1e6 !important;
}

@media (max-width: 980px) {
  .pricing-card--featured {
    order: initial;
  }
}

@media (max-width: 430px) {
  .workspace-journey {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    row-gap: 0.85rem;
  }

  .workspace-journey li:nth-child(3)::after {
    display: none;
  }

  .pricing-options {
    grid-template-columns: 1fr;
  }

  .pricing-note {
    min-height: 0;
  }
}

/* Multi-step voice assistant conversation */
.voice-language-tabs button {
  padding: 0.52rem 0.72rem;
  font-size: 0.68rem;
}

.voice-demo__heading small {
  font-size: 0.6rem;
}

.voice-demo__heading strong {
  font-size: 0.86rem;
}

.voice-demo__heading > span {
  font-size: 0.6rem;
}

.voice-demo__stage {
  min-height: 590px;
}

.voice-listening {
  animation: none;
}

.voice-listening strong {
  font-size: 0.76rem;
}

.voice-conversation {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-top: 0.65rem;
}

.voice-conversation .voice-bubble {
  width: min(72%, 760px);
  margin: 0;
  padding: 0.75rem 0.85rem;
  font-size: 0.78rem;
  line-height: 1.55;
  opacity: 0;
  transform: translateY(7px);
  animation: none;
  transition: opacity 0.32s var(--ease), transform 0.32s var(--ease);
}

.voice-conversation .voice-bubble--ai {
  margin-left: auto;
}

.voice-conversation .voice-bubble.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.voice-conversation .voice-bubble.is-typing {
  opacity: 1;
  transform: translateY(0);
}

.voice-conversation .voice-bubble.is-typing > span {
  display: none;
}

.voice-conversation .voice-bubble b {
  margin-bottom: 0.28rem;
  font-size: 0.65rem;
}

.voice-conversation .typing-dots {
  opacity: 1;
  animation: none;
}

.voice-demo__results {
  margin-top: 0.75rem;
  opacity: 0;
  transform: translateY(7px);
  animation: none;
  transition: opacity 0.32s var(--ease), transform 0.32s var(--ease);
}

.voice-demo__results.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.voice-demo__results span {
  padding: 0.48rem 0.66rem;
  font-size: 0.66rem;
}

@media (max-width: 720px) {
  .voice-language-tabs button {
    padding: 0.48rem 0.65rem;
    font-size: 0.64rem;
  }

  .voice-demo__stage {
    min-height: 720px;
  }

  .voice-conversation .voice-bubble {
    width: 94%;
    padding: 0.7rem 0.75rem;
    font-size: 0.72rem;
  }

  .voice-conversation .voice-bubble b {
    font-size: 0.61rem;
  }

  .voice-demo__results {
    display: grid;
    grid-template-columns: 1fr;
  }

  .voice-demo__results span {
    font-size: 0.64rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .voice-conversation .voice-bubble,
  .voice-demo__results {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* Readable typography for the expanded AI section */
.ai-section__intro .section-copy {
  font-size: clamp(1.05rem, 1.35vw, 1.35rem);
  line-height: 1.7;
}

.ai-workflow__header small {
  font-size: 0.72rem;
}

.ai-workflow__header strong {
  font-size: 1rem;
}

.workflow-status {
  padding: 0.48rem 0.72rem;
  font-size: 0.72rem;
}

.workflow-step {
  min-height: 175px;
  padding: 1.25rem;
}

.workflow-number {
  font-size: 0.7rem;
}

.workflow-icon {
  width: 42px;
  height: 42px;
  font-size: 1rem;
}

.workflow-copy strong {
  font-size: clamp(0.92rem, 1vw, 1.08rem);
  line-height: 1.3;
}

.workflow-copy small {
  margin-top: 0.45rem;
  font-size: clamp(0.75rem, 0.8vw, 0.88rem);
  line-height: 1.5;
}

.workflow-note {
  font-size: 0.76rem;
}

@media (max-width: 720px) {
  .workflow-step {
    min-height: auto;
    padding: 1rem;
  }

  .workflow-copy strong {
    font-size: 0.96rem;
  }

  .workflow-copy small {
    font-size: 0.78rem;
  }

  .ai-workflow__header strong {
    font-size: 0.9rem;
  }
}

/* Connected patient website + clinic admin showcase */
.experience-flow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.7rem;
  border-bottom: 1px solid var(--line);
  color: var(--blue-800);
  background: var(--blue-50);
}

.experience-flow span {
  padding: 0.35rem 0.5rem;
  border: 1px solid rgba(11, 61, 145, 0.1);
  border-radius: 999px;
  background: #fff;
  font-size: 0.48rem;
  font-weight: 800;
  text-align: center;
}

.experience-flow i {
  color: var(--blue-400);
  font-size: 0.6rem;
  font-style: normal;
}

.connected-site-demo {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  min-height: 420px;
}

.patient-site-pane,
.clinic-admin-pane {
  min-width: 0;
  padding: 0.9rem;
}

.patient-site-pane {
  background: linear-gradient(145deg, #fff, #eef5ff);
}

.clinic-admin-pane {
  color: #fff;
  border-left: 1px solid var(--line);
  background: radial-gradient(circle at 90% 5%, rgba(86, 151, 248, 0.25), transparent 30%), linear-gradient(145deg, var(--blue-950), var(--blue-800));
}

.pane-label,
.patient-site-nav,
.admin-title,
.admin-alert,
.admin-patient {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.55rem;
}

.pane-label {
  margin-bottom: 0.75rem;
  color: var(--muted);
  font-size: 0.48rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.pane-label b {
  padding: 0.25rem 0.4rem;
  border-radius: 999px;
  color: var(--success);
  background: rgba(22, 138, 102, 0.09);
  font-size: 0.43rem;
}

.clinic-admin-pane .pane-label {
  color: #9fbee9;
}

.clinic-admin-pane .pane-label b {
  color: #9ee2ca;
  background: rgba(113, 213, 179, 0.1);
}

.patient-site-nav {
  padding-bottom: 0.65rem;
  border-bottom: 1px solid var(--line);
  color: var(--blue-950);
  font-size: 0.52rem;
}

.patient-site-nav strong {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.patient-site-nav strong i {
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border-radius: 7px;
  color: #fff;
  background: var(--blue-800);
  font-style: normal;
}

.patient-site-nav > span {
  color: var(--muted);
  font-size: 0.44rem;
}

.patient-site-hero {
  padding: 1.25rem 0.25rem 1rem;
}

.patient-site-hero small {
  color: var(--blue-700);
  font-size: 0.48rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.patient-site-hero h3 {
  max-width: 12ch;
  margin: 0.45rem 0;
  color: var(--blue-950);
  font-size: clamp(1.2rem, 2vw, 1.7rem);
  line-height: 1.08;
}

.patient-site-hero p {
  max-width: 34ch;
  margin-bottom: 0.75rem;
  color: var(--muted);
  font-size: 0.55rem;
  line-height: 1.5;
}

.patient-site-hero > b {
  display: inline-flex;
  padding: 0.45rem 0.6rem;
  border-radius: 999px;
  color: #fff;
  background: var(--blue-800);
  font-size: 0.48rem;
}

.patient-ai-chat {
  padding: 0.7rem;
  border: 1px solid rgba(11, 61, 145, 0.12);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 12px 28px rgba(11, 61, 145, 0.09);
}

.patient-ai-chat > div {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.4rem;
}

.patient-ai-chat > div > span {
  display: grid;
  place-items: center;
  width: 25px;
  height: 25px;
  border-radius: 8px;
  color: #fff;
  background: var(--blue-800);
  font-size: 0.55rem;
}

.patient-ai-chat strong {
  color: var(--blue-950);
  font-size: 0.54rem;
}

.patient-ai-chat small {
  color: var(--success);
  font-size: 0.42rem;
  font-weight: 750;
}

.patient-ai-chat p {
  margin: 0.55rem 0;
  padding: 0.5rem;
  border-radius: 9px;
  color: #40536f;
  background: var(--blue-50);
  font-size: 0.5rem;
}

.patient-ai-chat em {
  display: flex;
  justify-content: space-between;
  padding: 0.45rem 0.55rem;
  border: 1px solid var(--line);
  border-radius: 9px;
  color: var(--muted);
  font-size: 0.47rem;
  font-style: normal;
}

.admin-title small,
.admin-title strong,
.admin-alert small,
.admin-alert strong,
.admin-patient small,
.admin-patient strong,
.admin-stats small,
.admin-stats strong {
  display: block;
}

.admin-title small {
  color: #9fbee9;
  font-size: 0.46rem;
}

.admin-title strong {
  margin-top: 0.1rem;
  font-size: 0.72rem;
}

.admin-title > span {
  padding: 0.3rem 0.45rem;
  border-radius: 8px;
  color: #cfe0fa;
  background: rgba(255, 255, 255, 0.07);
  font-size: 0.46rem;
}

.admin-alert,
.admin-patient,
.admin-stats,
.admin-automation {
  margin-top: 0.65rem;
}

.admin-alert,
.admin-patient {
  padding: 0.65rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.07);
}

.admin-alert > i,
.admin-patient > span {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  border-radius: 9px;
  color: var(--blue-800);
  background: #fff;
  font-size: 0.55rem;
  font-style: normal;
  font-weight: 850;
}

.admin-alert > div,
.admin-patient > div {
  margin-right: auto;
}

.admin-alert small,
.admin-patient small {
  color: #aebfda;
  font-size: 0.44rem;
}

.admin-alert strong,
.admin-patient strong {
  margin-top: 0.12rem;
  font-size: 0.56rem;
}

.admin-alert em,
.admin-patient b {
  color: #9ee2ca;
  font-size: 0.43rem;
  font-style: normal;
}

.admin-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.55rem;
}

.admin-stats div {
  padding: 0.65rem;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.05);
}

.admin-stats small {
  color: #9fbee9;
  font-size: 0.43rem;
}

.admin-stats strong {
  margin-top: 0.18rem;
  font-size: 0.58rem;
}

.admin-automation {
  display: grid;
  gap: 0.35rem;
}

.admin-automation span {
  padding: 0.45rem 0.55rem;
  border-radius: 9px;
  color: #a9e3cf;
  background: rgba(113, 213, 179, 0.08);
  font-size: 0.46rem;
  font-weight: 750;
}

@media (max-width: 620px) {
  .experience-flow {
    justify-content: flex-start;
    overflow-x: auto;
  }

  .experience-flow span,
  .experience-flow i {
    flex: 0 0 auto;
  }

  .connected-site-demo {
    grid-template-columns: 1fr;
  }

  .clinic-admin-pane {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .website-browser__page {
    min-height: auto;
  }
}

/* Sticky navigation: softly fades into a compact surface while scrolling. */
#site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  width: 100%;
}

.site-header {
  position: relative;
  top: auto;
  z-index: auto;
  background: rgba(255, 255, 255, 0.72);
  border-bottom-color: transparent;
  box-shadow: none;
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  backdrop-filter: blur(14px) saturate(140%);
  transition:
    background-color 0.35s ease,
    border-color 0.35s ease,
    box-shadow 0.35s ease,
    opacity 0.35s ease;
  animation: navbar-fade-in 0.45s ease both;
}

.site-header .navbar {
  transition: min-height 0.35s ease;
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.96);
  border-bottom-color: rgba(17, 67, 139, 0.12);
  box-shadow: 0 10px 32px rgba(5, 35, 82, 0.1);
}

.site-header.is-scrolled .navbar {
  min-height: 68px;
}

@keyframes navbar-fade-in {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 900px) {
  .site-header.is-scrolled .navbar {
    min-height: 64px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .site-header {
    animation: none;
  }

  .site-header,
  .site-header .navbar {
    transition: none;
  }
}

/* Larger, more readable site typography */
html {
  font-size: 112.5%;
}

body {
  font-size: 1rem;
}

.nav-links > a:not(.button),
.button,
.faq-question,
.faq-answer,
.card p,
.pricing-card p,
.feature-list li,
.footer-nav a {
  font-size: max(1em, var(--text-sm));
}

/* Contact conversion section */
.final-cta {
  min-height: auto;
  padding-block: clamp(5.5rem, 9vw, 8rem);
  text-align: left;
}

.final-cta .container {
  position: relative;
  z-index: 2;
}

.contact-cta-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(480px, 1.14fr);
  align-items: center;
  gap: clamp(3rem, 7vw, 7rem);
}

.contact-cta-copy h2 {
  max-width: 11ch;
  margin-inline: 0;
  font-size: clamp(3rem, 5vw, 5.35rem);
}

.contact-cta-copy .section-copy {
  max-width: 590px;
  margin-inline: 0;
  font-size: clamp(1.08rem, 1.45vw, 1.3rem);
}

.contact-points {
  display: grid;
  gap: 0.75rem;
  margin-top: 2rem;
}

.contact-points span {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.92rem;
  font-weight: 700;
}

.contact-points i {
  display: grid;
  place-items: center;
  width: 2.25rem;
  height: 2.25rem;
  flex: 0 0 auto;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 0.7rem;
  color: #c8dcff;
  background: rgba(255, 255, 255, 0.08);
  font-size: 0.67rem;
  font-style: normal;
}

.contact-form {
  position: relative;
  padding: clamp(1.4rem, 3vw, 2.25rem);
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: 2rem;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 34px 90px rgba(0, 12, 40, 0.3);
  backdrop-filter: blur(20px);
}

.contact-form::before {
  content: "";
  position: absolute;
  inset: 0.7rem;
  z-index: -1;
  border: 1px solid rgba(11, 61, 145, 0.08);
  border-radius: 1.5rem;
  pointer-events: none;
}

.contact-form__heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--line);
}

.contact-form__heading small {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--blue-700);
  font-size: 0.69rem;
  font-weight: 850;
  letter-spacing: 0.11em;
}

.contact-form__heading h3 {
  margin: 0;
  color: var(--blue-950);
  font-size: clamp(1.45rem, 2vw, 1.9rem);
}

.contact-form__heading > span {
  max-width: 150px;
  padding: 0.45rem 0.65rem;
  border-radius: 999px;
  color: var(--success);
  background: rgba(22, 138, 102, 0.09);
  font-size: 0.68rem;
  font-weight: 750;
  line-height: 1.35;
  text-align: center;
}

.contact-form__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.contact-form label {
  display: grid;
  gap: 0.4rem;
  min-width: 0;
}

.contact-form label > span {
  color: #344a68;
  font-size: 0.75rem;
  font-weight: 750;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  min-width: 0;
  border: 1px solid rgba(11, 61, 145, 0.16);
  border-radius: 0.85rem;
  outline: 0;
  color: var(--ink);
  background: #f8fbff;
  font: inherit;
  font-size: 0.86rem;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}

.contact-form input,
.contact-form select {
  min-height: 3.15rem;
  padding: 0 0.9rem;
}

.contact-form textarea {
  min-height: 6rem;
  padding: 0.8rem 0.9rem;
  resize: vertical;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--blue-600);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(40, 114, 217, 0.11);
}

.contact-form__message {
  grid-column: 1 / -1;
}

.contact-form .contact-form__consent {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  margin: 1rem 0;
}

.contact-form__consent input {
  width: 1rem;
  min-height: auto;
  height: 1rem;
  margin-top: 0.16rem;
  accent-color: var(--blue-800);
}

.contact-form .contact-form__consent span {
  color: var(--muted);
  font-size: 0.69rem;
  font-weight: 550;
  line-height: 1.5;
}

.contact-form__submit {
  width: 100%;
  min-height: 3.25rem;
}

.contact-form__submit:disabled {
  opacity: 0.65;
  cursor: wait;
  transform: none;
}

.contact-form__status {
  min-height: 1.4em;
  margin: 0.7rem 0 0;
  font-size: 0.72rem;
  font-weight: 700;
  text-align: center;
}

.contact-form__status.is-success { color: var(--success); }
.contact-form__status.is-error { color: #b42318; }

@media (max-width: 1050px) {
  .contact-cta-grid {
    grid-template-columns: 1fr;
  }

  .contact-cta-copy {
    max-width: 760px;
  }

  .contact-cta-copy h2 {
    max-width: 13ch;
  }
}

@media (max-width: 620px) {
  html {
    font-size: 106.25%;
  }

  .final-cta {
    padding-block: 4.5rem;
  }

  .contact-cta-grid {
    gap: 2.25rem;
  }

  .contact-cta-copy h2 {
    font-size: clamp(2.45rem, 12vw, 3.35rem);
  }

  .contact-form {
    padding: 1.15rem;
    border-radius: 1.35rem;
  }

  .contact-form__heading {
    display: block;
  }

  .contact-form__heading > span {
    display: inline-flex;
    max-width: none;
    margin-top: 0.8rem;
  }

  .contact-form__grid {
    grid-template-columns: 1fr;
  }

  .contact-form__message {
    grid-column: auto;
  }
}

/* Premium online appointment showcase */
#appointments {
  isolation: isolate;
  background:
    radial-gradient(circle at 78% 45%, rgba(78, 143, 238, 0.13), transparent 30%),
    linear-gradient(180deg, #ffffff 0%, #f5f9ff 54%, #ffffff 100%);
}

#appointments::before {
  content: "";
  position: absolute;
  z-index: -1;
  width: 460px;
  aspect-ratio: 1;
  right: -210px;
  top: 15%;
  border: 1px solid rgba(11, 61, 145, 0.07);
  border-radius: 50%;
  box-shadow: 0 0 0 64px rgba(11, 61, 145, 0.018), 0 0 0 128px rgba(11, 61, 145, 0.012);
}

#appointments .showcase-copy h2 {
  max-width: 10ch;
}

#appointments .showcase-bullets li {
  min-height: 42px;
  padding: 0.55rem 0.65rem;
  border: 1px solid rgba(11, 61, 145, 0.09);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 7px 18px rgba(5, 35, 82, 0.04);
}

#appointments .showcase-visual {
  padding: 2.25rem 1.5rem 2.7rem;
}

#appointments .showcase-visual::before {
  inset: 0;
  background: radial-gradient(circle, rgba(40, 114, 217, 0.22), rgba(40, 114, 217, 0.04) 48%, transparent 70%);
}

#appointments .showcase-window {
  overflow: visible;
  min-height: 540px;
  border-color: rgba(11, 61, 145, 0.12);
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 34px 90px rgba(10, 48, 108, 0.18), 0 3px 0 rgba(255, 255, 255, 0.8) inset;
  transform: rotate(0.8deg);
}

#appointments .showcase-window__bar {
  overflow: hidden;
  border-radius: 30px 30px 0 0;
  background: rgba(255, 255, 255, 0.9);
}

#appointments .showcase-window__body {
  min-height: 488px;
  padding: 0;
  border-radius: 0 0 30px 30px;
  background: linear-gradient(145deg, #f9fbff, #eff5ff);
}

#appointments .booking-ui {
  padding: 1.25rem 1.35rem 1rem;
}

.booking-progress {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  margin-bottom: 1.15rem;
}

.booking-progress span {
  display: grid;
  justify-items: center;
  gap: 0.3rem;
  min-width: 68px;
  color: #7d8da5;
}

.booking-progress span i {
  display: grid;
  place-items: center;
  width: 25px;
  height: 25px;
  border: 1px solid #cad8ec;
  border-radius: 50%;
  background: #fff;
  font-size: 0.5rem;
  font-style: normal;
  font-weight: 850;
}

.booking-progress span b {
  font-size: 0.47rem;
  letter-spacing: 0.02em;
}

.booking-progress span.is-complete,
.booking-progress span.is-current {
  color: var(--blue-800);
}

.booking-progress span.is-complete i {
  color: #fff;
  border-color: var(--blue-700);
  background: var(--blue-700);
}

.booking-progress span.is-current i {
  color: var(--blue-800);
  border-color: var(--blue-700);
  box-shadow: 0 0 0 4px rgba(40, 114, 217, 0.1);
}

.booking-progress em {
  width: clamp(32px, 5vw, 68px);
  height: 1px;
  margin-top: 12px;
  background: linear-gradient(90deg, var(--blue-700), var(--blue-200));
}

.booking-heading,
.booking-date-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.booking-heading {
  margin-bottom: 0.8rem;
}

.booking-heading small,
.booking-heading strong {
  display: block;
}

.booking-heading small {
  color: var(--blue-700);
  font-size: 0.45rem;
  font-weight: 850;
  letter-spacing: 0.11em;
}

.booking-heading strong {
  margin-top: 0.15rem;
  color: var(--blue-950);
  font-size: 0.9rem;
}

.booking-heading > span {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.32rem 0.52rem;
  border-radius: 99px;
  color: var(--success);
  background: rgba(22, 138, 102, 0.09);
  font-size: 0.48rem;
  font-weight: 800;
}

.booking-heading > span i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #35b889;
  box-shadow: 0 0 0 4px rgba(53, 184, 137, 0.11);
}

#appointments .booking-doctor {
  padding: 0.72rem;
  border-color: rgba(11, 61, 145, 0.11);
  box-shadow: 0 8px 24px rgba(5, 35, 82, 0.055);
}

#appointments .booking-doctor .booking-avatar {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: #fff;
  background: linear-gradient(145deg, #76aaf4, var(--blue-800));
  font-size: 0.56rem;
  font-style: normal;
  font-weight: 850;
}

.booking-date-label {
  margin: 0.8rem 0 0.45rem;
}

.booking-date-label strong {
  color: var(--blue-950);
  font-size: 0.58rem;
}

.booking-date-label small {
  color: var(--muted);
  font-size: 0.48rem;
}

#appointments .date-strip,
#appointments .time-grid {
  margin: 0;
}

#appointments .date-strip span,
#appointments .time-grid span {
  position: relative;
  padding: 0.52rem;
  border-radius: 12px;
  transition: transform 0.22s var(--ease), border-color 0.22s, box-shadow 0.22s;
}

#appointments .date-strip span small {
  display: block;
  font-size: 0.42rem;
  font-weight: 780;
  letter-spacing: 0.05em;
}

#appointments .date-strip .active,
#appointments .time-grid .active {
  border-color: var(--blue-700);
  background: linear-gradient(145deg, var(--blue-700), var(--blue-800));
  box-shadow: 0 9px 19px rgba(11, 61, 145, 0.2);
}

#appointments .time-grid span i {
  margin-left: 0.2rem;
  font-style: normal;
}

.booking-summary {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 0.75rem;
  margin-top: 0.9rem;
  padding: 0.72rem;
  border: 1px solid rgba(11, 61, 145, 0.13);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 10px 25px rgba(5, 35, 82, 0.06);
}

.booking-summary span small,
.booking-summary span strong {
  display: block;
}

.booking-summary span small {
  color: var(--muted);
  font-size: 0.42rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.booking-summary span strong {
  margin-top: 0.12rem;
  color: var(--blue-950);
  font-size: 0.6rem;
}

#appointments .booking-summary button {
  width: auto;
  min-width: 142px;
  padding: 0.65rem 0.8rem;
  border-radius: 10px;
  box-shadow: 0 9px 20px rgba(11, 61, 145, 0.22);
}

#appointments .booking-summary button i {
  margin-left: 0.3rem;
  font-style: normal;
}

.booking-assurance {
  margin: 0.55rem 0 0;
  color: var(--muted);
  font-size: 0.47rem;
  text-align: center;
}

.booking-assurance span {
  color: var(--success);
  font-weight: 900;
}

.booking-confirmation {
  position: absolute;
  z-index: 4;
  right: -18px;
  bottom: -22px;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  min-width: 178px;
  padding: 0.72rem 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 18px 42px rgba(5, 35, 82, 0.18);
  backdrop-filter: blur(14px);
}

.booking-confirmation > i {
  display: grid;
  place-items: center;
  width: 31px;
  height: 31px;
  border-radius: 10px;
  color: #fff;
  background: var(--success);
  font-size: 0.7rem;
  font-style: normal;
  font-weight: 900;
}

.booking-confirmation small,
.booking-confirmation strong {
  display: block;
}

.booking-confirmation small {
  color: var(--muted);
  font-size: 0.46rem;
}

.booking-confirmation strong {
  color: var(--blue-950);
  font-size: 0.58rem;
}

@media (hover: hover) and (pointer: fine) {
  #appointments .date-strip span:hover,
  #appointments .time-grid span:hover {
    transform: translateY(-2px);
    border-color: rgba(11, 61, 145, 0.3);
  }
}

@media (max-width: 620px) {
  #appointments .showcase-visual {
    padding: 0.5rem 0 2rem;
  }

  #appointments .showcase-window {
    min-height: 510px;
    border-radius: 22px;
  }

  #appointments .showcase-window__bar {
    border-radius: 22px 22px 0 0;
  }

  #appointments .showcase-window__body {
    min-height: 458px;
    border-radius: 0 0 22px 22px;
  }

  #appointments .booking-ui {
    padding: 1rem 0.75rem 0.8rem;
  }

  .booking-progress span {
    min-width: 58px;
  }

  .booking-heading > span {
    padding-inline: 0.42rem;
  }

  .booking-summary {
    grid-template-columns: 1fr;
  }

  #appointments .booking-summary button {
    width: 100%;
  }

  .booking-confirmation {
    right: 8px;
    bottom: -18px;
  }
}

/* Premium patient records showcase */
#patient-records {
  background:
    radial-gradient(circle at 18% 45%, rgba(76, 139, 232, 0.1), transparent 28%),
    linear-gradient(180deg, #f8fbff 0%, #ffffff 100%);
}

#patient-records .showcase-copy h2 {
  max-width: 11ch;
}

#patient-records .showcase-bullets li {
  min-height: 42px;
  padding: 0.55rem 0.65rem;
  border: 1px solid rgba(11, 61, 145, 0.09);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 7px 18px rgba(5, 35, 82, 0.04);
}

#patient-records .showcase-visual {
  padding: 2rem 1.25rem;
}

#patient-records .showcase-visual::before {
  inset: 2%;
  background: radial-gradient(circle, rgba(40, 114, 217, 0.2), rgba(40, 114, 217, 0.04) 50%, transparent 72%);
}

#patient-records .showcase-window {
  min-height: 535px;
  border-color: rgba(11, 61, 145, 0.12);
  border-radius: 30px;
  box-shadow: 0 34px 90px rgba(9, 45, 101, 0.17);
  transform: rotate(-0.65deg);
}

#patient-records .showcase-window__body {
  min-height: 483px;
  padding: 0;
  background: #eef4fb;
}

#patient-records .records-ui {
  padding: 0.85rem;
}

.records-topline,
.patient-overview,
.patient-identity,
.records-actions,
.record-panel__title,
.timeline-item {
  display: flex;
  align-items: center;
}

.records-topline {
  justify-content: space-between;
  margin-bottom: 0.65rem;
}

.records-topline small,
.records-topline strong,
.records-topline span {
  display: block;
}

.records-topline small {
  color: var(--blue-700);
  font-size: 0.43rem;
  font-weight: 850;
  letter-spacing: 0.1em;
}

.records-topline strong {
  margin-top: 0.08rem;
  color: var(--blue-950);
  font-size: 0.85rem;
}

.records-topline span {
  color: var(--muted);
  font-size: 0.46rem;
}

.records-actions {
  gap: 0.4rem;
}

#patient-records .records-actions button {
  width: auto;
  padding: 0.48rem 0.7rem;
  border-radius: 9px;
  font-size: 0.5rem;
  box-shadow: 0 7px 16px rgba(11, 61, 145, 0.17);
}

.records-actions > i {
  display: grid;
  place-items: center;
  width: 29px;
  height: 29px;
  border: 1px solid var(--line);
  border-radius: 9px;
  color: var(--muted);
  background: #fff;
  font-size: 0.55rem;
  font-style: normal;
}

.patient-overview {
  justify-content: space-between;
  gap: 0.7rem;
  padding: 0.75rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 8px 22px rgba(5, 35, 82, 0.05);
}

.patient-identity {
  gap: 0.55rem;
}

.patient-identity > i {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 39px;
  height: 39px;
  border-radius: 12px;
  color: #fff;
  background: linear-gradient(145deg, #6ea3ed, var(--blue-800));
  font-size: 0.55rem;
  font-style: normal;
  font-weight: 850;
}

.patient-identity span strong,
.patient-identity span small {
  display: block;
}

.patient-identity span strong {
  color: var(--blue-950);
  font-size: 0.62rem;
}

.patient-identity span small {
  color: var(--muted);
  font-size: 0.45rem;
}

.patient-identity > b,
.appointment-status {
  padding: 0.25rem 0.42rem;
  border-radius: 99px;
  color: var(--success);
  background: rgba(22, 138, 102, 0.09);
  font-size: 0.42rem;
}

.patient-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  min-width: 205px;
  border-left: 1px solid var(--line);
}

.patient-metrics > span {
  padding: 0 0.6rem;
  text-align: center;
}

.patient-metrics small,
.patient-metrics strong {
  display: block;
}

.patient-metrics small {
  color: var(--muted);
  font-size: 0.4rem;
}

.patient-metrics strong {
  color: var(--blue-800);
  font-size: 0.82rem;
}

.record-tabs {
  display: flex;
  gap: 0.15rem;
  margin: 0.65rem 0;
  padding: 0.2rem;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.68);
}

.record-tabs span {
  flex: 1;
  padding: 0.36rem 0.25rem;
  border-radius: 7px;
  color: var(--muted);
  font-size: 0.43rem;
  font-weight: 700;
  text-align: center;
}

.record-tabs span.active {
  color: var(--blue-800);
  background: #fff;
  box-shadow: 0 3px 10px rgba(5, 35, 82, 0.08);
}

.records-dashboard {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 0.42fr;
  gap: 0.65rem;
}

.record-main {
  display: grid;
  gap: 0.65rem;
}

.record-panel,
.next-appointment {
  padding: 0.7rem;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: #fff;
}

.record-panel__title {
  justify-content: space-between;
  margin-bottom: 0.55rem;
}

.record-panel__title strong {
  color: var(--blue-950);
  font-size: 0.56rem;
}

.record-panel__title small {
  color: var(--blue-700);
  font-size: 0.42rem;
}

.detail-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.42rem;
}

.detail-grid > span {
  padding: 0.42rem;
  border-radius: 8px;
  background: #f6f9fe;
}

.detail-grid small,
.detail-grid strong {
  display: block;
}

.detail-grid small {
  color: var(--muted);
  font-size: 0.38rem;
}

.detail-grid strong {
  color: var(--blue-950);
  font-size: 0.46rem;
}

.timeline-item {
  gap: 0.45rem;
  padding: 0.4rem 0;
  border-top: 1px solid rgba(11, 61, 145, 0.08);
}

.timeline-item > i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--blue-600);
  box-shadow: 0 0 0 4px var(--blue-100);
}

.timeline-item span {
  flex: 1;
}

.timeline-item strong,
.timeline-item small {
  display: block;
}

.timeline-item strong {
  color: var(--blue-950);
  font-size: 0.47rem;
}

.timeline-item small {
  color: var(--muted);
  font-size: 0.39rem;
}

.timeline-item > b {
  display: grid;
  place-items: center;
  width: 23px;
  height: 23px;
  border-radius: 7px;
  color: var(--blue-700);
  background: var(--blue-50);
  font-size: 0.44rem;
}

.next-appointment {
  position: relative;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 100% 0%, rgba(112, 170, 255, 0.55), transparent 35%),
    linear-gradient(150deg, var(--blue-700), var(--blue-950));
}

.next-appointment::after {
  content: "";
  position: absolute;
  width: 110px;
  height: 110px;
  right: -70px;
  bottom: -65px;
  border: 1px solid rgba(255, 255, 255, 0.17);
  border-radius: 50%;
  box-shadow: 0 0 0 18px rgba(255, 255, 255, 0.03);
}

.next-appointment > small {
  color: #bcd5ff;
  font-size: 0.4rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.next-appointment > strong {
  display: block;
  margin: 0.35rem 0 0.9rem;
  font-size: 0.62rem;
  line-height: 1.3;
}

.next-appointment > div {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.55rem;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.09);
}

.next-appointment > div > b {
  font-size: 1.15rem;
}

.next-appointment > div span {
  color: #bcd5ff;
  font-size: 0.42rem;
  font-weight: 800;
}

.next-appointment > div small {
  display: block;
  color: #fff;
  font-size: 0.44rem;
  font-weight: 600;
}

.next-appointment p {
  margin: 0.65rem 0;
  color: #dce9fb;
  font-size: 0.45rem;
}

.next-appointment .appointment-status {
  display: inline-flex;
  align-items: center;
  gap: 0.28rem;
  color: #c8f2e4;
  background: rgba(81, 199, 158, 0.13);
}

.appointment-status i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #71d5b3;
}

@media (max-width: 620px) {
  #patient-records .showcase-visual {
    padding: 0.5rem;
  }

  #patient-records .showcase-window {
    min-height: 525px;
    border-radius: 22px;
  }

  #patient-records .showcase-window__body {
    min-height: 473px;
  }

  #patient-records .records-ui {
    padding: 0.65rem;
  }

  .records-topline span,
  .patient-identity > b,
  .patient-metrics small,
  .record-tabs span:nth-child(4),
  .record-tabs span:nth-child(5) {
    display: none;
  }

  .patient-overview {
    align-items: stretch;
    flex-direction: column;
  }

  .patient-metrics {
    min-width: 0;
    padding-top: 0.55rem;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .records-dashboard {
    grid-template-columns: 1fr;
  }

  .next-appointment {
    display: none;
  }
}

/* Premium digital patient card + QR showcase */
#digital-patient-cards {
  isolation: isolate;
  background:
    radial-gradient(circle at 80% 40%, rgba(62, 128, 229, 0.14), transparent 30%),
    linear-gradient(180deg, #ffffff 0%, #f5f9ff 100%);
}

#digital-patient-cards::after {
  content: "";
  position: absolute;
  z-index: -1;
  width: 430px;
  aspect-ratio: 1;
  left: -250px;
  bottom: -210px;
  border: 1px solid rgba(11, 61, 145, 0.06);
  border-radius: 50%;
  box-shadow: 0 0 0 60px rgba(11, 61, 145, 0.016), 0 0 0 120px rgba(11, 61, 145, 0.01);
}

#digital-patient-cards .showcase-copy h2 {
  max-width: 10.5ch;
}

#digital-patient-cards .showcase-bullets li {
  min-height: 42px;
  padding: 0.55rem 0.65rem;
  border: 1px solid rgba(11, 61, 145, 0.09);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 7px 18px rgba(5, 35, 82, 0.04);
}

#digital-patient-cards .showcase-visual {
  padding: 2rem 1.25rem;
}

#digital-patient-cards .showcase-visual::before {
  inset: 0;
  background: radial-gradient(circle, rgba(40, 114, 217, 0.22), rgba(40, 114, 217, 0.03) 55%, transparent 72%);
}

#digital-patient-cards .showcase-window {
  min-height: 540px;
  border-radius: 30px;
  box-shadow: 0 34px 90px rgba(9, 45, 101, 0.18);
  transform: rotate(0.65deg);
}

#digital-patient-cards .showcase-window__body {
  min-height: 488px;
  padding: 0;
  background:
    radial-gradient(circle at 18% 12%, rgba(105, 164, 252, 0.14), transparent 30%),
    linear-gradient(145deg, #f7faff, #edf4ff);
}

#digital-patient-cards .patient-card-ui {
  grid-template-columns: minmax(0, 1.2fr) minmax(180px, 0.8fr);
  gap: 0.85rem;
  align-items: stretch;
  padding: 1rem;
}

.patient-card-stage,
#digital-patient-cards .qr-panel {
  min-width: 0;
  padding: 0.75rem;
  border: 1px solid rgba(11, 61, 145, 0.1);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.68);
}

.patient-card-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.65rem;
}

.patient-card-label span {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--blue-700);
  font-size: 0.43rem;
  font-weight: 850;
  letter-spacing: 0.08em;
}

.patient-card-label span i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 0 4px rgba(22, 138, 102, 0.1);
}

.patient-card-label small {
  color: var(--muted);
  font-size: 0.42rem;
}

#digital-patient-cards .digital-card {
  min-height: 387px;
  padding: 1.15rem;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 21px;
  background:
    radial-gradient(circle at 82% 12%, rgba(112, 170, 255, 0.5), transparent 27%),
    linear-gradient(150deg, #1554b8 0%, #0b3d91 48%, #041a40 100%);
  box-shadow: 0 22px 44px rgba(11, 61, 145, 0.25);
}

#digital-patient-cards .digital-card::before {
  content: "";
  position: absolute;
  width: 210px;
  height: 210px;
  left: -150px;
  top: -140px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  box-shadow: 0 0 0 28px rgba(255, 255, 255, 0.025);
}

#digital-patient-cards .digital-card__brand {
  position: relative;
  align-items: center;
}

.digital-card__brand > span {
  display: flex;
  align-items: center;
  gap: 0.42rem;
}

.digital-card__brand > span i {
  display: grid;
  place-items: center;
  width: 27px;
  height: 27px;
  border-radius: 9px;
  color: var(--blue-800);
  background: #fff;
  font-size: 0.66rem;
  font-style: normal;
}

.digital-card__brand > span b {
  font-size: 0.72rem;
}

.digital-card__brand em {
  color: #d1e1fa;
  font-size: 0.44rem;
  font-style: normal;
  font-weight: 650;
}

.digital-card__profile {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 3rem;
}

#digital-patient-cards .patient-avatar {
  flex: 0 0 auto;
  width: 57px;
  height: 57px;
  margin: 0;
  border-color: rgba(255, 255, 255, 0.65);
  font-size: 0.72rem;
}

.digital-card__profile span > small {
  color: #a9c5ee;
  font-size: 0.38rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

#digital-patient-cards .digital-card__profile h4 {
  margin: 0.12rem 0 0;
  font-size: 1.05rem;
}

#digital-patient-cards .digital-card__profile p {
  margin: 0.05rem 0 0;
  font-size: 0.5rem;
}

#digital-patient-cards .digital-card__details {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.35rem;
  margin-top: 2.5rem;
}

#digital-patient-cards .digital-card__details span {
  min-width: 0;
  padding: 0.52rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.065);
}

#digital-patient-cards .digital-card__details small,
#digital-patient-cards .digital-card__details strong {
  display: block;
}

#digital-patient-cards .digital-card__details small {
  overflow: hidden;
  color: #aebfda;
  font-size: 0.37rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#digital-patient-cards .digital-card__details strong {
  overflow: hidden;
  margin-top: 0.16rem;
  color: #fff;
  font-size: 0.47rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#digital-patient-cards .digital-card > .digital-card__footer {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-top: 1.15rem;
  padding-top: 0.65rem;
  border-top: 1px solid rgba(255, 255, 255, 0.11);
}

#digital-patient-cards .digital-card__footer span {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  color: #dce9fb;
  font-size: 0.43rem;
  font-weight: 700;
}

#digital-patient-cards .digital-card__footer span i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #71d5b3;
}

#digital-patient-cards .digital-card__footer > small {
  color: #9fb9de;
  font-size: 0.4rem;
}

#digital-patient-cards .qr-panel {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-inline: 0.85rem;
  text-align: center;
}

.qr-panel__head small,
.qr-panel__head strong {
  display: block;
}

.qr-panel__head small {
  color: var(--blue-700);
  font-size: 0.4rem;
  font-weight: 850;
  letter-spacing: 0.09em;
}

.qr-panel__head strong {
  margin-top: 0.2rem;
  color: var(--blue-950);
  font-size: 0.72rem;
}

#digital-patient-cards .qr-code--detailed {
  grid-template-columns: repeat(4, 17px);
  grid-template-rows: repeat(4, 17px);
  gap: 4px;
  margin: 1rem auto 0.55rem;
  padding: 0.75rem;
  border: 6px solid #fff;
  border-radius: 15px;
  background: #fff;
  box-shadow: 0 14px 32px rgba(5, 35, 82, 0.14);
}

#digital-patient-cards .qr-code--detailed i {
  border-radius: 2px;
  background: var(--blue-950);
}

#digital-patient-cards .qr-code--detailed i:nth-child(2),
#digital-patient-cards .qr-code--detailed i:nth-child(5),
#digital-patient-cards .qr-code--detailed i:nth-child(7),
#digital-patient-cards .qr-code--detailed i:nth-child(10),
#digital-patient-cards .qr-code--detailed i:nth-child(15) {
  background: var(--blue-100);
}

#digital-patient-cards .qr-panel code {
  padding: 0.2rem 0.45rem;
  border-radius: 6px;
  color: var(--blue-800);
  background: var(--blue-50);
  font-family: inherit;
  font-size: 0.48rem;
  font-weight: 850;
  letter-spacing: 0.08em;
}

#digital-patient-cards .qr-panel p {
  margin: 0.7rem 0;
  color: var(--muted);
  font-size: 0.45rem;
  line-height: 1.55;
}

.qr-access-status {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  width: 100%;
  padding: 0.55rem;
  border: 1px solid rgba(22, 138, 102, 0.14);
  border-radius: 10px;
  background: rgba(22, 138, 102, 0.06);
  text-align: left;
}

.qr-access-status > span {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 25px;
  height: 25px;
  border-radius: 8px;
  color: #fff;
  background: var(--success);
  font-size: 0.5rem;
  font-weight: 900;
}

.qr-access-status strong,
.qr-access-status small {
  display: block;
}

.qr-access-status strong {
  color: var(--blue-950);
  font-size: 0.46rem;
}

.qr-access-status small {
  color: var(--muted);
  font-size: 0.38rem;
}

@media (max-width: 620px) {
  #digital-patient-cards .showcase-visual {
    padding: 0.5rem;
  }

  #digital-patient-cards .showcase-window {
    min-height: 530px;
    border-radius: 22px;
  }

  #digital-patient-cards .showcase-window__body {
    min-height: 478px;
  }

  #digital-patient-cards .patient-card-ui {
    grid-template-columns: 1fr;
    gap: 0.55rem;
    padding: 0.65rem;
  }

  #digital-patient-cards .digital-card {
    min-height: 315px;
  }

  .digital-card__profile {
    margin-top: 1.6rem;
  }

  #digital-patient-cards .digital-card__details {
    margin-top: 1.2rem;
  }

  #digital-patient-cards .qr-panel {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0.4rem 0.7rem;
    padding: 0.65rem;
    text-align: left;
  }

  .qr-panel__head,
  #digital-patient-cards .qr-panel p {
    grid-column: 2;
  }

  #digital-patient-cards .qr-code--detailed {
    grid-column: 1;
    grid-row: 1 / 4;
    grid-template-columns: repeat(4, 9px);
    grid-template-rows: repeat(4, 9px);
    gap: 2px;
    margin: 0;
    padding: 0.45rem;
  }

  #digital-patient-cards .qr-panel code,
  .qr-access-status {
    display: none;
  }

  #digital-patient-cards .qr-panel p {
    margin: 0;
  }
}

/* Premium doctor management showcase */
#doctors {
  background:
    radial-gradient(circle at 18% 44%, rgba(74, 139, 238, 0.11), transparent 29%),
    linear-gradient(180deg, #f8fbff 0%, #ffffff 100%);
}

#doctors .showcase-copy h2 {
  max-width: 13ch;
  font-size: clamp(2.35rem, 3.6vw, 3.65rem);
  line-height: 1.04;
}

#doctors .showcase-bullets li {
  min-height: 42px;
  padding: 0.55rem 0.65rem;
  border: 1px solid rgba(11, 61, 145, 0.09);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 7px 18px rgba(5, 35, 82, 0.04);
}

#doctors .showcase-visual {
  padding: 2rem 1.25rem;
}

#doctors .showcase-visual::before {
  inset: 1%;
  background: radial-gradient(circle, rgba(40, 114, 217, 0.2), rgba(40, 114, 217, 0.035) 50%, transparent 72%);
}

#doctors .showcase-window {
  min-height: 545px;
  border-radius: 30px;
  box-shadow: 0 34px 90px rgba(9, 45, 101, 0.17);
  transform: rotate(-0.65deg);
}

#doctors .showcase-window__body {
  min-height: 493px;
  padding: 0;
  background: #eef4fb;
}

#doctors .doctors-ui {
  padding: 0.9rem;
}

.doctors-toolbar,
.doctor-overview,
.doctor-profile,
.doctor-profile > div > span,
.doctor-panel-title,
.schedule-row,
.doctor-availability p {
  display: flex;
  align-items: center;
}

.doctors-toolbar,
.doctor-panel-title {
  justify-content: space-between;
}

.doctors-toolbar {
  margin-bottom: 0.65rem;
}

.doctors-toolbar small,
.doctors-toolbar strong {
  display: block;
}

.doctors-toolbar small {
  color: var(--blue-700);
  font-size: 0.42rem;
  font-weight: 850;
  letter-spacing: 0.1em;
}

.doctors-toolbar strong {
  color: var(--blue-950);
  font-size: 0.82rem;
}

#doctors .doctors-toolbar button {
  width: auto;
  padding: 0.5rem 0.75rem;
  border-radius: 9px;
  font-size: 0.5rem;
  box-shadow: 0 8px 18px rgba(11, 61, 145, 0.19);
}

.doctor-overview {
  justify-content: space-between;
  gap: 0.8rem;
  padding: 0.75rem;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: #fff;
  box-shadow: 0 9px 24px rgba(5, 35, 82, 0.055);
}

.doctor-profile {
  gap: 0.6rem;
  min-width: 0;
}

.doctor-profile > i {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 46px;
  height: 46px;
  border: 3px solid #e0ebfb;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(145deg, #78acef, var(--blue-800));
  font-size: 0.56rem;
  font-style: normal;
  font-weight: 850;
}

.doctor-profile > div > span {
  gap: 0.28rem;
  color: var(--success);
  font-size: 0.38rem;
  font-weight: 750;
}

.doctor-profile > div > span i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #34b789;
  box-shadow: 0 0 0 3px rgba(52, 183, 137, 0.1);
}

.doctor-profile strong,
.doctor-profile small {
  display: block;
}

.doctor-profile strong {
  margin-top: 0.08rem;
  overflow: hidden;
  color: var(--blue-950);
  font-size: 0.63rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.doctor-profile small {
  color: var(--muted);
  font-size: 0.42rem;
}

.doctor-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(62px, 1fr));
  border-left: 1px solid var(--line);
}

.doctor-stats > span {
  padding: 0 0.55rem;
}

.doctor-stats small,
.doctor-stats strong,
.doctor-stats em {
  display: block;
}

.doctor-stats small {
  color: var(--muted);
  font-size: 0.38rem;
}

.doctor-stats strong {
  color: var(--blue-800);
  font-size: 0.82rem;
  line-height: 1.25;
}

.doctor-stats em {
  color: var(--muted);
  font-size: 0.36rem;
  font-style: normal;
}

.doctor-tabs {
  display: flex;
  gap: 0.15rem;
  margin: 0.65rem 0;
  padding: 0.2rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.7);
}

.doctor-tabs span {
  flex: 1;
  padding: 0.36rem 0.3rem;
  border-radius: 7px;
  color: var(--muted);
  font-size: 0.43rem;
  font-weight: 700;
  text-align: center;
}

.doctor-tabs span.active {
  color: var(--blue-800);
  background: #fff;
  box-shadow: 0 3px 10px rgba(5, 35, 82, 0.08);
}

.doctor-dashboard {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 0.42fr;
  gap: 0.65rem;
}

.doctor-schedule,
.doctor-availability {
  padding: 0.7rem;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: #fff;
}

.doctor-panel-title {
  margin-bottom: 0.45rem;
}

.doctor-panel-title small,
.doctor-panel-title strong {
  display: block;
}

.doctor-panel-title small {
  color: var(--blue-700);
  font-size: 0.37rem;
  font-weight: 820;
  letter-spacing: 0.07em;
}

.doctor-panel-title strong {
  color: var(--blue-950);
  font-size: 0.58rem;
}

.doctor-panel-title > span {
  color: var(--blue-700);
  font-size: 0.4rem;
  font-weight: 700;
}

.schedule-row {
  position: relative;
  gap: 0.45rem;
  min-height: 48px;
  padding: 0.42rem 0;
  border-top: 1px solid rgba(11, 61, 145, 0.08);
}

.schedule-row time {
  width: 34px;
  color: var(--blue-950);
  font-size: 0.43rem;
  font-weight: 750;
}

.schedule-row > i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #a9b9cf;
  box-shadow: 0 0 0 4px #edf2f8;
}

.schedule-row.is-current {
  margin-inline: -0.25rem;
  padding-inline: 0.25rem;
  border-radius: 9px;
  background: var(--blue-50);
}

.schedule-row.is-current > i {
  background: var(--blue-700);
  box-shadow: 0 0 0 4px var(--blue-100);
}

.schedule-row > div {
  flex: 1;
  min-width: 0;
}

.schedule-row strong,
.schedule-row small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.schedule-row strong {
  color: var(--blue-950);
  font-size: 0.45rem;
}

.schedule-row small {
  color: var(--muted);
  font-size: 0.37rem;
}

.schedule-row > b {
  padding: 0.22rem 0.38rem;
  border-radius: 99px;
  color: var(--muted);
  background: #f1f5fa;
  font-size: 0.35rem;
}

.schedule-row.is-current > b {
  color: var(--blue-700);
  background: var(--blue-100);
}

.doctor-availability {
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 100% 0%, rgba(112, 170, 255, 0.52), transparent 35%),
    linear-gradient(150deg, var(--blue-700), var(--blue-950));
}

.doctor-availability > small,
.doctor-availability > strong {
  display: block;
}

.doctor-availability > small {
  color: #bad3f7;
  font-size: 0.37rem;
  font-weight: 820;
  letter-spacing: 0.07em;
}

.doctor-availability > strong {
  margin: 0.1rem 0 0.65rem;
  font-size: 0.6rem;
}

.doctor-availability > div {
  display: grid;
  gap: 0.43rem;
}

.doctor-availability > div span {
  display: grid;
  grid-template-columns: 23px 1fr 26px;
  align-items: center;
  gap: 0.3rem;
  color: #c8daf4;
  font-size: 0.35rem;
  font-weight: 750;
}

.doctor-availability > div span b {
  height: 4px;
  border-radius: 99px;
  background: #82b5ff;
}

.doctor-availability > div span b.is-short {
  width: 58%;
}

.doctor-availability > div span em {
  color: #fff;
  font-style: normal;
  text-align: right;
}

.doctor-availability p {
  gap: 0.3rem;
  margin: 0.75rem 0 0;
  padding-top: 0.6rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: #dce9fb;
  font-size: 0.38rem;
}

.doctor-availability p i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #71d5b3;
}

@media (max-width: 620px) {
  #doctors .showcase-copy h2 {
    font-size: clamp(2.15rem, 11vw, 3rem);
  }

  #doctors .showcase-visual {
    padding: 0.5rem;
  }

  #doctors .showcase-window {
    min-height: 515px;
    border-radius: 22px;
  }

  #doctors .showcase-window__body {
    min-height: 463px;
  }

  #doctors .doctors-ui {
    padding: 0.65rem;
  }

  .doctor-overview {
    align-items: stretch;
    flex-direction: column;
  }

  .doctor-stats {
    padding-top: 0.55rem;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .doctor-tabs span:last-child {
    display: none;
  }

  .doctor-dashboard {
    grid-template-columns: 1fr;
  }

  .doctor-availability {
    display: none;
  }
}

/* Premium appointment management showcase */
#appointment-management {
  isolation: isolate;
  background:
    radial-gradient(circle at 80% 42%, rgba(68, 134, 232, 0.14), transparent 31%),
    linear-gradient(180deg, #ffffff 0%, #f5f9ff 100%);
}

#appointment-management .showcase-copy h2 {
  max-width: 12ch;
  font-size: clamp(2.35rem, 3.75vw, 3.8rem);
  line-height: 1.04;
}

#appointment-management .showcase-bullets li {
  min-height: 42px;
  padding: 0.55rem 0.65rem;
  border: 1px solid rgba(11, 61, 145, 0.09);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 7px 18px rgba(5, 35, 82, 0.04);
}

#appointment-management .showcase-visual {
  padding: 2rem 1.1rem;
}

#appointment-management .showcase-visual::before {
  inset: 0;
  background: radial-gradient(circle, rgba(40, 114, 217, 0.21), rgba(40, 114, 217, 0.035) 52%, transparent 72%);
}

#appointment-management .showcase-window {
  min-height: 555px;
  border-radius: 30px;
  box-shadow: 0 34px 90px rgba(9, 45, 101, 0.18);
  transform: rotate(0.55deg);
}

#appointment-management .showcase-window__body {
  min-height: 503px;
  padding: 0;
  background: #eef4fb;
}

#appointment-management .calendar-ui {
  padding: 0.85rem;
}

.appointment-toolbar,
.appointment-filters,
.appointment-card,
.appointment-patient,
.appointment-state > span,
.focus-head,
.focus-actions {
  display: flex;
  align-items: center;
}

.appointment-toolbar,
.appointment-filters,
.focus-head,
.focus-actions {
  justify-content: space-between;
}

.appointment-toolbar small,
.appointment-toolbar strong {
  display: block;
}

.appointment-toolbar small {
  color: var(--blue-700);
  font-size: 0.4rem;
  font-weight: 850;
  letter-spacing: 0.09em;
}

.appointment-toolbar strong {
  color: var(--blue-950);
  font-size: 0.78rem;
}

.appointment-view {
  display: flex;
  gap: 0.15rem;
  padding: 0.2rem;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.7);
}

.appointment-view span {
  padding: 0.32rem 0.5rem;
  border-radius: 7px;
  color: var(--muted);
  font-size: 0.4rem;
  font-weight: 700;
}

.appointment-view span.active {
  color: #fff;
  background: var(--blue-800);
  box-shadow: 0 5px 12px rgba(11, 61, 145, 0.17);
}

.appointment-metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.45rem;
  margin: 0.65rem 0;
}

.appointment-metrics > span {
  padding: 0.55rem;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: #fff;
  box-shadow: 0 6px 16px rgba(5, 35, 82, 0.035);
}

.appointment-metrics small,
.appointment-metrics strong,
.appointment-metrics em {
  display: block;
}

.appointment-metrics small {
  color: var(--muted);
  font-size: 0.37rem;
}

.appointment-metrics strong {
  color: var(--blue-800);
  font-size: 0.78rem;
  line-height: 1.25;
}

.appointment-metrics em {
  color: var(--success);
  font-size: 0.34rem;
  font-style: normal;
}

.appointment-metrics > span:last-child strong,
.appointment-metrics > span:last-child em {
  color: #bf6b18;
}

.appointment-filters {
  gap: 0.55rem;
  margin-bottom: 0.65rem;
}

.appointment-filters > div {
  display: flex;
  min-width: 0;
  gap: 0.25rem;
  overflow: hidden;
}

.appointment-filters > div span {
  padding: 0.34rem 0.48rem;
  border: 1px solid var(--line);
  border-radius: 99px;
  color: var(--muted);
  background: #fff;
  font-size: 0.37rem;
  font-weight: 700;
  white-space: nowrap;
}

.appointment-filters > div span.active {
  color: var(--blue-800);
  border-color: rgba(11, 61, 145, 0.22);
  background: var(--blue-50);
}

#appointment-management .appointment-filters button {
  width: auto;
  flex: 0 0 auto;
  padding: 0.42rem 0.58rem;
  border-radius: 8px;
  font-size: 0.42rem;
}

.appointment-board {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 0.43fr;
  gap: 0.6rem;
}

.appointment-list {
  display: grid;
  gap: 0.48rem;
}

.appointment-card {
  position: relative;
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) auto 14px;
  gap: 0.48rem;
  min-height: 68px;
  padding: 0.55rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 7px 18px rgba(5, 35, 82, 0.035);
}

.appointment-card.is-next {
  border-color: rgba(11, 61, 145, 0.28);
  box-shadow: inset 3px 0 var(--blue-700), 0 9px 22px rgba(11, 61, 145, 0.07);
}

.appointment-card time {
  padding-right: 0.45rem;
  border-right: 1px solid var(--line);
  text-align: center;
}

.appointment-card time strong,
.appointment-card time small {
  display: block;
}

.appointment-card time strong {
  color: var(--blue-950);
  font-size: 0.48rem;
}

.appointment-card time small {
  color: var(--muted);
  font-size: 0.34rem;
}

.appointment-patient {
  min-width: 0;
  gap: 0.45rem;
}

.appointment-patient > span {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 29px;
  height: 29px;
  border-radius: 9px;
  color: var(--blue-800);
  background: var(--blue-100);
  font-size: 0.4rem;
  font-weight: 850;
}

.appointment-patient > div {
  min-width: 0;
}

.appointment-patient strong,
.appointment-patient small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.appointment-patient strong {
  color: var(--blue-950);
  font-size: 0.48rem;
}

.appointment-patient small {
  color: var(--muted);
  font-size: 0.36rem;
}

.appointment-state {
  min-width: 74px;
  text-align: right;
}

.appointment-state > span {
  justify-content: flex-end;
  gap: 0.28rem;
  color: var(--success);
  font-size: 0.38rem;
  font-weight: 750;
}

.appointment-state > span i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
}

.appointment-state > small {
  display: block;
  color: var(--muted);
  font-size: 0.33rem;
}

.appointment-state.is-confirmed > span {
  color: var(--blue-700);
}

.appointment-state.is-pending > span {
  color: #bf6b18;
}

.appointment-card > b {
  color: #94a5bc;
  font-size: 0.43rem;
}

.appointment-focus {
  position: relative;
  overflow: hidden;
  padding: 0.75rem;
  border-radius: 13px;
  color: #fff;
  background:
    radial-gradient(circle at 100% 0%, rgba(112, 170, 255, 0.55), transparent 35%),
    linear-gradient(150deg, var(--blue-700), var(--blue-950));
  box-shadow: 0 12px 28px rgba(11, 61, 145, 0.16);
}

.focus-head > small {
  color: #bcd5ff;
  font-size: 0.36rem;
  font-weight: 850;
  letter-spacing: 0.08em;
}

.focus-head > span {
  padding: 0.2rem 0.35rem;
  border-radius: 99px;
  color: #c9f3e5;
  background: rgba(81, 199, 158, 0.13);
  font-size: 0.33rem;
  font-weight: 750;
}

.appointment-focus > strong {
  display: block;
  margin-top: 0.85rem;
  font-size: 0.72rem;
}

.appointment-focus > p {
  margin: 0.05rem 0 0.7rem;
  color: #c8d9f2;
  font-size: 0.4rem;
}

.focus-detail {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.35rem;
}

.focus-detail > span,
.focus-note {
  padding: 0.45rem;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.07);
}

.focus-detail small,
.focus-detail strong,
.focus-note small {
  display: block;
}

.focus-detail small,
.focus-note small {
  color: #aec6e8;
  font-size: 0.32rem;
}

.focus-detail strong {
  color: #fff;
  font-size: 0.4rem;
}

.focus-note {
  margin-top: 0.4rem;
}

.focus-note p {
  margin: 0.15rem 0 0;
  color: #e1ebf9;
  font-size: 0.36rem;
  line-height: 1.45;
}

.focus-actions {
  gap: 0.3rem;
  margin-top: 0.55rem;
}

.focus-actions span,
.focus-actions b {
  flex: 1;
  padding: 0.42rem 0.25rem;
  border-radius: 8px;
  font-size: 0.34rem;
  text-align: center;
}

.focus-actions span {
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #d8e6f9;
}

.focus-actions b {
  color: var(--blue-900);
  background: #fff;
}

@media (max-width: 620px) {
  #appointment-management .showcase-copy h2 {
    font-size: clamp(2.1rem, 10.5vw, 2.9rem);
  }

  #appointment-management .showcase-visual {
    padding: 0.5rem;
  }

  #appointment-management .showcase-window {
    min-height: 520px;
    border-radius: 22px;
  }

  #appointment-management .showcase-window__body {
    min-height: 468px;
  }

  #appointment-management .calendar-ui {
    padding: 0.6rem;
  }

  .appointment-view span:first-child,
  .appointment-metrics > span:nth-child(3),
  .appointment-filters > div span:not(.active),
  .appointment-card:nth-child(3) {
    display: none;
  }

  .appointment-metrics {
    grid-template-columns: repeat(3, 1fr);
  }

  .appointment-board {
    grid-template-columns: 1fr;
  }

  .appointment-focus {
    display: none;
  }

  .appointment-card {
    grid-template-columns: 41px minmax(0, 1fr) auto;
  }

  .appointment-card > b {
    display: none;
  }

  .appointment-state {
    min-width: 62px;
  }
}

/* Appointment cards view */
.appointment-card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.55rem;
}

.booking-card {
  position: relative;
  overflow: hidden;
  padding: 0.7rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 9px 24px rgba(5, 35, 82, 0.055);
}

.booking-card--featured {
  border-color: rgba(11, 61, 145, 0.26);
  box-shadow: inset 0 3px var(--blue-700), 0 12px 28px rgba(11, 61, 145, 0.09);
}

.booking-card__top,
.booking-card__patient,
.booking-card__top > b,
.booking-card__actions {
  display: flex;
  align-items: center;
}

.booking-card__top {
  justify-content: space-between;
  gap: 0.45rem;
  padding-bottom: 0.55rem;
  border-bottom: 1px solid rgba(11, 61, 145, 0.08);
}

.booking-card__patient {
  min-width: 0;
  gap: 0.45rem;
}

.booking-card__patient > i {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  color: #fff;
  background: linear-gradient(145deg, #6fa5ef, var(--blue-800));
  font-size: 0.43rem;
  font-style: normal;
  font-weight: 850;
}

.booking-card__patient small,
.booking-card__patient strong,
.booking-card__patient em {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.booking-card__patient small {
  color: var(--muted);
  font-size: 0.32rem;
  font-weight: 800;
  letter-spacing: 0.07em;
}

.booking-card__patient strong {
  color: var(--blue-950);
  font-size: 0.52rem;
}

.booking-card__patient em {
  color: var(--muted);
  font-size: 0.36rem;
  font-style: normal;
}

.booking-card__top > b {
  flex: 0 0 auto;
  gap: 0.26rem;
  padding: 0.24rem 0.38rem;
  border-radius: 99px;
  color: var(--success);
  background: rgba(22, 138, 102, 0.09);
  font-size: 0.35rem;
}

.booking-card__top > b.is-confirmed {
  color: var(--blue-700);
  background: var(--blue-50);
}

.booking-card__top > b i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
}

.booking-card__reason {
  margin: 0.5rem 0;
  padding: 0.45rem 0.5rem;
  border-radius: 9px;
  background: #f5f8fc;
}

.booking-card__reason small,
.booking-card__reason strong,
.booking-card__details small,
.booking-card__details strong,
.booking-card__automation small,
.booking-card__automation strong {
  display: block;
}

.booking-card__reason small,
.booking-card__details small {
  color: var(--muted);
  font-size: 0.31rem;
  font-weight: 800;
  letter-spacing: 0.05em;
}

.booking-card__reason strong {
  color: var(--blue-950);
  font-size: 0.44rem;
}

.booking-card__details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.4rem;
}

.booking-card__details > span {
  min-width: 0;
  padding: 0.45rem;
  border: 1px solid rgba(11, 61, 145, 0.09);
  border-radius: 9px;
}

.booking-card__details strong {
  overflow: hidden;
  color: var(--blue-950);
  font-size: 0.39rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.booking-card__automation {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.4rem;
  margin: 0.5rem 0;
}

.booking-card__automation > span {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0 0.35rem;
  align-items: center;
  padding: 0.42rem;
  border-radius: 9px;
  background: rgba(22, 138, 102, 0.065);
}

.booking-card__automation > span > i {
  grid-row: 1 / 3;
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 7px;
  color: #fff;
  background: var(--success);
  font-size: 0.4rem;
  font-style: normal;
  font-weight: 850;
}

.booking-card__automation small {
  color: var(--muted);
  font-size: 0.31rem;
}

.booking-card__automation strong {
  color: var(--blue-950);
  font-size: 0.38rem;
}

.booking-card__actions {
  gap: 0.28rem;
  padding-top: 0.5rem;
  border-top: 1px solid rgba(11, 61, 145, 0.08);
}

.booking-card__actions span,
.booking-card__actions b {
  padding: 0.38rem 0.45rem;
  border-radius: 8px;
  font-size: 0.34rem;
  text-align: center;
}

.booking-card__actions span {
  color: var(--blue-700);
  border: 1px solid var(--line);
}

.booking-card__actions b {
  flex: 1;
  color: #fff;
  background: var(--blue-800);
}

@media (max-width: 620px) {
  .appointment-card-grid {
    grid-template-columns: 1fr;
  }

  .booking-card:nth-child(2) {
    display: none;
  }

  .booking-card {
    padding: 0.65rem;
  }

  .booking-card__actions span:nth-child(2) {
    display: none;
  }
}

/* WhatsApp review automation showcase */
#ai-chatbot .showcase-copy h2 {
  max-width: 12ch;
  font-size: clamp(2.35rem, 3.75vw, 3.85rem);
  line-height: 1.04;
}

#ai-chatbot .showcase-bullets li {
  min-height: 42px;
  padding: 0.55rem 0.65rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.055);
}

#ai-chatbot .showcase-visual {
  padding: 2rem 1.1rem;
}

#ai-chatbot .showcase-visual::before {
  inset: 0;
  background: radial-gradient(circle, rgba(91, 155, 250, 0.28), rgba(40, 114, 217, 0.05) 52%, transparent 72%);
}

#ai-chatbot .showcase-window {
  min-height: 555px;
  border-color: rgba(255, 255, 255, 0.2);
  border-radius: 30px;
  box-shadow: 0 36px 90px rgba(0, 0, 0, 0.3);
  transform: rotate(-0.55deg);
}

#ai-chatbot .showcase-window__body {
  min-height: 503px;
  padding: 0;
  background:
    radial-gradient(circle at 86% 12%, rgba(62, 128, 229, 0.18), transparent 30%),
    linear-gradient(145deg, #edf4ff, #e5effd);
}

.review-automation-ui {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(230px, 1.08fr);
  gap: 0.7rem;
  align-items: stretch;
  padding: 0.9rem;
}

.review-flow,
.whatsapp-phone {
  border: 1px solid rgba(11, 61, 145, 0.11);
  border-radius: 17px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 10px 26px rgba(5, 35, 82, 0.07);
}

.review-flow {
  padding: 0.75rem;
}

.review-flow__head,
.review-flow__head > span,
.review-flow li,
.review-outcome,
.whatsapp-phone__top,
.whatsapp-compose {
  display: flex;
  align-items: center;
}

.review-flow__head,
.whatsapp-phone__top,
.whatsapp-compose {
  justify-content: space-between;
}

.review-flow__head small,
.review-flow__head strong {
  display: block;
}

.review-flow__head small {
  color: var(--blue-700);
  font-size: 0.37rem;
  font-weight: 850;
  letter-spacing: 0.08em;
}

.review-flow__head strong {
  color: var(--blue-950);
  font-size: 0.63rem;
}

.review-flow__head > span {
  gap: 0.28rem;
  padding: 0.24rem 0.38rem;
  border-radius: 99px;
  color: var(--success);
  background: rgba(22, 138, 102, 0.09);
  font-size: 0.35rem;
  font-weight: 800;
}

.review-flow__head > span i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
}

.review-flow ol {
  position: relative;
  display: grid;
  gap: 0.48rem;
  margin: 0.85rem 0;
  padding: 0;
  list-style: none;
}

.review-flow ol::before {
  content: "";
  position: absolute;
  left: 14px;
  top: 22px;
  bottom: 22px;
  width: 1px;
  background: linear-gradient(var(--blue-600) 65%, #ccd8e9 65%);
}

.review-flow li {
  position: relative;
  gap: 0.48rem;
  min-height: 53px;
  padding: 0.48rem;
  border: 1px solid rgba(11, 61, 145, 0.08);
  border-radius: 11px;
  background: #fff;
}

.review-flow li.is-current {
  border-color: rgba(11, 61, 145, 0.25);
  background: var(--blue-50);
  box-shadow: 0 7px 17px rgba(11, 61, 145, 0.07);
}

.review-flow li > i {
  z-index: 1;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  border: 4px solid #fff;
  border-radius: 9px;
  color: #fff;
  background: #a6b5c8;
  box-shadow: 0 0 0 1px rgba(11, 61, 145, 0.08);
  font-size: 0.43rem;
  font-style: normal;
  font-weight: 900;
}

.review-flow li.is-complete > i {
  background: var(--success);
}

.review-flow li.is-current > i {
  background: var(--blue-700);
}

.review-flow li > div {
  flex: 1;
  min-width: 0;
}

.review-flow li strong,
.review-flow li small {
  display: block;
}

.review-flow li strong {
  color: var(--blue-950);
  font-size: 0.44rem;
}

.review-flow li small {
  color: var(--muted);
  font-size: 0.34rem;
  line-height: 1.35;
}

.review-flow li > b {
  color: var(--muted);
  font-size: 0.33rem;
}

.review-flow li.is-complete > b {
  color: var(--success);
}

.review-flow li.is-current > b {
  color: var(--blue-700);
}

.review-outcome {
  gap: 0.45rem;
  padding: 0.55rem;
  border: 1px solid rgba(234, 172, 36, 0.2);
  border-radius: 11px;
  background: linear-gradient(135deg, #fffaf0, #fff);
}

.review-outcome > span {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 30px;
  height: 30px;
  border-radius: 9px;
  color: #fff;
  background: #e7a91f;
  font-size: 0.65rem;
}

.review-outcome small,
.review-outcome strong {
  display: block;
}

.review-outcome small {
  color: #a47618;
  font-size: 0.31rem;
  font-weight: 850;
  letter-spacing: 0.07em;
}

.review-outcome strong {
  color: var(--blue-950);
  font-size: 0.4rem;
  line-height: 1.35;
}

.whatsapp-phone {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background: #e8f1ec;
}

.whatsapp-phone__top {
  width: 100%;
  min-height: 55px;
  padding: 0.55rem 0.65rem;
  color: #fff;
  background: #075e54;
}

.whatsapp-phone__top > i {
  display: grid;
  place-items: center;
  width: 31px;
  height: 31px;
  margin-right: 0.45rem;
  border-radius: 50%;
  color: #075e54;
  background: #fff;
  font-size: 0.42rem;
  font-style: normal;
  font-weight: 850;
}

.whatsapp-phone__top > div {
  flex: 1;
}

.whatsapp-phone__top strong,
.whatsapp-phone__top small {
  display: block;
}

.whatsapp-phone__top strong {
  font-size: 0.5rem;
}

.whatsapp-phone__top small {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.34rem;
}

.whatsapp-phone__top > span {
  font-size: 0.52rem;
}

.whatsapp-chat {
  flex: 1;
  width: 100%;
  padding: 0.65rem;
  background-color: #e8f1ec;
  background-image: radial-gradient(rgba(7, 94, 84, 0.055) 1px, transparent 1px);
  background-size: 17px 17px;
}

.whatsapp-date {
  width: fit-content;
  margin: 0 auto 0.55rem;
  padding: 0.2rem 0.42rem;
  border-radius: 6px;
  color: #5c6f6b;
  background: rgba(255, 255, 255, 0.72);
  font-size: 0.31rem;
  font-weight: 800;
}

.wa-message,
.wa-reply {
  max-width: 88%;
  margin-bottom: 0.5rem;
  padding: 0.55rem;
  border-radius: 6px 11px 11px 11px;
  color: #203c38;
  background: #fff;
  box-shadow: 0 3px 10px rgba(25, 61, 54, 0.07);
  font-size: 0.42rem;
  line-height: 1.5;
}

.wa-message p {
  margin: 0;
}

.wa-message a {
  display: block;
  margin-top: 0.5rem;
  padding: 0.48rem;
  border-radius: 7px;
  color: #fff;
  background: var(--blue-800);
  font-weight: 800;
  text-align: center;
}

.wa-message time,
.wa-reply time {
  display: block;
  margin-top: 0.18rem;
  color: #71827f;
  font-size: 0.29rem;
  text-align: right;
}

.wa-reply {
  margin-left: auto;
  border-radius: 11px 6px 11px 11px;
  background: #dcf8c6;
}

.whatsapp-compose {
  width: calc(100% - 1rem);
  margin: 0 0.5rem 0.55rem;
  padding: 0.42rem 0.5rem;
  border-radius: 99px;
  color: #7c8b88;
  background: #fff;
  font-size: 0.37rem;
}

.whatsapp-compose b {
  display: grid;
  place-items: center;
  width: 23px;
  height: 23px;
  border-radius: 50%;
  color: #fff;
  background: #128c7e;
  font-size: 0.42rem;
}

.demo-label {
  position: absolute;
  right: 0.55rem;
  bottom: 0.12rem;
  color: rgba(5, 45, 40, 0.54);
  font-size: 0.26rem;
  font-weight: 850;
  letter-spacing: 0.06em;
}

@media (max-width: 620px) {
  #ai-chatbot .showcase-copy h2 {
    font-size: clamp(2.1rem, 10.5vw, 2.9rem);
  }

  #ai-chatbot .showcase-visual {
    padding: 0.5rem;
  }

  #ai-chatbot .showcase-window {
    min-height: 610px;
    border-radius: 22px;
  }

  #ai-chatbot .showcase-window__body {
    min-height: 558px;
  }

  .review-automation-ui {
    grid-template-columns: 1fr;
    padding: 0.6rem;
  }

  .review-flow ol {
    grid-template-columns: repeat(2, 1fr);
  }

  .review-flow ol::before,
  .review-flow li:nth-child(4),
  .review-outcome {
    display: none;
  }

  .review-flow li {
    min-height: 58px;
  }

  .review-flow li:nth-child(3) {
    grid-column: 1 / -1;
  }

  .whatsapp-phone {
    min-height: 310px;
  }

  .wa-message,
  .wa-reply {
    font-size: 0.4rem;
  }
}

/* Premium clinic website CMS showcase */
#cms {
  isolation: isolate;
  background:
    radial-gradient(circle at 80% 42%, rgba(65, 131, 230, 0.13), transparent 30%),
    linear-gradient(180deg, #ffffff 0%, #f5f9ff 100%);
}

#cms .showcase-copy h2 {
  max-width: 12ch;
  font-size: clamp(2.35rem, 3.75vw, 3.8rem);
  line-height: 1.04;
}

#cms .showcase-bullets li {
  min-height: 42px;
  padding: 0.55rem 0.65rem;
  border: 1px solid rgba(11, 61, 145, 0.09);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 7px 18px rgba(5, 35, 82, 0.04);
}

#cms .showcase-visual {
  padding: 2rem 1.1rem;
}

#cms .showcase-visual::before {
  inset: 0;
  background: radial-gradient(circle, rgba(40, 114, 217, 0.21), rgba(40, 114, 217, 0.035) 52%, transparent 72%);
}

#cms .showcase-window {
  min-height: 555px;
  border-radius: 30px;
  box-shadow: 0 34px 90px rgba(9, 45, 101, 0.18);
  transform: rotate(0.55deg);
}

#cms .showcase-window__body {
  min-height: 503px;
  padding: 0;
  background: #edf3fb;
}

#cms .cms-ui--premium {
  grid-template-columns: 122px minmax(0, 1fr);
  min-height: 503px;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background: transparent;
}

#cms .cms-sidebar {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 0.8rem 0.6rem;
  border-right: 1px solid var(--line);
  color: var(--muted);
  background: rgba(255, 255, 255, 0.72);
}

.cms-brand {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0 0.25rem 0.75rem;
  border-bottom: 1px solid rgba(11, 61, 145, 0.08);
}

.cms-brand > i {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 27px;
  height: 27px;
  border-radius: 8px;
  color: #fff;
  background: var(--blue-800);
  font-size: 0.55rem;
  font-style: normal;
}

.cms-brand strong,
.cms-brand small {
  display: block;
}

.cms-brand strong {
  color: var(--blue-950);
  font-size: 0.5rem;
}

.cms-brand small {
  overflow: hidden;
  max-width: 67px;
  color: var(--muted);
  font-size: 0.3rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#cms .cms-sidebar nav {
  display: grid;
  gap: 0.25rem;
  margin-top: 0.7rem;
}

#cms .cms-sidebar nav span {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.48rem;
  border-radius: 8px;
  color: var(--muted);
  font-size: 0.43rem;
  font-weight: 680;
}

#cms .cms-sidebar nav span i {
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
  border-radius: 6px;
  color: var(--blue-700);
  background: var(--blue-50);
  font-size: 0.43rem;
  font-style: normal;
}

#cms .cms-sidebar nav span.active {
  color: var(--blue-800);
  background: var(--blue-50);
}

#cms .cms-sidebar nav span.active i {
  color: #fff;
  background: var(--blue-700);
}

.cms-site-status {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: auto;
  padding: 0.45rem;
  border: 1px solid rgba(22, 138, 102, 0.12);
  border-radius: 9px;
  background: rgba(22, 138, 102, 0.055);
}

.cms-site-status > i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--success);
}

.cms-site-status strong,
.cms-site-status small {
  display: block;
}

.cms-site-status strong {
  color: var(--blue-950);
  font-size: 0.38rem;
}

.cms-site-status small {
  color: var(--muted);
  font-size: 0.3rem;
}

.cms-workspace {
  min-width: 0;
  padding: 0.8rem;
}

.cms-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.cms-toolbar small,
.cms-toolbar strong {
  display: block;
}

.cms-toolbar small {
  color: var(--blue-700);
  font-size: 0.37rem;
  font-weight: 850;
  letter-spacing: 0.08em;
}

.cms-toolbar strong {
  color: var(--blue-950);
  font-size: 0.68rem;
}

.cms-toolbar > span {
  padding: 0.25rem 0.4rem;
  border-radius: 99px;
  color: var(--success);
  background: rgba(22, 138, 102, 0.08);
  font-size: 0.35rem;
  font-weight: 750;
}

.cms-tabs {
  display: flex;
  gap: 0.2rem;
  margin: 0.65rem 0;
  padding: 0.2rem;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.68);
}

.cms-tabs span {
  flex: 1;
  padding: 0.32rem;
  border-radius: 7px;
  color: var(--muted);
  font-size: 0.39rem;
  font-weight: 700;
  text-align: center;
}

.cms-tabs span.active {
  color: var(--blue-800);
  background: #fff;
  box-shadow: 0 3px 9px rgba(5, 35, 82, 0.07);
}

.cms-builder {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(190px, 1.05fr);
  gap: 0.6rem;
}

.cms-form,
.cms-live-preview {
  min-width: 0;
  padding: 0.65rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
}

#cms .cms-form label {
  display: block;
  margin-bottom: 0.45rem;
}

#cms .cms-form label > span {
  display: block;
  margin-bottom: 0.16rem;
  color: var(--muted);
  font-size: 0.34rem;
  font-weight: 700;
}

#cms .cms-form label > i {
  display: block;
  overflow: hidden;
  min-height: 28px;
  padding: 0.42rem;
  border: 1px solid var(--line);
  border-radius: 7px;
  color: var(--blue-950);
  background: #fbfdff;
  font-size: 0.39rem;
  font-style: normal;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#cms .cms-form label > i.cms-copy {
  min-height: 50px;
  white-space: normal;
}

.cms-field-row {
  display: grid;
  grid-template-columns: 1fr 0.65fr;
  gap: 0.4rem;
}

.cms-media-field {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.4rem;
  margin-top: 0.05rem;
  padding: 0.45rem;
  border: 1px dashed var(--blue-200);
  border-radius: 8px;
  background: var(--blue-50);
}

.cms-media-field small,
.cms-media-field strong {
  display: block;
}

.cms-media-field small {
  color: var(--muted);
  font-size: 0.3rem;
}

.cms-media-field strong {
  color: var(--blue-950);
  font-size: 0.38rem;
}

.cms-media-field > span {
  color: var(--blue-700);
  font-size: 0.34rem;
  font-weight: 750;
}

#cms .cms-actions {
  display: flex;
  justify-content: flex-end;
  gap: 0.3rem;
  margin-top: 0.55rem;
}

#cms .cms-actions span,
#cms .cms-actions b {
  padding: 0.42rem 0.52rem;
  border-radius: 8px;
  font-size: 0.35rem;
}

#cms .cms-actions span {
  color: var(--blue-700);
  border: 1px solid var(--line);
}

#cms .cms-actions b {
  color: #fff;
  background: var(--blue-800);
  box-shadow: 0 7px 16px rgba(11, 61, 145, 0.17);
}

.cms-live-preview {
  position: relative;
  overflow: hidden;
  padding: 0;
}

.preview-bar {
  display: flex;
  align-items: center;
  gap: 0.22rem;
  height: 31px;
  padding: 0 0.5rem;
  border-bottom: 1px solid var(--line);
  background: #f8fbff;
}

.preview-bar i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #c8d5e7;
}

.preview-bar span {
  margin-left: auto;
  color: var(--muted);
  font-size: 0.3rem;
}

.preview-site-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.48rem 0.55rem;
  border-bottom: 1px solid rgba(11, 61, 145, 0.08);
}

.preview-site-nav strong {
  color: var(--blue-800);
  font-size: 0.4rem;
}

.preview-site-nav span {
  color: var(--muted);
  font-size: 0.27rem;
}

.preview-hero {
  position: relative;
  overflow: hidden;
  min-height: 275px;
  padding: 1rem 0.75rem;
  color: #fff;
  background:
    radial-gradient(circle at 90% 12%, rgba(127, 180, 255, 0.62), transparent 30%),
    linear-gradient(145deg, var(--blue-700), var(--blue-950));
}

.preview-hero::after {
  content: "";
  position: absolute;
  width: 160px;
  height: 160px;
  right: -100px;
  bottom: -90px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
  box-shadow: 0 0 0 23px rgba(255, 255, 255, 0.025);
}

.preview-hero > small {
  color: #bfd7fb;
  font-size: 0.3rem;
  font-weight: 850;
  letter-spacing: 0.08em;
}

.preview-hero > strong {
  display: block;
  max-width: 10ch;
  margin-top: 0.4rem;
  font-size: 1rem;
  line-height: 1.08;
}

.preview-hero > p {
  max-width: 23ch;
  margin: 0.55rem 0;
  color: #cfddf3;
  font-size: 0.36rem;
  line-height: 1.5;
}

.preview-hero > b {
  display: inline-block;
  padding: 0.4rem 0.52rem;
  border-radius: 7px;
  color: var(--blue-900);
  background: #fff;
  font-size: 0.34rem;
}

.preview-doctor {
  position: absolute;
  left: 0.75rem;
  right: 0.75rem;
  bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.09);
}

.preview-doctor > i {
  display: grid;
  place-items: center;
  width: 25px;
  height: 25px;
  border-radius: 8px;
  color: var(--blue-800);
  background: #fff;
  font-size: 0.36rem;
  font-style: normal;
  font-weight: 850;
}

.preview-doctor strong,
.preview-doctor small {
  display: block;
}

.preview-doctor strong {
  font-size: 0.4rem;
}

.preview-doctor small {
  color: #c7d8f0;
  font-size: 0.3rem;
}

.preview-status {
  position: absolute;
  right: 0.45rem;
  bottom: 0.4rem;
  display: flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.24rem 0.35rem;
  border-radius: 99px;
  color: var(--success);
  background: #fff;
  box-shadow: 0 6px 14px rgba(5, 35, 82, 0.12);
  font-size: 0.28rem;
  font-weight: 750;
}

.preview-status i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
}

@media (max-width: 620px) {
  #cms .showcase-copy h2 {
    font-size: clamp(2.1rem, 10.5vw, 2.9rem);
  }

  #cms .showcase-visual {
    padding: 0.5rem;
  }

  #cms .showcase-window {
    min-height: 530px;
    border-radius: 22px;
  }

  #cms .showcase-window__body,
  #cms .cms-ui--premium {
    min-height: 478px;
  }

  #cms .cms-ui--premium {
    grid-template-columns: 58px minmax(0, 1fr);
  }

  #cms .cms-sidebar {
    padding: 0.6rem 0.35rem;
  }

  .cms-brand span,
  #cms .cms-sidebar nav span {
    font-size: 0;
  }

  .cms-brand {
    justify-content: center;
    padding-inline: 0;
  }

  #cms .cms-sidebar nav span {
    justify-content: center;
    padding: 0.42rem;
  }

  #cms .cms-sidebar nav span i {
    font-size: 0.42rem;
  }

  .cms-site-status {
    display: none;
  }

  .cms-workspace {
    padding: 0.55rem;
  }

  .cms-tabs span:nth-child(3),
  .cms-tabs span:nth-child(4),
  .cms-live-preview {
    display: none;
  }

  .cms-builder {
    grid-template-columns: 1fr;
  }

  #cms .cms-form label > i {
    white-space: normal;
  }
}

/* AI-assisted e-prescription showcase */
#e-prescriptions {
  isolation: isolate;
  background:
    radial-gradient(circle at 18% 42%, rgba(73, 138, 235, 0.12), transparent 30%),
    linear-gradient(180deg, #f8fbff 0%, #ffffff 100%);
}

#e-prescriptions .showcase-copy h2 {
  max-width: 14ch;
  font-size: clamp(2.1rem, 3.15vw, 3.2rem);
  line-height: 1.06;
}

#e-prescriptions .showcase-bullets li {
  min-height: 42px;
  padding: 0.55rem 0.65rem;
  border: 1px solid rgba(11, 61, 145, 0.09);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 7px 18px rgba(5, 35, 82, 0.04);
}

#e-prescriptions .showcase-visual {
  padding: 2rem 1rem;
}

#e-prescriptions .showcase-visual::before {
  inset: 0;
  background: radial-gradient(circle, rgba(40, 114, 217, 0.22), rgba(40, 114, 217, 0.035) 52%, transparent 72%);
}

#e-prescriptions .showcase-window {
  min-height: 565px;
  border-radius: 30px;
  box-shadow: 0 34px 90px rgba(9, 45, 101, 0.18);
  transform: rotate(-0.5deg);
}

#e-prescriptions .showcase-window__body {
  min-height: 513px;
  padding: 0;
  background: #edf3fb;
}

#e-prescriptions .prescription-ui--ai {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(220px, 0.98fr);
  gap: 0.65rem;
  align-items: stretch;
  padding: 0.85rem;
}

.rx-ai-workspace,
.rx-preview {
  min-width: 0;
  padding: 0.7rem;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 10px 25px rgba(5, 35, 82, 0.05);
}

.rx-ai-header,
.rx-ai-header > span,
.rx-patient-bar,
.rx-prompt__label,
.rx-prompt__footer,
.rx-safety-note,
.rx-preview__toolbar,
.rx-preview__actions,
.rx-doctor {
  display: flex;
  align-items: center;
}

.rx-ai-header,
.rx-prompt__label,
.rx-prompt__footer,
.rx-preview__toolbar,
.rx-preview__actions,
.rx-doctor {
  justify-content: space-between;
}

.rx-ai-header small,
.rx-ai-header strong {
  display: block;
}

.rx-ai-header small {
  color: var(--blue-700);
  font-size: 0.37rem;
  font-weight: 850;
  letter-spacing: 0.08em;
}

.rx-ai-header strong {
  color: var(--blue-950);
  font-size: 0.68rem;
}

.rx-ai-header > span {
  gap: 0.3rem;
  padding: 0.28rem 0.42rem;
  border-radius: 99px;
  color: var(--blue-700);
  background: var(--blue-50);
  font-size: 0.36rem;
  font-weight: 800;
}

.rx-ai-header > span i {
  font-style: normal;
}

.rx-patient-bar {
  gap: 0.45rem;
  margin: 0.65rem 0;
  padding: 0.5rem;
  border: 1px solid rgba(11, 61, 145, 0.09);
  border-radius: 10px;
  background: #f8fbff;
}

.rx-patient-bar > i {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 30px;
  height: 30px;
  border-radius: 9px;
  color: #fff;
  background: linear-gradient(145deg, #6da3ed, var(--blue-800));
  font-size: 0.4rem;
  font-style: normal;
  font-weight: 850;
}

.rx-patient-bar > div {
  flex: 1;
  min-width: 0;
}

.rx-patient-bar small,
.rx-patient-bar strong,
.rx-patient-bar span {
  display: block;
}

.rx-patient-bar small {
  color: var(--muted);
  font-size: 0.31rem;
  font-weight: 800;
}

.rx-patient-bar strong {
  color: var(--blue-950);
  font-size: 0.47rem;
}

.rx-patient-bar span {
  color: var(--muted);
  font-size: 0.34rem;
}

.rx-patient-bar > b {
  padding: 0.22rem 0.35rem;
  border-radius: 99px;
  color: var(--success);
  background: rgba(22, 138, 102, 0.08);
  font-size: 0.33rem;
}

.rx-prompt {
  padding: 0.65rem;
  border: 1px solid rgba(11, 61, 145, 0.2);
  border-radius: 12px;
  background: linear-gradient(145deg, #f8fbff, #eff5ff);
  box-shadow: inset 0 0 24px rgba(40, 114, 217, 0.035);
}

.rx-prompt__label span {
  color: var(--blue-950);
  font-size: 0.42rem;
  font-weight: 800;
}

.rx-prompt__label small {
  color: var(--blue-700);
  font-size: 0.32rem;
}

.rx-prompt > p {
  min-height: 78px;
  margin: 0.4rem 0;
  padding: 0.5rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--blue-950);
  background: #fff;
  font-size: 0.4rem;
  line-height: 1.55;
}

.rx-prompt__footer > span {
  display: flex;
  align-items: center;
  gap: 0.15rem;
  color: var(--muted);
  font-size: 0.29rem;
}

.rx-prompt__footer > span i {
  width: 3px;
  height: 9px;
  border-radius: 99px;
  background: var(--blue-600);
  animation: rxWave 0.9s ease-in-out infinite alternate;
}

.rx-prompt__footer > span i:nth-child(2) {
  height: 14px;
  animation-delay: 0.18s;
}

.rx-prompt__footer > span i:nth-child(3) {
  height: 7px;
  animation-delay: 0.34s;
}

.rx-prompt__footer > b {
  padding: 0.4rem 0.5rem;
  border-radius: 8px;
  color: #fff;
  background: var(--blue-800);
  box-shadow: 0 7px 16px rgba(11, 61, 145, 0.16);
  font-size: 0.34rem;
}

.rx-ai-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.3rem;
  margin: 0.6rem 0;
}

.rx-ai-steps span {
  display: flex;
  align-items: center;
  gap: 0.28rem;
  min-width: 0;
  padding: 0.38rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--muted);
  background: #fff;
  font-size: 0.31rem;
  line-height: 1.25;
}

.rx-ai-steps span i {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 17px;
  height: 17px;
  border-radius: 6px;
  color: var(--muted);
  background: #eef3fa;
  font-size: 0.31rem;
  font-style: normal;
  font-weight: 850;
}

.rx-ai-steps span.is-done {
  color: var(--success);
  border-color: rgba(22, 138, 102, 0.13);
  background: rgba(22, 138, 102, 0.045);
}

.rx-ai-steps span.is-done i {
  color: #fff;
  background: var(--success);
}

.rx-safety-note {
  gap: 0.4rem;
  padding: 0.5rem;
  border: 1px solid rgba(191, 107, 24, 0.15);
  border-radius: 9px;
  background: #fffaf2;
}

.rx-safety-note > i {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 23px;
  height: 23px;
  border-radius: 7px;
  color: #fff;
  background: #bf6b18;
  font-size: 0.4rem;
  font-style: normal;
  font-weight: 900;
}

.rx-safety-note strong,
.rx-safety-note small {
  display: block;
}

.rx-safety-note strong {
  color: #74400f;
  font-size: 0.39rem;
}

.rx-safety-note small {
  color: #8a6239;
  font-size: 0.31rem;
  line-height: 1.35;
}

.rx-input-section {
  margin-bottom: 0.45rem;
  padding: 0.5rem;
  border: 1px solid rgba(11, 61, 145, 0.1);
  border-radius: 10px;
  background: #f8fbff;
}

.rx-input-title,
.rx-generate-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.rx-input-title {
  margin-bottom: 0.35rem;
}

.rx-input-title span {
  color: var(--blue-950);
  font-size: 0.4rem;
  font-weight: 800;
}

.rx-input-title small {
  color: var(--blue-700);
  font-size: 0.3rem;
}

.rx-medicine-input {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 0.35rem;
}

.rx-medicine-input > div,
.rx-physical-grid > span {
  min-width: 0;
  padding: 0.4rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.rx-medicine-input small,
.rx-medicine-input strong,
.rx-physical-grid small,
.rx-physical-grid strong {
  display: block;
}

.rx-medicine-input small,
.rx-physical-grid small {
  color: var(--muted);
  font-size: 0.28rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.rx-medicine-input strong,
.rx-physical-grid strong {
  overflow: hidden;
  color: var(--blue-950);
  font-size: 0.36rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rx-physical-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.3rem;
}

.rx-input-section--notes p {
  margin: 0;
  padding: 0.4rem;
  border-radius: 8px;
  color: var(--muted);
  background: #fff;
  font-size: 0.34rem;
  line-height: 1.4;
}

.rx-input-section--notes p b {
  color: var(--blue-950);
}

.rx-generate-row {
  gap: 0.4rem;
  margin-bottom: 0.45rem;
}

.rx-generate-row > span {
  display: flex;
  align-items: center;
  gap: 0.13rem;
  color: var(--muted);
  font-size: 0.29rem;
}

.rx-generate-row > span i {
  width: 3px;
  height: 8px;
  border-radius: 99px;
  background: var(--blue-600);
  animation: rxWave 0.9s ease-in-out infinite alternate;
}

.rx-generate-row > span i:nth-child(2) {
  height: 13px;
  animation-delay: 0.18s;
}

.rx-generate-row > span i:nth-child(3) {
  height: 6px;
  animation-delay: 0.34s;
}

.rx-generate-row > b {
  padding: 0.4rem 0.5rem;
  border-radius: 8px;
  color: #fff;
  background: var(--blue-800);
  box-shadow: 0 7px 16px rgba(11, 61, 145, 0.16);
  font-size: 0.34rem;
}

.rx-preview {
  display: flex;
  flex-direction: column;
}

.rx-preview__toolbar {
  margin-bottom: 0.45rem;
  color: var(--blue-950);
  font-size: 0.46rem;
  font-weight: 800;
}

.rx-preview__toolbar small {
  padding: 0.22rem 0.34rem;
  border-radius: 99px;
  color: #bf6b18;
  background: #fff5e8;
  font-size: 0.31rem;
}

#e-prescriptions .rx-sheet--generated {
  width: 100%;
  min-height: 0;
  flex: 1;
  padding: 0.7rem;
  border-radius: 10px;
  box-shadow: 0 10px 24px rgba(5, 35, 82, 0.07);
}

#e-prescriptions .rx-sheet--generated .rx-head {
  padding-bottom: 0.55rem;
}

#e-prescriptions .rx-sheet--generated .rx-head span {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.5rem;
}

#e-prescriptions .rx-sheet--generated .rx-head span i {
  display: grid;
  place-items: center;
  width: 23px;
  height: 23px;
  border-radius: 7px;
  color: #fff;
  background: var(--blue-800);
  font-size: 0.42rem;
  font-style: normal;
}

#e-prescriptions .rx-sheet--generated .rx-head span small {
  display: block;
  color: var(--muted);
  font-size: 0.29rem;
  font-weight: 500;
}

#e-prescriptions .rx-sheet--generated .rx-head b {
  font-size: 1.35rem;
}

#e-prescriptions .rx-sheet--generated .rx-patient {
  padding: 0.55rem 0;
}

.rx-diagnosis {
  padding: 0.45rem;
  border-radius: 8px;
  background: var(--blue-50);
}

.rx-diagnosis small,
.rx-diagnosis strong {
  display: block;
}

.rx-diagnosis small {
  color: var(--muted);
  font-size: 0.29rem;
}

.rx-diagnosis strong {
  color: var(--blue-950);
  font-size: 0.4rem;
}

.rx-health-summary {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.3rem;
  margin-bottom: 0.2rem;
}

.rx-health-summary > span {
  padding: 0.38rem;
  border-radius: 7px;
  background: var(--blue-50);
}

.rx-health-summary small,
.rx-health-summary strong {
  display: block;
}

.rx-health-summary small {
  color: var(--muted);
  font-size: 0.27rem;
}

.rx-health-summary strong {
  color: var(--blue-950);
  font-size: 0.35rem;
}

.rx-plan-grid {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: 0.35rem;
  margin-top: 0.3rem;
}

.rx-plan-grid > div {
  padding: 0.45rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fbff;
}

.rx-plan-grid small,
.rx-plan-grid strong {
  display: block;
}

.rx-plan-grid small {
  color: var(--blue-700);
  font-size: 0.27rem;
  font-weight: 850;
}

.rx-plan-grid strong {
  color: var(--blue-950);
  font-size: 0.34rem;
  line-height: 1.35;
}

#e-prescriptions .rx-sheet--generated .medicine-row {
  align-items: center;
  padding: 0.55rem 0;
}

#e-prescriptions .rx-sheet--generated .medicine-row > div {
  flex: 1;
}

#e-prescriptions .rx-sheet--generated .medicine-row > span {
  padding: 0.2rem 0.32rem;
  border-radius: 99px;
  color: var(--blue-700);
  background: var(--blue-50);
  font-size: 0.28rem;
  font-weight: 750;
}

#e-prescriptions .rx-sheet--generated .rx-note {
  margin-top: 0.25rem;
  padding: 0.5rem;
  line-height: 1.4;
}

#e-prescriptions .rx-sheet--generated .rx-note small {
  display: block;
  color: var(--blue-700);
  font-size: 0.27rem;
  font-weight: 850;
}

.rx-doctor {
  margin-top: 0.65rem;
  padding-top: 0.55rem;
  border-top: 1px solid var(--line);
}

.rx-doctor small,
.rx-doctor strong {
  display: block;
}

.rx-doctor small {
  color: var(--muted);
  font-size: 0.27rem;
}

.rx-doctor strong {
  color: var(--blue-950);
  font-size: 0.39rem;
}

.rx-doctor em {
  padding: 0.22rem 0.35rem;
  border-radius: 99px;
  color: #bf6b18;
  background: #fff5e8;
  font-size: 0.28rem;
  font-style: normal;
  font-weight: 750;
}

.rx-preview__actions {
  gap: 0.35rem;
  margin-top: 0.55rem;
}

.rx-preview__actions span,
.rx-preview__actions b {
  padding: 0.43rem 0.55rem;
  border-radius: 8px;
  font-size: 0.35rem;
  text-align: center;
}

.rx-preview__actions span {
  color: var(--blue-700);
  border: 1px solid var(--line);
}

.rx-preview__actions b {
  flex: 1;
  color: #fff;
  background: var(--blue-800);
  box-shadow: 0 7px 16px rgba(11, 61, 145, 0.18);
}

.rx-preview__actions b i {
  margin-left: 0.25rem;
  font-style: normal;
}

@keyframes rxWave {
  from { transform: scaleY(0.55); opacity: 0.5; }
  to { transform: scaleY(1); opacity: 1; }
}

@media (max-width: 620px) {
  #e-prescriptions .showcase-copy h2 {
    font-size: clamp(1.95rem, 9.5vw, 2.55rem);
  }

  #e-prescriptions .showcase-visual {
    padding: 0.5rem;
  }

  #e-prescriptions .showcase-window {
    min-height: 625px;
    border-radius: 22px;
  }

  #e-prescriptions .showcase-window__body {
    min-height: 573px;
  }

  #e-prescriptions .prescription-ui--ai {
    grid-template-columns: 1fr;
    padding: 0.6rem;
  }

  .rx-prompt > p {
    min-height: 62px;
  }

  .rx-ai-steps span:nth-child(2) {
    display: none;
  }

  .rx-ai-steps {
    grid-template-columns: repeat(2, 1fr);
  }

  .rx-preview {
    min-height: 285px;
  }

  #e-prescriptions .rx-sheet--generated .rx-note,
  #e-prescriptions .rx-sheet--generated .rx-doctor {
    display: none;
  }
}

/* AI-assisted billing and invoices showcase */
#billing {
  isolation: isolate;
  background:
    radial-gradient(circle at 80% 42%, rgba(68, 134, 232, 0.14), transparent 31%),
    linear-gradient(180deg, #ffffff 0%, #f5f9ff 100%);
}

#billing .showcase-copy h2 {
  max-width: 13ch;
  font-size: clamp(2.2rem, 3.35vw, 3.4rem);
  line-height: 1.05;
}

#billing .showcase-bullets li {
  min-height: 42px;
  padding: 0.55rem 0.65rem;
  border: 1px solid rgba(11, 61, 145, 0.09);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 7px 18px rgba(5, 35, 82, 0.04);
}

#billing .showcase-visual {
  padding: 2rem 1rem;
}

#billing .showcase-visual::before {
  inset: 0;
  background: radial-gradient(circle, rgba(40, 114, 217, 0.22), rgba(40, 114, 217, 0.035) 52%, transparent 72%);
}

#billing .showcase-window {
  min-height: 565px;
  border-radius: 30px;
  box-shadow: 0 34px 90px rgba(9, 45, 101, 0.18);
  transform: rotate(0.5deg);
}

#billing .showcase-window__body {
  min-height: 513px;
  padding: 0;
  background: #edf3fb;
}

#billing .billing-ui--ai {
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(225px, 0.97fr);
  gap: 0.65rem;
  align-items: stretch;
  padding: 0.85rem;
}

.invoice-builder,
.invoice-preview {
  min-width: 0;
  padding: 0.7rem;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 10px 25px rgba(5, 35, 82, 0.05);
}

.invoice-builder__head,
.invoice-builder__head > span,
.invoice-patient,
.invoice-items-head,
.invoice-ai-action,
.invoice-ai-action > div,
.invoice-adjustments,
.invoice-preview__head,
.invoice-share,
.invoice-ready {
  display: flex;
  align-items: center;
}

.invoice-builder__head,
.invoice-items-head,
.invoice-ai-action,
.invoice-preview__head {
  justify-content: space-between;
}

.invoice-builder__head small,
.invoice-builder__head strong {
  display: block;
}

.invoice-builder__head small {
  color: var(--blue-700);
  font-size: 0.37rem;
  font-weight: 850;
  letter-spacing: 0.08em;
}

.invoice-builder__head strong {
  color: var(--blue-950);
  font-size: 0.68rem;
}

.invoice-builder__head > span {
  gap: 0.3rem;
  padding: 0.28rem 0.42rem;
  border-radius: 99px;
  color: var(--blue-700);
  background: var(--blue-50);
  font-size: 0.36rem;
  font-weight: 800;
}

.invoice-builder__head > span i {
  font-style: normal;
}

.invoice-patient {
  gap: 0.45rem;
  margin: 0.65rem 0;
  padding: 0.5rem;
  border: 1px solid rgba(11, 61, 145, 0.09);
  border-radius: 10px;
  background: #f8fbff;
}

.invoice-patient > i {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 30px;
  height: 30px;
  border-radius: 9px;
  color: #fff;
  background: linear-gradient(145deg, #6da3ed, var(--blue-800));
  font-size: 0.4rem;
  font-style: normal;
  font-weight: 850;
}

.invoice-patient > div {
  flex: 1;
}

.invoice-patient small,
.invoice-patient strong,
.invoice-patient span {
  display: block;
}

.invoice-patient small {
  color: var(--muted);
  font-size: 0.3rem;
  font-weight: 800;
}

.invoice-patient strong {
  color: var(--blue-950);
  font-size: 0.46rem;
}

.invoice-patient span {
  color: var(--muted);
  font-size: 0.33rem;
}

.invoice-patient > b {
  padding: 0.22rem 0.35rem;
  border-radius: 99px;
  color: var(--success);
  background: rgba(22, 138, 102, 0.08);
  font-size: 0.32rem;
}

.invoice-items-head {
  margin-bottom: 0.35rem;
}

.invoice-items-head span {
  color: var(--blue-950);
  font-size: 0.43rem;
  font-weight: 800;
}

.invoice-items-head small {
  color: var(--blue-700);
  font-size: 0.32rem;
}

.invoice-item {
  display: grid;
  grid-template-columns: 23px minmax(0, 1fr) 29px 36px;
  gap: 0.4rem;
  align-items: center;
  margin-bottom: 0.4rem;
  padding: 0.48rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
}

.invoice-item > i {
  display: grid;
  place-items: center;
  width: 23px;
  height: 23px;
  border-radius: 7px;
  color: var(--blue-700);
  background: var(--blue-100);
  font-size: 0.31rem;
  font-style: normal;
  font-weight: 850;
}

.invoice-item > div {
  min-width: 0;
}

.invoice-item small,
.invoice-item strong,
.invoice-item p {
  display: block;
}

.invoice-item small {
  color: var(--muted);
  font-size: 0.27rem;
  font-weight: 800;
}

.invoice-item strong {
  overflow: hidden;
  color: var(--blue-950);
  font-size: 0.39rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.invoice-item p {
  overflow: hidden;
  margin: 0.08rem 0 0;
  color: var(--muted);
  font-size: 0.3rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.invoice-item > span {
  text-align: center;
}

.invoice-item > span small,
.invoice-item > span b {
  display: block;
}

.invoice-item > span b,
.invoice-item > em {
  color: var(--blue-950);
  font-size: 0.37rem;
  font-style: normal;
  font-weight: 800;
}

.invoice-ai-action {
  gap: 0.35rem;
  margin-top: 0.1rem;
  padding: 0.5rem;
  border: 1px solid rgba(40, 114, 217, 0.16);
  border-radius: 10px;
  background: linear-gradient(145deg, #f8fbff, #edf4ff);
}

.invoice-ai-action > div {
  gap: 0.35rem;
}

.invoice-ai-action > div > i {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 7px;
  color: #fff;
  background: var(--blue-800);
  font-size: 0.4rem;
  font-style: normal;
}

.invoice-ai-action strong,
.invoice-ai-action small {
  display: block;
}

.invoice-ai-action strong {
  color: var(--blue-950);
  font-size: 0.37rem;
}

.invoice-ai-action small {
  color: var(--muted);
  font-size: 0.29rem;
}

.invoice-ai-action > b {
  margin-left: auto;
  color: var(--blue-700);
  font-size: 0.31rem;
}

.invoice-adjustments {
  justify-content: flex-end;
  gap: 0.35rem;
  margin-top: 0.45rem;
}

.invoice-adjustments > span {
  min-width: 57px;
  padding: 0.38rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.invoice-adjustments small,
.invoice-adjustments strong {
  display: block;
}

.invoice-adjustments small {
  color: var(--muted);
  font-size: 0.28rem;
}

.invoice-adjustments strong {
  color: var(--blue-950);
  font-size: 0.4rem;
}

.invoice-adjustments > span:last-child {
  color: #fff;
  border-color: var(--blue-800);
  background: var(--blue-800);
}

.invoice-adjustments > span:last-child small,
.invoice-adjustments > span:last-child strong {
  color: #fff;
}

.invoice-preview {
  display: flex;
  flex-direction: column;
}

.invoice-preview__head {
  margin-bottom: 0.45rem;
  color: var(--blue-950);
  font-size: 0.46rem;
  font-weight: 800;
}

.invoice-preview__head small {
  padding: 0.22rem 0.34rem;
  border-radius: 99px;
  color: var(--success);
  background: rgba(22, 138, 102, 0.08);
  font-size: 0.31rem;
}

#billing .invoice-sheet--generated {
  width: 100%;
  min-height: 0;
  flex: 1;
  padding: 0.7rem;
  border-radius: 10px;
  box-shadow: 0 10px 24px rgba(5, 35, 82, 0.07);
}

#billing .invoice-sheet--generated .invoice-head {
  padding-bottom: 0.6rem;
}

#billing .invoice-sheet--generated .invoice-head span {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.48rem;
}

#billing .invoice-sheet--generated .invoice-head span i {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 7px;
  color: #fff;
  background: var(--blue-800);
  font-size: 0.4rem;
  font-style: normal;
}

#billing .invoice-sheet--generated .invoice-meta {
  padding: 0.55rem 0;
}

#billing .invoice-sheet--generated .invoice-table {
  margin-top: 0.55rem;
}

#billing .invoice-sheet--generated .invoice-table strong,
#billing .invoice-sheet--generated .invoice-table p {
  grid-template-columns: 1fr 27px 45px;
  padding: 0.5rem;
  font-size: 0.35rem;
}

.invoice-summary {
  display: grid;
  gap: 0.25rem;
  margin-top: 0.55rem;
  margin-left: auto;
  width: 65%;
}

.invoice-summary > span,
.invoice-summary > strong {
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-size: 0.34rem;
  font-weight: 500;
}

.invoice-summary > span b {
  color: var(--blue-950);
}

.invoice-summary > strong {
  padding-top: 0.35rem;
  border-top: 1px solid var(--line);
  color: var(--blue-950);
  font-size: 0.45rem;
}

.invoice-summary > strong b {
  color: var(--blue-800);
}

.invoice-footer-note {
  margin-top: 0.8rem;
  padding: 0.42rem;
  border-radius: 7px;
  color: var(--muted);
  background: var(--blue-50);
  font-size: 0.31rem;
  text-align: center;
}

.invoice-share {
  gap: 0.35rem;
  margin-top: 0.5rem;
}

.invoice-share span {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  flex: 1;
  padding: 0.42rem 0.3rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--blue-700);
  background: #fff;
  font-size: 0.34rem;
  font-weight: 750;
}

.invoice-share span i {
  font-style: normal;
}

.invoice-share span.is-whatsapp {
  color: #087a63;
  border-color: rgba(18, 140, 126, 0.18);
  background: rgba(18, 140, 126, 0.06);
}

.invoice-ready {
  gap: 0.4rem;
  margin-top: 0.45rem;
  padding: 0.45rem;
  border-radius: 9px;
  background: rgba(22, 138, 102, 0.06);
}

.invoice-ready > i {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 7px;
  color: #fff;
  background: var(--success);
  font-size: 0.4rem;
  font-style: normal;
  font-weight: 900;
}

.invoice-ready strong,
.invoice-ready small {
  display: block;
}

.invoice-ready strong {
  color: var(--blue-950);
  font-size: 0.38rem;
}

.invoice-ready small {
  color: var(--muted);
  font-size: 0.29rem;
}

@media (max-width: 620px) {
  #billing .showcase-copy h2 {
    font-size: clamp(1.95rem, 9.5vw, 2.55rem);
  }

  #billing .showcase-visual {
    padding: 0.5rem;
  }

  #billing .showcase-window {
    min-height: 620px;
    border-radius: 22px;
  }

  #billing .showcase-window__body {
    min-height: 568px;
  }

  #billing .billing-ui--ai {
    grid-template-columns: 1fr;
    padding: 0.6rem;
  }

  .invoice-item + .invoice-item,
  .invoice-adjustments > span:not(:last-child),
  .invoice-ready {
    display: none;
  }

  .invoice-preview {
    min-height: 270px;
  }

  .invoice-share span:first-child {
    display: none;
  }
}

/* Premium clinic social media studio */
.growth-service--social .growth-service__content h3 {
  max-width: 12ch;
  font-size: clamp(2.15rem, 3.5vw, 3.55rem);
  line-height: 1.05;
}

.growth-service--social .growth-service__content > p:not(.eyebrow) {
  max-width: 560px;
}

.social-studio--premium {
  min-height: 540px;
  border-color: rgba(11, 61, 145, 0.13);
  background: linear-gradient(145deg, #f7faff, #edf4ff);
  box-shadow: 0 32px 80px rgba(5, 35, 82, 0.17);
}

.social-studio--premium .studio-toolbar small {
  color: #fff;
  background: var(--blue-800);
}

.social-studio__body {
  padding: 0.85rem;
}

.social-calendar-head,
.social-calendar-head > span,
.post-top,
.post-doctor-portrait,
.post-footer,
.content-plan-strip {
  display: flex;
  align-items: center;
}

.social-calendar-head,
.post-top,
.post-footer {
  justify-content: space-between;
}

.social-calendar-head {
  margin-bottom: 0.7rem;
}

.social-calendar-head small,
.social-calendar-head strong {
  display: block;
}

.social-calendar-head small {
  color: var(--blue-700);
  font-size: 0.39rem;
  font-weight: 850;
  letter-spacing: 0.09em;
}

.social-calendar-head strong {
  color: var(--blue-950);
  font-size: 0.72rem;
}

.social-calendar-head > span {
  gap: 0.3rem;
  padding: 0.27rem 0.42rem;
  border-radius: 99px;
  color: var(--success);
  background: rgba(22, 138, 102, 0.08);
  font-size: 0.36rem;
  font-weight: 750;
}

.social-calendar-head > span i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}

.clinic-post-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.55rem;
}

.clinic-post {
  position: relative;
  overflow: hidden;
  min-height: 330px;
  padding: 0.65rem;
  border: 1px solid rgba(11, 61, 145, 0.11);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 10px 25px rgba(5, 35, 82, 0.07);
  transition: transform 0.3s var(--ease), box-shadow 0.3s;
}

.clinic-post:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 34px rgba(5, 35, 82, 0.12);
}

.post-top {
  position: relative;
  z-index: 2;
  color: var(--blue-800);
  font-size: 0.33rem;
  font-weight: 850;
  letter-spacing: 0.05em;
}

.post-top small {
  padding: 0.2rem 0.3rem;
  border-radius: 99px;
  color: var(--blue-700);
  background: var(--blue-50);
  font-size: 0.27rem;
}

.post-visual {
  position: relative;
  display: grid;
  place-items: center;
  height: 112px;
  margin: 0.55rem 0;
  overflow: hidden;
  border-radius: 11px;
}

.post-visual--tooth {
  color: #fff;
  background:
    radial-gradient(circle at 70% 20%, rgba(138, 187, 255, 0.7), transparent 30%),
    linear-gradient(145deg, var(--blue-700), var(--blue-950));
}

.post-visual--tooth::before {
  content: "";
  width: 55px;
  height: 68px;
  border-radius: 45% 45% 38% 38%;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.16);
  transform: rotate(-4deg);
}

.post-visual--tooth i {
  position: absolute;
  color: var(--blue-600);
  font-size: 0.8rem;
  font-style: normal;
}

.post-visual--tooth b {
  position: absolute;
  right: 0.55rem;
  bottom: 0.4rem;
  color: rgba(255, 255, 255, 0.2);
  font-size: 2.2rem;
  line-height: 1;
}

.post-copy small,
.post-copy strong,
.post-copy p {
  display: block;
}

.post-copy small {
  color: var(--blue-700);
  font-size: 0.29rem;
  font-weight: 850;
  letter-spacing: 0.08em;
}

.post-copy strong {
  margin-top: 0.18rem;
  color: var(--blue-950);
  font-size: 0.67rem;
  line-height: 1.2;
}

.post-copy p {
  margin: 0.3rem 0 0;
  color: var(--muted);
  font-size: 0.37rem;
  line-height: 1.45;
}

.post-footer {
  position: absolute;
  left: 0.65rem;
  right: 0.65rem;
  bottom: 0.6rem;
  padding-top: 0.45rem;
  border-top: 1px solid rgba(11, 61, 145, 0.09);
  color: var(--blue-700);
  font-size: 0.34rem;
  font-weight: 750;
}

.post-footer b {
  font-size: 0.55rem;
}

.clinic-post--doctor {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.12);
  background:
    radial-gradient(circle at 90% 10%, rgba(130, 180, 255, 0.55), transparent 28%),
    linear-gradient(155deg, var(--blue-700), var(--blue-950));
}

.clinic-post--doctor .post-top {
  color: #fff;
}

.clinic-post--doctor .post-top small {
  color: #d8e7fb;
  background: rgba(255, 255, 255, 0.1);
}

.post-doctor-portrait {
  gap: 0.55rem;
  min-height: 118px;
  margin: 0.55rem 0;
  padding: 0.65rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.07);
}

.post-doctor-portrait > i {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 58px;
  height: 68px;
  border: 2px solid rgba(255, 255, 255, 0.5);
  border-radius: 28px 28px 15px 15px;
  color: var(--blue-800);
  background: linear-gradient(145deg, #fff, #bfd7fa);
  font-size: 0.65rem;
  font-style: normal;
  font-weight: 850;
}

.post-doctor-portrait small,
.post-doctor-portrait strong,
.post-doctor-portrait em {
  display: block;
}

.post-doctor-portrait small {
  color: #bcd4f6;
  font-size: 0.27rem;
  font-weight: 850;
  letter-spacing: 0.06em;
}

.post-doctor-portrait strong {
  font-size: 0.55rem;
}

.post-doctor-portrait em {
  color: #c9d9ef;
  font-size: 0.32rem;
  font-style: normal;
}

.clinic-post--doctor .post-copy strong,
.clinic-post--doctor .post-footer {
  color: #fff;
}

.clinic-post--doctor .post-copy p {
  color: #c8d8ef;
}

.clinic-post--doctor .post-footer {
  border-color: rgba(255, 255, 255, 0.12);
}

.clinic-post--service {
  background: linear-gradient(160deg, #ffffff, #edf5ff);
}

.service-orbit {
  position: relative;
  display: grid;
  place-items: center;
  height: 112px;
  margin: 0.55rem 0;
  overflow: hidden;
  border-radius: 11px;
  background: linear-gradient(145deg, #eaf3ff, #d6e7ff);
}

.service-orbit > i {
  display: grid;
  place-items: center;
  width: 55px;
  height: 55px;
  border-radius: 18px;
  color: #fff;
  background: var(--blue-800);
  box-shadow: 0 14px 30px rgba(11, 61, 145, 0.22);
  font-size: 1rem;
  font-style: normal;
}

.service-orbit > span {
  position: absolute;
  width: 80px;
  height: 80px;
  border: 1px solid rgba(11, 61, 145, 0.15);
  border-radius: 50%;
}

.service-orbit > span:nth-of-type(2) {
  width: 110px;
  height: 110px;
}

.service-orbit > span:nth-of-type(3) {
  width: 8px;
  height: 8px;
  right: 20%;
  top: 20%;
  border: 0;
  background: var(--blue-600);
}

.content-plan-strip {
  gap: 0.4rem;
  margin-top: 0.7rem;
}

.content-plan-strip > span {
  flex: 1;
  padding: 0.42rem;
  border: 1px solid var(--line);
  border-radius: 9px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.8);
  font-size: 0.34rem;
  font-weight: 650;
  text-align: center;
}

.content-plan-strip i {
  margin-right: 0.25rem;
  color: var(--blue-700);
  font-size: 0.29rem;
  font-style: normal;
  font-weight: 850;
}

.social-studio--premium .studio-progress {
  padding-bottom: 0.8rem;
}

@media (max-width: 620px) {
  .growth-service--social .growth-service__content h3 {
    font-size: clamp(2rem, 10vw, 2.75rem);
  }

  .social-studio--premium {
    min-height: 500px;
  }

  .social-studio__body {
    padding: 0.65rem;
  }

  .clinic-post-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .clinic-post {
    min-height: 310px;
  }

  .clinic-post:nth-child(3),
  .content-plan-strip > span:nth-child(3) {
    display: none;
  }

  .content-plan-strip {
    gap: 0.3rem;
  }

  .content-plan-strip > span {
    padding-inline: 0.25rem;
  }
}

/* Premium How Medlify AI Works journey */
.how-medlify {
  overflow: hidden;
  background:
    radial-gradient(circle at 82% 20%, rgba(72, 138, 236, 0.13), transparent 30%),
    linear-gradient(180deg, #f8fbff 0%, #eef5ff 52%, #ffffff 100%);
}

.how-medlify__grid {
  position: absolute;
  inset: 0;
  opacity: 0.32;
  background-image:
    linear-gradient(rgba(11, 61, 145, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(11, 61, 145, 0.045) 1px, transparent 1px);
  background-size: 70px 70px;
  mask-image: linear-gradient(to bottom, transparent, #000 20%, #000 78%, transparent);
}

.how-medlify .container {
  position: relative;
  z-index: 2;
}

.how-medlify__intro {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: end;
  gap: clamp(2rem, 6vw, 6rem);
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.how-medlify__intro h2 {
  max-width: 12ch;
  margin-bottom: 0;
  font-size: clamp(2.6rem, 4.4vw, 4.6rem);
}

.how-medlify__intro .section-copy {
  margin-bottom: 1rem;
}

.how-medlify__promise {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 0.75rem;
  border: 1px solid rgba(11, 61, 145, 0.11);
  border-radius: 99px;
  color: var(--blue-900);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 8px 20px rgba(5, 35, 82, 0.05);
  font-size: 0.68rem;
  font-weight: 720;
}

.how-medlify__promise i {
  display: grid;
  place-items: center;
  width: 21px;
  height: 21px;
  border-radius: 7px;
  color: #fff;
  background: var(--success);
  font-size: 0.55rem;
  font-style: normal;
}

.how-journey {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.how-journey__line {
  position: absolute;
  z-index: 0;
  left: 14%;
  right: 14%;
  top: 86px;
  height: 2px;
  background: linear-gradient(90deg, var(--blue-200), var(--blue-700), #77a8ee);
}

.how-journey__line i {
  position: absolute;
  top: -3px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 2px var(--blue-600), 0 0 16px rgba(40, 114, 217, 0.55);
  animation: howJourneyFlow 4s linear infinite;
}

.how-step {
  position: relative;
  z-index: 1;
  overflow: hidden;
  min-height: 440px;
  padding: 1.4rem;
  border: 1px solid rgba(11, 61, 145, 0.13);
  border-radius: 25px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 18px 46px rgba(5, 35, 82, 0.08);
  transition: transform 0.3s var(--ease), box-shadow 0.3s, border-color 0.3s;
}

.how-step:hover {
  transform: translateY(-6px);
  border-color: rgba(11, 61, 145, 0.25);
  box-shadow: 0 26px 58px rgba(5, 35, 82, 0.13);
}

.how-step::after {
  content: "";
  position: absolute;
  width: 150px;
  height: 150px;
  right: -95px;
  top: -95px;
  border-radius: 50%;
  background: rgba(40, 114, 217, 0.06);
}

.how-step--ai {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.12);
  background:
    radial-gradient(circle at 90% 10%, rgba(105, 164, 252, 0.47), transparent 29%),
    linear-gradient(150deg, var(--blue-700), var(--blue-950));
  box-shadow: 0 24px 60px rgba(5, 35, 82, 0.2);
}

.how-step__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.how-step__number {
  color: var(--blue-700);
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.1em;
}

.how-step__label {
  padding: 0.3rem 0.5rem;
  border-radius: 99px;
  color: var(--blue-700);
  background: var(--blue-50);
  font-size: 0.56rem;
  font-weight: 760;
}

.how-step--ai .how-step__number,
.how-step--ai .how-step__label {
  color: #dbe9fc;
}

.how-step--ai .how-step__label {
  background: rgba(255, 255, 255, 0.1);
}

.how-step__icon {
  position: relative;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  margin: 1.2rem 0 1.5rem;
  border: 1px solid rgba(11, 61, 145, 0.1);
  border-radius: 16px;
  color: var(--blue-700);
  background: linear-gradient(145deg, #fff, var(--blue-100));
  box-shadow: 0 11px 25px rgba(11, 61, 145, 0.12);
  font-size: 1.1rem;
  font-weight: 850;
}

.how-step--ai .how-step__icon {
  color: var(--blue-800);
  border-color: rgba(255, 255, 255, 0.5);
  background: #fff;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
}

.how-step h3 {
  max-width: 12ch;
  margin-bottom: 0.65rem;
  font-size: 1.35rem;
}

.how-step > p {
  min-height: 78px;
  margin-bottom: 1rem;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.65;
}

.how-step--ai > p {
  color: #c3d5ee;
}

.how-step__tags {
  display: grid;
  gap: 0.4rem;
  margin-bottom: 1rem;
}

.how-step__tags span {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 35px;
  padding: 0.42rem 0.55rem;
  border: 1px solid rgba(11, 61, 145, 0.08);
  border-radius: 10px;
  color: #40536f;
  background: #f8fbff;
  font-size: 0.65rem;
  font-weight: 680;
}

.how-step__tags span i {
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
  border-radius: 6px;
  color: var(--blue-700);
  background: var(--blue-100);
  font-size: 0.48rem;
  font-style: normal;
}

.how-step--ai .how-step__tags span {
  color: #e3edfb;
  border-color: rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.06);
}

.how-step--ai .how-step__tags span i {
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
}

.how-step__result {
  margin-top: auto;
  padding-top: 0.8rem;
  border-top: 1px solid rgba(11, 61, 145, 0.09);
}

.how-step__result small,
.how-step__result strong {
  display: block;
}

.how-step__result small {
  color: var(--blue-700);
  font-size: 0.48rem;
  font-weight: 850;
  letter-spacing: 0.08em;
}

.how-step__result strong {
  margin-top: 0.25rem;
  color: var(--blue-950);
  font-size: 0.68rem;
  line-height: 1.5;
}

.how-step--ai .how-step__result {
  border-color: rgba(255, 255, 255, 0.1);
}

.how-step--ai .how-step__result small {
  color: #9fc2f4;
}

.how-step--ai .how-step__result strong {
  color: #fff;
}

.how-medlify__outcome {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1.25rem;
  padding: 0.8rem;
  border: 1px solid rgba(11, 61, 145, 0.12);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 12px 30px rgba(5, 35, 82, 0.06);
}

.how-medlify__outcome > span {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--blue-950);
  font-size: 0.66rem;
  font-weight: 730;
}

.how-medlify__outcome > span i {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 8px;
  color: var(--blue-700);
  background: var(--blue-100);
  font-size: 0.48rem;
  font-style: normal;
}

.how-medlify__outcome > b {
  color: #9cb0cb;
}

.how-medlify__outcome .button {
  flex: 0 0 auto;
  min-height: 43px;
  margin-left: auto;
  padding-block: 0.55rem;
}

@keyframes howJourneyFlow {
  from { left: 0; }
  to { left: calc(100% - 8px); }
}

@media (max-width: 980px) {
  .how-medlify__intro {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 1.5rem;
  }

  .how-medlify__intro .section-copy {
    max-width: 720px;
  }

  .how-step {
    min-height: 460px;
  }

  .how-medlify__outcome {
    flex-wrap: wrap;
  }

  .how-medlify__outcome .button {
    width: 100%;
    margin-left: 0;
  }
}

@media (max-width: 720px) {
  .how-medlify__intro h2 {
    font-size: clamp(2.25rem, 11vw, 3.3rem);
  }

  .how-medlify__promise {
    align-items: flex-start;
    border-radius: 14px;
    line-height: 1.45;
  }

  .how-journey {
    grid-template-columns: 1fr;
  }

  .how-journey__line {
    left: 43px;
    right: auto;
    top: 86px;
    bottom: 86px;
    width: 2px;
    height: auto;
    background: linear-gradient(var(--blue-200), var(--blue-700), #77a8ee);
  }

  .how-journey__line i {
    left: -3px;
    animation: howJourneyFlowMobile 4s linear infinite;
  }

  .how-step {
    min-height: auto;
    padding: 1.2rem;
  }

  .how-step > p {
    min-height: 0;
  }

  .how-medlify__outcome {
    display: grid;
    grid-template-columns: 1fr;
  }

  .how-medlify__outcome > b {
    display: none;
  }
}

@keyframes howJourneyFlowMobile {
  from { top: 0; }
  to { top: calc(100% - 8px); }
}

/* Refined before-to-Medlify AI transformation */
.benefits-comparison {
  background:
    radial-gradient(circle at 50% 35%, rgba(69, 135, 234, 0.1), transparent 34%),
    linear-gradient(180deg, #f8fbff, #eaf2ff 65%, #f8fbff);
}

.comparison-intro {
  max-width: 980px;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.comparison-intro h2 {
  max-width: 14ch;
  font-size: clamp(2.65rem, 4.6vw, 4.8rem);
}

.comparison-intro__chips {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.35rem;
}

.comparison-intro__chips span {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.48rem 0.65rem;
  border: 1px solid rgba(11, 61, 145, 0.1);
  border-radius: 99px;
  color: #40536f;
  background: rgba(255, 255, 255, 0.76);
  box-shadow: 0 7px 18px rgba(5, 35, 82, 0.04);
  font-size: 0.65rem;
  font-weight: 700;
}

.comparison-intro__chips i {
  display: grid;
  place-items: center;
  width: 19px;
  height: 19px;
  border-radius: 6px;
  color: var(--blue-700);
  background: var(--blue-100);
  font-size: 0.5rem;
  font-style: normal;
}

.comparison-shell {
  gap: 0.75rem;
}

.comparison-side {
  min-height: 675px;
  padding: clamp(1.35rem, 3vw, 2.25rem);
  border-radius: 28px;
}

.comparison-side--before {
  background: rgba(255, 255, 255, 0.88);
}

.comparison-side__heading {
  margin-bottom: 1rem;
}

.comparison-side__heading h3 {
  font-size: clamp(1.25rem, 2vw, 1.65rem);
}

.comparison-side__signal {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  margin-bottom: 1rem;
  padding: 0.7rem;
  border: 1px solid rgba(93, 109, 134, 0.1);
  border-radius: 13px;
  background: rgba(246, 249, 253, 0.86);
}

.comparison-side__signal > i {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 31px;
  height: 31px;
  border-radius: 9px;
  color: #7d8da4;
  background: #e7edf5;
  font-size: 0.7rem;
  font-style: normal;
  font-weight: 900;
}

.comparison-side__signal p {
  margin: 0;
}

.comparison-side__signal strong,
.comparison-side__signal small {
  display: block;
}

.comparison-side__signal strong {
  color: var(--blue-950);
  font-size: 0.7rem;
}

.comparison-side__signal small {
  margin-top: 0.1rem;
  color: var(--muted);
  font-size: 0.56rem;
  line-height: 1.45;
}

.comparison-side__signal--after {
  border-color: rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.065);
}

.comparison-side__signal--after > i {
  color: var(--blue-800);
  background: #fff;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.14);
}

.comparison-side__signal--after strong {
  color: #fff;
}

.comparison-side__signal--after small {
  color: #b8cce8;
}

.comparison-side li {
  min-height: 58px;
  padding: 0.55rem 0.65rem;
}

.comparison-side li > div {
  min-width: 0;
}

.comparison-side li small,
.comparison-side li strong {
  display: block;
}

.comparison-side li small {
  margin-bottom: 0.05rem;
  color: #91a0b5;
  font-size: 0.42rem;
  font-weight: 780;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.comparison-side li strong {
  color: #455972;
  font-size: 0.67rem;
}

.comparison-side--after li small {
  color: #94b3df;
}

.comparison-side--after li strong {
  color: #eff5ff;
}

.comparison-side--after li.is-ai small,
.comparison-side--after li.is-ai strong {
  color: #fff;
}

.comparison-transition {
  width: 68px;
  padding: 0.8rem 0.4rem;
  border-color: rgba(11, 61, 145, 0.15);
  box-shadow: 0 18px 42px rgba(5, 35, 82, 0.13);
}

.comparison-transition i {
  width: 42px;
  height: 42px;
  background: linear-gradient(145deg, var(--blue-700), var(--blue-900));
}

.comparison-summary {
  grid-template-columns: auto minmax(0, 1fr) auto auto;
  max-width: none;
  margin-top: 1.25rem;
  padding: 0.9rem 1rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.9);
}

.comparison-summary__copy small {
  color: var(--blue-700);
  font-size: 0.48rem;
  font-weight: 850;
  letter-spacing: 0.08em;
}

.comparison-summary__copy p {
  margin-top: 0.08rem;
}

.comparison-summary__benefits {
  display: flex;
  gap: 0.35rem;
}

.comparison-summary__benefits span {
  padding: 0.35rem 0.45rem;
  border-radius: 8px;
  color: var(--blue-800);
  background: var(--blue-50);
  font-size: 0.55rem;
  font-weight: 700;
  white-space: nowrap;
}

.comparison-summary .button {
  min-height: 44px;
  padding-block: 0.55rem;
  white-space: nowrap;
}

@media (max-width: 1100px) {
  .comparison-summary {
    grid-template-columns: auto 1fr auto;
  }

  .comparison-summary__benefits {
    display: none;
  }
}

@media (max-width: 980px) {
  .comparison-side {
    min-height: 610px;
  }

  .comparison-summary {
    grid-template-columns: auto 1fr;
  }

  .comparison-summary .button {
    grid-column: 2;
    width: fit-content;
  }
}

@media (max-width: 580px) {
  .comparison-intro h2 {
    font-size: clamp(2.25rem, 11vw, 3.25rem);
  }

  .comparison-intro__chips {
    justify-content: flex-start;
  }

  .comparison-side {
    min-height: auto;
  }

  .comparison-side__signal {
    align-items: flex-start;
  }

  .comparison-side ul {
    grid-template-columns: 1fr;
  }

  .scattered-map,
  .connected-core {
    display: none;
  }

  .comparison-summary {
    grid-template-columns: 1fr;
    text-align: left;
  }

  .comparison-summary__icon {
    margin-inline: 0;
  }

  .comparison-summary .button {
    grid-column: auto;
    width: 100%;
  }
}

/* Illustrative Meta Ads results dashboard */
.ads-results-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.55rem;
  margin: 1rem;
}

.ads-results-grid > div {
  min-width: 0;
  padding: 0.75rem;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: #fff;
}

.ads-results-grid strong,
.ads-results-grid small,
.ads-results-grid em {
  display: block;
}

.ads-results-grid strong {
  color: var(--blue-900);
  font-size: clamp(1.15rem, 2vw, 1.65rem);
  line-height: 1;
  letter-spacing: -0.04em;
}

.ads-results-grid small {
  margin-top: 0.4rem;
  color: var(--muted);
  font-size: 0.48rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.ads-results-grid em {
  margin-top: 0.42rem;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.42rem;
  font-style: normal;
}

.ads-results-grid .ads-result--key {
  color: #fff;
  border-color: transparent;
  background: radial-gradient(circle at 85% 10%, rgba(99, 165, 255, 0.45), transparent 34%), linear-gradient(145deg, var(--blue-950), var(--blue-700));
  box-shadow: 0 14px 32px rgba(11, 61, 145, 0.2);
}

.ads-results-grid .ads-result--key strong {
  color: #fff;
  font-size: clamp(1.45rem, 2.4vw, 2rem);
}

.ads-results-grid .ads-result--key small {
  color: #d6e5fb;
}

.campaign-chart--results {
  position: relative;
  height: 155px;
  padding-top: 2.8rem;
}

.campaign-chart__heading {
  position: absolute;
  top: 0.75rem;
  right: 0.9rem;
  left: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  color: var(--blue-950);
  font-size: 0.58rem;
  font-weight: 800;
}

.campaign-chart__heading small {
  color: var(--success);
  font-size: 0.46rem;
  font-weight: 750;
}

.campaign-chart--results .campaign-line::before {
  top: 55%;
  height: 4px;
  transform: rotate(-9deg);
}

.campaign-chart--results .campaign-line i:nth-child(5) {
  display: block;
  left: 76%;
  top: 30%;
}

.campaign-chart--results .campaign-line i:nth-child(6) {
  display: block;
  right: 3%;
  top: 17%;
}

.ads-results-note {
  margin: 0.75rem 1rem 1rem;
  color: var(--muted);
  font-size: 0.48rem;
  line-height: 1.5;
}

@media (max-width: 620px) {
  .ads-results-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ads-result--key {
    grid-column: 1 / -1;
  }

  .campaign-chart--results {
    height: 145px;
  }
}

.ads-results-panel {
  align-items: center;
}

.ads-results-panel .growth-panel__copy h2 {
  max-width: 10ch;
}

.ads-results-panel .ads-studio--results {
  width: 100%;
  min-height: 470px;
  margin: 0;
  transform: none;
}

.ads-results-panel .ads-studio--results:hover {
  transform: translateY(-4px);
}

@media (max-width: 980px) {
  .ads-results-panel .ads-studio--results {
    width: min(100%, 760px);
    margin-inline: auto;
  }
}

/* Refined illustrative campaign results */
.ads-results-panel .growth-panel__copy h2 {
  max-width: 12ch;
  font-size: clamp(2.6rem, 4.4vw, 4.8rem);
}

.ads-results-panel .growth-panel__copy .section-copy {
  max-width: 550px;
}

.ads-studio--results .ads-results-grid {
  grid-template-areas:
    "spend leads cpl"
    "enquiries growth cpl";
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.ads-studio--results .ads-results-grid > div:nth-child(1) { grid-area: spend; }
.ads-studio--results .ads-results-grid > div:nth-child(2) { grid-area: leads; }
.ads-studio--results .ads-results-grid > div:nth-child(3) { grid-area: cpl; }
.ads-studio--results .ads-results-grid > div:nth-child(4) { grid-area: enquiries; }
.ads-studio--results .ads-results-grid > div:nth-child(5) { grid-area: growth; }

.ads-studio--results .ads-results-grid > div {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 105px;
}

.ads-studio--results .ads-result--key {
  min-height: 100%;
  padding: 1rem;
}

.ads-studio--results .ads-result--key strong {
  font-size: clamp(2.2rem, 3vw, 3.35rem);
}

.ads-studio--results .ads-result--key em {
  margin-top: auto;
  padding-top: 1rem;
}

.ads-studio--results .campaign-chart--results {
  height: 210px;
  padding: 3rem 0.9rem 1.6rem;
  overflow: hidden;
  background-color: #fff;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, rgba(218, 228, 242, 0.5) 1px, transparent 1px);
  background-size: 100% 42px, 72px 100%;
}

.campaign-growth-chart {
  display: block;
  width: 100%;
  height: 125px;
  overflow: visible;
}

.campaign-area {
  fill: url(#campaignArea);
}

.campaign-curve {
  fill: none;
  stroke: var(--blue-700);
  stroke-width: 5;
  stroke-linecap: round;
  filter: drop-shadow(0 5px 7px rgba(11, 61, 145, 0.18));
}

.campaign-points circle {
  fill: var(--blue-700);
  stroke: #fff;
  stroke-width: 4;
  filter: drop-shadow(0 3px 5px rgba(11, 61, 145, 0.24));
}

.campaign-axis {
  display: flex;
  justify-content: space-between;
  margin-top: -0.15rem;
  color: var(--muted);
  font-size: 0.44rem;
  font-weight: 700;
}

@media (max-width: 620px) {
  .ads-studio--results .ads-results-grid {
    grid-template-areas:
      "cpl cpl"
      "spend leads"
      "enquiries growth";
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ads-studio--results .ads-result--key {
    grid-column: auto;
  }

  .ads-studio--results .campaign-chart--results {
    height: 190px;
  }
}

/* Clear pricing inclusion comparison */
.plan-includes__heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.35rem;
}

.pricing-card .plan-includes {
  margin-top: 1.75rem;
}

.plan-includes__heading small {
  margin: 0;
}

.plan-includes__heading em {
  flex: 0 0 auto;
  color: var(--blue-700);
  font-size: 0.62rem;
  font-style: normal;
  font-weight: 800;
}

.plan-includes > span b {
  font-weight: 600;
}

.plan-exclusions {
  display: grid;
  gap: 0.65rem;
  margin-top: 0.65rem;
  padding-top: 1rem;
  border-top: 1px dashed rgba(11, 61, 145, 0.16);
}

.plan-exclusions > small {
  margin-bottom: 0.1rem;
  color: #7a8799;
}

.plan-exclusions > span {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  color: #8795a9;
  font-size: 0.7rem;
}

.plan-exclusions > .is-plan-excluded {
  color: #8795a9;
}

.plan-exclusions > .is-plan-excluded i {
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  border-radius: 7px;
  color: #9a5360;
  background: #f8e9ec;
  font-size: 0.53rem;
  font-style: normal;
}

.pricing-card--featured .plan-includes__heading em {
  color: #bcd5ff;
}

.pricing-card--featured .plan-includes > .is-plan-included i {
  color: #fff;
  background: rgba(255, 255, 255, 0.13);
}

.pricing-card--featured .plan-includes > .is-plan-included b {
  color: #e7effb;
}

.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.locale-controls {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.locale-controls select {
  width: 132px;
  max-width: 132px;
  height: 2.25rem;
  padding: 0 1.85rem 0 0.7rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  outline: 0;
  color: var(--blue-900);
  background: #fff;
  font: inherit;
  font-size: 0.64rem;
  font-weight: 700;
  cursor: pointer;
}

#google_translate_element,
.goog-te-banner-frame,
.skiptranslate iframe {
  display: none !important;
}

body {
  top: 0 !important;
}

@media (max-width: 820px) {
  .locale-controls {
    display: grid;
    grid-template-columns: 1fr 1fr;
    padding: 0.5rem 0.7rem;
  }

  .locale-controls select {
    width: 100%;
    max-width: none;
  }
}

/* Final showcase rhythm and contrast pass */
.product-showcase {
  min-height: auto !important;
  padding-block: clamp(3.75rem, 5.5vw, 5.5rem) !important;
}

.product-showcase .showcase-layout,
.product-showcase .showcase-layout--reverse {
  min-height: 0 !important;
  gap: clamp(2.25rem, 5vw, 5rem);
}

.product-showcase .showcase-copy h2 {
  max-width: 14ch;
  font-size: clamp(2.15rem, 3.25vw, 3.35rem) !important;
  line-height: 1.04 !important;
  letter-spacing: -0.045em;
}

.product-showcase .showcase-copy .section-copy {
  font-size: clamp(0.9rem, 1.1vw, 1.05rem);
  line-height: 1.65;
}

.product-showcase .showcase-visual {
  padding-block: 0.75rem;
}

#ai-chatbot.product-showcase--dark {
  color: #fff;
  background:
    radial-gradient(circle at 82% 18%, rgba(75, 140, 239, 0.28), transparent 32%),
    linear-gradient(145deg, #061f4b 0%, #0b3d91 100%) !important;
}

#ai-chatbot.product-showcase--dark .eyebrow,
#ai-chatbot.product-showcase--dark .showcase-copy h2,
#ai-chatbot.product-showcase--dark .text-link {
  color: #fff;
}

#ai-chatbot.product-showcase--dark .section-copy {
  color: #c5d5eb;
}

#ai-chatbot.product-showcase--dark .showcase-bullets li {
  color: #e3edfb;
}

/* Keep the FAQ compact and neutral until a visitor opens a question. */
#faq {
  padding-block: clamp(3.25rem, 5vw, 4.75rem) !important;
}

#faq .section-heading {
  max-width: 640px;
  margin-bottom: 1.5rem;
}

#faq .section-heading h2 {
  max-width: 15ch;
  margin-bottom: 0.65rem;
  font-size: clamp(1.95rem, 3vw, 2.85rem) !important;
  line-height: 1.06;
}

#faq .faq-list {
  gap: 0.55rem;
}

#faq .faq-question {
  min-height: 0;
  padding: 0.78rem 3rem 0.78rem 1rem;
  font-size: 0.82rem;
}

#faq .faq-answer {
  padding: 0 1rem 0.9rem;
  font-size: 0.76rem;
  line-height: 1.55;
}

@media (max-width: 980px) {
  .product-showcase {
    padding-block: clamp(3.25rem, 7vw, 4.5rem) !important;
  }

  .product-showcase .showcase-layout,
  .product-showcase .showcase-layout--reverse {
    gap: 2.25rem;
  }
}

@media (max-width: 620px) {
  .product-showcase {
    padding-block: 3rem !important;
  }

  .product-showcase .showcase-copy h2 {
    max-width: 16ch;
    font-size: clamp(1.9rem, 10vw, 2.6rem) !important;
  }

  #faq .faq-list {
    grid-template-columns: 1fr;
  }
}

/* Complete tablet and mobile responsiveness */
html,
body {
  max-width: 100%;
  overflow-x: clip;
}

.section > .container,
.showcase-layout > *,
.hero-grid > *,
.contact-cta-grid > *,
.growth-panel > *,
.website-showcase > *,
.comparison-shell > * {
  min-width: 0;
}

@media (max-width: 1080px) {
  .navbar {
    min-height: 72px;
  }

  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0.55rem 0.8rem;
    border: 1px solid var(--line);
    border-radius: 11px;
    background: #fff;
    font-weight: 750;
    cursor: pointer;
  }

  .nav-links {
    display: none;
    position: absolute;
    inset: 72px 1rem auto;
    max-height: calc(100dvh - 88px);
    overflow-y: auto;
    flex-direction: column;
    align-items: stretch;
    gap: 0.2rem;
    padding: 0.85rem;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-lg);
  }

  .nav-links.is-open {
    display: flex;
  }

  .nav-links > a {
    width: 100%;
    padding: 0.65rem 0.75rem;
  }

  .locale-controls {
    width: 100%;
    padding: 0.45rem 0;
  }

  .locale-controls label,
  .locale-controls select {
    width: 100%;
    max-width: none;
  }
}

@media (min-width: 621px) and (max-width: 1080px) {
  :root {
    --text-hero: clamp(3rem, 7vw, 4.75rem);
    --text-xl: clamp(2.2rem, 5vw, 3.5rem);
    --space-8: clamp(4.5rem, 8vw, 6.5rem);
  }

  .container {
    width: min(calc(100% - 3rem), var(--container));
  }

  .hero-grid,
  .website-showcase,
  .growth-panel,
  .growth-service,
  .contact-cta-grid {
    grid-template-columns: 1fr !important;
  }

  .hero-copy,
  .showcase-copy,
  .growth-panel__copy,
  .growth-service__content {
    max-width: 720px;
  }

  .hero-visual,
  .showcase-visual,
  .website-browser,
  .social-studio,
  .ads-studio,
  .contact-form {
    width: min(100%, 780px);
    margin-inline: auto;
  }

  .clinic-feature-grid,
  .card-grid,
  .how-journey {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pricing-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pricing-card:last-child {
    grid-column: 1 / -1;
  }

  .footer-nav {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  .comparison-shell {
    grid-template-columns: 1fr !important;
    gap: 1rem;
  }

  .comparison-side {
    width: 100%;
    min-height: 0 !important;
  }

  .comparison-transition {
    position: relative;
    z-index: 3;
    justify-self: center;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    width: min(100%, 250px);
    min-height: 54px;
    margin: 0;
    padding: 0.45rem 0.75rem;
    border-radius: 999px;
    white-space: nowrap;
  }

  .comparison-transition i {
    width: 34px;
    height: 34px;
    transform: rotate(90deg);
  }

  .comparison-transition strong {
    font-size: 0.5rem;
  }

  .scattered-map,
  .connected-core {
    display: none;
  }
}

@media (max-width: 620px) {
  :root {
    --text-hero: clamp(2.35rem, 12vw, 3.35rem);
    --text-xl: clamp(1.95rem, 9vw, 2.7rem);
    --text-lg: 1rem;
    --space-8: 3.5rem;
  }

  .container {
    width: min(calc(100% - 1.25rem), var(--container));
  }

  .section {
    padding-block: 3.5rem;
  }

  .section-heading {
    margin-bottom: 1.75rem;
  }

  h1,
  h2,
  h3,
  .section-copy,
  .lead {
    overflow-wrap: anywhere;
  }

  .eyebrow {
    font-size: 0.64rem;
    letter-spacing: 0.1em;
  }

  .brand {
    font-size: 1.05rem;
  }

  .brand small {
    display: none;
  }

  .brand-mark {
    width: 34px;
    height: 34px;
  }

  .nav-links {
    inset-inline: 0.625rem;
  }

  .locale-controls {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 3.25rem;
  }

  .hero h1 {
    font-size: var(--text-hero);
  }

  .dashboard-shell,
  .showcase-window,
  .website-browser__page,
  .social-studio,
  .ads-studio {
    max-width: 100%;
    transform: none !important;
  }

  .showcase-window,
  #digital-patient-cards .showcase-window,
  #doctors .showcase-window,
  #ai-chatbot .showcase-window {
    min-height: 0;
    border-radius: 20px;
  }

  .showcase-window__body,
  #digital-patient-cards .showcase-window__body,
  #doctors .showcase-window__body,
  #ai-chatbot .showcase-window__body {
    min-height: 390px;
  }

  .showcase-visual {
    width: 100%;
    padding-inline: 0 !important;
  }

  .clinic-feature-grid,
  .card-grid,
  .how-journey,
  .pricing-grid,
  .footer-nav,
  .contact-form__grid {
    grid-template-columns: 1fr !important;
  }

  .pricing-card:last-child,
  .footer-nav > div:last-child {
    grid-column: auto;
  }

  .pricing-card,
  .growth-service,
  .growth-panel,
  .contact-form {
    padding: 1.2rem;
    border-radius: 20px;
  }

  .pricing-options,
  .service-list,
  .showcase-bullets,
  .website-capability-list {
    grid-template-columns: 1fr !important;
  }

  .comparison-intro h2,
  .ads-results-panel .growth-panel__copy h2,
  .growth-service h3,
  .how-medlify__intro h2 {
    font-size: var(--text-xl) !important;
  }

  .comparison-side {
    padding: 1rem;
    border-radius: 20px;
  }

  .comparison-transition {
    width: min(100%, 220px);
  }

  .comparison-summary {
    padding: 1rem;
  }

  .pricing-comparison {
    margin-top: 2.5rem;
  }

  .contact-form input,
  .contact-form select,
  .contact-form textarea {
    width: 100%;
    min-width: 0;
  }

  .final-cta {
    min-height: auto;
  }

  .footer-nav {
    gap: 1.5rem;
  }

  .back-to-top {
    right: 0.75rem;
    bottom: 0.75rem;
    width: 2.75rem;
    height: 2.75rem;
  }
}

@media (max-width: 390px) {
  .container {
    width: min(calc(100% - 1rem), var(--container));
  }

  .button,
  .actions .button {
    width: 100%;
  }

  .hero-pillars,
  .cta-capabilities {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-pillars span {
    width: 100%;
  }

  .comparison-transition {
    width: 100%;
  }
}

/* Contact form mobile alignment */
@media (max-width: 620px) {
  .contact-form {
    padding: 1rem;
  }

  .contact-form::before {
    inset: 0.45rem;
    border-radius: 1rem;
  }

  .contact-form__grid {
    gap: 0.85rem;
  }

  .contact-form input,
  .contact-form select {
    min-height: 3rem;
  }

  .contact-form textarea {
    min-height: 7rem;
  }

  .contact-form .contact-form__consent {
    display: grid;
    grid-template-columns: 1.1rem minmax(0, 1fr);
    align-items: start;
    gap: 0.7rem;
    width: 100%;
    margin: 0.9rem 0 1rem;
    padding: 0.75rem;
    border: 1px solid rgba(11, 61, 145, 0.1);
    border-radius: 0.85rem;
    background: #f8fbff;
  }

  .contact-form .contact-form__consent input {
    width: 1.1rem !important;
    min-width: 1.1rem;
    height: 1.1rem;
    min-height: 1.1rem;
    margin: 0.12rem 0 0;
    padding: 0;
  }

  .contact-form .contact-form__consent span {
    min-width: 0;
    font-size: 0.72rem;
    line-height: 1.45;
  }

  .contact-form__submit {
    min-height: 3.15rem;
    margin-top: 0.1rem;
  }
}

/* Tighter vertical rhythm between primary page sections */
#main-content > .section:not(.hero) {
  padding-block: clamp(4rem, 5vw, 5.5rem);
}

#main-content > .section:not(.hero) + .section:not(.hero) {
  padding-top: clamp(3.5rem, 4.5vw, 5rem);
}

.clinic-platform__intro,
.healthcare-growth__intro,
.website-growth__intro,
.comparison-intro,
.pricing-intro {
  margin-bottom: clamp(2rem, 3.5vw, 3.25rem);
}

.pricing-comparison,
.growth-panel {
  margin-top: clamp(3rem, 5vw, 5rem);
}

@media (max-width: 1080px) {
  #main-content > .section:not(.hero),
  #main-content > .section:not(.hero) + .section:not(.hero) {
    padding-block: clamp(3.5rem, 7vw, 4.75rem);
  }
}

@media (max-width: 620px) {
  #main-content > .section:not(.hero),
  #main-content > .section:not(.hero) + .section:not(.hero) {
    padding-block: 3.25rem;
  }

  .clinic-platform__intro,
  .healthcare-growth__intro,
  .website-growth__intro,
  .comparison-intro,
  .pricing-intro {
    margin-bottom: 1.75rem;
  }
}

/* Refined country and language dropdowns */
.locale-controls label {
  position: relative;
}

.locale-native-select {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.locale-dropdown {
  position: relative;
  min-width: 9.5rem;
  font-size: 0.76rem;
}

.locale-dropdown__trigger {
  display: grid;
  grid-template-columns: 1.65rem minmax(0, 1fr) 0.75rem;
  align-items: center;
  gap: 0.55rem;
  width: 100%;
  min-height: 3rem;
  padding: 0.45rem 0.8rem 0.45rem 0.55rem;
  color: var(--blue-950);
  border: 1px solid rgba(11, 61, 145, 0.15);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 5px 18px rgba(5, 35, 82, 0.04);
  font-weight: 750;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.locale-dropdown__trigger:hover,
.locale-dropdown.is-open .locale-dropdown__trigger {
  border-color: rgba(21, 84, 184, 0.38);
  background: #fff;
  box-shadow: 0 9px 26px rgba(5, 35, 82, 0.1);
}

.locale-dropdown__icon {
  display: grid;
  place-items: center;
  width: 1.65rem;
  height: 1.65rem;
  color: var(--blue-700);
  border-radius: 50%;
  background: var(--blue-50);
  font-size: 0.66rem;
  font-weight: 850;
}

.locale-dropdown__value {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.locale-dropdown__chevron {
  width: 0.48rem;
  height: 0.48rem;
  border-right: 1.7px solid currentColor;
  border-bottom: 1.7px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  transition: transform 0.22s ease;
}

.locale-dropdown.is-open .locale-dropdown__chevron {
  transform: rotate(225deg) translate(-2px, -1px);
}

.locale-dropdown__menu {
  position: absolute;
  top: calc(100% + 0.65rem);
  right: 0;
  z-index: 120;
  display: grid;
  width: max-content;
  min-width: 100%;
  max-height: min(25rem, calc(100vh - 7rem));
  padding: 0.45rem;
  overflow-y: auto;
  visibility: hidden;
  opacity: 0;
  border: 1px solid rgba(11, 61, 145, 0.12);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 20px 50px rgba(5, 35, 82, 0.18);
  transform: translateY(-0.4rem) scale(0.98);
  transform-origin: top right;
  transition: opacity 0.18s ease, transform 0.22s ease, visibility 0.22s;
}

.locale-dropdown.is-open .locale-dropdown__menu {
  visibility: visible;
  opacity: 1;
  transform: translateY(0) scale(1);
}

.locale-dropdown__option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  min-width: 10.5rem;
  padding: 0.7rem 0.8rem;
  color: #40536e;
  border: 0;
  border-radius: 0.7rem;
  background: transparent;
  font-weight: 650;
  text-align: left;
  cursor: pointer;
  transition: color 0.16s ease, background-color 0.16s ease;
}

.locale-dropdown__option:hover,
.locale-dropdown__option:focus-visible {
  color: var(--blue-800);
  background: var(--blue-50);
  outline: none;
}

.locale-dropdown__option i {
  display: grid;
  place-items: center;
  width: 1.25rem;
  height: 1.25rem;
  color: transparent;
  border-radius: 50%;
  background: transparent;
  font-size: 0.62rem;
  font-style: normal;
}

.locale-dropdown__option.is-selected {
  color: var(--blue-800);
  background: #edf5ff;
}

.locale-dropdown__option.is-selected i {
  color: #fff;
  background: var(--blue-700);
}

@media (max-width: 1080px) {
  .locale-dropdown {
    width: 100%;
  }

  .locale-dropdown__menu {
    right: auto;
    left: 0;
    width: 100%;
    min-width: 0;
  }

  .locale-dropdown__option {
    min-width: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .locale-dropdown__trigger,
  .locale-dropdown__chevron,
  .locale-dropdown__menu,
  .locale-dropdown__option {
    transition: none;
  }
}

/* AI social media content studio */
.ai-social-section {
  overflow: hidden;
  background:
    radial-gradient(circle at 82% 18%, rgba(70, 134, 234, 0.14), transparent 27%),
    linear-gradient(180deg, #f8fbff, #edf4ff);
}

.ai-social-glow {
  position: absolute;
  right: -12rem;
  top: 3rem;
  width: 32rem;
  height: 32rem;
  border: 1px solid rgba(11, 61, 145, 0.08);
  border-radius: 50%;
  box-shadow: 0 0 0 4rem rgba(11, 61, 145, 0.025), 0 0 0 8rem rgba(11, 61, 145, 0.018);
}

.ai-social-layout {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 0.76fr) minmax(36rem, 1.24fr);
  align-items: center;
  gap: clamp(2.5rem, 6vw, 6rem);
}

.ai-social-copy h2 {
  max-width: 12ch;
}

.ai-social-copy .section-copy {
  max-width: 35rem;
}

.ai-social-benefits {
  display: grid;
  gap: 0.65rem;
  margin-top: 2rem;
}

.ai-social-benefits > div {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 0.8rem;
  padding: 0.85rem;
  border: 1px solid rgba(11, 61, 145, 0.1);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.72);
  transition: transform 0.25s var(--ease), border-color 0.25s ease, box-shadow 0.25s ease;
}

.ai-social-benefits > div:hover {
  transform: translateX(0.35rem);
  border-color: rgba(11, 61, 145, 0.22);
  box-shadow: var(--shadow-sm);
}

.ai-social-benefits span {
  grid-row: 1 / 3;
  display: grid;
  place-items: center;
  width: 2.15rem;
  height: 2.15rem;
  color: var(--blue-700);
  border-radius: 0.7rem;
  background: var(--blue-100);
  font-size: 0.6rem;
  font-weight: 850;
}

.ai-social-benefits strong {
  color: var(--blue-950);
  font-size: 0.76rem;
}

.ai-social-benefits small {
  color: var(--muted);
  font-size: 0.62rem;
  line-height: 1.5;
}

.ai-social-note {
  display: flex;
  gap: 0.6rem;
  margin: 1.25rem 0 0;
  color: #50637f;
  font-size: 0.65rem;
}

.ai-social-note span {
  color: var(--blue-600);
}

.ai-social-studio {
  overflow: hidden;
  border: 1px solid rgba(11, 61, 145, 0.12);
  border-radius: 1.8rem;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 30px 85px rgba(5, 35, 82, 0.16);
  backdrop-filter: blur(18px);
}

.ai-social-studio__bar,
.ai-social-studio__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.15rem;
  border-bottom: 1px solid var(--line);
  background: rgba(248, 251, 255, 0.86);
}

.ai-social-studio__bar > div {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.ai-social-studio__bar strong,
.ai-social-studio__bar small {
  display: block;
}

.ai-social-studio__bar strong {
  color: var(--blue-950);
  font-size: 0.75rem;
}

.ai-social-studio__bar small {
  color: var(--muted);
  font-size: 0.55rem;
}

.ai-social-bot {
  display: grid;
  place-items: center;
  width: 2.35rem;
  height: 2.35rem;
  color: #fff;
  border-radius: 0.75rem;
  background: linear-gradient(145deg, var(--blue-600), var(--blue-900));
}

.ai-powered-pill {
  padding: 0.4rem 0.65rem;
  color: var(--blue-700);
  border: 1px solid rgba(40, 114, 217, 0.14);
  border-radius: 99px;
  background: var(--blue-50);
  font-size: 0.54rem;
  font-weight: 850;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.ai-social-studio__body {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(15rem, 0.92fr);
  gap: 1rem;
  padding: 1rem;
}

.social-generator,
.social-result {
  min-width: 0;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 1.15rem;
  background: #fff;
}

.social-generator label > span,
.social-generator legend {
  display: block;
  margin-bottom: 0.48rem;
  color: #40536e;
  font-size: 0.58rem;
  font-weight: 800;
}

.social-topic-field {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  min-height: 3.35rem;
  overflow: hidden;
  border: 1px solid rgba(11, 61, 145, 0.15);
  border-radius: 0.8rem;
  background: #f9fbff;
}

.social-topic-field strong {
  padding: 0.7rem;
  color: var(--blue-950);
  font-size: 0.63rem;
  line-height: 1.35;
}

.social-topic-field button {
  align-self: stretch;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.6rem 0.72rem;
  color: var(--blue-700);
  border: 0;
  border-left: 1px solid var(--line);
  background: var(--blue-50);
  font-size: 0.55rem;
  font-weight: 800;
  cursor: pointer;
}

.social-topic-field button:hover span {
  transform: rotate(180deg);
}

.social-topic-field button span {
  transition: transform 0.35s var(--ease);
}

.social-generator__row {
  display: grid;
  gap: 0.85rem;
  margin-top: 1rem;
}

.social-generator fieldset {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.social-choice-group,
.social-format-group {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.4rem;
}

.social-choice-group button,
.social-format-group button {
  min-width: 0;
  min-height: 2.75rem;
  padding: 0.45rem;
  color: #536681;
  border: 1px solid var(--line);
  border-radius: 0.7rem;
  background: #fff;
  font-size: 0.52rem;
  font-weight: 750;
  cursor: pointer;
  transition: color 0.2s ease, border-color 0.2s ease, background-color 0.2s ease, transform 0.2s var(--ease);
}

.social-choice-group button:hover,
.social-format-group button:hover {
  transform: translateY(-0.1rem);
}

.social-choice-group button.is-selected,
.social-format-group button.is-selected {
  color: var(--blue-800);
  border-color: var(--blue-600);
  background: #eff5ff;
  box-shadow: inset 0 0 0 1px var(--blue-600);
}

.social-format-group button {
  display: grid;
  place-items: center;
  gap: 0.25rem;
}

.social-format-group i {
  display: block;
  width: 0.75rem;
  height: 0.75rem;
  border: 1.5px solid currentColor;
  border-radius: 0.15rem;
}

.social-format-group button:nth-child(2) i {
  height: 0.95rem;
}

.social-format-group button:nth-child(3) i {
  width: 0.55rem;
  height: 1rem;
}

.social-generate-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  width: 100%;
  min-height: 3.1rem;
  margin-top: 1rem;
  color: #fff;
  border: 0;
  border-radius: 0.85rem;
  background: linear-gradient(135deg, var(--blue-700), var(--blue-900));
  box-shadow: 0 12px 28px rgba(11, 61, 145, 0.2);
  font-size: 0.68rem;
  font-weight: 800;
  cursor: pointer;
}

.social-generate-button:disabled {
  cursor: wait;
  opacity: 0.76;
}

.social-generating {
  animation: social-spark-spin 0.8s linear infinite;
}

.social-result {
  box-shadow: 0 15px 35px rgba(5, 35, 82, 0.07);
}

.social-result__head,
.social-result__head > div {
  display: flex;
  align-items: center;
}

.social-result__head {
  justify-content: space-between;
  gap: 0.6rem;
  margin-bottom: 0.75rem;
}

.social-result__head > div {
  gap: 0.45rem;
}

.social-result__head > div > span {
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--blue-200), var(--blue-800));
}

.social-result__head strong,
.social-result__head small {
  display: block;
  line-height: 1.25;
}

.social-result__head strong {
  color: var(--blue-950);
  font-size: 0.56rem;
}

.social-result__head small {
  color: var(--muted);
  font-size: 0.47rem;
}

.social-result__head > i {
  color: var(--success);
  font-size: 0.47rem;
  font-style: normal;
  font-weight: 750;
}

.social-post-art {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  aspect-ratio: 4 / 5;
  padding: 1rem;
  color: #fff;
  border-radius: 1rem;
  background:
    radial-gradient(circle at 70% 20%, rgba(116, 174, 250, 0.8), transparent 22%),
    linear-gradient(155deg, #2f78d7, #08275e 72%);
  transition: aspect-ratio 0.35s var(--ease), filter 0.25s ease, transform 0.25s var(--ease);
}

.social-post-art::before {
  content: "";
  position: absolute;
  width: 9rem;
  height: 9rem;
  right: -3.5rem;
  top: -3rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  box-shadow: 0 0 0 1.6rem rgba(255, 255, 255, 0.035), 0 0 0 3.2rem rgba(255, 255, 255, 0.025);
}

.social-post-art[data-format="1:1"] { aspect-ratio: 1; }
.social-post-art[data-format="9:16"] { aspect-ratio: 9 / 13; }

.social-post-art__tag,
.social-post-art strong,
.social-post-art small,
.social-post-art b,
.social-post-art__icon {
  position: relative;
  z-index: 2;
}

.social-post-art__tag {
  width: fit-content;
  margin-bottom: auto;
  padding: 0.3rem 0.45rem;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.1);
  font-size: 0.43rem;
  font-weight: 850;
  letter-spacing: 0.08em;
}

.social-post-art__icon {
  display: grid;
  place-items: center;
  width: 2.25rem;
  height: 2.25rem;
  margin-bottom: 0.75rem;
  border-radius: 0.7rem;
  background: rgba(255, 255, 255, 0.14);
  font-size: 1.15rem;
  font-weight: 500;
}

.social-post-art strong {
  max-width: 12ch;
  font-size: clamp(1rem, 2vw, 1.45rem);
  line-height: 1.02;
  letter-spacing: -0.04em;
}

.social-post-art small {
  margin-top: 0.45rem;
  color: #cfe0f7;
  font-size: 0.49rem;
  line-height: 1.4;
}

.social-post-art b {
  margin-top: 0.8rem;
  font-size: 0.48rem;
}

.social-post-art.is-generating {
  filter: saturate(0.5) brightness(1.12);
  transform: scale(0.985);
}

.social-post-art.is-generated {
  animation: social-post-ready 0.65s var(--ease);
}

.social-caption {
  padding-top: 0.7rem;
}

.social-caption > span {
  color: var(--blue-700);
  font-size: 0.49rem;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

.social-caption p {
  margin: 0.35rem 0 0.55rem;
  color: #526580;
  font-size: 0.5rem;
  line-height: 1.5;
}

.social-caption > div {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
}

.social-caption > div span {
  color: var(--blue-700);
  font-size: 0.45rem;
}

.ai-social-studio__footer {
  justify-content: center;
  border-top: 1px solid var(--line);
  border-bottom: 0;
}

.ai-social-studio__footer span {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  color: #526580;
  font-size: 0.5rem;
  font-weight: 720;
}

.ai-social-studio__footer i {
  width: 0.35rem;
  height: 0.35rem;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 0 0.2rem rgba(22, 138, 102, 0.08);
}

@keyframes social-spark-spin {
  to { transform: rotate(360deg); }
}

@keyframes social-post-ready {
  0% { opacity: 0.4; transform: scale(0.97); }
  100% { opacity: 1; transform: scale(1); }
}

@media (max-width: 1100px) {
  .ai-social-layout {
    grid-template-columns: 1fr;
  }

  .ai-social-copy {
    max-width: 48rem;
  }
}

@media (max-width: 720px) {
  .ai-social-studio__body {
    grid-template-columns: 1fr;
  }

  .social-result {
    display: grid;
    grid-template-columns: minmax(10rem, 0.8fr) minmax(0, 1.2fr);
    gap: 0.8rem;
  }

  .social-result__head {
    grid-column: 1 / -1;
  }
}

@media (max-width: 520px) {
  .ai-social-studio {
    border-radius: 1.25rem;
  }

  .ai-social-studio__body,
  .social-generator,
  .social-result {
    padding: 0.75rem;
  }

  .social-result {
    display: block;
  }

  .social-topic-field {
    grid-template-columns: 1fr;
  }

  .social-topic-field button {
    justify-content: center;
    min-height: 2.5rem;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .social-choice-group {
    grid-template-columns: 1fr;
  }

  .social-post-art {
    max-height: 22rem;
  }

  .ai-social-studio__footer {
    flex-wrap: wrap;
  }
}

@media (prefers-reduced-motion: reduce) {
  .social-generating,
  .social-post-art.is-generated {
    animation: none;
  }
}

/* Automatic content creation vignette: a finite, four-stage reveal. */
.ai-social-copy h2 > span { color: var(--blue-700); }
.social-showcase .social-generator { display: flex; flex-direction: column; gap: 0.85rem; }
.social-showcase-label { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.4rem; }
.social-showcase-label > span { color: var(--blue-800); font-size: 0.6rem; font-weight: 800; letter-spacing: 0.08em; }
.social-showcase-label > small { color: var(--muted); font-size: 0.56rem; }
.social-showcase [data-social-phase] { padding: 0.85rem; border: 1px solid var(--line); border-radius: 14px; background: #f9fbff; transition: border-color 0.5s ease, box-shadow 0.5s ease; }
.social-showcase [data-social-phase] > small { display: block; margin-bottom: 0.65rem; color: var(--blue-700); font-size: 0.56rem; font-weight: 800; letter-spacing: 0.07em; }
.social-idea-card { display: flex; align-items: center; gap: 0.65rem; padding: 0.65rem; border: 1px solid var(--line); border-radius: 10px; background: #fff; }
.social-idea-card > span { display: grid; place-items: center; flex: 0 0 28px; height: 28px; border-radius: 9px; color: var(--blue-700); background: var(--blue-100); }
.social-idea-card strong, .social-idea-card small { display: block; }
.social-idea-card strong { color: var(--ink); font-size: 0.7rem; line-height: 1.4; }
.social-idea-card small { margin-top: 0.25rem; font-size: 0.54rem; color: var(--muted); }
.social-idea-card--secondary { margin-top: 0.45rem; opacity: 0.65; }
.social-showcase .social-hook > strong { display: block; color: var(--blue-900); font-size: 1.05rem; letter-spacing: -0.035em; line-height: 1.3; }
.social-hook-note { display: block; margin-top: 0.5rem; color: var(--muted); font-size: 0.6rem; }
.social-design-stage > div { display: flex; align-items: center; gap: 0.3rem; }
.social-brand-swatch { width: 18px; height: 25px; border-radius: 6px; background: var(--blue-800); }
.social-brand-swatch:nth-child(2) { background: var(--blue-600); }
.social-brand-swatch:nth-child(3) { background: var(--blue-100); }
.social-design-stage strong { flex: 1; margin-left: 0.35rem; color: var(--ink); font-size: 0.62rem; line-height: 1.4; }
.social-design-stage i { color: var(--blue-700); font-style: normal; }
.social-writing-lines { display: grid; gap: 0.35rem; }
.social-writing-lines i { height: 4px; border-radius: 4px; background: var(--blue-200); transform-origin: left; }
.social-writing-lines i:nth-child(2) { width: 86%; }
.social-writing-lines i:nth-child(3) { width: 62%; }
.social-writing-stage p { margin: 0.65rem 0 0; color: var(--muted); font-size: 0.65rem; line-height: 1.5; }
.social-showcase-status { display: flex; align-items: center; gap: 0.5rem; min-height: 32px; color: var(--blue-800); }
.social-showcase-status > span { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--blue-100); }
.social-showcase-status strong { font-size: 0.65rem; }
.social-showcase[data-social-stage="0"] [data-social-phase="0"],
.social-showcase[data-social-stage="1"] [data-social-phase="1"],
.social-showcase[data-social-stage="2"] [data-social-phase="2"],
.social-showcase[data-social-stage="3"] [data-social-phase="3"] { border-color: rgba(40,114,217,0.5); box-shadow: 0 0 0 3px rgba(40,114,217,0.06); }
.social-showcase .social-post-art { min-height: 280px; padding: 1.15rem; }
.social-showcase .social-post-art strong { max-width: 15ch; font-size: clamp(1.6rem, 2vw, 2.2rem); line-height: 1.04; }
.social-showcase .social-post-art > strong { white-space: pre-line; }
.social-showcase[data-social-post="1"] .social-post-art { background: radial-gradient(circle at 25% 20%, rgba(116,174,250,0.5), transparent 40%), linear-gradient(145deg, #173e72, #041a40); }
.social-showcase[data-social-post="2"] .social-post-art { background: radial-gradient(circle at 85% 35%, rgba(173,207,255,0.45), transparent 38%), linear-gradient(160deg, #357fd9, #0b3d91 80%); }
.social-showcase[data-social-post="3"] .social-post-art { background: radial-gradient(circle at 20% 15%, rgba(105,164,252,0.6), transparent 30%), linear-gradient(135deg, #06265d, #1554b8); }
.social-showcase[data-social-post="1"] .social-art-motif > i { border-radius: 50%; }
.social-showcase[data-social-post="2"] .social-art-motif > i { border-radius: 45% 45% 25% 25%; }
.social-showcase[data-social-post="3"] .social-art-motif > i { border-radius: 20%; }
.social-showcase .social-ad-cta { position: relative; z-index: 2; width: fit-content; margin-top: 0.85rem; padding: 0.55rem 0.75rem; border-radius: 8px; color: var(--blue-900); background: #fff; font-size: 0.65rem; font-weight: 800; line-height: 1.4; }
.social-showcase[data-social-post="1"] .social-post-art { background: radial-gradient(ellipse at 70% 20%, #fff, transparent 60%), linear-gradient(145deg, #deebff, #b7d0f6); color: var(--blue-950); }
.social-showcase[data-social-post="1"] .social-post-art small,
.social-showcase[data-social-post="1"] .social-art-motif > span { color: var(--blue-800); }
.social-showcase[data-social-post="1"] .social-post-art__tag,
.social-showcase[data-social-post="1"] .social-post-art b,
.social-showcase[data-social-post="1"] .social-art-motif > i { border-color: rgba(11,61,145,0.25); }
.social-showcase[data-social-post="1"] .social-ad-cta { color: #fff; background: var(--blue-800); }
.social-showcase[data-social-post="2"] .social-post-art { align-items: center; text-align: center; background: radial-gradient(circle at 50% 20%, #3f85dc, transparent 55%), linear-gradient(180deg, #1554b8, #041a40); }
.social-showcase[data-social-post="2"] .social-post-art strong { font-size: clamp(1.45rem, 1.8vw, 1.95rem); }
.social-showcase[data-social-post="2"] .social-post-art__tag { align-self: center; }
.social-showcase[data-social-post="3"] .social-art-motif { align-self: flex-start; width: 85px; height: 85px; }
.social-showcase[data-social-stage="0"] .social-result { animation: social-idea-arrive 0.7s var(--ease) both; }
.social-showcase .social-post-art small { font-size: 0.65rem; }
.social-showcase .social-post-art b { margin-top: 1rem; padding-top: 0.7rem; border-top: 1px solid rgba(255,255,255,0.2); font-size: 0.6rem; }
.social-art-motif { position: relative; display: grid; place-items: center; align-self: center; width: 110px; height: 110px; margin: 1rem 0; }
.social-art-motif > span { font-size: 3.5rem; font-weight: 300; color: #dceaff; }
.social-art-motif > i { position: absolute; inset: 0; border: 1px solid rgba(255,255,255,0.22); border-radius: 30%; transform: rotate(15deg); }
.social-art-motif > i:last-child { inset: 12px; transform: rotate(-15deg); }
.social-output-formats { display: flex; flex-wrap: wrap; gap: 0.35rem; margin-top: 0.8rem; }
.social-output-formats span { padding: 0.3rem 0.45rem; border-radius: 999px; background: var(--blue-50); color: var(--blue-700); font-size: 0.55rem; font-weight: 700; }
.social-showcase[data-social-stage="0"] .social-idea-card:not(.social-idea-card--secondary) { animation: social-idea-arrive 1s var(--ease) both; }
.social-showcase[data-social-stage="1"] .social-hook > strong { animation: social-idea-arrive 0.8s var(--ease) both; }
.social-showcase[data-social-stage="2"] .social-post-art::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(110deg, transparent 25%, rgba(173,207,255,0.3) 48%, transparent 70%); animation: social-creative-light 1s ease-in-out both; }
.social-showcase[data-social-stage="2"] .social-art-motif { animation: social-motif-form 1s var(--ease) both; }
.social-showcase[data-social-stage="3"] .social-writing-lines i { animation: social-line-write 0.7s var(--ease) both; }
.social-showcase[data-social-stage="3"] .social-writing-lines i:nth-child(2) { animation-delay: 0.12s; }
.social-showcase[data-social-stage="3"] .social-writing-lines i:nth-child(3) { animation-delay: 0.24s; }
.social-showcase[data-social-stage="3"] .social-caption { animation: social-idea-arrive 0.8s var(--ease) both; }
.social-showcase[data-social-stage="4"] .social-showcase-status { color: var(--success); }
.social-showcase:not(.is-social-animating) *, .social-showcase:not(.is-social-animating) *::after { animation-play-state: paused !important; }
@keyframes social-idea-arrive { from { opacity: 0.3; transform: translateY(7px); } to { opacity: 1; transform: translateY(0); } }
@keyframes social-creative-light { from { transform: translateX(-100%); } to { transform: translateX(100%); } }
@keyframes social-motif-form { from { opacity: 0.4; transform: scale(0.88) rotate(-12deg); } to { opacity: 1; transform: scale(1) rotate(0); } }
@keyframes social-line-write { from { transform: scaleX(0.15); } to { transform: scaleX(1); } }
@media (max-width: 720px) {
  .social-showcase .social-result { display: flex; flex-direction: column; }
  .social-showcase .social-post-art { width: 100%; max-height: none; }
}
@media (prefers-reduced-motion: reduce) {
  .social-showcase *, .social-showcase *::after { animation: none !important; transition: none !important; }
}

/* A low-contrast ambient layer moves across the whole site without intercepting input. */
.site-ambient { position: fixed; inset: 0; z-index: 2; overflow: hidden; pointer-events: none; contain: strict; opacity: 0.13; }
.site-ambient > span { position: absolute; width: clamp(280px, 48vw, 800px); aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(77,143,241,0.3), rgba(105,164,252,0.12) 35%, transparent 68%); animation: ambient-blue-drift 32s ease-in-out infinite alternate; }
.site-ambient > span:nth-child(1) { left: -15%; top: -20%; }
.site-ambient > span:nth-child(2) { right: -20%; top: 25%; animation-duration: 39s; animation-delay: -12s; }
.site-ambient > span:nth-child(3) { left: 20%; bottom: -35%; animation-duration: 44s; animation-delay: -22s; }
.ambient-paused .site-ambient > span { animation-play-state: paused; }
@keyframes ambient-blue-drift { from { transform: translate3d(-3vw,-2vh,0) scale(0.95); } to { transform: translate3d(9vw,9vh,0) scale(1.12); } }
@media (prefers-reduced-motion: reduce) { .site-ambient > span { animation: none !important; } }

/* Larger text in the WhatsApp review preview. */
#ai-chatbot .review-flow__head strong { font-size: 0.9rem; }
#ai-chatbot .review-flow__head small { font-size: 0.6rem; }
#ai-chatbot .review-flow li strong { font-size: 0.76rem; line-height: 1.45; }
#ai-chatbot .review-flow li small { font-size: 0.62rem; line-height: 1.5; }
#ai-chatbot .review-flow li > b { font-size: 0.55rem; }
#ai-chatbot .review-flow li { padding: 0.65rem; }
#ai-chatbot .review-outcome strong { font-size: 0.7rem; line-height: 1.5; }
#ai-chatbot .review-outcome small { font-size: 0.55rem; }
#ai-chatbot .whatsapp-phone__top strong { font-size: 0.8rem; }
#ai-chatbot .whatsapp-phone__top small { font-size: 0.6rem; }
#ai-chatbot .wa-message, #ai-chatbot .wa-reply { max-width: 94%; font-size: clamp(0.7rem, 0.9vw, 0.82rem); line-height: 1.6; padding: 0.75rem; }
#ai-chatbot .wa-message a { font-size: 0.72rem; padding: 0.65rem; }
#ai-chatbot .wa-message time, #ai-chatbot .wa-reply time { font-size: 0.5rem; }
#ai-chatbot .whatsapp-date { font-size: 0.5rem; }
#ai-chatbot .whatsapp-compose { font-size: 0.62rem; }
#ai-chatbot .premium-tour-controls strong { font-size: 0.8rem; }
#ai-chatbot .premium-tour-controls small { font-size: 0.55rem; }
#ai-chatbot .premium-tour-controls button { font-size: 0.65rem; }
@media (max-width: 580px) { #ai-chatbot .wa-message, #ai-chatbot .wa-reply { font-size: 0.78rem; } }

/* Element motion: no simulated clicks, tab switching or selection outlines. */
:is(#doctors, #appointment-management, #ai-chatbot, #cms, #e-prescriptions, #billing) .showcase-copy h2 { max-width: 19ch; font-size: clamp(2rem, 3vw, 3.5rem); line-height: 1.13; letter-spacing: -0.04em; }
:is(#doctors, #appointment-management, #ai-chatbot, #cms, #e-prescriptions, #billing) .showcase-copy .section-copy { font-size: 1rem; line-height: 1.75; }
:is(#doctors, #appointment-management, #ai-chatbot, #cms, #e-prescriptions, #billing) .showcase-bullets { grid-template-columns: 1fr !important; gap: 0.6rem; }
:is(#doctors, #appointment-management, #ai-chatbot, #cms, #e-prescriptions, #billing) .showcase-window, :is(#doctors, #appointment-management, #ai-chatbot, #cms, #e-prescriptions, #billing) .showcase-window__body { min-height: 0 !important; }
.growth-service--social .growth-service__content h3 { max-width: 17ch; font-size: clamp(2rem, 3vw, 3.5rem); line-height: 1.13; }
.growth-service--social .growth-service__content > p:not(.eyebrow) { font-size: 1rem; line-height: 1.75; }
.premium-tour-controls { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 0.6rem; padding: 0.75rem 0.9rem; margin-bottom: 0.8rem; border: 1px solid var(--line); border-radius: 12px; background: #fff; color: var(--ink); }
.premium-tour-controls > span { min-width: 0; }
.premium-tour-controls small { display: block; margin-bottom: 0.2rem; color: var(--blue-700); font-size: 0.45rem; letter-spacing: 0.08em; font-weight: 800; }
.premium-tour-controls strong { display: block; font-size: 0.66rem; line-height: 1.5; }
.premium-tour-controls > button { width: auto !important; flex: 0 0 auto; min-width: 48px; padding: 0.3rem 0.55rem; border: 1px solid var(--line); border-radius: 999px; background: var(--blue-50); color: var(--blue-800); font-size: 0.55rem; cursor: pointer; box-shadow: none; }
.premium-tour-controls > button[hidden] { display: none; }
.element-motion-demo:not(.is-tour-playing) *, .element-motion-demo:not(.is-tour-playing) *::before, .element-motion-demo:not(.is-tour-playing) *::after { animation-play-state: paused !important; }
.doctors-ui.element-motion-demo .doctor-availability b { transform-origin: left; animation: element-hours-grow 9s var(--ease) var(--bar-delay, 0s) infinite; }
.doctors-ui.element-motion-demo .schedule-row > i { animation: element-status-breathe 4s ease-in-out infinite; }
.doctors-ui.element-motion-demo .schedule-row:nth-of-type(3) > i { animation-delay: 0.7s; }
.doctors-ui.element-motion-demo .doctor-profile > i { animation: element-avatar-float 6s ease-in-out infinite; }
.calendar-ui.element-motion-demo .booking-card__automation > span { animation: element-status-breathe 6s ease-in-out infinite; }
.calendar-ui.element-motion-demo .booking-card:nth-child(2) .booking-card__automation > span { animation-delay: 1.5s; }
.calendar-ui.element-motion-demo .booking-card__patient > i { animation: element-avatar-float 7s ease-in-out infinite; }
.review-automation-ui.element-motion-demo .wa-message, .review-automation-ui.element-motion-demo .wa-reply { animation: element-message-arrive 12s var(--ease) var(--message-delay, 0s) infinite both; }
.review-automation-ui.element-motion-demo .review-flow li > i { animation: element-status-breathe 4s ease-in-out infinite; }
.cms-ui--premium.element-motion-demo .cms-form > label:first-child i { animation: element-copy-write 9s var(--ease) infinite; }
.cms-ui--premium.element-motion-demo .preview-hero > strong { animation: element-copy-write 9s 1s var(--ease) infinite; }
.cms-ui--premium.element-motion-demo .preview-doctor { animation: element-avatar-float 7s ease-in-out infinite; }
.prescription-ui--ai.element-motion-demo .rx-sheet { animation: element-paper-assemble 10s var(--ease) infinite; }
.prescription-ui--ai.element-motion-demo .rx-generate-row > span > i { animation: element-status-breathe 1.4s ease-in-out infinite; }
.prescription-ui--ai.element-motion-demo .rx-generate-row > span > i:nth-child(2) { animation-delay: 0.2s; }
.prescription-ui--ai.element-motion-demo .rx-generate-row > span > i:nth-child(3) { animation-delay: 0.4s; }
.billing-ui--ai.element-motion-demo .invoice-sheet { animation: element-paper-assemble 11s var(--ease) infinite; }
.billing-ui--ai.element-motion-demo .invoice-item { position: relative; overflow: hidden; }
.billing-ui--ai.element-motion-demo .invoice-item::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(110deg, transparent 20%, rgba(40,114,217,0.09) 50%, transparent 75%); animation: element-creative-light 7s ease-in-out infinite; }
.billing-ui--ai.element-motion-demo .invoice-item:nth-of-type(2)::after { animation-delay: 1s; }
.social-studio--premium .premium-tour-controls { margin: 0.85rem; }
.social-studio--premium.element-motion-demo .post-visual > i, .social-studio--premium.element-motion-demo .post-doctor-portrait > i { animation: element-avatar-float 6s ease-in-out infinite; }
.social-studio--premium.element-motion-demo .post-doctor-portrait > i { animation-delay: 1.2s; }
.social-studio--premium.element-motion-demo .service-orbit > span { animation: element-orbit-turn 18s linear infinite; }
.social-studio--premium.element-motion-demo .clinic-post { position: relative; overflow: hidden; min-height: 0; }
.social-studio--premium.element-motion-demo .clinic-post::after { content: ""; position: absolute; inset: 0; background: linear-gradient(115deg, transparent 25%, rgba(173,207,255,0.13) 50%, transparent 75%); pointer-events: none; animation: element-creative-light 10s ease-in-out infinite; }
.social-studio--premium.element-motion-demo .clinic-post:nth-child(2)::after { animation-delay: 2s; }
.social-studio--premium.element-motion-demo .clinic-post:nth-child(3)::after { animation-delay: 4s; }
@keyframes element-hours-grow { 0% { transform: scaleX(0.25); opacity: 0.5; } 22%, 88% { transform: scaleX(1); opacity: 1; } 100% { transform: scaleX(0.25); opacity: 0.5; } }
@keyframes element-status-breathe { 0%, 100% { opacity: 0.55; } 50% { opacity: 1; } }
@keyframes element-avatar-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-4px); } }
@keyframes element-message-arrive { 0%, 4% { opacity: 0; transform: translateY(12px); } 12%, 72% { opacity: 1; transform: translateY(0); } 88%, 100% { opacity: 0; transform: translateY(0); } }
@keyframes element-copy-write { 0%, 8% { clip-path: inset(0 100% 0 0); } 35%, 85% { clip-path: inset(0 0 0 0); } 100% { clip-path: inset(0 100% 0 0); } }
@keyframes element-paper-assemble { 0% { opacity: 0.25; transform: translateY(10px); clip-path: inset(0 0 85% 0); } 28%, 88% { opacity: 1; transform: translateY(0); clip-path: inset(0 0 0 0); } 100% { opacity: 0.25; transform: translateY(10px); clip-path: inset(0 0 85% 0); } }
@keyframes element-creative-light { 0%, 30% { transform: translateX(-120%); } 65%, 100% { transform: translateX(120%); } }
@keyframes element-orbit-turn { to { transform: rotate(360deg); } }
@media (max-width: 580px) { .premium-tour-controls { padding: 0.6rem; } .premium-tour-controls strong { font-size: 0.6rem; } }
@media (prefers-reduced-motion: reduce) { .element-motion-demo *, .element-motion-demo *::before, .element-motion-demo *::after { animation: none !important; transition: none !important; } .element-motion-demo .wa-message, .element-motion-demo .wa-reply { opacity: 1; transform: none; } }

/* Digital card: scan, match, and preview the patient profile. */
#digital-patient-cards .showcase-copy h2 { max-width: 18ch; font-size: clamp(2.1rem, 3.2vw, 3.6rem); line-height: 1.12; }
#digital-patient-cards .digital-card { min-height: 330px; }
#digital-patient-cards .digital-card__profile { margin-block: 2.3rem 1.6rem; }
.patient-card-label > button { width: auto !important; flex: 0 0 auto; padding: 0.3rem 0.5rem; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--blue-800); font-size: 0.5rem; cursor: pointer; }
.patient-card-label > button[hidden] { display: none; }
.patient-card-ui .qr-code { position: relative; overflow: hidden; }
.patient-card-ui .qr-code::after { content: ""; position: absolute; left: 8px; right: 8px; top: 12%; height: 2px; background: var(--blue-600); box-shadow: 0 0 12px 4px rgba(40,114,217,0.25); opacity: 0; pointer-events: none; }
.patient-card-ui[data-card-stage="0"] .qr-code::after { animation: card-qr-scan 2.4s ease-in-out both; }
.patient-card-ui[data-card-stage="1"] .digital-card { animation: card-match-glow 2.4s ease-in-out both; }
.patient-card-ui[data-card-stage="1"] .qr-panel > code { animation: card-match-glow 2.4s ease-in-out both; }
.qr-profile-preview { display: flex; align-items: center; gap: 0.6rem; width: 100%; margin-top: 0.65rem; padding: 0.65rem; border: 1px solid var(--line); border-radius: 12px; background: #fff; text-align: left; opacity: 0.35; transition: opacity 0.5s; }
.qr-profile-preview > i { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 10px; background: var(--blue-100); color: var(--blue-700); font-size: 0.6rem; font-style: normal; font-weight: 750; }
.qr-profile-preview strong { font-size: 0.65rem; }
.qr-profile-preview small { margin-top: 0.2rem; font-size: 0.5rem; }
.patient-card-ui[data-card-stage="2"] .qr-profile-preview { opacity: 1; animation: card-profile-open 0.6s var(--ease) both; }
.patient-card-ui[data-card-stage="2"] .qr-access-status { box-shadow: 0 0 0 2px rgba(22,138,102,0.12); }
.patient-card-ui:not(.is-card-playing) *, .patient-card-ui:not(.is-card-playing) *::after { animation-play-state: paused !important; }
@keyframes card-qr-scan { 0% { top: 12%; opacity: 0; } 15% { opacity: 1; } 75% { top: 86%; opacity: 1; } 100% { top: 86%; opacity: 0; } }
@keyframes card-match-glow { 0%, 100% { box-shadow: 0 8px 24px rgba(40,114,217,0.1); } 50% { box-shadow: 0 0 0 4px rgba(40,114,217,0.18), 0 18px 40px rgba(40,114,217,0.3); } }
@keyframes card-profile-open { from { opacity: 0.3; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
@media (max-width: 620px) { #digital-patient-cards .patient-card-ui { grid-template-columns: minmax(0,1fr); } #digital-patient-cards .qr-panel { display: flex; } #digital-patient-cards .digital-card { min-height: 300px; } }
@media (prefers-reduced-motion: reduce) { .patient-card-ui *, .patient-card-ui *::after { animation: none !important; transition: none !important; } .patient-card-ui .qr-code::after { display: none; } }

/* Patient records tour: context changes within a stable patient profile. */
#patient-records .showcase-copy h2 { max-width: 17ch; font-size: clamp(2.1rem, 3.2vw, 3.6rem); line-height: 1.12; }
#patient-records .showcase-bullets { grid-template-columns: 1fr !important; }
.records-ui .records-actions { gap: 0.5rem; }
.records-ui .records-actions > small { color: var(--muted); font-size: 0.55rem; }
.records-ui .records-actions > button { width: auto !important; flex: 0 0 auto; min-width: 70px; padding: 0.35rem 0.6rem; color: var(--blue-800); background: #fff; border: 1px solid var(--line); border-radius: 999px; font-size: 0.6rem; box-shadow: none; }
.records-ui .records-actions > button[hidden] { display: none; }
.records-ui .record-tabs { overflow-x: auto; }
.records-ui .record-tabs > span { flex: 1 0 auto; transition: background 0.45s, color 0.45s, box-shadow 0.45s; }
.records-ui .record-tabs > span.active { color: #fff; background: var(--blue-800); box-shadow: 0 5px 14px rgba(11,61,145,0.15); }
.records-ui .detail-grid > span { min-height: 62px; }
.records-ui .record-panel--details { position: relative; overflow: hidden; }
.records-ui .record-panel--details .record-panel__title { min-height: 2.5rem; align-items: start; gap: 0.5rem; }
.records-ui .record-panel--details .record-panel__title small { max-width: 14ch; text-align: right; line-height: 1.5; }
.records-ui .timeline-item > span { min-height: 3.3em; }
.records-ui .record-panel--details::after { content: ""; position: absolute; top: 0; left: -25%; bottom: 0; width: 25%; pointer-events: none; background: linear-gradient(90deg, transparent, rgba(40,114,217,0.07), transparent); animation: record-context-scan 4.2s ease-in-out infinite; }
.records-ui[data-record-view="0"] .record-main,
.records-ui[data-record-view="2"] .record-main,
.records-ui[data-record-view="4"] .record-main { animation: record-context-in-a 0.65s var(--ease) both; }
.records-ui[data-record-view="1"] .record-main,
.records-ui[data-record-view="3"] .record-main { animation: record-context-in-b 0.65s var(--ease) both; }
.records-ui[data-record-view="1"] .patient-metrics > span:nth-child(1),
.records-ui[data-record-view="2"] .patient-metrics > span:nth-child(2),
.records-ui[data-record-view="4"] .patient-metrics > span:nth-child(3) { background: var(--blue-50); border-radius: 10px; box-shadow: 0 0 0 2px rgba(40,114,217,0.12); }
.records-ui .patient-metrics > span { transition: background 0.45s, box-shadow 0.45s; }
.records-ui:not(.is-records-playing) *, .records-ui:not(.is-records-playing) *::after { animation-play-state: paused !important; }
@keyframes record-context-scan { 0%, 15% { transform: translateX(0); } 70%, 100% { transform: translateX(500%); } }
@keyframes record-context-in-a { from { opacity: 0.5; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } }
@keyframes record-context-in-b { from { opacity: 0.5; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } }
@media (max-width: 580px) { .records-ui .records-topline { flex-wrap: wrap; gap: 0.75rem; } .records-ui .records-actions { margin-left: auto; } }
@media (prefers-reduced-motion: reduce) { .records-ui *, .records-ui *::after { animation: none !important; transition: none !important; } .records-ui .record-panel--details::after { display: none; } }

/* Recreated booking story: three cinematic scenes in a stable compact frame. */
#appointments .showcase-copy h2 { max-width: 17ch; font-size: clamp(2.1rem, 3.3vw, 3.7rem); line-height: 1.1; }
#appointments .showcase-bullets { grid-template-columns: 1fr !important; max-width: 32rem; }
#appointments .showcase-bullets > div { padding: 0.85rem 1rem; font-size: 0.86rem; }
#appointments .showcase-window__body { padding: 0 !important; min-height: 0; }
.booking-story { overflow: hidden; color: var(--ink); background: linear-gradient(145deg, #fff, #f1f6ff); }
.booking-story-header { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.1rem 1.3rem; }
.booking-story-header > div { display: flex; align-items: center; gap: 0.6rem; }
.booking-story-mark { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 10px; background: var(--blue-800); color: #fff; }
.booking-story-header strong { font-size: 0.95rem; }
.booking-story-header > button { width: auto !important; min-width: 58px; flex: 0 0 auto; padding: 0.35rem 0.6rem; border: 1px solid var(--line); border-radius: 999px; color: var(--blue-800); background: #fff; font-size: 0.65rem; cursor: pointer; }
.booking-story-header > button[hidden] { display: none; }
.booking-story-progress { display: flex; align-items: center; gap: 0.5rem; padding: 0.75rem 1.3rem; border-block: 1px solid var(--line); background: rgba(255,255,255,0.75); }
.booking-story-progress > span { display: flex; align-items: center; gap: 0.4rem; color: #8091ab; font-size: 0.62rem; white-space: nowrap; transition: color 0.4s; }
.booking-story-progress b { font-weight: 700; }
.booking-story-progress > i { height: 1px; flex: 1; background: var(--blue-200); }
.booking-story-progress > .is-current { color: var(--blue-700); }
.booking-story-progress > .is-complete { color: var(--success); }
.booking-story-stage { position: relative; height: 370px; }
.booking-story-scene { position: absolute; inset: 0; padding: 1.6rem 1.4rem; opacity: 0; visibility: hidden; transform: translateX(18px); transition: opacity 0.5s ease, transform 0.6s var(--ease), visibility 0.5s; }
.booking-story-scene[aria-hidden="false"] { opacity: 1; visibility: visible; transform: translateX(0); }
.booking-story-scene > small, .booking-story-success > small { color: var(--blue-700); font-size: 0.58rem; font-weight: 800; letter-spacing: 0.1em; }
.booking-story-scene h3 { max-width: none; margin: 0.6rem 0 1.25rem; color: var(--blue-950); font-size: clamp(1.3rem, 2vw, 1.8rem); line-height: 1.15; }
.booking-story-doctor { display: flex; align-items: center; gap: 0.65rem; padding: 0.85rem; margin-top: 0.65rem; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.booking-story-doctor > span { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: var(--blue-100); color: var(--blue-700); font-size: 0.8rem; font-weight: 750; }
.booking-story-doctor > div { flex: 1; }
.booking-story-doctor strong { display: block; font-size: 0.85rem; }
.booking-story-doctor small { display: block; margin-top: 0.2rem; color: var(--muted); font-size: 0.63rem; }
.booking-story-doctor > i { color: var(--blue-700); font-style: normal; }
.booking-story-doctor.selected { border-color: var(--blue-600); box-shadow: 0 0 0 3px rgba(40,114,217,0.06); }
.booking-story-hint { margin: 1rem 0 0; color: var(--muted); font-size: 0.72rem; line-height: 1.5; }
.booking-story-dates { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 0.55rem; }
.booking-story-dates > span { padding: 0.65rem; border: 1px solid var(--line); border-radius: 12px; text-align: center; background: #fff; color: var(--muted); font-size: 0.56rem; }
.booking-story-dates b { display: block; margin-top: 0.25rem; color: var(--ink); font-size: 1.1rem; }
.booking-story-slots { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 0.55rem; margin-top: 0.8rem; }
.booking-story-slots > span { padding: 0.65rem; border: 1px solid var(--line); border-radius: 10px; text-align: center; background: #fff; font-size: 0.72rem; }
.booking-story-slots i { font-style: normal; }
.booking-story-dates > .selected, .booking-story-slots > .selected { color: #fff; border-color: var(--blue-800); background: var(--blue-800); }
.booking-story-dates > .selected b { color: #fff; }
.booking-story-success { text-align: center; }
.booking-story-success svg { display: block; width: 74px; height: 74px; margin: 0 auto 0.6rem; }
.booking-story-success circle { fill: #e5f5ef; stroke: rgba(22,138,102,0.15); stroke-width: 1; }
.booking-story-success path { stroke: var(--success); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; }
.booking-story-success h3 { margin-bottom: 0.7rem; }
.booking-story-success p { color: var(--muted); font-size: 0.8rem; line-height: 1.6; }
.booking-story-receipt { display: flex; align-items: center; justify-content: space-between; gap: 0.6rem; padding: 1rem; border-radius: 15px; background: var(--blue-950); color: #fff; }
.booking-story-receipt small, .booking-story-receipt strong, .booking-story-receipt b { display: block; }
.booking-story-receipt small { margin-bottom: 0.3rem; font-size: 0.5rem; color: #9fbee9; letter-spacing: 0.08em; }
.booking-story-receipt strong { font-size: 0.8rem; }
.booking-story-receipt b { margin-top: 0.3rem; color: #bcd5ff; font-size: 0.65rem; font-weight: 500; }
.booking-story-receipt i { color: #9de2c8; font-size: 0.65rem; font-style: normal; }
.booking-story-footer { display: flex; align-items: center; gap: 0.45rem; padding: 0.9rem 1.3rem; border-top: 1px solid var(--line); background: #fff; }
.booking-story-footer strong { flex: 1; color: var(--blue-800); font-size: 0.6rem; font-weight: 650; }
.booking-story-footer small { color: var(--muted); font-size: 0.5rem; }
.booking-story-live-dot { width: 6px; height: 6px; flex: 0 0 6px; border-radius: 50%; background: var(--success); }
.booking-story-cursor { position: absolute; right: 18%; top: 53%; z-index: 2; width: 12px; height: 12px; border: 2px solid #fff; border-radius: 50%; background: var(--blue-600); box-shadow: 0 0 0 5px rgba(40,114,217,0.14); font-size: 0; opacity: 0; pointer-events: none; }
.booking-story-doctor.selected, .booking-story-slots > .selected { position: relative; }
.booking-story .selected > .booking-story-cursor { right: 18px; top: calc(50% - 6px); display: block; padding: 0; margin: 0; }
.booking-story-doctor > span.booking-story-cursor { width: 12px; height: 12px; border-radius: 50%; background: var(--blue-600); font-size: 0; }
.booking-story-cursor::after { content: ""; position: absolute; inset: -7px; border: 1px solid rgba(40,114,217,0.5); border-radius: 50%; opacity: 0; }
.booking-story[data-booking-scene="0"] [data-scene="0"] .booking-story-cursor::after,
.booking-story[data-booking-scene="1"] [data-scene="1"] .booking-story-cursor::after { animation: booking-story-click 4s ease-out both; }
.booking-story[data-booking-scene="0"] [data-scene="0"] .booking-story-cursor,
.booking-story[data-booking-scene="1"] [data-scene="1"] .booking-story-cursor { animation: booking-story-pointer 4s ease-in-out both; }
.booking-story[data-booking-scene="0"] .booking-story-doctor.selected { animation: booking-story-doctor-click 4s ease-in-out both; }
.booking-story[data-booking-scene="1"] .booking-story-slots > .selected { animation: booking-story-select 4s ease-in-out both; }
.booking-story .booking-story-slots > .selected > i { opacity: 0; }
.booking-story[data-booking-scene="1"] .booking-story-slots > .selected > i { animation: booking-story-tick 4s linear both; }
.booking-story[data-booking-scene="2"] .booking-story-success path { stroke-dasharray: 1; animation: booking-story-check 0.7s 0.25s ease both; }
.booking-story[data-booking-scene="2"] .booking-story-receipt { animation: booking-story-receipt 0.7s 0.4s var(--ease) both; }
.booking-story:not(.is-playing) *, .booking-story:not(.is-playing) *::after { animation-play-state: paused !important; }
@keyframes booking-story-pointer { 0% { opacity: 0; transform: translate(45px,35px); } 22%, 34% { opacity: 1; transform: translate(0,0) scale(1); } 38% { opacity: 1; transform: scale(0.6); } 44%, 65% { opacity: 1; transform: scale(1); } 78%, 100% { opacity: 0; transform: scale(1); } }
@keyframes booking-story-click { 0%, 37% { opacity: 0; transform: scale(0.6); } 40% { opacity: 0.8; transform: scale(0.7); } 62%, 100% { opacity: 0; transform: scale(2.4); } }
@keyframes booking-story-tick { 0%, 38% { opacity: 0; } 40%, 100% { opacity: 1; } }
@keyframes booking-story-doctor-click { 0%, 36% { border-color: var(--line); box-shadow: none; transform: scale(1); } 39% { border-color: var(--blue-600); transform: scale(0.985); } 46% { border-color: var(--blue-600); box-shadow: 0 0 0 6px rgba(40,114,217,0.14); transform: scale(1); } 65%, 100% { border-color: var(--blue-600); box-shadow: 0 0 0 3px rgba(40,114,217,0.06); transform: scale(1); } }
@keyframes booking-story-select { 0%, 36% { background: #fff; color: var(--ink); border-color: var(--line); box-shadow: none; transform: scale(1); } 39% { background: var(--blue-800); color: #fff; border-color: var(--blue-800); transform: scale(0.97); } 46% { background: var(--blue-800); color: #fff; box-shadow: 0 0 0 6px rgba(40,114,217,0.15); transform: scale(1); } 65%, 100% { background: var(--blue-800); color: #fff; border-color: var(--blue-800); box-shadow: 0 0 0 3px rgba(40,114,217,0.06); transform: scale(1); } }
@keyframes booking-story-check { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes booking-story-receipt { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }
@media (max-width: 580px) { .booking-story-progress { gap: 0.3rem; padding-inline: 1rem; } .booking-story-progress > span { font-size: 0.52rem; } .booking-story-scene { padding: 1.3rem 1rem; } .booking-story-stage { height: 390px; } .booking-story-footer { flex-wrap: wrap; padding-inline: 1rem; } }
@media (prefers-reduced-motion: reduce) { .booking-story *, .booking-story *::after { animation: none !important; transition: none !important; } }

/* Campaign performance: fixed metrics, an illuminated SVG trend and quiet motion. */
.ads-results-panel.growth-panel { gap: clamp(1.5rem, 3vw, 3rem); padding: clamp(1.5rem, 4vw, 3.5rem); }
.ads-results-panel .growth-panel__copy h2 { max-width: none; font-size: clamp(2rem, 3.25vw, 3.5rem); line-height: 1.12; }
.ads-results-panel .growth-panel__copy .section-copy { font-size: 1rem; line-height: 1.75; }
.ads-results-panel .ads-studio--results { border: 1px solid rgba(190,212,248,0.5); box-shadow: 0 24px 70px rgba(3,15,40,0.25); }
.campaign-toolbar-controls { display: flex; align-items: center; flex-wrap: wrap; justify-content: flex-end; gap: 0.4rem; }
.campaign-animation-toggle { padding: 0.3rem 0.5rem; border: 1px solid var(--line); border-radius: 999px; color: var(--blue-800); background: #fff; font-size: 0.55rem; cursor: pointer; }
.campaign-animation-toggle[hidden] { display: none; }
.ads-studio--results .ads-results-grid { gap: 0.65rem; }
.ads-studio--results .ads-results-grid > div { min-height: 92px; border-radius: 14px; }
.ads-studio--results .ads-results-grid strong { font-variant-numeric: tabular-nums; letter-spacing: -0.045em; }
.ads-studio--results .ads-result--key { position: relative; overflow: hidden; }
.ads-studio--results .ads-result--key::after { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 20%, rgba(190,212,248,0.15) 50%, transparent 75%); pointer-events: none; animation: campaign-metric-light 8s ease-in-out infinite; }
.ads-studio--results .campaign-chart--results { height: 260px; padding: 3.3rem 1rem 1.8rem; border-radius: 16px; background-image: linear-gradient(rgba(11,61,145,0.07) 1px, transparent 1px); background-size: 100% 45px; }
.ads-studio--results .campaign-growth-chart { height: 170px; }
.ads-studio--results .campaign-curve { stroke-width: 4; stroke-dasharray: 100; animation: campaign-line-draw 7s linear infinite; }
.ads-studio--results .campaign-tracer { display: none; }
.campaign-moving-dot { fill: #fff; stroke: var(--blue-600); stroke-width: 4; filter: drop-shadow(0 0 7px rgba(40,114,217,0.6)); }
.campaign-guide { stroke: rgba(40,114,217,0.3); stroke-width: 1.5; stroke-dasharray: 4 5; }
.campaign-tracer { fill: none; stroke: #8cbcff; stroke-width: 5; stroke-linecap: round; stroke-dasharray: 9 101; stroke-dashoffset: 9; filter: drop-shadow(0 0 4px rgba(40,114,217,0.65)); animation: campaign-trend-travel 8s linear infinite; }
.ads-studio--results .campaign-area { animation: campaign-area-reveal 7s linear infinite; }
.ads-studio--results .campaign-points circle { stroke-width: 3; animation: campaign-milestone 8s ease-in-out infinite; }
.ads-studio--results .campaign-points circle:nth-child(2) { animation-delay: 1.1s; }
.ads-studio--results .campaign-points circle:nth-child(3) { animation-delay: 2.2s; }
.ads-studio--results .campaign-points circle:nth-child(4) { animation-delay: 3.3s; }
.ads-studio--results .campaign-points circle:nth-child(5) { animation-delay: 4.4s; }
.ads-studio--results .campaign-points circle:nth-child(6) { animation-delay: 5.5s; }
.ads-studio--results .campaign-axis { margin-top: 0.1rem; font-size: 0.55rem; }
.ads-studio--results:not(.is-campaign-playing) *, .ads-studio--results:not(.is-campaign-playing) *::after { animation-play-state: paused !important; }
@keyframes campaign-trend-travel { 0% { stroke-dashoffset: 9; opacity: 0; } 5% { opacity: 1; } 80% { stroke-dashoffset: -100; opacity: 1; } 90%, 100% { stroke-dashoffset: -100; opacity: 0; } }
@keyframes campaign-line-draw { 0% { stroke-dashoffset: 100; opacity: 1; } 65%, 92% { stroke-dashoffset: 0; opacity: 1; } 100% { stroke-dashoffset: 0; opacity: 0.2; } }
@keyframes campaign-area-reveal { 0% { clip-path: inset(0 100% 0 0); opacity: 0.4; } 65%, 92% { clip-path: inset(0 0 0 0); opacity: 1; } 100% { clip-path: inset(0 0 0 0); opacity: 0.3; } }
@keyframes campaign-milestone { 0%, 28%, 100% { fill: var(--blue-700); } 12% { fill: #8cbcff; filter: drop-shadow(0 0 7px rgba(40,114,217,0.6)); } }
@keyframes campaign-area-breathe { 0%, 100% { opacity: 0.65; } 60% { opacity: 1; } }
@keyframes campaign-metric-light { 0%, 45% { transform: translateX(-120%); } 75%, 100% { transform: translateX(120%); } }
@media (min-width: 1081px) { .ads-results-panel.growth-panel { grid-template-columns: minmax(0,0.85fr) minmax(0,1.35fr); } }
@media (max-width: 620px) { .ads-studio--results .campaign-chart--results { height: 230px; } .ads-studio--results .campaign-growth-chart { height: 140px; } .ads-studio--results .studio-toolbar { flex-wrap: wrap; gap: 0.5rem; } }
@media (prefers-reduced-motion: reduce) {
  .ads-studio--results *, .ads-studio--results *::after { animation: none !important; transition: none !important; }
  .campaign-tracer, .campaign-moving-dot, .campaign-guide { display: none; }
  .ads-studio--results .campaign-curve { stroke-dasharray: none; }
}

/* Patient-to-clinic demonstration with a focused booking narrative. */
.website-growth .website-showcase { gap: clamp(1.5rem, 3vw, 3rem); align-items: center; }
.website-growth .website-capabilities { padding: 0; }
.website-growth .website-capabilities h3 { max-width: none; font-size: clamp(1.9rem, 2.8vw, 3rem); line-height: 1.13; margin-bottom: 1rem; }
.website-growth .website-capabilities h3 > span { color: var(--blue-700); }
.website-growth .website-capabilities > p:not(.eyebrow) { font-size: 1rem; line-height: 1.7; }
.website-value-points { display: grid; gap: 0.75rem; margin: 1.25rem 0; }
.website-value-points > span { display: flex; align-items: center; gap: 0.65rem; color: var(--blue-900); font-size: 0.85rem; font-weight: 700; }
.website-value-points i { display: grid; place-items: center; flex: 0 0 27px; height: 27px; color: var(--blue-700); background: var(--blue-100); border-radius: 8px; font-size: 0.55rem; font-style: normal; }
.website-growth .website-capability-list { gap: 0.4rem; padding-top: 1rem; border-top: 1px solid var(--line); margin-top: 1rem; }
.website-growth .website-capability-list > div { min-height: 36px; padding: 0.45rem 0.5rem; font-size: 0.62rem; line-height: 1.5; box-shadow: none; }
.website-demo-controls { display: flex; align-items: center; justify-content: space-between; gap: 0.6rem; padding: 0.65rem 0.9rem; border-bottom: 1px solid var(--line); background: #fff; }
.website-demo-controls > span { color: var(--muted); font-size: 0.55rem; }
.website-demo-controls strong { color: var(--blue-800); font-weight: 700; }
.website-demo-controls button { flex-shrink: 0; padding: 0.3rem 0.5rem; border: 1px solid var(--line); border-radius: 999px; background: var(--blue-50); color: var(--blue-800); font-size: 0.55rem; cursor: pointer; }
.website-demo-controls button[hidden] { display: none; }
.website-growth .experience-flow > span { transition: color 0.5s ease, background 0.5s ease, box-shadow 0.5s ease; }
.website-growth .experience-flow > span.is-website-current { color: #fff; background: var(--blue-800); box-shadow: 0 0 0 3px rgba(40,114,217,0.1); }
.website-growth .patient-site-hero h3 { max-width: 16ch; font-size: clamp(1.3rem, 1.7vw, 1.8rem); }
.website-growth .patient-ai-chat p { min-height: 5.8em; font-size: 0.62rem; line-height: 1.6; }
.website-growth .patient-ai-chat em { min-height: 3.5em; align-items: center; font-size: 0.55rem; }
.website-growth .admin-patient, .website-growth .admin-automation { transition: opacity 0.6s ease, box-shadow 0.6s ease; }
.website-growth .admin-stats strong { font-size: 1.65rem; line-height: 1.1; font-variant-numeric: tabular-nums; letter-spacing: -0.035em; }
.website-browser[data-website-stage="0"] .admin-patient,
.website-browser[data-website-stage="1"] .admin-patient,
.website-browser[data-website-stage="2"] .admin-patient { opacity: 0.45; }
.website-browser:not([data-website-stage="4"]) .admin-automation { opacity: 0.45; }
.website-browser[data-website-stage="1"] .patient-ai-chat { animation: website-ai-focus 2.5s ease-in-out both; }
.website-browser[data-website-stage="1"] .patient-ai-chat > p::after { content: " • • •"; color: var(--blue-600); animation: website-thinking 0.8s ease-in-out infinite alternate; }
.website-browser[data-website-stage="2"] .patient-site-hero > b { animation: website-booking-confirm 0.6s var(--ease) both; }
.website-browser[data-website-stage="3"] .admin-patient { animation: website-record-arrive 0.7s var(--ease) both; box-shadow: 0 0 0 2px rgba(140,188,255,0.25); }
.website-browser[data-website-stage="3"] .website-floating--booking { animation: website-record-arrive 0.7s var(--ease) both; }
.website-browser[data-website-stage="4"] .admin-automation > span { animation: website-record-arrive 0.6s var(--ease) both; }
.website-browser[data-website-stage="4"] .admin-automation > span:nth-child(2) { animation-delay: 0.2s; }
.website-browser:not(.is-website-playing) *, .website-browser:not(.is-website-playing) *::after { animation-play-state: paused !important; }
@keyframes website-record-arrive { from { opacity: 0.4; transform: translateY(7px); } to { opacity: 1; transform: translateY(0); } }
@keyframes website-ai-focus { 0%, 100% { box-shadow: 0 12px 28px rgba(11,61,145,0.09); } 40% { box-shadow: 0 0 0 3px rgba(40,114,217,0.14), 0 12px 28px rgba(11,61,145,0.15); } }
@keyframes website-booking-confirm { 50% { box-shadow: 0 0 0 6px rgba(40,114,217,0.12); } }
@keyframes website-thinking { from { opacity: 0.3; } to { opacity: 1; } }
@media (min-width: 1081px) { .website-growth .website-showcase { grid-template-columns: minmax(0,1.6fr) minmax(0,0.85fr); } }
@media (max-width: 580px) { .website-demo-controls { flex-wrap: wrap; } .website-growth .patient-ai-chat p { min-height: 0; } }
@media (prefers-reduced-motion: reduce) {
  .website-showcase *, .website-showcase *::after { animation: none !important; transition: none !important; }
  .website-showcase .patient-ai-chat p::after { display: none; }
}

/* Show the operational handoff from fragmented tools to connected workflows. */
.benefits-comparison .comparison-side li { transition: border-color 0.45s ease, box-shadow 0.45s ease, background 0.45s ease; }
.benefits-comparison .is-connection-source { border-color: #b9c9df; background: #edf2f8; box-shadow: inset 3px 0 0 #9aadc7; }
.benefits-comparison .comparison-side--after li.is-connection-target { border-color: rgba(166,211,255,0.8); background: rgba(77,143,241,0.3); box-shadow: 0 0 0 2px rgba(140,188,255,0.12), 0 8px 30px rgba(3,15,40,0.12); }
.benefits-comparison .is-connection-target > span { animation: comparison-check-in 0.5s var(--ease) both; background: #fff; color: var(--blue-700); }
.benefits-comparison .comparison-side__signal--after small { min-height: 3em; }
.comparison-shell[data-connection-phase="1"] .comparison-transition i { animation: comparison-transfer 0.65s var(--ease) both; }
.comparison-shell[data-connection-phase="2"] .connected-core span { animation: comparison-core-glow 2.2s ease-in-out both; }
.comparison-shell[data-connection-phase="2"] .connected-core::before { animation: comparison-orbit-signal 2.2s ease-out both; }
.comparison-shell:not(.is-connection-playing) *, .comparison-shell:not(.is-connection-playing) *::before { animation-play-state: paused !important; }
.comparison-demo-caption { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 0.8rem; margin-top: 1.2rem; text-align: center; }
.comparison-demo-caption > span { color: var(--blue-800); font-size: 0.78rem; font-weight: 700; }
.comparison-demo-caption button { padding: 0.4rem 0.7rem; border: 1px solid var(--line); border-radius: 999px; background: rgba(255,255,255,0.8); color: var(--muted); font-size: 0.65rem; cursor: pointer; }
.comparison-demo-caption button[hidden] { display: none; }
@keyframes comparison-check-in { from { transform: scale(0.8); box-shadow: 0 0 0 0 rgba(190,212,248,0.35); } to { transform: scale(1); box-shadow: 0 0 0 5px rgba(190,212,248,0); } }
@keyframes comparison-transfer { 0% { transform: translateX(-4px); box-shadow: 0 0 0 0 rgba(40,114,217,0.3); } 55% { box-shadow: 0 0 0 12px rgba(40,114,217,0.08); } 100% { transform: translateX(0); box-shadow: 0 0 0 18px rgba(40,114,217,0); } }
@keyframes comparison-core-glow { 0%, 100% { box-shadow: 0 0 35px rgba(105,164,252,0.25); } 45% { box-shadow: 0 0 70px rgba(105,164,252,0.6); } }
@keyframes comparison-orbit-signal { from { transform: scale(0.75); opacity: 0.8; } to { transform: scale(1.2); opacity: 0.15; } }
@media (prefers-reduced-motion: reduce) {
  .benefits-comparison .comparison-side li, .benefits-comparison .comparison-side li > span, .benefits-comparison .connected-core span, .benefits-comparison .connected-core::before, .benefits-comparison .comparison-transition i { animation: none !important; transition: none !important; }
}

/* Use both sides of the website introduction without a tall headline stack. */
.website-growth .website-growth__intro { max-width: none; margin-bottom: clamp(2rem, 3vw, 3rem); }
.website-growth .website-growth__intro h2 { max-width: none; font-size: clamp(2rem, 3.1vw, 3.6rem); line-height: 1.13; margin-bottom: 1rem; }
.website-growth .website-growth__intro h2 > span { display: block; margin-top: 0.15em; color: var(--blue-700); }
.website-growth .website-growth__intro .section-copy { max-width: 56ch; margin-bottom: 0; font-size: clamp(1rem, 1.3vw, 1.15rem); line-height: 1.75; }
@media (min-width: 1081px) {
  .website-growth .website-growth__intro { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); align-items: center; column-gap: clamp(2rem, 4vw, 4rem); }
  .website-growth .website-growth__intro > .eyebrow { grid-column: 1 / -1; margin-bottom: 1rem; }
  .website-growth .website-growth__intro h2 { margin-bottom: 0; }
  .website-growth .website-growth__intro .section-copy { padding-left: 1.5rem; border-left: 2px solid var(--blue-200); }
}

/* Balanced comparison introduction with deliberate two-line desktop typography. */
.benefits-comparison .comparison-intro { width: 100%; max-width: 1120px; margin-inline: auto; margin-bottom: clamp(2rem, 3vw, 3rem); }
.benefits-comparison .comparison-intro h2 { max-width: none; margin: 0 auto 1.25rem; font-size: clamp(2.2rem, 3.65vw, 4.1rem); line-height: 1.1; letter-spacing: -0.045em; }
.benefits-comparison .comparison-intro h2 > span { display: block; }
.benefits-comparison .comparison-intro h2 > span:last-child { color: var(--blue-700); }
.benefits-comparison .comparison-intro .section-copy { max-width: 880px; margin: 0 auto; font-size: clamp(1rem, 1.25vw, 1.15rem); line-height: 1.7; }
.benefits-comparison .comparison-intro__chips { justify-content: center; margin-top: 1.15rem; gap: 0.6rem; }
@media (max-width: 580px) {
  .benefits-comparison .comparison-intro h2 { text-wrap: balance; letter-spacing: -0.035em; }
  .benefits-comparison .comparison-intro h2 > span:last-child { margin-top: 0.2em; }
  .benefits-comparison .comparison-intro__chips { gap: 0.45rem; }
}

/* Square feature tiles and accessible feature explanations. */
.clinic-platform .clinic-card { aspect-ratio: 1; min-height: 0; padding: 1.2rem; border-radius: 24px; }
.clinic-platform .clinic-card__icon { width: 40px; height: 40px; margin-bottom: 1rem; }
.clinic-platform .clinic-card h3 { margin-bottom: 0.65rem; font-size: 1rem; line-height: 1.25; }
.clinic-platform .clinic-card p { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 4; overflow: hidden; font-size: 0.78rem; line-height: 1.6; }
.clinic-card__open { position: absolute; inset: 0; z-index: 5; width: 100%; border: 0; border-radius: inherit; background: transparent; cursor: pointer; }
.clinic-card__open:focus-visible { outline: none; }
.clinic-platform .clinic-card:focus-within { border-color: var(--blue-700); box-shadow: 0 0 0 3px rgba(40,114,217,0.2), var(--shadow-md); }
.clinic-platform .clinic-card__arrow { right: 1.2rem; bottom: 1rem; color: var(--blue-700); font-size: 0.65rem; font-weight: 750; }
.clinic-platform .clinic-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(115deg, transparent 30%, rgba(190,212,248,0.3) 50%, transparent 70%); transform: translateX(-120%); pointer-events: none; }
@media (min-width: 1081px) and (max-width: 1379px) {
  .clinic-platform .clinic-feature-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (hover: hover) and (pointer: fine) {
  .clinic-platform .clinic-card:hover { transform: translateY(-8px); border-color: rgba(40,114,217,0.5); box-shadow: 0 20px 45px rgba(11,61,145,0.16); }
  .clinic-platform .clinic-card:hover::before { transform: scale(2.5); background: rgba(40,114,217,0.08); }
  .clinic-platform .clinic-card:hover::after { animation: clinic-tile-shine 0.85s var(--ease) both; }
  .clinic-platform .clinic-card:hover .clinic-card__icon { transform: translateY(-3px) rotate(-7deg) scale(1.08); box-shadow: 0 12px 28px rgba(40,114,217,0.2); }
  .clinic-platform .clinic-card:hover .clinic-card__arrow { transform: translate(3px, -3px); }
}
@keyframes clinic-tile-shine { to { transform: translateX(120%); } }
.clinic-feature-dialog { width: min(640px, calc(100vw - 2rem)); max-height: calc(100dvh - 3rem); margin: auto; padding: clamp(1.5rem, 4vw, 2.5rem); border: 1px solid var(--line); border-radius: 26px; background: #fff; color: var(--ink); box-shadow: 0 40px 120px rgba(4,26,64,0.25); }
.clinic-feature-dialog::backdrop { background: rgba(4,26,64,0.6); backdrop-filter: blur(6px); }
.clinic-feature-dialog[open] { animation: clinic-detail-in 0.3s var(--ease) both; }
.clinic-detail-close { position: absolute; top: 0.9rem; right: 0.9rem; display: grid; place-items: center; width: 40px; height: 40px; padding: 0; border: 0; border-radius: 11px; background: transparent; color: #64748b; cursor: pointer; transition: background 0.2s ease, color 0.2s ease; }
.clinic-detail-close svg { width: 22px; height: 22px; }
.clinic-detail-close:hover { background: var(--blue-50); color: var(--blue-800); }
.clinic-detail-close:focus-visible { outline: 2px solid var(--blue-600); outline-offset: 2px; }
.clinic-feature-dialog .eyebrow { padding-right: 2rem; }
.clinic-feature-dialog h2 { max-width: none; margin-bottom: 1rem; padding-right: 1rem; font-size: clamp(1.6rem, 3vw, 2.2rem); line-height: 1.15; }
.clinic-detail-summary { color: var(--muted); font-size: 1rem; line-height: 1.65; }
.clinic-feature-dialog h3 { margin: 1.5rem 0 0.8rem; font-size: 1rem; }
.clinic-detail-list { display: grid; gap: 0.75rem; padding-left: 1.2rem; color: #40536f; font-size: 0.92rem; line-height: 1.6; }
.clinic-detail-list li::marker { color: var(--blue-600); }
.clinic-detail-example { margin: 1.4rem 0; padding: 1.1rem; border: 1px solid var(--line); border-radius: 15px; background: var(--blue-50); }
.clinic-detail-example small { color: var(--blue-700); font-size: 0.7rem; font-weight: 800; letter-spacing: 0.04em; }
.clinic-detail-example p { margin: 0.5rem 0 0; color: #40536f; font-size: 0.9rem; line-height: 1.65; }
body:has(.clinic-feature-dialog[open]) { overflow: hidden; }
@keyframes clinic-detail-in { from { opacity: 0; transform: translateY(12px) scale(0.98); } to { opacity: 1; transform: translateY(0) scale(1); } }
@media (max-width: 720px) {
  .clinic-platform .clinic-card { width: min(100%, 420px); justify-self: center; }
  .clinic-platform .clinic-card p { font-size: 0.88rem; }
  .clinic-platform .clinic-card__icon { margin-bottom: 1.25rem; }
}
@media (prefers-reduced-motion: reduce) {
  .clinic-platform .clinic-card, .clinic-platform .clinic-card::before, .clinic-platform .clinic-card::after, .clinic-platform .clinic-card__icon, .clinic-platform .clinic-card__arrow, .clinic-feature-dialog[open] { animation: none !important; transition: none !important; }
  .clinic-platform .clinic-card:hover, .clinic-platform .clinic-card:hover .clinic-card__icon, .clinic-platform .clinic-card:hover .clinic-card__arrow { transform: none; }
}

/* Landscape content dashboard: introduction above, process and output alongside. */
.ai-social-section .ai-social-layout { grid-template-columns: minmax(0, 1fr); gap: 2rem; }
.ai-social-section .ai-social-copy { max-width: none; }
.ai-social-section .ai-social-copy h2 { max-width: none; font-size: clamp(2rem, 3.1vw, 3.5rem); }
.ai-social-section .ai-social-copy .section-copy { max-width: 60ch; }
.ai-social-section .ai-social-benefits { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 0.75rem; }
.ai-social-section .ai-social-note { margin-top: 0.75rem; }
@media (min-width: 1081px) {
  .ai-social-section .ai-social-copy { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; column-gap: 3rem; }
  .ai-social-section .ai-social-copy > .eyebrow { grid-column: 1 / -1; margin-bottom: 0.75rem; }
  .ai-social-section .ai-social-copy h2 { margin-bottom: 1rem; }
  .ai-social-section .ai-social-copy h2 > br { display: none; }
  .ai-social-section .ai-social-copy h2 > span { display: block; }
  .ai-social-section .ai-social-copy > .section-copy { margin-bottom: 1rem; font-size: 1rem; line-height: 1.65; }
  .ai-social-section .ai-social-benefits, .ai-social-section .ai-social-note { grid-column: 1 / -1; }
  .ai-social-section .social-showcase .ai-social-studio__body { grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.8fr); align-items: stretch; gap: 1rem; }
  .ai-social-section .social-showcase .social-result { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); grid-template-rows: auto 1fr auto; align-items: start; gap: 1rem; }
  .ai-social-section .social-result__head { grid-column: 1 / -1; margin-bottom: 0; }
  .ai-social-section .social-showcase .social-post-art { grid-column: 1; grid-row: 2 / 4; width: 100%; height: 100%; min-height: 330px; aspect-ratio: auto; }
  .ai-social-section .social-showcase .social-caption { grid-column: 2; grid-row: 2; padding-top: 0.25rem; }
  .ai-social-section .social-showcase .social-output-formats { grid-column: 2; grid-row: 3; margin-top: 0; }
  .ai-social-section .social-caption p { font-size: 0.75rem; line-height: 1.7; }
  .ai-social-section .social-caption > span { font-size: 0.62rem; }
  .ai-social-section .social-caption > div > span { font-size: 0.6rem; }
  .ai-social-section .social-showcase .social-art-motif { position: absolute; top: 3rem; right: 1rem; width: 75px; height: 75px; margin: 0; }
  .ai-social-section .social-showcase .social-art-motif > span { font-size: 2.5rem; }
  .ai-social-section .social-showcase .social-post-art__tag { margin-bottom: auto; max-width: calc(100% - 1rem); }
  .ai-social-section .social-showcase .social-post-art > strong { margin-top: 5.5rem; font-size: clamp(1.45rem, 2.2vw, 2.3rem); }
  .ai-social-section .social-showcase .social-generator { gap: 0.6rem; }
  .ai-social-section .social-showcase [data-social-phase] { padding: 0.7rem; }
  .ai-social-section .social-idea-card--secondary { display: none; }
  .ai-social-section .social-showcase .social-hook > strong { font-size: 0.92rem; }
}
@media (max-width: 1080px) and (min-width: 721px) {
  .ai-social-section .social-showcase .ai-social-studio__body { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); }
  .ai-social-section .social-showcase .social-generator { gap: 0.6rem; }
}
@media (max-width: 720px) {
  .ai-social-section .ai-social-benefits { grid-template-columns: 1fr; }
  .ai-social-section .social-showcase .ai-social-studio__body { grid-template-columns: minmax(0, 1fr); }
  .ai-social-section .social-showcase .social-generator { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.6rem; }
  .ai-social-section .social-showcase-label, .ai-social-section .social-showcase-status { grid-column: 1 / -1; }
  .ai-social-section .social-showcase .social-hook > strong { font-size: 0.85rem; }
  .ai-social-section .social-idea-card--secondary { display: none; }
}
@media (max-width: 380px) {
  .ai-social-section .social-showcase .social-generator { grid-template-columns: minmax(0, 1fr); }
}

/* Selectable AI journey and an illustrative live message preview. */
.workflow-step-select { position: absolute; inset: 0; z-index: 4; width: 100%; border: 0; border-radius: inherit; background: transparent; cursor: pointer; }
.workflow-step-select:focus-visible { outline: 2px solid #bcd5ff; outline-offset: 4px; }
.ai-workflow .workflow-step { transition: transform 0.35s var(--ease), border-color 0.5s ease, background 0.5s ease, box-shadow 0.5s ease; }
.ai-workflow .workflow-step.is-workflow-selected {
  border-color: #8cbcff;
  background: linear-gradient(145deg, rgba(43,112,218,0.38), rgba(255,255,255,0.1));
  box-shadow: inset 0 0 30px rgba(77,143,241,0.1), 0 0 0 2px rgba(140,188,255,0.08);
}
.ai-workflow .workflow-step.is-workflow-selected .workflow-icon { color: var(--blue-800); background: #fff; box-shadow: 0 0 0 5px rgba(140,188,255,0.12); }
.ai-workflow .workflow-step--ai .workflow-icon { animation: none; }
.ai-workflow .is-workflow-complete .workflow-number { color: #9de2c8; }
.ai-workflow .workflow-connector i { animation-play-state: paused; opacity: 0; }
.ai-workflow.is-workflow-playing .is-workflow-selected .workflow-connector i { animation-play-state: running; opacity: 1; }
.ai-workflow:not(.is-workflow-playing) .workflow-status i { animation-play-state: paused; }
.workflow-live-preview { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1.2fr); gap: 1.5rem; margin-top: 1rem; padding: 1.4rem; border: 1px solid rgba(166,201,252,0.2); border-radius: 20px; background: rgba(4,26,64,0.3); }
.workflow-preview-copy > small { display: block; margin-bottom: 0.5rem; color: #9fbee9; font-size: 0.58rem; letter-spacing: 0.08em; }
.workflow-preview-copy > strong { display: block; color: #fff; font-size: 1.1rem; letter-spacing: -0.02em; }
.workflow-preview-copy > p { margin: 0.6rem 0 1rem; color: #c1d2eb; font-size: 0.8rem; line-height: 1.65; min-height: 3.3em; }
.workflow-preview-controls { display: flex; align-items: center; gap: 0.8rem; }
.workflow-preview-controls button { min-height: 40px; padding: 0.45rem 0.85rem; color: #fff; background: rgba(140,188,255,0.12); border: 1px solid rgba(140,188,255,0.3); border-radius: 999px; font-size: 0.7rem; cursor: pointer; }
.workflow-preview-controls button:disabled { opacity: 0.7; cursor: default; }
.workflow-preview-controls > span { color: #aebfda; font-size: 0.65rem; font-variant-numeric: tabular-nums; }
.workflow-preview-message { display: flex; flex-direction: column; justify-content: center; padding: 1.25rem; border: 1px solid rgba(166,201,252,0.3); border-radius: 16px; background: linear-gradient(140deg, rgba(40,114,217,0.18), rgba(255,255,255,0.04)); }
.workflow-preview-message > span { color: #bcd5ff; font-size: 0.7rem; font-weight: 750; }
.workflow-preview-message > p { margin: 0.7rem 0 1rem; min-height: 3.3em; color: #fff; font-size: 0.9rem; line-height: 1.65; }
.workflow-preview-message > small { color: #9de2c8; font-size: 0.65rem; }
.workflow-live-preview[data-transition="0"] .workflow-preview-message { animation: workflow-preview-in-a 0.55s var(--ease) both; }
.workflow-live-preview[data-transition="1"] .workflow-preview-message { animation: workflow-preview-in-b 0.55s var(--ease) both; }
.workflow-live-preview[data-stage="2"] .workflow-preview-message,
.workflow-live-preview[data-stage="5"] .workflow-preview-message { border-color: rgba(113,213,179,0.5); }
@keyframes workflow-preview-in-a { from { opacity: 0.4; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } }
@keyframes workflow-preview-in-b { from { opacity: 0.4; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } }
@media (max-width: 720px) {
  .workflow-live-preview { grid-template-columns: 1fr; padding: 1rem; gap: 1rem; }
  .workflow-preview-copy > p, .workflow-preview-message > p { min-height: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .ai-workflow .workflow-step, .ai-workflow .workflow-icon, .workflow-live-preview .workflow-preview-message { animation: none !important; transition: none !important; }
  .ai-workflow .workflow-connector i { animation: none !important; opacity: 0; }
  .ai-workflow .workflow-step:hover { transform: none; }
}

/* Dashboard demo: focus moves through the real patient journey. */
.hero-demo-controls { display: grid; justify-items: end; gap: 0.25rem; flex-shrink: 0; }
.hero-demo-controls > span { color: var(--muted); font-size: 0.55rem; white-space: nowrap; }
.hero-demo-toggle {
  padding: 0.25rem 0.5rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--blue-800);
  background: #fff;
  font-size: 0.55rem;
  line-height: 1.5;
  cursor: pointer;
}
.hero-demo-toggle[hidden] { display: none; }
.hero-dashboard-wide .hero-chat p,
.hero-dashboard-wide .hero-confirmed,
.hero-dashboard-wide .hero-automation-grid article,
.hero-dashboard-wide .hero-ai-card,
.hero-dashboard-wide .hero-workflow { animation: none; }
.hero-dashboard-wide .hero-chat p,
.hero-dashboard-wide .hero-confirmed,
.hero-dashboard-wide .hero-automation-grid article,
.hero-dashboard-wide .hero-kpis > div {
  transition: box-shadow 0.65s ease, border-color 0.65s ease;
}
.hero-dashboard-wide .is-demo-active {
  border-color: rgba(40, 114, 217, 0.55);
  box-shadow: 0 0 0 2px rgba(40, 114, 217, 0.08), 0 8px 24px rgba(40, 114, 217, 0.12);
}
.hero-dashboard-wide .hero-confirmed.is-demo-active {
  box-shadow: 0 0 0 2px rgba(22, 138, 102, 0.2), 0 8px 24px rgba(22, 138, 102, 0.08);
}
.hero-dashboard-wide .hero-kpis strong { font-variant-numeric: tabular-nums; }
.hero-dashboard-wide .hero-workflow li::after {
  display: block;
  background: var(--blue-200);
  transition: background 0.6s ease;
}
.hero-dashboard-wide .hero-workflow li.is-demo-complete::after { background: var(--blue-600); }
.hero-dashboard-wide .hero-workflow li.is-demo-current::after {
  background: linear-gradient(90deg, var(--blue-600), #a5ccff, var(--blue-200));
  background-size: 200% 100%;
  animation: dashboard-signal 1.9s ease-in-out infinite;
}
.hero-dashboard-wide .hero-workflow i {
  transition: box-shadow 0.5s ease, background 0.5s ease;
}
.hero-dashboard-wide .hero-workflow .is-demo-current i {
  background: var(--blue-700);
  box-shadow: 0 0 0 4px rgba(40, 114, 217, 0.12);
  animation: dashboard-node 1.9s ease-in-out infinite;
}
.hero-dashboard-wide .hero-workflow .is-demo-current span { color: var(--blue-800); }
.hero-dashboard-wide .hero-workflow .is-demo-complete i { background: var(--blue-600); }
.hero-dashboard-wide .hero-chat__ai.is-demo-active b::after {
  content: "";
  display: inline-block;
  width: 18px;
  height: 4px;
  margin-left: 0.4rem;
  vertical-align: middle;
  background: radial-gradient(circle, var(--blue-600) 1.5px, transparent 2px) 0 0 / 6px 4px repeat-x;
  animation: dashboard-thinking 0.85s ease-in-out infinite alternate;
}
.hero-dashboard-wide:not(.is-demo-playing) *,
.hero-dashboard-wide:not(.is-demo-playing) *::after { animation-play-state: paused !important; }
@keyframes dashboard-signal { from { background-position: 100% 0; } to { background-position: 0 0; } }
@keyframes dashboard-node { 0%, 100% { box-shadow: 0 0 0 4px rgba(40,114,217,0.12); } 50% { box-shadow: 0 0 0 7px rgba(40,114,217,0.04); } }
@keyframes dashboard-thinking { from { opacity: 0.35; } to { opacity: 1; } }
@media (max-width: 580px) {
  .hero-dashboard-wide .hero-workflow li:nth-child(3)::after { display: none; }
  .hero-demo-toggle { min-height: 32px; padding-inline: 0.75rem; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-dashboard-wide *, .hero-dashboard-wide *::after { animation: none !important; transition: none !important; }
  .hero-dashboard-wide .hero-chat__ai b::after { display: none; }
}

/* Landscape hero dashboard with appointment-led product proof. */
@media (min-width: 1081px) {
  .hero .hero-grid { grid-template-columns: 0.82fr 1.18fr; gap: clamp(2rem, 3vw, 3.5rem); }
  .hero-copy h1.hero-headline { font-size: clamp(2.55rem, 3.5vw, 4.4rem); }
}
.hero-dashboard-wide { padding: 2rem 0; }
.hero-dashboard-wide .dashboard-shell { min-height: 0; transform: none; }
.hero-dashboard-wide .dashboard-body { min-height: 0; grid-template-columns: 38px minmax(0, 1fr); }
.hero-dashboard-wide .dashboard-content { padding: 1rem; }
.hero-dashboard-heading { display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; margin-bottom: 0.85rem; }
.hero-dashboard-heading small { display: block; color: var(--blue-700); font-size: 0.52rem; font-weight: 800; letter-spacing: 0.08em; }
.hero-dashboard-heading strong { display: block; margin-top: 0.2rem; font-size: 0.92rem; letter-spacing: -0.025em; color: var(--ink); }
.hero-dashboard-heading > span { color: var(--muted); font-size: 0.55rem; white-space: nowrap; }
.hero-kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.55rem; margin-bottom: 0.85rem; }
.hero-kpis > div { padding: 0.75rem; border: 1px solid var(--line); border-radius: 13px; background: linear-gradient(145deg, #fff, var(--blue-50)); }
.hero-kpis small, .hero-kpis strong, .hero-kpis span { display: block; }
.hero-kpis small { font-size: 0.6rem; font-weight: 700; color: #40536f; }
.hero-kpis strong { margin: 0.3rem 0; font-size: 2rem; line-height: 1; letter-spacing: -0.05em; color: var(--blue-800); }
.hero-kpis span { font-size: 0.5rem; line-height: 1.5; color: var(--muted); }
.hero-dashboard-panels { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: 0.65rem; }
.hero-dashboard-wide .hero-automation-grid { grid-template-columns: 1fr; margin-top: 0; }
.hero-dashboard-wide .hero-chat p { width: 92%; font-size: 0.6rem; }
.hero-dashboard-wide .hero-chat p b { font-size: 0.53rem; }
.hero-dashboard-wide .hero-ai-card__head { gap: 0.45rem; }
.hero-dashboard-wide .hero-ai-card__head .ai-panel__icon { width: 28px; height: 28px; font-size: 0.8rem; }
.hero-dashboard-wide .hero-online { display: none; }
.hero-dashboard-wide .hero-automation-grid p { font-size: 0.55rem; }
.hero-dashboard-wide .hero-automation-grid small { font-size: 0.57rem; }
.hero-dashboard-wide .hero-confirmed strong { font-size: 0.6rem; }
.hero-dashboard-wide .floating-card--ai { top: -0.8rem; right: 0; }
.hero-dashboard-wide .floating-card--patient { left: 1rem; bottom: -0.5rem; }
@media (max-width: 580px) {
  .hero-dashboard-wide .dashboard-body { grid-template-columns: minmax(0, 1fr); }
  .hero-dashboard-wide .dashboard-nav { display: none; }
  .hero-dashboard-wide .dashboard-content { padding: 0.7rem; }
  .hero-dashboard-heading { flex-wrap: wrap; gap: 0.25rem; }
  .hero-kpis { gap: 0.35rem; }
  .hero-kpis > div { padding: 0.55rem 0.4rem; }
  .hero-kpis small { font-size: 0.55rem; }
  .hero-kpis strong { font-size: 1.65rem; }
  .hero-dashboard-panels { grid-template-columns: 1fr; }
  .hero-dashboard-wide .hero-automation-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-dashboard-wide .floating-card--patient { left: 0; }
}

/* Connected feature journey: one quiet nine-second cycle. */
.highlight-grid { --flow-duration: 9s; }
.highlight-grid .highlight-card {
  position: relative;
  isolation: isolate;
  --flow-delay: 0s;
}
.highlight-grid .highlight-card:nth-child(2) { --flow-delay: 3s; }
.highlight-grid .highlight-card:nth-child(3) { --flow-delay: 6s; }

.highlight-grid .highlight-card::before {
  content: "";
  position: absolute;
  inset: -1px;
  border: 1px solid rgba(74, 139, 238, 0.65);
  border-radius: inherit;
  box-shadow: 0 0 24px rgba(40, 114, 217, 0.12), inset 0 0 24px rgba(40, 114, 217, 0.05);
  opacity: 0;
  pointer-events: none;
  animation: highlight-flow-emphasis var(--flow-duration) ease-in-out var(--flow-delay) infinite;
}
.highlight-grid .highlight-card:nth-child(2)::before {
  border-color: rgba(145, 191, 255, 0.8);
  box-shadow: 0 0 30px rgba(40, 114, 217, 0.22), inset 0 0 28px rgba(145, 191, 255, 0.1);
}
.highlight-grid .card-icon {
  animation: highlight-flow-icon var(--flow-duration) ease-in-out var(--flow-delay) infinite;
}
.highlight-grid .highlight-card::after {
  content: "";
  display: none;
  position: absolute;
  pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(40, 114, 217, 0.22), transparent);
}
.highlight-grid .highlight-card:not(:last-child)::after {
  animation: highlight-flow-link var(--flow-duration) ease-in-out var(--flow-delay) infinite;
}
.highlight-grid:not(.is-flowing) .highlight-card::before,
.highlight-grid:not(.is-flowing) .highlight-card::after,
.highlight-grid:not(.is-flowing) .card-icon { animation-play-state: paused; }

@keyframes highlight-flow-emphasis {
  0%, 32%, 100% { opacity: 0; }
  7%, 20% { opacity: 1; }
}
@keyframes highlight-flow-icon {
  0%, 30%, 100% { filter: brightness(1); }
  10%, 18% { filter: brightness(1.18) drop-shadow(0 0 6px rgba(91, 156, 252, 0.3)); }
}
@keyframes highlight-flow-link {
  0%, 19%, 35%, 100% { opacity: 0.2; background-position: 100% 0; }
  20% { opacity: 0.35; background-position: 100% 0; }
  31% { opacity: 1; background-position: 0 0; }
}
@media (min-width: 1081px) {
  .highlight-grid .highlight-card:not(:last-child)::after {
    display: block;
    left: 100%;
    top: 50%;
    width: 1rem;
    height: 2px;
    background-image: linear-gradient(90deg, transparent 25%, #75aaf2 50%, transparent 75%);
    background-size: 300% 100%;
  }
}
@media (max-width: 620px) {
  .highlight-grid .highlight-card:not(:last-child)::after {
    display: block;
    top: 100%;
    left: 50%;
    width: 2px;
    height: 1rem;
    background-image: linear-gradient(180deg, transparent 25%, #75aaf2 50%, transparent 75%);
    background-size: 100% 300%;
    animation-name: highlight-flow-link-vertical;
  }
}
@keyframes highlight-flow-link-vertical {
  0%, 19%, 35%, 100% { opacity: 0.2; background-position: 0 100%; }
  20% { opacity: 0.35; background-position: 0 100%; }
  31% { opacity: 1; background-position: 0 0; }
}
@media (hover: hover) and (pointer: fine) {
  .highlight-grid .highlight-card:hover .card-icon { transform: translateY(-2px) scale(1.06); }
}
@media (prefers-reduced-motion: reduce) {
  .highlight-grid .highlight-card::before,
  .highlight-grid .highlight-card::after,
  .highlight-grid .card-icon { animation: none !important; }
  .highlight-grid .highlight-card::before { opacity: 0; }
  .highlight-grid .highlight-card::after { opacity: 0.35; }
  .highlight-grid .highlight-card:hover,
  .highlight-grid .highlight-card:hover .card-icon { transform: none; }
}

/* Left hero refinement; dashboard markup and styles remain untouched. */
.hero-copy .hero-ai-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0 0 1.5rem;
  padding: 0.4rem 0.75rem 0.4rem 0.45rem;
  border: 1px solid rgba(21, 84, 184, 0.14);
  border-radius: 999px;
  color: var(--blue-800);
  background: rgba(255, 255, 255, 0.85);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.hero-ai-badge > span {
  display: grid;
  place-items: center;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 50%;
  color: var(--blue-700);
  background: var(--blue-100);
  font-size: 0.9rem;
}

.hero-copy h1.hero-headline {
  max-width: none;
  margin-bottom: 1.6rem;
  color: var(--ink);
  font-size: clamp(2.55rem, 4.15vw, 4.8rem);
  font-weight: 760;
  line-height: 1.04;
  letter-spacing: -0.055em;
  text-wrap: initial;
}

.hero-copy .hero-headline > span {
  display: block;
  margin-top: 0.18em;
  color: var(--blue-700);
}

.hero-copy .lead {
  max-width: 43ch;
  margin-bottom: 0;
  font-size: clamp(1rem, 1.18vw, 1.15rem);
  line-height: 1.7;
  color: #52647e;
}

.hero-copy .actions {
  gap: 0.8rem;
  margin-top: 1.8rem;
}

.hero-copy .actions .button {
  min-height: 52px;
  padding-inline: 1.35rem;
  font-size: 0.88rem;
}

.hero-copy .actions .button--ghost {
  background: rgba(255, 255, 255, 0.5);
  border-color: rgba(11, 61, 145, 0.16);
}

.hero-copy .hero-pillars {
  gap: 0.5rem;
  margin-top: 1.5rem;
}

.hero-copy .hero-pillars > span {
  padding: 0.4rem 0.65rem;
  font-size: 0.68rem;
  font-weight: 650;
  color: #40536f;
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.65);
  box-shadow: none;
}

@media (max-width: 1080px) {
  .hero-copy h1.hero-headline {
    font-size: clamp(2.7rem, 6.2vw, 4.5rem);
  }
}

@media (max-width: 580px) {
  .hero-copy .hero-ai-badge { margin-bottom: 1.25rem; }
  .hero-copy h1.hero-headline {
    font-size: clamp(2rem, 9.4vw, 3.4rem);
    margin-bottom: 1.25rem;
    letter-spacing: -0.045em;
  }
  .hero-copy .actions { gap: 0.65rem; margin-top: 1.5rem; }
  .hero-copy .actions .button { width: 100%; }
  .hero-copy .hero-pillars { gap: 0.45rem; margin-top: 1.25rem; }
  .hero-copy .hero-pillars > span { font-size: 0.65rem; }
}

/* Wider global layout with balanced responsive page gutters */
@media (min-width: 1081px) {
  .container {
    width: 80%;
    max-width: none;
  }

  .comparison-summary {
    max-width: 1200px;
  }
}

@media (min-width: 621px) and (max-width: 1080px) {
  .container {
    width: min(calc(100% - 2.5rem), var(--container));
  }
}

/* Readability pass: enlarge small supporting text without inflating headings */
:root {
  --text-xs: 0.8rem;
  --text-sm: 0.94rem;
  --text-lg: clamp(1.08rem, 1.45vw, 1.24rem);
}

.nav-links > a:not(.button),
.button,
.text-link,
.faq-question {
  font-size: 0.9rem;
}

.lead,
.section-copy {
  font-size: var(--text-lg);
  line-height: 1.68;
}

.card p,
.clinic-card p,
.pricing-description,
.faq-answer,
.comparison-summary p,
.growth-service__content > p:not(.eyebrow),
.website-capabilities > p:not(.eyebrow),
.contact-cta-copy .section-copy {
  font-size: max(0.82rem, 1em);
  line-height: 1.65;
}

.eyebrow,
.pricing-label,
.magnify-signature {
  font-size: 0.72rem;
}

.plan-includes span,
.feature-list li,
.service-list span,
.capability-item,
.contact-points span,
.comparison-item strong,
.workflow-copy strong {
  font-size: 0.76rem;
}

.plan-includes small,
.workflow-copy small,
.comparison-item small,
.growth-journey p,
.footer-contact,
.footer-nav a {
  font-size: 0.68rem;
}

.site-footer .footer-row,
.site-footer .footer-row span,
.footer-brand > p {
  font-size: 0.8rem !important;
}

.locale-dropdown,
.locale-dropdown__option {
  font-size: 0.78rem;
}

.ai-social-benefits strong,
.social-generate-button {
  font-size: 0.76rem;
}

.ai-social-benefits small,
.ai-social-note,
.social-topic-field strong,
.social-choice-group button,
.social-format-group button,
.social-caption p {
  font-size: 0.62rem;
}

@media (max-width: 620px) {
  :root {
    --text-sm: 0.9rem;
    --text-lg: 1rem;
  }

  .nav-links > a:not(.button),
  .button,
  .faq-question {
    font-size: 0.94rem;
  }

  .card p,
  .clinic-card p,
  .pricing-description,
  .faq-answer {
    font-size: 0.88rem;
  }
}

/* Final responsive pass after all individual section styles. */
img, video, canvas { max-width: 100%; }
main, section, article, .showcase-copy, .showcase-visual { min-width: 0; }
.premium-demo, .premium-demo > *, .hero-dashboard-panels > * { min-width: 0; }
.premium-tour-controls strong, .contact-form label, .clinic-card h3 { overflow-wrap: anywhere; }
@media (min-width: 1920px) {
  .container { width: min(84%, 1600px); }
}
@media (max-width: 1280px) {
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; min-height: 42px; padding: 0.6rem 0.85rem; border: 1px solid var(--line); border-radius: 12px; color: var(--blue-800); background: #fff; font-size: 0.85rem; font-weight: 750; }
  .site-header .nav-links { display: none; position: absolute; inset: 80px 1rem auto; max-height: calc(100dvh - 100px); overflow-y: auto; flex-direction: column; align-items: stretch; gap: 0.5rem; padding: 1rem; border: 1px solid var(--line); border-radius: 18px; background: #fff; box-shadow: var(--shadow-md); }
  .site-header .nav-links.is-open { display: flex; }
  .site-header .nav-links > a { padding: 0.7rem; }
  .site-header .locale-controls { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); width: 100%; }
}
@media (max-width: 1080px) {
  .container { width: calc(100% - 3rem); }
  .section { padding-block: clamp(3rem, 7vw, 5rem); }
  .hero .hero-grid { gap: 2.5rem; }
  .hero-dashboard-wide { max-width: 780px; }
  .ai-experience { width: 100%; margin-left: 0; transform: none; }
  .showcase-window { transform: none !important; }
}
@media (max-width: 768px) {
  .container { width: calc(100% - 2rem); }
  .hero .hero-grid, .showcase-layout, .showcase-layout--reverse, .website-showcase, .growth-panel, .growth-service, .contact-cta-grid { grid-template-columns: minmax(0,1fr) !important; }
  .showcase-copy, .showcase-visual { order: initial !important; width: 100%; }
  .doctor-overview, .patient-overview { flex-wrap: wrap; gap: 1rem; }
  .doctor-stats, .patient-metrics { width: 100%; justify-content: space-around; border-left: 0; }
  .records-ui .records-dashboard, .doctors-ui .doctor-dashboard, .calendar-ui .appointment-card-grid, .review-automation-ui, .prescription-ui--ai, .billing-ui--ai { grid-template-columns: minmax(0,1fr) !important; }
  .records-ui .next-appointment { min-height: 0; }
  #cms .cms-ui--premium { grid-template-columns: minmax(0,1fr); }
  #cms .cms-sidebar { min-height: 0; padding: 0.8rem; }
  #cms .cms-sidebar nav { display: flex; gap: 0.35rem; overflow-x: auto; }
  #cms .cms-sidebar nav > span { flex: 0 0 auto; }
  #cms .cms-site-status { margin-top: 0.65rem; }
  #cms .cms-builder { grid-template-columns: minmax(0,1fr); }
  .doctor-tabs, .record-tabs, .cms-tabs, .appointment-view { max-width: 100%; overflow-x: auto; }
  .doctor-tabs > span, .record-tabs > span, .cms-tabs > span { flex: 0 0 auto; }
  .rx-sheet, .invoice-sheet { width: 100% !important; min-width: 0; }
  .whatsapp-phone { width: 100%; min-width: 0; }
  .hero-dashboard-wide .floating-card { position: relative; inset: auto; width: fit-content; max-width: 100%; margin-top: 0.65rem; }
  .hero-dashboard-wide .floating-card--ai { margin-left: auto; }
  .hero-dashboard-wide .floating-card strong { overflow-wrap: anywhere; }
  .website-floating { max-width: calc(100% - 1rem); }
  .appointment-toolbar, .appointment-filters, .doctors-toolbar { flex-wrap: wrap; gap: 0.75rem; }
  .social-studio--premium .clinic-post-grid { grid-template-columns: minmax(0,1fr); }
  .social-studio--premium .clinic-post { min-height: 0; }
}
@media (max-width: 480px) {
  .container { width: calc(100% - 1.5rem); }
  .navbar { min-height: 72px; gap: 0.75rem; }
  .site-header .nav-links { top: 72px; inset-inline: 0.75rem; }
  .hero-copy h1.hero-headline { font-size: clamp(1.85rem, 8.7vw, 2.8rem); }
  .hero-dashboard-wide .dashboard-content { padding: 0.6rem; }
  .hero-kpis > div { padding: 0.5rem 0.35rem; }
  .hero-kpis small { overflow-wrap: anywhere; }
  .hero-dashboard-wide .hero-automation-grid { grid-template-columns: minmax(0,1fr); }
  .hero-dashboard-heading strong { font-size: 0.85rem; }
  .booking-story-header, .booking-story-progress, .booking-story-footer { padding-inline: 0.85rem; }
  .booking-story-stage { height: 410px; }
  .booking-story-receipt { flex-wrap: wrap; }
  .detail-grid, .digital-card__details, .rx-physical-grid, .rx-plan-grid, .cms-field-row { grid-template-columns: minmax(0,1fr) !important; }
  .patient-card-label { flex-wrap: wrap; gap: 0.5rem; }
  .digital-card__profile { flex-wrap: wrap; }
  .appointment-metrics { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .booking-card__top, .doctor-profile { flex-wrap: wrap; }
  .contact-form input, .contact-form select, .contact-form textarea { width: 100%; min-width: 0; font-size: 16px; }
  .contact-form__row, .contact-form__grid { grid-template-columns: minmax(0,1fr) !important; }
  .comparison-demo-caption > span { font-size: 0.7rem; overflow-wrap: anywhere; }
  .site-ambient { opacity: 0.09; }
}
@media (max-width: 360px) {
  .site-header .locale-controls { grid-template-columns: minmax(0,1fr); }
  .booking-story-progress > span { font-size: 0.48rem; gap: 0.2rem; }
  .booking-story-dates { gap: 0.3rem; }
  .booking-story-dates > span { padding: 0.5rem 0.25rem; }
  .premium-tour-controls { flex-wrap: wrap; }
}

/* Match the quote cards by content row, including the CTA and feature divider. */
#pricing .pricing-card { padding: clamp(1.5rem, 2.5vw, 2.25rem); }
#pricing .pricing-kicker { margin: 0; min-height: 1.5em; font-size: 0.72rem; line-height: 1.5; }
#pricing .pricing-kicker--empty { visibility: hidden; }
#pricing .pricing-card h3 { margin: 0; line-height: 1.25; }
#pricing .pricing-description { margin: 0; line-height: 1.7; }
#pricing .pricing-note { margin: 0; line-height: 1.6; }
#pricing .pricing-card > .button { width: 100%; min-height: 52px; margin: 0; align-self: start; }
#pricing .pricing-card .plan-includes { margin-top: 1.25rem; padding-top: 1.25rem; }
@media (min-width: 1081px) {
  #pricing .pricing-grid { grid-template-columns: repeat(3, minmax(0,1fr)); column-gap: 1.1rem; row-gap: 1rem; align-items: stretch; }
  #pricing .pricing-card { display: grid; grid-row: span 7; grid-template-rows: subgrid; align-content: start; }
  #pricing .pricing-label { width: fit-content; align-self: start; margin: 0; }
}
@media (max-width: 1080px) {
  #pricing .pricing-card { display: flex; flex-direction: column; gap: 1rem; }
  #pricing .pricing-kicker--empty { display: none; }
}

/* Keep navbar labels on one line and balance the demo CTA with locale controls. */
.site-header .brand { flex: 0 0 auto; white-space: nowrap; }
.site-header .brand small { white-space: nowrap; }
.site-header .nav-links > a { white-space: nowrap; flex-shrink: 0; }
.site-header .nav-links > .button { min-height: 48px; padding: 0.65rem 1.25rem; border-radius: 999px; line-height: 1.2; font-size: 0.9rem; color: #fff; }
.site-header .locale-dropdown__trigger { min-height: 48px; }
@media (min-width: 1281px) {
  .site-header .navbar { width: min(90%, 1440px); min-height: 80px; justify-content: flex-start; gap: clamp(1.75rem, 3vw, 3rem); }
  .site-header .nav-links { flex: 1; min-width: 0; justify-content: flex-start; gap: clamp(0.85rem, 1.3vw, 1.35rem); }
  .site-header .locale-controls { margin-left: auto; gap: 0.5rem; }
  .site-header .nav-links > .button { flex: 0 0 auto; }
  .site-header .locale-dropdown { min-width: 8rem; }
}

/* Compact, balanced AI section introduction. */
.ai-section .ai-section__intro { align-items: center; gap: clamp(1.5rem, 3vw, 3rem); margin-bottom: clamp(2rem, 3vw, 3rem); }
.ai-section .ai-section__intro h2 { max-width: none; font-size: clamp(2rem, 3.3vw, 3.6rem); line-height: 1.12; }
.ai-section .ai-section__intro .section-copy { margin-bottom: 0; max-width: 48ch; font-size: clamp(1rem, 1.25vw, 1.15rem); line-height: 1.75; }
@media (min-width: 1081px) {
  .ai-section .ai-section__intro { grid-template-columns: minmax(0,1.15fr) minmax(0,0.85fr); }
  .ai-section .ai-section__intro .section-copy { padding-left: 1.5rem; border-left: 2px solid rgba(190,212,248,0.3); }
}
@media (max-width: 1080px) { .ai-section .ai-section__intro { grid-template-columns: minmax(0,1fr); } }

/* Match the clinic feature introduction to the adjacent section rhythm. */
.clinic-platform .clinic-platform__intro { align-items: center; gap: clamp(1.5rem, 3vw, 3rem); margin-bottom: clamp(2rem, 3vw, 3rem); }
.clinic-platform .clinic-platform__intro h2 { max-width: none; font-size: clamp(2rem, 3.3vw, 3.6rem); line-height: 1.12; }
.clinic-platform .clinic-platform__intro .section-copy { margin-bottom: 0; max-width: 48ch; font-size: clamp(1rem, 1.25vw, 1.15rem); line-height: 1.75; }
@media (min-width: 1081px) {
  .clinic-platform .clinic-platform__intro { grid-template-columns: minmax(0,1.15fr) minmax(0,0.85fr); }
  .clinic-platform .clinic-platform__intro .section-copy { padding-left: 1.5rem; border-left: 2px solid var(--blue-200); }
}
@media (max-width: 1080px) { .clinic-platform .clinic-platform__intro { grid-template-columns: minmax(0,1fr); } }

/* AI campaign studio: an automatic topic-to-creative-to-audience story. */
.meta-ai-section { background: linear-gradient(180deg, #fff, #f4f8ff); overflow: hidden; }
.meta-ai-intro { display: grid; grid-template-columns: 1.1fr 0.9fr; align-items: center; gap: clamp(1.5rem,3vw,3rem); margin-bottom: 1.5rem; }
.meta-ai-intro h2 { max-width: none; margin-bottom: 0; font-size: clamp(2rem,3.3vw,3.6rem); line-height: 1.12; }
.meta-ai-intro h2 > span { color: var(--blue-700); }
.meta-ai-intro .section-copy { margin-bottom: 0; font-size: 1rem; line-height: 1.75; }
.meta-ai-benefits { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 0.75rem; margin-bottom: 1.75rem; }
.meta-ai-benefits > span { display: flex; align-items: center; gap: 0.65rem; padding: 0.85rem; border: 1px solid var(--line); border-radius: 14px; color: var(--blue-900); background: #fff; font-size: 0.8rem; font-weight: 700; }
.meta-ai-benefits i { display: grid; place-items: center; flex: 0 0 30px; height: 30px; border-radius: 10px; background: var(--blue-100); color: var(--blue-700); font-size: 0.55rem; font-style: normal; }
.meta-ai-console { overflow: hidden; border: 1px solid var(--line); border-radius: 26px; background: #f7faff; box-shadow: 0 24px 65px rgba(11,61,145,0.12); }
.meta-ai-topbar { display: flex; align-items: center; justify-content: space-between; gap: 0.7rem; padding: 1rem 1.25rem; border-bottom: 1px solid var(--line); background: #fff; }
.meta-ai-topbar > span, .meta-ai-topbar > div { display: flex; align-items: center; gap: 0.6rem; }
.meta-ai-topbar i { display: grid; place-items: center; width: 34px; height: 34px; color: #fff; background: var(--blue-800); border-radius: 11px; font-style: normal; }
.meta-ai-topbar strong { color: var(--blue-950); font-size: 0.9rem; }
.meta-ai-topbar small { color: var(--muted); font-size: 0.6rem; }
.meta-ai-topbar button { width: auto; padding: 0.35rem 0.6rem; border: 1px solid var(--line); border-radius: 999px; color: var(--blue-800); background: var(--blue-50); font-size: 0.6rem; cursor: pointer; }
.meta-ai-topbar button[hidden] { display: none; }
.meta-ai-prompt { position: relative; display: grid; gap: 0.45rem; padding: 1.15rem 3rem 1.15rem 1.25rem; margin: 1rem 1rem 0; border: 1px solid var(--line); border-radius: 15px; background: #fff; overflow: hidden; }
.meta-ai-prompt > span { color: var(--blue-700); font-size: 0.55rem; font-weight: 800; letter-spacing: 0.09em; }
.meta-ai-prompt strong { color: var(--ink); font-size: 1rem; font-weight: 650; line-height: 1.5; }
.meta-ai-prompt > i { position: absolute; right: 1rem; top: 1.6rem; color: var(--blue-600); font-style: normal; }
.meta-ai-workspace { display: grid; grid-template-columns: minmax(0,2.4fr) minmax(0,1fr); gap: 1rem; padding: 1rem; }
.meta-ai-creative-area { min-width: 0; }
.meta-ai-panel-label { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 0.4rem; padding: 0.4rem 0.25rem 0.8rem; }
.meta-ai-panel-label strong { color: var(--ink); font-size: 0.8rem; }
.meta-ai-panel-label small { color: var(--muted); font-size: 0.55rem; }
.meta-ai-designs { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 0.7rem; }
.meta-ad-design { position: relative; display: flex; flex-direction: column; min-width: 0; min-height: 340px; padding: 1rem; border-radius: 17px; overflow: hidden; color: #fff; background: linear-gradient(155deg,#2872d9,#041a40); }
.meta-ad-design > small { font-size: 0.48rem; letter-spacing: 0.06em; opacity: 0.8; }
.meta-ad-art { position: relative; display: grid; place-items: center; width: 90px; height: 90px; margin: 1.3rem auto; }
.meta-ad-art > span { font-size: 3rem; }
.meta-ad-art > i { position: absolute; inset: 0; border: 1px solid currentColor; opacity: 0.2; border-radius: 50%; }
.meta-ad-art > i:last-child { inset: 12px; border-radius: 25%; transform: rotate(20deg); }
.meta-ad-design h3 { margin: auto 0 0.5rem; font-size: clamp(1rem,1.55vw,1.55rem); line-height: 1.13; letter-spacing: -0.04em; }
.meta-ad-design p { margin-bottom: 0.8rem; font-size: 0.62rem; line-height: 1.6; opacity: 0.8; }
.meta-ad-cta { display: block; width: fit-content; padding: 0.45rem 0.5rem; color: var(--blue-900); background: #fff; border-radius: 7px; font-size: 0.55rem; font-weight: 750; }
.meta-ad-design > b { margin-top: 1rem; padding-top: 0.6rem; border-top: 1px solid rgba(255,255,255,0.2); font-size: 0.48rem; font-weight: 650; }
.meta-ad-design--light { color: var(--blue-950); background: linear-gradient(155deg,#fff,#deebff); border: 1px solid var(--line); }
.meta-ad-design--light .meta-ad-cta { background: var(--blue-800); color: #fff; }
.meta-ad-design--light > b { border-color: var(--line); }
.meta-ad-design--story { background: radial-gradient(circle at 70% 20%,#357bd1,transparent 40%),#06265d; }
.meta-ai-audience { min-width: 0; padding: 1rem; border: 1px solid var(--line); border-radius: 17px; background: #fff; }
.meta-ai-audience > small { color: var(--blue-700); font-size: 0.55rem; font-weight: 800; letter-spacing: 0.08em; }
.meta-ai-audience h3 { margin: 0.5rem 0; font-size: 1.05rem; }
.meta-audience-radar { position: relative; display: grid; place-items: center; width: 94px; height: 94px; margin: 0.7rem auto; }
.meta-audience-radar > i { position: absolute; inset: 0; border: 1px solid var(--blue-200); border-radius: 50%; }
.meta-audience-radar > i:nth-child(2) { inset: 13px; } .meta-audience-radar > i:nth-child(3) { inset: 27px; }
.meta-audience-radar > span { color: var(--blue-700); font-size: 1.5rem; }
.meta-audience-radar > b { position: absolute; inset: 0; border-radius: 50%; background: conic-gradient(from 0deg,transparent 70%,rgba(40,114,217,0.2)); }
.meta-ai-audience dl { margin: 0; } .meta-ai-audience dl > div { padding: 0.45rem 0; border-top: 1px solid var(--line); }
.meta-ai-audience dt { color: var(--muted); font-size: 0.53rem; }
.meta-ai-audience dd { margin: 0.2rem 0 0; color: var(--ink); font-size: 0.64rem; font-weight: 650; line-height: 1.5; }
.meta-ai-audience > p { margin: 0.65rem 0 0; color: var(--muted); font-size: 0.56rem; line-height: 1.6; }
.meta-ai-delivery { display: flex; align-items: center; gap: 0.7rem; margin: 0 1rem 1rem; padding: 1rem; border-radius: 15px; background: var(--blue-950); color: #fff; }
.meta-delivery-icon { display: grid; place-items: center; flex: 0 0 40px; height: 40px; border-radius: 12px; background: rgba(190,212,248,0.15); font-size: 1.7rem; }
.meta-ai-delivery > div:nth-child(2) { flex: 1; } .meta-ai-delivery strong { display: block; font-size: 0.75rem; }
.meta-ai-delivery small { display: block; margin-top: 0.3rem; color: #bcd5ff; font-size: 0.55rem; }
.meta-ai-delivery > span { color: #bcd5ff; font-size: 0.6rem; }
.meta-ai-progress { height: 3px; background: var(--blue-100); } .meta-ai-progress > i { display: block; height: 100%; background: var(--blue-600); transform-origin: left; animation: meta-process-progress 12.6s linear infinite; }
.meta-ai-preview-note { margin: 0.9rem 0 0; color: var(--muted); font-size: 0.7rem; line-height: 1.6; }
.meta-ai-console[data-meta-stage="0"] .meta-ai-prompt strong { animation: meta-topic-write 2.2s var(--ease) both; }
.meta-ai-console[data-meta-stage="1"] .meta-ad-design { animation: meta-creative-form 0.8s var(--ease) both; }
.meta-ai-console[data-meta-stage="1"] .meta-ad-design:nth-child(2) { animation-delay: 0.2s; }
.meta-ai-console[data-meta-stage="1"] .meta-ad-design:nth-child(3) { animation-delay: 0.4s; }
.meta-ad-art > i:last-child { animation: meta-creative-orbit 16s linear infinite; }
.meta-ai-console .meta-audience-radar > b { animation: meta-audience-scan 4.5s linear infinite; }
.meta-ai-console .meta-audience-radar > i { animation: meta-radar-ring 3.6s ease-out infinite; }
.meta-ai-console .meta-audience-radar > i:nth-child(2) { animation-delay: -1.2s; }
.meta-ai-console .meta-audience-radar > i:nth-child(3) { animation-delay: -2.4s; }
.meta-audience-radar::before, .meta-audience-radar::after { content: ""; position: absolute; z-index: 2; width: 5px; height: 5px; border-radius: 50%; background: var(--blue-600); box-shadow: 0 0 0 3px rgba(40,114,217,0.12); animation: meta-audience-marker 3s ease-in-out infinite; }
.meta-audience-radar::before { left: 19%; top: 29%; }
.meta-audience-radar::after { right: 16%; bottom: 27%; animation-delay: -1.5s; }
.meta-ai-console .meta-ai-audience dl > div { position: relative; overflow: hidden; }
.meta-ai-console .meta-ai-audience dl > div::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(100deg,transparent 20%,rgba(40,114,217,0.07) 50%,transparent 80%); animation: meta-audience-row-light 6s ease-in-out infinite; }
.meta-ai-console .meta-ai-audience dl > div:nth-child(2)::after { animation-delay: 0.6s; }
.meta-ai-console .meta-ai-audience dl > div:nth-child(3)::after { animation-delay: 1.2s; }
.meta-ai-console .meta-ai-audience dl > div:nth-child(4)::after { animation-delay: 1.8s; }
.meta-ai-console .meta-ai-audience dl > div:nth-child(5)::after { animation-delay: 2.4s; }
.meta-ai-console[data-meta-stage="2"] .meta-ai-audience dl > div { animation: meta-creative-form 0.6s var(--ease) both; }
.meta-ai-console[data-meta-stage="3"] .meta-delivery-icon { animation: meta-delivery-breathe 4.2s ease-in-out both; }
.meta-ai-console:not(.is-meta-playing) *, .meta-ai-console:not(.is-meta-playing) *::before, .meta-ai-console:not(.is-meta-playing) *::after { animation-play-state: paused !important; }
@keyframes meta-topic-write { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes meta-creative-form { from { opacity: 0.3; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
@keyframes meta-creative-orbit { to { transform: rotate(380deg); } }
@keyframes meta-audience-scan { to { transform: rotate(360deg); } }
@keyframes meta-radar-ring { 0% { transform: scale(0.7); opacity: 0.7; } 100% { transform: scale(1.18); opacity: 0.1; } }
@keyframes meta-audience-marker { 0%, 100% { opacity: 0.35; transform: scale(0.8); } 50% { opacity: 1; transform: scale(1.15); } }
@keyframes meta-audience-row-light { 0%, 25% { transform: translateX(-120%); } 65%, 100% { transform: translateX(120%); } }
@keyframes meta-delivery-breathe { 50% { box-shadow: 0 0 0 7px rgba(140,188,255,0.1); } }
@keyframes meta-process-progress { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@media (max-width: 1080px) { .meta-ai-intro { grid-template-columns: 1fr; } .meta-ai-workspace { grid-template-columns: 1fr; } .meta-ai-audience dl { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 0 1rem; } }
@media (max-width: 620px) { .meta-ai-benefits { grid-template-columns: 1fr; } .meta-ai-topbar { flex-wrap: wrap; padding: 0.85rem; } .meta-ai-topbar small { display: none; } .meta-ai-designs { grid-template-columns: 1fr; } .meta-ad-design { min-height: 310px; } .meta-ad-design h3 { font-size: 1.7rem; } .meta-ai-delivery { flex-wrap: wrap; } .meta-ai-delivery > span { width: 100%; } }
@media (prefers-reduced-motion: reduce) { .meta-ai-console *, .meta-ai-console *::before, .meta-ai-console *::after { animation: none !important; transition: none !important; } }

/* Shared .env-backed sample results below the generated ad creatives. */
.meta-ai-results { margin-top: 1rem; padding: 0.9rem; border: 1px solid var(--line); border-radius: 15px; background: #fff; }
.meta-ai-results__heading { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 0.35rem; margin-bottom: 0.75rem; }
.meta-ai-results__heading strong { color: var(--ink); font-size: 0.75rem; }
.meta-ai-results__heading small { color: var(--muted); font-size: 0.5rem; }
.meta-ai-results__grid { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: 0.5rem; }
.meta-ai-results__grid > div { padding: 0.75rem 0.55rem; border: 1px solid var(--line); border-radius: 11px; background: var(--blue-50); min-width: 0; }
.meta-ai-results__grid strong { display: block; color: var(--blue-800); font-size: clamp(1.1rem,1.6vw,1.55rem); font-variant-numeric: tabular-nums; letter-spacing: -0.045em; line-height: 1.2; overflow-wrap: anywhere; }
.meta-ai-results__grid small { display: block; margin-top: 0.4rem; color: var(--muted); font-size: 0.52rem; line-height: 1.5; }
.meta-ai-results__grid .meta-ai-results__key { position: relative; overflow: hidden; background: var(--blue-800); border-color: var(--blue-800); }
.meta-ai-results__key strong { color: #fff; } .meta-ai-results__key small { color: #d5e3f7; }
.meta-ai-results__key::after { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg,transparent 25%,rgba(190,212,248,0.2) 50%,transparent 75%); pointer-events: none; animation: meta-audience-row-light 6s ease-in-out infinite; }
@media (max-width: 620px) { .meta-ai-results__grid { grid-template-columns: repeat(2,minmax(0,1fr)); } .meta-ai-results__grid > div:last-child { grid-column: 1 / -1; } }

/* Medlify AI's main capabilities connected around a calm, readable product core. */
.feature-orbit-section { overflow: hidden; background: radial-gradient(ellipse at 50% 60%, #e8f1ff, transparent 65%), #f9fbff; }
.feature-orbit-intro { max-width: 760px; margin: 0 auto; text-align: center; }
.feature-orbit-intro h2 { max-width: none; margin-bottom: 1rem; font-size: clamp(2rem,3.3vw,3.6rem); line-height: 1.12; }
.feature-orbit-intro h2 > span { color: var(--blue-700); }
.feature-orbit-intro .section-copy { max-width: 58ch; margin-inline: auto; font-size: 1rem; line-height: 1.75; }
.feature-orbit { position: relative; width: min(100%,820px); aspect-ratio: 1; margin: 1rem auto; isolation: isolate; }
.feature-orbit-lines { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.feature-orbit-lines > line { stroke: rgba(40,114,217,0.13); stroke-width: 0.15; }
.feature-orbit-lines .orbit-track { fill: none; stroke: rgba(40,114,217,0.2); stroke-width: 0.12; }
.feature-orbit-lines .orbit-track--inner { stroke-dasharray: 0.4 1.2; opacity: 0.6; }
.feature-orbit-lines .orbit-signal { stroke: #5c98ed; stroke-width: 0.25; stroke-linecap: round; stroke-dasharray: 10 110; animation: feature-orbit-flow 6.5s linear var(--signal-delay) infinite; }
.orbit-traveller { fill: none; stroke: var(--blue-600); stroke-width: 0.35; stroke-linecap: round; stroke-dasharray: 2 98; animation: feature-orbit-travel 22s linear infinite; }
.feature-orbit-core { position: absolute; z-index: 2; left: 50%; top: 50%; transform: translate(-50%,-50%); display: flex; flex-direction: column; align-items: center; justify-content: center; width: 27%; aspect-ratio: 1; padding: 1rem; border: 1px solid rgba(255,255,255,0.7); border-radius: 50%; color: #fff; background: radial-gradient(circle at 70% 20%,#2872d9,transparent 60%), var(--blue-950); box-shadow: 0 20px 65px rgba(11,61,145,0.2); text-align: center; }
.feature-orbit-logo { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 13px; margin-bottom: 0.65rem; background: rgba(255,255,255,0.12); font-size: 1.4rem; }
.feature-orbit-core > strong { font-size: clamp(1.2rem,2.7vw,2rem); letter-spacing: -0.045em; line-height: 1.1; }
.feature-orbit-core > small { margin-top: 0.55rem; color: #bcd5ff; font-size: 0.6rem; }
.feature-orbit-core-halo { position: absolute; inset: -9px; border: 1px solid rgba(40,114,217,0.2); border-radius: 50%; animation: feature-orbit-halo 4.5s ease-in-out infinite; }
.feature-orbit-node { position: absolute; z-index: 2; left: var(--node-x); top: var(--node-y); transform: translate(-50%,-50%); display: flex; flex-direction: column; align-items: center; gap: 0.5rem; width: 19%; min-height: 92px; padding: 0.8rem 0.65rem; border: 1px solid var(--line); border-radius: 18px; background: rgba(255,255,255,0.96); box-shadow: 0 8px 25px rgba(11,61,145,0.06); text-align: center; animation: feature-node-breathe 6.5s ease-in-out var(--node-delay) infinite; }
.feature-orbit-node > span { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 11px; color: var(--blue-700); background: var(--blue-100); }
.feature-orbit-node svg { width: 21px; height: 21px; }
.feature-orbit-node strong { color: var(--blue-900); font-size: 0.75rem; line-height: 1.4; font-weight: 700; }
.feature-orbit-mobile-list { display: none; }
.feature-orbit-footer { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 0.8rem; text-align: center; }
.feature-orbit-footer > span { color: var(--muted); font-size: 0.8rem; }
.feature-orbit-footer button { padding: 0.4rem 0.7rem; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--blue-800); font-size: 0.65rem; cursor: pointer; }
.feature-orbit-footer button[hidden] { display: none; }
.feature-orbit-section:not(.is-orbit-playing) *, .feature-orbit-section:not(.is-orbit-playing) *::after { animation-play-state: paused !important; }
@keyframes feature-orbit-flow { 0% { stroke-dashoffset: 10; opacity: 0; } 10% { opacity: 1; } 80% { stroke-dashoffset: -100; opacity: 0.9; } 100% { stroke-dashoffset: -100; opacity: 0; } }
@keyframes feature-orbit-travel { to { stroke-dashoffset: -100; } }
@keyframes feature-orbit-halo { 0%, 100% { transform: scale(1); opacity: 0.4; } 50% { transform: scale(1.05); opacity: 1; } }
@keyframes feature-node-breathe { 0%, 65%, 100% { border-color: var(--line); box-shadow: 0 8px 25px rgba(11,61,145,0.06); } 35% { border-color: rgba(40,114,217,0.45); box-shadow: 0 8px 30px rgba(40,114,217,0.14); } }
@media (max-width: 620px) {
  .feature-orbit { max-width: 430px; margin-block: 1.5rem; }
  .feature-orbit-node { width: 46px; min-height: 46px; padding: 5px; border-radius: 14px; }
  .feature-orbit-node > strong { display: none; }
  .feature-orbit-node > span { width: 34px; height: 34px; }
  .feature-orbit-core { width: 34%; padding: 0.5rem; }
  .feature-orbit-logo { width: 30px; height: 30px; margin-bottom: 0.4rem; font-size: 1rem; }
  .feature-orbit-core > strong { font-size: 1.2rem; }
  .feature-orbit-core > small { font-size: 0.42rem; }
  .feature-orbit-mobile-list { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 0.5rem; margin-bottom: 1.25rem; }
  .feature-orbit-mobile-list > span { display: flex; align-items: center; gap: 0.5rem; padding: 0.65rem; border: 1px solid var(--line); border-radius: 11px; background: #fff; color: var(--blue-900); font-size: 0.65rem; line-height: 1.4; }
  .feature-orbit-mobile-list svg { width: 19px; height: 19px; flex: 0 0 19px; color: var(--blue-700); }
}
@media (prefers-reduced-motion: reduce) { .feature-orbit-section *, .feature-orbit-section *::after { animation: none !important; transition: none !important; } .orbit-signal, .orbit-traveller { display: none; } }

/* Emphasize self-service website updates. */
#cms .cms-benefit-highlight {
  display: block;
  color: #1955bf;
}
#cms .showcase-bullets li:first-child {
  background: #edf4ff;
  border-color: #bbd2fa;
  color: #123f8d;
}

.ai-always-open {
  color: #a9cdff;
}

#ai-social-media .ai-social-designer-note {
  display: block;
  margin-bottom: .55rem;
  color: #1955bf;
  font-size: 1.1em;
  font-weight: 700;
}

/* Compact, balanced introduction to the setup journey. */
#how-it-works {
  padding-block: clamp(3rem, 5vw, 5rem);
}
#how-it-works .how-medlify__intro {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  align-items: center;
  gap: clamp(1.5rem, 4vw, 4rem);
  margin-bottom: clamp(1.75rem, 3vw, 3rem);
}
#how-it-works .how-medlify__intro h2 {
  max-width: none;
  margin-bottom: 0;
  font-size: clamp(2rem, 3.5vw, 3.6rem);
  line-height: 1.12;
  letter-spacing: -.04em;
}
#how-it-works .how-medlify__intro h2 > span {
  color: #1955bf;
}
#how-it-works .how-medlify__intro .section-copy {
  margin: 0 0 1.1rem;
  max-width: 40rem;
  font-size: clamp(1rem, 1.2vw, 1.15rem);
  line-height: 1.75;
}
#how-it-works .how-medlify__promise {
  padding: .65rem .9rem;
  font-size: .85rem;
  white-space: normal;
}
@media (max-width: 768px) {
  #how-it-works .how-medlify__intro {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
}

/* A repeating setup → connection → AI journey, without simulated clicks. */
.how-journey .how-step { --flow-delay: 0s; }
.how-journey .how-step:nth-of-type(2) { --flow-delay: 3s; }
.how-journey .how-step:nth-of-type(3) { --flow-delay: 6s; }
.how-journey .how-step::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(110deg, transparent 25%, rgba(115, 173, 255, .16) 48%, transparent 70%);
  transform: translateX(-120%);
  animation: clinicJourneySweep 9s ease-in-out var(--flow-delay) infinite;
}
.how-journey .how-step__icon {
  animation: clinicJourneyFloat 5s ease-in-out var(--flow-delay) infinite;
}
.how-journey .how-step__number {
  animation: clinicJourneyNumber 9s ease-in-out var(--flow-delay) infinite;
}
.how-journey .how-step__tags > span {
  animation: clinicJourneyBenefit 9s ease-in-out var(--flow-delay) infinite;
}
.how-journey .how-step__tags > span:nth-child(2) { animation-delay: calc(var(--flow-delay) + .35s); }
.how-journey .how-step__tags > span:nth-child(3) { animation-delay: calc(var(--flow-delay) + .7s); }
.how-journey .how-step__tags i {
  animation: clinicJourneyCheck 9s ease-in-out var(--flow-delay) infinite;
}
@keyframes clinicJourneySweep {
  0%, 4% { transform: translateX(-120%); }
  29%, 100% { transform: translateX(120%); }
}
@keyframes clinicJourneyFloat {
  0%, 100% { transform: translateY(0) rotate(0); }
  50% { transform: translateY(-7px) rotate(4deg); }
}
@keyframes clinicJourneyNumber {
  0%, 35%, 100% { opacity: .65; }
  10%, 24% { opacity: 1; text-shadow: 0 0 18px rgba(62, 139, 255, .45); }
}
@keyframes clinicJourneyBenefit {
  0%, 35%, 100% { transform: translateX(0); }
  12%, 24% { transform: translateX(4px); box-shadow: 0 0 0 1px rgba(91, 154, 245, .4), 0 5px 18px rgba(28, 94, 182, .1); }
}
@keyframes clinicJourneyCheck {
  0%, 35%, 100% { transform: scale(1); }
  14%, 22% { transform: scale(1.18); }
}
.how-journey:not(.is-journey-playing) .how-step::before,
.how-journey:not(.is-journey-playing) .how-step__icon,
.how-journey:not(.is-journey-playing) .how-step__number,
.how-journey:not(.is-journey-playing) .how-step__tags > span,
.how-journey:not(.is-journey-playing) .how-step__tags i,
.how-journey:not(.is-journey-playing) .how-journey__line i {
  animation-play-state: paused;
}
@media (prefers-reduced-motion: reduce) {
  .how-journey .how-step::before,
  .how-journey .how-step__icon,
  .how-journey .how-step__number,
  .how-journey .how-step__tags > span,
  .how-journey .how-step__tags i,
  .how-journey .how-journey__line i { animation: none; }
}

/* Keep the quote section introduction compact and balanced. */
#pricing { padding-block: clamp(3rem, 5vw, 5rem); }
#pricing .pricing-intro {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  align-items: center;
  gap: clamp(1.5rem, 4vw, 4rem);
  margin-bottom: clamp(1.75rem, 3vw, 3rem);
}
#pricing .pricing-intro h2 {
  max-width: none;
  margin: 0;
  font-size: clamp(2rem, 3.5vw, 3.6rem);
  line-height: 1.12;
  letter-spacing: -.04em;
}
#pricing .pricing-intro h2 span { color: #1955bf; }
#pricing .pricing-intro > .section-copy {
  margin: 0;
  padding-left: 1.5rem;
  border-left: 2px solid #bfd5fa;
  max-width: 36rem;
  font-size: clamp(1rem, 1.2vw, 1.15rem);
  line-height: 1.75;
}
@media (max-width: 768px) {
  #pricing .pricing-intro { grid-template-columns: 1fr; gap: 1.25rem; }
  #pricing .pricing-intro > .section-copy { padding-left: 0; border-left: 0; }
}

.magnify-brand-link, .brand-home { color: inherit; text-decoration: none; }
.magnify-brand-link:hover { text-decoration: underline; text-underline-offset: .2em; }
.magnify-brand-link:focus-visible, .brand-home:focus-visible { outline: 2px solid #538cf0; outline-offset: 3px; }
.brand > .brand-home { display: flex; flex-shrink: 0; }

.clinic-challenges { background: linear-gradient(180deg, #fff, #f2f7ff); }
.clinic-challenges__intro { display: grid; grid-template-columns: 1.1fr 1fr; align-items: center; gap: 3rem; margin-bottom: 2rem; }
.clinic-challenges__intro h2 { font-size: clamp(2rem, 3.5vw, 3.6rem); line-height: 1.12; margin: 0; }
.clinic-challenges__intro h2 span { color: #1955bf; }
.clinic-challenges__intro .section-copy { margin: 0; font-size: 1.05rem; }
.clinic-challenges__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.2rem; }
.clinic-challenge { display: flex; flex-direction: column; padding: clamp(1.25rem, 2vw, 2rem); border: 1px solid #dce6f5; border-radius: 24px; background: #fff; box-shadow: 0 12px 32px #123c7910; }
.clinic-challenge__number { color: #1955bf; font-size: .8rem; font-weight: 750; margin-bottom: 1rem; }
.clinic-challenge h3 { font-size: 1.2rem; line-height: 1.35; margin-bottom: .7rem; }
.clinic-challenge > p { font-size: .95rem; line-height: 1.7; color: var(--muted); margin-bottom: 1.4rem; }
.clinic-challenge__solution { display: flex; align-items: flex-start; gap: .7rem; background: #eff5ff; border-radius: 16px; padding: 1rem; margin-top: auto; }
.clinic-challenge__solution > span { color: #1955bf; }
.clinic-challenge__solution small { font-size: .65rem; font-weight: 750; letter-spacing: .08em; color: #1955bf; }
.clinic-challenge__solution p { font-size: .9rem; line-height: 1.65; margin: .4rem 0 0; color: #24446d; }
@media(max-width: 980px) { .clinic-challenges__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media(max-width: 640px) { .clinic-challenges__intro, .clinic-challenges__grid { grid-template-columns: 1fr; } .clinic-challenges__intro { gap: 1rem; } }

/* Final responsive pass: phones, portrait tablets and compact laptops. */
img, video, canvas, svg { max-width: 100%; }
.container > *, .ai-social-layout > *, .meta-ai-workspace > *,
.showcase-window__body > *, .contact-form__grid > *, .footer-nav > * { min-width: 0; }
h1, h2, h3, p, .button, .showcase-bullets li { overflow-wrap: break-word; }
@media (max-width: 1080px) {
  .hero .hero-grid, .showcase-layout, .showcase-layout--reverse,
  .website-showcase, .contact-cta-grid { grid-template-columns: minmax(0, 1fr) !important; }
  .showcase-visual, .showcase-copy { width: 100%; min-width: 0; }
  .showcase-window { max-width: 100%; }
  .how-journey { grid-template-columns: minmax(0, 1fr); }
  .how-journey__line { display: none; }
  .how-step { min-height: 0; }
  .clinic-challenges__intro { grid-template-columns: minmax(0, 1fr); gap: 1.25rem; }
  .footer-nav { gap: 1.5rem; }
}
@media (max-width: 768px) {
  .site-header .navbar { width: calc(100% - 2rem); min-height: 68px; gap: 1rem; }
  .site-header .nav-links { top: 68px; max-height: calc(100dvh - 84px); }
  .site-header .nav-toggle { margin-left: auto; }
  .hero h1 { font-size: clamp(2.2rem, 7.5vw, 3.5rem); }
  .ai-social-section .ai-social-copy h2, .meta-ai-intro h2,
  .showcase-copy h2, .ai-section__intro h2, .clinic-platform__intro h2 {
    font-size: clamp(2rem, 6.5vw, 3rem); line-height: 1.15;
  }
  .ai-social-section .social-showcase .ai-social-studio__body,
  .ai-social-section .social-showcase .social-result { display: grid; grid-template-columns: minmax(0, 1fr); }
  .ai-social-section .social-showcase .social-result > * { grid-column: auto; grid-row: auto; }
  .ai-social-section .social-showcase .social-post-art { min-height: 300px; height: auto; }
  .meta-ai-results__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .meta-ai-results__grid > div:last-child { grid-column: 1 / -1; }
  .meta-ai-audience dl { grid-template-columns: minmax(0, 1fr); }
  .contact-form, .contact-form__grid { min-width: 0; }
  .contact-form input, .contact-form textarea, .contact-form select { font-size: 16px; max-width: 100%; }
  .contact-form__heading { flex-wrap: wrap; gap: .75rem; }
  .footer-grid { grid-template-columns: minmax(0, 1fr); gap: 2rem; }
  .footer-row { flex-wrap: wrap; gap: .75rem; padding-block: 1.25rem; }
  .clinic-feature-dialog { width: calc(100% - 2rem); max-height: calc(100dvh - 2rem); overflow-y: auto; }
}
@media (max-width: 480px) {
  .section { padding-block: 2.75rem; }
  .eyebrow { font-size: .7rem; letter-spacing: .1em; }
  .button { min-height: 44px; padding: .8rem 1rem; text-align: center; }
  .hero-actions { display: flex; flex-direction: column; align-items: stretch; }
  .hero-actions .button { width: 100%; }
  .showcase-window { border-radius: 20px; }
  .showcase-window__body { padding: .65rem; }
  .showcase-window__bar { padding: .75rem; gap: .4rem; }
  .showcase-window__bar small { font-size: .6rem; }
  .showcase-bullets li { padding: .8rem; font-size: .9rem; }
  .patient-identity { flex-wrap: wrap; }
  .patient-metrics { gap: .5rem; }
  .digital-card { padding: 1rem; }
  .digital-card__brand { flex-wrap: wrap; gap: .5rem; }
  .meta-ai-console { border-radius: 20px; }
  .meta-ai-workspace { padding: .65rem; }
  .meta-ai-topic { flex-wrap: wrap; }
  .meta-ai-topic > * { min-width: 0; max-width: 100%; }
  .contact-form { padding: 1rem; }
  .footer-nav { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .how-medlify__outcome { align-items: stretch; gap: .75rem; }
  .how-medlify__outcome > span { width: 100%; }
}

/* Compact hamburger with an animated open state. */
@media (max-width: 1280px) {
  .site-header .nav-toggle {
    width: 46px;
    height: 46px;
    min-height: 46px;
    flex: 0 0 46px;
    padding: 0;
    border-radius: 14px;
    border: 1px solid #dae5f7;
    background: #f5f8ff;
    box-shadow: 0 4px 12px rgba(11, 61, 145, .04);
    transition: background .2s, border-color .2s;
  }
  .site-header .nav-toggle:hover { background: #eaf2ff; border-color: #b5cdf2; }
  .site-header .nav-toggle:focus-visible { outline: 2px solid #1955bf; outline-offset: 3px; }
  .nav-toggle-icon { position: relative; display: block; width: 22px; height: 18px; }
  .nav-toggle-icon i {
    position: absolute;
    left: 0;
    width: 22px;
    height: 2px;
    border-radius: 4px;
    background: #124baf;
    transition: transform .25s ease, opacity .2s ease, width .25s ease;
  }
  .nav-toggle-icon i:nth-child(1) { top: 0; }
  .nav-toggle-icon i:nth-child(2) { top: 8px; width: 17px; }
  .nav-toggle-icon i:nth-child(3) { top: 16px; }
  .nav-toggle[aria-expanded="true"] .nav-toggle-icon i:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] .nav-toggle-icon i:nth-child(2) { opacity: 0; transform: translateX(5px); }
  .nav-toggle[aria-expanded="true"] .nav-toggle-icon i:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
}
@media (prefers-reduced-motion: reduce) { .nav-toggle-icon i { transition: none; } }

/* A compact mobile navigation panel instead of a scrolling list. */
@media (max-width: 1280px) {
  .site-header .nav-links {
    inset: 80px 1rem auto;
    max-height: none;
    overflow: visible;
    padding: .85rem;
    gap: .5rem;
    border-radius: 20px;
    box-shadow: 0 18px 45px rgba(5, 35, 82, .14);
  }
  .site-header .nav-links.is-open {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .site-header .nav-links > a:not(.button) {
    display: flex;
    align-items: center;
    min-height: 44px;
    padding: .7rem .8rem;
    border-radius: 11px;
    background: #f5f8fd;
    font-size: .9rem;
    line-height: 1.25;
    white-space: normal;
  }
  .site-header .nav-links > a:not(.button):hover { background: #eaf2ff; }
  .site-header .nav-links > a:not(.button)::after { display: none; }
  .site-header .nav-links > .locale-controls {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .5rem;
    margin: .3rem 0 0;
  }
  .site-header .locale-controls > label,
  .site-header .locale-dropdown { width: 100%; min-width: 0; }
  .site-header .locale-dropdown__trigger {
    width: 100%; min-height: 42px;
    padding: .5rem .65rem;
    font-size: .8rem;
  }
  .site-header .nav-links > .button {
    grid-column: 1 / -1;
    display: flex;
    justify-content: center;
    min-height: 44px;
    margin-top: .2rem;
    padding: .7rem 1rem;
    font-size: .95rem;
  }
}
@media (max-width: 768px) {
  .site-header .nav-links { top: 68px; }
}
@media (max-height: 480px) and (max-width: 1280px) {
  .site-header .nav-links.is-open { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .35rem; padding: .65rem; }
  .site-header .nav-links > a:not(.button) { min-height: 38px; padding: .5rem .65rem; }
  .site-header .nav-links > .locale-controls { grid-column: 1 / 3; margin: 0; }
  .site-header .nav-links > .button { grid-column: 3; margin: 0; }
}

/* The feature circle is reserved for tablet and desktop layouts. */
@media (max-width: 768px) {
  #medlify-connected { display: none; }
}

.mobile-nav-heading, .nav-backdrop { display: none; }
@media (max-width: 1280px) {
  .site-header { backdrop-filter: none; }
  .site-header .nav-links, .site-header .nav-links.is-open {
    position: fixed;
    inset: 0 0 0 auto;
    width: min(350px, 88vw);
    height: 100dvh;
    max-height: none;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: .45rem;
    padding: 1.25rem;
    border-radius: 24px 0 0 24px;
    border: 0;
    z-index: 52;
    overflow: visible;
    visibility: hidden;
    transform: translateX(105%);
    transition: transform .3s ease, visibility .3s;
    background: #fff;
  }
  .site-header .nav-links.is-open { visibility: visible; transform: translateX(0); }
  .site-header .mobile-nav-heading { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: .75rem; color: #0b2347; font-size: 1rem; font-weight: 750; }
  .mobile-nav-close { width: 40px; height: 40px; border: 0; border-radius: 12px; background: #edf4ff; color: #1955bf; font-size: 1.7rem; cursor: pointer; }
  .site-header .nav-links > a:not(.button) { min-height: 46px; padding: .75rem .85rem; font-size: 1rem; background: transparent; border-bottom: 1px solid #edf1f7; border-radius: 0; }
  .site-header .nav-links > .locale-controls { margin-top: 1rem; grid-template-columns: repeat(2,minmax(0,1fr)); }
  .site-header .nav-links > .button { margin-top: .75rem; }
  .site-header .nav-backdrop { display: block; position: fixed; inset: 0; border: 0; background: rgba(4,22,51,.35); z-index: 51; opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; }
  .site-header:has(.nav-links.is-open) .nav-backdrop { visibility: visible; opacity: 1; }
  body:has(.nav-links.is-open) { overflow: hidden; }
}
@media (max-height: 540px) and (max-width: 1280px) {
  .site-header .nav-links { padding: .75rem 1rem; gap: .2rem; }
  .site-header .mobile-nav-heading { margin-bottom: .2rem; }
  .site-header .nav-links > a:not(.button) { min-height: 34px; padding: .4rem .7rem; font-size: .9rem; }
  .site-header .nav-links > .locale-controls { margin-top: .3rem; }
  .site-header .nav-links > .button { margin-top: .3rem; }
}
@media (prefers-reduced-motion: reduce) { .site-header .nav-links, .site-header .nav-backdrop { transition: none; } }

/* Readable typography on phones without enlarging decorative labels. */
@media (max-width: 768px) {
  .section-copy, .hero-copy > p, .showcase-copy > p,
  .clinic-challenges__intro .section-copy,
  #pricing .pricing-intro > .section-copy,
  #how-it-works .how-medlify__intro .section-copy,
  .ai-social-section .ai-social-copy > .section-copy {
    font-size: 1rem;
    line-height: 1.75;
  }
  .showcase-bullets li, .clinic-challenge > p,
  .clinic-challenge__solution p, .how-step > p,
  .pricing-description, .pricing-note, .footer-brand > p {
    font-size: 1rem;
    line-height: 1.7;
  }
  .pricing-card li, .plan-includes li, .how-step__tags > span,
  .how-step__result strong, .faq-item p { font-size: .95rem; line-height: 1.65; }
  .ai-social-benefits small, .social-caption p,
  .meta-ai-benefits small, .meta-ai-audience p,
  .meta-ai-audience dd { font-size: .95rem; line-height: 1.65; }
  .ai-social-benefits strong, .meta-ai-benefits strong,
  .clinic-challenge h3, .pricing-card h3 { line-height: 1.4; }
  .footer-nav a { font-size: .95rem; padding-block: .25rem; }
  .footer-nav h3 { font-size: .8rem; }
  .site-footer .footer-row, .site-footer .footer-row span { font-size: .8rem; line-height: 1.6; }
  .contact-form label > span { font-size: .9rem; line-height: 1.5; }
  .contact-form__consent, .contact-form__status { font-size: .85rem; line-height: 1.6; }
  .showcase-window__body strong, .showcase-window__body b { line-height: 1.45; }
  .records-ui .detail-grid strong, .records-ui .timeline-item strong,
  .calendar-ui .booking-card strong, .cms-ui .cms-form i,
  .prescription-ui .rx-input-section strong, .prescription-ui .medicine-row small,
  .billing-ui .invoice-item strong, .billing-ui .invoice-table p {
    font-size: .85rem;
    line-height: 1.55;
  }
  .records-ui .detail-grid small, .records-ui .timeline-item small,
  .calendar-ui .booking-card small, .cms-ui .cms-form label > span,
  .prescription-ui .rx-input-section small, .billing-ui .invoice-item small {
    font-size: .75rem;
    line-height: 1.5;
  }
  #ai-chatbot .wa-message p, #ai-chatbot .wa-reply {
    font-size: .9rem; line-height: 1.7;
  }
  #ai-chatbot .review-flow strong { font-size: .9rem; line-height: 1.5; }
  #ai-chatbot .review-flow small { font-size: .75rem; line-height: 1.5; }
  #ai-chatbot .wa-message time, #ai-chatbot .wa-reply time { font-size: .65rem; }
  .hero-dashboard-wide .hero-message, .voice-demo__stage,
  .social-caption, .meta-ai-audience { overflow-wrap: break-word; }
  .showcase-window__body, .pricing-card, .how-step { text-align: left; }
}
@media (max-width: 480px) {
  .hero h1 { font-size: clamp(2.25rem, 9vw, 2.9rem); line-height: 1.12; }
  .showcase-copy h2, .ai-social-section .ai-social-copy h2,
  .meta-ai-intro h2, .clinic-challenges__intro h2,
  #pricing .pricing-intro h2, #how-it-works .how-medlify__intro h2 {
    font-size: clamp(1.9rem, 7.8vw, 2.5rem); line-height: 1.18;
  }
  .showcase-bullets li { font-size: .95rem; line-height: 1.55; }
  .eyebrow { font-size: .75rem; line-height: 1.5; }
}

.mobile-preview-trigger { display: none; }
.mobile-preview-dialog:not([open]) { display: none; }
.mobile-preview-dialog {
  width: calc(100% - 1rem);
  max-width: 720px;
  max-height: calc(100dvh - 1.5rem);
  margin: auto;
  padding: 0;
  border: 1px solid #dce7f7;
  border-radius: 22px;
  background: #f5f8ff;
  color: #0b2347;
  overflow-y: auto;
  overscroll-behavior: contain;
  box-shadow: 0 24px 80px rgba(4, 22, 51, .3);
}
.mobile-preview-dialog::backdrop { background: rgba(4, 22, 51, .65); }
.mobile-preview-heading {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: .85rem 1rem;
  background: #fff;
  border-bottom: 1px solid #dce7f7;
}
.mobile-preview-heading h2 { margin: 0; font-size: 1rem !important; line-height: 1.4; }
.mobile-preview-close { flex: 0 0 44px; width: 44px; height: 44px; border: 0; border-radius: 12px; background: #eaf2ff; color: #1955bf; font-size: 1.8rem; cursor: pointer; }
body:has(.mobile-preview-dialog[open]) { overflow: hidden; }
@media (max-width: 768px) {
  .mobile-preview-trigger { display: inline-flex; justify-content: center; width: fit-content; max-width: 100%; margin-block: .75rem; }
  .mobile-preview-dialog > .showcase-visual,
  .mobile-preview-dialog > .social-showcase,
  .mobile-preview-dialog > .meta-ai-console,
  .mobile-preview-dialog > .website-showcase {
    display: block;
    width: 100%;
    margin: 0;
    padding: .5rem;
    opacity: 1;
    transform: none;
    visibility: visible;
  }
  .mobile-preview-dialog .showcase-window,
  .mobile-preview-dialog .meta-ai-console { box-shadow: none; }
  .mobile-preview-dialog .website-floating { display: none; }
}

/* Navigation tracking must not change the CTA's white text to blue. */
.site-header .nav-links > .button,
.site-header .nav-links > .button.is-current,
.site-header .nav-links > .button:hover,
.site-header .nav-links > .button:focus-visible {
  color: #fff;
  background: linear-gradient(135deg, #1955bf, #103e91);
  opacity: 1;
}
.site-header .nav-links > .button::after { display: none; }

/* Mobile feature cards follow their content rather than a square canvas. */
@media (max-width: 768px) {
  .clinic-platform .clinic-card {
    aspect-ratio: auto;
    height: auto;
    min-height: 0;
    padding: 1.25rem;
  }
  .clinic-platform .clinic-card h3 { margin-top: 1rem; margin-bottom: .65rem; }
  .clinic-platform .clinic-card p { margin-bottom: 1rem; }
  .clinic-platform .clinic-card .clinic-card__link { margin-top: 1rem; }
}
@media (max-width: 768px) {
  .clinic-platform .clinic-card { padding-bottom: 3rem; }
  .clinic-platform .clinic-card__icon { margin-bottom: .75rem; }
  .clinic-platform .clinic-card h3 { margin-top: 0; }
}

@media (max-width: 768px) {
  .benefits-comparison *, .benefits-comparison *::before,
  .benefits-comparison *::after { animation: none !important; }
  .benefits-comparison .comparison-demo-caption { display: none; }
}

/* Medlify AI identity: a connected M with a healthcare cross. */
.brand .medlify-brand-mark { display: block; width: 44px; height: 44px; transform: none; background: none; border: 0; border-radius: 14px; box-shadow: 0 7px 20px rgba(11,61,145,.17); }
.brand-ai { font-style: normal; color: #1955bf; }
.site-footer .brand-ai { color: #9cc7ff; }
.brand small { letter-spacing: .09em; font-size: .5rem; }
@media(max-width: 480px) { .brand .medlify-brand-mark { width: 40px; height: 40px; } .brand { font-size: 1.25rem; } .brand small { font-size: .45rem; } }

.info-page { background: #f6f9ff; color: #0b2347; }
.info-header { background: #fff; border-bottom: 1px solid #dce7f7; }
.info-header .container { display:flex; align-items:center; justify-content:space-between; gap:1rem; padding-block:1rem; }
.info-brand { display:flex; align-items:center; gap:.7rem; color:#0b2347; font-size:1.3rem; font-weight:750; }
.info-brand small { display:block; font-size:.6rem; font-weight:600; color:#61738e; margin-top:.25rem; }
.info-main { max-width:900px; padding-block:clamp(2.5rem,6vw,5rem); }
.info-main h1 { font-size:clamp(2.3rem,5vw,4rem); line-height:1.1; margin-bottom:1rem; }
.info-lead { font-size:1.15rem; line-height:1.7; color:#61738e; }
.info-date { font-size:.85rem; color:#61738e; margin-block:1rem 2rem; }
.info-content { background:white; border:1px solid #dce7f7; border-radius:24px; padding:clamp(1.25rem,4vw,3rem); margin-bottom:2rem; }
.info-content section + section { margin-top:1.75rem; padding-top:1.75rem; border-top:1px solid #e8eef8; }
.info-content h2 { font-size:1.35rem; margin-bottom:.7rem; line-height:1.35; }
.info-content p { font-size:1rem; line-height:1.8; margin:0; color:#405674; }
.info-content a { overflow-wrap:anywhere; }
.info-footer { background:#0b2347; color:#b8cbea; padding-block:2rem; }
.info-footer nav { display:flex; flex-wrap:wrap; gap:1rem 1.5rem; margin-bottom:1rem; }
.info-footer a { color:inherit; }
@media(max-width:480px){.info-header .button{font-size:.8rem;padding:.6rem .75rem}.info-brand{font-size:1.1rem}.info-brand small{font-size:.5rem}}
.footer-company-identity { font-size: .85rem; line-height: 1.6; color: #b8cbea; max-width: 25rem; }

/* Editorial information pages: spacious introduction, compact sidebar. */
.info-page { background: #f5f8fc; }
.info-main { max-width: 1440px; }
.info-main > .eyebrow { margin-bottom: 1.5rem; }
.info-main > h1 { font-size: clamp(2.5rem, 5vw, 4.5rem); letter-spacing: -.045em; }
.info-main > .info-lead { max-width: 900px; margin-top: 1.5rem; font-size: clamp(1rem, 1.4vw, 1.2rem); }
.info-date { display: inline-flex; margin: 1.5rem 0 2.75rem; padding: .55rem .9rem; border: 1px solid #dce6f3; border-radius: 99px; background: #fff; }
.info-layout { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: clamp(1.5rem, 3vw, 3rem); align-items: start; }
.info-sidebar { position: sticky; top: 1.5rem; min-width: 0; }
.info-sidebar nav { background: #fff; border: 1px solid #dce6f3; border-radius: 20px; overflow: hidden; }
.info-sidebar nav a { display: flex; align-items: center; justify-content: space-between; gap: .75rem; padding: 1.15rem 1.25rem; color: #173257; font-size: .95rem; font-weight: 700; border-bottom: 1px solid #eaf0f8; }
.info-sidebar nav a:last-child { border-bottom: 0; }
.info-sidebar nav a[aria-current="page"] { color: #1955bf; background: #eaf2ff; }
.info-sidebar nav a:hover { background: #f0f5ff; }
.info-sidebar > p { margin: 1.25rem .8rem .75rem; font-size: .85rem; line-height: 1.8; color: #61738e; }
.info-sidebar > p a { font-weight: 750; }
.info-support { display: block; margin: 0 .8rem; font-size: .85rem; overflow-wrap: anywhere; }
.info-content { margin-bottom: 1.5rem; }
.info-content h2 { display: flex; align-items: baseline; gap: .85rem; }
.info-section-number { flex: 0 0 auto; color: #1955bf; font-size: .75rem; letter-spacing: .04em; }
.info-main > .text-link { margin-left: calc(260px + clamp(1.5rem, 3vw, 3rem)); }
.footer-brand > .footer-company-identity { max-width: 360px; font-size: .78rem !important; line-height: 1.7; margin-top: 0; }
.footer-company-identity a { color: #dce9ff; font-weight: 700; }
.footer-company-identity span { color: #91a8c8; }
@media(max-width: 820px) {
  .info-layout { grid-template-columns: minmax(0, 1fr); gap: 1.5rem; }
  .info-sidebar { position: static; }
  .info-sidebar nav { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); }
  .info-sidebar nav a { padding: .85rem; font-size: .85rem; }
  .info-sidebar > p { margin-top: .8rem; }
  .info-main > .text-link { margin-left: 0; }
  .info-date { margin-bottom: 1.5rem; }
}

/* Restrained typography for company and policy pages. */
.info-page { font-size: 16px; }
.info-page .info-main { max-width: 1180px; padding-block: 2.5rem 3.5rem; }
.info-page .info-main > .eyebrow { font-size: .7rem; letter-spacing: .1em; margin-bottom: 1rem; }
.info-page .info-main > h1 { font-size: clamp(1.8rem, 2.6vw, 2.5rem); line-height: 1.2; letter-spacing: -.03em; margin-bottom: .8rem; }
.info-page .info-main > .info-lead { font-size: 1rem; line-height: 1.65; margin-top: .8rem; max-width: 780px; }
.info-page .info-date { font-size: .75rem; padding: .4rem .7rem; margin: 1rem 0 1.75rem; }
.info-page .info-layout { grid-template-columns: 220px minmax(0,1fr); gap: 1.75rem; }
.info-page .info-sidebar nav a { font-size: .85rem; padding: .9rem 1rem; }
.info-page .info-sidebar nav { border-radius: 15px; }
.info-page .info-content { padding: 1.75rem 2rem; border-radius: 18px; }
.info-page .info-content h2 { font-size: 1.1rem; line-height: 1.4; max-width: none; letter-spacing: -.015em; margin-bottom: .6rem; }
.info-page .info-content p { font-size: .95rem; line-height: 1.75; }
.info-page .info-content section + section { margin-top: 1.3rem; padding-top: 1.3rem; }
.info-page .info-section-number { font-size: .7rem; }
.info-page .info-main > .text-link { margin-left: calc(220px + 1.75rem); font-size: .85rem; }
@media(max-width:820px) {
  .info-page .info-layout { grid-template-columns: minmax(0,1fr); gap: 1.25rem; }
  .info-page .info-main > .text-link { margin-left: 0; }
  .info-page .info-content { padding: 1.25rem; }
  .info-page .info-main { padding-top: 1.75rem; }
}

@media (max-width:1280px) {
  .site-header .mobile-nav-close {
    display: grid;
    place-items: center;
    flex: 0 0 40px;
    width: 40px;
    height: 40px;
    padding: 0;
    border: 1px solid #e1e8f2;
    border-radius: 50%;
    background: #fff;
    color: #344a68;
    box-shadow: none;
    transition: background .2s, color .2s;
  }
  .site-header .mobile-nav-close svg { display: block; }
  .site-header .mobile-nav-close:hover { background: #f1f6ff; color: #1955bf; }
  .site-header .mobile-nav-close:focus-visible { outline: 2px solid #1955bf; outline-offset: 3px; }
}

/* Clinic specialties: compact and readable across devices. */
.clinic-specialties { background: linear-gradient(180deg,#f6f9ff,#fff); }
.clinic-specialties__intro { display:grid; grid-template-columns:1.15fr 1fr; align-items:center; gap:3rem; margin-bottom:2rem; }
.clinic-specialties__intro h2 { font-size:clamp(2rem,3.2vw,3.2rem); line-height:1.15; margin:0; letter-spacing:-.035em; }
.clinic-specialties__intro h2 span { color:#1955bf; }
.clinic-specialties__intro .section-copy { font-size:1rem; line-height:1.75; margin:0; max-width:40rem; }
.specialty-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:1rem; }
.specialty-card { display:flex; flex-direction:column; gap:1rem; padding:1.4rem; border:1px solid #dce7f7; border-radius:20px; background:#fff; box-shadow:0 8px 24px rgba(11,61,145,.04); transition:border-color .2s,transform .2s; }
.specialty-card:hover { border-color:#abc8f4; transform:translateY(-3px); }
.specialty-icon { display:grid; place-items:center; width:44px; height:44px; border-radius:13px; background:#edf4ff; color:#1955bf; }
.specialty-icon svg { width:26px; height:26px; }
.specialty-card h3 { font-size:1.05rem; line-height:1.4; margin:0 0 .5rem; }
.specialty-card p { font-size:.9rem; line-height:1.65; color:#61738e; margin:0; }
.specialty-note { display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:1rem; margin-top:1.5rem; padding-top:1.25rem; border-top:1px solid #e3ebf6; font-size:.85rem; color:#61738e; }
.specialty-note .text-link { margin:0; font-size:.9rem; }
@media(max-width:1080px) { .specialty-grid { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media(max-width:768px) { .clinic-specialties__intro { grid-template-columns:1fr; gap:1rem; } .specialty-card { padding:1rem; } }
@media(max-width:480px) { .specialty-grid { grid-template-columns:1fr; gap:.75rem; } .specialty-card { flex-direction:row; align-items:flex-start; } .specialty-icon { flex:0 0 44px; } .specialty-card p { font-size:.95rem; } .clinic-specialties__intro h2 { font-size:2rem; } }

.specialty-more { margin-top:1.25rem; border:1px solid #dce7f7; border-radius:16px; background:#f7faff; }
.specialty-more summary { display:flex; justify-content:space-between; align-items:center; padding:1rem 1.25rem; color:#1955bf; font-size:.95rem; font-weight:700; cursor:pointer; list-style:none; }
.specialty-more summary::-webkit-details-marker { display:none; }
.specialty-more summary span { font-size:1.3rem; transition:transform .2s; }
.specialty-more[open] summary span { transform:rotate(45deg); }
.specialty-more__grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:.65rem; padding:0 1.25rem 1rem; }
.specialty-more__grid span { padding:.8rem; background:#fff; border:1px solid #e0e9f7; border-radius:10px; color:#24446d; font-size:.85rem; line-height:1.5; }
.specialty-more > p { margin:0; padding:0 1.25rem 1.25rem; color:#61738e; font-size:.85rem; line-height:1.65; }
@media(max-width:768px){.specialty-more__grid{grid-template-columns:repeat(2,minmax(0,1fr));}}
@media(max-width:360px){.specialty-more__grid{grid-template-columns:1fr;}}
.clinic-challenge__solution .reputyai-link { color: #1955bf; font-weight: 700; text-decoration: underline; text-underline-offset: .2em; }

/* Six-step journey with individual colors and a timed progress cue. */
.ai-workflow .workflow-list { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:1rem; }
.ai-workflow .workflow-step { --step-color:#72b8ff; --step-tint:rgba(114,184,255,.12); position:relative; min-height:180px; padding:1.2rem; border:1px solid rgba(255,255,255,.14); background:rgba(255,255,255,.04); border-radius:18px; transform:none; transition:background .4s,border-color .4s,box-shadow .4s; overflow:hidden; }
.ai-workflow .workflow-step:nth-child(2) { --step-color:#c4a6ff; --step-tint:rgba(196,166,255,.14); }
.ai-workflow .workflow-step:nth-child(3) { --step-color:#6fe0bd; --step-tint:rgba(111,224,189,.13); }
.ai-workflow .workflow-step:nth-child(4) { --step-color:#ffc676; --step-tint:rgba(255,198,118,.13); }
.ai-workflow .workflow-step:nth-child(5) { --step-color:#7edce9; --step-tint:rgba(126,220,233,.13); }
.ai-workflow .workflow-step:nth-child(6) { --step-color:#ffadc7; --step-tint:rgba(255,173,199,.13); }
.ai-workflow .workflow-step::after { content:""; position:absolute; left:0; bottom:0; height:3px; width:0; background:var(--step-color); }
.ai-workflow .workflow-step.is-workflow-selected { border-color:var(--step-color); background:var(--step-tint); box-shadow:inset 0 0 0 1px var(--step-color),0 8px 24px rgba(0,0,0,.1); transform:none; }
.ai-workflow .workflow-step.is-workflow-selected::after { animation:workflowStepProgress 3.2s linear both; }
.ai-workflow .workflow-step.is-workflow-complete::after { width:100%; opacity:.35; }
.ai-workflow .workflow-step .workflow-icon { color:var(--step-color); background:var(--step-tint); border:1px solid var(--step-color); box-shadow:none; animation:none; }
.ai-workflow .workflow-step.is-workflow-selected .workflow-icon { color:#112744; background:var(--step-color); box-shadow:0 0 22px var(--step-tint); animation:workflowIconLift 3.2s ease-in-out both; }
.ai-workflow .workflow-number { color:var(--step-color); opacity:1; font-weight:750; }
.ai-workflow .workflow-copy { margin-top:1rem; }
.ai-workflow .workflow-copy strong { font-size:1rem; line-height:1.4; }
.ai-workflow .workflow-copy small { color:#bfcee4; font-size:.85rem; line-height:1.6; }
.ai-workflow .workflow-connector { display:none; }
.ai-workflow:not(.is-workflow-playing) .workflow-step::after,
.ai-workflow:not(.is-workflow-playing) .workflow-step .workflow-icon { animation-play-state:paused; }
@keyframes workflowStepProgress { from {width:0} to {width:100%} }
@keyframes workflowIconLift { 0%,100%{transform:translateY(0)} 30%,65%{transform:translateY(-4px)} }
@media(max-width:768px){.ai-workflow .workflow-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:.65rem}.ai-workflow .workflow-step{min-height:170px;padding:1rem}.ai-workflow .workflow-copy strong{font-size:.9rem}}
@media(max-width:380px){.ai-workflow .workflow-list{grid-template-columns:1fr}.ai-workflow .workflow-step{min-height:140px}}
@media(prefers-reduced-motion:reduce){.ai-workflow .workflow-step::after,.ai-workflow .workflow-step .workflow-icon{animation:none!important}}

.ai-workflow .workflow-list { grid-template-columns:repeat(4,minmax(0,1fr)); }
.ai-workflow .workflow-step:nth-child(7) { --step-color:#b6c7ff; --step-tint:rgba(182,199,255,.13); }
.ai-workflow .workflow-step:nth-child(8) { --step-color:#f4d681; --step-tint:rgba(244,214,129,.13); }
@media(max-width:1080px){.ai-workflow .workflow-list{grid-template-columns:repeat(2,minmax(0,1fr));}}
@media(max-width:768px){
  .ai-workflow .workflow-list { grid-template-columns:1fr; gap:.65rem; }
  .ai-workflow .workflow-step { min-height:0; padding:1rem 1rem 1rem 4.3rem; }
  .ai-workflow .workflow-step .workflow-icon { position:absolute; left:1rem; top:1rem; width:36px; height:36px; }
  .ai-workflow .workflow-number { position:static; display:block; font-size:.7rem; margin-bottom:.3rem; }
  .ai-workflow .workflow-copy { margin-top:0; display:block; }
  .ai-workflow .workflow-copy strong { font-size:.95rem; }
  .ai-workflow .workflow-copy small { display:block; margin-top:.25rem; font-size:.85rem; }
  .ai-workflow__header { flex-wrap:wrap; gap:.75rem; }
  .ai-social-section .ai-social-benefits > div { padding:1rem; }
  .ai-social-section .ai-social-benefits strong { font-size:.95rem; }
  .ai-social-section .ai-social-benefits small { font-size:.9rem; line-height:1.6; }
}

/* Keep the mobile drawer fixed to the viewport after header entrance/scroll. */
@media (max-width: 1280px) {
  #site-header,
  .site-header,
  .site-header.is-scrolled {
    transform: none;
    filter: none;
    perspective: none;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    animation: none;
    will-change: auto;
  }
  .site-header .navbar { transform: none; }
  .site-header .nav-links,
  .site-header .nav-links.is-open { top: 0; bottom: 0; }
}
.ai-social-section .social-showcase .social-post-art { min-height: 280px; }
.ai-social-section .social-showcase .social-generator { gap: .65rem; }
.hero-dashboard-wide .floating-card--growth { right: 1rem; bottom: -5.5rem; max-width: 340px; }
@media (min-width:769px) { .hero-dashboard-wide { margin-bottom: 4rem; } }
@media (max-width:768px) {
  .hero-dashboard-wide .floating-card--growth { position:relative; inset:auto; margin-top:.65rem; max-width:100%; width:fit-content; margin-left:auto; }
}

.mobile-ads-summary { display:none; }
@media(max-width:768px) {
  #ai-meta-ads .mobile-ads-summary {
    display:grid;
    gap:1rem;
    width:100%;
    margin-top:1rem;
    padding:0;
    border:0;
    border-radius:0;
    background:transparent;
    box-shadow:none;
    overflow:visible;
  }
  .mobile-ads-summary .meta-ai-audience { min-height:0; padding:1.25rem; }
  .mobile-ads-summary .meta-ai-audience dl { display:block; }
  .mobile-ads-summary .meta-ai-results { margin:0; padding:1rem; }
  .mobile-ads-summary .meta-ai-results__grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .mobile-ads-summary .meta-ai-results__grid > div:last-child { grid-column:1 / -1; }
  .mobile-ads-summary .meta-ai-results__head { flex-wrap:wrap; gap:.5rem; }
}

@media (min-width:769px) {
  .hero-dashboard-wide .floating-card--patient,
  .hero-dashboard-wide .floating-card--growth { left:1rem; right:auto; width:min(340px,calc(100% - 2rem)); max-width:none; }
  .hero-dashboard-wide .floating-card--growth { bottom:-5.6rem; }
}

@media (min-width:769px) {
  .hero-dashboard-wide .floating-card--growth {
    position:absolute;
    left:auto;
    right:-.5rem;
    bottom:.75rem;
    width:min(320px,42%);
    max-width:320px;
    z-index:5;
  }
  .hero-dashboard-wide .floating-card--growth strong { font-size:.8rem; line-height:1.45; }
  .hero-dashboard-wide .floating-card--growth small { font-size:.68rem; }
  .hero-dashboard-wide { margin-bottom:1.5rem; }
}

/* Keep supporting cards in normal flow below the dashboard, never over its data. */
.hero-dashboard-wide .hero-dashboard-notes {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: .85rem;
  margin: .85rem 0 0;
  position: relative;
  z-index: 2;
}
.hero-dashboard-wide .hero-dashboard-notes > .floating-card {
  position: static;
  inset: auto;
  width: 100%;
  max-width: none;
  margin: 0;
  transform: none;
  animation: none;
  padding: .85rem;
  box-sizing: border-box;
}
.hero-dashboard-wide .hero-dashboard-notes > .floating-card strong { font-size: .8rem; line-height: 1.45; }
.hero-dashboard-wide .hero-dashboard-notes > .floating-card small { font-size: .68rem; }
.hero-dashboard-wide .hero-dashboard-notes > .floating-card > div { min-width:0; }
.hero-dashboard-wide { margin-bottom:0; }
@media(max-width:768px) {
  .hero-dashboard-wide .hero-dashboard-notes { grid-template-columns:1fr; }
  .hero-dashboard-wide .hero-dashboard-notes > .floating-card { width:100%; margin:0; }
}

@media(max-width:768px) {
  #patient-acquisition .container > .website-capabilities { display:block; width:100%; opacity:1; transform:none; margin-top:1rem; }
  #patient-acquisition .website-capabilities h3 { font-size:clamp(1.9rem,7vw,2.5rem); line-height:1.15; }
  #patient-acquisition .website-capabilities > p:not(.eyebrow) { font-size:1rem; line-height:1.75; }
  #patient-acquisition .website-value-points { gap:.85rem; }
  #patient-acquisition .website-value-points > span { font-size:.95rem; line-height:1.5; }
}

@media (max-width: 768px) {
  #patient-acquisition .website-capability-list { display: none; }
}

/* Preserve graph geometry and reveal milestones with the advancing line. */
.ads-studio--results .campaign-growth-chart { height:auto; aspect-ratio:600 / 180; width:100%; }
.ads-studio--results .campaign-chart--results { height:auto; padding:3.3rem 1rem 1rem; }
.ads-studio--results .campaign-points circle { transition:opacity .2s; }
.ads-studio--results .campaign-curve { stroke:#256cda; stroke-width:3.5; }
.ads-studio--results .campaign-moving-dot { stroke:#1955bf; stroke-width:3; }
.ads-studio--results .campaign-axis { margin-top:.6rem; font-size:.7rem; }
@media(max-width:768px) {
  .ads-studio--results .studio-toolbar { padding:1rem 1.15rem; min-height:0; gap:.6rem; align-items:flex-start; }
  .ads-studio--results .studio-toolbar > strong { font-size:.95rem; line-height:1.5; }
  .ads-studio--results .studio-toolbar > span { font-size:.7rem; }
  .ads-studio--results .campaign-chart--results { padding:3.3rem .85rem 1rem; }
  .ads-studio--results .campaign-growth-chart { height:auto; }
}

/* Phone CMS preview: readable editor followed by the resulting page. */
@media(max-width:768px) {
  #cms .mobile-preview-dialog .showcase-window__bar { display:none; }
  #cms .mobile-preview-dialog .premium-tour-controls { padding:.85rem; border-radius:14px; margin-bottom:.75rem; }
  #cms .mobile-preview-dialog .premium-tour-controls small { font-size:.65rem; }
  #cms .mobile-preview-dialog .cms-sidebar { display:none; }
  #cms .mobile-preview-dialog .cms-ui--premium { display:block; }
  #cms .mobile-preview-dialog .cms-workspace { padding:.75rem; min-width:0; }
  #cms .mobile-preview-dialog .cms-toolbar { display:flex; flex-wrap:wrap; align-items:center; gap:.75rem; margin-bottom:.8rem; }
  #cms .mobile-preview-dialog .cms-toolbar strong { font-size:1rem; }
  #cms .mobile-preview-dialog .cms-tabs { display:flex; justify-content:space-between; gap:.25rem; padding:.3rem; margin-bottom:.85rem; }
  #cms .mobile-preview-dialog .cms-tabs > span { display:block; font-size:.75rem; padding:.55rem .4rem; }
  #cms .mobile-preview-dialog .cms-builder { display:grid; grid-template-columns:1fr; gap:1rem; }
  #cms .mobile-preview-dialog .cms-form { min-height:0; padding:1rem; }
  #cms .mobile-preview-dialog .cms-form label > span { font-size:.8rem; }
  #cms .mobile-preview-dialog .cms-form label > i { font-size:.85rem; line-height:1.55; padding:.75rem; min-height:0; }
  #cms .mobile-preview-dialog .cms-form .cms-copy { min-height:85px; }
  #cms .mobile-preview-dialog .cms-field-row { grid-template-columns:repeat(2,minmax(0,1fr)) !important; }
  #cms .mobile-preview-dialog .cms-media-field strong, #cms .mobile-preview-dialog .cms-media-field > span { font-size:.75rem; }
  #cms .mobile-preview-dialog .cms-actions { gap:.5rem; }
  #cms .mobile-preview-dialog .cms-actions > * { font-size:.8rem; padding:.7rem; }
  #cms .mobile-preview-dialog .cms-live-preview { display:block !important; width:100%; min-height:0; }
  #cms .mobile-preview-dialog .preview-hero { padding:1.25rem; min-height:0; }
  #cms .mobile-preview-dialog .preview-hero > strong { font-size:1.7rem; line-height:1.2; max-width:15ch; }
  #cms .mobile-preview-dialog .preview-hero > p { font-size:.85rem; line-height:1.6; }
  #cms .mobile-preview-dialog .preview-doctor { margin-top:1rem; }
}
#pricing .is-plan-included a { color:inherit; text-decoration:underline; text-underline-offset:.2em; }
.faq-answer a { color:#1955bf; text-decoration:underline; }

#final-cta { padding-block:clamp(2.75rem,4vw,4rem); }
#final-cta .contact-cta-copy h2 { font-size:clamp(2rem,3.4vw,3.5rem); line-height:1.15; max-width:16ch; }
#final-cta .contact-form { padding:1.4rem; }
#final-cta .contact-form__heading { padding-bottom:1rem; margin-bottom:1rem; }
#final-cta .contact-form__heading h3 { font-size:1.4rem; }
#final-cta .contact-form__grid { gap:.85rem; }
#final-cta .contact-form input,#final-cta .contact-form select { min-height:44px; padding:.65rem .8rem; }
#final-cta .contact-form textarea { min-height:90px; height:90px; }
.whatsapp-contact { position:fixed; left:1.1rem; bottom:calc(1.1rem + env(safe-area-inset-bottom)); z-index:90; display:flex; align-items:center; gap:.5rem; padding:.75rem 1rem; border-radius:99px; background:#16876b; color:#fff; font-size:.85rem; font-weight:700; box-shadow:0 6px 24px rgba(0,60,40,.2); }
.whatsapp-contact svg { width:25px;height:25px; }
.whatsapp-contact:hover { background:#116c55; }
.whatsapp-contact:focus-visible { outline:3px solid #68d7b6; outline-offset:3px; }
body:has(dialog[open]) .whatsapp-contact,body:has(.nav-links.is-open) .whatsapp-contact { visibility:hidden; }
@media(max-width:768px){.whatsapp-contact{left:.75rem;padding:.7rem}.whatsapp-contact span{display:none}#final-cta .contact-form{padding:1rem}#final-cta .contact-cta-copy h2{font-size:2rem}}

#pricing .pricing-grid { grid-template-columns:repeat(2,minmax(0,1fr)); max-width:1180px; margin-inline:auto; }
.site-header .nav-links > .nav-whatsapp { display:inline-flex; align-items:center; justify-content:center; gap:.45rem; padding:.65rem .85rem; min-height:44px; border:1px solid #b7dfcf; border-radius:99px; color:#11684d; background:#eaf8f1; font-size:.85rem; font-weight:750; white-space:nowrap; }
.site-header .nav-whatsapp svg { width:21px; height:21px; flex-shrink:0; }
.site-header .nav-links > .nav-whatsapp:hover { background:#d6f1e4; color:#0e583f; }
.site-header .nav-links > .nav-whatsapp::after { display:none; }
@media(min-width:1281px) { .site-header .nav-links { gap:.75rem; } .site-header .locale-dropdown { min-width:7rem; } .site-header .navbar { gap:1.5rem; } }
@media(max-width:1080px) { #pricing .pricing-grid { grid-template-columns:1fr; } }
@media(max-width:1280px) { .site-header .nav-links > .nav-whatsapp { border:1px solid #b7dfcf; border-radius:12px; margin-top:.5rem; background:#eaf8f1; } }

/* Compact desktop navigation with one clear primary action. */
@media(min-width:1281px) {
  .site-header .navbar { min-height:72px; width:min(94%,1440px); gap:1.5rem; }
  .site-header.is-scrolled .navbar { min-height:68px; }
  .site-header .brand { font-size:1.2rem; gap:.6rem; }
  .site-header .brand .medlify-brand-mark { width:38px; height:38px; }
  .site-header .brand small { font-size:.46rem; letter-spacing:.07em; }
  .site-header .nav-links { gap:1rem; }
  .site-header .nav-links > a:not(.button):not(.nav-whatsapp) { font-size:.82rem; }
  .site-header .locale-controls { gap:.45rem; }
  .site-header .locale-dropdown { min-width:6rem; }
  .site-header .locale-dropdown__trigger { min-height:40px; padding:.4rem .65rem; gap:.4rem; font-size:.78rem; }
  .site-header .nav-links > .button { min-height:40px; padding:.55rem .95rem; font-size:.8rem; }
  .site-header .nav-links > .nav-whatsapp { width:40px; height:40px; min-height:40px; padding:0; flex:0 0 40px; }
  .site-header .nav-whatsapp > span { display:none; }
}

/* Compact plan comparison, with every benefit visible. */
#pricing .pricing-grid { display:grid; gap:1.25rem; align-items:stretch; }
#pricing .pricing-card { display:flex; flex-direction:column; grid-row:auto; grid-template-rows:none; gap:.8rem; min-height:0; padding:1.5rem; border-radius:24px; }
#pricing .pricing-kicker--empty { display:none; }
#pricing .pricing-label { align-self:flex-start; font-size:.7rem; padding:.4rem .65rem; margin:0; }
#pricing .pricing-card h3 { font-size:1.35rem; line-height:1.35; margin:.2rem 0 0; }
#pricing .pricing-description { font-size:.95rem; line-height:1.65; min-height:0; margin:0; }
#pricing .pricing-note { font-size:.85rem; line-height:1.55; margin:0; }
#pricing .pricing-card > .button { min-height:44px; padding:.65rem 1rem; font-size:.9rem; margin:.3rem 0 .5rem; }
#pricing .plan-includes { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:.65rem 1rem; padding-top:1rem; margin-top:0; }
#pricing .plan-includes__heading { grid-column:1 / -1; margin:0 0 .3rem; }
#pricing .plan-includes__heading small { font-size:.7rem; }
#pricing .plan-includes__heading em { font-size:.65rem; }
#pricing .is-plan-included { margin:0; align-items:flex-start; gap:.45rem; }
#pricing .is-plan-included b { font-size:.8rem; line-height:1.5; }
#pricing .is-plan-included > i { flex:0 0 18px; width:18px; height:18px; font-size:.65rem; margin-top:1px; }
#pricing .plan-exclusions { grid-column:1 / -1; margin-top:.5rem; padding-top:.8rem; }
#pricing .plan-exclusions small, #pricing .plan-exclusions b { font-size:.75rem; }
@media(max-width:600px) {
  #pricing .pricing-card { padding:1.2rem; }
  #pricing .plan-includes { grid-template-columns:1fr; }
  #pricing .is-plan-included b { font-size:.9rem; }
}

@media(max-width:1280px) {
  .site-header .nav-links > a.nav-whatsapp:not(.button) {
    display:flex;
    align-items:center;
    justify-content:center;
    gap:.55rem;
    width:100%;
    min-height:44px;
    padding:.75rem 1rem;
    margin-top:.35rem;
    border:1px solid #c2e7d7;
    border-radius:99px;
    background:#eaf8f1;
    color:#11684d;
    font-size:.95rem;
    line-height:1.2;
    font-weight:750;
    box-sizing:border-box;
  }
  .site-header .nav-links > a.nav-whatsapp:not(.button):hover { background:#d8f1e5; }
  .site-header .nav-links > a.nav-whatsapp:not(.button) svg { width:22px; height:22px; }
}

.site-header .nav-links > a:not(.button):not(.nav-whatsapp)::after { display:none; }
.site-header .nav-links > a:not(.button):not(.nav-whatsapp).is-current {
  color:#1955bf;
  background:#edf4ff;
  border-radius:8px;
}
@media(min-width:1281px) {
  .site-header .nav-links > a:not(.button):not(.nav-whatsapp) { padding:.45rem .5rem; }
  .site-header .nav-links { gap:.5rem; }
}

/* Narrow two-plan comparison with readable, single-column benefits. */
#pricing .pricing-grid { max-width:920px; gap:1.25rem; }
#pricing .plan-includes { grid-template-columns:minmax(0,1fr); gap:.5rem; }
#pricing .pricing-card { padding:1.3rem; gap:.65rem; }
#pricing .pricing-card h3 { font-size:1.2rem; }
#pricing .pricing-description { font-size:.9rem; }
#pricing .is-plan-included b { font-size:.82rem; line-height:1.5; }
@media(max-width:600px){#pricing .is-plan-included b{font-size:.9rem}}

/* Complete product wordmark, with a compact attribution. */
.brand.brand--wordmark { display:flex; flex-direction:column; align-items:flex-start; gap:0; }
.brand--wordmark .brand-home { display:block; }
.medlify-wordmark { display:block; width:190px; height:auto; }
.medlify-wordmark--light { display:none; }
.brand.brand--wordmark small { margin:0 0 0 47px; font-size:.45rem; letter-spacing:.08em; }
.site-footer .medlify-wordmark { display:none; }
.site-footer .medlify-wordmark--light { display:block; width:210px; }
.site-footer .brand.brand--wordmark small { margin-left:51px; }
@media(max-width:480px){.medlify-wordmark{width:170px}.brand.brand--wordmark small{margin-left:42px;font-size:.4rem}}

/* Balanced plan cards, aligned actions, single-column benefits. */
#pricing .pricing-grid { max-width:900px; gap:1.25rem; align-items:start; }
#pricing .pricing-card { padding:1.5rem; border-radius:22px; border-color:#d7e3f4; box-shadow:0 12px 32px rgba(11,61,145,.07); gap:.7rem; }
#pricing .pricing-card h3 { font-size:1.3rem; min-height:3.5rem; display:flex; align-items:center; }
#pricing .pricing-description { min-height:4.5rem; font-size:.9rem; }
#pricing .pricing-note { font-size:.8rem; color:#61738e; }
#pricing .pricing-card--featured .pricing-note { color:#b8cdea; }
#pricing .pricing-card > .button { margin-top:.35rem; border-radius:12px; }
#pricing .plan-includes { padding-top:1.2rem; gap:.5rem; }
#pricing .is-plan-included { padding:.15rem 0; }
#pricing .is-plan-included b { font-weight:600; font-size:.84rem; }
@media(max-width:1080px){#pricing .pricing-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:680px){#pricing .pricing-grid{grid-template-columns:1fr;max-width:440px}#pricing .pricing-card h3,#pricing .pricing-description{min-height:0}#pricing .pricing-card{padding:1.25rem}#pricing .is-plan-included b{font-size:.9rem}}

.complete-plan { display:grid; grid-template-columns:minmax(0,.9fr) minmax(0,1.15fr); max-width:1040px; margin-inline:auto; overflow:hidden; border:1px solid #d7e3f4; border-radius:26px; background:#fff; box-shadow:0 18px 45px rgba(11,61,145,.1); }
.complete-plan__overview { padding:2rem; background:radial-gradient(circle at 100% 0,#244f90,transparent 65%),#0b2858; color:#fff; }
.complete-plan__overview h3 { font-size:2rem; margin:1rem 0 .75rem; }
.complete-plan__overview > p { font-size:.95rem; line-height:1.7; color:#c5d5ed; }
.complete-plan__billing { display:grid; gap:.75rem; margin:1.5rem 0; }
.complete-plan__billing > div { padding:1rem; border:1px solid #ffffff26; border-radius:14px; background:#ffffff09; }
.complete-plan__billing small { color:#b4cef6; font-size:.7rem; letter-spacing:.1em; font-weight:700; }
.complete-plan__billing strong { display:block; margin:.45rem 0 .35rem; font-size:1.4rem; }
.complete-plan__billing strong span { color:#b4cef6; font-size:.8rem; font-weight:500; }
.complete-plan__billing p { font-size:.9rem; color:#dce8fa; margin:0; }
.complete-plan__overview .pricing-label { background:#ffffff16; color:#dce8fa; }
.complete-plan__overview > .button { width:100%; border-radius:12px; font-size:.9rem; min-height:44px; }
.complete-plan__features { padding:2rem; }
.complete-plan__features-heading { display:flex; justify-content:space-between; align-items:center; gap:1rem; margin-bottom:1rem; }
.complete-plan__features-heading h4 { margin:0; font-size:1rem; }
.complete-plan__features-heading > span { font-size:.7rem; color:#61738e; }
.complete-plan__features ul { list-style:none; margin:0; padding:0; display:grid; gap:.65rem; }
.complete-plan__features li { display:flex; gap:.65rem; align-items:flex-start; color:#344e71; font-size:.85rem; line-height:1.5; }
.complete-plan__features li i { display:grid; place-items:center; flex:0 0 19px; height:19px; border-radius:6px; background:#eaf2ff; color:#1955bf; font-size:.7rem; font-style:normal; }
.complete-plan__features a { color:#1955bf; text-decoration:underline; text-underline-offset:.2em; }
.complete-plan__note { margin:1.25rem 0 0; padding-top:1rem; border-top:1px solid #e4ebf5; font-size:.75rem; line-height:1.6; color:#71839b; }
@media(max-width:768px){.complete-plan{grid-template-columns:1fr;max-width:480px}.complete-plan__overview,.complete-plan__features{padding:1.25rem}.complete-plan__overview h3{font-size:1.65rem}.complete-plan__features li{font-size:.9rem}.complete-plan__billing{grid-template-columns:repeat(2,minmax(0,1fr));gap:.6rem}.complete-plan__billing > div{padding:.85rem}.complete-plan__billing strong{font-size:1.2rem}.complete-plan__billing p{font-size:.8rem}}

/* Polished contact controls, including a properly sized consent checkbox. */
#final-cta .contact-form { background:#fff; border-radius:24px; padding:1.5rem; border:1px solid #dbe5f4; }
#final-cta .contact-form::before { display:none; }
#final-cta .contact-form__heading h3 { font-size:1.4rem; line-height:1.4; }
#final-cta .contact-form label > span { font-size:.8rem; font-weight:650; margin-bottom:.4rem; }
#final-cta .contact-form input:not([type="checkbox"]),
#final-cta .contact-form select,
#final-cta .contact-form textarea {
  background:#f8faff;
  border:1px solid #d9e3f3;
  border-radius:12px;
  box-shadow:none;
  font-size:.9rem;
  line-height:1.5;
  padding:.75rem .85rem;
}
#final-cta .contact-form input:not([type="checkbox"]):focus,
#final-cta .contact-form select:focus,
#final-cta .contact-form textarea:focus { outline:2px solid #a9c7f7; outline-offset:2px; background:#fff; }
#final-cta .contact-form select {
  appearance:none;
  -webkit-appearance:none;
  padding-right:2.5rem;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' fill='none' stroke='%23526b90' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m4 7 5 5 5-5'/%3E%3C/svg%3E");
  background-repeat:no-repeat;
  background-position:right .85rem center;
}
#final-cta .contact-form option { color:#173257; background:#fff; }
#final-cta .contact-form__consent { display:flex; align-items:flex-start; gap:.65rem; padding:.75rem; border-radius:10px; background:#f5f8fd; font-size:.8rem; line-height:1.6; }
#final-cta .contact-form input[type="checkbox"] {
  appearance:none;
  -webkit-appearance:none;
  flex:0 0 20px;
  width:20px;
  height:20px;
  min-height:20px;
  margin:1px 0 0;
  padding:0;
  border:1px solid #afc2dd;
  border-radius:5px;
  background:#fff;
  cursor:pointer;
}
#final-cta .contact-form input[type="checkbox"]:checked {
  border-color:#1955bf;
  background:#1955bf url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none'%3E%3Cpath d='m5 10 3 3 7-7' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 18px no-repeat;
}
#final-cta .contact-form input[type="checkbox"]:focus-visible { outline:2px solid #1955bf; outline-offset:3px; }
#final-cta .contact-form__submit { border-radius:12px; min-height:46px; font-size:.9rem; }
@media(max-width:768px){#final-cta .contact-form{padding:1.1rem}#final-cta .contact-form input:not([type="checkbox"]),#final-cta .contact-form select,#final-cta .contact-form textarea{font-size:16px}}
.complete-plan__unlimited { margin:1rem 0; padding:1rem; border:1px solid #ffffff26; border-radius:14px; background:#ffffff09; }
.complete-plan__unlimited > small { color:#b4cef6; font-size:.7rem; letter-spacing:.08em; font-weight:700; }
.complete-plan__unlimited > div { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:.7rem; margin-top:.8rem; }
.complete-plan__unlimited span { font-size:.85rem; line-height:1.5; color:#e5efff; }
.info-breadcrumb { display:flex; flex-wrap:wrap; gap:.6rem; margin-bottom:1.25rem; color:#71839b; font-size:.8rem; }
.info-breadcrumb a { color:#1955bf; }
