:root {
  --ink: #f1f5ff;
  --muted: #a9b4d0;
  --bg: #080d1f;
  --card: rgba(20, 29, 66, .74);
  --line: rgba(164, 177, 231, .18);
  --accent: #76f1be;
  --violet: #9079ff;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; color: var(--ink); background: radial-gradient(circle at 80% 0%, #342c78 0, transparent 30rem), radial-gradient(circle at 0% 30%, #0d563f 0, transparent 28rem), var(--bg); line-height: 1.6; }
a { color: inherit; text-decoration: none; }
.site-header { width: min(1160px, calc(100% - 3rem)); margin: 0 auto; padding: 1.6rem 0; display: flex; justify-content: space-between; align-items: center; }
.brand { font-size: .82rem; letter-spacing: .16em; font-weight: 800; }.brand span { color: var(--accent); }
nav { display: flex; gap: 1.2rem; color: var(--muted); font-size: .9rem; } nav a:hover { color: var(--accent); }
main { width: min(1160px, calc(100% - 3rem)); margin: 0 auto; }
.hero { padding: 8rem 0 7rem; max-width: 820px; }.eyebrow { color: var(--accent); font-size: .75rem; font-weight: 800; text-transform: uppercase; letter-spacing: .14em; margin: 0 0 .8rem; }
h1, h2, h3 { line-height: 1.08; margin: 0; } h1 { font-size: clamp(2.8rem, 6vw, 5.3rem); letter-spacing: -.055em; text-wrap: pretty; } h2 { font-size: clamp(2rem, 4.5vw, 3.7rem); letter-spacing: -.045em; max-width: 850px; }
.lead { max-width: 600px; color: var(--muted); font-size: 1.2rem; margin: 1.8rem 0 2.2rem; }.button { display: inline-block; padding: .9rem 1.15rem; color: #07131a; background: var(--accent); font-weight: 800; border-radius: 99px; }.button:hover { background: #b1ffd9; }
.panel, .section { border-top: 1px solid var(--line); padding: 5rem 0; }.status { display: grid; grid-template-columns: .9fr 1.1fr; gap: 4rem; align-items: start; }.status p:last-child, .section-intro, .cards p, .next li, .note { color: var(--muted); }
.cards { display: grid; grid-template-columns: repeat(5, 1fr); gap: .8rem; margin-top: 2.5rem; }.cards article { background: var(--card); border: 1px solid var(--line); padding: 1.2rem; min-height: 210px; border-radius: 10px; }.cards span { color: var(--violet); font-weight: 800; font-size: .8rem; }.cards h3 { margin: 2.8rem 0 .65rem; font-size: 1.1rem; }.cards p { margin: 0; font-size: .88rem; }
.table-wrap { overflow-x: auto; margin-top: 2rem; border: 1px solid var(--line); border-radius: 10px; } table { width: 100%; border-collapse: collapse; min-width: 760px; } th, td { text-align: left; padding: 1rem; border-bottom: 1px solid var(--line); } th { color: var(--accent); font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; } td { color: var(--muted); }
.next { max-width: 850px; }.next ol { padding-left: 1.25rem; }.next li { padding: .4rem 0; }.note { border-left: 3px solid var(--violet); padding-left: 1rem; margin-top: 2rem; }
footer { width: min(1160px, calc(100% - 3rem)); margin: 0 auto; padding: 2rem 0 3rem; border-top: 1px solid var(--line); display: flex; justify-content: space-between; color: var(--muted); font-size: .8rem; }
code { color: #bdb0ff; }
@media (max-width: 800px) { .site-header { width: min(100% - 2rem, 1160px); } nav { gap: .8rem; }.hero { padding: 5rem 0; }.status { grid-template-columns: 1fr; gap: 1.5rem; }.cards { grid-template-columns: repeat(2, 1fr); }.panel, .section { padding: 3.5rem 0; } }
@media (max-width: 480px) { nav { display: none; }.cards { grid-template-columns: 1fr; } footer { flex-direction: column; gap: .4rem; } }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 1.25rem; }
.text-link { color: var(--ink); font-weight: 700; text-decoration: underline; text-decoration-color: rgba(118, 241, 190, .55); text-underline-offset: .3em; }
.text-link:hover { color: var(--accent); }
.quick-check { max-width: 850px; }
.clinic-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; margin-top: 2rem; }
.clinic-form label { display: grid; gap: .45rem; color: var(--ink); font-size: .92rem; font-weight: 700; }
.clinic-form label span { color: var(--muted); font-weight: 400; }
.clinic-form input, .clinic-form select { width: 100%; min-height: 46px; border: 1px solid var(--line); border-radius: 7px; padding: .7rem .8rem; background: rgba(5, 10, 28, .68); color: var(--ink); font: inherit; }
.clinic-form input:focus, .clinic-form select:focus { outline: 2px solid var(--accent); outline-offset: 2px; }
.clinic-form button { justify-self: start; border: 0; cursor: pointer; }
.clinic-form button:disabled { cursor: wait; opacity: .65; }
.honeypot { position: absolute; left: -9999px; }
.consent { grid-column: 1 / -1; grid-template-columns: auto 1fr; align-items: start; }
.consent input { width: 1rem; min-height: 1rem; margin-top: .2rem; }
.form-result { min-height: 1.6em; color: var(--accent); margin: 1.2rem 0 0; font-weight: 650; }
.support-note { color: var(--muted); margin-top: 1.2rem; }
@media (max-width: 800px) { .clinic-form { grid-template-columns: 1fr; } }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.guided-chat-launcher { position: fixed; right: 1.2rem; bottom: 1.2rem; z-index: 10; min-height: 48px; border: 1px solid rgba(118, 241, 190, .65); border-radius: 999px; padding: .75rem 1rem; background: #112840; color: var(--ink); font: inherit; font-weight: 800; cursor: pointer; box-shadow: 0 10px 30px rgba(0,0,0,.35); }
.guided-chat-launcher:hover, .guided-chat-launcher:focus-visible { background: #193b59; outline: 2px solid var(--accent); outline-offset: 3px; }
.guided-chat-panel { position: fixed; right: 1.2rem; bottom: 5.25rem; z-index: 11; width: min(390px, calc(100vw - 2rem)); max-height: min(640px, calc(100vh - 7rem)); overflow: auto; border: 1px solid var(--line); border-radius: 14px; padding: 1.2rem; background: #0c1530; box-shadow: 0 20px 60px rgba(0,0,0,.48); }
.guided-chat-header { display: flex; gap: 1rem; align-items: start; justify-content: space-between; }.guided-chat-header h2 { font-size: 1.35rem; letter-spacing: -.025em; }.guided-chat-close { width: 44px; min-height: 44px; border: 1px solid var(--line); border-radius: 50%; background: transparent; color: var(--ink); font-size: 1.6rem; cursor: pointer; }.guided-chat-close:focus-visible, .chat-chip:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.guided-chat-note { color: var(--muted); font-size: .88rem; }.guided-chat-messages { display: grid; gap: .75rem; max-height: 230px; overflow-y: auto; padding: .2rem 0; }.chat-message { margin: 0; padding: .75rem .85rem; border-radius: 8px; font-size: .92rem; }.chat-message--assistant { background: rgba(118, 241, 190, .11); color: var(--ink); }.chat-message--visitor { background: rgba(144, 121, 255, .2); color: var(--ink); }
.guided-chat-quick-replies { display: flex; flex-wrap: wrap; gap: .45rem; margin: 1rem 0; }.chat-chip { min-height: 38px; border: 1px solid var(--line); border-radius: 999px; padding: .4rem .7rem; background: transparent; color: var(--ink); font: inherit; font-size: .82rem; cursor: pointer; }.chat-chip:hover { border-color: var(--accent); color: var(--accent); }
.guided-chat-form { display: grid; grid-template-columns: 1fr auto; gap: .6rem; }.guided-chat-form input { min-width: 0; min-height: 46px; border: 1px solid var(--line); border-radius: 7px; padding: .7rem .8rem; background: rgba(5, 10, 28, .68); color: var(--ink); font: inherit; }.guided-chat-form input:focus { outline: 2px solid var(--accent); outline-offset: 2px; }.guided-chat-form .button { border: 0; cursor: pointer; }
@media (max-width: 480px) { .guided-chat-launcher { right: 1rem; bottom: 1rem; }.guided-chat-panel { right: 1rem; bottom: 4.8rem; width: calc(100vw - 2rem); }.guided-chat-form { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; } }
.diagnostic-start, .diagnostic-options, .slot-grid { display: grid; gap: .8rem; margin-top: 1.5rem; }.diagnostic-start { grid-template-columns: repeat(2, minmax(0, 1fr)); }.diagnostic-start p { grid-column: 1 / -1; color: var(--muted); }.segment-button, .diagnostic-option, .slot-button { min-height: 54px; border: 1px solid var(--line); border-radius: 9px; padding: .8rem; background: var(--card); color: var(--ink); font: inherit; text-align: left; cursor: pointer; }.segment-button:hover, .diagnostic-option:hover, .slot-button:hover, .diagnostic-option.is-selected { border-color: var(--accent); background: rgba(118,241,190,.12); }.diagnostic-flow { max-width: 820px; margin-top: 1.5rem; }.diagnostic-card, .diagnostic-insight, .diagnostic-summary { padding: 1.5rem; border: 1px solid var(--line); border-radius: 12px; background: var(--card); animation: diagnostic-in .3s ease-out; }.diagnostic-card h3, .diagnostic-insight h3, .diagnostic-summary h3 { font-size: clamp(1.5rem, 3vw, 2.4rem); margin: .4rem 0 1rem; }.diagnostic-card > p { color: var(--muted); }.diagnostic-options { grid-template-columns: repeat(2, minmax(0, 1fr)); }.diagnostic-progress { display: flex; justify-content: space-between; gap: .35rem; overflow-x: auto; color: var(--muted); font-size: .72rem; font-weight: 700; }.diagnostic-count { color: var(--accent); font-size: .85rem; }.diagnostic-bar { height: 6px; overflow: hidden; margin: .65rem 0 1.25rem; border-radius: 99px; background: var(--line); }.diagnostic-bar i { display: block; height: 100%; border-radius: inherit; background: var(--accent); transition: width .35s ease; }.slot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }.slot-day { display: grid; gap: .45rem; padding: .8rem; border: 1px solid var(--line); border-radius: 9px; }.slot-day strong { color: var(--accent); }.slot-day span { color: var(--muted); font-size: .85rem; }.slot-button { min-height: 40px; padding: .5rem; }.diagnostic-summary p { color: var(--muted); }.diagnostic-summary strong { color: var(--ink); }#other-slot-form { display: grid; gap: .7rem; margin-top: 1rem; }#other-slot-form label { display: grid; gap: .3rem; }#other-slot-form input { min-height: 42px; border: 1px solid var(--line); border-radius: 7px; padding: .6rem; background: #081028; color: var(--ink); }@keyframes diagnostic-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }@media (max-width: 600px) { .diagnostic-start, .diagnostic-options, .slot-grid { grid-template-columns: 1fr; } }
.conversion-hero { max-width: 930px; padding-bottom: 5.5rem; }.hero-reassurance { margin-top: 1.35rem; color: var(--muted); font-size: .88rem; }.pain-section, .outcome-section, .trust-section { max-width: 940px; }.pain-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .8rem; padding: 0; margin: 2rem 0; list-style: none; }.pain-list li { padding: 1rem 1.1rem; border: 1px solid var(--line); border-radius: 9px; background: rgba(12, 21, 48, .58); color: var(--muted); }.outcome-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin-top: 2rem; }.outcome-list article { padding: 1.3rem; border-top: 2px solid var(--accent); background: rgba(12, 21, 48, .58); }.outcome-list h3 { font-size: 1.15rem; }.outcome-list p, .trust-section p { color: var(--muted); }.trust-section { max-width: 780px; }.trust-section p { font-size: 1.02rem; }@media (max-width: 700px) { .pain-list, .outcome-list { grid-template-columns: 1fr; } }
.admin-shell { width:min(900px,calc(100% - 2rem)); margin:3rem auto; }.admin-card { margin-top:2rem; padding:2rem; border:1px solid var(--line); border-radius:12px; background:var(--card); }.admin-card h1 { font-size:clamp(2rem,5vw,4rem); }.admin-card form { display:grid; gap:1rem; max-width:420px; margin-top:1.5rem; }.admin-card label { display:grid; gap:.4rem; }.admin-card input { min-height:46px; border:1px solid var(--line); border-radius:7px; padding:.7rem; background:#081028; color:var(--ink); font:inherit; }.admin-card pre { white-space:pre-wrap; overflow:auto; color:var(--muted); }
.analytics-consent { position:fixed; left:1rem; bottom:1rem; z-index:20; width:min(420px,calc(100vw - 2rem)); padding:1rem; border:1px solid var(--line); border-radius:10px; background:#0c1530; box-shadow:0 16px 48px rgba(0,0,0,.45); }.analytics-consent p { margin-top:0; color:var(--muted); }.analytics-consent .button { border:0; cursor:pointer; }.analytics-consent .text-link { margin-left:1rem; background:transparent; border:0; cursor:pointer; font:inherit; }
.crm { min-height:100vh; display:grid; grid-template-columns:260px minmax(0,1fr); background:#080d1f; }.crm aside { position:sticky; top:0; height:100vh; padding:2rem 1.25rem; border-right:1px solid var(--line); background:#0b1330; display:flex; flex-direction:column; gap:2rem; }.crm aside nav { display:grid; gap:.35rem; }.crm aside nav button { min-height:44px; border:0; border-radius:8px; padding:.7rem .8rem; background:transparent; color:var(--muted); text-align:left; font:inherit; cursor:pointer; }.crm aside nav button:hover { background:rgba(118,241,190,.1); color:var(--ink); }.crm #admin-identity { overflow-wrap:anywhere; color:var(--muted); font-size:.84rem; }.crm #admin-logout { margin-top:auto; color:#ffb6b6; text-align:left; border:0; padding:0; }.crm main { padding:3rem; max-width:1400px; }.crm main header { display:flex; align-items:end; justify-content:space-between; margin-bottom:2rem; }.crm main h1 { font-size:clamp(2.25rem,5vw,4.5rem); }.crm .admin-card { margin:0; min-height:460px; }.crm .outcome-list { grid-template-columns:repeat(3,minmax(0,1fr)); }.crm .outcome-list article { border:1px solid var(--line); border-top:3px solid var(--accent); border-radius:12px; background:#101b3d; }.crm .outcome-list p { color:var(--accent); font-size:2rem; font-weight:800; margin:.5rem 0 0; }.crm-table { display:grid; border:1px solid var(--line); border-radius:10px; overflow:hidden; }.crm-row { display:grid; grid-template-columns:2fr 1fr 1fr; gap:1rem; padding:1rem; border-bottom:1px solid var(--line); color:var(--muted); }.crm-row:last-child { border-bottom:0; }.crm-head { background:#131f45; color:var(--ink); font-size:.78rem; text-transform:uppercase; letter-spacing:.08em; }.crm-row b { color:var(--accent); text-transform:capitalize; }@media(max-width:760px){.crm{grid-template-columns:1fr}.crm aside{position:static;height:auto;padding:1rem;gap:1rem}.crm aside nav{display:flex;overflow:auto}.crm aside nav button{white-space:nowrap}.crm #admin-logout{margin-top:0}.crm main{padding:1.25rem}.crm .outcome-list{grid-template-columns:1fr}.crm-row{grid-template-columns:1fr;gap:.35rem}.crm-head{display:none}}
.diagnostic-promise { display:flex; flex-wrap:wrap; align-items:center; gap:.55rem; }.promise-pop { display:inline-flex; align-items:center; min-height:34px; padding:.18rem .62rem; border-radius:999px; font-weight:850; letter-spacing:.06em; color:#061524; background:var(--accent); box-shadow:0 0 0 0 rgba(118,241,190,.45); animation:promise-pop 2.6s ease-in-out infinite; }.promise-time { color:#fff; background:var(--violet); animation-delay:.45s; }.promise-divider { color:var(--accent); font-weight:800; }@keyframes promise-pop { 0%,100% { transform:translateY(0) scale(1); box-shadow:0 0 0 0 rgba(118,241,190,.35); } 45% { transform:translateY(-3px) scale(1.06); box-shadow:0 0 0 9px rgba(118,241,190,0); } }
.crm-table .crm-row.crm-head, .crm-table .crm-row { grid-template-columns: repeat(var(--cols,3), 1fr); }
#crm-content .crm-table .crm-row { grid-template-columns: 1.4fr .8fr .8fr .6fr .8fr .6fr; }
#crm-content .crm-table .crm-row:has(> span:nth-child(3):last-child) { grid-template-columns: 1.2fr 1fr .8fr 1fr; }
.muted { color: var(--muted); font-weight: 400; }
.kanban { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px,1fr)); gap: 1rem; align-items: start; }
.kanban-col { background: rgba(12,21,48,.5); border: 1px solid var(--line); border-radius: 10px; padding: .9rem; min-height: 120px; }
.kanban-col h3 { font-size: 1rem; margin-bottom: .8rem; }
.kanban-card { background: #101b3d; border: 1px solid var(--line); border-radius: 8px; padding: .7rem; margin-bottom: .6rem; }
.kanban-card strong { display: block; color: var(--ink); }
.kanban-card select { width: 100%; margin-top: .5rem; min-height: 36px; border: 1px solid var(--line); border-radius: 6px; background: #081028; color: var(--ink); font: inherit; }
.admin-card h2 { font-size: clamp(1.6rem,3vw,2.4rem); margin-bottom: .5rem; }
.admin-card h3 { margin: 1.5rem 0 .6rem; font-size: 1.1rem; }
