:root {
    color-scheme: light;
    --ink: #13242e;
    --muted: #647780;
    --line: #e4ebea;
    --paper: #f7faf8;
    --green: #0e7f67;
    --green-dark: #075d4e;
    --mint: #d7f0e8;
    --navy: #102a36;
    --purple: #7658d6;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    background: #fff;
    color: var(--ink);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.55;
}
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
.site-header {
    position: relative;
    z-index: 4;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 76px;
    padding: 0 7.2%;
    background: rgba(255,255,255,.92);
    border-bottom: 1px solid rgba(228,235,234,.8);
}
.brand { display: inline-flex; gap: 10px; align-items: center; font-weight: 780; letter-spacing: -.04em; font-size: 19px; }
.brand-mark { display: grid; width: 31px; height: 31px; place-items: center; color: white; font-size: 17px; font-weight: 800; border-radius: 10px 10px 10px 3px; background: linear-gradient(145deg, #18aa86, #075e55); box-shadow: 0 5px 15px #0e7f6733; }
.brand-light { color: #0e9676; }
.main-nav { display: flex; align-items: center; gap: 29px; font-size: 13px; font-weight: 620; color: #51646c; }
.main-nav a:hover, .nav-button:hover { color: var(--green); }
.main-nav form { margin: 0; }
.nav-button { border: 0; background: transparent; color: inherit; cursor: pointer; font-weight: 620; }
.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 11px;
    min-height: 49px;
    padding: 0 22px;
    border: 1px solid var(--green);
    border-radius: 9px;
    background: var(--green);
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.button:hover { transform: translateY(-2px); background: var(--green-dark); box-shadow: 0 10px 26px #0e7f6730; }
.button:disabled { opacity: .48; cursor: not-allowed; transform: none; box-shadow: none; }
.button-small { min-height: 38px; padding: 0 15px; font-size: 12px; }
.button-quiet { border-color: transparent; background: transparent; color: var(--ink); }
.button-quiet:hover { background: #eef6f2; color: var(--green-dark); box-shadow: none; }
.button-outline { border-color: #cddbd7; background: #fff; color: var(--green-dark); }
.button-outline:hover { background: #f0f8f4; box-shadow: none; }
.button-light { border-color: #fff; background: #fff; color: var(--green-dark); }
.button-light:hover { background: #e6f4ee; }
.button-full { width: 100%; margin-top: 7px; }

.hero {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(390px, .92fr);
    align-items: center;
    min-height: 650px;
    overflow: hidden;
    padding: 72px 9% 85px;
    background: linear-gradient(115deg, #f8fbf8 0%, #f5faf7 48%, #eff8f4 100%);
}
.hero-content { position: relative; z-index: 2; max-width: 640px; }
.eyebrow, .section-kicker { color: var(--green); font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.eyebrow { display: inline-flex; align-items: center; gap: 9px; padding: 9px 13px; border: 1px solid #d6e9e1; border-radius: 40px; background: #ffffffa6; letter-spacing: .08em; }
.pulse-dot { width: 7px; height: 7px; border-radius: 50%; background: #11a880; box-shadow: 0 0 0 5px #11a8801c; }
.hero h1 { margin: 24px 0 18px; font-size: clamp(42px, 5vw, 66px); line-height: 1.04; letter-spacing: -.065em; font-weight: 760; }
.hero h1 span, .section-heading h2 span, .workflow-copy h2 span { color: var(--green); }
.hero-copy { max-width: 560px; margin: 0; color: #52666e; font-size: 17px; line-height: 1.75; }
.hero-actions { display: flex; align-items: center; gap: 10px; margin-top: 30px; }
.hero-note { display: flex; flex-wrap: wrap; gap: 12px 19px; margin-top: 26px; color: #61736f; font-size: 11px; font-weight: 600; }
.hero-note span { color: var(--green); font-weight: 900; }
.hero-visual { position: relative; display: grid; min-height: 440px; place-items: center; }
.hero-glow { position: absolute; width: 420px; height: 420px; border-radius: 50%; filter: blur(1px); }
.hero-glow-one { top: -260px; right: 12%; background: radial-gradient(circle, #c4eadb88, transparent 70%); }
.hero-glow-two { bottom: -315px; left: 18%; background: radial-gradient(circle, #d7e7fa88, transparent 70%); }
.orb { position: absolute; border: 1px solid #a9d8c83c; border-radius: 50%; }
.orb-large { width: 400px; height: 400px; transform: rotateX(68deg) rotateZ(-20deg); box-shadow: 0 0 0 30px #dcefe843, 0 0 0 68px #e6f3ed55; }
.orb-small { width: 245px; height: 245px; border-color: #b7d8ed65; transform: rotateX(68deg) rotateZ(50deg); }
.dashboard-preview { position: relative; z-index: 1; width: min(100%, 440px); padding: 17px 19px; border: 1px solid #fff; border-radius: 16px; background: #fff; box-shadow: 0 28px 80px #143d3420, 0 6px 20px #1239320d; transform: rotateY(-5deg) rotateX(2deg); }
.preview-top { display: flex; align-items: center; gap: 5px; padding-bottom: 17px; border-bottom: 1px solid #edf1ef; }
.preview-top span { width: 6px; height: 6px; border-radius: 50%; background: #c1d9d0; }
.preview-top b { margin-left: auto; color: #90a29c; font-size: 8px; letter-spacing: .1em; }
.preview-title { margin: 17px 0 12px; font-size: 14px; font-weight: 720; }
.preview-score { display: flex; align-items: center; gap: 10px; padding: 11px; border-radius: 9px; background: #f4f8f6; }
.preview-score strong { display: grid; width: 31px; height: 31px; place-items: center; border-radius: 9px; background: #daf0e8; color: var(--green); font-size: 9px; }
.preview-score span { flex: 1; color: #566a66; font-size: 10px; }
.preview-score b { color: var(--green); font-size: 12px; }
.preview-bars { display: flex; align-items: end; gap: 8px; height: 55px; margin: 15px 3px; }
.preview-bars i { flex: 1; height: 30%; border-radius: 4px 4px 1px 1px; background: #d8eee5; }
.preview-bars i:nth-child(2n) { height: 55%; }
.preview-bars i:nth-child(3n) { height: 75%; background: #8ed3b7; }
.preview-bars i:nth-child(5n) { height: 95%; background: #18a77e; }
.preview-row { display: flex; align-items: center; gap: 10px; padding: 12px 2px; border-top: 1px solid #edf1ef; }
.preview-row b, .preview-row small { display: block; }
.preview-row b { font-size: 10px; }
.preview-row small { margin-top: 3px; color: #8a9b97; font-size: 9px; }
.preview-row em { margin-left: auto; padding: 4px 7px; border-radius: 20px; background: #e8f6ee; color: #188061; font-size: 8px; font-style: normal; font-weight: 700; }
.preview-avatar { display: grid; width: 27px; height: 27px; place-items: center; border-radius: 8px; background: #e4f0e9; color: var(--green); font-size: 10px; font-weight: 800; }
.avatar-blue { background: #e9effb; color: #5973bc; }
.preview-footer { display: flex; justify-content: space-between; padding-top: 11px; color: #9aa8a3; font-size: 8px; }
.floating-tag { position: absolute; z-index: 2; right: -2%; bottom: 40px; display: flex; align-items: center; gap: 9px; padding: 11px 15px; border: 1px solid #edf2ef; border-radius: 12px; background: #fff; box-shadow: 0 14px 35px #24473d19; }
.tag-icon { display: grid; width: 30px; height: 30px; place-items: center; border-radius: 9px; background: #e4f6ef; color: var(--green); }
.floating-tag b, .floating-tag small { display: block; }
.floating-tag b { font-size: 10px; }
.floating-tag small { color: #859590; font-size: 9px; }
.hero-bottom-line { position: absolute; right: 9%; bottom: 29px; width: 37%; height: 1px; background: linear-gradient(90deg, transparent, #bdd8ce, transparent); }

.trust-strip { display: flex; align-items: center; justify-content: space-between; gap: 22px; padding: 26px 9%; border-bottom: 1px solid var(--line); color: #596e70; font-size: 11px; font-weight: 650; }
.trust-strip > span { color: #93a39d; font-size: 9px; letter-spacing: .11em; }
.trust-strip div b { margin-right: 7px; color: #11a07b; font-size: 10px; }
.section { padding: 105px 9%; }
.section-heading { max-width: 690px; margin: 0 auto 46px; text-align: center; }
.section-heading h2, .workflow-copy h2 { margin: 14px 0; font-size: clamp(34px, 4vw, 48px); line-height: 1.12; letter-spacing: -.055em; }
.section-heading p, .workflow-copy p { margin: 0 auto; max-width: 580px; color: var(--muted); font-size: 15px; line-height: 1.8; }
.feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 15px; max-width: 1200px; margin: 0 auto; }
.feature-card { position: relative; min-height: 270px; padding: 26px; border: 1px solid var(--line); border-radius: 14px; background: #fff; transition: transform .2s ease, box-shadow .2s ease; }
.feature-card:hover { transform: translateY(-4px); box-shadow: 0 20px 50px #173a3510; }
.feature-card-dark { border-color: #163d3b; background: linear-gradient(145deg, #143c3a, #102c37); color: #fff; }
.feature-card-dashed { border-style: dashed; background: #fbfcfb; }
.feature-icon { display: grid; width: 42px; height: 42px; place-items: center; margin-bottom: 24px; border-radius: 12px; background: #e1f3eb; color: var(--green); font-size: 20px; font-weight: 800; }
.feature-card-dark .feature-icon { background: #ffffff1a; color: #78e1be; }
.icon-purple { background: #eeeaff; color: #755dd1; }
.icon-green { background: #e3f4e7; color: #398454; }
.icon-orange { background: #fff0e2; color: #cf7c2d; }
.icon-blue { background: #e7f0ff; color: #5275bb; }
.icon-map { background: #f0f3f2; color: #6f8582; }
.feature-number { display: block; color: #879893; font-size: 9px; font-weight: 800; letter-spacing: .12em; }
.feature-card-dark .feature-number { color: #8cc5b7; }
.feature-card h3 { margin: 9px 0 9px; font-size: 19px; letter-spacing: -.03em; }
.feature-card p { margin: 0; color: #74857f; font-size: 12px; line-height: 1.75; }
.feature-card-dark p { color: #c1d5ce; }
.feature-link { position: absolute; bottom: 23px; left: 26px; right: 26px; display: flex; justify-content: space-between; color: #0d8065; font-size: 10px; font-weight: 750; }
.feature-card-dark .feature-link { color: #8de5c6; }
.feature-card-dashed .feature-link { color: #7c918a; }

.workflow-section { display: grid; grid-template-columns: .9fr 1.1fr; gap: 9%; align-items: center; padding: 100px 11%; background: #f5f8f6; }
.workflow-copy h2 { margin-top: 13px; }
.workflow-copy p { margin: 0 0 25px; }
.text-link { color: var(--green-dark); font-size: 12px; font-weight: 750; }
.text-link span { margin-left: 6px; }
.workflow-list { border-top: 1px solid #dce6e2; }
.workflow-step { display: grid; grid-template-columns: 39px 1fr 22px; gap: 14px; align-items: start; padding: 20px 3px; border-bottom: 1px solid #dce6e2; }
.workflow-step > span { padding-top: 3px; color: #5da88d; font-size: 10px; font-weight: 800; }
.workflow-step h3 { margin: 0 0 5px; font-size: 14px; }
.workflow-step p { margin: 0; color: #788984; font-size: 11px; }
.workflow-step > b { color: #7da697; font-size: 16px; font-weight: 400; }
.plans-section { padding: 105px 9%; }
.plan-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; max-width: 1050px; margin: 0 auto; }
.plan-card { position: relative; padding: 28px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.plan-card-featured { border: 1px solid #148c6c; box-shadow: 0 16px 55px #0b765610; }
.plan-label { color: #7c8e88; font-size: 9px; font-weight: 850; letter-spacing: .12em; }
.plan-card h3 { margin: 12px 0 5px; font-size: 23px; }
.plan-card > p { min-height: 42px; margin: 0; color: var(--muted); font-size: 12px; }
.plan-price { margin: 21px 0 16px; color: #213d38; font-size: 15px; font-weight: 750; }
.plan-price small { display: block; margin-top: 3px; color: #82928d; font-size: 10px; font-weight: 500; }
.plan-card ul { min-height: 95px; margin: 0 0 20px; padding: 14px 0 0; border-top: 1px solid #edf1ef; list-style: none; }
.plan-card li { margin: 7px 0; color: #60736c; font-size: 11px; }
.plan-card li::before { content: "✓"; margin-right: 8px; color: #0b9873; font-weight: 800; }
.plan-card .button { width: 100%; }
.plan-badge { position: absolute; top: -11px; right: 18px; padding: 5px 11px; border-radius: 20px; background: #e2f6ed; color: #0a765b; font-size: 8px; font-weight: 850; letter-spacing: .1em; }
.fine-print { margin: 22px auto 0; max-width: 850px; color: #91a09a; font-size: 10px; line-height: 1.7; text-align: center; }
.cta-section { display: flex; align-items: center; justify-content: space-between; gap: 30px; margin: 0 7% 75px; padding: 48px 6%; border-radius: 18px; background: radial-gradient(circle at 88% 20%, #216f5d 0, transparent 28%), linear-gradient(120deg, #123f3e, #112b38); color: #fff; }
.cta-section .section-kicker { color: #8ad2b5; }
.cta-section h2 { margin: 10px 0 0; font-size: clamp(26px, 3vw, 36px); line-height: 1.2; letter-spacing: -.04em; }
.site-footer { display: grid; grid-template-columns: 1fr 2fr 1fr; align-items: center; gap: 18px; padding: 26px 9%; border-top: 1px solid var(--line); color: #8a9994; font-size: 10px; }
.site-footer p { margin: 0; text-align: center; }
.site-footer > span { text-align: right; }
.brand-footer { color: var(--ink); font-size: 16px; }
.brand-footer .brand-mark { width: 27px; height: 27px; font-size: 14px; }

.auth-section { display: grid; grid-template-columns: 1fr minmax(350px, 440px); gap: 9%; align-items: center; max-width: 1100px; min-height: calc(100vh - 156px); margin: 0 auto; padding: 60px 30px; }
.auth-aside h1 { margin: 15px 0; font-size: clamp(42px, 5vw, 60px); line-height: 1.04; letter-spacing: -.06em; }
.auth-aside h1 span { color: var(--green); }
.auth-aside p { max-width: 430px; color: var(--muted); }
.auth-card { padding: 34px; border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 20px 60px #123a3210; }
.auth-card h2 { margin: 0; font-size: 24px; letter-spacing: -.04em; }
.auth-card > p { margin: 6px 0 23px; color: var(--muted); font-size: 12px; }
.form-stack { display: grid; gap: 9px; }
.form-stack label { margin-top: 4px; color: #334b4b; font-size: 11px; font-weight: 700; }
.form-stack input, .inline-form input, .search-form input, .search-form select, .chat-form input { width: 100%; min-height: 44px; padding: 0 13px; border: 1px solid #dbe5e1; border-radius: 8px; outline: none; background: #fff; color: var(--ink); font-size: 12px; }
.form-stack input:focus, .inline-form input:focus, .search-form input:focus, .search-form select:focus, .chat-form input:focus { border-color: #51aa8b; box-shadow: 0 0 0 3px #0e7f6714; }
.label-hint { float: right; color: #94a29d; font-weight: 500; }
.checkbox-label { display: flex; align-items: center; gap: 8px; color: #788983 !important; }
.checkbox-label input { width: 14px; min-height: 14px; }
.auth-switch { margin: 18px 0 0 !important; text-align: center; }
.auth-switch a { color: var(--green); font-weight: 700; }
.form-error { color: #b94d48; font-size: 11px; }

.dashboard-section { max-width: 1200px; min-height: calc(100vh - 160px); margin: 0 auto; padding: 52px 25px 80px; }
.dashboard-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 28px; }
.dashboard-heading h1 { margin: 7px 0 3px; font-size: 34px; letter-spacing: -.05em; }
.dashboard-heading p { margin: 0; color: var(--muted); font-size: 12px; }
.metric-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 18px; }
.metric-card, .panel-card { padding: 22px; border: 1px solid var(--line); border-radius: 13px; background: #fff; }
.metric-card > span, .metric-card small { display: block; color: #82928d; font-size: 11px; }
.metric-card strong { display: block; margin: 8px 0 3px; font-size: 29px; letter-spacing: -.05em; }
.dashboard-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; margin-bottom: 18px; }
.panel-card-heading { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.panel-card-heading h2 { margin: 6px 0 0; font-size: 17px; letter-spacing: -.03em; }
.integration-row, .api-key-row { display: flex; align-items: center; gap: 12px; padding: 13px 0; border-top: 1px solid #edf1ef; }
.integration-logo { display: grid; width: 34px; height: 34px; place-items: center; border-radius: 10px; background: #e8f3ed; color: #168367; font-size: 11px; font-weight: 800; }
.logo-ai { background: #eeeaff; color: #755dd1; }
.integration-row div { flex: 1; }
.integration-row b, .integration-row small, .api-key-row b, .api-key-row code { display: block; }
.integration-row b, .api-key-row b { font-size: 11px; }
.integration-row small { margin-top: 3px; color: #8b9b95; font-size: 9px; }
.status-pill { padding: 5px 9px; border-radius: 20px; background: #edf2f0; color: #71817b; font-size: 9px; font-weight: 750; }
.status-ready { background: #e4f5ea; color: #1d805b; }
.status-pending { background: #fff3de; color: #94651a; }
.inline-form { display: flex; gap: 8px; margin-bottom: 12px; }
.inline-form input { min-width: 0; }
.api-key-row { justify-content: space-between; }
.api-key-row code { margin-top: 4px; color: #82928d; font-size: 9px; }
.text-button { padding: 6px 8px; border: 0; background: none; color: #b94d48; cursor: pointer; font-size: 10px; font-weight: 700; }
.empty-state { padding: 20px 4px; color: #8b9b95; font-size: 12px; text-align: center; }
.contact-filter-form { display: flex; gap: 8px; margin-bottom: 12px; }
.contact-filter-form input { width: min(100%, 360px); min-height: 39px; padding: 0 11px; border: 1px solid #dbe5e1; border-radius: 8px; font-size: 11px; }
.table-subtext { display: block; margin-top: 3px; color: #8b9b95; font-size: 9px; }
.segment-form, .campaign-form { max-width: 720px; margin-top: 14px; }
.segment-form textarea, .campaign-form textarea { width: 100%; padding: 11px 13px; border: 1px solid #dbe5e1; border-radius: 8px; color: var(--ink); font: inherit; font-size: 12px; resize: vertical; }
.business-profile-form { max-width: 720px; margin-top: 14px; }
.business-profile-form label span { color: #8b9b95; font-size: 10px; font-weight: 400; }
.business-profile-form textarea { width: 100%; padding: 11px 13px; border: 1px solid #dbe5e1; border-radius: 8px; color: var(--ink); font: inherit; font-size: 12px; resize: vertical; }
.business-profile-form textarea:focus { border-color: #51aa8b; outline: none; box-shadow: 0 0 0 3px #0e7f6714; }
.business-analysis { margin-top: 16px; }
.business-analysis-content { white-space: pre-wrap; color: #42564f; font-size: 12px; line-height: 1.8; }
.segment-form textarea:focus, .campaign-form textarea:focus { border-color: #51aa8b; outline: none; box-shadow: 0 0 0 3px #0e7f6714; }
.segment-list, .campaign-list { margin-top: 16px; }
.segment-row, .campaign-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; padding: 16px 0; border-top: 1px solid #edf1ef; }
.segment-row h3, .campaign-row h3 { margin: 0 0 4px; font-size: 13px; }
.segment-row p, .campaign-row p { margin: 0 0 5px; color: #657771; font-size: 11px; }
.segment-row small, .campaign-row small { color: #8b9b95; font-size: 9px; }
.campaign-copy { max-width: 75%; }
.campaign-actions { display: flex; align-items: flex-end; flex-direction: column; gap: 9px; }
.meeting-form { max-width: 720px; margin-top: 14px; }
.meeting-form select, .meeting-form input[type="datetime-local"] { min-height: 40px; padding: 0 11px; border: 1px solid #dbe5e1; border-radius: 8px; color: var(--ink); font: inherit; font-size: 11px; }
.meeting-form textarea { width: 100%; padding: 11px 13px; border: 1px solid #dbe5e1; border-radius: 8px; color: var(--ink); font: inherit; font-size: 12px; resize: vertical; }
.meeting-form label span { color: #8b9b95; font-size: 10px; font-weight: 400; }
.meeting-datetime-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.meeting-list { margin-top: 16px; }
.meeting-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; padding: 16px 0; border-top: 1px solid #edf1ef; }
.meeting-copy h3 { margin: 0 0 4px; font-size: 13px; }
.meeting-copy p { margin: 0 0 5px; color: #657771; font-size: 11px; }
.meeting-copy small { color: #8b9b95; font-size: 9px; }
.meeting-copy .meeting-notes { margin-top: 8px; white-space: pre-wrap; }
.meeting-actions { display: flex; align-items: flex-end; flex-direction: column; gap: 8px; }
.dashboard-shortcuts { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0; }
.dashboard-shortcuts a { padding: 9px 12px; border: 1px solid #e5eeea; border-radius: 8px; color: #236b56; font-size: 10px; font-weight: 700; text-decoration: none; }
.launch-banner { margin: 0; border-radius: 0; text-align: center; }
.nav-status { color: #8b9b95; font-size: 10px; font-weight: 700; }
.button-disabled { display: inline-flex; cursor: not-allowed; opacity: .7; }
.notice { margin: 15px 0; padding: 14px 16px; border: 1px solid; border-radius: 9px; font-size: 12px; }
.notice-warning { border-color: #f1dfb8; background: #fff9eb; color: #73531d; }
.notice-error { border-color: #efd0cd; background: #fff4f3; color: #a53d39; }
.notice-info { border-color: #d7e9e2; background: #f2f8f5; color: #4f6960; }
.notice code { display: block; margin-top: 9px; padding: 9px; overflow-wrap: anywhere; border-radius: 6px; background: #fff; font-size: 11px; }
.search-card { margin-bottom: 16px; }
.search-card h2 { margin: 9px 0 16px; font-size: 20px; }
.search-form { display: grid; grid-template-columns: 1fr 150px auto; gap: 9px; }
.people-search-form { grid-template-columns: 1fr; }
.people-search-options { display: grid; grid-template-columns: 110px 150px auto; gap: 9px; }
.crm-toolbar { margin-bottom: 16px; }
.crm-filter-form { display: grid; grid-template-columns: 1fr 1fr 110px auto; gap: 9px; align-items: end; }
.crm-filter-form label span { display: block; margin-bottom: 5px; color: #71817b; font-size: 9px; font-weight: 700; }
.crm-filter-form input { width: 100%; min-height: 39px; padding: 0 11px; border: 1px solid #dbe5e1; border-radius: 8px; font-size: 11px; }
.crm-import-row { display: flex; justify-content: flex-end; gap: 8px; margin-top: 12px; }
.csv-import-form { display: flex; gap: 8px; align-items: center; }
.csv-import-form input { max-width: 260px; color: #647780; font-size: 10px; }
.crm-toolbar .fine-print { margin-bottom: 0; text-align: left; }
.results-card { margin-bottom: 16px; }
.results-card pre { max-height: 400px; overflow: auto; padding: 15px; border-radius: 9px; background: #102a36; color: #d9e8e2; font-size: 10px; white-space: pre-wrap; overflow-wrap: anywhere; }
.results-card p { color: var(--muted); font-size: 12px; }
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; text-align: left; }
th, td { padding: 12px 9px; border-top: 1px solid #edf1ef; font-size: 11px; }
th { color: #82928d; font-size: 9px; text-transform: uppercase; letter-spacing: .08em; }
.flash-success { padding: 11px 7%; background: #e9f7ef; color: #126a50; font-size: 12px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

.chat-widget { position: fixed; z-index: 10; right: 22px; bottom: 20px; }
.chat-launcher { display: flex; align-items: center; gap: 8px; padding: 13px 17px; border: 0; border-radius: 30px; background: var(--green-dark); color: #fff; box-shadow: 0 9px 26px #123f3440; cursor: pointer; font-size: 12px; font-weight: 750; }
.chat-launcher span { font-size: 16px; }
.chat-panel { display: flex; flex-direction: column; width: min(360px, calc(100vw - 32px)); height: 430px; margin-bottom: 12px; overflow: hidden; border: 1px solid #dce7e2; border-radius: 15px; background: #fff; box-shadow: 0 24px 70px #102e282c; }
.chat-panel[hidden] { display: none; }
.chat-heading { display: flex; align-items: center; justify-content: space-between; padding: 15px; background: #f4f8f6; }
.chat-heading strong, .chat-heading small { display: block; }
.chat-heading strong { font-size: 12px; }
.chat-heading small { color: #83928d; font-size: 9px; }
.chat-close { border: 0; background: none; color: #526760; cursor: pointer; font-size: 20px; }
.chat-messages { display: flex; flex: 1; flex-direction: column; gap: 9px; padding: 13px; overflow-y: auto; }
.chat-bubble { max-width: 88%; margin: 0; padding: 10px 12px; border-radius: 12px; font-size: 11px; line-height: 1.6; overflow-wrap: anywhere; }
.chat-bubble-assistant { align-self: flex-start; background: #eff5f2; color: #324c44; }
.chat-bubble-assistant h3, .chat-bubble-assistant h4 { margin: 0 0 7px; color: #173d36; font-size: 12px; line-height: 1.4; }
.chat-bubble-assistant p { margin: 0 0 8px; }
.chat-bubble-assistant p:last-child { margin-bottom: 0; }
.chat-bubble-assistant ul, .chat-bubble-assistant ol { display: grid; gap: 6px; margin: 7px 0 9px; padding-left: 18px; }
.chat-bubble-assistant li { padding-left: 2px; }
.chat-bubble-assistant strong { color: #17694f; font-weight: 750; }
.chat-bubble-assistant a { color: #087c62; font-weight: 700; text-decoration: underline; text-underline-offset: 2px; }
.chat-bubble-assistant code { padding: 2px 4px; border-radius: 4px; background: #e2ece7; font-size: .95em; }
.chat-bubble-user { align-self: flex-end; background: #0e7f67; color: #fff; }
.chat-form { display: flex; gap: 7px; padding: 11px; border-top: 1px solid #edf1ef; }
.chat-form input { min-width: 0; min-height: 38px; }

.site-header { position: sticky; top: 0; border-bottom-color: #e4ebeaad; background: #ffffffd9; backdrop-filter: blur(16px); }
.nav-status { padding: 9px 13px; border: 1px solid #d5e9e1; border-radius: 30px; background: #eff8f3; color: #0c745b; transition: background .2s ease, transform .2s ease; }
.nav-status:hover { transform: translateY(-1px); background: #e0f3e9; }
.hero { min-height: 690px; padding-top: 80px; padding-bottom: 96px; background: radial-gradient(ellipse at 82% 45%, #15483f 0, transparent 37%), linear-gradient(118deg, #071b25 0%, #0c2832 50%, #102f37 100%); color: #f4fbf7; }
.hero::before { position: absolute; inset: 0; background-image: linear-gradient(#ffffff08 1px, transparent 1px), linear-gradient(90deg, #ffffff08 1px, transparent 1px); background-size: 58px 58px; content: ""; mask-image: linear-gradient(90deg, transparent, #000 65%); pointer-events: none; }
.hero h1 { max-width: 700px; font-size: clamp(46px, 5.3vw, 72px); color: #f5faf8; }
.hero h1 span { background: linear-gradient(90deg, #8ee6b8, #57d5cb 52%, #a9a0ff); background-clip: text; -webkit-text-fill-color: transparent; }
.hero-copy { color: #b7c9c7; }
.eyebrow { border-color: #94d9bf35; background: #ffffff0a; color: #a4e5c7; }
.pulse-dot { background: #8be2b5; box-shadow: 0 0 0 5px #8be2b51c; }
.hero-note { color: #c1d4ce; }
.hero-note span { color: #80e2b2; }
.hero .button-quiet { color: #e0ece7; }
.hero .button-quiet:hover { background: #ffffff12; color: #fff; }
.hero-visual { min-height: 490px; perspective: 1000px; }
.hero-illustration { position: absolute; inset: -8% -10% -8% -4%; width: 116%; height: 116%; object-fit: contain; opacity: .94; animation: art-drift 12s ease-in-out infinite alternate; }
.hero-glow-one { top: -190px; right: 3%; background: radial-gradient(circle, #4ed4a344, transparent 70%); }
.hero-glow-two { bottom: -240px; left: 8%; background: radial-gradient(circle, #786edc33, transparent 70%); }
.orb { border-color: #8ff0c72c; }
.orb-large { box-shadow: 0 0 0 30px #66d7a60d, 0 0 0 68px #66d7a608; }
.orb-small { border-color: #9c9bff2c; }
.dashboard-preview { border-color: #ffffffd9; box-shadow: 0 34px 100px #020e1870, 0 6px 24px #020e1840; transform: rotateY(-7deg) rotateX(3deg); animation: preview-float 7s ease-in-out infinite; }
.floating-tag { right: 1%; bottom: 30px; animation: tag-float 5s ease-in-out infinite; }
.hero-bottom-line { background: linear-gradient(90deg, transparent, #9be4c38a, transparent); }
.trust-strip { background: #fbfdfc; }
.section-solutions { background: linear-gradient(180deg, #fff 0%, #f8fbf9 100%); }
.feature-card, .plan-card { border-radius: 18px; box-shadow: 0 10px 32px #133c3210; }
.feature-card:hover, .plan-card:hover { transform: translateY(-5px); box-shadow: 0 22px 50px #173a3518; }
.feature-card-dark { background: radial-gradient(circle at 100% 0, #287766, transparent 50%), linear-gradient(145deg, #143c3a, #102c37); }
.plan-card-featured { background: linear-gradient(180deg, #f8fdf9, #fff 45%); }
.workflow-section { background: linear-gradient(115deg, #f3f8f5, #eef5f2); }
.cta-section { position: relative; overflow: hidden; box-shadow: 0 22px 60px #102e2820; }
.cta-section::after { position: absolute; top: -100px; right: 18%; width: 300px; height: 300px; border: 1px solid #ffffff20; border-radius: 50%; box-shadow: 0 0 0 30px #ffffff08, 0 0 0 70px #ffffff06; content: ""; pointer-events: none; }
.cta-section > * { position: relative; z-index: 1; }
.chat-launcher { background: linear-gradient(135deg, #0d8c6b, #075b51); transition: transform .2s ease, box-shadow .2s ease; }
.chat-launcher:hover { transform: translateY(-3px); box-shadow: 0 15px 34px #123f3455; }
.chat-panel { border-radius: 20px; box-shadow: 0 26px 80px #102e2840; animation: chat-enter .2s ease-out; }
.chat-heading { background: linear-gradient(115deg, #eaf6ef, #eef5ff); }
.chat-pending { color: #71817b; animation: pulse-opacity 1.2s ease-in-out infinite; }
.has-motion [data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity .65s ease, transform .65s cubic-bezier(.2,.8,.2,1); }
.has-motion [data-reveal].is-visible { opacity: 1; transform: translateY(0); }

@keyframes preview-float { 0%, 100% { transform: translateY(0) rotateY(-7deg) rotateX(3deg); } 50% { transform: translateY(-10px) rotateY(-4deg) rotateX(2deg); } }
@keyframes tag-float { 0%, 100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-9px) rotate(-1deg); } }
@keyframes art-drift { from { transform: translate3d(0, 0, 0) scale(1); } to { transform: translate3d(0, -8px, 0) scale(1.025); } }
@keyframes chat-enter { from { opacity: 0; transform: translateY(10px) scale(.98); } to { opacity: 1; transform: translateY(0) scale(1); } }
@keyframes pulse-opacity { 50% { opacity: .45; } }
@keyframes terminal-line-in { from { opacity: 0; transform: translateY(3px); } to { opacity: 1; transform: translateY(0); } }
.membership-page { max-width: 980px; margin: 0 auto; padding: 70px 24px 90px; }
.membership-heading { max-width: 680px; margin: 0 auto 28px; text-align: center; }
.membership-heading h1 { margin: 7px 0 10px; color: #172b35; font-size: clamp(30px, 5vw, 46px); letter-spacing: -.04em; }
.membership-heading p { color: #687e85; }
.membership-card { display: grid; grid-template-columns: 1.15fr .85fr; overflow: hidden; border: 1px solid #dbe5e6; border-radius: 16px; background: #fff; box-shadow: 0 18px 50px #20353d12; }
.membership-plan { padding: 38px; border-right: 1px solid #e4ebec; }
.membership-plan ul { display: grid; gap: 12px; margin: 24px 0 0; padding-left: 20px; color: #40575f; line-height: 1.55; }
.membership-price { display: flex; align-items: end; gap: 9px; margin-top: 10px; color: #18353d; }
.membership-price strong { font-size: 54px; line-height: 1; }
.membership-price span { margin-bottom: 7px; color: #71858b; font-size: 12px; font-weight: 700; }
.membership-checkout { display: flex; min-height: 320px; align-items: flex-start; justify-content: center; flex-direction: column; gap: 16px; padding: 38px; background: #f7faf9; }
.membership-checkout p { margin: 0; color: #52666e; line-height: 1.65; }
.membership-checkout small { color: #7c8e93; line-height: 1.55; }
.membership-pay-button { width: 100%; background: #ffc439; color: #1b1b1b; border-color: #ffc439; }
.membership-pay-button:hover { background: #f2b92b; }
.membership-login-link { display: inline-block; margin-left: 12px; }
@media (max-width: 700px) {
    .membership-page { padding: 42px 14px 60px; }
    .membership-card { grid-template-columns: 1fr; }
    .membership-plan { border-right: 0; border-bottom: 1px solid #e4ebec; padding: 28px 22px; }
    .membership-checkout { min-height: 0; padding: 28px 22px; }
}

@media (max-width: 950px) {
    .hero { min-height: 650px; }
    .hero-illustration { inset: -5% -17% -5% -12%; width: 130%; }
}
@media (max-width: 700px) {
    .site-header { backdrop-filter: blur(12px); }
    .hero { padding-top: 56px; padding-bottom: 67px; }
    .hero h1 { font-size: clamp(42px, 12vw, 58px); }
    .hero-visual { min-height: 370px; }
    .hero-illustration { inset: -5% -15% -3% -15%; width: 130%; height: 110%; }
    .dashboard-preview { transform: none; animation: none; }
    .floating-tag { right: -2px; bottom: 5px; }
    .nav-status { padding: 7px 10px; }
    .has-motion [data-reveal] { transform: translateY(14px); }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
    .has-motion [data-reveal] { opacity: 1; transform: none; }
}

@media (max-width: 950px) {
    .hero { grid-template-columns: 1fr 0.8fr; padding-right: 6%; padding-left: 6%; }
    .hero h1 { font-size: 52px; }
    .dashboard-preview { width: 365px; }
    .feature-grid { grid-template-columns: repeat(2, 1fr); }
    .workflow-section { padding-right: 7%; padding-left: 7%; }
}
@media (max-width: 700px) {
    .site-header { min-height: 66px; padding: 0 18px; }
    .main-nav { gap: 12px; font-size: 11px; }
    .main-nav { max-width: 64vw; overflow-x: auto; white-space: nowrap; gap: 10px; }
    .main-nav a, .main-nav button { font-size: 10px; }
    .main-nav .button { min-height: 34px; padding: 0 10px; }
    .hero { display: block; min-height: auto; padding: 65px 22px 82px; }
    .hero h1 { font-size: clamp(40px, 12vw, 56px); }
    .hero-copy { font-size: 14px; }
    .hero-actions { align-items: stretch; flex-direction: column; }
    .hero-visual { min-height: 350px; margin-top: 26px; }
    .dashboard-preview { width: min(100%, 420px); }
    .floating-tag { right: 0; bottom: 15px; }
    .trust-strip { justify-content: center; flex-wrap: wrap; padding: 20px; }
    .trust-strip > span { width: 100%; text-align: center; }
    .trust-strip div { font-size: 10px; }
    .section, .plans-section { padding: 72px 20px; }
    .section-heading { margin-bottom: 30px; }
    .feature-grid, .plan-grid { grid-template-columns: 1fr; }
    .feature-card { min-height: 245px; }
    .workflow-section { grid-template-columns: 1fr; gap: 35px; padding: 70px 23px; }
    .cta-section { align-items: flex-start; flex-direction: column; margin: 0 16px 50px; padding: 32px 25px; }
    .site-footer { grid-template-columns: 1fr; justify-items: center; gap: 10px; padding: 25px 20px; }
    .site-footer p, .site-footer > span { text-align: center; }
    .auth-section { grid-template-columns: 1fr; gap: 25px; padding: 38px 20px 60px; }
    .auth-aside h1 { font-size: 43px; }
    .auth-card { padding: 25px; }
    .dashboard-section { padding: 35px 16px 60px; }
    .dashboard-heading { align-items: flex-start; flex-direction: column; }
    .metric-grid { grid-template-columns: 1fr; }
    .dashboard-grid { grid-template-columns: 1fr; }
    .search-form { grid-template-columns: 1fr; }
    .people-search-options { grid-template-columns: 1fr; }
    .crm-filter-form { grid-template-columns: 1fr; }
    .crm-import-row, .csv-import-form { align-items: stretch; flex-direction: column; }
    .csv-import-form input { max-width: none; }
    .segment-row, .campaign-row { flex-direction: column; }
    .campaign-copy { max-width: 100%; }
    .campaign-actions { align-items: flex-start; }
    .meeting-row { flex-direction: column; }
    .meeting-actions { align-items: flex-start; }
    .meeting-datetime-grid { grid-template-columns: 1fr; }
    .search-form select { min-height: 42px; }
    .chat-widget { right: 13px; bottom: 13px; }
}

/* Full visual refresh for the public landing page. */
.hero {
    display: block;
    min-height: 0;
    padding: 86px 7% 54px;
    text-align: center;
    background:
        radial-gradient(ellipse at 50% 70%, #105447 0, transparent 38%),
        radial-gradient(ellipse at 90% 15%, #27327a 0, transparent 28%),
        linear-gradient(145deg, #07141f, #0b2630 58%, #102e36);
}
.hero-content { max-width: 1000px; margin: 0 auto; }
.hero h1 { max-width: 1000px; margin: 27px auto 17px; font-size: clamp(56px, 7.5vw, 100px); letter-spacing: -.075em; }
.hero-copy { max-width: 650px; margin: 0 auto; font-size: 17px; }
.hero-actions, .hero-note { justify-content: center; }
.hero-visual { width: min(100%, 1120px); min-height: 590px; margin: 4px auto 0; }
.hero-illustration { inset: -16% 2% -10%; width: 96%; height: 126%; opacity: 1; transform: scale(1.08); }
.orb-large { width: 520px; height: 520px; }
.orb-small { width: 330px; height: 330px; }
.dashboard-preview { position: absolute; top: 16%; right: 4%; width: min(330px, 36%); padding: 15px; border-radius: 20px; text-align: left; }
.preview-title { margin-top: 12px; }
.preview-bars { height: 42px; }
.preview-row { padding: 9px 2px; }
.floating-tag { right: auto; bottom: 23%; left: 7%; }
.hero-bottom-line { display: none; }
.trust-strip { position: relative; z-index: 1; margin: 0; padding: 24px 8%; border: 0; background: #071923; color: #d7e8e1; }
.trust-strip > span { color: #8ea9a3; }
.trust-strip div b { color: #83e0b2; }
.section-solutions { padding-top: 112px; padding-bottom: 120px; background: #f5f7fb; }
.section-heading { max-width: 1100px; margin: 0 0 45px; text-align: left; }
.section-heading h2 { font-size: clamp(42px, 5vw, 64px); }
.section-heading p { margin-left: 0; }
.feature-grid { gap: 18px; }
.feature-card { min-height: 310px; padding: 31px; overflow: hidden; border: 1px solid #ffffffb0; border-radius: 24px; box-shadow: 0 16px 42px #192b4610; }
.feature-card::after { position: absolute; top: -54px; right: -54px; width: 165px; height: 165px; border-radius: 50%; background: radial-gradient(circle, #ffffffa8, #ffffff00 70%); content: ""; pointer-events: none; }
.feature-card-dark { border-color: #ffffff20; background: radial-gradient(circle at 100% 0, #2d9278, transparent 43%), linear-gradient(145deg, #123f40, #102637); }
.feature-card:nth-child(2) { background: linear-gradient(145deg, #eee9ff, #fff 76%); }
.feature-card:nth-child(3) { background: linear-gradient(145deg, #dff5e9, #fff 76%); }
.feature-card:nth-child(4) { background: linear-gradient(145deg, #fff0df, #fff 76%); }
.feature-card:nth-child(5) { background: linear-gradient(145deg, #e1edff, #fff 76%); }
.feature-card-dashed { border-style: solid; background: linear-gradient(145deg, #e8edf1, #fff 76%); }
.feature-icon { width: 50px; height: 50px; margin-bottom: 30px; border-radius: 16px; }
.feature-card h3 { margin-top: 12px; font-size: 23px; }
.feature-card p { max-width: 340px; font-size: 13px; }
.feature-link { bottom: 27px; left: 31px; right: 31px; font-size: 11px; }
.workflow-section { position: relative; overflow: hidden; padding-top: 120px; padding-bottom: 120px; background: radial-gradient(ellipse at 12% 10%, #1b5b51 0, transparent 32%), linear-gradient(125deg, #0a222d, #102b37); color: #f1f8f4; }
.workflow-section::before { position: absolute; top: -180px; right: -120px; width: 530px; height: 530px; border: 1px solid #c5f3df1a; border-radius: 50%; box-shadow: 0 0 0 45px #c5f3df08, 0 0 0 100px #c5f3df06; content: ""; pointer-events: none; }
.workflow-copy, .workflow-list { position: relative; z-index: 1; }
.workflow-copy h2 { font-size: clamp(42px, 5vw, 62px); }
.workflow-copy h2 span { color: #83dfb1; }
.workflow-copy p { margin-left: 0; color: #b7ccc6; }
.workflow-section .section-kicker { color: #83dfb1; }
.workflow-list { border-color: #ffffff28; }
.workflow-step { padding: 24px 3px; border-color: #ffffff28; }
.workflow-step > span, .workflow-step > b { color: #85ddb4; }
.workflow-step h3 { color: #f3f8f5; font-size: 16px; }
.workflow-step p { color: #b1c7c0; font-size: 12px; }
.workflow-section .text-link { color: #94e5bd; }
.plans-section { padding-top: 120px; padding-bottom: 120px; background: #fff; }
.plan-card { min-height: 385px; padding: 34px; border-radius: 24px; box-shadow: 0 15px 48px #102e2810; transition: transform .22s ease, box-shadow .22s ease; }
.plan-card:hover { transform: translateY(-7px); box-shadow: 0 25px 60px #102e2820; }
.plan-card-featured { border: 0; background: linear-gradient(155deg, #0e413e, #102b37 82%); color: #f3faf6; box-shadow: 0 22px 60px #0e413e30; }
.plan-card-featured .plan-label, .plan-card-featured > p, .plan-card-featured .plan-price, .plan-card-featured .plan-price small, .plan-card-featured li { color: #c1d9cf; }
.plan-card-featured ul { border-color: #ffffff28; }
.plan-card-featured .button { border-color: #92e4bb; background: #92e4bb; color: #103c36; }
.cta-section { margin: 0 5% 80px; padding: 64px 7%; border-radius: 28px; background: radial-gradient(circle at 82% 10%, #4f59a4 0, transparent 30%), linear-gradient(115deg, #0a383b, #102837); }
.cta-section h2 { font-size: clamp(34px, 4vw, 52px); }
.site-footer { padding-top: 35px; padding-bottom: 35px; }

@media (max-width: 950px) {
    .hero { padding-right: 5%; padding-left: 5%; }
    .hero-visual { min-height: 520px; }
    .dashboard-preview { width: min(315px, 40%); }
    .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 700px) {
    .hero { padding: 62px 20px 36px; }
    .hero h1 { font-size: clamp(46px, 12vw, 64px); }
    .hero-copy { font-size: 15px; }
    .hero-actions { align-items: center; flex-direction: column; }
    .hero-visual { min-height: 390px; margin-top: 15px; }
    .hero-illustration { inset: -7% -18% -3%; width: 136%; height: 112%; }
    .orb-large { width: 360px; height: 360px; }
    .orb-small { width: 235px; height: 235px; }
    .dashboard-preview { top: 8%; right: 0; width: min(285px, 84%); padding: 12px; }
    .preview-top { padding-bottom: 9px; }
    .preview-title { font-size: 12px; }
    .preview-row small { font-size: 8px; }
    .floating-tag { bottom: 4%; left: 0; }
    .trust-strip { gap: 15px 20px; }
    .section-solutions, .plans-section { padding: 76px 20px; }
    .section-heading { text-align: left; }
    .section-heading h2 { font-size: 40px; }
    .feature-grid, .plan-grid { grid-template-columns: 1fr; }
    .feature-card { min-height: 270px; }
    .workflow-section { padding: 76px 23px; }
    .plan-card { min-height: 0; }
    .cta-section { margin: 0 16px 50px; padding: 38px 25px; border-radius: 22px; }
}
@media (min-width: 701px) {
    .hero { padding-top: 68px; padding-bottom: 34px; }
    .hero h1 { font-size: clamp(52px, 6vw, 86px); }
    .hero-visual { min-height: 455px; }
    .hero-illustration { inset: -10% 5% -7%; width: 90%; height: 118%; }
    .dashboard-preview { top: 11%; width: min(310px, 32%); }
    .floating-tag { bottom: 17%; left: 9%; }
}

.website-demo-form {
    display: flex;
    gap: 8px;
    width: min(100%, 790px);
    margin: 30px auto 0;
    padding: 7px;
    border: 1px solid #a9d8c836;
    border-radius: 15px;
    background: #ffffff0c;
    box-shadow: 0 18px 55px #020e1830;
}
.website-demo-form input {
    flex: 1;
    min-width: 0;
    min-height: 48px;
    padding: 0 14px;
    border: 0;
    outline: 0;
    background: transparent;
    color: #f4fbf7;
    font-size: 14px;
}
.website-demo-form input::placeholder { color: #a7bbb6; opacity: 1; }
.website-demo-form input:focus-visible { box-shadow: inset 0 0 0 1px #8ee6b8; border-radius: 8px; }
.website-demo-form .button { flex: 0 0 auto; min-height: 48px; }
.website-demo-disclaimer { margin: 10px auto 0; color: #a7bbb6; font-size: 11px; }
.research-workspace[hidden] { display: none; }
.research-workspace {
    position: fixed;
    z-index: 20;
    inset: 0;
    display: grid;
    grid-template-rows: 68px minmax(0, 1fr);
    background: #f5f7f8;
    color: #172b35;
    text-align: left;
}
body.research-workspace-active { overflow: hidden; }
body.research-workspace-active > .site-header,
body.research-workspace-active > .site-footer,
body.research-workspace-active > .chat-widget { display: none !important; }
body.research-workspace-active > main { height: 100vh; overflow: hidden; }
body.research-workspace-active > main > :not(.research-workspace) { display: none !important; }
.research-workspace-header { display: grid; grid-template-columns: 1fr 1fr 1fr; align-items: center; gap: 20px; padding: 0 26px; border-bottom: 1px solid #e1e7e9; background: #fff; }
.research-back-button { justify-self: start; padding: 8px 0; border: 0; background: transparent; color: #52666e; cursor: pointer; font-size: 12px; font-weight: 650; }
.research-back-button:hover { color: var(--green); }
.research-back-button:disabled { opacity: .55; cursor: wait; }
.research-workspace-brand { display: flex; align-items: center; justify-self: center; gap: 9px; white-space: nowrap; font-size: 15px; font-weight: 780; }
.research-workspace-brand .brand-mark { width: 27px; height: 27px; font-size: 14px; }
.research-workspace-brand small { margin-left: 9px; padding-left: 12px; border-left: 1px solid #dfe6e7; color: #71838a; font-size: 11px; font-weight: 500; }
.research-workspace-header-actions { justify-self: end; }
.research-workspace-header-actions .button { min-height: 36px; }
.research-workspace-body { display: grid; grid-template-columns: 286px minmax(0, 1fr); min-width: 0; min-height: 0; }
.research-workspace-sidebar { display: flex; min-width: 0; min-height: 0; flex-direction: column; padding: 26px 15px 18px; border-right: 1px solid #e1e7e9; background: #fff; }
.research-sidebar-site { padding: 0 11px 22px; border-bottom: 1px solid #edf0f1; }
.research-kicker { margin: 0 0 7px; color: #71838a; font-size: 9px; font-weight: 800; letter-spacing: .13em; }
.research-sidebar-site h2 { margin: 0; overflow-wrap: anywhere; color: #1b323b; font-size: 15px; line-height: 1.4; }
.research-sidebar-label { margin: 19px 11px 8px; color: #8a999e; font-size: 9px; font-weight: 800; letter-spacing: .14em; }
.website-demo-stage-list { display: grid; min-width: 0; gap: 5px; }
.website-demo-stage-toggle { display: grid; grid-template-columns: 34px minmax(0, 1fr); grid-template-rows: auto auto; align-items: center; gap: 2px 10px; width: 100%; min-height: 57px; padding: 8px 10px; border: 1px solid transparent; border-radius: 8px; background: transparent; color: #455b64; text-align: left; cursor: pointer; font: inherit; }
.website-demo-stage-toggle:hover { background: #f6f9f8; }
.website-demo-stage-toggle:focus-visible { outline: 2px solid #149476; outline-offset: 1px; }
.website-demo-stage-toggle[aria-current="step"] { border-color: #cee7df; background: #eef7f4; color: #174b3e; }
.website-demo-stage-number { display: grid; grid-column: 1; grid-row: 1 / span 2; width: 31px; height: 31px; place-items: center; border: 1px solid #dce5e6; border-radius: 50%; background: #fff; color: #61777e; font-size: 10px; font-weight: 800; }
.website-demo-stage-toggle[aria-current="step"] .website-demo-stage-number { border-color: #a7d7c8; background: #fff; color: #0e7f67; }
.website-demo-stage-title { grid-column: 2; grid-row: 1; font-size: 12px; font-weight: 700; }
.website-demo-stage-state { grid-column: 2; grid-row: 2; color: #87969a; font-size: 9px; font-weight: 650; }
.website-demo-stage-toggle[data-state="active"] .website-demo-stage-state { color: #0e7f67; }
.website-demo-stage-toggle[data-state="complete"] .website-demo-stage-state { color: #137b5e; }
.website-demo-stage-toggle[data-state="partial"] .website-demo-stage-state,
.website-demo-stage-toggle[data-state="empty"] .website-demo-stage-state { color: #a16c17; }
.website-demo-stage-toggle[data-state="error"] .website-demo-stage-state { color: #b94b40; }
.research-sidebar-note { margin: auto 10px 0; padding-top: 16px; border-top: 1px solid #edf0f1; color: #74858b; font-size: 10px; line-height: 1.55; }
.research-workspace-main { min-width: 0; overflow-y: auto; padding: 30px clamp(22px, 4vw, 58px) 38px; }
.research-progress-overlay { position: fixed; z-index: 25; inset: 68px 0 0 286px; display: grid; place-items: center; padding: 24px; background: #142a3240; backdrop-filter: blur(2px); }
.research-progress-overlay[hidden], .research-workspace-error[hidden] { display: none; }
.research-progress-card { width: min(100%, 470px); padding: 28px; border: 1px solid #dce8e5; border-radius: 14px; background: #fff; box-shadow: 0 18px 60px #102e3826; color: #276550; text-align: center; }
.research-progress-card > p { margin: 12px 0 0; font-size: 13px; font-weight: 650; line-height: 1.55; }
.research-progress-indicator { width: 8px; height: 8px; flex: 0 0 auto; border-radius: 50%; background: #0e9a72; box-shadow: 0 0 0 4px #0e9a721a; animation: pulse-opacity 1.2s ease-in-out infinite; }
.research-terminal { margin-top: 18px; overflow: hidden; border: 1px solid #18333b; border-radius: 8px; background: #0b1d24; box-shadow: inset 0 0 30px #02080a66, 0 10px 24px #102e3820; text-align: left; }
.research-terminal-bar { height: 30px; display: flex; align-items: center; gap: 6px; padding: 0 9px; border-bottom: 1px solid #1d3942; background: #102731; }
.research-terminal-bar > span { width: 7px; height: 7px; border-radius: 50%; background: #ef7d67; box-shadow: 13px 0 #e4b85c, 26px 0 #58c58f; }
.research-terminal-bar b { margin-left: 30px; color: #72909a; font: 700 9px/1 ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace; letter-spacing: .04em; }
.research-terminal-screen { height: 118px; overflow: hidden; padding: 11px 12px; color: #9fc5b6; font: 600 10px/1.75 ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace; background-image: linear-gradient(#ffffff05 1px, transparent 1px); background-size: 100% 4px; }
.research-terminal-screen > div { min-height: 17px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; animation: terminal-line-in .18s ease-out both; }
.research-terminal-prompt { color: #67d89f; }
.research-terminal-path { color: #6db8d3; }
.research-terminal-output { color: #b5c6c9; }
.research-terminal-ok { color: #67d89f; }
.research-terminal-key { color: #dfbd78; }
.research-progress-track { height: 8px; margin-top: 21px; overflow: hidden; border-radius: 8px; background: #e8f0ed; }
.research-progress-track > span { display: block; width: 0; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #0e9a72, #58c58f); transition: width .45s ease; }
.research-progress-card .research-progress-percent { margin-top: 9px; color: #71838a; font-size: 10px; font-weight: 600; }
.research-workspace-error { margin: 0 0 20px; padding: 12px 14px; border: 1px solid #eac7c2; border-radius: 8px; background: #fff5f3; color: #a83e34; font-size: 12px; }
.research-stage-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin: 2px 0 18px; }
.research-stage-heading .research-kicker { color: #0e7f67; }
.research-stage-heading h1 { margin: 0; color: #172b35; font-size: clamp(23px, 2.6vw, 32px); line-height: 1.2; letter-spacing: -.035em; }
.research-active-state { flex: 0 0 auto; padding: 6px 10px; border: 1px solid #dbe5e6; border-radius: 30px; background: #fff; color: #71838a; font-size: 10px; font-weight: 700; }
.research-active-state[data-state="active"], .research-active-state[data-state="complete"] { border-color: #c4e3d8; color: #187658; }
.research-active-state[data-state="partial"], .research-active-state[data-state="empty"] { border-color: #eddcb8; color: #94620f; }
.research-active-state[data-state="error"] { border-color: #eac7c2; color: #ad4136; }
.website-demo-stage-screens { min-height: min(520px, calc(100vh - 260px)); padding: clamp(20px, 3vw, 34px); border: 1px solid #e1e7e9; border-radius: 12px; background: #fff; box-shadow: 0 8px 24px #20353d0a; }
.website-demo-stage-panel[hidden] { display: none; }
.website-demo-report { margin-bottom: 18px; color: #374c54; font-size: 14px; line-height: 1.8; overflow-wrap: anywhere; }
.website-demo-report p { margin: 0 0 9px; }
.website-demo-report ul { margin: 0 0 12px; padding-left: 20px; }
.website-demo-stage-panel > p { color: #61757d; font-size: 13px; line-height: 1.7; overflow-wrap: anywhere; }
.website-demo-stage-panel > ul { display: grid; gap: 13px; margin: 0; padding-left: 20px; }
.website-demo-stage-panel > ul > li { color: #30464f; font-size: 14px; line-height: 1.65; overflow-wrap: anywhere; }
.website-demo-stage-panel a { color: #087c62; text-decoration: underline; text-underline-offset: 3px; }
.website-demo-stage-panel li p { margin: 3px 0 0; color: #63777e; font-size: 12px; }
.website-demo-map-link { display: inline-block; margin-top: 5px; font-size: 11px; }
.website-demo-drafts { display: grid; gap: 16px; }
.website-demo-draft-card { min-width: 0; padding: 18px; border: 1px solid #e1e7e9; border-radius: 10px; background: #fbfcfc; }
.website-demo-draft-heading { display: flex; align-items: start; justify-content: space-between; gap: 12px; }
.website-demo-draft-heading h2 { margin: 0; color: #20353d; font-size: 15px; }
.website-demo-draft-heading a { flex: 0 0 auto; font-size: 11px; }
.website-demo-draft-card > p { margin: 7px 0 0; color: #71838a; font-size: 11px; }
.website-demo-draft-card label, .website-demo-email-label { display: block; margin: 14px 0 5px; color: #455b64; font-size: 12px; font-weight: 700; }
.website-demo-draft-card input, .website-demo-draft-card textarea { width: 100%; padding: 11px 12px; border: 1px solid #d7e0e2; border-radius: 7px; background: #fff; color: #20353d; font: inherit; font-size: 13px; }
.website-demo-draft-card textarea { resize: vertical; line-height: 1.65; }
.website-demo-draft-card .button { margin-top: 13px; }
.website-demo-draft-card .button:disabled { opacity: .55; cursor: not-allowed; }
.website-demo-email-draft label { display: block; margin: 14px 0 5px; color: #455b64; font-size: 12px; font-weight: 700; }
.website-demo-email-draft input, .website-demo-email-draft textarea { width: 100%; padding: 11px 12px; border: 1px solid #d7e0e2; border-radius: 7px; background: #fff; color: #20353d; font: inherit; font-size: 13px; }
.website-demo-email-draft textarea { resize: vertical; line-height: 1.65; }
.website-demo-email-body { min-height: 190px; width: 100%; padding: 12px 14px; border: 1px solid #d7e0e2; border-radius: 7px; background: #fff; color: #20353d; font-size: 13px; line-height: 1.7; }
.website-demo-email-body:focus { border-color: #51aa8b; outline: none; box-shadow: 0 0 0 3px #0e7f6714; }
.website-demo-email-body p { margin: 0 0 12px; }
.website-demo-email-body p:last-child { margin-bottom: 0; }
.website-demo-email-body ul, .website-demo-email-body ol { margin: 0 0 12px; padding-left: 22px; }
.website-demo-email-body li { margin: 4px 0; }
.website-demo-email-draft .button { margin-top: 13px; }
.website-demo-email-draft .button:disabled { opacity: .55; cursor: not-allowed; }
.website-demo-no-send { margin-top: 12px; font-size: 11px !important; }
.research-stage-navigation { display: flex; justify-content: space-between; gap: 12px; margin-top: 18px; }
.research-stage-previous { min-height: 38px; padding: 0 12px; border: 1px solid #d8e1e3; border-radius: 7px; background: #fff; color: #52666e; cursor: pointer; font-size: 11px; font-weight: 700; }
.research-stage-previous:disabled, .research-stage-navigation .button:disabled { opacity: .45; cursor: not-allowed; }

@media (max-width: 700px) {
    .website-demo-form { align-items: stretch; flex-direction: column; padding: 9px; }
    .website-demo-form input { min-height: 46px; }
    .website-demo-form .button { width: 100%; }
    .research-workspace { grid-template-rows: 58px minmax(0, 1fr); }
    .research-workspace-header { grid-template-columns: auto 1fr; gap: 10px; padding: 0 12px; }
    .research-workspace-brand { justify-self: end; font-size: 13px; }
    .research-workspace-brand small, .research-workspace-header-actions { display: none; }
    .research-workspace-body { grid-template-columns: 1fr; grid-template-rows: auto minmax(0, 1fr); }
    .research-workspace-sidebar { padding: 8px 10px; border-right: 0; border-bottom: 1px solid #e1e7e9; }
    .research-sidebar-site, .research-sidebar-label, .research-sidebar-note { display: none; }
    .website-demo-stage-list { display: flex; gap: 5px; overflow-x: auto; padding-bottom: 2px; }
    .website-demo-stage-toggle { min-width: 165px; min-height: 50px; padding: 6px; }
    .website-demo-stage-number { width: 28px; height: 28px; }
    .website-demo-stage-title { font-size: 10px; }
    .website-demo-stage-state { font-size: 8px; }
    .research-workspace-main { padding: 17px 13px 24px; }
    .research-progress-overlay { inset: 58px 0 0; padding: 18px; }
    .research-progress-card { padding: 24px 20px; }
    .research-stage-heading { align-items: start; margin-bottom: 13px; }
    .research-active-state { margin-top: 7px; }
    .website-demo-stage-screens { min-height: 280px; padding: 18px; }
}
