:root {
    color-scheme: dark;
    --ink: #f4f5f7;
    --paper: #111827;
    --accent: #6d5ef7;
    --accent-ink: #ffffff;
    --tagline: #c5cee8;
    --card: #1b2436;
    --line: #2c3548;
    --mute: #9aa3b5;
    --link: #d9defa;
    --field: #0f1626;
    --good: #86efac;
    --warn: #fbbf24;
    --danger: #fca5a5;
    --shadow: 0 18px 50px rgba(0, 0, 0, 0.28);
    --sans: "Outfit", "Avenir Next", "Segoe UI", sans-serif;
}

html[data-theme="light"] {
    color-scheme: light;
    --ink: #000000;
    --paper: #f4f6fb;
    --accent: #5b4de6;
    --accent-ink: #ffffff;
    --tagline: #3f4a78;
    --card: #ffffff;
    --line: #e2e6f0;
    --mute: #5c6578;
    --link: #3d3a8f;
    --field: #ffffff;
    --good: #1f7a4d;
    --warn: #8a5a12;
    --danger: #9a3412;
    --shadow: 0 16px 40px rgba(22, 27, 39, 0.08);
}

* { box-sizing: border-box; }

body {
    margin: 0;
    min-height: 100vh;
    color: #000000;
    background: var(--paper);
    font-family: var(--sans);
    font-size: 18px;
    line-height: 1.8;
}

html:not([data-theme="light"]) body {
    color: var(--ink);
}

a { color: var(--link); }

button, input, textarea, select { font: inherit; color: inherit; }

.topbar, .sidebar {
    background: #0c1220;
    color: var(--ink);
}

.topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 28px;
    background: transparent;
    position: absolute;
    inset: 0 0 auto 0;
    z-index: 2;
}

.brand {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    font-weight: 650;
    font-size: 22px;
    letter-spacing: -0.03em;
    text-decoration: none;
    color: #fff;
}

.logo { height: 42px; width: auto; display: block; }

.brand small, .sidebar .brand small {
    display: block;
    margin-top: 2px;
    font-size: 12px;
    letter-spacing: 0.01em;
    font-weight: 500;
    color: var(--tagline);
}

.shell {
    display: grid;
    grid-template-columns: 240px 1fr;
    min-height: 100vh;
}

.sidebar {
    padding: 22px 14px 18px;
    display: flex;
    flex-direction: column;
    gap: 18px;
    background: #ffffff;
}

.sidebar nav { display: grid; gap: 4px; }

.sidebar a {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    padding: 10px 12px;
    border-radius: 12px;
    color: #3c4458;
    font-weight: 550;
}

.sidebar a svg { width: 18px; height: 18px; flex: none; color: #5b4de6; }

.sidebar a.active, .sidebar a:hover {
    background: #efeaff;
    color: #5b4de6;
}

html.admin .sidebar .brand {
    flex-direction: row;
    align-items: baseline;
    gap: 6px;
    padding: 5px 10px 6px;
    color: #171a2b;
    font-size: 36px;
    font-weight: 700;
    letter-spacing: -0.03em;
}
html.admin .sidebar .brand span { color: #5b4de6; }

html[data-theme="light"] .sidebar {
    background: #ffffff;
    color: var(--ink);
    border-right: 1px solid #e7ebf3;
}

html[data-theme="light"] .sidebar a { color: #3c4458; }

html[data-theme="light"] .sidebar a.active,
html[data-theme="light"] .sidebar a:hover {
    background: #efeaff;
    color: #5b4de6;
}

html[data-theme="light"] .notice {
    background: #efeaff;
    color: #2a2460;
}

html[data-theme="light"] .bubble { background: #eef1f8; color: var(--ink); }

.sidebar form { margin-top: auto; }
.sidebar-copy {
    margin: auto 0 0;
    padding: 0 12px;
    font-size: 12px;
    color: #8b93a7;
}

.main { padding: 28px 32px 64px; background: #f6f7fb; }
.admin-bar { display: flex; justify-content: flex-end; margin: -8px 0 12px; }
.account { position: relative; }
.account summary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    list-style: none;
    cursor: pointer;
    border: 1px solid #e2e6f0;
    background: #ffffff;
    border-radius: 999px;
    padding: 4px 10px 4px 4px;
}
.account summary::-webkit-details-marker { display: none; }
.account-mark {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: #f3f0ff;
    color: #5b4de6;
}
.account-label { font-size: 14px; font-weight: 650; color: #2a3142; }
.account-mark svg, .account-chevron { width: 18px; height: 18px; }
.account-chevron { color: #6b728a; }
.account-menu {
    position: absolute;
    right: 0;
    top: calc(100% + 8px);
    min-width: 160px;
    background: #ffffff;
    border: 1px solid #e2e6f0;
    border-radius: 12px;
    padding: 6px;
    box-shadow: 0 12px 30px rgba(22, 27, 39, 0.08);
    z-index: 5;
}
.logout {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    border: 0;
    border-radius: 8px;
    background: transparent;
    padding: 8px 10px;
    color: #c4232b;
    font-weight: 650;
    cursor: pointer;
    box-shadow: none;
}
.logout svg { width: 18px; height: 18px; flex: none; }
.logout:hover { color: #a11b22; border-color: #aeb6c4; background: #ffffff; }

.stat { text-align: center; padding: 26px 16px 20px; border-radius: 18px; }
.stat-icon {
    width: 44px;
    height: 44px;
    margin: 0 auto 12px;
    border-radius: 50%;
    background: #efeaff;
    color: #5b4de6;
    display: grid;
    place-items: center;
}
.stat-icon.tone-purple { background: #5b4de6; color: #ffffff; }
.stat-icon.tone-blue { background: #044fe6; color: #ffffff; }
.stat-icon.tone-green { background: #1c8a4a; color: #ffffff; }
.stat-icon.tone-orange { background: #e07a2f; color: #ffffff; }
.stat-icon svg { width: 22px; height: 22px; }
.stat strong { display: block; font-size: 32px; line-height: 1; margin-bottom: 6px; }
.panel {
    background: #ffffff;
    border: 1px solid #e7ebf3;
    border-radius: 18px;
    padding: 20px 8px 6px;
    margin-top: 18px;
    box-shadow: 0 8px 24px rgba(22, 27, 39, 0.04);
}
.panel h2 { font-size: 22px; padding: 0 16px 14px; }
.panel th {
    background: #f7f8fc;
    border-bottom: 0;
    padding-top: 14px;
    padding-bottom: 14px;
}
.panel td { color: #2a3142; }
.panel td.muted { color: #6b728a; }
.panel tr:last-child td { border-bottom: 0; }
.attention { list-style: none; margin: 0; padding: 0 16px 10px; display: grid; gap: 10px; }
.attention li { display: flex; align-items: center; gap: 12px; }
.attention li .ip-reveal { margin-left: auto; flex: none; }
.ip-reveal summary {
    display: inline-flex;
    align-items: center;
    cursor: pointer;
    color: #3d3a8f;
    font-size: 13px;
    font-weight: 650;
    list-style: none;
}
.ip-reveal summary::-webkit-details-marker { display: none; }
.ip-reveal[open] summary { margin-bottom: 4px; }
.ip-reveal-body {
    font-size: 13px;
    line-height: 1.45;
    white-space: pre-line;
    color: #171a2b;
}
.attention a { color: #3d3a8f; font-weight: 550; }
.attention-empty { margin: 0; padding: 0 16px 16px; color: #6b728a; }
html.admin .card {
    border: 1px solid #e7ebf3;
    box-shadow: 0 8px 24px rgba(22, 27, 39, 0.04);
}
html.admin .pill.good { background: #e7f8ee; color: #1c8a4a; }
html.admin body, html.admin .main { background: #f5f6fb; }

.page-head {
    display: flex;
    justify-content: space-between;
    gap: 16px 24px;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 22px;
}

.page-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: none;
}
.sort-switch { display: flex; gap: 8px; }
.icon-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    padding: 0;
    border: 1px solid #aaaaaa;
    border-radius: 50%;
    background: #f3f0ff;
    color: #5b4de6;
    cursor: pointer;
    text-decoration: none;
}
.icon-btn svg { width: 20px; height: 20px; }
.icon-btn:hover { background: #e7e1ff; color: #5b4de6; }
.sort-switch .icon-btn.is-on,
.icon-btn.is-on { background: #5b4de6; color: #ffffff; }
.list-toolbar { display: grid; gap: 10px; margin-bottom: 16px; }
.list-toolbar select { width: 100%; height: 42px; }
.list-toolbar-actions { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.icon-btn[data-tip]::before,
.icon-btn[data-tip]::after {
    position: absolute;
    left: 50%;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    z-index: 40;
    transition: opacity 0.12s ease;
}
.icon-btn[data-tip]::after {
    content: attr(data-tip);
    bottom: calc(100% + 10px);
    transform: translateX(-50%);
    padding: 8px 12px;
    border-radius: 8px;
    background: #000000;
    color: #ffffff;
    font-size: 14px;
    font-weight: 650;
    line-height: 1.2;
    letter-spacing: 0;
    white-space: nowrap;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.28);
}
.icon-btn[data-tip]::before {
    content: "";
    bottom: calc(100% - 2px);
    transform: translateX(-50%);
    border: 7px solid transparent;
    border-top-color: #000000;
}
.icon-btn[data-tip]:hover::before,
.icon-btn[data-tip]:hover::after,
.icon-btn[data-tip]:focus-visible::before,
.icon-btn[data-tip]:focus-visible::after {
    opacity: 1;
    visibility: visible;
}

.page-actions form { display: flex; margin: 0; }

.page-actions .btn {
    box-sizing: border-box;
    white-space: nowrap;
    flex: none;
    height: 42px;
    min-height: 42px;
    padding: 0 18px;
    line-height: 1;
}

h1, h2, h3 { font-weight: 650; letter-spacing: -0.03em; margin: 0; }

h1 { font-size: 40px; line-height: 1.05; }

h2 { font-size: 26px; }

.lede { max-width: 100%; color: var(--mute); margin: 8px 0 0; }

.grid { display: grid; gap: 16px; }

.stats { grid-template-columns: repeat(4, 1fr); }

.cards { grid-template-columns: repeat(2, 1fr); }

.card, .table-wrap, .notice {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 16px;
    box-shadow: var(--shadow);
}

.card { padding: 18px 18px 16px; }
html:not(.admin) .steps > .card,
html:not(.admin) .home-wrap .cards > .card {
    color: #171a2b;
}
html:not(.admin) .steps > .card .lede,
html:not(.admin) .home-wrap .cards > .card .lede,
html:not(.admin) .steps > .card .audience,
html:not(.admin) .home-wrap .cards > .card .audience {
    color: #3d4660;
}
html:not(.admin) .steps > .card .step-no {
    color: #3d2e9e;
}
html:not(.admin) .tone-a > .card:nth-child(1) {
    background: linear-gradient(165deg, #d4c6ff 0%, #f4f0ff 100%);
    border-color: #b7a4f5;
}
html:not(.admin) .tone-a > .card:nth-child(2) {
    background: linear-gradient(165deg, #b9d4ff 0%, #eef5ff 100%);
    border-color: #8eb6f5;
}
html:not(.admin) .tone-a > .card:nth-child(3) {
    background: linear-gradient(165deg, #b7efd0 0%, #eefbf4 100%);
    border-color: #86d7ae;
}
html:not(.admin) .tone-a > .card:nth-child(4) {
    background: linear-gradient(165deg, #ffd0a8 0%, #fff4ea 100%);
    border-color: #f0b27a;
}
html:not(.admin) .tone-b > .card:nth-child(1) {
    background: linear-gradient(165deg, #ffc2dc 0%, #fff0f6 100%);
    border-color: #f5a3c7;
}
html:not(.admin) .tone-b > .card:nth-child(2) {
    background: linear-gradient(165deg, #a8efe4 0%, #eefcf9 100%);
    border-color: #6fd4c6;
}
html:not(.admin) .tone-b > .card:nth-child(3) {
    background: linear-gradient(165deg, #ffe08a 0%, #fff8dc 100%);
    border-color: #e6c35c;
}
html:not(.admin) .tone-c > .card:nth-child(1) {
    background: linear-gradient(165deg, #ffc2b8 0%, #fff1ee 100%);
    border-color: #f0a090;
}
html:not(.admin) .tone-c > .card:nth-child(2) {
    background: linear-gradient(165deg, #f0abfc 0%, #fae8ff 100%);
    border-color: #e08af0;
}
html:not(.admin) .tone-c > .card:nth-child(3) {
    background: linear-gradient(165deg, #d4f08a 0%, #f7fbe8 100%);
    border-color: #b6d45c;
}
body.page-home #setup {
    width: 100%;
    margin-top: 72px;
    margin-left: 0;
    margin-right: 0;
    padding: 56px 0;
    background: #eef4ff;
    color: #0f172a;
    box-shadow: none;
}
body.page-home #setup .setup-inner {
    width: min(1240px, calc(100% - 56px));
    max-width: 1240px;
    margin: 0 auto;
}
body.page-home .home-wrap:has(+ #setup) { padding-bottom: 0; }
body.page-home #setup + .home-wrap { padding-top: 0; }
@media (max-width: 900px) {
    body.page-home #setup { padding: 56px 20px; }
    body.page-home #setup .setup-inner { width: 100%; max-width: none; }
}
body.page-home #setup h2 { color: #0f172a; }
body.page-home #setup .lede { color: #475569; }
body.page-home #setup .step-no { color: #2563eb; }
html:not(.admin) body.page-home #setup .steps > .card {
    background: #ffffff;
    border: 1px solid #d6e4ff;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
    color: #0f172a;
}
body.page-home #pricing .steps > .card h2 { color: #0f172a; }
body.page-home #pricing .steps > .card .lede,
body.page-home #pricing .steps > .card .audience { color: #475569; }
html:not(.admin) body.page-home #pricing .steps.tone-c > .card {
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
    color: #0f172a;
}
html:not(.admin) body.page-home #pricing .steps.tone-c > .card:nth-child(1) {
    background: #f1f5f9;
    border: 1px solid #cbd5e1;
}
html:not(.admin) body.page-home #pricing .steps.tone-c > .card:nth-child(2) {
    background: #eef4ff;
    border: 1px solid #bfdbfe;
}
html:not(.admin) body.page-home #pricing .steps.tone-c > .card:nth-child(3) {
    background: #e6f7f1;
    border: 1px solid #a7e5d0;
}
body.page-home #pricing .btn {
    background: #2563eb;
    color: #ffffff;
    border: 0;
}
body.page-home #pricing .btn:hover { background: #1d4ed8; }
body.page-features #who .steps > .card h2 { color: #0f172a; }
body.page-features #who .steps > .card .lede { color: #475569; }
html:not(.admin) body.page-features #who .steps.tone-b > .card {
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
    color: #0f172a;
}
html:not(.admin) body.page-features #who .steps.tone-b > .card:nth-child(1) {
    background: #f1f5f9;
    border: 1px solid #cbd5e1;
}
html:not(.admin) body.page-features #who .steps.tone-b > .card:nth-child(2) {
    background: #eef4ff;
    border: 1px solid #bfdbfe;
}
html:not(.admin) body.page-features #who .steps.tone-b > .card:nth-child(3) {
    background: #e6f7f1;
    border: 1px solid #a7e5d0;
}
body.page-pricing .price-how .steps > .card h3 { color: #0f172a; }
body.page-pricing .price-how .steps > .card .lede { color: #475569; }
body.page-pricing .price-how .steps > .card .step-no { color: #2563eb; }
html:not(.admin) body.page-pricing .price-how .steps.tone-a > .card {
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
    color: #0f172a;
}
html:not(.admin) body.page-pricing .price-how .steps.tone-a > .card:nth-child(1) {
    background: #f1f5f9;
    border: 1px solid #cbd5e1;
}
html:not(.admin) body.page-pricing .price-how .steps.tone-a > .card:nth-child(2) {
    background: #eef4ff;
    border: 1px solid #bfdbfe;
}
html:not(.admin) body.page-pricing .price-how .steps.tone-a > .card:nth-child(3) {
    background: #e6f7f1;
    border: 1px solid #a7e5d0;
}

.stat strong { display: block; font-size: 34px; line-height: 1; font-weight: 650; }

.stat span, .meta { color: var(--mute); font-size: 13px; }

.notice {
    padding: 12px 14px;
    margin-bottom: 16px;
    background: #241f45;
    color: #e8e6ff;
}

.table-wrap { overflow: auto; }

table { width: 100%; border-collapse: collapse; }

th, td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }

th { font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--mute); font-weight: 600; }

.pill {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 2px 8px;
    font-size: 12px;
    background: #2a3348;
    color: var(--ink);
}

.pill.good { background: #14352a; color: var(--good); }
.pill.warn { background: #3a2e14; color: var(--warn); }
.pill.danger { background: #3a1d1d; color: var(--danger); }

html.admin .pill { background: #e8ebf4; color: #3f4a78; }
html.admin .pill.good { background: #e5f6ec; color: #1f7a4d; }
html.admin .pill.warn { background: #fff4df; color: #8a5a12; }
html.admin .pill.danger { background: #fde8e4; color: #9a3412; }
html.admin .snippet { background: #f4f6fb; color: #161b27; border: 1px solid var(--line); }
html.admin input[type="color"] { background: #ffffff; }

.btn, button.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 0;
    border-radius: 999px;
    padding: 8px 40px;
    background: var(--accent);
    color: var(--accent-ink);
    text-decoration: none;
    cursor: pointer;
}

.btn.secondary { background: transparent; color: var(--ink); border: 1px solid #a3a3a3; }
html:not(.admin) .btn.secondary {
    background: #ffffff;
    color: #111111;
    border: 2px solid #5b4de6;
    font-weight: 650;
    padding: 8px 40px;
}
html:not(.admin):not([data-theme="light"]) .btn.secondary {
    background: transparent;
    color: #f4f5f7;
    border-color: #c5cee8;
    padding: 8px 40px;
}
.btn.quiet { background: transparent; color: var(--danger); padding-inline: 0; }

label { display: grid; gap: 6px; font-size: 14px; }

input[type="color"] {
    width: 72px;
    height: 42px;
    padding: 4px;
    background: #0f1626;
    cursor: pointer;
}

.theme-fields { display: flex; gap: 18px; flex-wrap: wrap; }
.theme-fields label { width: auto; }

input[type="text"], input[type="email"], input[type="password"], input[type="url"], input[type="tel"], input[type="number"], textarea, select {
    width: 100%;
    border: 1px solid var(--line);
    background: var(--field);
    border-radius: 12px;
    padding: 10px 12px;
    color: var(--ink);
}

textarea { min-height: 120px; resize: vertical; }

.form { display: grid; gap: 14px; max-width: 720px; }

.form-status {
    margin: 0 0 4px;
    padding: 14px 16px;
    border-radius: 12px;
    background: #123226;
    color: #d8f8e6;
    border: 1px solid #1f7a4d;
    line-height: 1.45;
}

html[data-theme="light"] .form-status {
    background: #e7f6ee;
    color: #145c38;
    border: 1px solid #b7e4c9;
}

html.admin .form { align-content: start; }

html.admin .form > .btn { width: auto; justify-self: start; }

.check { display: flex; gap: 8px; align-items: center; }

.row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }

.script-note { display: grid; gap: 10px; margin-top: 4px; }

.site-settings.form,
.cards > .form { max-width: none; }

.settings-pair {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px 28px;
    align-items: start;
}

.settings-col { display: grid; gap: 14px; align-content: start; }

.settings-col textarea { min-height: 64px; }

.section-line {
    border: 0;
    border-top: 1px solid var(--line);
    margin: 22px 0;
}

.page-scroll {
    max-height: calc(50 * 37px);
    margin-top: 14px;
    overflow: auto;
    border: 1px solid var(--line);
    border-radius: 12px;
}

.page-scroll .row {
    flex-wrap: nowrap;
    justify-content: space-between;
    gap: 16px;
    margin: 0;
    padding: 8px 12px;
    border-bottom: 1px solid var(--line);
}

.page-scroll .row span {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.site-actions { white-space: nowrap; }
.site-actions form { display: inline; margin-left: 14px; }
.text-danger {
    background: none;
    border: 0;
    padding: 0;
    color: var(--danger);
    cursor: pointer;
    font: inherit;
    text-decoration: underline;
}

.snippet {
    font-family: ui-monospace, "Cascadia Code", Consolas, monospace;
    font-size: 13px;
    background: #0c1220;
    color: #e8eaf6;
    padding: 14px 16px;
    border-radius: 12px;
    overflow: auto;
}

.snippet.reply,
textarea.reply-edit {
    white-space: pre-wrap;
    overflow-wrap: anywhere;
    overflow-x: hidden;
}

textarea.reply-edit {
    min-height: 4.8em;
    line-height: 1.45;
}

.reply-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px 22px;
    margin-top: 16px;
}

.reply-save { margin-top: 32px; }

.script-copy { margin-top: 16px; }

.error { color: var(--danger); font-size: 13px; }

.thread { display: grid; gap: 10px; }

.bubble {
    max-width: 70ch;
    padding: 12px 14px;
    border-radius: 14px;
    background: #243049;
    border: 1px solid var(--line);
}

.bubble.visitor { background: var(--accent); color: #fff; }

.login-wrap, .home-wrap {
    width: min(1240px, calc(100% - 56px));
    max-width: 1240px;
    margin: 0 auto;
    padding: 28px 0;
}

.login-card { max-width: 420px; margin: 18vh auto; }

.preview-page { min-height: 100vh; padding: 88px 8vw 120px; }

.preview-kicker { letter-spacing: 0.14em; text-transform: uppercase; font-size: 12px; color: var(--tagline); }

.split { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 28px; align-items: start; }

.site-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 14px max(28px, calc((100% - 1240px) / 2));
    position: sticky;
    top: 0;
    z-index: 20;
    background: #0d1425;
    border-bottom: 1px solid #2c3548;
}

.header-end {
    display: flex;
    align-items: center;
    gap: 10px;
}

.theme-toggle {
    display: grid;
    place-items: center;
    width: 2rem;
    height: 2rem;
    padding: 0;
    border: 0;
    background: transparent;
    color: #f4f5f7;
    cursor: pointer;
}

.theme-toggle svg,
.nav-toggle svg {
    width: 1.35rem;
    height: 1.35rem;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.nav-toggle {
    display: none;
    place-items: center;
    width: 2rem;
    height: 2rem;
    padding: 0;
    border: 0;
    background: transparent;
    color: #f4f5f7;
    cursor: pointer;
}

.nav-toggle .icon-close { display: none; }

.site-header.is-open .nav-toggle .icon-menu { display: none; }

.site-header.is-open .nav-toggle .icon-close { display: block; }

.site-header .nav-signin { display: none; }

.theme-toggle .icon-sun { display: none; }

html[data-theme="light"] .theme-toggle .icon-moon { display: none; }

html[data-theme="light"] .theme-toggle .icon-sun { display: block; }

.theme-toggle:hover { color: #fff; }

.site-nav { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; }
.site-nav a {
    text-decoration: none;
    color: #d5dbe8;
    font-size: 13px;
    font-weight: 650;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}
.site-nav a.active, .site-nav a:hover { color: #fff; }

.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; margin-top: 40px; }
.hero-note {
    margin: 18px 0 0;
    max-width: 36rem;
    font-size: 14px;
    line-height: 1.5;
    color: #9aa3b5;
}
html[data-theme="light"] .hero-note { color: var(--mute); }
.home-block { margin-top: 56px; }
body.page-features .stage-dashboard { margin-top: 40px; }
hr.section-rule {
    border: 0;
    border-top: 1px solid var(--line);
    height: 0;
    margin: 72px 0 0;
}
.home-block h2 { margin-bottom: 8px; }
.home-block .cards { margin-top: 20px; }
.demo-questions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.demo-questions button {
    border: 1px solid #d9deea;
    background: #ffffff;
    color: #3d3a8f;
    border-radius: 999px;
    padding: 10px 16px;
    font: inherit;
    font-weight: 600;
    cursor: pointer;
}
.demo-questions button:hover { border-color: #5b4de6; background: #f3f0ff; }
@media (max-width: 900px) {
    .demo-questions button { font-size: 13px; }
}

.proof { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.chip {
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 6px 12px;
    color: var(--tagline);
    background: var(--card);
    font-size: 13px;
}

.steps, .plans, .price-board { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
#pricing .steps { margin-top: 36px; }

.price-board { align-items: stretch; margin-top: 8px; }

.price-card {
    position: relative;
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 22px;
    padding: 28px 22px 22px;
    display: flex;
    flex-direction: column;
}

.price-featured { border: 2px solid var(--accent); }
html[data-theme="light"] .price-board > .price-card { color: #191d2e; }
html[data-theme="light"] .price-board > .price-card .audience,
html[data-theme="light"] .price-board > .price-card .price-summary { color: #40516d; }
html[data-theme="light"] .price-board > .price-card:nth-child(1) {
    background: #fff1f5;
    border: 1px solid #e5e7eb;
}
html[data-theme="light"] .price-board > .price-card:nth-child(2) {
    background: #f0fcf8;
    border: 2px solid #a69bff;
}
html[data-theme="light"] .price-board > .price-card:nth-child(3) {
    background: #fff8ec;
    border: 1px solid #e5e7eb;
}
html[data-theme="light"] .price-board > .price-card .btn:not(.secondary) {
    background: #7568e8;
    color: #ffffff;
    border: 0;
}
html[data-theme="light"] .price-board > .price-card .btn:not(.secondary):hover {
    background: #6558d8;
}
html[data-theme="light"]:not(.admin) .price-card .btn.secondary {
    background: #ffffff;
    color: #7568e8;
    border: 2px solid #a69bff;
}
html[data-theme="light"]:not(.admin) .price-card .btn.secondary:hover {
    background: #f7f5ff;
    border-color: #a69bff;
    color: #6558d8;
}
html:not([data-theme="light"]) body.page-pricing {
    background: #0b1220;
    color: #f1f5f9;
}
html:not([data-theme="light"]) body.page-pricing .lede { color: #a6b4c8; }
html:not([data-theme="light"]) body.page-pricing .site-header {
    background: #0d1425;
    border-bottom-color: #2c3548;
}
html:not([data-theme="light"]) body.page-pricing .site-footer {
    background: #0b1220;
    border-top-color: #2a3850;
}
html:not([data-theme="light"]) .price-board > .price-card {
    background: #151f33;
    border: 1px solid #2a3850;
    color: #f1f5f9;
}
html:not([data-theme="light"]) .price-board > .price-card:nth-child(2) {
    background: #182740;
    border: 2px solid #6d9fe8;
}
html:not([data-theme="light"]) .price-board > .price-card:hover { border-color: #465b79; }
html:not([data-theme="light"]) .price-board > .price-card h2,
html:not([data-theme="light"]) .price-board > .price-card .price-figure,
html:not([data-theme="light"]) .price-board > .price-card .price-includes { color: #f1f5f9; }
html:not([data-theme="light"]) .price-board > .price-card .audience,
html:not([data-theme="light"]) .price-board > .price-card .price-summary,
html:not([data-theme="light"]) .price-board > .price-card .price-limit,
html:not([data-theme="light"]) .price-board > .price-card .price-group li { color: #a6b4c8; }
html:not([data-theme="light"]) .price-board > .price-card .btn:not(.secondary) {
    background: #6d9fe8;
    color: #0b1220;
    border: 0;
}
html:not([data-theme="light"]) .price-board > .price-card .btn:not(.secondary):hover {
    background: #8ab4f2;
    color: #0b1220;
}
html:not(.admin):not([data-theme="light"]) .price-card .btn.secondary {
    background: transparent;
    color: #a6b4c8;
    border: 2px solid #3a4961;
}
html:not(.admin):not([data-theme="light"]) .price-card .btn.secondary:hover {
    background: transparent;
    color: #f1f5f9;
    border-color: #465b79;
}
html:not([data-theme="light"]) .price-badge {
    background: #6d9fe8;
    color: #0b1220;
}

.price-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    margin: 0;
    background: #161b27;
    color: #fff;
    border-radius: 999px;
    padding: 4px 12px;
    font-size: 15px;
    font-weight: 600;
    white-space: nowrap;
}

.price-card h2 { margin: 0; font-size: 28px; letter-spacing: -0.03em; }

.price-limit {
    margin: 0 0 8px;
    font-size: 13px;
    font-weight: 650;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--accent);
}

.price-card .audience { margin: 10px 0 0; color: var(--mute); min-height: 3.2em; }

.price-figure {
    margin: 18px 0 0;
    font-size: 18px;
    line-height: 1.4;
    font-weight: 700;
    letter-spacing: 0;
}

.price-summary { margin: 12px 0 0; color: var(--mute); }

.price-card .btn { width: 100%; border-radius: 12px; margin-top: auto; white-space: nowrap; }

.price-intro { max-width: 68ch; margin-bottom: 28px; }

.price-intro h2, .price-how h2, .price-faq h2, .price-close h2 {
    margin: 0 0 12px;
    font-size: clamp(28px, 4vw, 36px);
    letter-spacing: -0.03em;
}

.price-how, .price-faq, .price-close { margin-top: 64px; }

.price-how .hero-actions, .price-close p:last-child { margin-top: 22px; }

.price-close {
    max-width: none;
    margin-left: 0;
    margin-right: 0;
    text-align: center;
    border-top: 1px solid var(--line);
    padding-top: 48px;
}
.price-close h2,
.price-close .lede,
.price-close p { max-width: 68ch; margin-left: auto; margin-right: auto; }

.price-faq { text-align: center; }
.price-faq .faq { margin-left: auto; margin-right: auto; text-align: left; }

.price-includes { margin: 22px 0 0; font-size: 14px; }

.price-group { margin-top: 16px; margin-bottom: 32px; }

.price-group h3 { margin: 0 0 8px; font-size: 15px; }

.price-group ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }

.price-group li { display: flex; gap: 8px; align-items: flex-start; font-size: 14px; }

.price-group li::before {
    content: "";
    flex: none;
    width: 18px;
    height: 18px;
    margin-top: 1px;
    border-radius: 50%;
    background: #6254f5 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.2 8.2 6.3 11.1 12.8 4.6' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat;
}
html:not([data-theme="light"]) .price-group li::before { background-color: #6fcfad; }

.price-compare { margin-top: 56px; }
.price-compare tbody tr:nth-child(odd) td { background: rgba(109, 94, 247, 0.16); }
.price-compare tbody tr:nth-child(even) td { background: rgba(255, 255, 255, 0.04); }
html[data-theme="light"] .price-compare tbody tr:nth-child(odd) td { background: #f3f0ff; }
html[data-theme="light"] .price-compare tbody tr:nth-child(even) td { background: #ffffff; }

.price-compare h2 { margin: 0 0 16px; font-size: 32px; letter-spacing: -0.03em; }
.step-no { margin: 0 0 8px; color: var(--accent); font-weight: 700; }
.plan-featured { border-color: var(--accent); }

.page-hero {
    width: min(1240px, calc(100% - 56px));
    max-width: 1240px;
    margin: 0 auto;
    padding: 48px 0 8px;
}
.page-hero h1 { font-size: clamp(40px, 6vw, 64px); max-width: 18ch; }
.page-hero .hero-actions { justify-content: flex-start; }

.site-footer { border-top: 1px solid #2c3548; margin-top: 48px; background: #0d1425; color: #f4f5f7; }
.site-footer .meta { color: #9aa3b5; }
.site-footer .inner {
    width: min(1240px, calc(100% - 56px));
    max-width: 1240px;
    margin: 0 auto;
    padding: 28px 0;
    display: flex;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}

.brand-hero {
    min-height: 78vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 56px 24px 64px;
    background:
        radial-gradient(ellipse at 50% 38%, rgba(109, 94, 247, 0.28), transparent 46%),
        #0d1425;
    color: #f7f7f8;
}

html[data-theme="light"] .brand-hero {
    background:
        radial-gradient(ellipse at 50% 38%, rgba(91, 77, 230, 0.16), transparent 46%),
        var(--paper);
    color: var(--ink);
}

.brand-mark {
    width: 112px;
    height: 112px;
    border-radius: 28px;
    background: var(--accent);
    display: grid;
    place-items: center;
    box-shadow: 0 18px 48px rgba(109, 94, 247, 0.38);
}

.brand-mark svg { width: 58px; height: 58px; }

.brand-hero h1,
.hero-title {
    margin: 0;
    font-size: clamp(48px, 7vw, 84px);
    font-weight: 700;
    letter-spacing: -0.045em;
    line-height: 0.98;
    color: #f7f7f8;
    max-width: 14ch;
}

.hero-pitch {
    margin: 22px 0 0;
    max-width: 40rem;
    font-size: 18px;
    line-height: 1.55;
    color: #d5dbe8;
}

.hero-proof {
    margin: 14px 0 0;
    font-size: 17px;
    font-weight: 600;
    color: #f7f7f8;
}

html[data-theme="light"] .hero-pitch { color: var(--mute); }
html[data-theme="light"] .hero-proof { color: var(--ink); }

.hero-title span { color: var(--accent); }

html[data-theme="light"] .brand-hero h1,
html[data-theme="light"] .hero-title { color: var(--ink); }

.brand-tagline {
    margin: 14px 0 0;
    font-size: clamp(24px, 3vw, 34px);
    font-weight: 500;
    color: #c5cee8;
}

html[data-theme="light"] .brand-tagline { color: var(--tagline); }

.brand-support {
    margin: 16px 0 0;
    font-size: 18px;
    color: #b7bdc8;
}

html[data-theme="light"] .brand-support { color: var(--mute); }

.brand-meta {
    margin: 22px 0 0;
    font-size: 13px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #8b93a7;
}

@media (max-width: 900px) {
    .shell { grid-template-columns: 1fr; }
    .stats, .cards, .split, .steps, .plans, .price-board, .settings-pair, .reply-grid { grid-template-columns: 1fr; }
    .price-card .audience { min-height: 0; }
    .sidebar { position: static; }
    h1, .page-hero h1 { font-size: 34px; }
    .brand-hero { min-height: auto; padding: 48px 16px 56px; }
    .brand-hero h1,
    .hero-title { font-size: clamp(40px, 12vw, 64px); }
    .brand-tagline { font-size: 24px; }
    .brand-support { font-size: 16px; }
    .login-wrap, .home-wrap, .page-hero, .site-footer .inner, .contact-page { width: calc(100% - 32px); }
    html:not(.admin) { overscroll-behavior: none; }
    html:not(.admin) body { min-height: 100svh; padding-top: 0; }
    .site-header {
        position: sticky;
        top: 0;
        width: 100%;
        z-index: 40;
        flex-wrap: nowrap;
        height: 64px;
        min-height: 64px;
        padding: 0 16px;
        background-color: #0d1425;
    }
    .nav-toggle { display: grid; }
    .site-header .header-end > .btn { display: none; }
    .site-header .site-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        align-items: stretch;
        gap: 4px;
        padding: 8px 12px 16px;
        background: #0d1425;
        border-bottom: 1px solid #2c3548;
    }
    .site-header.is-open .site-nav { display: flex; }
    .site-header .site-nav a {
        padding: 12px 12px;
        border-radius: 10px;
        font-size: 15px;
        letter-spacing: 0.04em;
    }
    .site-header .nav-signin { display: block; }
    .site-footer .inner { flex-direction: column; align-items: flex-start; }
    .footer-links { gap: 28px 40px; }
    .price-compare h2 { font-size: 26px; }
    .price-compare table { min-width: 640px; }
    .hero-actions .btn { min-height: 44px; }
}

@media (max-width: 480px) {
    .hero-title, .brand-hero h1 { font-size: 36px; }
    .brand-hero .hero-actions { align-self: stretch; width: 100%; }
    .hero-actions { flex-direction: column; align-items: stretch; }
    .hero-actions .btn { width: 100%; }
}

body.page-home .brand-hero {
    align-items: center;
    text-align: center;
    min-height: 0;
    padding: 72px 24px 28px;
}
body.page-home .hero-copy {
    width: min(1680px, calc(100% - 40px));
    margin: 0 auto;
    text-align: center;
}
body.page-home .hero-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 0 0 16px;
    color: #c5cee8;
    font-size: 13px;
    font-weight: 650;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}
body.page-home .hero-mark svg { width: 32px; height: 32px; color: #8b7cff; flex: none; }
body.page-home .hero-title,
body.page-home .brand-hero h1 {
    max-width: none;
    white-space: nowrap;
    font-size: clamp(44px, 4.6vw, 84px);
    text-align: center;
}
@media (max-width: 900px) {
    body.page-home .brand-hero h1 { font-size: 30px; }
    body.page-home .hero-copy { width: min(1680px, calc(100% - 20px)); }
    body.page-home .hero-mark { font-size: 12px; }
}
body.page-home .hero-tagline {
    margin: 40px 0 0;
    font-size: clamp(20px, 1.5vw, 28px);
    font-weight: 600;
    line-height: 1.4;
    color: #f7f7f8;
}
body.page-home .hero-pitch {
    max-width: 70rem;
    margin: 40px auto 0;
    white-space: normal;
    text-align: center;
    font-size: 18px;
    line-height: 1.7;
    font-weight: 400;
}
body.page-home .hero-actions { justify-content: center; }
body.page-home .hero-proof {
    max-width: none;
    margin: 22px auto 0;
    font-size: 18px;
    font-weight: 500;
    text-align: center;
    white-space: nowrap;
}
body.page-home .brand-hero .btn { border-radius: 12px; padding: 8px 40px; font-weight: 650; }
.hero-badge {
    margin: 0 0 18px;
    display: inline-flex;
    background: rgba(255, 255, 255, 0.08);
    color: #d5dbe8;
    border-radius: 999px;
    padding: 6px 14px;
    font-size: 14px;
}
.product-stage {
    width: 100%;
    margin: 36px 0 0;
    padding: 40px;
    border-radius: 0;
    background: linear-gradient(180deg, rgba(109, 94, 247, 0.28), rgba(13, 20, 37, 0.2));
}
.stage-grid { display: grid; grid-template-columns: minmax(0, 1fr); justify-items: center; gap: 18px; }
.stage-grid:has(> :only-child) { grid-template-columns: minmax(0, 1fr); }
.stage-card {
    width: min(1024px, 100%);
    max-width: 1024px;
    margin: 0 auto;
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 18px;
    text-align: left;
}
.stage-card h2 { font-size: 22px; }
body.page-features .stage-dashboard h2 { font-size: 26px; }
.stage-shot {
    width: min(1024px, 100%);
    max-width: 1024px;
    min-width: 0;
    margin: 0 auto;
    border-radius: 18px;
    overflow: hidden;
    line-height: 0;
    background: #f4f6fb;
    box-shadow: 0 24px 48px rgba(17, 18, 38, 0.28), 0 2px 8px rgba(17, 18, 38, 0.12);
}
.stage-shot img { display: block; width: 100%; height: auto; }
.stage-card .stage-shot { margin-top: 18px; box-shadow: 0 12px 28px rgba(17, 18, 38, 0.14); }

.contact-page {
    width: min(1240px, calc(100% - 56px));
    max-width: 1240px;
    margin: 0 auto;
    padding: 64px 0 80px;
    display: grid;
    grid-template-columns: minmax(0, 0.86fr) minmax(320px, 1.14fr);
    gap: 56px;
    align-items: start;
}
.contact-badge {
    display: inline-flex;
    margin: 0 0 18px;
    padding: 6px 14px;
    border-radius: 999px;
    background: rgba(109, 94, 247, 0.12);
    color: #6d5ef7;
    font-size: 14px;
    font-weight: 650;
}
.contact-copy h1 {
    margin: 0;
    max-width: 8ch;
    font-size: clamp(46px, 5vw, 64px);
    letter-spacing: -0.045em;
    line-height: 1.02;
}
.contact-copy .lede { max-width: 36ch; margin-top: 16px; }
.contact-details { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 16px; }
.contact-details li { display: flex; gap: 12px; align-items: flex-start; line-height: 1.45; }
.contact-details svg { width: 18px; height: 18px; margin-top: 3px; flex: none; color: var(--accent); }
.contact-details a { color: inherit; font-weight: 650; }
.contact-card {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 24px;
    padding: 28px 28px 24px;
    box-shadow: 0 18px 50px rgba(17, 18, 38, 0.08);
}
.contact-card h2 { margin: 0 0 18px; font-size: 28px; letter-spacing: -0.03em; }
.contact-card .form { max-width: none; gap: 16px; }
.contact-names { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.contact-card label { font-size: 13px; font-weight: 650; }
.contact-card input, .contact-card textarea, .contact-card select { border-radius: 12px; padding: 12px 14px; }
.contact-card textarea { min-height: 140px; }
.contact-card .btn { width: 100%; border-radius: 12px; padding: 8px 40px; }
.contact-consent { display: flex; gap: 10px; align-items: flex-start; font-weight: 500; color: var(--mute); }
.contact-consent input { width: auto; margin-top: 3px; }
.contact-consent a { color: var(--accent); font-weight: 650; }
@media (max-width: 800px) {
    .contact-page, .contact-names { grid-template-columns: 1fr; }
    .contact-page { padding: 36px 0 56px; gap: 28px; }
    .contact-copy h1 { max-width: none; }
}
.sample-thread { display: grid; gap: 8px; margin: 14px 0; }
.sample-label { margin: 0; font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: #8b93a7; }
.sample-bubble { margin: 0; border-radius: 14px; padding: 10px 12px; font-size: 14px; overflow-wrap: anywhere; }
.sample-bubble.visitor { background: #5b4de6; color: #ffffff; justify-self: end; max-width: 80%; }
.sample-bubble.assistant { background: #243049; color: #f4f5f7; }
.preview-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin: 14px 0; }
.preview-stats div { border: 1px solid var(--line); border-radius: 12px; padding: 10px 6px; text-align: center; }
.preview-stats strong { display: block; font-size: 22px; line-height: 1.1; }
.preview-stats span { font-size: 12px; color: var(--mute); }
.stage-dashboard th, .stage-dashboard td { text-align: left; padding: 8px 0; border-bottom: 1px solid var(--line); }
.stage-dashboard th { color: #8b93a7; font-size: 12px; letter-spacing: 0.06em; }
#faq { scroll-margin-top: 96px; }
#faq .lede { max-width: 62ch; }
.faq { display: grid; gap: 10px; max-width: 90%; margin: 28px auto 0; }
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; }
.faq summary { cursor: pointer; font-weight: 650; }
.faq p { margin: 8px 0 0; color: var(--mute); }
.home-final {
    text-align: center;
    margin-top: 64px;
    padding: 48px 0 24px;
    border-top: 1px solid var(--line);
}
.home-final .lede { margin-left: auto; margin-right: auto; }
.home-final .btn { margin-top: 32px; }
.home-final .hero-actions { margin-top: 32px; justify-content: center; }
.home-final .hero-actions .btn { margin-top: 0; }
.footer-brand { display: grid; gap: 8px; justify-items: start; align-content: start; align-self: start; }
.footer-links {
    display: grid;
    grid-template-columns: repeat(2, minmax(140px, 180px));
    gap: 28px 56px;
}
.footer-links h2 {
    margin: 0 0 12px;
    color: #9aa3b5;
    font-size: 12px;
    font-weight: 650;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}
.footer-links nav { display: grid; justify-items: start; gap: 10px; }
.footer-links a {
    color: #d5dbe8;
    font-size: 15px;
    font-weight: 550;
    text-decoration: none;
}
.footer-links a:hover { color: #fff; }
.header-wordmark { display: none; }
.footer-wordmark {
    color: #f7f7f8;
    font-size: 22px;
    font-weight: 700;
    letter-spacing: -0.03em;
    text-decoration: none;
}
.footer-wordmark span { color: #a89bff; }
.footer-support { margin: 0; color: #9aa3b5; }
.footer-copy { margin: 18px 0 0; color: #8b93a7; font-size: 13px; }
body.page-home .site-footer .footer-links a { text-transform: none; letter-spacing: 0; font-size: 15px; font-weight: 550; }
html[data-theme="light"] body.page-home {
    color-scheme: light;
    --ink: #000000;
    --paper: #ffffff;
    --accent: #5b4de6;
    --accent-ink: #ffffff;
    --tagline: #5c6578;
    --card: #ffffff;
    --line: #e6e8ef;
    --mute: #5c6578;
    --link: #3d3a8f;
    background: #ffffff;
    color: #000000;
}
html[data-theme="light"]:not(.admin) .site-header {
    background: #ffffff;
    border-bottom: 1px solid #e6e8ef;
}
html[data-theme="light"]:not(.admin) .site-header .brand .logo { display: none; }
html[data-theme="light"]:not(.admin) .site-header .header-wordmark {
    display: inline;
    color: #171a2b;
    font-size: 34px;
    font-weight: 700;
    letter-spacing: -0.05em;
    line-height: 1;
}
html[data-theme="light"]:not(.admin) .site-header .header-wordmark span { color: #5b4de6; }
html[data-theme="light"]:not(.admin) .site-nav a { color: #6b7280; }
html[data-theme="light"]:not(.admin) .site-nav a.active,
html[data-theme="light"]:not(.admin) .site-nav a:hover { color: #171a2b; }
html[data-theme="light"]:not(.admin) .theme-toggle,
html[data-theme="light"]:not(.admin) .nav-toggle,
html[data-theme="light"]:not(.admin) .theme-toggle:hover { color: #171a2b; }
html[data-theme="light"] body.page-home .brand-hero { background: #ffffff; color: #171a2b; }
html[data-theme="light"] body.page-home .hero-title,
html[data-theme="light"] body.page-home .brand-hero h1 { color: #171a2b; }
html[data-theme="light"] body.page-home .hero-mark { color: #5b4de6; }
html[data-theme="light"] body.page-home .hero-mark svg { color: #5b4de6; }
html[data-theme="light"] body.page-home .hero-tagline { color: #171a2b; }
html[data-theme="light"] body.page-home .hero-pitch { color: #4b5568; }
html[data-theme="light"] body.page-home .hero-proof { color: #3c4458; }
html[data-theme="light"] .hero-badge { background: #f2f3f7; color: #3c4458; }
html[data-theme="light"] .product-stage { background: linear-gradient(180deg, #efeaff, #f6f4ff); }
html[data-theme="light"] .sample-bubble.assistant { background: #f4f6fb; color: #171a2b; }
html[data-theme="light"] body.page-home .site-footer {
    background: #ffffff;
    color: #171a2b;
    border-top: 1px solid #e6e8ef;
}
html[data-theme="light"] body.page-home .site-footer .footer-links a { color: #5c6578; }
html[data-theme="light"] body.page-home .site-footer .footer-links a:hover { color: #171a2b; }
html[data-theme="light"] body.page-home .site-footer .footer-links h2 { color: #6b7280; }
html[data-theme="light"] body.page-home .footer-wordmark { color: #171a2b; }
html[data-theme="light"] body.page-home .footer-wordmark span { color: #5b4de6; }
html[data-theme="light"] body.page-home .footer-support { color: #5c6578; }
html[data-theme="light"] body.page-home .footer-copy { color: #6b7280; }
@media (max-width: 900px) {
    .stage-grid, .preview-stats { grid-template-columns: 1fr; }
    .preview-stats { grid-template-columns: repeat(2, 1fr); }
    body.page-home .hero-title,
    body.page-home .brand-hero h1,
    body.page-home .hero-tagline,
    body.page-home .hero-pitch,
    body.page-home .hero-proof { white-space: normal; }
    html[data-theme="light"]:not(.admin) .site-header .site-nav { background: #ffffff; border-bottom: 1px solid #e6e8ef; }
}
