:root {
    --hc-bg: #f5f7fb;
    --hc-surface: #ffffff;
    --hc-surface-soft: #f8fafc;
    --hc-surface-soft-2: #eef3f8;

    --hc-border: rgba(15, 23, 42, 0.08);
    --hc-border-strong: rgba(15, 23, 42, 0.14);

    --hc-text: #142033;
    --hc-text-secondary: #475569;
    --hc-text-muted: #64748b;

    --hc-brand-950: #09101b;
    --hc-brand-900: #0d1523;
    --hc-brand-800: #15243a;

    --hc-accent: #f4a12e;
    --hc-accent-hover: #d88615;
    --hc-accent-soft: rgba(244, 161, 46, 0.14);

    --hc-success-border: rgba(18, 183, 106, 0.22);
    --hc-success-text: #067647;

    --hc-error-border: rgba(240, 68, 56, 0.22);
    --hc-error-text: #b42318;

    --shadow-xs: 0 2px 10px rgba(15, 23, 42, 0.04);
    --shadow-sm: 0 6px 18px rgba(15, 23, 42, 0.06);
    --shadow-md: 0 14px 34px rgba(15, 23, 42, 0.08);
    --shadow-lg: 0 24px 64px rgba(15, 23, 42, 0.12);

    --radius-xl: 24px;
    --radius-lg: 20px;
    --radius-md: 16px;
    --radius-sm: 12px;

    --space-1: 4px;
    --space-2: 8px;
    --space-3: 12px;
    --space-4: 16px;
    --space-5: 20px;
    --space-6: 24px;
    --space-8: 32px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body.hc-demo {
    min-height: 100vh;
    font-family: 'Rubik', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--hc-text);
    background:
        radial-gradient(circle at top right, rgba(244, 161, 46, 0.08), transparent 24%),
        linear-gradient(180deg, #f8fbff 0%, #f5f7fb 100%);
}

body.hc-demo.has-overlay {
    overflow: hidden;
}

.hc-demo h1,
.hc-demo h2,
.hc-demo h3,
.hc-demo h4,
.hc-demo h5,
.hc-demo h6,
.hc-demo .hero-eyebrow,
.hc-demo .hero-title,
.hc-demo .dropzone-title,
.hc-demo .step-number,
.hc-demo .card-overline,
.hc-demo .faq-question,
.hc-demo .mobile-step-count,
.hc-demo .mobile-step-label {
    font-family: 'Montserrat', 'Rubik', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-weight: 500;
}

.hc-demo a {
    color: inherit;
    text-decoration: none;
}

.hc-demo button,
.hc-demo input {
    font: inherit;
}

.hc-demo .page-shell {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.hc-demo .container {
    width: min(100%, 1180px);
    margin-inline: auto;
    padding-inline: 16px;
}

.hc-demo .navbar {
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(16px);
    background: rgba(9, 16, 27, 0.84);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.hc-demo .navbar-inner {
    min-height: 68px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-4);
}

.hc-demo .navbar-brand {
    display: inline-flex;
    align-items: center;
}

.hc-demo .navbar-logo {
    height: 30px;
    width: auto;
    display: block;
}

.hc-demo .navbar-badge {
    display: none;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.10);
    color: rgba(255, 255, 255, 0.86);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.01em;
    white-space: nowrap;
}

.hc-demo .hero {
    position: relative;
    overflow: hidden;
    color: white;
    background:
        radial-gradient(circle at 18% 18%, rgba(244, 161, 46, 0.16), transparent 30%),
        radial-gradient(circle at 84% 8%, rgba(255, 255, 255, 0.06), transparent 16%),
        linear-gradient(135deg, var(--hc-brand-950) 0%, var(--hc-brand-900) 42%, var(--hc-brand-800) 100%);
}

.hc-demo .hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.02), transparent 30%),
        repeating-linear-gradient(90deg,
            rgba(255, 255, 255, 0.015) 0,
            rgba(255, 255, 255, 0.015) 1px,
            transparent 1px,
            transparent 64px);
    pointer-events: none;
    opacity: 0.55;
}

.hc-demo .hero::after {
    content: "";
    position: absolute;
    right: -140px;
    bottom: -140px;
    width: 360px;
    height: 360px;
    background: radial-gradient(circle, rgba(244, 161, 46, 0.18), transparent 64%);
    pointer-events: none;
}

.hc-demo .hero-inner {
    position: relative;
    z-index: 1;
    padding: 24px 0 36px;
}

.hc-demo .hero-content {
    max-width: 740px;
}

.hc-demo .hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.92);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.02);
}

.hc-demo .hero-title {
    font-size: clamp(32px, 10vw, 60px);
    line-height: 0.97;
    letter-spacing: -0.055em;
    font-weight: 500;
    margin-bottom: 12px;
    max-width: 700px;
}

.hc-demo .hero-subtitle {
    max-width: 700px;
    font-size: 15px;
    line-height: 1.72;
    color: rgba(255, 255, 255, 0.82);
    margin-bottom: 14px;
}

.hc-demo .hero-subtitle strong {
    color: #ffffff;
    font-weight: 700;
}

.hc-demo .hero-meta {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
}

.hc-demo .meta-pill {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    width: fit-content;
    max-width: 100%;
    padding: 10px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.88);
    font-size: 13px;
    font-weight: 600;
    line-height: 1.4;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.02);
}

.hc-demo .meta-pill-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--hc-accent);
    box-shadow: 0 0 0 6px rgba(244, 161, 46, 0.12);
    flex-shrink: 0;
}

.hc-demo .mobile-stepper-wrap {
    position: sticky;
    top: 68px;
    z-index: 95;
    margin-top: 12px;
    margin-bottom: 4px;
}

.hc-demo .mobile-stepper {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 12px 14px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.86);
    backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, 0.72);
    box-shadow: var(--shadow-sm);
}

.hc-demo .mobile-stepper-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.hc-demo .mobile-step-count {
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--hc-accent);
    white-space: nowrap;
}

.hc-demo .mobile-step-label {
    font-size: 14px;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--hc-text);
    text-align: right;
}

.hc-demo .mobile-step-bar {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}

.hc-demo .mobile-step-segment {
    height: 6px;
    border-radius: 999px;
    background: #e2e8f0;
    transition: background 0.18s ease, box-shadow 0.18s ease;
}

.hc-demo .mobile-step-segment.is-active {
    background: var(--hc-accent);
    box-shadow: 0 0 0 4px rgba(244, 161, 46, 0.10);
}

.hc-demo .mobile-step-segment.is-complete {
    background: #12b76a;
}

.hc-demo .main {
    flex: 1;
    padding: 18px 0 48px;
}

.hc-demo .main-inner {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.hc-demo .steps {
    display: none;
}

.hc-demo .step-card {
    position: relative;
    padding: 18px;
    border-radius: 18px;
    background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
    border: 1px solid rgba(15, 23, 42, 0.10);
    box-shadow: none;
    overflow: hidden;
    transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.hc-demo .step-card::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 4px;
    background: #cbd5e1;
    border-radius: 18px 0 0 18px;
    transition: background 0.18s ease;
}

.hc-demo .step-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 10px;
}

.hc-demo .step-number {
    width: 34px;
    height: 34px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #e2e8f0;
    color: #64748b;
    font-size: 14px;
    font-weight: 800;
    flex-shrink: 0;
    box-shadow: inset 0 0 0 1px rgba(15, 23, 42, 0.06);
}

.hc-demo .step-state {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    background: #e2e8f0;
    color: #64748b;
}

.hc-demo .step-card h3 {
    font-size: 16px;
    font-weight: 500;
    letter-spacing: -0.02em;
    margin-bottom: 6px;
    color: #334155;
}

.hc-demo .step-card p {
    font-size: 14px;
    line-height: 1.6;
    color: #64748b;
}

/* CURRENT = ORANGE */
.hc-demo .step-card.is-active {
    border-color: rgba(244, 161, 46, 0.34);
    background: linear-gradient(180deg, #ffffff 0%, #fffaf2 100%);
    box-shadow: 0 14px 30px rgba(244, 161, 46, 0.08);
}

.hc-demo .step-card.is-active::before {
    background: var(--hc-accent);
}

.hc-demo .step-card.is-active .step-number {
    background: rgba(244, 161, 46, 0.14);
    color: var(--hc-accent);
    box-shadow: inset 0 0 0 1px rgba(244, 161, 46, 0.16);
}

.hc-demo .step-card.is-active .step-state {
    background: rgba(244, 161, 46, 0.14);
    color: #b86d07;
}

.hc-demo .step-card.is-active h3 {
    color: var(--hc-text);
}

.hc-demo .step-card.is-active p {
    color: var(--hc-text-secondary);
}

/* COMPLETE = GREEN */
.hc-demo .step-card.is-complete {
    border-color: rgba(18, 183, 106, 0.22);
    background: linear-gradient(180deg, #ffffff 0%, #f6fff9 100%);
    box-shadow: 0 14px 30px rgba(18, 183, 106, 0.08);
}

.hc-demo .step-card.is-complete::before {
    background: #12b76a;
}

.hc-demo .step-card.is-complete .step-number {
    background: rgba(18, 183, 106, 0.14);
    color: var(--hc-success-text);
    box-shadow: inset 0 0 0 1px rgba(18, 183, 106, 0.16);
}

.hc-demo .step-card.is-complete .step-state {
    background: rgba(18, 183, 106, 0.12);
    color: var(--hc-success-text);
}

.hc-demo .step-card.is-complete h3 {
    color: var(--hc-text);
}

.hc-demo .step-card.is-complete p {
    color: var(--hc-text-secondary);
}

.hc-demo .form-stack {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.hc-demo .card {
    background: rgba(255, 255, 255, 0.94);
    border-radius: var(--radius-xl);
    border: 1px solid var(--hc-border);
    box-shadow: var(--shadow-md);
    overflow: hidden;
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.hc-demo .card-body {
    padding: 20px;
}

.hc-demo .card-heading {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 18px;
}

.hc-demo .card-overline {
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--hc-accent);
}

.hc-demo .card-heading h2 {
    font-size: 23px;
    line-height: 1.06;
    letter-spacing: -0.045em;
    font-weight: 500;
    color: var(--hc-text);
}

.hc-demo .card-heading p {
    font-size: 14px;
    line-height: 1.68;
    color: var(--hc-text-secondary);
    max-width: 760px;
}

.hc-demo .card-helper-inline {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    max-width: 100%;
    padding: 10px 12px;
    border-radius: 12px;
    background: var(--hc-surface-soft);
    border: 1px solid var(--hc-border);
    font-size: 12px;
    line-height: 1.6;
    color: var(--hc-text-muted);
}

.hc-demo .form-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

.hc-demo .form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.hc-demo .form-group.full-width {
    grid-column: 1 / -1;
}

.hc-demo label {
    font-size: 13px;
    font-weight: 600;
    color: var(--hc-text-secondary);
    letter-spacing: 0.01em;
}

.hc-demo label .required {
    color: #dc2626;
    margin-left: 3px;
}

.hc-demo label .optional {
    color: var(--hc-text-muted);
    font-weight: 400;
    font-size: 12px;
    margin-left: 4px;
}

.hc-demo input[type="text"],
.hc-demo input[type="email"] {
    width: 100%;
    min-height: 52px;
    padding: 14px 16px;
    border-radius: 14px;
    border: 1px solid var(--hc-border-strong);
    background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
    color: var(--hc-text);
    font-size: 15px;
    outline: none;
    transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.hc-demo input::placeholder {
    color: #94a3b8;
}

.hc-demo input:focus {
    border-color: rgba(244, 161, 46, 0.52);
    box-shadow: 0 0 0 4px rgba(244, 161, 46, 0.14);
    background: #ffffff;
}

.hc-demo input.invalid {
    border-color: rgba(240, 68, 56, 0.5);
    box-shadow: 0 0 0 4px rgba(240, 68, 56, 0.08);
}

.hc-demo .field-error {
    display: none;
    font-size: 12px;
    font-weight: 600;
    color: #dc2626;
}

.hc-demo .field-error.visible {
    display: block;
}

.hc-demo .upload-value-bar {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    margin-bottom: 16px;
}

.hc-demo .upload-value-bar--single {
    grid-template-columns: 1fr;
}

.hc-demo .upload-value-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    border-radius: 14px;
    background: var(--hc-surface-soft);
    border: 1px solid var(--hc-border);
    font-size: 13px;
    font-weight: 600;
    line-height: 1.5;
    color: var(--hc-text-secondary);
}

.hc-demo .upload-value-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--hc-accent);
    flex-shrink: 0;
}

.hc-demo .dropzone {
    position: relative;
    overflow: hidden;
    border: 1.5px dashed rgba(244, 161, 46, 0.34);
    border-radius: 22px;
    background:
        radial-gradient(circle at top right, rgba(244, 161, 46, 0.08), transparent 28%),
        linear-gradient(180deg, #fffdf8 0%, #fffaf2 100%);
    padding: 28px 18px;
    text-align: center;
    cursor: pointer;
    transition: border-color 0.2s ease, background 0.2s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

.hc-demo .dropzone::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.18), transparent 42%);
    pointer-events: none;
}

.hc-demo .dropzone:not(.is-locked):hover,
.hc-demo .dropzone.drag-over {
    border-color: rgba(244, 161, 46, 0.58);
    background:
        radial-gradient(circle at top right, rgba(244, 161, 46, 0.12), transparent 28%),
        linear-gradient(180deg, #ffffff 0%, #fff8ec 100%);
    transform: translateY(-1px);
    box-shadow: 0 18px 34px rgba(244, 161, 46, 0.10);
}

.hc-demo .dropzone.has-selection {
    border-style: solid;
    border-color: rgba(18, 183, 106, 0.24);
    background:
        radial-gradient(circle at top right, rgba(18, 183, 106, 0.06), transparent 26%),
        linear-gradient(180deg, #ffffff 0%, #f6fff9 100%);
    box-shadow: 0 16px 30px rgba(18, 183, 106, 0.08);
}

.hc-demo .dropzone.has-selection:not(.is-locked):hover,
.hc-demo .dropzone.has-selection.drag-over {
    border-color: rgba(18, 183, 106, 0.38);
    background:
        radial-gradient(circle at top right, rgba(18, 183, 106, 0.10), transparent 26%),
        linear-gradient(180deg, #ffffff 0%, #f0fff5 100%);
    box-shadow: 0 18px 34px rgba(18, 183, 106, 0.12);
}

.hc-demo .dropzone.has-error {
    border-style: solid;
    border-color: rgba(240, 68, 56, 0.28);
    background:
        radial-gradient(circle at top right, rgba(240, 68, 56, 0.07), transparent 26%),
        linear-gradient(180deg, #ffffff 0%, #fff5f5 100%);
    box-shadow: 0 16px 30px rgba(240, 68, 56, 0.08);
}

.hc-demo .dropzone.has-error:not(.is-locked):hover,
.hc-demo .dropzone.has-error.drag-over {
    border-color: rgba(240, 68, 56, 0.40);
    background:
        radial-gradient(circle at top right, rgba(240, 68, 56, 0.10), transparent 26%),
        linear-gradient(180deg, #ffffff 0%, #fff1f1 100%);
    box-shadow: 0 18px 34px rgba(240, 68, 56, 0.12);
}

.hc-demo .dropzone.has-error .dropzone-icon {
    background: rgba(240, 68, 56, 0.12);
    color: var(--hc-error-text);
    box-shadow:
        inset 0 0 0 1px rgba(240, 68, 56, 0.16),
        0 10px 18px rgba(240, 68, 56, 0.08);
}

.hc-demo .dropzone.has-error .dropzone-title,
.hc-demo .dropzone.has-error .dropzone-subtitle {
    color: var(--hc-error-text);
}

.hc-demo .dropzone.has-selection .dropzone-icon {
    background: rgba(18, 183, 106, 0.14);
    color: var(--hc-success-text);
    box-shadow:
        inset 0 0 0 1px rgba(18, 183, 106, 0.18),
        0 10px 18px rgba(18, 183, 106, 0.10);
}

.hc-demo .dropzone.is-locked {
    cursor: pointer;
    opacity: 1;
    border-color: rgba(244, 161, 46, 0.34);
    background:
        radial-gradient(circle at top right, rgba(244, 161, 46, 0.08), transparent 28%),
        linear-gradient(180deg, #fffdf8 0%, #fffaf2 100%);
    box-shadow: none;
    transform: none;
}

.hc-demo .dropzone.is-locked .dropzone-icon {
    background: rgba(244, 161, 46, 0.12);
    color: var(--hc-accent);
    box-shadow:
        inset 0 0 0 1px rgba(244, 161, 46, 0.10),
        0 10px 18px rgba(244, 161, 46, 0.06);
}

.hc-demo .dropzone.is-locked .dropzone-title,
.hc-demo .dropzone.is-locked .dropzone-subtitle {
    color: inherit;
}

.hc-demo .dropzone-icon {
    width: 64px;
    height: 64px;
    border-radius: 18px;
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(244, 161, 46, 0.12);
    color: var(--hc-accent);
    font-size: 24px;
    font-weight: 800;
    box-shadow:
        inset 0 0 0 1px rgba(244, 161, 46, 0.10),
        0 10px 18px rgba(244, 161, 46, 0.06);
}

.hc-demo .dropzone-title {
    font-size: 21px;
    line-height: 1.1;
    letter-spacing: -0.045em;
    font-weight: 500;
    color: var(--hc-text);
    margin-bottom: 10px;
}

.hc-demo .dropzone-subtitle {
    font-size: 14px;
    line-height: 1.68;
    color: var(--hc-text-secondary);
    max-width: 620px;
    margin: 0 auto 16px;
}

.hc-demo .dropzone-accept-line {
    display: inline;
}

@media (min-width: 720px) {
    .hc-demo .dropzone-accept-line {
        display: block;
        margin-top: 2px;
    }
}

.hc-demo .dropzone-selected-meta {
    display: none;
    margin: 0 auto 16px;
    padding: 10px 14px;
    width: fit-content;
    max-width: 100%;
    border-radius: 999px;
    background: rgba(18, 183, 106, 0.10);
    color: var(--hc-success-text);
    font-size: 13px;
    font-weight: 700;
    line-height: 1.4;
}

.hc-demo .dropzone.has-selection .dropzone-selected-meta {
    display: inline-flex;
}

.hc-demo .dropzone-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    justify-content: center;
    align-items: stretch;
}

.hc-demo #file-input-files,
.hc-demo #file-input-folder {
    display: none;
}

.hc-demo .btn {
    min-height: 48px;
    padding: 0 18px;
    border-radius: 14px;
    border: 1px solid transparent;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: -0.01em;
    cursor: pointer;
    transition: transform 0.12s ease, background 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease, color 0.18s ease;
}

.hc-demo .btn:hover:not(:disabled) {
    transform: translateY(-1px);
}

.hc-demo .btn:active:not(:disabled) {
    transform: translateY(0);
}

.hc-demo .btn:disabled {
    opacity: 0.62;
    cursor: not-allowed;
}

.hc-demo .btn[disabled] {
    opacity: 0.55;
    cursor: not-allowed;
    transform: none !important;
    box-shadow: none;
}

.hc-demo .btn-primary {
    background: linear-gradient(180deg, #f8b552 0%, #f4a12e 100%);
    color: #1f2933;
    box-shadow: 0 12px 24px rgba(244, 161, 46, 0.26);
}

.hc-demo .btn-primary:hover:not(:disabled) {
    background: linear-gradient(180deg, #f7aa37 0%, #d88615 100%);
}

.hc-demo .btn-secondary {
    background: #ffffff;
    color: var(--hc-text);
    border-color: var(--hc-border-strong);
    box-shadow: var(--shadow-xs);
}

.hc-demo .btn-secondary:hover:not(:disabled) {
    background: #f8fafc;
}

.hc-demo .btn-soft-secondary {
    background: #eef2f7;
    color: var(--hc-text);
    border-color: #d7dee8;
    box-shadow: var(--shadow-xs);
}

.hc-demo .btn-soft-secondary:hover:not(:disabled) {
    background: #e6ebf2;
    border-color: #cbd5e1;
}

.hc-demo .btn-soft-secondary:disabled {
    background: #f1f5f9;
    color: #94a3b8;
    border-color: #e2e8f0;
}

.hc-demo .btn-ghost {
    min-height: 38px;
    padding: 0 14px;
    border-radius: 12px;
    font-size: 13px;
}

.hc-demo .submit-wrap {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-top: 10px;
}

.hc-demo .submit-helper {
    font-size: 13px;
    line-height: 1.65;
    color: var(--hc-text-secondary);
    text-align: center;
}

.hc-demo .btn-submit {
    width: 100%;
    min-height: 58px;
    border-radius: 16px;
    font-size: 16px;
    font-weight: 700;
    background: linear-gradient(135deg, #f8b552 0%, #f4a12e 100%);
    color: #1f2933;
    box-shadow: 0 18px 36px rgba(244, 161, 46, 0.32);
}

.hc-demo .btn-submit:hover:not(:disabled) {
    background: linear-gradient(135deg, #f7aa37 0%, #d88615 100%);
}

.hc-demo .btn-submit.is-ready {
    background: linear-gradient(135deg, #fde68a 0%, #fbbf24 100%);
    color: #1f2933;
    box-shadow: 0 18px 36px rgba(244, 161, 46, 0.24);
}

.hc-demo #file-list {
    margin-top: 16px;
    display: none;
    flex-direction: column;
    gap: 10px;
}

.hc-demo #file-list.has-files {
    display: flex;
}

.hc-demo .file-list-header {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--hc-border);
}

.hc-demo .file-list-title {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.hc-demo .file-list-title strong {
    font-size: 14px;
    font-weight: 700;
    color: var(--hc-text);
}

.hc-demo .file-list-title span {
    font-size: 12px;
    color: var(--hc-text-muted);
}

.hc-demo .file-items {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.hc-demo .file-item {
    display: grid;
    grid-template-columns: 40px 1fr auto auto;
    align-items: center;
    gap: 10px;
    padding: 14px;
    border-radius: 14px;
    border: 1px solid var(--hc-border);
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

.hc-demo .file-item-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    border: 1px solid var(--hc-border);
    font-size: 12px;
    font-weight: 800;
    color: var(--hc-text-secondary);
    flex-shrink: 0;
}

.hc-demo .file-item-name {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 14px;
    font-weight: 600;
    color: var(--hc-text);
}

.hc-demo .file-item-size {
    font-size: 12px;
    color: var(--hc-text-muted);
    flex-shrink: 0;
}

.hc-demo .file-item-remove {
    width: 30px;
    height: 30px;
    border: none;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    color: var(--hc-text-muted);
    cursor: pointer;
    transition: background 0.18s ease, color 0.18s ease;
    flex-shrink: 0;
}

.hc-demo .file-item-remove:hover {
    background: rgba(240, 68, 56, 0.08);
    color: #dc2626;
}

.hc-demo #upload-progress {
    display: none;
    margin-top: 16px;
    padding: 16px;
    border-radius: 16px;
    background: var(--hc-surface-soft);
    border: 1px solid var(--hc-border);
}

.hc-demo #upload-progress.visible {
    display: block;
}

.hc-demo #upload-progress.is-floating {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1000;
    width: min(460px, calc(100vw - 32px));
    margin-top: 0;
    border-color: var(--hc-success-border);
    box-shadow: 0 16px 32px rgba(15, 23, 42, 0.14);
}

.hc-demo .progress-label {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
    font-size: 13px;
    font-weight: 700;
    color: var(--hc-text-secondary);
}

.hc-demo .progress-meta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.hc-demo #progress-count {
    font-weight: 800;
    color: var(--hc-success-text);
}

.hc-demo .progress-bar-track {
    height: 10px;
    border-radius: 999px;
    overflow: hidden;
    background: rgba(15, 23, 42, 0.08);
}

.hc-demo .progress-bar-fill {
    width: 0%;
    height: 100%;
    border-radius: 999px;
    background: linear-gradient(90deg, #bbf7d0 0%, #4ade80 45%, #12b76a 100%);
    transition: width 0.3s ease;
    box-shadow: 0 0 10px rgba(18, 183, 106, 0.20);
}

@media (max-width: 720px) {
    .hc-demo #upload-progress.is-floating {
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
        width: auto;
    }
}

.hc-demo .upload-feedback {
    display: none;
    margin-top: 12px;
    padding: 12px 14px;
    border-radius: 14px;
    font-size: 13px;
    line-height: 1.65;
    border: 1px solid transparent;
}

.hc-demo .upload-feedback.visible {
    display: block;
}

.hc-demo .upload-feedback.is-warning {
    background: rgba(254, 243, 242, 0.98);
    border-color: rgba(240, 68, 56, 0.22);
    color: #991b1b;
    box-shadow: 0 10px 20px rgba(240, 68, 56, 0.06);
}

.hc-demo .upload-feedback.is-error {
    background: rgba(254, 243, 242, 0.98);
    border-color: rgba(240, 68, 56, 0.30);
    color: var(--hc-error-text);
    box-shadow: 0 10px 20px rgba(240, 68, 56, 0.08);
}

.hc-demo .security-card {
    display: none;
}

.hc-demo .security-card.is-revealed {
    display: block;
    animation: security-card-in 0.28s ease;
}

@keyframes security-card-in {
    from {
        opacity: 0;
        transform: translateY(8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hc-demo .captcha-shell {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.hc-demo .captcha-status {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 14px 16px;
    border-radius: 14px;
    border: 1px solid var(--hc-border);
    background: var(--hc-surface-soft);
    color: var(--hc-text-secondary);
    font-size: 13px;
    line-height: 1.65;
}

.hc-demo .captcha-status-dot {
    width: 8px;
    height: 8px;
    margin-top: 6px;
    border-radius: 999px;
    background: var(--hc-accent);
    flex-shrink: 0;
}

.hc-demo .captcha-status.is-info {
    background: var(--hc-surface-soft);
    border-color: var(--hc-border);
    color: var(--hc-text-secondary);
}

.hc-demo .captcha-status.is-info .captcha-status-dot {
    background: var(--hc-accent);
}

.hc-demo .captcha-status.is-success {
    background: rgba(236, 253, 243, 0.95);
    border-color: var(--hc-success-border);
    color: var(--hc-success-text);
}

.hc-demo .captcha-status.is-success .captcha-status-dot {
    background: #12b76a;
}

.hc-demo .captcha-status.is-error {
    background: rgba(254, 243, 242, 0.96);
    border-color: var(--hc-error-border);
    color: var(--hc-error-text);
}

.hc-demo .captcha-status.is-error .captcha-status-dot {
    background: #f04438;
}

.hc-demo .captcha-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    min-height: 180px;
    max-width: 380px;
    margin: 0 auto;
    padding: 0;
    position: relative;
    overflow: hidden;
}

.hc-demo .captcha-container > * {
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    max-height: 100% !important;
    display: block;
    margin: 0 auto;
    box-sizing: border-box;
    object-fit: unset !important;
}

.hc-demo .captcha-placeholder {
    width: 100%;
    min-height: 82px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
    border-radius: 14px;
    background: #ffffff;
    border: 1px dashed var(--hc-border-strong);
    color: var(--hc-text-muted);
    font-size: 13px;
    text-align: center;
    line-height: 1.6;
}

.hc-demo .captcha-retry-row {
    display: none;
}

.hc-demo .captcha-retry-row.visible {
    display: flex;
}

.hc-demo .captcha-helper {
    font-size: 12px;
    line-height: 1.65;
    color: var(--hc-text-secondary);
}

.hc-demo .faq-card {
    background: rgba(255, 255, 255, 0.94);
    border-radius: var(--radius-xl);
    border: 1px solid var(--hc-border);
    box-shadow: var(--shadow-md);
    overflow: hidden;
}

.hc-demo .faq-body {
    padding: 20px;
}

.hc-demo .faq-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.hc-demo .faq-item {
    border: 1px solid var(--hc-border);
    border-radius: 16px;
    background: var(--hc-surface-soft);
    overflow: hidden;
    transition:
        box-shadow 0.4s ease,
        border-color 0.4s ease,
        background 0.4s ease,
        transform 0.4s ease;
}

.hc-demo .faq-item.is-open {
    background: #ffffff;
    box-shadow: 0 14px 30px rgba(15, 23, 42, 0.08);
    border-color: rgba(244, 161, 46, 0.18);
    transform: translateY(-1px);
}

.hc-demo .faq-question {
    list-style: none;
    cursor: pointer;
    padding: 16px;
    font-size: 15px;
    font-weight: 500;
    color: var(--hc-text);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    user-select: none;
}

.hc-demo .faq-question::-webkit-details-marker {
    display: none;
}

.hc-demo .faq-question::after {
    content: "+";
    flex-shrink: 0;
    font-size: 20px;
    line-height: 1;
    color: var(--hc-accent);
    transform-origin: center;
    transition: transform 0.4s ease, color 0.4s ease;
}

.hc-demo .faq-item.is-open .faq-question::after {
    transform: rotate(135deg);
}

.hc-demo .faq-answer {
    height: 0;
    overflow: hidden;
    transition: height 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.hc-demo .faq-answer-content {
    padding: 0 16px 16px;
    color: var(--hc-text-secondary);
    font-size: 14px;
    line-height: 1.7;
    opacity: 0;
    transform: translateY(-8px);
    transition:
        opacity 0.4s ease,
        transform 0.4s ease;
}

.hc-demo .faq-item.is-open .faq-answer-content {
    opacity: 1;
    transform: translateY(0);
}

.hc-demo .footer {
    margin-top: auto;
    border-top: 1px solid rgba(15, 23, 42, 0.08);
    background: rgba(255, 255, 255, 0.58);
    backdrop-filter: blur(12px);
}

.hc-demo .footer-inner {
    padding: 24px 16px;
    text-align: center;
    color: var(--hc-text-muted);
    font-size: 12px;
    line-height: 1.7;
}

.hc-demo .footer a {
    color: var(--hc-text-secondary);
    font-weight: 600;
}

.hc-demo .spinner {
    width: 18px;
    height: 18px;
    border-radius: 999px;
    border: 2px solid rgba(255, 255, 255, 0.32);
    border-top-color: #ffffff;
    display: inline-block;
    animation: spin 0.85s linear infinite;
    flex-shrink: 0;
}

.hc-demo #spinner-overlay {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 999;
    background: rgba(15, 23, 42, 0.22);
    backdrop-filter: blur(4px);
    align-items: center;
    justify-content: center;
}

.hc-demo #spinner-overlay .spinner {
    width: 56px;
    height: 56px;
    border-width: 4px;
}

.hc-demo .success-overlay {
    position: fixed;
    inset: 0;
    z-index: 1001;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(9, 16, 27, 0.22);
    backdrop-filter: blur(6px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.22s ease, visibility 0.22s ease;
}

.hc-demo .success-overlay.visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.hc-demo .success-toast {
    width: min(100%, 680px);
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 16px;
    align-items: start;
    padding: 22px;
    border-radius: 22px;
    background: linear-gradient(180deg, #ffffff 0%, #f6fff9 100%);
    border: 1px solid rgba(18, 183, 106, 0.24);
    box-shadow: 0 24px 64px rgba(15, 23, 42, 0.18);
    transform-origin: center center;
    animation: success-toast-in 0.34s cubic-bezier(0.22, 1, 0.36, 1);
}

.hc-demo .success-toast-icon {
    width: 52px;
    height: 52px;
    border-radius: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(18, 183, 106, 0.12);
    color: var(--hc-success-text);
    font-size: 24px;
    font-weight: 800;
    box-shadow: inset 0 0 0 1px rgba(18, 183, 106, 0.12);
}

.hc-demo .success-toast-content h3 {
    margin: 0 0 6px;
    font-size: 22px;
    line-height: 1.05;
    letter-spacing: -0.04em;
    color: var(--hc-text);
}

.hc-demo .success-toast-content p {
    margin: 0;
    font-size: 14px;
    line-height: 1.72;
    color: var(--hc-text-secondary);
}


@keyframes success-toast-in {
    0% {
        opacity: 0;
        transform: scaleX(0.76) scaleY(0.56) translateY(18px);
    }

    70% {
        opacity: 1;
        transform: scaleX(1.02) scaleY(0.98) translateY(0);
    }

    100% {
        opacity: 1;
        transform: scaleX(1) scaleY(1) translateY(0);
    }
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

@media (max-width: 719px) {
    .hc-demo .hero-meta {
        display: block;
        overflow: hidden;
        padding-bottom: 2px;
    }

    .hc-demo .hero-meta-track {
        display: flex;
        align-items: center;
        gap: 10px;
        width: max-content;
        animation: hero-meta-marquee 18s linear infinite;
    }

    .hc-demo .meta-pill {
        justify-content: center;
        gap: 8px;
        width: auto;
        min-width: 0;
        flex: 0 0 auto;
        white-space: nowrap;
        font-size: 12px;
        line-height: 1.35;
        text-align: center;
        padding: 10px 14px;
    }

    .hc-demo .success-toast {
        grid-template-columns: 1fr;
    }

    .hc-demo .captcha-shell {
        gap: 14px;
    }

    .hc-demo .submit-wrap {
        gap: 12px;
        margin-top: 14px;
    }

    .hc-demo .security-card {
        scroll-margin-top: 140px;
    }
}

@media (min-width: 720px) {
    .hc-demo .container {
        padding-inline: 24px;
    }

    .hc-demo .navbar-inner {
        min-height: 72px;
    }

    .hc-demo .navbar-logo {
        height: 34px;
    }

    .hc-demo .navbar-badge {
        display: inline-flex;
    }

    .hc-demo .hero-inner {
        padding: 32px 0 48px;
    }

    .hc-demo .hero-subtitle {
        font-size: 18px;
    }

    .hc-demo .hero-meta {
        display: flex;
        flex-wrap: wrap;
        gap: 12px;
        overflow: visible;
    }

    .hc-demo .hero-meta-track {
        display: contents;
        animation: none;
    }

    .hc-demo .mobile-stepper-wrap {
        display: none;
    }

    .hc-demo .main {
        padding: 26px 0 64px;
    }

    .hc-demo .steps {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 14px;
    }

    .hc-demo .card-body,
    .hc-demo .faq-body {
        padding: 28px;
    }

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

    .hc-demo .upload-value-bar:not(.upload-value-bar--single) {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .hc-demo .dropzone {
        padding: 34px 26px;
    }

    .hc-demo .dropzone-actions {
        flex-direction: row;
        align-items: center;
        justify-content: center;
    }

    .hc-demo .btn-primary,
    .hc-demo .btn-secondary {
        width: auto;
        min-width: 180px;
    }

    .hc-demo .file-list-header {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }

    .hc-demo .card:hover,
    .hc-demo .faq-item:hover {
        box-shadow: 0 16px 34px rgba(15, 23, 42, 0.10);
    }

    .hc-demo .upload-step-copy {
        max-width: 100%;
    }
}

@media (min-width: 1024px) {
    .hc-demo .main-inner {
        gap: 22px;
    }

    .hc-demo .card-heading h2 {
        font-size: 26px;
    }
}

@keyframes hero-meta-marquee {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-100%);
    }
}

.hc-demo .security-card {
    scroll-margin-top: 96px;
}

.hc-demo .details-card {
    display: none;
}

.hc-demo .details-card.is-revealed {
    display: block;
    animation: security-card-in 0.28s ease;
}

@media (max-width: 719px) {
    .hc-demo .hero-meta {
        display: flex;
        overflow: hidden;
        padding-bottom: 2px;
    }

    .hc-demo .hero-meta-track {
        display: flex;
        align-items: center;
        gap: 10px;
        width: max-content;
        flex: 0 0 auto;
        animation: hero-meta-marquee 18s linear infinite;
    }

    .hc-demo .hero-meta-track-duplicate {
        margin-left: 10px;
    }

    .hc-demo .meta-pill {
        justify-content: center;
        gap: 8px;
        width: auto;
        min-width: 0;
        flex: 0 0 auto;
        white-space: nowrap;
        font-size: 12px;
        line-height: 1.35;
        text-align: center;
        padding: 10px 14px;
    }

    .hc-demo .security-card {
        scroll-margin-top: 140px;
    }
}

@media (min-width: 720px) {
    .hc-demo .hero-meta {
        display: flex;
        flex-wrap: nowrap;
        gap: 12px;
        overflow: visible;
    }

    .hc-demo .hero-meta-track {
        display: flex;
        flex-wrap: nowrap;
        gap: 12px;
        width: auto;
        animation: none;
    }

    .hc-demo .hero-meta-track-duplicate {
        display: none;
    }

    .hc-demo .upload-step-copy,
    .hc-demo .security-step-copy {
        max-width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hc-demo .hero-meta {
        overflow-x: auto;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    .hc-demo .hero-meta::-webkit-scrollbar {
        display: none;
    }

    .hc-demo .hero-meta-track {
        animation: none;
    }
}

@media (min-width: 720px) {

    .hc-demo .card-heading p,
    .hc-demo .upload-step-copy,
    .hc-demo .security-step-copy {
        max-width: none !important;
        width: 100%;
    }
}

.hc-demo .success-overlay {
    position: fixed;
    inset: 0;
    z-index: 1001;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(9, 16, 27, 0.30);
    backdrop-filter: blur(8px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.28s ease, visibility 0.28s ease;
}

.hc-demo .success-overlay.visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.hc-demo .success-toast {
    width: min(100%, 720px);
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 18px;
    align-items: start;
    padding: 26px;
    border-radius: 24px;
    background: linear-gradient(180deg, #ffffff 0%, #f6fff9 100%);
    border: 1px solid rgba(18, 183, 106, 0.24);
    box-shadow: 0 28px 72px rgba(15, 23, 42, 0.20);
    transform-origin: center center;
    animation: success-toast-in 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.hc-demo .success-toast-icon {
    width: 56px;
    height: 56px;
    border-radius: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(18, 183, 106, 0.12);
    color: var(--hc-success-text);
    font-size: 25px;
    font-weight: 800;
    box-shadow: inset 0 0 0 1px rgba(18, 183, 106, 0.12);
}

.hc-demo .success-toast-content h3 {
    margin: 0 0 8px;
    font-size: 24px;
    line-height: 1.03;
    letter-spacing: -0.04em;
    color: var(--hc-text);
}

.hc-demo .success-toast-content p {
    margin: 0 0 16px;
    font-size: 14px;
    line-height: 1.72;
    color: var(--hc-text-secondary);
}

.hc-demo .success-toast-progress-block {
    margin-bottom: 18px;
}

.hc-demo .success-toast-progress-label {
    margin-bottom: 10px;
    font-size: 13px;
    font-weight: 600;
    color: var(--hc-text-secondary);
}

.hc-demo .success-toast-progress-track {
    position: relative;
    width: 100%;
    height: 10px;
    border-radius: 999px;
    overflow: hidden;
    background: rgba(15, 23, 42, 0.08);
    box-shadow: inset 0 1px 2px rgba(15, 23, 42, 0.06);
}

.hc-demo .success-toast-progress-fill {
    position: relative;
    width: 0%;
    height: 100%;
    border-radius: 999px;
    background: linear-gradient(90deg, #bbf7d0 0%, #4ade80 45%, #12b76a 100%);
    transition: width 1s linear;
    box-shadow: 0 0 12px rgba(18, 183, 106, 0.25);
}

.hc-demo .success-toast-progress-glow {
    position: absolute;
    top: 50%;
    right: -6px;
    width: 16px;
    height: 16px;
    border-radius: 999px;
    background: #ffffff;
    border: 3px solid #12b76a;
    box-shadow:
        0 0 0 4px rgba(18, 183, 106, 0.12),
        0 0 16px rgba(18, 183, 106, 0.22);
    transform: translateY(-50%);
}

.hc-demo .success-toast-redirect-note {
    margin-bottom: 12px;
    padding: 12px 14px;
    border-radius: 14px;
    background: rgba(15, 23, 42, 0.04);
    border: 1px solid rgba(15, 23, 42, 0.08);
    font-size: 13px;
    line-height: 1.65;
    color: var(--hc-text-secondary);
}

.hc-demo .success-toast-countdown {
    margin-bottom: 10px;
    font-size: 13px;
    font-weight: 700;
    color: var(--hc-success-text);
}

.hc-demo .success-toast-fallback {
    font-size: 12px;
    line-height: 1.6;
    color: var(--hc-text-muted);
}

.hc-demo .success-toast-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 10px;
}

.hc-demo .success-toast-actions .btn {
    width: 100%;
}

@media (min-width: 720px) {
    .hc-demo .success-toast-actions {
        flex-direction: row;
        justify-content: flex-start;
    }

    .hc-demo .success-toast-actions .btn {
        width: auto;
        min-width: 240px;
    }
}

.hc-demo .success-toast-fallback a,
.hc-demo .success-toast-redirect-note a {
    color: var(--hc-text);
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 2px;
}

@media (max-width: 719px) {
    .hc-demo .success-toast {
        grid-template-columns: 1fr;
    }
}

.hc-demo button:focus-visible,
.hc-demo a:focus-visible,
.hc-demo input:focus-visible,
.hc-demo summary:focus-visible,
.hc-demo [role="button"]:focus-visible {
    outline: 3px solid rgba(244, 161, 46, 0.35);
    outline-offset: 3px;
}

.hc-demo .step-gate-message,
.hc-demo .system-feedback {
    margin-top: 14px;
    padding: 12px 14px;
    border-radius: 14px;
    font-size: 13px;
    line-height: 1.65;
    border: 1px solid var(--hc-border);
    background: var(--hc-surface-soft);
    color: var(--hc-text-secondary);
}

.hc-demo .step-gate-message--upload {
    margin-bottom: 14px;
}

.hc-demo .system-feedback.is-error {
    background: rgba(254, 243, 242, 0.98);
    border-color: rgba(240, 68, 56, 0.24);
    color: var(--hc-error-text);
}

.hc-demo .system-feedback.is-warning {
    background: #fffaf2;
    border-color: rgba(244, 161, 46, 0.24);
    color: #9a6700;
}

.hc-demo .success-toast-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 12px;
}

.hc-demo .success-toast-actions .btn {
    width: 100%;
}

.hc-demo .dropzone[aria-disabled="true"] {
    cursor: not-allowed;
}

.hc-demo .dropzone[aria-disabled="true"] .btn {
    pointer-events: none;
}

.hc-demo .submit-wrap .submit-helper {
    max-width: 760px;
    margin-inline: auto;
}

@media (min-width: 720px) {
    .hc-demo .success-toast-actions {
        flex-direction: row;
    }

    .hc-demo .success-toast-actions .btn {
        width: auto;
        min-width: 220px;
    }
}

@media (prefers-reduced-motion: reduce) {

    .hc-demo *,
    .hc-demo *::before,
    .hc-demo *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

@media (min-width: 720px) {
    .hc-demo .hero-content {
        max-width: 1100px;
    }

    .hc-demo .hero-meta {
        display: flex;
        flex-wrap: nowrap;
        gap: 12px;
        overflow: visible;
    }

    .hc-demo .hero-meta-track {
        display: flex;
        flex-wrap: nowrap;
        gap: 12px;
        width: max-content;
        animation: none;
    }

    .hc-demo .hero-meta-track-duplicate {
        display: none;
    }

    .hc-demo .meta-pill {
        width: auto;
        max-width: none;
        flex: 0 0 auto;
        white-space: nowrap;
    }
}
