/* Landing + floating nav. Motion uses transform/opacity only. */
:root { --spring: cubic-bezier(.32, .72, 0, 1); --r-xl: 12px; }

/* Floating island nav (all pages) */
.topbar { background: transparent; border: 0; backdrop-filter: none; padding-top: 14px; }
.topbar__in {
    height: 58px; padding-inline: 10px 12px; border-radius: 12px;
    background: rgba(255, 255, 255, .78); backdrop-filter: blur(18px) saturate(1.4);
    box-shadow: 0 0 0 1px rgba(15, 107, 138, .08), 0 14px 40px -18px rgba(18, 52, 70, .28);
}
.brand { padding-inline: 8px; }

/* Double-bezel */
.bezel { padding: 6px; border-radius: 12px; background: rgba(15, 107, 138, .055); box-shadow: 0 0 0 1px rgba(15, 107, 138, .09); }
.bezel__in {
    background: #fff; border-radius: 12px; padding: 24px; height: 100%;
    box-shadow: inset 0 1px 1px rgba(255, 255, 255, .9), 0 20px 40px -24px rgba(18, 52, 70, .22);
}

/* Eyebrow, island button */
.eyebrow-pill { display: inline-block; font-size: .72rem; letter-spacing: .04em; font-weight: 600; padding: 4px 14px; border-radius: 12px; background: var(--accent-soft); color: var(--accent-ink); box-shadow: 0 0 0 1px rgba(15, 107, 138, .12); }
.btn-island {
    display: inline-flex; align-items: center; gap: 14px; cursor: pointer; border: 0; font: inherit; font-weight: 600;
    padding: 6px 22px 6px 6px; border-radius: 12px; background: var(--ink); color: #fff;
    transition: transform .5s var(--spring), background .3s;
}
.btn-island:hover { background: var(--accent-ink); color: #fff; }
.btn-island:active { transform: scale(.97); }
.btn-island__dot { width: 36px; height: 36px; border-radius: 50%; background: rgba(255, 255, 255, .14); display: grid; place-items: center; transition: transform .5s var(--spring), background .3s; }
.btn-island__dot svg { width: 16px; height: 16px; fill: none; stroke: #fff; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.btn-island:hover .btn-island__dot { transform: translate(-4px, -1px) scale(1.06); background: rgba(255, 255, 255, .24); }
.btn-island--ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); }
.btn-island--ghost:hover { background: var(--ink); }
.btn-island--ghost .btn-island__dot { background: var(--tint); }
.btn-island--ghost .btn-island__dot svg { stroke: var(--ink); }
.btn-island--ghost:hover .btn-island__dot svg { stroke: #fff; }

/* Scroll reveal */
.js [data-reveal] { opacity: 0; transform: translateY(44px); transition: opacity .9s var(--spring), transform .9s var(--spring); transition-delay: var(--d, 0ms); }
.js [data-reveal].in { opacity: 1; transform: none; }

/* Hero */
.lp-hero { position: relative; padding: 56px 0 40px; overflow-x: clip; }
.lp-glow { position: absolute; inset: -140px 0 auto; height: 780px; z-index: -1; pointer-events: none;
    background: none; }
.lp-hero__grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; min-height: min(680px, 80dvh); }
.lp-title { font-size: clamp(2.2rem, 4.6vw, 3.9rem); font-weight: 800; line-height: 1.25; letter-spacing: -.02em; margin: 18px 0 20px; max-width: 15ch; }
.lp-title em { font-style: normal; color: var(--accent); position: relative; white-space: nowrap; }
.lp-title em::after { content: ""; position: absolute; inset: auto 0 2px; height: 10px; border-radius: 12px; background: var(--accent-soft); z-index: -1; }
.lp-lead { color: var(--ink-2); font-size: 1.08rem; max-width: 50ch; }
.lp-ask { margin-top: 34px; max-width: 640px; border-radius: 12px; }
.lp-ask .bezel__in { border-radius: 12px; padding: 14px 14px 12px; }
.lp-ask textarea { width: 100%; border: 0; outline: 0; resize: none; font: inherit; font-size: 1.02rem; padding: 6px 8px; min-height: 64px; background: transparent; color: var(--ink); }
.lp-ask:focus-within { box-shadow: 0 0 0 4px var(--accent-soft), 0 0 0 1px var(--accent); transition: box-shadow .3s; }
.lp-ask__bar { display: flex; gap: 12px; align-items: center; justify-content: space-between; flex-wrap: wrap; padding-top: 10px; border-top: 1px solid var(--tint); }
.lp-ask__chips { display: flex; flex-wrap: wrap; gap: 6px; }
.lp-note { margin-top: 16px; color: var(--ink-3); font-size: .85rem; }

/* Z-axis cascade */
.lp-stack { position: relative; height: 500px; }
.lp-card { position: absolute; width: min(330px, 92%); }
.lp-card .bezel__in { padding: 18px; display: grid; gap: 10px; }
.lp-card--a { top: 0; inset-inline-start: 4%; transform: rotate(-2.5deg); animation: drift 9s ease-in-out infinite; }
.lp-card--b { top: 168px; inset-inline-end: 0; transform: rotate(2deg); z-index: 2; animation: drift 11s ease-in-out -3s infinite; }
.lp-card--c { top: 356px; inset-inline-start: 8%; transform: rotate(-1deg); z-index: 3; animation: drift 10s ease-in-out -6s infinite; }
.js .lp-card[data-reveal] { transform: translateY(44px) rotate(0); }
.js .lp-card--a.in { transform: rotate(-2.5deg); } .js .lp-card--b.in { transform: rotate(2deg); } .js .lp-card--c.in { transform: rotate(-1deg); }
@keyframes drift { 50% { translate: 0 -8px; } }
.lp-mini { display: flex; align-items: center; gap: 10px; }
.lp-slots { display: flex; gap: 6px; }
.lp-slots span { font-size: .8rem; padding: 2px 10px; border-radius: 12px; border: 1.5px solid var(--line); font-variant-numeric: tabular-nums; }
.lp-slots .on { background: var(--accent); border-color: var(--accent); color: #fff; }
.lp-ok { display: flex; align-items: center; gap: 12px; }
.lp-ok__tick { width: 34px; height: 34px; border-radius: 50%; background: var(--ok-soft); display: grid; place-items: center; }
.lp-ok__tick svg { width: 18px; height: 18px; fill: none; stroke: var(--ok); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.lp-ok p { line-height: 1.5; }

/* Insurance strip */
.lp-strip { padding: 44px 0 20px; }
.lp-strip__in { display: flex; align-items: center; gap: 22px 32px; flex-wrap: wrap; padding-block: 22px; border-block: 1px solid var(--line); }
.lp-strip__label { color: var(--ink-3); font-size: .85rem; }
.lp-strip ul { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 28px; margin: 0; padding: 0; font-weight: 600; color: var(--ink-2); }

/* How it works */
.lp-how { display: grid; grid-template-columns: .9fr 1.1fr; gap: 72px; padding: 120px 0 96px; align-items: start; }
.lp-how__head { position: sticky; top: 110px; display: grid; gap: 14px; justify-items: start; }
.lp-h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 800; line-height: 1.35; }
.lp-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.lp-steps li { display: flex; gap: 28px; padding: 34px 0; border-top: 1px solid var(--line); }
.lp-steps li:last-child { border-bottom: 1px solid var(--line); }
.lp-steps__n { font-size: 2.6rem; font-weight: 800; color: var(--accent); opacity: .35; line-height: 1; min-width: 64px; }
.lp-steps p { color: var(--ink-2); margin-top: 6px; max-width: 46ch; }

/* Bento */
.lp-bento { padding-bottom: 110px; }
.lp-bento__grid { display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-rows: minmax(190px, auto); gap: 18px; }
.lp-b { display: block; color: inherit; transition: transform .6s var(--spring); }
a.lp-b:hover { transform: translateY(-4px); color: inherit; }
.lp-b .bezel__in { display: flex; flex-direction: column; gap: 10px; padding: 28px; }
.lp-b p { color: var(--ink-2); max-width: 40ch; }
.lp-b--ai { grid-column: span 7; grid-row: span 2; }
.lp-b--book { grid-column: span 5; }
.lp-b--chat { grid-column: span 5; }
.lp-b--file { grid-column: span 4; }
.lp-b--centers { grid-column: span 8; }
.lp-b--centers .bezel__in { background: var(--accent); color: #fff; }
.lp-b--centers p { color: rgba(255, 255, 255, .82); }
.lp-b--centers .lp-ico { background: rgba(255, 255, 255, .16); }
.lp-b--centers .lp-ico svg { stroke: #fff; }
.lp-ico { width: 46px; height: 46px; border-radius: 12px; background: var(--accent-soft); display: grid; place-items: center; margin-bottom: 6px; }
.lp-ico svg { width: 22px; height: 22px; fill: none; stroke: var(--accent); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.lp-cover { margin-top: auto; display: grid; gap: 0; background: var(--bg); border-radius: 12px; padding: 6px 18px; }
.lp-cover div { display: flex; justify-content: space-between; padding: 10px 0; border-top: 1px solid var(--line); }
.lp-cover div:first-child { border-top: 0; }
.lp-cover span { color: var(--ink-2); }
.lp-cover .ok { color: var(--ok); }

/* Doctors + specialties + CTA */
.lp-docs, .lp-spec { padding-bottom: 96px; }
.lp-link { font-weight: 600; }
.lp-spec__list { display: flex; flex-wrap: wrap; gap: 10px; }
.lp-spec__list a { padding: 10px 24px; border-radius: 12px; background: #fff; color: var(--ink); font-weight: 500; box-shadow: 0 0 0 1px var(--line); transition: transform .5s var(--spring), background .3s, color .3s, box-shadow .3s; }
.lp-spec__list a:hover { background: var(--accent); color: #fff; transform: translateY(-3px); box-shadow: 0 12px 24px -12px var(--accent); }
.lp-cta-wrap { padding-bottom: 110px; }
.lp-cta__in { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; padding: 52px 56px; background: none; }
.lp-cta p { color: var(--ink-2); margin-top: 8px; max-width: 50ch; }

.answer { margin-top: 56px; }

@media (max-width: 900px) {
    .lp-hero__grid, .lp-how { grid-template-columns: 1fr; gap: 40px; }
    .lp-hero { padding-top: 24px; }
    .lp-stack { height: auto; display: grid; gap: 14px; }
    .lp-card { position: static; width: 100%; transform: none !important; animation: none; }
    .lp-how { padding: 72px 0 56px; }
    .lp-how__head { position: static; }
    .lp-bento__grid { grid-template-columns: 1fr; }
    .lp-b--ai, .lp-b--book, .lp-b--chat, .lp-b--file, .lp-b--centers { grid-column: auto; grid-row: auto; }
    .lp-cta__in { padding: 32px 22px; }
    .topbar__in { height: 54px; }
}
@media (prefers-reduced-motion: reduce) { .lp-card { animation: none; } .js [data-reveal] { opacity: 1; transform: none; } }
