/* Energy Healing — shared site stylesheet.
   Used by index.html, practitioners.html (and future pages, e.g. the blog).
   Extracted from index.html's inline <style> on 2026-10-12
   (see WEBSITE_HEALER_ADVANTAGES_2026-10-11.md).
   DEPLOY: always upload together with the pages that link it.
   Cache-busting: pages link it as assets/site.css?v=YYYYMMDD — bump on change. */

/* ──────────────────────────────────────────────────────────────
   Design tokens — sampled from the iOS app's AppTheme.swift +
   the live AppIcon-1024.png background (#F0EFF5). One source of
   truth for color, type, and elevation across the page.
   ────────────────────────────────────────────────────────────── */
:root {
    --bg:              #F0EFF5;
    --bg-elev:         #FFFFFF;
    --bg-soft:         #F7F5FB;
    --ink:             #15131E;
    --ink-soft:        #4F4C5A;
    --ink-muted:       #8A8794;
    --line:            rgba(140, 102, 217, 0.14);
    --line-strong:     rgba(140, 102, 217, 0.28);
    --purple:          #8C66D9;   /* AppTheme.healingPurple */
    --purple-dark:     #6E48BF;
    --blue:            #5999E5;   /* AppTheme.healingBlue */
    --gradient:        linear-gradient(135deg, var(--purple) 0%, var(--blue) 100%);
    --gradient-soft:   linear-gradient(135deg, rgba(140,102,217,0.10), rgba(89,153,229,0.10));
    --shadow-sm:       0 1px 2px rgba(28, 27, 34, 0.06), 0 1px 1px rgba(28, 27, 34, 0.04);
    --shadow:          0 8px 28px rgba(34, 28, 56, 0.08), 0 2px 6px rgba(34, 28, 56, 0.04);
    --shadow-lg:       0 20px 60px rgba(34, 28, 56, 0.12), 0 4px 12px rgba(34, 28, 56, 0.06);
    --radius-sm:       10px;
    --radius:          18px;
    --radius-lg:       28px;
    --max-w:           1180px;
    --transition:      cubic-bezier(0.16, 1, 0.3, 1);
}
@media (prefers-color-scheme: dark) {
    :root {
        --bg:          #15131E;
        --bg-elev:     #1F1C2A;
        --bg-soft:     #1A1825;
        --ink:         #F4F2FB;
        --ink-soft:    #B8B4C8;
        --ink-muted:   #938FA4;   /* was #6E6A7C (3.2:1 on cards, below AA) */
        --line:        rgba(140, 102, 217, 0.20);
        --line-strong: rgba(140, 102, 217, 0.36);
        --shadow-sm:   0 1px 2px rgba(0,0,0,0.40);
        --shadow:      0 8px 28px rgba(0,0,0,0.50);
        --shadow-lg:   0 20px 60px rgba(0,0,0,0.60);
    }
}

/* ──────────────────────────────────────────────────────────────
   Reset + base
   ────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    background: var(--bg);
    color: var(--ink);
    font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Inter',
                 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    font-size: 17px;
    line-height: 1.55;
    font-feature-settings: 'cv02', 'cv03', 'cv04', 'cv11';
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    min-height: 100dvh;
    overflow-x: hidden;
}
a { color: inherit; }
img, svg { max-width: 100%; display: block; }
button { font: inherit; cursor: pointer; }

/* ──────────────────────────────────────────────────────────────
   Decorative blurred gradient blobs that drift in the background.
   Pure CSS, GPU-accelerated, respects `prefers-reduced-motion`.
   ────────────────────────────────────────────────────────────── */
.bg-blobs {
    position: fixed;
    inset: 0;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
}
.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(110px);
    opacity: 0.55;
    will-change: transform;
}
.blob.b1 {
    width: 620px; height: 620px;
    top: -180px; left: -160px;
    background: radial-gradient(circle at 30% 30%, var(--purple), transparent 70%);
    animation: drift1 22s ease-in-out infinite alternate;
}
.blob.b2 {
    width: 540px; height: 540px;
    top: 30%; right: -180px;
    background: radial-gradient(circle at 70% 30%, var(--blue), transparent 70%);
    animation: drift2 26s ease-in-out infinite alternate;
}
.blob.b3 {
    width: 480px; height: 480px;
    bottom: -120px; left: 30%;
    background: radial-gradient(circle at 50% 50%, var(--purple), transparent 70%);
    opacity: 0.35;
    animation: drift3 30s ease-in-out infinite alternate;
}
@keyframes drift1 { from { transform: translate(0, 0); } to { transform: translate(40px, 60px); } }
@keyframes drift2 { from { transform: translate(0, 0); } to { transform: translate(-50px, 40px); } }
@keyframes drift3 { from { transform: translate(0, 0); } to { transform: translate(60px, -40px); } }
@media (prefers-reduced-motion: reduce) {
    .blob { animation: none !important; }
}
/* Wide screens in dark mode: the fixed-size glows only lit the corners, leaving the content on
   near-black where the cards (#1F1C2A) barely stood out. Scale them with the window so desktop
   matches the phone. Phones and light mode are unchanged. */
@media (min-width: 1000px) and (prefers-color-scheme: dark) {
    .blob.b1 { width: 70vw; height: 70vw; top: -25vw; left: -18vw; opacity: 0.62; }
    .blob.b2 { width: 70vw; height: 70vw; top: 10%; right: -15vw; opacity: 0.66; }
    .blob.b3 { width: 60vw; height: 60vw; bottom: -20vw; left: 15%; opacity: 0.45; }
}
/* Same condition: the solid "soft" panels (home Features, practitioners Why join) block the glow,
   so their cards (#1F1C2A on #1A1825) barely stood out (1.05). A slightly lighter card measures 1.19,
   matching the rest of the page and the phone; card text stays 7.25:1. Phones unchanged. */
@media (min-width: 1000px) and (prefers-color-scheme: dark) {
    #features .feature,
    .pp-soft .feature { background: #2A2639; }
}

/* ──────────────────────────────────────────────────────────────
   Layout helpers
   ────────────────────────────────────────────────────────────── */
.container {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 clamp(20px, 4vw, 32px);
}

/* ──────────────────────────────────────────────────────────────
   Top navigation
   ────────────────────────────────────────────────────────────── */
header.nav {
    position: sticky;
    top: 0;
    z-index: 50;
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    background: color-mix(in srgb, var(--bg) 78%, transparent);
    border-bottom: 1px solid transparent;
    transition: border-color 0.2s, background 0.2s;
}
header.nav.scrolled {
    border-bottom-color: var(--line);
}
.nav-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    /* padding-block only: `padding: 14px 0` used to wipe out the side padding that
       `.container` (same element) gives every other section, so the logo and EN/FR
       touched the screen edges below ~1180px wide. */
    padding-block: 14px;
    gap: 16px;
}
.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--ink);
    font-weight: 600;
    font-size: 1.05rem;
    letter-spacing: -0.01em;
}
.brand img {
    width: 36px;
    height: 36px;
    border-radius: 9px;
    box-shadow: var(--shadow-sm);
}
.nav-links {
    display: flex;
    gap: 28px;
    align-items: center;
}
.nav-links a {
    text-decoration: none;
    color: var(--ink-soft);
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.15s;
}
.nav-links a:hover { color: var(--ink); }
/* `.nav-links a` (specificity 0,1,1) was beating `.nav-cta`
   (0,1,0), so the gradient pill was being painted in
   `--ink-soft` gray. Qualify the CTA selectors with
   `.nav-links` so they share the same specificity and the
   later rule (white) wins. */
.nav-links a.nav-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 18px;
    border-radius: 999px;
    background: var(--gradient);
    color: #fff;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    box-shadow: 0 4px 14px rgba(140, 102, 217, 0.30);
    transition: transform 0.15s var(--transition), box-shadow 0.15s var(--transition);
    border: none;
}
.nav-links a.nav-cta:hover {
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(140, 102, 217, 0.40);
}
@media (max-width: 1080px) {
    .nav-links a:not(.nav-cta) { display: none; }
}
/* Nothing in the header wraps onto two lines. */
.brand, .nav-links a.nav-cta { white-space: nowrap; }
/* Phones: logo + Get the app + EN/FR only. The brand link keeps its aria-label
   ("Energy Healing — home") for screen readers. */
@media (max-width: 560px) {
    .brand span { display: none; }
    .nav-links { gap: 10px; }
    .lang-switcher { margin-left: 0; }
    .nav-links a.nav-cta { padding: 9px 14px; }
}

/* Language switcher (EN/FR) — lives at the right of the nav links. */
.lang-switcher {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    margin-left: 8px;
    padding: 3px;
    border-radius: 999px;
    border: 1px solid var(--line-strong);
    background: var(--bg-soft);
}
.lang-switcher button {
    border: none;
    background: transparent;
    color: var(--ink-soft);
    font-size: 0.8rem;
    font-weight: 600;
    padding: 5px 10px;
    border-radius: 999px;
    cursor: pointer;
    transition: background 0.15s, color 0.15s;
}
.lang-switcher button[aria-pressed="true"] {
    background: var(--gradient);
    color: #fff;
}
.lang-switcher button[aria-pressed="false"]:hover {
    color: var(--ink);
}

/* ──────────────────────────────────────────────────────────────
   Hero
   ────────────────────────────────────────────────────────────── */
.hero {
    padding: clamp(60px, 10vh, 120px) 0 clamp(60px, 9vh, 100px);
    text-align: center;
    position: relative;
}
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    border-radius: 999px;
    background: var(--gradient-soft);
    color: var(--purple-dark);
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    margin-bottom: 24px;
    border: 1px solid var(--line-strong);
}
@media (prefers-color-scheme: dark) {
    .eyebrow { color: #C9B6F4; }
}
.eyebrow .dot {
    width: 7px; height: 7px;
    border-radius: 50%;
    background: var(--purple);
    box-shadow: 0 0 0 4px rgba(140, 102, 217, 0.18);
    animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
    0%,100% { opacity: 1; transform: scale(1); }
    50%     { opacity: 0.6; transform: scale(0.92); }
}
h1 {
    font-size: clamp(2.4rem, 6vw, 4.4rem);
    font-weight: 700;
    letter-spacing: -0.035em;
    line-height: 1.05;
    max-width: 880px;
    margin: 0 auto 22px;
}
h1 .grad {
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}
.lede {
    font-size: clamp(1.05rem, 2vw, 1.3rem);
    color: var(--ink-soft);
    max-width: 640px;
    margin: 0 auto 40px;
    font-weight: 400;
    line-height: 1.55;
}
.hero-icon {
    width: 132px;
    height: 132px;
    margin: 0 auto 32px;
    border-radius: 32px;
    box-shadow: var(--shadow-lg);
    transition: transform 0.4s var(--transition);
}
.hero-icon:hover { transform: scale(1.04) rotate(-1deg); }

/* ──────────────────────────────────────────────────────────────
   Download buttons (Apple App Store + Google Play official-style)
   ────────────────────────────────────────────────────────────── */
.download-row {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    justify-content: center;
    align-items: center;
    margin-top: 12px;
}
.store-badge {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    padding: 11px 22px;
    border-radius: 12px;
    background: var(--ink);
    color: white;
    text-decoration: none;
    font-family: inherit;
    border: 1px solid var(--ink);
    width: 220px;
    justify-content: flex-start;
    cursor: pointer;
    transition: transform 0.15s var(--transition), box-shadow 0.15s var(--transition), background 0.15s;
    box-shadow: 0 4px 14px rgba(0,0,0,0.18);
}
.store-badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(0,0,0,0.28);
}
.store-badge svg { width: 28px; height: 28px; flex-shrink: 0; fill: white; }
.store-badge .text { display: flex; flex-direction: column; line-height: 1.1; text-align: left; }
.store-badge .text .small { font-size: 0.68rem; font-weight: 400; opacity: 0.9; letter-spacing: 0.01em; }
.store-badge .text .big   { font-size: 1.18rem; font-weight: 600; letter-spacing: -0.01em; margin-top: 2px; }
@media (prefers-color-scheme: dark) {
    .store-badge { background: #FFFFFF; color: #15131E; border-color: rgba(255,255,255,0.95); }
    .store-badge svg { fill: #15131E; }
}

/* ──────────────────────────────────────────────────────────────
   Trust strip
   ────────────────────────────────────────────────────────────── */
.trust-strip {
    margin-top: clamp(48px, 7vw, 80px);
    /* Strip the default <ul> bullets — the rendered "•" dots
       were leaking through on small screens (see attached
       iPhone screenshot) and clashed with the inline icons. */
    list-style: none;
    padding-left: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 32px 48px;
    color: var(--ink-soft);
    font-size: 0.92rem;
    font-weight: 500;
}
.trust-strip span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.trust-strip svg { width: 18px; height: 18px; stroke: var(--purple); }
/* On narrow phones the strip wraps to one item per row, but
   `justify-content: center` left each row visually centered
   (different start-x for each line because the items have
   different widths). Stack vertically, left-align internally,
   and shrink-wrap the column so it stays as a centered block
   — the icons line up under the longest item instead of being
   pinned to the screen edge. */
@media (max-width: 600px) {
    .trust-strip {
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        gap: 14px;
        width: max-content;
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
    }
}

/* ──────────────────────────────────────────────────────────────
   Section base
   ────────────────────────────────────────────────────────────── */
section.section {
    padding: clamp(72px, 10vw, 120px) 0;
}
.section-head {
    text-align: center;
    max-width: 720px;
    margin: 0 auto clamp(48px, 6vw, 72px);
}
.section-eyebrow {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--purple);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 14px;
}
h2 {
    font-size: clamp(1.8rem, 4vw, 2.7rem);
    font-weight: 700;
    letter-spacing: -0.025em;
    line-height: 1.15;
    margin-bottom: 16px;
}
h3 {
    font-size: 1.15rem;
    font-weight: 600;
    letter-spacing: -0.015em;
    margin-bottom: 8px;
}
.section-desc {
    font-size: 1.08rem;
    color: var(--ink-soft);
    line-height: 1.6;
}

/* ──────────────────────────────────────────────────────────────
   How it works (3 steps)
   ────────────────────────────────────────────────────────────── */
.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
}
.step {
    background: var(--bg-elev);
    padding: 32px 28px;
    border-radius: var(--radius);
    border: 1px solid var(--line);
    box-shadow: var(--shadow-sm);
    position: relative;
    transition: transform 0.3s var(--transition), box-shadow 0.3s var(--transition);
}
.step:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
}
.step-num {
    width: 38px; height: 38px;
    border-radius: 11px;
    background: var(--gradient);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 18px;
    box-shadow: 0 4px 12px rgba(140, 102, 217, 0.30);
}
.step p {
    color: var(--ink-soft);
    font-size: 0.98rem;
    line-height: 1.55;
}

/* ──────────────────────────────────────────────────────────────
   Features grid
   ────────────────────────────────────────────────────────────── */
.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 22px;
}
.feature {
    background: var(--bg-elev);
    padding: 28px 26px;
    border-radius: var(--radius);
    border: 1px solid var(--line);
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s var(--transition), box-shadow 0.3s var(--transition);
}
.feature:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
}
.feature-icon {
    width: 46px; height: 46px;
    border-radius: 13px;
    background: var(--gradient-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    border: 1px solid var(--line-strong);
}
.feature-icon svg { width: 22px; height: 22px; stroke: var(--purple); fill: none; stroke-width: 2; }
.feature p {
    color: var(--ink-soft);
    font-size: 0.96rem;
    line-height: 1.55;
}

/* ──────────────────────────────────────────────────────────────
   Final download CTA — same buttons as hero, repeated for the
   reader who just scrolled all the way down.
   ────────────────────────────────────────────────────────────── */
section.final-cta {
    text-align: center;
}
.final-cta-card {
    background: var(--gradient);
    border-radius: var(--radius-lg);
    padding: clamp(48px, 7vw, 80px) clamp(24px, 4vw, 48px);
    color: white;
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}
.final-cta-card::before {
    content: "";
    position: absolute; inset: 0;
    background:
        radial-gradient(circle at 20% 20%, rgba(255,255,255,0.18), transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255,255,255,0.10), transparent 50%);
    pointer-events: none;
}
.final-cta-card h2,
.final-cta-card p { color: white; position: relative; }
.final-cta-card h2 { margin-bottom: 14px; }
.final-cta-card p {
    font-size: 1.08rem;
    opacity: 0.95;
    max-width: 540px;
    margin: 0 auto 32px;
}
.final-cta-card .download-row { position: relative; }
/* The final-CTA card has a purple→blue gradient background in BOTH
   light and dark mode, so its pill is always white with hard-coded
   dark contents. We use literal hex values (not var(--ink)) so the
   dark-mode override on .store-badge above doesn't flip these to
   light-on-white and make the text/icons disappear. */
.final-cta-card .store-badge {
    background: #FFFFFF;
    color: #15131E;
    border-color: #FFFFFF;
}
.final-cta-card .store-badge svg { fill: #15131E; }
@media (prefers-color-scheme: dark) {
    .final-cta-card .store-badge {
        background: #FFFFFF;
        color: #15131E;
        border-color: #FFFFFF;
    }
    .final-cta-card .store-badge svg { fill: #15131E; }
}

/* ──────────────────────────────────────────────────────────────
   Footer
   ────────────────────────────────────────────────────────────── */
footer {
    padding: 56px 0 40px;
    border-top: 1px solid var(--line);
    margin-top: 80px;
    color: var(--ink-soft);
    font-size: 0.9rem;
}
.footer-row {
    display: flex;
    flex-wrap: wrap;
    gap: 18px 32px;
    justify-content: space-between;
    align-items: center;
}
.footer-links {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}
.footer-links a {
    text-decoration: none;
    color: var(--ink-soft);
    transition: color 0.15s;
}
.footer-links a:hover { color: var(--ink); }

/* ──────────────────────────────────────────────────────────────
   Modal — early access form (only opened by store buttons until
   STORE_LIVE = true). Word "waitlist" is allowed here per spec.
   ────────────────────────────────────────────────────────────── */
.modal-backdrop {
    position: fixed; inset: 0;
    background: rgba(15, 13, 24, 0.55);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    z-index: 200;
    opacity: 0;
    transition: opacity 0.2s var(--transition);
}
.modal-backdrop.open { display: flex; opacity: 1; }
.modal {
    background: var(--bg-elev);
    border-radius: var(--radius-lg);
    padding: 36px 32px;
    max-width: 460px;
    width: 100%;
    box-shadow: var(--shadow-lg);
    animation: modal-in 0.32s var(--transition);
    border: 1px solid var(--line);
    position: relative;
}
@keyframes modal-in {
    from { opacity: 0; transform: translateY(24px) scale(0.96); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
}
.modal-close {
    position: absolute;
    top: 16px; right: 16px;
    width: 32px; height: 32px;
    border-radius: 999px;
    background: var(--bg-soft);
    border: 1px solid var(--line);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--ink-soft);
    transition: background 0.15s, color 0.15s;
}
.modal-close:hover { background: var(--line); color: var(--ink); }
.modal h2 {
    font-size: 1.5rem;
    margin-bottom: 4px;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}
.platform-pill {
    display: inline-block;
    padding: 4px 11px;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 600;
    background: var(--gradient);
    color: white;
    letter-spacing: 0.01em;
}
.platform-pill[hidden] { display: none; }
.modal-subtitle {
    color: var(--ink-soft);
    font-size: 0.96rem;
    margin: 4px 0 22px;
    line-height: 1.55;
}
.field { margin-bottom: 14px; }
.field label {
    display: block;
    font-size: 0.82rem;
    font-weight: 600;
    margin-bottom: 7px;
    color: var(--ink-soft);
}
.field input {
    width: 100%;
    padding: 13px 15px;
    border-radius: 12px;
    border: 1.5px solid var(--line-strong);
    font-size: 1rem;
    font-family: inherit;
    color: var(--ink);
    background: var(--bg-soft);
    transition: border-color 0.15s, background 0.15s;
}
.field select {
    width: 100%;
    padding: 13px 15px;
    border-radius: 12px;
    border: 1.5px solid var(--line-strong);
    font-size: 1rem;
    font-family: inherit;
    color: var(--ink);
    background: var(--bg-soft);
    transition: border-color 0.15s, background 0.15s;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'><path d='M1 1.5L6 6.5L11 1.5' stroke='%23888' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/></svg>");
    background-repeat: no-repeat;
    background-position: right 15px center;
    padding-right: 40px;
}
.field select:disabled {
    opacity: 0.55;
    cursor: not-allowed;
}
.field select:focus {
    outline: none;
    border-color: var(--purple);
    background-color: var(--bg-elev);
    box-shadow: 0 0 0 4px rgba(140, 102, 217, 0.12);
}
.field input:focus {
    outline: none;
    border-color: var(--purple);
    background: var(--bg-elev);
    box-shadow: 0 0 0 4px rgba(140, 102, 217, 0.12);
}
.field-optional {
    font-weight: 400;
    font-size: 0.74rem;
    opacity: 0.6;
    margin-left: 4px;
}
.field-hint {
    margin: 4px 2px 0;
    font-size: 0.78rem;
    color: var(--ink-soft);
    opacity: 0.78;
    line-height: 1.45;
}
.modal-actions {
    display: flex;
    gap: 10px;
    margin-top: 24px;
}
.btn-primary {
    flex: 1;
    padding: 13px 20px;
    border-radius: 12px;
    border: none;
    font-size: 1rem;
    font-weight: 600;
    color: white;
    background: var(--gradient);
    cursor: pointer;
    font-family: inherit;
    transition: transform 0.1s var(--transition), opacity 0.15s;
}
.btn-primary:hover { transform: translateY(-1px); }
.btn-primary:disabled { opacity: 0.55; cursor: not-allowed; transform: none; }
.btn-secondary {
    padding: 13px 20px;
    border-radius: 12px;
    border: 1.5px solid var(--line-strong);
    background: transparent;
    color: var(--ink);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
    transition: background 0.15s;
}
.btn-secondary:hover { background: var(--bg-soft); }
.form-status {
    margin-top: 14px;
    font-size: 0.92rem;
    text-align: center;
    min-height: 1.3em;
}
.form-status.success { color: #2A9D5C; }
.form-status.error   { color: #C8364B; }

/* Provider section + provider checkbox / platform select */
/* Match the Features->Get-the-app gap: zero the section's top padding so the
   only space above is the final-CTA's bottom padding (~120px). Uses
   `section.provider-cta` so it outranks the base `section.section` rule. */
section.provider-cta { padding-top: 0; }
section.pp-cta + section.final-cta { padding-top: 0; }  /* practitioners page: Get the app comes last, right after "Let's grow together" — same ~120px gap as the home page */
.provider-cta .provider-card,
.pp-cta .provider-card {
    background: var(--bg-elev);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    padding: clamp(36px, 5vw, 56px) clamp(24px, 4vw, 48px);
    text-align: center;
    max-width: 760px;
    margin: 0 auto;
}
.provider-cta .provider-card h2,
.pp-cta .provider-card h2 { margin-bottom: 14px; }
.provider-cta .provider-card .section-desc,
.pp-cta .provider-card .section-desc { max-width: 560px; margin: 0 auto 28px; }
.provider-join-btn {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 13px 26px;
    width: auto;
}
.field-check {
    margin-top: 20px;
    padding-top: 18px;
    border-top: 1px solid var(--line);
}
.field-check .check-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
    font-size: 0.92rem;
    color: var(--ink-soft);
    line-height: 1.45;
    font-weight: 500;
}
.field-check input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-top: 2px;
    flex-shrink: 0;
    accent-color: var(--purple);
    cursor: pointer;
}

/* ──────────────────────────────────────────────────────────────
   Scroll-reveal — IntersectionObserver-driven fade/slide.
   ────────────────────────────────────────────────────────────── */
.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.7s var(--transition), transform 0.7s var(--transition);
}
.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
    .reveal { opacity: 1; transform: none; transition: none; }
}

/* ──────────────────────────────────────────────────────────────
   Home: "For practitioners" box actions (Join + Learn more)
   ────────────────────────────────────────────────────────────── */
.provider-actions {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
}
a.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}
.provider-learn-btn { padding: 13px 26px; }

/* ──────────────────────────────────────────────────────────────
   Practitioners page (practitioners.html)
   ────────────────────────────────────────────────────────────── */
section.pp-flush { padding-top: 0; scroll-margin-top: 88px; }  /* menu jumps clear the sticky header */
.pp-hero .lede { margin-bottom: 18px; }
.pp-who {
    max-width: 640px;
    margin: 0 auto 34px;
    color: var(--ink-muted);
    font-size: 0.98rem;
    line-height: 1.6;
}
.hero-actions {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
}
.hero-actions .btn-primary { flex: 0 0 auto; padding: 14px 30px; }
.pp-soft {
    background: var(--bg-soft);
    border-radius: var(--radius-lg);
    margin: 0 clamp(20px, 4vw, 32px);
}
.score-spotlight {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: clamp(24px, 4vw, 44px);
    background: var(--gradient-soft);
    border: 1px solid var(--line-strong);
    border-radius: var(--radius-lg);
    padding: clamp(28px, 4vw, 48px);
}
.score-label {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--purple);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 12px;
}
.score-intro p {
    color: var(--ink-soft);
    font-size: 1.02rem;
    line-height: 1.65;
}
.score-views {
    display: grid;
    gap: 12px;
    align-content: start;
}
.score-views-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--ink-muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}
.score-view {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    background: var(--bg-elev);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 16px 18px;
    box-shadow: var(--shadow-sm);
}
.score-view .feature-icon,
.score-card .feature-icon {
    width: 40px; height: 40px;
    border-radius: 12px;
    flex-shrink: 0;
}
.score-view .feature-icon { margin-bottom: 0; }
.score-view .feature-icon svg,
.score-card .feature-icon svg { width: 20px; height: 20px; }
.score-view h4,
.score-card h4 {
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: -0.01em;
    margin-bottom: 4px;
}
.score-view p,
.score-card p {
    color: var(--ink-soft);
    font-size: 0.92rem;
    line-height: 1.55;
}
.score-cards {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 16px;
}
.score-card {
    background: var(--bg-elev);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 22px 22px 24px;
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s var(--transition), box-shadow 0.3s var(--transition);
}
.score-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}
.score-card .feature-icon { margin-bottom: 14px; }
@media (max-width: 860px) {
    .score-spotlight { grid-template-columns: 1fr; }
}
