/* Proposed homepage, Option A (Midnight). Test file: loaded only by the preview homepage, never by the live site.
   All new classes start with "ha-" so nothing collides with site.css. */
.home-a body { background: #fff; }
.home-a { --ha-night: #160A19; --ha-ink: #1B1020; --ha-ink2: #4A4150; --ha-line: #E7E2EA; --ha-blush: #F1E6EE; --ha-plum3: #7B3E80; --ha-shadow: 0 24px 60px -24px rgba(27, 16, 32, .35); }

/* Header: transparent and white over the hero video, the normal light header once the page scrolls */
.home-a header.site { position: fixed; left: 0; right: 0; top: 0; background: transparent; border-bottom-color: transparent; backdrop-filter: none; transition: none; }
.home-a header.site .brand .ha-logo-white { display: block; }
.home-a header.site .brand .ha-logo-color { display: none; }
.home-a:not(.ha-scrolled) header.site nav.main > a,
.home-a:not(.ha-scrolled) header.site .nav-top,
.home-a:not(.ha-scrolled) header.site .nav-search,
.home-a:not(.ha-scrolled) header.site .auth-drop > button,
.home-a:not(.ha-scrolled) header.site .auth-drop > a { color: #fff; }
.home-a:not(.ha-scrolled) header.site .nav-top::after { border-color: #E7C6CF; }
.home-a:not(.ha-scrolled) header.site .nav-search svg { stroke: #fff; }
.home-a.ha-scrolled header.site { background: rgba(255, 255, 255, .96); border-bottom-color: var(--ha-line); backdrop-filter: saturate(140%) blur(8px); }
.home-a.ha-scrolled header.site .brand .ha-logo-white { display: none; }
.home-a.ha-scrolled header.site .brand .ha-logo-color { display: block; }
@media (max-width: 720px) { .home-a header.site { position: absolute; } .home-a.ha-scrolled header.site { background: transparent; border-bottom-color: transparent; } .home-a.ha-scrolled header.site .brand .ha-logo-white { display: block; } .home-a.ha-scrolled header.site .brand .ha-logo-color { display: none; } }

.ha-wrap { width: min(1200px, 100% - 48px); margin: 0 auto; }
.ha h1, .ha h2, .ha h3 { color: inherit; font-weight: 500; letter-spacing: -.02em; line-height: 1.08; margin: 0; }
.ha h1 { font-size: clamp(2.6rem, 5.4vw, 4.6rem); }
.ha h2 { font-size: clamp(2rem, 3.4vw, 3rem); }
.ha h3 { font-size: 1.25rem; letter-spacing: -.01em; }
.ha p { margin: 0; }
.ha-eyebrow { display: inline-block; font-size: .8rem; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--ha-plum3); }
.ha-lede { font-size: 1.18rem; line-height: 1.6; color: var(--ha-ink2); max-width: 640px; }

/* Buttons (sentence case, rounded) */
.ha-btn { display: inline-flex; align-items: center; gap: 8px; padding: 14px 24px; border-radius: 999px; font-size: 1rem; font-weight: 500; letter-spacing: 0; text-transform: none; text-decoration: none; border: 1px solid transparent; transition: transform .15s, background .2s, border-color .2s; }
.ha-btn:hover { transform: translateY(-1px); text-decoration: none; }
.ha-btn-white { background: #fff; color: var(--plum); }
.ha-btn-ghost { border-color: rgba(255, 255, 255, .45); color: #fff; }
.ha-btn-ghost:hover { border-color: #fff; }
.ha-btn-plum { background: var(--plum); color: #fff; }
.ha-btn-plum:hover { background: var(--plum-2); }
.ha-link { color: var(--plum-2); font-weight: 500; text-decoration: none; }
.ha-link:hover { text-decoration: underline; }

/* Hero */
.ha-hero { position: relative; min-height: 100vh; display: grid; align-items: center; color: #fff; overflow: hidden; background: var(--ha-night); }
.ha-hero video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ha-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(22, 10, 25, .78) 0%, rgba(22, 10, 25, .3) 70%); }
.ha-hero .ha-wrap { position: relative; z-index: 2; padding: 150px 0 150px; }
.ha-hero .ha-eyebrow { color: #E7C6CF; }
.ha-hero h1 { max-width: 900px; margin: 20px 0 24px; color: #fff; }
.ha-hero .ha-lede { color: rgba(255, 255, 255, .82); }
.ha-btns { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 36px; }
.ha-note { margin-top: 28px !important; font-size: .92rem; color: rgba(255, 255, 255, .62); }
.ha-toggle { position: absolute; right: 20px; bottom: 20px; z-index: 5; min-width: 64px; height: 36px; padding: 0 14px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .45); background: rgba(22, 10, 25, .45); color: #fff; cursor: pointer; font: inherit; font-size: .82rem; }
.ha-toggle:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }

/* Browser frame */
.ha-frame { position: relative; border-radius: 14px; overflow: hidden; background: #fff; box-shadow: var(--ha-shadow); border: 1px solid rgba(27, 16, 32, .08); }
.ha-frame-bar { display: flex; align-items: center; gap: 6px; height: 34px; padding: 0 14px; background: #F4F1F6; border-bottom: 1px solid var(--ha-line); }
.ha-frame-bar i { width: 10px; height: 10px; border-radius: 50%; background: #DCD3E0; display: block; }
.ha-frame-bar span { margin-left: 12px; font-size: .75rem; color: var(--muted); background: #fff; border-radius: 6px; padding: 2px 12px; }
.ha-frame video, .ha-frame img { display: block; width: 100%; height: auto; }
.ha-tour { margin-top: -110px; position: relative; z-index: 3; }
.ha-tour-cap { text-align: center; margin-top: 14px !important; font-size: .88rem; color: var(--muted); }

/* Sections */
.ha-sec { padding: 110px 0; }
.ha-head { max-width: 760px; margin-bottom: 56px; }
.ha-head h2 { margin: 14px 0 16px; }
.ha-products { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.ha-card { display: grid; gap: 12px; align-content: start; padding: 28px; border-radius: 14px; border: 1px solid var(--ha-line); background: #fff; color: var(--ha-ink); text-decoration: none; transition: box-shadow .2s, transform .2s; }
.ha-card:hover { box-shadow: var(--ha-shadow); transform: translateY(-3px); text-decoration: none; }
.ha-card .ha-ico { width: 44px; height: 44px; border-radius: 12px; background: var(--ha-blush); display: grid; place-items: center; color: var(--plum); }
.ha-card p { color: var(--ha-ink2); font-size: .97rem; line-height: 1.55; }
.ha-card .ha-more { color: var(--plum-2); font-size: .92rem; font-weight: 500; }
@media (max-width: 1000px) { .ha-products { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .ha-products { grid-template-columns: minmax(0, 1fr); } }

.ha-stats-band { background: var(--ha-night); color: #fff; padding: 80px 0; }
.ha-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.ha-stat { color: #fff; text-decoration: none; }
.ha-stat b { display: block; font-size: clamp(2.2rem, 3.6vw, 3.2rem); font-weight: 500; letter-spacing: -.03em; line-height: 1; }
.ha-stat span { display: block; margin-top: 10px; font-size: .95rem; color: rgba(255, 255, 255, .75); }
a.ha-stat:hover span { color: #fff; text-decoration: underline; }
@media (max-width: 800px) { .ha-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.ha-rows { display: grid; gap: 110px; }
.ha-row { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; align-items: center; }
.ha-row.ha-flip { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.ha-row.ha-flip .ha-row-copy { order: 2; }
.ha-row-copy h3 { font-size: clamp(1.6rem, 2.4vw, 2.2rem); margin: 12px 0 0; letter-spacing: -.02em; }
.ha-ticks { list-style: none; padding: 0; margin: 22px 0 26px; display: grid; gap: 10px; }
.ha-ticks li { display: flex; gap: 10px; color: var(--ha-ink2); font-size: .98rem; line-height: 1.5; }
.ha-ticks li::before { content: ""; flex: none; width: 18px; height: 18px; margin-top: 3px; border-radius: 50%; background: var(--ha-blush) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='%2355205B' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/12px no-repeat; }
@media (max-width: 900px) { .ha-row, .ha-row.ha-flip { grid-template-columns: minmax(0, 1fr); gap: 32px; } .ha-row.ha-flip .ha-row-copy { order: 0; } }

.ha-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; justify-content: center; }
.ha-chips span { padding: 7px 14px; border-radius: 999px; font-size: .88rem; border: 1px solid var(--ha-line); background: #fff; color: var(--ha-ink2); }
.ha-center { text-align: center; max-width: 820px; margin: 0 auto; }
.ha-center .ha-lede { margin: 0 auto; }

.ha-trust-band { background: var(--ha-night); color: #fff; }
.ha-trust-band .ha-eyebrow { color: #E7C6CF; }
.ha-trust-band .ha-lede { color: rgba(255, 255, 255, .75); }
.ha-trust { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.ha-trust div { padding: 24px; border-radius: 14px; border: 1px solid rgba(255, 255, 255, .14); background: rgba(255, 255, 255, .04); }
.ha-trust b { display: block; font-weight: 500; margin-bottom: 6px; }
.ha-trust p { font-size: .93rem; color: rgba(255, 255, 255, .75); line-height: 1.5; }
@media (max-width: 900px) { .ha-trust { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.ha-about { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; align-items: start; }
.ha-about figure { margin: 24px 0 0; }
.ha-about figure img { width: 100%; max-width: 380px; height: auto; border-radius: 14px; display: block; }
.ha-about figcaption { margin-top: 12px; font-size: .95rem; color: var(--ha-ink); font-weight: 500; }
.ha-about figcaption span { display: block; font-weight: 400; color: var(--muted); font-size: .88rem; }
.ha-about-copy p { color: var(--ha-ink2); line-height: 1.7; margin-bottom: 1rem; }
.ha-about-copy p.ha-lede { color: var(--ha-ink); }
@media (max-width: 900px) { .ha-about { grid-template-columns: minmax(0, 1fr); gap: 32px; } }

.ha-cta { border-radius: 24px; padding: 72px; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 32px; align-items: center; background: linear-gradient(120deg, var(--plum) 0%, var(--plum-2) 60%, #7B3E80 100%); color: #fff; }
.ha-cta h2 { color: #fff; }
.ha-cta p { color: rgba(255, 255, 255, .85); margin-top: 12px; font-size: 1.1rem; }
@media (max-width: 800px) { .ha-cta { grid-template-columns: minmax(0, 1fr); padding: 44px 28px; } }

.ha-patients { margin-top: 22px; display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; font-size: .98rem; color: var(--ha-ink2); }

.ha-preview-tag { position: fixed; left: 16px; bottom: 16px; z-index: 60; background: #1B1020; color: #fff; font-size: .8rem; padding: 8px 14px; border-radius: 999px; box-shadow: var(--ha-shadow); }
@media (prefers-reduced-motion: reduce) { .ha-btn, .ha-card { transition: none; } }

/* Hero kicker line above the headline */
.ha-kicker { margin: 0; font-size: clamp(1.4rem, 2.4vw, 2rem); font-weight: 500; letter-spacing: -.01em; line-height: 1.2; color: #E7C6CF; }
.ha-hero .ha-kicker + h1 { margin-top: 18px; }
@media (max-width: 720px) { .ha-hero .ha-wrap { padding-top: 200px; padding-bottom: 110px; } }
.ha-about-rule { border: 0; height: 3px; width: 72px; background: var(--ha-plum3); border-radius: 999px; margin: 36px 0 28px; }
.ha-about-copy .ha-about-bio-h { margin: 0 0 16px; line-height: 1.25; font-size: 1.35rem; font-weight: 500; letter-spacing: -.01em; color: var(--ha-ink); }
