:root {
    --bg: #071c2b;
    --bg-deep: #04131f;
    --panel: rgba(8, 24, 37, 0.38);
    --panel-strong: rgba(8, 24, 37, 0.9);
    --panel-soft: rgba(10, 29, 44, 0.66);
    --border: rgba(148, 204, 246, 0.12);
    --border-strong: rgba(148, 204, 246, 0.24);
    --line: #79c9ff;
    --line-strong: #d1eeff;
    --line-soft: rgba(121, 201, 255, 0.14);
    --accent: #9dd5ff;
    --accent-strong: #e7f6ff;
    --text: #eef7ff;
    --muted: rgba(238, 247, 255, 0.72);
    --muted-2: rgba(238, 247, 255, 0.46);
    --danger: #ffb4b4;
    --success: #99e7c4;
    --shadow: 0 20px 70px rgba(0, 0, 0, 0.24);
    --radius-lg: 24px;
    --radius-md: 18px;
    --radius-sm: 13px;
    --radius-btn: 12px;
    --checkbox-accent: #79c9ff;
}

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    min-height: 100%;
    overflow: hidden;
    background:
        radial-gradient(circle at 18% 20%, rgba(80, 188, 255, 0.06), transparent 28%),
        radial-gradient(circle at 82% 14%, rgba(44, 106, 154, 0.18), transparent 30%),
        linear-gradient(180deg, #072131 0%, #051826 100%);
    color: var(--text);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body.modal-open {
    overflow: hidden;
}

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

button {
    cursor: pointer;
}

button,
input,
textarea,
select {
    appearance: none;
    -webkit-appearance: none;
    outline: none;
}

input,
textarea,
select {
    width: 100%;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(148, 204, 246, 0.12);
    background: rgba(6, 18, 29, 0.54);
    color: var(--text);
    padding: 11px 13px;
    transition: border-color 180ms ease, box-shadow 180ms ease, background 180ms ease, transform 180ms ease;
}

input,
select {
    min-height: 42px;
}

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

input::placeholder,
textarea::placeholder {
    color: rgba(238, 247, 255, 0.3);
}

input:focus,
textarea:focus,
select:focus {
    border-color: rgba(167, 217, 255, 0.34);
    box-shadow: 0 0 0 4px rgba(121, 201, 255, 0.07);
    background: rgba(8, 23, 36, 0.78);
}

select {
    background-image: linear-gradient(45deg, transparent 50%, rgba(238, 247, 255, 0.65) 50%), linear-gradient(135deg, rgba(238, 247, 255, 0.65) 50%, transparent 50%);
    background-position: calc(100% - 18px) calc(50% - 3px), calc(100% - 12px) calc(50% - 3px);
    background-size: 6px 6px, 6px 6px;
    background-repeat: no-repeat;
    padding-right: 34px;
}

.app-shell {
    position: relative;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
}

#pulseCanvas,
.comments-layer,
.visits-layer,
.ambient {
    position: absolute;
    inset: 0;
}

#pulseCanvas {
    z-index: 1;
}

.ambient {
    pointer-events: none;
    filter: blur(72px);
    opacity: 0.34;
}

.ambient-a {
    z-index: 2;
    background: radial-gradient(circle at 18% 76%, rgba(68, 197, 255, 0.12), transparent 28%);
    animation: driftA 22s ease-in-out infinite;
}

.ambient-b {
    z-index: 2;
    background: radial-gradient(circle at 86% 18%, rgba(95, 143, 255, 0.12), transparent 30%);
    animation: driftB 28s ease-in-out infinite;
}

@keyframes driftA {
    0% {
        transform: translate3d(0, 0, 0);
    }

    50% {
        transform: translate3d(4vw, -5vh, 0);
    }

    100% {
        transform: translate3d(0, 0, 0);
    }
}

@keyframes driftB {
    0% {
        transform: translate3d(0, 0, 0);
    }

    50% {
        transform: translate3d(-5vw, 4vh, 0);
    }

    100% {
        transform: translate3d(0, 0, 0);
    }
}

.topbar,
.vote-dock {
    position: absolute;
    left: 24px;
    right: 24px;
    z-index: 10;
}

.topbar {
    top: 22px;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 28px;
}

.headline-block {
    max-width: 760px;
}

.headline-tools {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.headline-tools .micro-label {
    margin: 0;
}

.headline-actions {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.header-social-actions {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.header-share-btn {
    width: 28px;
    min-width: 28px;
    min-height: 28px;
    height: 28px;
    padding: 0;
    border-radius: var(--radius-btn);
    background: rgba(8, 23, 36, 0.28);
    border-color: rgba(148, 204, 246, 0.16);
    color: rgba(231, 246, 255, 0.88);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
    backdrop-filter: blur(10px);
}

.header-share-btn .share-icon {
    width: 14px;
    height: 14px;
}

.header-share-btn .share-icon svg {
    width: 14px;
    height: 14px;
}

.header-share-btn:hover,
.header-share-btn:focus-visible {
    background: rgba(8, 23, 36, 0.46);
    border-color: rgba(148, 204, 246, 0.3);
    color: rgba(239, 248, 255, 0.98);
}

.reopen-modal-btn {
    width: 28px;
    height: 28px;
    border-radius: var(--radius-btn);
    border: 1px solid rgba(148, 204, 246, 0.16);
    background: rgba(8, 23, 36, 0.32);
    color: rgba(231, 246, 255, 0.9);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    transition: opacity 180ms ease, transform 180ms ease, border-color 180ms ease, background 180ms ease, visibility 180ms ease;
    backdrop-filter: blur(10px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
}

.reopen-modal-btn svg {
    width: 14px;
    height: 14px;
    fill: currentColor;
}

.reopen-modal-btn:hover {
    transform: translateY(-1px);
    border-color: rgba(148, 204, 246, 0.3);
    background: rgba(8, 23, 36, 0.46);
}

.reopen-modal-btn.is-hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: scale(0.92);
}

.headline-meta {
    display: grid;
    gap: 4px;
    margin-top: 8px;
}

.campaign-countdown,
.sentiment-line {
    margin: 0;
    font-size: 0.92rem;
    line-height: 1.3;
    color: rgba(220, 236, 248, 0.78);
}

.status-floor {
    position: absolute;
    left: 24px;
    right: 24px;
    bottom: 18px;
    z-index: 9;
    pointer-events: none;
    display: flex;
    align-items: center;
}

.status-floor .sentiment-line {
    display: inline-flex;
    align-items: center;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(6, 18, 28, 0.48);
    border: 1px solid rgba(148, 204, 246, 0.1);
    backdrop-filter: blur(8px);
    color: rgba(228, 243, 255, 0.84);
    font-size: 0.84rem;
    letter-spacing: -0.01em;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);
}

.micro-label {
    margin: 0 0 10px;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.24em;
    color: var(--accent);
}

.micro-label-soft {
    color: rgba(167, 217, 255, 0.82);
}

.topbar h1 {
    margin: 0;
    font-size: clamp(1.34rem, 1.8vw, 1.92rem);
    line-height: 1.02;
    letter-spacing: -0.045em;
    font-weight: 640;
}

.stats-strip {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    justify-content: flex-end;
    align-items: flex-start;
    padding-top: 6px;
}

.micro-stat {
    display: grid;
    gap: 3px;
    min-width: auto;
}

.micro-stat span {
    display: block;
    font-size: 0.68rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--muted-2);
}

.micro-stat strong {
    display: block;
    font-size: 0.94rem;
    letter-spacing: -0.03em;
    font-weight: 620;
}

.vote-dock {
    bottom: 22px;
    padding: 16px 18px 15px;
    display: grid;
    gap: 13px;
    border-radius: 22px;
    background: rgba(7, 20, 31, 0.2);
    border: 1px solid rgba(148, 204, 246, 0.08);
    backdrop-filter: blur(16px);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.14);
    max-width: 1080px;
    margin: 0 auto;
    transition: opacity 200ms ease, transform 220ms ease, visibility 220ms ease;
}

.vote-dock.is-hidden {
    opacity: 0;
    transform: translateY(16px);
    visibility: hidden;
    pointer-events: none;
}

.vote-copy {
    display: grid;
    gap: 7px;
}

.vote-copy h2 {
    margin: 0;
    max-width: 860px;
    font-size: clamp(1.08rem, 1.55vw, 1.42rem);
    line-height: 1.12;
    letter-spacing: -0.03em;
    font-weight: 610;
}

.choices {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 9px;
}

.choice {
    position: relative;
    min-height: 40px;
    padding: 0 13px;
    border-radius: var(--radius-btn);
    border: 1px solid rgba(148, 204, 246, 0.12);
    background: rgba(8, 24, 37, 0.4);
    color: var(--text);
    font-size: 0.9rem;
    font-weight: 540;
    letter-spacing: -0.01em;
    transition: transform 160ms ease, border-color 160ms ease, background 160ms ease, box-shadow 160ms ease, opacity 160ms ease;
}

.choice:hover,
.choice:focus-visible {
    transform: translateY(-1px);
    background: rgba(13, 35, 52, 0.78);
    border-color: rgba(167, 217, 255, 0.28);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.14);
}

.choice.is-selected {
    background: linear-gradient(180deg, rgba(121, 201, 255, 0.15), rgba(121, 201, 255, 0.07));
    border-color: rgba(167, 217, 255, 0.36);
    box-shadow: 0 0 0 1px rgba(167, 217, 255, 0.06) inset, 0 10px 28px rgba(0, 0, 0, 0.15);
}

.choice.is-disabled {
    opacity: 0.56;
    cursor: default;
}

.vote-hint {
    margin: 0;
    color: var(--muted);
    font-size: 0.9rem;
}

.comments-layer,
.visits-layer {
    z-index: 6;
}

.comments-layer {
    pointer-events: none;
}

.visits-layer {
    pointer-events: none;
}

.comment-orb {
    position: absolute;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: transparent;
    pointer-events: auto;
}

.comment-orb::before,
.comment-orb::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    border-radius: 999px;
    transform: translate(-50%, -50%);
}

.comment-orb::before {
    width: 6px;
    height: 6px;
    background: rgba(228, 245, 255, 0.95);
    box-shadow: 0 0 0 5px rgba(121, 201, 255, 0.12), 0 0 18px rgba(121, 201, 255, 0.36);
}

.comment-orb::after {
    width: 14px;
    height: 14px;
    border: 1px solid rgba(167, 217, 255, 0.36);
    opacity: 0;
    animation: commentPulse 2.8s ease-out infinite;
}

@keyframes commentPulse {
    0% {
        transform: translate(-50%, -50%) scale(0.52);
        opacity: 0.72;
    }

    100% {
        transform: translate(-50%, -50%) scale(2.4);
        opacity: 0;
    }
}

.spark-tooltip {
    position: fixed;
    z-index: 40;
    max-width: 320px;
    padding: 11px 13px;
    border-radius: 14px;
    background: rgba(5, 18, 28, 0.94);
    border: 1px solid rgba(148, 204, 246, 0.2);
    color: var(--text);
    font-size: 0.88rem;
    line-height: 1.48;
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.28);
    backdrop-filter: blur(12px);
}

.modal-backdrop[hidden] {
    display: none !important;
}

.modal-backdrop {
    position: fixed;
    inset: 0;
    z-index: 30;
    display: flex;
    justify-content: flex-end;
    padding: 18px;
    background: rgba(4, 12, 20, 0.18);
    backdrop-filter: blur(4px);
}

.modal-drawer {
    width: min(660px, calc(100vw - 36px));
    max-width: 100%;
    height: calc(100vh - 36px);
    overflow: auto;
    padding: 18px 20px 16px;
    border-radius: 24px;
    background: linear-gradient(180deg, rgba(8, 24, 37, 0.94), rgba(5, 18, 28, 0.98));
    border: 1px solid rgba(148, 204, 246, 0.12);
    box-shadow: 0 22px 72px rgba(0, 0, 0, 0.3);
}

.drawer-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 18px;
}

.progress-rail {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 7px;
    flex: 1;
}

.progress-segment {
    height: 4px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
}

.progress-segment.is-active {
    background: linear-gradient(90deg, rgba(121, 201, 255, 0.82), rgba(167, 217, 255, 0.92));
    box-shadow: 0 0 16px rgba(121, 201, 255, 0.24);
}

.modal-close {
    width: 36px;
    height: 36px;
    flex: 0 0 36px;
    display: grid;
    place-items: center;
    border-radius: var(--radius-btn);
    border: 1px solid rgba(148, 204, 246, 0.14);
    background: rgba(255, 255, 255, 0.03);
    color: var(--text);
    font-size: 1.08rem;
    transition: background 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.modal-close:hover,
.modal-close:focus-visible {
    background: rgba(121, 201, 255, 0.08);
    border-color: rgba(167, 217, 255, 0.3);
    transform: translateY(-1px);
}

.modal-step {
    display: none;
}

.modal-step.is-active {
    display: block;
}

.modal-step h3 {
    margin: 0 0 12px;
    font-size: clamp(1.28rem, 2.4vw, 1.86rem);
    line-height: 1.05;
    letter-spacing: -0.04em;
    font-weight: 640;
}

.lead-text,
.share-message {
    margin: 0;
    color: var(--muted);
    font-size: 0.96rem;
    line-height: 1.55;
}

.panel-box,
.stack-form,
.cta-actions {
    margin-top: 18px;
}

.panel-box {
    padding: 14px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.section-title {
    margin: 0 0 11px;
    font-size: 0.97rem;
    font-weight: 600;
    color: var(--text);
}

.share-message {
    margin-bottom: 13px;
}

.compact-actions,
.footer-actions,
.cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
}

.cta-actions .inline-link {
    flex: 1 1 240px;
}

.footer-actions-separated {
    margin-top: 0;
}

.step-divider {
    position: relative;
    margin: 18px 0 14px;
    text-align: center;
}

.step-divider::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    height: 1px;
    background: rgba(148, 204, 246, 0.12);
}

.step-divider span {
    position: relative;
    padding: 0 12px;
    background: rgba(7, 20, 31, 0.96);
    color: rgba(238, 247, 255, 0.42);
    font-size: 0.76rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.step-divider-small {
    margin-top: 6px;
}

.primary-btn,
.ghost-btn,
.share-btn,
.inline-link,
.continue-btn {
    min-height: 40px;
    padding: 10px 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    border-radius: var(--radius-btn);
    text-decoration: none;
    border: 1px solid rgba(148, 204, 246, 0.12);
    color: var(--text);
    transition: transform 160ms ease, border-color 160ms ease, background 160ms ease, box-shadow 160ms ease, opacity 160ms ease;
}

.primary-btn,
.inline-link.primary-btn {
    background: linear-gradient(180deg, rgba(121, 201, 255, 0.12), rgba(121, 201, 255, 0.06));
    border-color: rgba(167, 217, 255, 0.3);
}

.cta-actions .primary-btn,
#victaLink {
    background: linear-gradient(180deg, rgba(33, 216, 255, 0.26), rgba(33, 216, 255, 0.12));
    border-color: rgba(102, 226, 255, 0.5);
    box-shadow: 0 10px 26px rgba(17, 135, 173, 0.22);
    color: #eef7ff;
}

.cta-actions .ghost-btn,
#reportLink {
    background: linear-gradient(180deg, rgba(115, 166, 255, 0.22), rgba(115, 166, 255, 0.1));
    border-color: rgba(146, 186, 255, 0.42);
    box-shadow: 0 10px 24px rgba(35, 64, 122, 0.18);
    color: #eef7ff;
}

.continue-btn {
    background: linear-gradient(180deg, rgba(147, 215, 255, 0.18), rgba(147, 215, 255, 0.08));
    border-color: rgba(171, 223, 255, 0.34);
    color: var(--accent-strong);
}

.share-btn {
    min-height: 34px;
    padding: 0 11px;
    gap: 7px;
    background: rgba(255, 255, 255, 0.03);
    font-size: 0.84rem;
}

.share-copy {
    padding-inline: 14px;
}

.share-icon {
    width: 13px;
    height: 13px;
    display: inline-flex;
}

.share-icon svg {
    width: 13px;
    height: 13px;
    fill: currentColor;
}

.primary-btn:hover,
.primary-btn:focus-visible,
.share-btn:hover,
.share-btn:focus-visible,
.ghost-btn:hover,
.ghost-btn:focus-visible,
.inline-link:hover,
.inline-link:focus-visible,
.continue-btn:hover,
.continue-btn:focus-visible {
    transform: translateY(-1px);
    border-color: rgba(167, 217, 255, 0.42);
}

.ghost-btn,
.inline-link.ghost-btn,
.share-copy {
    background: rgba(255, 255, 255, 0.03);
}

.cta-industry-block[hidden] {
    display: none !important;
}

.cta-industry-block {
    display: grid;
    gap: 12px;
    margin: 2px 0 10px;
    padding: 0 0 12px;
    border-bottom: 1px solid rgba(148, 204, 246, 0.09);
}

.stack-form {
    display: grid;
    gap: 10px;
}

.lead-form {
    gap: 10px;
}

.lead-form .form-grid {
    gap: 10px;
}

.stack-form label {
    display: grid;
    gap: 8px;
}

.stack-form span {
    color: var(--muted);
    font-size: 0.88rem;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.full-span {
    grid-column: 1 / -1;
}

.checkbox-row {
    display: grid !important;
    grid-template-columns: 18px minmax(0, 1fr);
    align-items: flex-start;
    gap: 12px !important;
    line-height: 1.5;
    cursor: pointer;
}

.checkbox-row input[type="checkbox"] {
    appearance: auto;
    -webkit-appearance: checkbox;
    position: relative;
    opacity: 1;
    pointer-events: auto;
    width: 18px;
    min-width: 18px;
    max-width: 18px;
    height: 18px;
    min-height: 18px;
    margin: 2px 0 0;
    padding: 0;
    border: 0;
    border-radius: 4px;
    background: transparent;
    box-shadow: none;
    accent-color: var(--checkbox-accent);
    cursor: pointer;
}

.checkbox-row input[type="checkbox"]:focus,
.checkbox-row input[type="checkbox"]:focus-visible {
    outline: 2px solid rgba(121, 201, 255, 0.34);
    outline-offset: 2px;
    box-shadow: none;
    background: transparent;
}

.checkbox-ui {
    display: none !important;
}

.consent-copy {
    display: block;
    margin: 0;
    font-size: 0.82rem;
    line-height: 1.5;
}

.checkbox-row a {
    color: var(--accent-strong);
}

.form-status {
    min-height: 24px;
    margin: 0;
    color: var(--muted);
    font-size: 0.9rem;
}

.form-status.is-error {
    color: var(--danger);
}

.form-status.is-success {
    color: var(--success);
}

@media (max-width: 1080px) {
    .choices {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.reopen-modal-btn {
    flex: 0 0 auto;
}

@media (max-width: 780px) {
    .status-floor {
        left: 14px;
        right: 14px;
        bottom: 12px;
    }

    .status-floor .sentiment-line {
        font-size: 0.78rem;
        padding: 5px 8px;
    }

    .topbar {
        left: 14px;
        right: 14px;
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }

    .stats-strip {
        gap: 14px;
        justify-content: flex-start;
    }

    .vote-dock {
        left: 14px;
        right: 14px;
        bottom: 14px;
        padding: 15px;
        gap: 11px;
    }

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

    .modal-backdrop {
        padding: 10px;
        align-items: flex-end;
    }

    .modal-drawer {
        width: 100%;
        height: min(90svh, 780px);
        padding: 18px 18px 16px;
        border-radius: 22px 22px 16px 16px;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 520px) {
    .status-floor {
        display: none;
    }

    .topbar h1 {
        font-size: 1.16rem;
    }

    .micro-stat strong {
        font-size: 0.92rem;
    }

    .vote-copy h2 {
        font-size: 1rem;
    }

    .choices {
        grid-template-columns: 1fr;
    }

    .compact-actions,
    .footer-actions,
    .cta-actions {
        flex-direction: column;
    }

    .primary-btn,
    .ghost-btn,
    .share-btn,
    .inline-link,
    .continue-btn {
        width: 100%;
    }

    .consent-copy {
        font-size: 0.82rem;
    }
}

@media (max-width: 780px) {
    .headline-actions {
        gap: 6px;
    }

    .header-social-actions {
        gap: 5px;
    }

    .header-share-btn,
    .reopen-modal-btn {
        width: 26px;
        min-width: 26px;
        min-height: 26px;
        height: 26px;
    }
}