/* EthioDent AI Landing Page — self-hosted (CSP-safe) */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    --brand-50: #f0fdfa;
    --brand-100: #ccfbf1;
    --brand-500: #14b8a6;
    --brand-600: #0d9488;
    --brand-700: #0f766e;
    --brand-800: #115e59;
    --brand-900: #134e4a;
    --brand-950: #042f2e;
    --slate-50: #f8fafc;
    --slate-100: #f1f5f9;
    --slate-200: #e2e8f0;
    --slate-400: #94a3b8;
    --slate-500: #64748b;
    --slate-600: #475569;
    --slate-700: #334155;
    --slate-800: #1e293b;
    --slate-900: #0f172a;
    --emerald-300: #6ee7b7;
    --emerald-400: #34d399;
    --red-50: #fef2f2;
    --red-100: #fee2e2;
    --red-500: #ef4444;
    --red-700: #b91c1c;
    --white: #ffffff;
    --shadow-card: 0 4px 24px -4px rgba(15, 23, 42, 0.08);
    --shadow-glow: 0 0 60px -12px rgba(20, 184, 166, 0.45);
    --font: 'Segoe UI', system-ui, -apple-system, BlinkMacSystemFont, 'Inter', sans-serif;
    --container: 72rem;
    --nav-h: 4rem;
}

html { scroll-behavior: smooth; }

body {
    font-family: var(--font);
    color: var(--slate-800);
    background: var(--white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul { list-style: none; }

.l-container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 1.25rem;
}

@media (min-width: 640px) { .l-container { padding: 0 1.5rem; } }
@media (min-width: 1024px) { .l-container { padding: 0 2rem; } }

.l-icon { width: 1.25rem; height: 1.25rem; flex-shrink: 0; }
.l-icon-lg { width: 1.75rem; height: 1.75rem; }
.l-icon-sm { width: 1rem; height: 1rem; }

/* Navigation */
.l-nav {
    position: fixed; inset: 0 0 auto; z-index: 40; height: var(--nav-h);
    background: #fff; border-bottom: 1px solid var(--slate-200);
    transition: box-shadow .2s ease;
}
.l-nav.is-scrolled { box-shadow: 0 2px 8px rgba(15, 23, 42, .08); }
.l-nav__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.l-logo { display: inline-flex; min-height: 44px; align-items: center; gap: .625rem; flex-shrink: 0; }
.l-logo__mark { width: 2.25rem; height: 2.25rem; border-radius: 10px; }
.l-logo__text { display: flex; flex-direction: column; }
.l-logo__name { color: var(--slate-900); font-weight: 800; font-size: 1.125rem; line-height: 1.25; white-space: nowrap; letter-spacing: -.035em; }
.l-logo__name > span { color: var(--brand-700); }
.l-logo__tagline { display: none; color: var(--slate-600); font-size: .6875rem; line-height: 1.6; letter-spacing: .015em; }
.l-nav__links { display: none; align-items: center; gap: .25rem; }
.l-nav__links a { min-height: 44px; display: inline-flex; align-items: center; gap: .375rem; padding: .625rem 1rem; font-size: .875rem; font-weight: 600; color: var(--slate-600); border-radius: 8px; position: relative; }
.l-nav__links a:hover, .l-nav__links a[aria-current] { color: var(--brand-800); background: var(--brand-50); }
.l-nav__links a[aria-current]::after { content: ''; position: absolute; bottom: 3px; left: 1rem; right: 1rem; height: 2px; background: var(--brand-700); }
.l-nav__actions { display: flex; align-items: center; gap: .625rem; flex-shrink: 0; }
.l-nav__signin { display: none; align-items: center; min-height: 44px; padding: .625rem .875rem; font-size: .875rem; font-weight: 600; color: var(--slate-700); border-radius: 8px; }
.l-nav__signin:hover { background: var(--slate-100); color: var(--brand-800); }
.l-nav .l-nav__trial { min-height: 44px; border-radius: 8px; box-shadow: none; gap: .75rem; }
.l-nav__trial-short { display: none; }
.l-nav__arrow { font-size: 1.125rem; line-height: 1; }
.l-nav__mobile > summary { list-style: none; display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--slate-200); border-radius: 8px; cursor: pointer; color: var(--slate-800); }
.l-nav__mobile > summary::-webkit-details-marker { display: none; }
.l-nav__mobile > summary:hover { background: var(--slate-50); }
.l-nav__menu-icon { display: grid; gap: 6px; width: 18px; }
.l-nav__menu-icon > span { display: block; height: 2px; background: currentColor; transition: transform .2s ease; }
.l-nav__mobile[open] .l-nav__menu-icon > span:first-child { transform: translateY(4px) rotate(45deg); }
.l-nav__mobile[open] .l-nav__menu-icon > span:last-child { transform: translateY(-4px) rotate(-45deg); }
.l-nav__panel { position: absolute; top: calc(100% + 8px); left: 1rem; right: 1rem; max-height: calc(100dvh - var(--nav-h) - 24px); overflow-y: auto; background: #fff; border: 1px solid var(--slate-200); border-radius: 12px; padding: 1.25rem; box-shadow: 0 4px 8px rgba(15, 23, 42, .1); }
.l-nav__panel-label { font-size: .8125rem; color: var(--slate-600); margin-bottom: .75rem; }
.l-nav__panel > a, .l-nav__panel-footer a { display: flex; justify-content: space-between; align-items: center; min-height: 48px; gap: 1rem; padding: .75rem; border-radius: 8px; font-size: 1rem; font-weight: 600; color: var(--slate-900); }
.l-nav__panel > a:hover, .l-nav__panel > a[aria-current] { background: var(--brand-50); color: var(--brand-800); }
.l-nav__panel-footer { border-top: 1px solid var(--slate-200); margin-top: .75rem; padding-top: .75rem; }
.l-nav__panel-footer a { color: var(--brand-800); background: var(--brand-50); }
.l-nav__panel-footer p { margin-top: .75rem; font-size: .75rem; color: var(--slate-600); }
@media (min-width: 640px) { .l-nav__signin { display: inline-flex; } }
@media (min-width: 1024px) {
    :root { --nav-h: 5rem; }
    .l-nav__inner { display: grid; grid-template-columns: 1fr auto 1fr; }
    .l-nav__links { display: flex; }
    .l-nav__actions { justify-content: flex-end; }
    .l-logo__tagline { display: block; }
    .l-nav__mobile { display: none; }
}
@media (max-width: 420px) {
    .l-nav .l-container { padding-inline: .75rem; }
    .l-nav__inner { gap: .5rem; }
    .l-logo { gap: .375rem; }
    .l-logo__mark { width: 1.875rem; height: 1.875rem; }
    .l-logo__name { font-size: 1rem; }
    .l-nav__actions { gap: .375rem; }
    .l-nav .l-nav__trial { padding: .625rem .75rem; font-size: .8125rem; }
    .l-nav__trial-full, .l-nav__arrow { display: none; }
    .l-nav__trial-short { display: inline; }
}

.l-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
    padding: 0.625rem 1rem; border-radius: 0.75rem;
    font-size: 0.875rem; font-weight: 700; transition: all 0.2s ease;
}
.l-btn--primary {
    background: var(--brand-700); color: var(--white);
    box-shadow: 0 4px 14px rgba(15,118,110,0.3);
}
.l-btn--primary:hover { background: var(--brand-800); transform: translateY(-1px); }
.l-btn--white {
    background: var(--white); color: var(--brand-800);
    box-shadow: var(--shadow-glow);
}
.l-btn--white:hover { background: var(--brand-50); }
.l-btn--outline-white {
    border: 2px solid rgba(255,255,255,0.4); color: var(--white);
    padding: 0.875rem 2rem; border-radius: 1rem; font-size: 1rem;
}
.l-btn--outline-white:hover { background: rgba(255,255,255,0.1); }
.l-btn--lg { padding: 1rem 2rem; border-radius: 1rem; font-size: 1rem; }
.l-btn--full { width: 100%; padding: 1rem; border-radius: 1rem; font-size: 1rem; }

/* HERO */
.l-hero {
    padding: calc(var(--nav-h) + 4rem) 0 5rem;
    background: linear-gradient(135deg, var(--brand-950) 0%, var(--brand-700) 45%, var(--brand-900) 100%);
    color: var(--white);
    position: relative; overflow: hidden;
}
.l-hero::before {
    content: '';
    position: absolute; inset: 0;
    background-image:
        radial-gradient(at 20% 30%, rgba(20,184,166,0.25) 0, transparent 50%),
        radial-gradient(at 80% 70%, rgba(34,197,94,0.15) 0, transparent 45%);
    pointer-events: none;
}
.l-hero__content { position: relative; max-width: 48rem; }
.l-badge {
    display: inline-flex; align-items: center; gap: 0.5rem;
    padding: 0.25rem 0.75rem; border-radius: 9999px;
    background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.2);
    font-size: 0.6875rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em;
    color: var(--brand-100); margin-bottom: 1.5rem;
}
.l-badge__dot {
    width: 0.5rem; height: 0.5rem; border-radius: 50%;
    background: var(--emerald-400);
    animation: pulse 2s infinite;
}
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.5; } }

.l-hero h1 {
    font-size: clamp(2rem, 5vw, 3.75rem);
    font-weight: 900; line-height: 1.1; letter-spacing: -0.02em;
    margin-bottom: 1.5rem;
}
.l-hero__sub {
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    color: rgba(204,251,241,0.9); line-height: 1.7;
    margin-bottom: 2.5rem; max-width: 42rem;
}
.l-hero__ctas {
    display: flex; flex-direction: column; gap: 1rem;
}
@media (min-width: 640px) { .l-hero__ctas { flex-direction: row; } }
.l-hero__trust {
    margin-top: 1.5rem; font-size: 0.875rem; color: rgba(153,246,228,0.8);
}

@media (min-width: 640px) { .l-hero { padding: calc(var(--nav-h) + 5rem) 0 7rem; } }

/* SECTIONS */
.l-section { padding: 5rem 0; }
.l-section--muted { background: var(--slate-50); }
.l-section__header { text-align: center; margin-bottom: 3.5rem; }
.l-section__header h2 {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 900; color: var(--slate-900); margin-bottom: 1rem;
}
.l-section__header p { font-size: 1.125rem; color: var(--slate-600); max-width: 42rem; margin: 0 auto; }
.l-eyebrow {
    color: var(--brand-600); font-weight: 700; font-size: 0.875rem;
    text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 0.75rem;
}

/* COMPARE GRID */
.l-grid-2 {
    display: grid; gap: 1.5rem;
}
@media (min-width: 768px) { .l-grid-2 { grid-template-columns: 1fr 1fr; gap: 2rem; } }

.l-card {
    border-radius: 1.5rem; padding: 2rem;
    position: relative; overflow: hidden;
}
.l-card--old {
    background: var(--white); border: 1px solid var(--slate-200);
    box-shadow: var(--shadow-card);
}
.l-card--new {
    background: linear-gradient(135deg, var(--brand-800), var(--brand-950));
    color: var(--white); box-shadow: var(--shadow-glow);
}
.l-card__tag {
    display: inline-block; padding: 0.25rem 0.75rem; border-radius: 0.5rem;
    font-size: 0.6875rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em;
    margin-bottom: 1.25rem;
}
.l-card--old .l-card__tag { background: var(--red-100); color: var(--red-700); }
.l-card--new .l-card__tag {
    background: rgba(52,211,153,0.2); color: var(--emerald-300);
    border: 1px solid rgba(52,211,153,0.3);
}
.l-list { display: flex; flex-direction: column; gap: 1.25rem; }
.l-list__item { display: flex; gap: 1rem; align-items: flex-start; }
.l-list__icon {
    width: 2.5rem; height: 2.5rem; border-radius: 0.75rem;
    display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.l-list__icon--bad { background: var(--red-50); color: var(--red-500); }
.l-list__icon--good { background: rgba(255,255,255,0.1); color: var(--emerald-300); }
.l-list__title { font-weight: 600; color: var(--slate-900); margin-bottom: 0.25rem; }
.l-card--new .l-list__title { color: var(--white); }
.l-list__desc { font-size: 0.875rem; color: var(--slate-500); }
.l-card--new .l-list__desc { color: rgba(204,251,241,0.8); }

/* FEATURES */
.l-grid-3 {
    display: grid; gap: 2rem;
}
@media (min-width: 768px) { .l-grid-3 { grid-template-columns: repeat(3, 1fr); } }

.l-feature {
    border-radius: 1.5rem; border: 1px solid var(--slate-100);
    padding: 2rem; transition: border-color 0.2s, box-shadow 0.2s;
}
.l-feature:hover { border-color: rgba(13,148,136,0.3); box-shadow: var(--shadow-card); }
.l-feature__icon {
    width: 3.5rem; height: 3.5rem; border-radius: 1rem;
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--brand-500), var(--brand-700));
    box-shadow: 0 8px 20px rgba(13,148,136,0.3);
    color: var(--white);
}
.l-feature__icon--green { background: linear-gradient(135deg, #10b981, var(--brand-700)); }
.l-feature__icon--slate { background: linear-gradient(135deg, var(--slate-700), var(--brand-800)); }
.l-feature h3 { font-size: 1.25rem; font-weight: 700; color: var(--slate-900); margin-bottom: 0.75rem; }
.l-feature p { font-size: 0.875rem; color: var(--slate-600); line-height: 1.7; }

/* PRICING */
.l-pricing-wrap { max-width: 28rem; margin: 0 auto; }
.l-pricing-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    max-width: 72rem;
    margin: 0 auto;
}
@media (min-width: 640px) {
    .l-pricing-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
    .l-pricing-grid { grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
}
.l-pricing {
    background: var(--white); border-radius: 1.25rem;
    border: 1px solid var(--slate-200);
    padding: 1.5rem 1.25rem; box-shadow: var(--shadow-sm, 0 1px 2px rgba(15,23,42,0.06));
    position: relative; overflow: hidden;
    display: flex; flex-direction: column;
    text-align: center;
}
.l-pricing--featured {
    border: 2px solid rgba(13,148,136,0.45);
    box-shadow: var(--shadow-glow);
    transform: translateY(-2px);
}
.l-pricing::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px;
    background: linear-gradient(90deg, var(--brand-500), var(--emerald-400), var(--brand-600));
    opacity: 0.35;
}
.l-pricing--featured::before { opacity: 1; height: 5px; }
.l-pricing__badge {
    display: inline-block; padding: 0.2rem 0.65rem; border-radius: 9999px;
    background: var(--brand-50); color: var(--brand-800);
    font-size: 0.625rem; font-weight: 700; text-transform: uppercase;
    margin: 0 auto 0.75rem; letter-spacing: 0.03em;
}
.l-pricing__title { font-size: 1.125rem; font-weight: 800; color: var(--slate-900); margin: 0; }
.l-pricing__label { font-size: 0.75rem; color: var(--slate-500); margin: 0.25rem 0 0; }
.l-pricing__price {
    display: flex; align-items: baseline; justify-content: center; gap: 0.3rem;
    margin: 1rem 0 0.25rem;
}
.l-pricing__amount { font-size: 1.75rem; font-weight: 900; color: var(--brand-800); letter-spacing: -0.02em; }
.l-pricing__currency { color: var(--slate-500); font-weight: 600; font-size: 0.875rem; }
.l-pricing__period { color: var(--slate-500); font-weight: 500; }
.l-pricing__effective {
    font-size: 0.8125rem; font-weight: 600; color: var(--brand-700);
    margin: 0 0 0.5rem;
}
.l-pricing__note { font-size: 0.75rem; color: var(--slate-500); text-align: center; margin-bottom: 1rem; line-height: 1.4; min-height: 2.5rem; }
.l-pricing__features { display: flex; flex-direction: column; gap: 1rem; margin-bottom: 2rem; }
.l-pricing__features--compact {
    gap: 0.5rem; margin-bottom: 1.25rem; text-align: left; flex: 1;
}
.l-pricing__features--compact li {
    font-size: 0.75rem; color: var(--slate-600);
    padding-left: 1rem; position: relative;
}
.l-pricing__features--compact li::before {
    content: '✓'; position: absolute; left: 0; color: var(--brand-600); font-weight: 700;
}
.l-pricing__features li {
    display: flex; align-items: center; gap: 0.75rem;
    font-size: 0.875rem; color: var(--slate-700);
}
.l-pricing__features svg { color: var(--brand-600); flex-shrink: 0; }
.l-pricing__footer { text-align: center; font-size: 0.75rem; color: var(--slate-400); margin-top: 1rem; }
.l-pricing__footer--wide { margin-top: 1.75rem; }
.l-btn--ghost {
    background: var(--slate-50); color: var(--brand-800); border: 1px solid var(--slate-200);
}
.l-btn--ghost:hover { background: var(--brand-50); border-color: var(--brand-200, #99f6e4); }

/* DEMO CTA */
.l-cta {
    padding: 5rem 0; background: var(--brand-950); color: var(--white); text-align: center;
}
.l-cta h2 { font-size: clamp(1.75rem, 4vw, 2.5rem); font-weight: 900; margin-bottom: 1rem; }
.l-cta p { font-size: 1.125rem; color: rgba(204,251,241,0.8); max-width: 42rem; margin: 0 auto 2rem; }
.l-cta__btns {
    display: flex; flex-direction: column; gap: 1rem; justify-content: center; align-items: center;
}
@media (min-width: 640px) { .l-cta__btns { flex-direction: row; } }
.l-cta .l-btn--white { color: var(--brand-900); }

/* FOOTER */
.l-footer {
    padding: 3rem 0; background: var(--slate-900); color: var(--slate-400); font-size: 0.875rem;
}
.l-footer__inner {
    display: flex; flex-direction: column; align-items: center; gap: 1rem; text-align: center;
}
@media (min-width: 640px) {
    .l-footer__inner { flex-direction: row; justify-content: space-between; text-align: left; }
}
.l-footer__brand { display: flex; align-items: center; gap: 0.5rem; font-weight: 700; color: var(--white); }
.l-footer__mark {
    width: 2rem; height: 2rem; border-radius: 0.5rem;
    display: block; flex-shrink: 0; object-fit: cover;
}
.l-footer a { color: #2dd4bf; font-weight: 600; }
.l-footer a:hover { color: #5eead4; }

/* AI SALES CHAT WIDGET */
.l-chat-root { position: fixed; bottom: 1.25rem; right: 1.25rem; z-index: 60; font-family: var(--font); }
@media (min-width: 640px) { .l-chat-root { bottom: 1.5rem; right: 1.5rem; } }

.l-chat-bubble {
    display: flex; align-items: center; gap: 0.5rem;
    padding: 0.875rem 1.125rem; border-radius: 9999px;
    background: linear-gradient(135deg, var(--brand-700), var(--brand-500));
    color: var(--white); font-weight: 700; font-size: 0.9375rem;
    box-shadow: 0 8px 32px rgba(13, 148, 136, 0.45);
    transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s;
}
.l-chat-bubble:hover { transform: translateY(-2px); box-shadow: 0 12px 40px rgba(13, 148, 136, 0.5); }
.l-chat-bubble.is-hidden { opacity: 0; pointer-events: none; transform: scale(0.9); }
.l-chat-bubble__icon { width: 1.375rem; height: 1.375rem; }
.l-chat-bubble__label { display: none; }
@media (min-width: 480px) { .l-chat-bubble__label { display: inline; } }

.l-chat-panel {
    position: absolute; bottom: 0; right: 0;
    width: min(100vw - 2rem, 22rem); height: min(70vh, 32rem);
    background: var(--white); border-radius: 1.25rem;
    border: 1px solid var(--slate-200);
    box-shadow: 0 25px 60px rgba(15, 23, 42, 0.2);
    display: flex; flex-direction: column; overflow: hidden;
    opacity: 0; visibility: hidden; transform: translateY(12px) scale(0.96);
    transition: opacity 0.28s ease, transform 0.28s ease, visibility 0.28s;
    transform-origin: bottom right;
}
.l-chat-panel.is-open { opacity: 1; visibility: visible; transform: translateY(0) scale(1); }

.l-chat-panel__head {
    display: flex; align-items: flex-start; justify-content: space-between; gap: 0.75rem;
    padding: 1rem 1rem 0.875rem;
    background: linear-gradient(135deg, var(--brand-900), var(--brand-700));
    color: var(--white);
}
.l-chat-panel__brand {
    display: flex; align-items: center; gap: 0.75rem; min-width: 0;
}
.l-chat-panel__brand img {
    width: 2rem; height: 2rem; border-radius: 0.5rem; flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.25);
}
.l-chat-panel__title { font-weight: 800; font-size: 0.9375rem; }
.l-chat-panel__sub { font-size: 0.6875rem; opacity: 0.85; margin-top: 0.125rem; }
.l-chat-panel__close { color: rgba(255,255,255,0.85); padding: 0.25rem; border-radius: 0.5rem; }
.l-chat-panel__close:hover { background: rgba(255,255,255,0.12); color: var(--white); }
.l-chat-panel__close svg { width: 1.25rem; height: 1.25rem; }

.l-chat-panel__messages {
    flex: 1; overflow-y: auto; padding: 1rem;
    background: var(--slate-50); display: flex; flex-direction: column; gap: 0.75rem;
}

.l-chat__msg { display: flex; gap: 0.5rem; align-items: flex-end; max-width: 100%; }
.l-chat__msg--user { flex-direction: row-reverse; }
.l-chat__avatar {
    width: 1.75rem; height: 1.75rem; border-radius: 9999px; flex-shrink: 0;
    background: var(--brand-600); color: var(--white);
    font-size: 0.5625rem; font-weight: 800;
    display: flex; align-items: center; justify-content: center;
}
.l-chat__bubble {
    padding: 0.625rem 0.875rem; border-radius: 1rem;
    font-size: 0.8125rem; line-height: 1.5; max-width: 85%;
    word-break: break-word;
}
.l-chat__msg--bot .l-chat__bubble {
    background: var(--white); color: var(--slate-700);
    border: 1px solid var(--slate-200); border-bottom-left-radius: 0.25rem;
}
.l-chat__msg--user .l-chat__bubble {
    background: var(--brand-600); color: var(--white);
    border-bottom-right-radius: 0.25rem;
}

.l-chat__typing .l-chat__bubble { display: flex; gap: 0.25rem; padding: 0.75rem 1rem; }
.l-chat__typing span {
    width: 0.375rem; height: 0.375rem; border-radius: 9999px; background: var(--slate-400);
    animation: chatBounce 1.2s infinite ease-in-out;
}
.l-chat__typing span:nth-child(2) { animation-delay: 0.15s; }
.l-chat__typing span:nth-child(3) { animation-delay: 0.3s; }
@keyframes chatBounce {
    0%, 80%, 100% { transform: translateY(0); opacity: 0.5; }
    40% { transform: translateY(-4px); opacity: 1; }
}

.l-chat-panel__form {
    display: flex; gap: 0.5rem; padding: 0.75rem;
    border-top: 1px solid var(--slate-200); background: var(--white);
}
.l-chat-panel__input {
    flex: 1; border: 1px solid var(--slate-200); border-radius: 0.75rem;
    padding: 0.625rem 0.875rem; font-size: 0.875rem; font-family: inherit;
}
.l-chat-panel__input:focus {
    outline: none; border-color: var(--brand-500);
    box-shadow: 0 0 0 3px rgba(20, 184, 166, 0.15);
}
.l-chat-panel__send {
    width: 2.5rem; height: 2.5rem; border-radius: 0.75rem; flex-shrink: 0;
    background: var(--brand-600); color: var(--white);
    display: flex; align-items: center; justify-content: center;
    transition: background 0.2s;
}
.l-chat-panel__send:hover:not(:disabled) { background: var(--brand-700); }
.l-chat-panel__send:disabled { opacity: 0.6; cursor: not-allowed; }
.l-chat-panel__send svg { width: 1.125rem; height: 1.125rem; }

/* Public page accessibility and responsive refinements. */
:focus-visible { outline: 3px solid #0f766e; outline-offset: 4px; }
.l-hero :focus-visible, .l-cta :focus-visible, .l-footer :focus-visible { outline-color: #fff; }
.l-skip { position: fixed; top: .5rem; left: .5rem; z-index: 100; background: #fff; color: #134e4a; padding: .75rem 1rem; transform: translateY(-160%); }
.l-skip:focus { transform: translateY(0); }
section[id] { scroll-margin-top: calc(var(--nav-h) + 1.5rem); }
.l-pricing { border-radius: 16px; }
.l-pricing--featured { box-shadow: none; border-color: var(--brand-700); }
.l-pricing__features { flex: 1; }
.l-pricing__label, .l-pricing__note, .l-pricing__features { font-size: .9375rem; }
.l-pricing__footer { font-size: .875rem; color: var(--slate-600); }
.l-faq { max-width: 52rem; }
.l-faq details { border-bottom: 1px solid var(--slate-200); padding: 1.25rem 0; }
.l-faq summary { cursor: pointer; font-size: 1.125rem; font-weight: 600; color: var(--slate-900); }
.l-faq details p { padding-top: .75rem; color: var(--slate-600); }
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* Product discovery and public resource pages. */
.l-text-link { color: var(--brand-800); font-weight: 650; text-decoration: underline; text-decoration-color: #99c9c2; text-underline-offset: 5px; }
.l-text-link:hover { color: var(--brand-950); text-decoration-color: currentColor; }
.l-workflow-links { display: grid; grid-template-columns: 1fr 1fr; column-gap: 3rem; }
.l-workflow-links > a { display: flex; align-items: center; gap: 1.5rem; justify-content: space-between; padding: 1.75rem .5rem; border-bottom: 1px solid var(--slate-200); }
.l-workflow-links > a:hover { background: var(--brand-50); }
.l-workflow-links strong { display: block; color: var(--slate-900); font-size: 1.25rem; margin-bottom: .5rem; }
.l-workflow-links a > span > span { display: block; color: var(--slate-600); font-size: .9375rem; }
.l-workflow-links a > span:last-child { color: var(--brand-700); font-size: 1.5rem; }
.l-public-hero { padding: calc(var(--nav-h) + 2.5rem) 0 3.5rem; background: var(--brand-50); border-bottom: 1px solid var(--brand-100); }
.l-breadcrumb { display: flex; gap: .625rem; flex-wrap: wrap; color: var(--slate-600); font-size: .875rem; margin-bottom: 2.5rem; }
.l-breadcrumb a { text-decoration: underline; text-underline-offset: 4px; }
.l-public-category { color: var(--brand-800); font-weight: 650; font-size: .9375rem; margin-bottom: .75rem; }
.l-public-hero h1 { font-size: clamp(2rem, 4.5vw, 3.5rem); letter-spacing: -.035em; line-height: 1.12; color: var(--slate-900); max-width: 18ch; margin-bottom: 1.5rem; }
.l-public-hero > .l-container > p:not(.l-public-category) { max-width: 48rem; font-size: 1.125rem; color: var(--slate-600); }
.l-public-actions { display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap; margin-top: 2rem; }
.l-public-actions .l-btn { min-height: 48px; }
.l-public-body { display: grid; grid-template-columns: minmax(0, 1fr) 19rem; gap: 5rem; align-items: start; padding-top: 4rem; padding-bottom: 4rem; }
.l-public-copy { padding-bottom: 2.5rem; }
.l-public-copy h2 { font-size: 1.5rem; line-height: 1.3; color: var(--slate-900); margin-bottom: 1rem; }
.l-public-copy > p { color: var(--slate-600); line-height: 1.85; }
.l-plan-note { position: sticky; top: calc(var(--nav-h) + 2rem); background: var(--slate-50); padding: 1.5rem; border-radius: 12px; }
.l-plan-note h2 { font-size: 1.125rem; color: var(--slate-900); margin-bottom: .75rem; }
.l-plan-note p { color: var(--slate-600); font-size: .9375rem; margin-bottom: 1rem; }
.l-plan-note a { display: block; margin-top: 1rem; overflow-wrap: anywhere; }
.l-plan-note hr { border: 0; border-top: 1px solid var(--slate-200); margin: 1.5rem 0; }
.l-related { display: flex; justify-content: center; flex-wrap: wrap; gap: 1.5rem 2rem; }
.l-footer__grid { display: grid; grid-template-columns: 1.3fr .8fr 1.1fr 1fr; gap: 2.5rem; }
.l-footer__intro > p { color: var(--slate-400); margin: 1rem 0; max-width: 20rem; }
.l-footer__grid nav h2 { font-size: .9375rem; color: #fff; margin-bottom: 1rem; }
.l-footer__grid nav a { display: block; font-size: .875rem; color: var(--slate-200); padding: .375rem 0; font-weight: 400; }
.l-footer__grid nav a:hover { color: #5eead4; text-decoration: underline; text-underline-offset: 4px; }
.l-footer__bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: .75rem; padding-top: 1.5rem; margin-top: 2.5rem; border-top: 1px solid var(--slate-700); font-size: .8125rem; }
/* A self-contained, fictional visit illustration. */
.l-demo [hidden] { display: none !important; }
.l-demo__intro { display: grid; grid-template-columns: 1fr 1fr; align-items: end; gap: 3rem; margin-bottom: 2.5rem; }
.l-demo__intro h2 { color: var(--slate-900); font-size: clamp(2rem, 4vw, 3rem); line-height: 1.1; letter-spacing: -.035em; }
.l-demo__intro > div > p { color: var(--slate-600); }
.l-demo__intro .l-demo__disclaimer { font-size: .8125rem; margin-top: 1rem; }
.l-demo__tabs { display: grid; grid-template-columns: repeat(4, 1fr); gap: .5rem; padding: .5rem; background: var(--slate-100); border-radius: 12px; margin-bottom: 1.5rem; }
.l-demo__tabs button { min-height: 52px; padding: .75rem; text-align: left; border-radius: 8px; color: var(--slate-600); font-size: .9375rem; font-weight: 650; }
.l-demo__tabs button > span { font-size: .75rem; margin-right: .5rem; }
.l-demo__tabs button[aria-selected="true"] { color: #fff; background: var(--brand-800); }
.l-demo__tabs button:hover:not([aria-selected="true"]) { background: #fff; }
.l-demo__panel { display: grid; grid-template-columns: .9fr 1.1fr; gap: 3rem; padding: 2.5rem; background: var(--slate-50); border: 1px solid var(--slate-200); border-radius: 16px; align-items: center; margin-bottom: 1rem; min-height: 380px; }
.l-demo__role { color: var(--brand-800); font-size: .875rem; font-weight: 650; }
.l-demo__explanation h3 { font-size: 1.75rem; color: var(--slate-900); line-height: 1.25; letter-spacing: -.025em; margin: .75rem 0 1rem; }
.l-demo__explanation p { color: var(--slate-600); margin-bottom: 1.5rem; }
.l-demo__screen { background: #fff; border: 1px solid var(--slate-200); border-radius: 12px; overflow: hidden; }
.l-demo__screen-head { background: var(--brand-950); color: #fff; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem 1.25rem; font-size: .875rem; font-weight: 650; }
.l-demo__sample { font-size: .6875rem; color: var(--brand-100); font-weight: 400; }
.l-demo__screen-body { padding: 1.5rem; }
.l-demo__patient { font-size: 1rem; font-weight: 700; color: var(--slate-900); }
.l-demo__patient span { display: block; font-size: .75rem; font-weight: 400; color: var(--slate-600); margin-top: .125rem; }
.l-demo__rows { margin-top: 1.25rem; }
.l-demo__rows > div { padding: .75rem 0; border-top: 1px solid var(--slate-100); display: flex; justify-content: space-between; gap: 1rem; font-size: .8125rem; }
.l-demo__rows dt { color: var(--slate-600); }
.l-demo__rows dd { color: var(--slate-900); font-weight: 600; text-align: right; }
.l-demo__status { color: var(--brand-800); background: var(--brand-50); padding: .25rem .5rem; border-radius: 4px; }
.l-demo__rows .l-demo__balance { font-size: 1rem; }
.l-demo__hint { color: var(--slate-600); font-size: .75rem; padding-top: 1rem; border-top: 1px solid var(--slate-200); margin-top: .5rem; }
.l-demo__field-label { color: var(--slate-600); font-size: .75rem; margin: 1rem 0 .5rem; }
.l-demo__teeth { display: grid; grid-template-columns: repeat(8, 1fr); gap: .25rem; }
.l-demo__teeth span { display: grid; place-items: center; min-height: 42px; background: var(--slate-50); border: 1px solid var(--slate-200); border-radius: 6px; color: var(--slate-600); font-size: .8125rem; }
.l-demo__teeth .is-documented { background: var(--brand-800); color: #fff; border-color: var(--brand-800); }
.l-demo__footer { display: flex; gap: 1rem; justify-content: space-between; flex-wrap: wrap; margin-top: 1.5rem; font-size: .9375rem; color: var(--slate-600); }
@media (max-width: 900px) {
    .l-public-body { grid-template-columns: minmax(0, 1fr); gap: 1rem; }
    .l-plan-note { position: static; }
    .l-footer__grid { grid-template-columns: 1fr 1fr; }
    .l-demo__panel { gap: 1.5rem; padding: 1.5rem; }
}
@media (max-width: 639px) {
    .l-workflow-links { grid-template-columns: minmax(0, 1fr); }
    .l-demo__intro, .l-demo__panel { grid-template-columns: minmax(0, 1fr); gap: 1.5rem; }
    .l-demo__tabs { grid-template-columns: 1fr 1fr; }
    .l-demo__tabs button { font-size: .8125rem; }
    .l-demo__panel { padding: 1rem; }
    .l-demo__screen-body { padding: 1rem; }
    .l-demo__screen-head { padding: .75rem 1rem; }
    .l-demo__screen-head > span:first-child { font-size: .8125rem; }
    .l-demo__sample { font-size: .625rem; }
    .l-demo__rows > div { gap: .5rem; }
    .l-footer__grid { grid-template-columns: minmax(0, 1fr); gap: 2rem; }
    .l-breadcrumb { margin-bottom: 1.5rem; }
}

/* Clinic journal: readable guides and a small editorial index. */
.l-journal-heading { display: flex; justify-content: space-between; align-items: end; gap: 1.5rem; margin-bottom: 2rem; flex-wrap: wrap; }
.l-journal-heading h2 { font-size: clamp(1.75rem, 3vw, 2.5rem); line-height: 1.2; color: var(--slate-900); letter-spacing: -.025em; max-width: 24ch; }
.l-journal-section-title { font-size: 1.5rem; color: var(--slate-900); margin-bottom: 2rem; }
.l-journal-list { display: grid; grid-template-columns: 1.2fr 1fr; gap: 0 3rem; }
.l-journal-card { display: block; padding: 1.75rem 0; border-top: 1px solid var(--slate-200); }
.l-journal-card:first-child { grid-column: 1 / -1; display: grid; grid-template-columns: 1.15fr 1fr; gap: 0 3rem; padding: 2rem; background: #fff; border: 1px solid var(--slate-200); border-radius: 12px; margin-bottom: 1.5rem; }
.l-journal-card:first-child .l-journal-meta { grid-column: 1 / -1; margin-bottom: 1rem; }
.l-journal-card:first-child h3 { grid-column: 1; grid-row: 2 / span 2; margin-top: 0; }
.l-journal-card:first-child > p, .l-journal-card:first-child > .l-text-link { grid-column: 2; }
.l-journal-card h3 { font-size: 1.375rem; line-height: 1.3; color: var(--slate-900); margin: 1rem 0; letter-spacing: -.02em; }
.l-journal-card:first-child h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
.l-journal-card p { color: var(--slate-600); font-size: .9375rem; margin-bottom: 1.5rem; }
.l-journal-card:hover h3 { color: var(--brand-800); text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1px; }
.l-journal-meta { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; color: var(--slate-600); font-size: .8125rem; }
.l-journal-meta > span:first-child { color: var(--brand-800); font-weight: 600; }
.l-journal-meta a { text-decoration: underline; text-underline-offset: 4px; }
.l-article-hero h1 { max-width: 24ch; }
.l-article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 19rem; gap: 4rem; align-items: start; padding-block: 4rem; }
.l-article-copy { max-width: 44rem; }
.l-article-intro { font-size: 1.1875rem; line-height: 1.8; color: var(--slate-700); margin-bottom: 3rem; }
.l-article-copy section { scroll-margin-top: calc(var(--nav-h) + 2rem); margin-bottom: 2.5rem; }
.l-article-copy h2 { color: var(--slate-900); font-size: 1.5rem; line-height: 1.3; margin-bottom: 1.125rem; }
.l-article-copy section p { color: var(--slate-600); line-height: 1.85; margin-bottom: 1rem; }
.l-article-layout .l-plan-note nav a { font-size: .875rem; line-height: 1.5; color: var(--slate-600); }
.l-article-layout .l-plan-note nav a:hover { color: var(--brand-800); text-decoration: underline; }
.l-article-next { padding: 1.75rem; background: var(--brand-50); border-radius: 12px; }
.l-article-next p { color: var(--slate-600); margin-bottom: 1rem; }
.l-article-next a { display: inline-block; margin: .5rem 1rem .5rem 0; }
@media (min-width: 1024px) { .l-nav__links a { padding-inline: .75rem; } }
@media (max-width: 900px) { .l-article-layout { grid-template-columns: minmax(0, 1fr); gap: 1rem; } }
@media (max-width: 639px) {
    .l-journal-list { grid-template-columns: minmax(0, 1fr); gap: 1.5rem; }
    .l-journal-card:first-child { grid-column: auto; display: block; padding: 1.5rem; margin-bottom: 0; }
    .l-article-layout { padding-block: 2.5rem; }
    .l-article-copy h2 { font-size: 1.375rem; }
}

/* Pricing: explicit upgrades, readable scope and an optional full comparison. */
.l-pricing__terms { display: flex; justify-content: space-between; flex-wrap: wrap; gap: .75rem; margin-bottom: 1.5rem; color: var(--slate-600); font-size: .875rem; }
.l-pricing-grid { align-items: stretch; gap: 1.25rem; }
.l-pricing { text-align: left; border-radius: 12px; padding: 1.75rem; border: 1px solid var(--slate-200); box-shadow: none; }
.l-pricing::before { display: none; }
.l-pricing--featured { border: 2px solid var(--brand-700); padding: calc(1.75rem - 1px); transform: none; background: #fff; }
.l-pricing__topline { display: flex; justify-content: space-between; align-items: center; gap: .5rem; min-height: 2rem; font-size: .75rem; color: var(--slate-600); margin-bottom: .75rem; }
.l-pricing__badge { margin: 0; text-transform: none; letter-spacing: 0; font-size: .6875rem; background: var(--brand-800); color: #fff; padding: .25rem .5rem; }
.l-pricing__title { font-size: 1.625rem; letter-spacing: -.03em; }
.l-pricing__summary { color: var(--slate-600); font-size: .9375rem; margin-top: .5rem; min-height: 3rem; }
.l-pricing__price { justify-content: flex-start; margin-top: 1.5rem; }
.l-pricing__amount { font-size: clamp(2rem, 3vw, 2.75rem); line-height: 1.1; font-weight: 800; }
.l-pricing__effective { color: var(--slate-600); font-weight: 400; font-size: .8125rem; margin-top: .5rem; }
.l-pricing__note { text-align: left; font-size: .875rem; line-height: 1.65; min-height: 4.5rem; margin: 1.25rem 0; }
.l-pricing > .l-btn { border-radius: 8px; min-height: 48px; padding: .75rem; box-shadow: none; }
.l-pricing__trial-note { color: var(--slate-600); font-size: .75rem; text-align: center; margin-top: .625rem; }
.l-pricing__breakdown { border-top: 1px solid var(--slate-200); padding-top: 1.5rem; margin-top: 1.5rem; flex: 1; }
.l-pricing__feature-group { margin-bottom: 1.5rem; }
.l-pricing__feature-group h4 { color: var(--slate-900); font-size: .8125rem; margin-bottom: .875rem; }
.l-pricing__feature-group li { display: flex; align-items: baseline; gap: .625rem; color: var(--slate-600); font-size: .875rem; margin-top: .625rem; }
.l-pricing__feature-group li > span:first-child { color: var(--brand-700); font-weight: 700; flex-shrink: 0; }
.l-pricing__service { display: flex; flex-direction: column; padding: 1rem; background: var(--brand-50); border-radius: 8px; gap: .25rem; }
.l-pricing__service > span { color: var(--slate-600); font-size: .75rem; }
.l-pricing__service strong { color: var(--brand-800); font-size: .9375rem; }
.l-pricing__upgrade { color: var(--slate-600); font-size: .75rem; line-height: 1.65; margin-top: 1rem; min-height: 3.75rem; }
.l-pricing__included { display: grid; grid-template-columns: 1fr 1.5fr; gap: 2rem; padding: 2rem 0; border-bottom: 1px solid var(--slate-200); }
.l-pricing__included h3, .l-pricing__fineprint h3 { color: var(--slate-900); font-size: 1rem; margin-bottom: .375rem; }
.l-pricing__included p, .l-pricing__fineprint p { color: var(--slate-600); font-size: .875rem; }
.l-pricing__included ul { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem 1rem; color: var(--slate-700); font-size: .875rem; align-content: center; }
.l-pricing__included li::before { content: '✓'; color: var(--brand-700); margin-right: .5rem; font-weight: 700; }
.l-plan-comparison { margin-top: 1.5rem; background: #fff; border: 1px solid var(--slate-200); border-radius: 12px; }
.l-plan-comparison > summary { display: flex; align-items: center; justify-content: space-between; gap: 1rem; cursor: pointer; list-style: none; padding: 1.5rem; color: var(--slate-900); font-size: 1.125rem; font-weight: 700; }
.l-plan-comparison > summary::-webkit-details-marker { display: none; }
.l-plan-comparison > summary:hover { background: var(--brand-50); border-radius: 12px; }
.l-plan-comparison__subtitle { display: block; color: var(--slate-600); font-size: .875rem; font-weight: 400; margin-top: .25rem; }
.l-plan-comparison__toggle { color: var(--brand-800); font-size: 1.75rem; font-weight: 400; }
.l-plan-comparison[open] .l-plan-comparison__toggle { transform: rotate(45deg); }
.l-plan-comparison > p { color: var(--slate-600); font-size: .8125rem; padding: 0 1.5rem 1.5rem; }
.l-plan-comparison__scroll { overflow-x: auto; border-radius: 0 0 12px 12px; }
.l-plan-comparison table { border-collapse: collapse; width: 100%; min-width: 720px; font-size: .875rem; }
.l-plan-comparison caption { text-align: left; padding: .75rem 1.5rem; font-size: .8125rem; color: var(--slate-600); border-top: 1px solid var(--slate-200); }
.l-plan-comparison th, .l-plan-comparison td { padding: 1rem 1.5rem; border-top: 1px solid var(--slate-200); vertical-align: middle; }
.l-plan-comparison thead th { color: var(--slate-900); text-align: center; width: 20%; font-size: 1rem; }
.l-plan-comparison thead th:first-child { text-align: left; width: 40%; }
.l-plan-comparison thead th > span { display: block; color: var(--slate-600); font-size: .75rem; font-weight: 400; margin-top: .375rem; }
.l-plan-comparison tbody th { text-align: left; color: var(--slate-700); font-weight: 500; }
.l-plan-comparison td { text-align: center; white-space: nowrap; color: var(--slate-700); }
.l-plan-comparison .l-plan-comparison__group th { background: var(--slate-100); color: var(--slate-900); font-weight: 700; font-size: .8125rem; }
.l-plan-comparison th small { display: block; font-weight: 400; color: var(--slate-600); font-size: .75rem; line-height: 1.6; margin-top: .375rem; }
.l-plan-comparison__recommended { background: var(--brand-50); }
.l-plan-comparison__yes { color: var(--brand-800); font-weight: 600; }
.l-plan-comparison__no { color: var(--slate-600); font-size: .8125rem; }
.l-pricing__fineprint { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; padding: 2rem 0; }
.l-pricing__help { text-align: center; color: var(--slate-600); font-size: .9375rem; }
@media (min-width: 640px) and (max-width: 1023px) { .l-pricing-grid { grid-template-columns: 1fr; } }
@media (max-width: 639px) {
    .l-pricing { padding: 1.5rem; }
    .l-pricing--featured { padding: calc(1.5rem - 1px); }
    .l-pricing__summary, .l-pricing__note, .l-pricing__upgrade { min-height: 0; }
    .l-pricing__included, .l-pricing__fineprint { grid-template-columns: minmax(0, 1fr); gap: 1.25rem; }
    .l-pricing__included ul { grid-template-columns: minmax(0, 1fr); }
    .l-pricing__help a { display: inline-block; margin-top: .5rem; }
}

/* Pricing cards explain the choice; a shared trial action starts the journey. */
.l-pricing { padding: 1.75rem; }
.l-pricing--featured { padding: calc(1.75rem - 1px); }
.l-pricing__topline { min-height: 2.5rem; margin-bottom: 0; }
.l-pricing__price { margin-top: 1.5rem; }
.l-pricing__summary { min-height: 4.5rem; font-size: .9375rem; line-height: 1.65; margin-top: 1.25rem; }
.l-pricing__breakdown { padding-top: 1.25rem; margin-top: 1.25rem; }
.l-pricing__feature-group:last-child { margin-bottom: 0; }
.l-pricing__start { display: flex; align-items: center; justify-content: space-between; gap: 2rem; margin-top: 1.5rem; padding: 1.5rem 1.75rem; background: var(--brand-50); border-radius: 12px; }
.l-pricing__start h3 { color: var(--brand-950); font-size: 1.125rem; margin-bottom: .375rem; }
.l-pricing__start p { color: var(--slate-600); font-size: .875rem; max-width: 40rem; }
.l-pricing__start a { flex-shrink: 0; min-height: 48px; box-shadow: none; border-radius: 8px; }
.l-pricing__included { display: flex; flex-wrap: wrap; gap: .375rem 1rem; align-items: baseline; padding: 1.5rem .25rem; }
.l-pricing__included h3 { font-size: .875rem; margin-bottom: 0; }
@media (min-width: 768px) and (max-width: 1023px) { .l-pricing-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } .l-pricing { padding: 1.25rem; } .l-pricing--featured { padding: calc(1.25rem - 1px); } .l-pricing__summary { min-height: 7.75rem; } .l-pricing__topline { flex-wrap: wrap; align-content: start; min-height: 4.5rem; } }
@media (max-width: 767px) { .l-pricing__summary { min-height: 0; } .l-pricing__start { align-items: stretch; flex-direction: column; gap: 1.25rem; padding: 1.5rem; } .l-pricing__start a { align-self: flex-start; } }

/* Compact feature lists: availability is conveyed by icon and text treatment. */
.l-pricing__feature-group { margin-bottom: 1.5rem; }
.l-pricing__feature-group h4 { margin-bottom: .875rem; }
.l-pricing__feature-group ul { display: flex; flex-direction: column; gap: .75rem; }
.l-pricing__feature-group li.l-pricing__feature { min-height: 0; margin: 0; padding: 0; align-items: flex-start; gap: .5rem; line-height: 1.45; color: var(--slate-700); }
.l-pricing__feature > span:first-child { width: 1rem; flex: 0 0 1rem; text-align: center; line-height: 1.45; }
.l-pricing__feature-status { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.l-pricing__feature.is-unavailable > span:first-child { color: #8792a3; font-size: .875rem; font-weight: 400; }
.l-pricing__feature.is-unavailable .l-pricing__feature-name { color: #667085; text-decoration: none; }
.l-pricing__card-action { margin-top: 1.25rem; }
.l-pricing__card-action a { box-shadow: none; border-radius: 8px; min-height: 48px; }
.l-pricing__card-action p { font-size: .75rem; color: var(--slate-600); text-align: center; margin-top: .75rem; }

/* Hero: editorial headline paired with a layered, fictional dental visit. */
@font-face { font-family: 'Instrument Serif'; src: url('../fonts/instrument-serif-latin-400-normal.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Instrument Serif'; src: url('../fonts/instrument-serif-latin-400-italic.woff2') format('woff2'); font-weight: 400; font-style: italic; font-display: swap; }
.l-hero {
    --hero-ink: #0c2321; --hero-muted: #4b5f5c; --hero-line: #cfe0db; --hero-bg: #f2f7f5;
    --hero-shadow: 0 1px 2px rgba(4, 47, 46, .06), 0 12px 32px -12px rgba(4, 47, 46, .22), 0 40px 80px -40px rgba(4, 47, 46, .28);
    position: relative; isolation: isolate; overflow: hidden;
    background: var(--hero-bg); color: var(--hero-ink);
    padding: calc(var(--nav-h) + clamp(3rem, 7vw, 6rem)) 0 0;
}
.l-hero::before {
    content: ''; display: block; position: absolute; inset: 0; z-index: -1; pointer-events: none;
    background:
        radial-gradient(60rem 36rem at 88% 18%, rgba(20, 184, 166, .16), transparent 62%),
        radial-gradient(40rem 30rem at 4% 96%, rgba(15, 118, 110, .08), transparent 70%),
        radial-gradient(circle at 1px 1px, rgba(12, 35, 33, .07) 1px, transparent 0) 0 0 / 22px 22px;
    -webkit-mask-image: linear-gradient(180deg, #000 55%, transparent);
    mask-image: linear-gradient(180deg, #000 55%, transparent);
}
.l-hero__layout { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); gap: clamp(2.5rem, 6vw, 5.5rem); align-items: center; }
.l-hero__content { max-width: 36rem; }
.l-hero__eyebrow { display: inline-flex; align-items: center; gap: .625rem; margin-bottom: 1.75rem; color: var(--brand-800); font-size: .8125rem; font-weight: 600; letter-spacing: .01em; }
.l-hero__eyebrow > span { width: 1.75rem; height: 1px; background: currentColor; }
.l-hero h1 {
    font-family: 'Instrument Serif', 'Iowan Old Style', 'Palatino Linotype', Georgia, serif;
    font-weight: 400; font-size: clamp(3rem, 6.4vw, 5.75rem); line-height: .98; letter-spacing: -.025em;
    max-width: 11ch; margin-bottom: 1.75rem; color: var(--hero-ink); text-wrap: balance;
}
.l-hero h1 em { font-style: italic; color: var(--brand-700); }
.l-hero__sub { max-width: 31rem; font-size: 1.125rem; line-height: 1.65; color: var(--hero-muted); margin-bottom: 2.25rem; text-wrap: pretty; }
.l-hero__ctas { display: flex; flex-direction: row; flex-wrap: wrap; align-items: center; gap: 1rem 1.75rem; }
.l-hero__ctas .l-btn {
    min-height: 54px; padding: .875rem 1.25rem .875rem 1.375rem; border-radius: 10px; font-size: .9375rem; font-weight: 650;
    background: var(--hero-ink); box-shadow: 0 1px 0 rgba(255,255,255,.12) inset, 0 10px 24px -10px rgba(4, 47, 46, .55);
    transition: transform .25s cubic-bezier(.2,.8,.2,1), background-color .2s ease, box-shadow .25s ease;
}
.l-hero__ctas .l-btn span { display: inline-block; transition: transform .25s cubic-bezier(.2,.8,.2,1); }
.l-hero__ctas .l-btn:hover { background: var(--brand-800); transform: translateY(-2px); box-shadow: 0 1px 0 rgba(255,255,255,.12) inset, 0 16px 30px -12px rgba(4, 47, 46, .6); }
.l-hero__ctas .l-btn:hover span { transform: translateX(3px); }
.l-hero__ctas .l-btn:active { transform: translateY(0) scale(.98); }
.l-hero__demo {
    display: inline-flex; align-items: center; gap: .5rem; min-height: 44px; font-size: .9375rem; font-weight: 600; color: var(--hero-ink);
    background: linear-gradient(currentColor, currentColor) 0 calc(100% - 10px) / 0 1px no-repeat; transition: background-size .3s ease;
}
.l-hero__demo:hover { background-size: 100% 1px; }
.l-hero__demo span { transition: transform .25s ease; }
.l-hero__demo:hover span { transform: translate(2px, -2px); }
.l-hero__trust { margin-top: 1.125rem; font-size: .8125rem; color: var(--hero-muted); }
.l-hero__local { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 2.75rem; border-top: 1px solid var(--hero-line); }
.l-hero__local li { padding: 1rem 1rem 0 0; }
.l-hero__local li + li { padding-left: 1rem; border-left: 1px solid var(--hero-line); }
.l-hero__local strong { display: block; font-size: .875rem; font-weight: 650; color: var(--hero-ink); letter-spacing: -.01em; }
.l-hero__local span { display: block; margin-top: .125rem; font-size: .75rem; line-height: 1.5; color: var(--hero-muted); }

.l-hero__stage { position: relative; isolation: isolate; padding: 3rem 0 3.25rem 1.5rem; }
.l-hero__stage::before { content: ''; position: absolute; inset: 1.5rem 2.5rem 5rem 0; border-radius: 22px; background: linear-gradient(160deg, #dcebe6, #e9f2ef); transform: rotate(-2.5deg); z-index: -1; }
.l-hero-visit { position: relative; margin: 0; background: #fff; border: 1px solid rgba(12, 35, 33, .08); border-radius: 16px; overflow: hidden; box-shadow: var(--hero-shadow); }
.l-hero-visit__top { display: flex; align-items: center; justify-content: space-between; gap: .5rem; padding: .875rem 1.25rem; border-bottom: 1px solid #e6efec; background: #fbfdfc; color: var(--hero-ink); font-size: .75rem; }
.l-hero-visit__top > span:first-child { display: flex; align-items: center; gap: .5rem; font-weight: 600; }
.l-hero-visit__sample { color: var(--hero-muted); font-size: .6875rem; border: 1px solid #dfe9e6; border-radius: 4px; padding: .0625rem .375rem; }
.l-hero-visit__body { padding: 1.5rem; }
.l-hero-visit__heading { display: flex; justify-content: space-between; gap: .75rem; align-items: center; }
.l-hero-visit__heading h2 { font-size: 1.1875rem; line-height: 1.3; letter-spacing: -.02em; color: var(--hero-ink); font-weight: 650; }
.l-hero-visit__avatar { width: 36px; height: 36px; display: grid; place-items: center; background: #ddefe8; color: var(--brand-800); border-radius: 10px; flex-shrink: 0; font-size: .875rem; font-weight: 600; }
.l-hero-visit__patient { margin-top: 1rem; padding-bottom: 1.25rem; border-bottom: 1px solid #e6efec; display: flex; flex-wrap: wrap; align-items: baseline; gap: .25rem .75rem; }
.l-hero-visit__patient strong { font-size: .8125rem; font-weight: 600; }
.l-hero-visit__patient > span { color: var(--hero-muted); font-size: .6875rem; font-variant-numeric: tabular-nums; }
.l-hero-visit__chart { padding-block: 1rem; border-bottom: 1px solid #e6efec; }
.l-hero-visit__chart > div:first-child { display: flex; align-items: center; justify-content: space-between; }
.l-hero-visit__chart h3 { font-size: .75rem; font-weight: 600; color: var(--slate-700); }
.l-hero-visit__chart > div:first-child > span { font-size: .625rem; color: var(--brand-800); background: var(--brand-50); padding: .125rem .5rem; border-radius: 4px; }
.l-hero-visit__teeth { display: grid; grid-template-columns: repeat(8, 1fr); gap: .25rem; margin-block: .875rem; }
.l-hero-visit__teeth > div { position: relative; color: #7a8d8a; display: grid; justify-items: center; gap: .375rem; padding: .5rem .125rem; border-radius: 8px; }
.l-hero-visit__teeth svg { width: 100%; max-width: 30px; height: 38px; }
.l-hero-visit__teeth span { font-size: .625rem; font-variant-numeric: tabular-nums; }
.l-hero-visit__teeth .is-selected { background: var(--hero-ink); color: #fff; box-shadow: 0 8px 18px -8px rgba(4, 47, 46, .6); }
.l-hero-visit__teeth .is-selected::after { content: ''; position: absolute; inset: -3px; border-radius: 11px; border: 1.5px solid var(--brand-500); opacity: 0; animation: l-hero-ring 2.8s 1.4s ease-out infinite; }
.l-hero-visit__chart > p { color: var(--brand-800); font-size: .6875rem; display: flex; align-items: center; gap: .5rem; }
.l-hero-visit__chart > p > span { width: 6px; height: 6px; background: var(--brand-600); border-radius: 50%; }
.l-hero-visit__journey { list-style: none; margin-top: 1.25rem; display: grid; gap: 1rem; }
.l-hero-visit__journey li { display: flex; align-items: flex-start; gap: .75rem; }
.l-hero-visit__journey li > span { width: 24px; height: 24px; display: grid; place-items: center; flex-shrink: 0; color: var(--slate-600); background: var(--slate-100); border-radius: 7px; font-size: .625rem; }
.l-hero-visit__journey li:first-child > span { background: var(--brand-50); color: var(--brand-800); }
.l-hero-visit__journey .is-current > span { background: var(--hero-ink); color: #fff; }
.l-hero-visit__journey strong { display: block; font-size: .75rem; font-weight: 600; color: var(--hero-ink); }
.l-hero-visit__journey div > span { display: block; font-size: .6875rem; color: var(--hero-muted); margin-top: .125rem; }
.l-hero-visit figcaption { padding: .75rem 1.5rem; border-top: 1px solid #e6efec; color: var(--hero-muted); font-size: .625rem; background: #fbfdfc; }

.l-hero-float { position: absolute; display: flex; align-items: center; gap: .75rem; padding: .75rem 1rem .75rem .75rem; background: rgba(255, 255, 255, .92); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border: 1px solid rgba(12, 35, 33, .08); border-radius: 12px; box-shadow: var(--hero-shadow); font-size: .75rem; line-height: 1.35; color: var(--hero-ink); }
.l-hero-float strong { display: block; font-weight: 600; }
.l-hero-float small { display: block; font-size: .6875rem; color: var(--hero-muted); font-variant-numeric: tabular-nums; }
.l-hero-float__icon { width: 32px; height: 32px; display: grid; place-items: center; flex-shrink: 0; border-radius: 9px; background: var(--brand-50); color: var(--brand-700); }
.l-hero-float__icon svg { width: 16px; height: 16px; }
.l-hero-float--appt { top: 0; right: -.75rem; z-index: 1; }
.l-hero-float--pay { bottom: 0; left: -.25rem; z-index: 1; }

.l-hero__bottom { margin-top: clamp(3rem, 6vw, 4.5rem); padding-block: 1.25rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; font-size: .8125rem; color: var(--hero-muted); border-top: 1px solid var(--hero-line); }
.l-hero__bottom a { color: var(--brand-800); font-weight: 600; }
.l-hero__bottom a:hover { text-decoration: underline; text-underline-offset: 4px; }
.l-hero :focus-visible { outline: 2px solid var(--brand-700); outline-offset: 3px; }

/* Staggered entrance; skipped entirely for reduced motion. */
@keyframes l-hero-rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes l-hero-ring { 0% { opacity: .9; transform: scale(.96); } 70%, 100% { opacity: 0; transform: scale(1.14); } }
@media (prefers-reduced-motion: no-preference) {
    .l-hero__content > *, .l-hero-visit, .l-hero-float { animation: l-hero-rise .7s cubic-bezier(.2,.8,.2,1) both; }
    .l-hero__content > :nth-child(2) { animation-delay: .06s; }
    .l-hero__content > :nth-child(3) { animation-delay: .12s; }
    .l-hero__content > :nth-child(4) { animation-delay: .18s; }
    .l-hero__content > :nth-child(n+5) { animation-delay: .24s; }
    .l-hero-visit { animation-delay: .2s; }
    .l-hero-float--appt { animation-delay: .55s; }
    .l-hero-float--pay { animation-delay: .7s; }
}
@media (prefers-reduced-motion: reduce) { .l-hero-visit__teeth .is-selected::after { animation: none; } }

@media (max-width: 1023px) {
    .l-hero__layout { gap: 2.5rem; }
    .l-hero-visit__body { padding: 1.125rem; }
    .l-hero-float--appt { right: 0; }
    .l-hero__local { grid-template-columns: minmax(0, 1fr); }
    .l-hero__local li, .l-hero__local li + li { display: flex; justify-content: space-between; gap: 1rem; padding: .75rem 0; border-left: 0; border-bottom: 1px solid var(--hero-line); }
    .l-hero__local span { margin-top: 0; text-align: right; }
}
@media (max-width: 767px) {
    .l-hero__layout { grid-template-columns: minmax(0, 1fr); }
    .l-hero h1 { font-size: clamp(3rem, 13.5vw, 4rem); }
    .l-hero__sub { font-size: 1.0625rem; }
    .l-hero__stage { padding: 3rem 0 3.25rem; max-width: 34rem; }
    .l-hero__stage::before { inset: 2rem .75rem 2.5rem; }
    .l-hero-float--appt { right: .5rem; }
    .l-hero-float--pay { left: .5rem; }
    .l-hero__bottom { margin-top: 2rem; font-size: .75rem; flex-wrap: wrap; }
}
