@font-face {
    font-family: "Metropolis";
    src: url("../data/Metropolis-Regular.otf") format("opentype");
    font-style: normal;
    font-weight: 400;
    font-display: swap;
}

@font-face {
    font-family: "Metropolis";
    src: url("../data/Metropolis-SemiBold.otf") format("opentype");
    font-style: normal;
    font-weight: 600;
    font-display: swap;
}

:root {
    --bg: #07111f;
    --bg-soft: #0e1c31;
    --surface: rgba(12, 25, 46, 0.82);
    --surface-strong: rgba(15, 32, 58, 0.94);
    --surface-light: rgba(245, 248, 255, 0.94);
    --surface-light-strong: rgba(255, 255, 255, 0.98);
    --card-border: rgba(255, 255, 255, 0.12);
    --card-border-dark: rgba(8, 20, 38, 0.1);
    --text-main: #e9f0ff;
    --text-soft: rgba(233, 240, 255, 0.76);
    --text-dark: #12233d;
    --text-dark-soft: rgba(18, 35, 61, 0.74);
    --brand-red: #ff5f5f;
    --brand-red-strong: #e84d54;
    --brand-blue: #3d7dff;
    --brand-blue-strong: #2b5ee8;
    --brand-cyan: #43d5f4;
    --brand-amber: #ffbb67;
    --shadow-soft: 0 18px 42px rgba(3, 10, 22, 0.22);
    --shadow-strong: 0 34px 80px rgba(4, 12, 26, 0.42);
    --shadow-card: 0 20px 38px rgba(11, 35, 70, 0.1);
    --radius-xl: 34px;
    --radius-lg: 28px;
    --radius-md: 20px;
    --radius-sm: 14px;
    --max-width: 1240px;
    --font-display: "Metropolis", "Aptos Display", "Segoe UI Semibold", "PingFang SC", "Microsoft YaHei UI", sans-serif;
    --font-body: "Metropolis", "Aptos", "PingFang SC", "Microsoft YaHei", sans-serif;
    --transition-fast: 180ms ease;
    --transition-medium: 320ms ease;
    --transition-slow: 650ms cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

main section[id] {
    scroll-margin-top: 10rem;
}

body {
    min-height: 100vh;
    font-family: var(--font-body);
    color: var(--text-main);
    background:
        radial-gradient(circle at top left, rgba(255, 95, 95, 0.18), transparent 28%),
        radial-gradient(circle at 85% 18%, rgba(61, 125, 255, 0.22), transparent 24%),
        linear-gradient(180deg, #06101d 0%, #0b1830 52%, #08111f 100%);
    overflow-x: hidden;
}

img {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
}

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

button {
    border: 0;
    background: none;
}

.container {
    width: min(100% - 2rem, var(--max-width));
    margin: 0 auto;
}

.section {
    position: relative;
    padding: 6.5rem 0;
    isolation: isolate;
}

.section-light {
    color: var(--text-dark);
}

.section-light::before {
    content: "";
    position: absolute;
    inset: 1.5rem 0;
    background: linear-gradient(180deg, rgba(247, 250, 255, 0.97), rgba(232, 239, 249, 0.96));
    z-index: -1;
}

#notes.section-light::before {
    bottom: 0;
}

#how.section-light::before {
    top: 0;
}

.section-dark::before,
.section-contact::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(8, 18, 34, 0.22), rgba(8, 18, 34, 0.06));
    z-index: -1;
}

.section-heading {
    max-width: 840px;
    margin-bottom: 3rem;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3.6rem);
    line-height: 1.08;
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
}

.hero-title,
.section-dark .section-title,
.section-contact .section-title {
    color: var(--text-main);
}

.section-light .section-title {
    color: var(--text-dark);
}

.section-subtitle,
.hero-subtitle,
.contact-intro p,
.contact-card p {
    font-size: 1.05rem;
    line-height: 1.9;
}

.section-dark .section-subtitle,
.section-contact .section-subtitle,
.hero-subtitle,
.contact-intro p,
.contact-card p {
    color: var(--text-soft);
}

.section-light .section-subtitle {
    color: var(--text-dark-soft);
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 1rem;
    color: #b6caef;
    font-size: 0.84rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.eyebrow::before {
    content: "";
    width: 2.4rem;
    height: 1px;
    background: linear-gradient(90deg, var(--brand-red), transparent);
}

.section-light .eyebrow {
    color: #597194;
}

.glass-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--card-border);
    backdrop-filter: blur(18px);
    box-shadow: var(--shadow-soft);
}

.section-light .glass-card {
    background: rgba(255, 255, 255, 0.78);
    border-color: var(--card-border-dark);
    backdrop-filter: blur(14px);
}

.card {
    background: var(--surface-light-strong);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(12, 24, 42, 0.08);
    box-shadow: var(--shadow-card);
    padding: 1.4rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    min-height: 2.85rem;
    padding: 0.7rem 1rem;
    border-radius: 14px;
    font-size: 0.9rem;
    font-weight: 700;
    cursor: pointer;
    transition: transform var(--transition-fast), box-shadow var(--transition-fast), background var(--transition-fast), color var(--transition-fast), border-color var(--transition-fast);
}

.btn:hover {
    transform: translateY(-1px);
}

.btn-primary {
    color: #fff;
    background: linear-gradient(135deg, var(--brand-red-strong), var(--brand-blue-strong));
    box-shadow: 0 14px 28px rgba(61, 93, 214, 0.22);
}

.btn-secondary {
    color: #fff;
    background: linear-gradient(135deg, rgba(61, 125, 255, 0.92), rgba(67, 213, 244, 0.9));
    box-shadow: 0 10px 24px rgba(43, 94, 232, 0.18);
}

.btn-ghost {
    color: #35537d;
    background: rgba(18, 35, 61, 0.05);
    border: 1px solid rgba(18, 35, 61, 0.1);
}

.btn-ghost:hover {
    background: rgba(18, 35, 61, 0.08);
    color: var(--text-dark);
}

.btn-sm {
    min-height: 2rem;
    padding: 0.45rem 0.7rem;
    font-size: 0.78rem;
    border-radius: 12px;
}

.form-control {
    width: 100%;
    padding: 0.85rem 0.95rem;
    border-radius: 14px;
    border: 1px solid rgba(43, 94, 232, 0.14);
    background: rgba(248, 250, 255, 0.98);
    color: var(--text-dark);
    outline: none;
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast), background var(--transition-fast);
}

.form-control:focus {
    border-color: rgba(43, 94, 232, 0.42);
    box-shadow: 0 0 0 3px rgba(43, 94, 232, 0.12);
}

.form-control::placeholder {
    color: #6f87a8;
}

.navbar {
    position: fixed;
    inset: 0 0 auto;
    z-index: 50;
    padding-top: 0.8rem;
    transition: background var(--transition-medium), box-shadow var(--transition-medium), backdrop-filter var(--transition-medium);
}

.navbar.scrolled {
    background: transparent;
    backdrop-filter: none;
    box-shadow: none;
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.9rem 1.1rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: background var(--transition-medium), box-shadow var(--transition-medium), border-color var(--transition-medium), backdrop-filter var(--transition-medium);
}

.navbar.scrolled .nav-container {
    background: rgba(36, 48, 69, 0.82);
    border-color: rgba(255, 255, 255, 0.1);
    box-shadow: 0 16px 34px rgba(1, 7, 18, 0.22);
    backdrop-filter: blur(24px);
}

.brand-mark {
    display: inline-flex;
    align-items: center;
}

.nav-logo {
    width: auto;
    height: 46px;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    list-style: none;
}

.nav-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    padding: 0.7rem 0.95rem;
    border-radius: 999px;
    color: rgba(235, 242, 255, 0.76);
    text-decoration: none;
    font-size: 0.96rem;
    transition: color var(--transition-fast), background var(--transition-fast);
}

.nav-link:hover,
.nav-link.active {
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 0.28rem;
    cursor: pointer;
}

.nav-toggle span {
    width: 1.6rem;
    height: 0.14rem;
    border-radius: 999px;
    background: #fff;
    transition: transform var(--transition-fast), opacity var(--transition-fast);
}

.hero-section {
    padding-top: 9rem;
    padding-bottom: 5rem;
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.03fr) minmax(330px, 0.97fr);
    gap: 2rem;
    align-items: center;
}

.hero-copy {
    position: relative;
    z-index: 2;
}

.hero-logo {
    width: clamp(80px, 12vw, 120px);
    margin-bottom: 1.2rem;
    filter: drop-shadow(0 18px 28px rgba(0, 0, 0, 0.18));
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.08rem, 4.2vw, 3.82rem);
    line-height: 1.02;
    letter-spacing: -0.04em;
    margin-bottom: 1rem;
}

.hero-title-equation {
    display: grid;
    gap: 0.42rem;
    max-width: 14.6em;
}

.hero-equation-line {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.44rem 0.66rem;
}

.hero-equation-line i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 1.5rem;
    min-height: 1.5rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    color: rgba(211, 223, 255, 0.92);
    font-style: normal;
    font-weight: 700;
    font-size: 0.44em;
    line-height: 1;
    transform: translateY(-0.05em);
}

.hero-equation-result {
    display: block;
    margin-top: 0.2rem;
    color: #fff;
    font-size: 1.08em;
}

.hero-subtitle {
    max-width: 42rem;
}

.hero-badges,
.hero-actions,
.hero-metrics,
.dashboard-grid,
.dashboard-timeline,
.what-grid,
.process-strip,
.device-card-grid,
.task-ai-draft-wrap,
.task-flow-grid,
.capability-stack,
.notes-grid,
.contact-highlights {
    display: grid;
}

.hero-badges {
    grid-template-columns: repeat(2, minmax(0, max-content));
    gap: 0.8rem;
    margin: 1.7rem 0 2rem;
}

.hero-badges span,
.status-pill,
.story-metric,
.story-label,
.capability-kicker,
.stage-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.55rem 0.9rem;
    border-radius: 999px;
    font-size: 0.88rem;
    font-weight: 600;
}

.hero-badges span {
    justify-content: flex-start;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #f6f9ff;
}

.hero-actions {
    grid-auto-flow: column;
    justify-content: flex-start;
    gap: 0.9rem;
    margin-bottom: 2rem;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 3.2rem;
    padding: 0.9rem 1.4rem;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 700;
    transition: transform var(--transition-fast), box-shadow var(--transition-fast), background var(--transition-fast), color var(--transition-fast), border-color var(--transition-fast);
}

.cta-button:hover {
    transform: translateY(-2px);
}

.cta-primary {
    color: #fff;
    background: linear-gradient(135deg, var(--brand-red), var(--brand-blue));
    box-shadow: 0 16px 38px rgba(37, 78, 181, 0.32);
}

.cta-secondary {
    color: #f3f7ff;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.14);
}

.hero-metrics {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    list-style: none;
}

.hero-metrics li,
.highlight-card,
.contact-item {
    padding: 1.15rem 1.2rem;
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.09);
}

.hero-metrics strong {
    display: block;
    margin-bottom: 0.4rem;
    font-size: 1.25rem;
    color: #fff;
}

.hero-metrics span {
    color: var(--text-soft);
    line-height: 1.65;
}

.hero-dashboard {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 1rem;
    align-content: start;
}

.hero-dashboard-frame,
.figure-frame {
    --media-shift: 0px;
    --media-scale: 1;
    --media-shadow: var(--shadow-strong);
    transform: translate3d(0, var(--media-shift), 0) scale(var(--media-scale));
    box-shadow: var(--media-shadow);
    transition: transform var(--transition-medium), box-shadow var(--transition-medium);
    will-change: transform;
}

.hero-dashboard-frame {
    padding: 1.4rem;
    border-radius: 30px;
    background:
        linear-gradient(165deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.02)),
        rgba(8, 19, 35, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.dashboard-topline,
.dashboard-footer,
.task-page-head,
.workbench-panel-head,
.task-toolbar,
.task-ai-composer-footer,
.filter-bar,
.filter-bar-actions,
.dashboard-grid,
.dashboard-timeline,
.device-card-header,
.device-card-stream-row,
.device-card-footer,
.device-actions,
.task-builder-tabs,
.story-metrics,
.contact-layout,
.footer-content {
    display: flex;
}

.dashboard-topline,
.dashboard-footer {
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.dashboard-topline {
    color: rgba(242, 247, 255, 0.78);
    font-size: 0.92rem;
    margin-bottom: 1.2rem;
}

.dashboard-grid {
    gap: 0.9rem;
}

.dashboard-grid,
.dashboard-timeline {
    flex-wrap: wrap;
}

.dashboard-card,
.what-card,
.note-card,
.story-card,
.contact-intro,
.contact-card,
.capability-story {
    border-radius: var(--radius-md);
}

.dashboard-card {
    flex: 1 1 0;
    min-width: 200px;
    min-height: 11.8rem;
    padding: 1.15rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.dashboard-card h2 {
    margin: 0.65rem 0;
    font-size: 1.55rem;
}

.dashboard-card p {
    color: rgba(238, 244, 255, 0.76);
    line-height: 1.7;
}

.tone-red {
    background: linear-gradient(180deg, rgba(255, 95, 95, 0.18), rgba(255, 255, 255, 0.04));
}

.tone-blue {
    background: linear-gradient(180deg, rgba(61, 125, 255, 0.2), rgba(255, 255, 255, 0.04));
}

.tone-cyan {
    background: linear-gradient(180deg, rgba(67, 213, 244, 0.17), rgba(255, 255, 255, 0.04));
}

.dashboard-tag {
    display: inline-flex;
    padding: 0.45rem 0.75rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    font-size: 0.84rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.dashboard-timeline {
    gap: 0.8rem;
    margin: 1rem 0 1.2rem;
}

.timeline-step {
    flex: 1 1 0;
    min-width: 150px;
    display: grid;
    gap: 0.55rem;
    padding: 0.95rem 1rem;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.timeline-step span {
    width: 2rem;
    height: 2rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    font-size: 0.88rem;
}

.timeline-step p,
.dashboard-footer small {
    color: rgba(235, 242, 255, 0.7);
}

.dashboard-footer strong {
    display: block;
    margin-top: 0.35rem;
    font-size: 1rem;
}

.hero-download-panel {
    position: relative;
    display: grid;
    gap: 0.9rem;
    padding: 1.3rem 1.35rem;
    border-radius: 26px;
    overflow: hidden;
    background:
        radial-gradient(circle at 14% 20%, rgba(255, 95, 95, 0.26), transparent 24%),
        radial-gradient(circle at 88% 12%, rgba(61, 125, 255, 0.32), transparent 26%),
        linear-gradient(160deg, rgba(29, 44, 73, 0.98), rgba(12, 24, 45, 0.99));
    border: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow: 0 26px 48px rgba(7, 16, 31, 0.34);
}

.hero-download-panel::before {
    content: "";
    position: absolute;
    inset: -40% auto -40% -24%;
    width: 48%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.16), transparent);
    transform: rotate(14deg);
    animation: heroDownloadShine 4.2s linear infinite;
    pointer-events: none;
}

.hero-download-panel-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.hero-download-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    padding: 0.42rem 0.72rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    color: rgba(244, 248, 255, 0.92);
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.04em;
}

.hero-download-copy {
    display: grid;
    gap: 0.38rem;
}

.hero-download-copy strong {
    color: #fff;
    font-size: 1.8rem;
    line-height: 1.1;
}

.hero-download-copy p {
    color: rgba(236, 243, 255, 0.82);
    font-size: 0.95rem;
    line-height: 1.72;
}

.hero-windows-mark,
.hero-download-button-icon {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.18rem;
}

.hero-windows-mark {
    width: 3.4rem;
    height: 3.4rem;
    padding: 0.48rem;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.1);
    animation: heroWindowsFloat 2.8s ease-in-out infinite alternate;
}

.hero-windows-mark span,
.hero-download-button-icon i {
    display: block;
    border-radius: 0.3rem;
    background: linear-gradient(135deg, rgba(255, 95, 95, 0.94), rgba(61, 125, 255, 0.94));
    box-shadow: 0 0 18px rgba(82, 127, 255, 0.2);
}

.hero-download-button {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    min-height: 3.5rem;
    width: 100%;
    padding: 0.96rem 1.3rem;
    border-radius: 20px;
    color: #fff;
    text-decoration: none;
    font-size: 1.02rem;
    font-weight: 800;
    letter-spacing: 0.01em;
    background: linear-gradient(135deg, rgba(255, 95, 95, 0.96), rgba(61, 125, 255, 0.98));
    border: 1px solid rgba(255, 255, 255, 0.16);
    box-shadow: 0 18px 34px rgba(37, 78, 181, 0.34);
    overflow: hidden;
    animation: heroDownloadPulse 2.2s ease-in-out infinite;
}

.hero-download-button::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, transparent 12%, rgba(255, 255, 255, 0.28) 28%, transparent 42%);
    transform: translateX(-120%);
    animation: heroDownloadSweep 2.8s ease-in-out infinite;
}

.hero-download-button:hover {
    transform: translateY(-2px);
    filter: brightness(1.03);
}

.hero-download-button-icon {
    position: relative;
    z-index: 1;
    width: 1.15rem;
    height: 1.15rem;
    flex: 0 0 auto;
}

.hero-download-button span:last-child {
    position: relative;
    z-index: 1;
}

@keyframes heroDownloadPulse {
    0%, 100% {
        box-shadow: 0 18px 34px rgba(37, 78, 181, 0.34);
        transform: translateY(0);
    }
    50% {
        box-shadow: 0 22px 42px rgba(37, 78, 181, 0.42);
        transform: translateY(-1px);
    }
}

@keyframes heroDownloadSweep {
    0%, 18% {
        transform: translateX(-120%);
    }
    42%, 100% {
        transform: translateX(140%);
    }
}

@keyframes heroDownloadShine {
    0% {
        transform: translateX(-180%) rotate(14deg);
    }
    100% {
        transform: translateX(360%) rotate(14deg);
    }
}

@keyframes heroWindowsFloat {
    from {
        transform: translateY(0) scale(1);
    }
    to {
        transform: translateY(-4px) scale(1.03);
    }
}

.status-pill {
    color: #fff;
    background: linear-gradient(135deg, rgba(255, 95, 95, 0.22), rgba(61, 125, 255, 0.22));
    border: 1px solid rgba(255, 255, 255, 0.1);
    white-space: nowrap;
}

.hero-ambient {
    position: absolute;
    width: 28rem;
    aspect-ratio: 1;
    border-radius: 50%;
    filter: blur(40px);
    opacity: 0.42;
    pointer-events: none;
}

.hero-ambient-left {
    top: 10rem;
    left: -10rem;
    background: rgba(255, 95, 95, 0.28);
}

.hero-ambient-right {
    top: 6rem;
    right: -8rem;
    background: rgba(61, 125, 255, 0.28);
}

.what-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.2rem;
    align-items: stretch;
}

.what-model-panel {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(340px, 0.9fr);
    gap: 1.2rem;
    padding: 1.5rem;
    margin-bottom: 1.2rem;
    align-items: start;
    border-radius: 24px;
}

.what-model-copy,
.what-model-points {
    display: grid;
    gap: 0.85rem;
}

.what-model-copy {
    align-content: start;
    justify-items: start;
    text-align: left;
}

.what-model-copy-head {
    display: grid;
    gap: 0.72rem;
    justify-items: start;
}

.what-model-kicker {
    display: inline-flex;
    width: fit-content;
    padding: 0.4rem 0.72rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    color: #d9e6ff;
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    line-height: 1.35;
}

.what-model-copy h3 {
    font-family: var(--font-display);
    font-size: 1.65rem;
    line-height: 1.3;
    color: #fff;
    margin: 0;
    max-width: 19ch;
}

.what-model-copy p {
    color: var(--text-soft);
    line-height: 1.85;
    margin: 0;
}

.what-model-points {
    grid-template-columns: 1fr;
}

.what-model-points article {
    display: grid;
    gap: 0.4rem;
    padding: 1rem 1.05rem;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.what-model-points strong {
    color: #fff;
    font-size: 0.98rem;
}

.what-model-points span {
    color: var(--text-soft);
    line-height: 1.75;
}

.start-simple-shell {
    position: relative;
    display: grid;
    gap: 0.95rem;
    padding: 1rem;
    overflow: hidden;
    border-radius: 28px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(246, 250, 255, 0.96)),
        radial-gradient(circle at top right, rgba(61, 125, 255, 0.08), transparent 34%);
    border-color: rgba(43, 94, 232, 0.12);
}

.start-simple-scene {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) 96px minmax(228px, 0.58fr);
    align-items: end;
    gap: 0.72rem;
    padding: 0.8rem 0.85rem 0.18rem;
    border-radius: 24px;
    background:
        radial-gradient(circle at 18% 24%, rgba(255, 95, 95, 0.08), transparent 24%),
        radial-gradient(circle at 82% 18%, rgba(61, 125, 255, 0.1), transparent 28%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.86), rgba(244, 248, 255, 0.94));
    border: 1px solid rgba(43, 94, 232, 0.08);
    overflow: hidden;
}

.start-simple-laptop {
    position: relative;
    display: grid;
    justify-items: center;
    align-self: end;
    z-index: 2;
}

.start-simple-laptop-screen {
    width: min(100%, 620px);
    padding: 0.8rem;
    border-radius: 24px 24px 14px 14px;
    background: linear-gradient(180deg, #243653, #15253e);
    box-shadow: 0 24px 38px rgba(12, 31, 61, 0.18);
}

.start-simple-laptop-screen-inner {
    display: grid;
    gap: 0.9rem;
    min-height: 218px;
    padding: 0.9rem;
    border-radius: 18px;
    background:
        radial-gradient(circle at 18% 18%, rgba(255, 95, 95, 0.14), transparent 22%),
        radial-gradient(circle at 85% 12%, rgba(61, 125, 255, 0.18), transparent 28%),
        linear-gradient(180deg, #0d1930, #13254a);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.start-simple-logo-lockup {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    width: fit-content;
    padding: 0.55rem 0.72rem;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.08);
    color: #f6f9ff;
    font-size: 1.06rem;
    font-weight: 800;
    letter-spacing: 0.01em;
}

.start-simple-logo-mark {
    width: 1.95rem;
    height: 1.95rem;
    object-fit: contain;
    filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.2));
}

.start-simple-dashboard-preview {
    display: grid;
    gap: 0.75rem;
}

.preview-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    padding: 0.38rem 0.65rem;
    border-radius: 999px;
    background: rgba(67, 213, 244, 0.14);
    color: #c9f7ff;
    font-size: 0.74rem;
    font-weight: 800;
}

.preview-row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.55rem;
}

.preview-row i,
.preview-panel {
    display: block;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.preview-row i {
    height: 3.7rem;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02)),
        linear-gradient(135deg, rgba(255, 95, 95, 0.22), rgba(61, 125, 255, 0.18));
}

.preview-panel {
    display: grid;
    gap: 0.28rem;
    padding: 0.78rem 0.86rem;
}

.preview-panel b {
    color: #fff;
    font-size: 0.96rem;
}

.preview-panel span {
    color: rgba(233, 240, 255, 0.74);
    font-size: 0.82rem;
    line-height: 1.6;
}

.preview-panel.tone-blue {
    background:
        linear-gradient(180deg, rgba(67, 213, 244, 0.1), rgba(61, 125, 255, 0.08)),
        rgba(255, 255, 255, 0.05);
}

.start-simple-laptop-base {
    width: min(100%, 700px);
    height: 14px;
    margin-top: -1px;
    border-radius: 0 0 999px 999px;
    background: linear-gradient(180deg, #dfe7f4, #bccbe1);
    box-shadow: 0 10px 16px rgba(95, 122, 162, 0.16);
}

.start-simple-cable {
    position: relative;
    align-self: center;
    display: grid;
    place-items: center;
    min-height: 140px;
    overflow: visible;
    z-index: 1;
}

.start-simple-cable::before,
.start-simple-cable::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: 306px;
    border-radius: 999px;
    transform: translate(-50%, -50%);
}

.start-simple-cable::before {
    height: 12px;
    background: linear-gradient(90deg, rgba(146, 166, 203, 0.92), rgba(214, 228, 248, 0.96), rgba(146, 166, 203, 0.92));
    box-shadow:
        inset 0 1px 1px rgba(255, 255, 255, 0.72),
        0 10px 20px rgba(61, 125, 255, 0.12);
}

.start-simple-cable::after {
    height: 22px;
    background: linear-gradient(90deg, rgba(84, 160, 255, 0), rgba(84, 160, 255, 0.18), rgba(102, 235, 255, 0.38), rgba(84, 160, 255, 0.18), rgba(84, 160, 255, 0));
    filter: blur(11px);
    opacity: 0.9;
}

.start-simple-cable-line {
    position: relative;
    width: 306px;
    height: 12px;
    border-radius: 999px;
    overflow: visible;
    background: linear-gradient(90deg, rgba(154, 173, 208, 0.9), rgba(244, 249, 255, 0.98), rgba(154, 173, 208, 0.9));
    box-shadow:
        inset 0 1px 1px rgba(255, 255, 255, 0.78),
        0 0 0 1px rgba(129, 150, 188, 0.18),
        0 10px 22px rgba(61, 125, 255, 0.14);
}

.start-simple-cable-line::before {
    content: "";
    position: absolute;
    left: -24px;
    top: 50%;
    width: 60px;
    height: 8px;
    border-radius: 999px;
    background: linear-gradient(
        90deg,
        rgba(255, 255, 255, 0),
        rgba(132, 236, 255, 0.98) 46%,
        rgba(86, 163, 255, 0.92) 72%,
        rgba(255, 255, 255, 0)
    );
    box-shadow:
        0 0 16px rgba(103, 233, 255, 0.92),
        0 0 28px rgba(61, 125, 255, 0.5);
    transform: translateY(-50%);
    animation: startSimpleCablePulse 2.15s linear infinite;
}

.start-simple-cable-line::after {
    content: "";
    position: absolute;
    right: -24px;
    top: 50%;
    width: 60px;
    height: 8px;
    border-radius: 999px;
    background: linear-gradient(
        90deg,
        rgba(255, 255, 255, 0),
        rgba(86, 163, 255, 0.92) 28%,
        rgba(132, 236, 255, 0.98) 54%,
        rgba(255, 255, 255, 0)
    );
    box-shadow:
        0 0 16px rgba(103, 233, 255, 0.92),
        0 0 28px rgba(61, 125, 255, 0.5);
    transform: translateY(-50%);
    animation: startSimpleCablePulseReverse 2.15s linear infinite;
}

.start-simple-cable-head {
    display: none;
}

.start-simple-cable-head::before {
    display: none;
}

.start-simple-phone {
    position: relative;
    align-self: end;
    justify-self: end;
    width: min(100%, 242px);
    padding: 0.56rem;
    border-radius: 30px;
    background: linear-gradient(180deg, #243653, #15253f);
    box-shadow: 0 26px 40px rgba(12, 31, 61, 0.18);
    z-index: 2;
}

.start-simple-phone::before {
    content: "";
    position: absolute;
    left: -6px;
    top: 156px;
    width: 12px;
    height: 40px;
    border-radius: 6px 0 0 6px;
    background: linear-gradient(180deg, rgba(28, 44, 74, 0.92), rgba(17, 31, 55, 0.96));
    box-shadow:
        inset 1px 0 0 rgba(255, 255, 255, 0.08),
        0 0 10px rgba(77, 164, 255, 0.16);
}

.start-simple-phone-notch {
    position: absolute;
    top: 0.48rem;
    left: 50%;
    width: 5.9rem;
    height: 1.05rem;
    border-radius: 0 0 18px 18px;
    transform: translateX(-50%);
    background: rgba(10, 18, 34, 0.92);
    z-index: 2;
}

.start-simple-phone-screen {
    position: relative;
    height: 388px;
    padding: 1.45rem 0.58rem 0.62rem;
    border-radius: 24px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.03)),
        linear-gradient(180deg, #edf4ff, #dce9fb);
    overflow: hidden;
}

.start-simple-phone-feed {
    display: grid;
    gap: 0.58rem;
    animation: startSimpleFeedDrift 4.2s ease-in-out infinite alternate;
}

.start-simple-feed-card {
    display: grid;
    grid-template-columns: 3.3rem minmax(0, 1fr);
    gap: 0.65rem;
    align-items: center;
    padding: 0.62rem;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(18, 35, 61, 0.08);
    box-shadow: 0 12px 18px rgba(95, 122, 162, 0.1);
}

.feed-card-thumb {
    height: 3.15rem;
    border-radius: 14px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.24), rgba(255, 255, 255, 0.06)),
        linear-gradient(135deg, rgba(255, 95, 95, 0.74), rgba(61, 125, 255, 0.74));
}

.feed-card-copy {
    display: grid;
    gap: 0.18rem;
}

.feed-card-copy strong {
    color: var(--text-dark);
    font-size: 0.84rem;
    line-height: 1.4;
}

.feed-card-copy span {
    color: #6a82a3;
    font-size: 0.72rem;
    line-height: 1.5;
}

.start-simple-feed-card.tone-blue .feed-card-thumb {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0.06)),
        linear-gradient(135deg, rgba(61, 125, 255, 0.78), rgba(67, 213, 244, 0.74));
}

.start-simple-feed-card.tone-cyan .feed-card-thumb {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.05)),
        linear-gradient(135deg, rgba(67, 213, 244, 0.82), rgba(101, 161, 255, 0.72));
}

.start-simple-feed-card.tone-amber .feed-card-thumb {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0.06)),
        linear-gradient(135deg, rgba(255, 187, 103, 0.82), rgba(255, 95, 95, 0.62));
}

@keyframes startSimpleFeedDrift {
    from {
        transform: translateY(0);
    }
    to {
        transform: translateY(-128px);
    }
}

@keyframes startSimpleCablePulse {
    0% {
        transform: translate(-24px, -50%);
        opacity: 0;
    }

    18% {
        opacity: 1;
    }

    68% {
        opacity: 1;
    }

    100% {
        transform: translate(270px, -50%);
        opacity: 0;
    }
}

@keyframes startSimpleCablePulseReverse {
    0% {
        transform: translate(24px, -50%);
        opacity: 0;
    }

    18% {
        opacity: 1;
    }

    68% {
        opacity: 1;
    }

    100% {
        transform: translate(-270px, -50%);
        opacity: 0;
    }
}

@keyframes startSimpleCablePulseVertical {
    0% {
        transform: translate(-50%, -8px);
        opacity: 0;
    }

    18% {
        opacity: 1;
    }

    70% {
        opacity: 1;
    }

    100% {
        transform: translate(-50%, 28px);
        opacity: 0;
    }
}

.start-simple-strip {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.85rem;
    padding: 0.15rem;
    border-radius: 22px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.6), rgba(244, 248, 255, 0.76));
    border: 1px solid rgba(43, 94, 232, 0.08);
}

.start-simple-item {
    display: grid;
    gap: 0.38rem;
    padding: 1rem 1.05rem;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(12, 24, 42, 0.08);
}

.start-simple-item strong {
    color: var(--text-dark);
    font-size: 1rem;
}

.start-simple-item span {
    color: var(--text-dark-soft);
    line-height: 1.7;
    font-size: 0.9rem;
}

.start-simple-notes {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem 1rem;
    padding: 0 0.2rem;
    color: #647d9f;
    font-size: 0.82rem;
    line-height: 1.7;
}

.start-simple-notes span {
    position: relative;
    padding-left: 0.95rem;
}

.start-simple-notes span::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.62rem;
    width: 0.34rem;
    height: 0.34rem;
    border-radius: 50%;
    background: rgba(232, 77, 84, 0.78);
}

.start-simple-footnote {
    padding: 0 0.2rem;
    color: #7b90b0;
    font-size: 0.76rem;
    line-height: 1.65;
}

.what-card,
.note-card {
    padding: 1.5rem;
}

.what-card {
    display: grid;
    align-content: start;
    gap: 0.9rem;
    min-height: 100%;
    border-radius: 24px;
}

.what-index,
.capability-index {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.65rem;
    height: 2.65rem;
    border-radius: 999px;
    margin-bottom: 1rem;
    font-weight: 700;
    color: #fff;
    background: linear-gradient(135deg, var(--brand-red), var(--brand-blue));
    box-shadow: 0 10px 20px rgba(47, 82, 173, 0.22);
}

.what-card h3,
.note-card h3,
.workbench-panel h3,
.story-copy h3,
.contact-card h3,
.capability-copy h3 {
    font-size: 1.45rem;
    margin-bottom: 0.8rem;
}

.what-card p,
.note-card p,
.story-copy p,
.capability-copy p,
.highlight-card span,
.contact-list,
.device-meta,
.device-stream-summary,
.task-device-choice-meta,
.task-message p {
    line-height: 1.8;
}

.section-light .what-card p,
.section-light .note-card p,
.section-light .story-copy p,
.section-light .task-message p,
.section-light .task-device-choice-meta,
.section-light .device-stream-summary,
.section-light .device-meta {
    color: var(--text-dark-soft);
}

.what-meta,
.result-label,
.note-tag,
.panel-kicker {
    display: inline-flex;
    color: #57729a;
    font-size: 0.9rem;
    font-weight: 700;
}

.what-meta {
    margin-top: auto;
    padding: 0.95rem 1rem;
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.04));
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #dce8ff;
    font-size: 1rem;
    font-weight: 800;
    line-height: 1.6;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.result-label,
.note-tag,
.panel-kicker {
    align-items: center;
    align-self: flex-start;
    width: fit-content;
    margin: 0 0 0.55rem;
}

.process-strip {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
    margin-bottom: 1.4rem;
}

.process-item {
    padding: 1.2rem 1.25rem;
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(12, 24, 42, 0.08);
    box-shadow: 0 16px 26px rgba(17, 39, 71, 0.06);
}

.process-item span {
    display: inline-flex;
    margin-bottom: 0.6rem;
    color: #5f7ba4;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.process-item strong {
    display: block;
    margin-bottom: 0.55rem;
    color: var(--text-dark);
    font-size: 1.05rem;
}

.process-item p {
    color: var(--text-dark-soft);
    line-height: 1.75;
}

.workbench-shell {
    padding: 1.15rem;
    border-radius: 30px;
}

.task-page-head > div,
.workbench-panel-head > div,
.task-runtime-card-head > div,
.device-control-modal-head > div {
    min-width: 0;
}

.task-page-head > div,
.workbench-panel-head > div,
.device-control-modal-head > div {
    display: grid;
    gap: 0.1rem;
}

.task-page-head {
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.1rem;
    padding: 0.9rem 1.1rem;
    border-radius: 24px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(247, 250, 255, 0.94)),
        radial-gradient(circle at top right, rgba(43, 94, 232, 0.08), transparent 36%);
    border: 1px solid rgba(43, 94, 232, 0.12);
}

.task-page-head > div:first-child {
    flex: 1 1 auto;
}

.task-page-head h3 {
    color: var(--text-dark);
    font-size: 1.35rem;
    line-height: 1.2;
    margin: 0;
}

.task-toolbar {
    flex: 0 0 auto;
    flex-wrap: nowrap;
    justify-content: flex-end;
    align-items: center;
    gap: 0.7rem;
}

.task-toolbar .btn {
    min-height: 2.45rem;
    padding: 0.58rem 0.85rem;
    font-size: 0.82rem;
    white-space: nowrap;
}

.workbench-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    align-items: start;
}

.workbench-panel {
    display: grid;
    gap: 1rem;
    min-height: 100%;
}

.workbench-panel-wide {
    grid-column: 1 / -1;
}

.workbench-panel-head {
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
}

.workbench-summary {
    max-width: 16rem;
    color: #5f7ba4;
    font-size: 0.9rem;
    line-height: 1.7;
    text-align: right;
}

.device-card-grid {
    grid-template-columns: 1fr;
    gap: 0.9rem;
}

.device-card {
    padding: 1rem;
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(252, 253, 255, 0.98), rgba(244, 248, 255, 0.98));
    border: 1px solid rgba(18, 35, 61, 0.1);
    box-shadow: 0 12px 24px rgba(17, 39, 71, 0.06);
    transition: transform var(--transition-fast), box-shadow var(--transition-fast), border-color var(--transition-fast);
}

.device-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 32px rgba(17, 39, 71, 0.12);
}

.device-card-selected {
    border-color: rgba(232, 77, 84, 0.28);
    box-shadow: 0 0 0 3px rgba(232, 77, 84, 0.08), 0 20px 32px rgba(17, 39, 71, 0.1);
}

.device-card-header {
    gap: 0.9rem;
    align-items: center;
}

.device-select-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.device-select-toggle input {
    width: 1rem;
    height: 1rem;
    accent-color: var(--brand-red-strong);
}

.device-preview-shell {
    width: 74px;
    min-width: 74px;
    height: 132px;
    padding: 6px;
    border-radius: 22px;
    background: linear-gradient(180deg, #0d1629, #1b2947);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.device-preview-screen {
    position: relative;
    display: grid;
    grid-template-rows: auto 1fr;
    height: 100%;
    border-radius: 14px;
    padding: 0.4rem 0.38rem 0.42rem;
    gap: 0.32rem;
    overflow: hidden;
    background:
        radial-gradient(circle at 20% 18%, rgba(255, 255, 255, 0.2), transparent 20%),
        linear-gradient(180deg, rgba(255, 95, 95, 0.34), rgba(61, 125, 255, 0.24)),
        linear-gradient(180deg, #101c33 0%, #162745 100%);
}

.device-preview-screen::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), transparent 18%);
    pointer-events: none;
}

.device-preview-screen.tone-red {
    background:
        radial-gradient(circle at 20% 18%, rgba(255, 255, 255, 0.2), transparent 20%),
        linear-gradient(180deg, rgba(255, 95, 95, 0.34), rgba(61, 125, 255, 0.24)),
        linear-gradient(180deg, #101c33 0%, #162745 100%);
}

.device-preview-screen.tone-blue {
    background:
        radial-gradient(circle at 20% 18%, rgba(255, 255, 255, 0.22), transparent 20%),
        linear-gradient(180deg, rgba(61, 125, 255, 0.34), rgba(67, 213, 244, 0.22)),
        linear-gradient(180deg, #101c33 0%, #162745 100%);
}

.device-preview-screen.tone-cyan {
    background:
        radial-gradient(circle at 20% 18%, rgba(255, 255, 255, 0.22), transparent 20%),
        linear-gradient(180deg, rgba(67, 213, 244, 0.26), rgba(255, 187, 103, 0.18)),
        linear-gradient(180deg, #101c33 0%, #162745 100%);
}

.preview-status-bar,
.preview-video-caption,
.preview-action-rail,
.preview-feed-top,
.preview-search-tags,
.preview-feed-row {
    display: flex;
    gap: 0.18rem;
}

.preview-status-bar {
    justify-content: space-between;
    align-items: center;
    z-index: 1;
}

.preview-status-bar span {
    display: block;
    height: 3px;
    border-radius: 999px;
    background: rgba(245, 249, 255, 0.82);
}

.preview-status-bar span:nth-child(1) {
    width: 17px;
}

.preview-status-bar span:nth-child(2) {
    width: 10px;
    margin-left: auto;
}

.preview-status-bar span:nth-child(3) {
    width: 6px;
}

.preview-video-frame,
.preview-feed-shell,
.preview-search-shell {
    position: relative;
    z-index: 1;
    min-height: 0;
}

.preview-video-frame {
    border-radius: 11px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.08), transparent 30%),
        linear-gradient(180deg, rgba(29, 22, 52, 0.2), rgba(8, 13, 27, 0.58)),
        radial-gradient(circle at 58% 18%, rgba(255, 214, 137, 0.72), transparent 26%),
        linear-gradient(135deg, rgba(111, 69, 150, 0.9), rgba(18, 35, 61, 0.9));
    overflow: hidden;
}

.preview-video-frame::before {
    content: "";
    position: absolute;
    inset: 28% 18% auto 18%;
    height: 34%;
    border-radius: 10px;
    background: linear-gradient(180deg, rgba(255, 188, 140, 0.84), rgba(96, 59, 122, 0.86));
    filter: blur(1px);
    opacity: 0.86;
}

.preview-video-badge {
    position: absolute;
    top: 8px;
    left: 8px;
    width: 18px;
    height: 7px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.28);
}

.preview-video-caption {
    position: absolute;
    left: 8px;
    right: 8px;
    bottom: 10px;
    flex-direction: column;
    gap: 0.16rem;
}

.preview-video-caption i {
    display: block;
    width: 78%;
    height: 4px;
    border-radius: 999px;
    background: rgba(245, 249, 255, 0.78);
}

.preview-video-caption i.wide {
    width: 92%;
}

.preview-video-caption i.short {
    width: 46%;
}

.preview-action-rail {
    position: absolute;
    right: 8px;
    top: 36px;
    bottom: 14px;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    gap: 0.24rem;
}

.preview-action-rail span {
    display: block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.88);
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.12);
}

.preview-feed-shell {
    display: grid;
    grid-template-rows: auto auto 1fr;
    gap: 0.3rem;
}

.preview-feed-top {
    justify-content: space-between;
}

.preview-feed-top i,
.preview-search-tags span {
    display: block;
    height: 8px;
    border-radius: 999px;
    background: rgba(240, 246, 255, 0.7);
}

.preview-feed-top i:first-child {
    width: 24px;
}

.preview-feed-top i:last-child {
    width: 12px;
}

.preview-feed-card {
    height: 28px;
    border-radius: 10px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.08), transparent 38%),
        linear-gradient(135deg, rgba(86, 201, 255, 0.72), rgba(59, 91, 178, 0.78));
}

.preview-feed-list {
    display: grid;
    gap: 0.22rem;
}

.preview-feed-row {
    align-items: center;
    gap: 0.26rem;
}

.preview-feed-row b {
    display: block;
    width: 13px;
    height: 13px;
    border-radius: 5px;
    background: rgba(255, 255, 255, 0.84);
}

.preview-feed-row span {
    display: block;
    flex: 1 1 auto;
    height: 5px;
    border-radius: 999px;
    background: rgba(240, 246, 255, 0.64);
}

.preview-search-shell {
    display: grid;
    grid-template-rows: auto auto repeat(2, minmax(0, 1fr));
    gap: 0.3rem;
}

.preview-search-bar {
    height: 12px;
    border-radius: 999px;
    background: rgba(240, 246, 255, 0.82);
}

.preview-search-tags span:first-child {
    width: 18px;
}

.preview-search-tags span:last-child {
    width: 24px;
}

.preview-search-result {
    border-radius: 10px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.08), transparent 40%),
        linear-gradient(135deg, rgba(103, 216, 238, 0.72), rgba(31, 62, 92, 0.84));
}

.preview-search-result.compact {
    opacity: 0.78;
}

.device-card-meta {
    min-width: 0;
}

.device-name {
    margin-bottom: 0.25rem;
    color: var(--text-dark);
    font-size: 1rem;
}

.device-card-stream-row,
.device-card-footer {
    margin-top: 0.8rem;
}

.device-card-stream-row {
    padding-top: 0.8rem;
    border-top: 1px solid rgba(18, 35, 61, 0.08);
}

.device-card-footer {
    justify-content: space-between;
    align-items: center;
    gap: 0.8rem;
}

.device-actions {
    flex-wrap: wrap;
    gap: 0.45rem;
}

.task-builder-tabs {
    justify-content: flex-start;
    align-items: center;
    gap: 0.55rem;
    flex-wrap: wrap;
}

.task-ai-chat-shell {
    display: grid;
    gap: 0.9rem;
}

.task-ai-chat-history {
    display: grid;
    gap: 0.8rem;
    max-height: 340px;
    padding: 0.95rem;
    overflow: auto;
    border-radius: 18px;
    border: 1px solid rgba(43, 94, 232, 0.14);
    background: linear-gradient(180deg, rgba(250, 252, 255, 0.98), rgba(243, 247, 255, 0.98));
}

.task-message {
    display: grid;
    gap: 0.4rem;
    padding: 0.9rem 1rem;
    border-radius: 16px;
}

.task-message-user {
    background: rgba(61, 125, 255, 0.08);
    border: 1px solid rgba(61, 125, 255, 0.12);
}

.task-message-assistant {
    background: rgba(255, 95, 95, 0.06);
    border: 1px solid rgba(255, 95, 95, 0.1);
}

.task-message-role {
    color: #58749a;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.task-ai-draft-wrap {
    grid-template-columns: 1fr;
    gap: 0.7rem;
}

.task-device-choice {
    position: relative;
    display: block;
    padding: 0.95rem 1rem 0.95rem 2.3rem;
    border-radius: 16px;
    border: 1px solid rgba(18, 35, 61, 0.1);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(246, 249, 255, 0.98));
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast), transform var(--transition-fast);
}

.task-device-choice:hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 24px rgba(17, 39, 71, 0.08);
}

.task-device-choice.active {
    border-color: rgba(232, 77, 84, 0.24);
    background: linear-gradient(180deg, rgba(255, 248, 248, 0.98), rgba(247, 250, 255, 0.98));
    box-shadow: 0 0 0 3px rgba(232, 77, 84, 0.06);
}

.task-device-choice input {
    position: absolute;
    left: 0.95rem;
    top: 1.05rem;
    width: 0.95rem;
    height: 0.95rem;
    accent-color: var(--brand-red-strong);
}

.task-device-choice-title {
    color: var(--text-dark);
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1.55;
}

.task-ai-example-row {
    grid-template-columns: 1fr;
    gap: 0.55rem;
}

.task-ai-example-row .btn {
    justify-content: flex-start;
    text-align: left;
    min-height: 0;
}

.task-ai-textarea {
    resize: vertical;
    min-height: 100px;
    background: rgba(248, 250, 255, 0.98);
}

.task-ai-composer-footer {
    align-items: center;
    justify-content: space-between;
    gap: 0.8rem;
    flex-wrap: wrap;
}

.task-ai-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    color: #5f7ba4;
    font-size: 0.84rem;
}

.task-ai-meta span {
    padding: 0.4rem 0.65rem;
    border-radius: 999px;
    background: rgba(61, 125, 255, 0.08);
}

.task-flow-grid {
    grid-template-columns: 1fr;
    gap: 0.8rem;
}

.task-flow-step {
    display: grid;
    grid-template-columns: 58px minmax(0, 1fr);
    gap: 0.85rem;
    align-items: start;
    padding: 1rem;
    border-radius: 18px;
    border: 1px solid rgba(18, 35, 61, 0.1);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(248, 250, 255, 0.98)),
        radial-gradient(circle at top right, rgba(43, 94, 232, 0.08), transparent 36%);
}

.task-flow-badge {
    width: 3rem;
    height: 3rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    color: #fff;
    font-weight: 800;
    background: linear-gradient(135deg, var(--brand-red), var(--brand-blue));
}

.task-flow-step h4 {
    color: var(--text-dark);
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.task-flow-step p {
    color: var(--text-dark-soft);
    line-height: 1.75;
}

.multi-select {
    position: relative;
    flex: 1 1 180px;
    min-width: 0;
}

.multi-select-summary {
    list-style: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    min-height: 2.85rem;
}

.multi-select-summary::-webkit-details-marker {
    display: none;
}

.filter-bar {
    align-items: center;
    gap: 0.7rem;
    flex-wrap: wrap;
}

.filter-bar .form-control {
    background: rgba(250, 252, 255, 0.98);
}

.filter-search-control {
    flex: 1.4 1 240px;
    min-width: 220px;
}

.filter-bar-actions {
    gap: 0.65rem;
}

.result-stat-strip {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.75rem;
}

.result-stat {
    padding: 0.95rem 1rem;
    border-radius: 16px;
    background: rgba(61, 125, 255, 0.07);
    border: 1px solid rgba(61, 125, 255, 0.1);
}

.result-stat strong {
    display: block;
    margin-bottom: 0.3rem;
    color: var(--text-dark);
    font-size: 1.35rem;
}

.result-stat span {
    color: #5e7a9f;
    font-size: 0.88rem;
}

.content-table-shell {
    display: grid;
    gap: 0.75rem;
    border-radius: 22px;
    border: 1px solid rgba(18, 35, 61, 0.1);
    background: linear-gradient(180deg, rgba(252, 253, 255, 0.98), rgba(246, 249, 255, 0.98));
    overflow: hidden;
}

.content-table-head,
.content-table-row {
    display: grid;
    grid-template-columns: 1.15fr 1.2fr 1fr 0.9fr 1fr;
}

.content-table-head {
    background: rgba(61, 125, 255, 0.08);
    border-bottom: 1px solid rgba(18, 35, 61, 0.08);
}

.content-table-col,
.content-table-cell {
    min-width: 0;
    padding: 0.95rem 0.9rem;
}

.content-table-col {
    color: #4f6d99;
    font-size: 0.82rem;
    font-weight: 800;
}

.content-table-body {
    display: grid;
}

.content-table-row {
    border-bottom: 1px solid rgba(18, 35, 61, 0.08);
    transition: background var(--transition-fast), box-shadow var(--transition-fast);
}

.content-table-row:last-child {
    border-bottom: 0;
}

.content-table-row:hover,
.content-table-row.is-focus {
    background: rgba(61, 125, 255, 0.05);
}

.content-table-row.is-focus {
    box-shadow: inset 3px 0 0 rgba(232, 77, 84, 0.7);
}

.content-table-cell {
    color: var(--text-dark-soft);
    font-size: 0.88rem;
    line-height: 1.75;
}

.content-table-cell strong {
    display: block;
    margin-bottom: 0.3rem;
    color: var(--text-dark);
    font-size: 0.96rem;
    line-height: 1.55;
}

.content-table-cell span {
    color: #6981a2;
    font-size: 0.76rem;
}

.image-desc-card {
    display: grid;
    gap: 0.5rem;
    padding: 0.8rem;
    border-radius: 16px;
    background: linear-gradient(180deg, rgba(61, 125, 255, 0.07), rgba(67, 213, 244, 0.06));
    border: 1px solid rgba(61, 125, 255, 0.12);
}

.image-desc-badge {
    display: inline-flex;
    width: fit-content;
    padding: 0.28rem 0.55rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.76);
    color: #486690;
    font-size: 0.72rem;
    font-weight: 700;
}

.image-desc-card p {
    color: var(--text-dark-soft);
    font-size: 0.84rem;
    line-height: 1.7;
}

.keyword-stack {
    display: grid;
    gap: 0.45rem;
}

.keyword-pair {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.7rem;
    padding: 0.45rem 0.5rem;
    border-radius: 14px;
    background: rgba(18, 35, 61, 0.05);
}

.keyword-name {
    color: #35537d;
    font-size: 0.76rem;
    font-weight: 700;
}

.result-insights {
    display: grid;
    gap: 0.9rem;
}

.story-block {
    display: grid;
    gap: 0.25rem;
    padding: 1.08rem 1.18rem;
    border-radius: var(--radius-sm);
    background: rgba(61, 125, 255, 0.06);
}

.story-block span {
    display: inline-block;
    margin-bottom: 0.45rem;
    color: #355a8c;
    font-size: 0.92rem;
    font-weight: 700;
}

.story-points,
.capability-points {
    list-style: none;
    display: grid;
    gap: 0.78rem;
}

.story-points li,
.capability-points li {
    color: var(--text-dark-soft);
    line-height: 1.8;
}

.story-points li::before,
.capability-points li::before {
    content: "•";
    color: var(--brand-blue);
    margin-right: 0.55rem;
}

.capability-stack {
    gap: 1.3rem;
}

.capability-story,
.story-card {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(340px, 1.05fr);
    align-items: start;
    gap: 1.58rem;
    padding: 1.62rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.story-card {
    background: rgba(255, 255, 255, 0.78);
    border-color: rgba(12, 24, 42, 0.08);
    box-shadow: 0 24px 48px rgba(11, 35, 70, 0.12);
}

.capability-story.reverse,
.story-card.reverse {
    grid-template-columns: minmax(340px, 1.05fr) minmax(0, 0.95fr);
}

.capability-story.reverse .capability-copy,
.story-card.reverse .story-copy {
    order: 2;
}

.capability-story.reverse .capability-media,
.story-card.reverse .story-media {
    order: 1;
}

.capability-copy,
.story-copy,
.story-media,
.capability-media {
    display: grid;
    gap: 1.08rem;
}

.story-media,
.capability-media {
    min-height: 0;
    align-content: start;
}

.capability-headline {
    display: grid;
    grid-template-columns: 4.4rem minmax(0, 1fr);
    align-items: flex-start;
    gap: 1rem;
    padding: 1.15rem 1.2rem;
    border-radius: 24px;
    background:
        radial-gradient(circle at top left, rgba(255, 95, 95, 0.18), transparent 28%),
        radial-gradient(circle at 92% 12%, rgba(61, 125, 255, 0.18), transparent 30%),
        linear-gradient(145deg, rgba(21, 34, 58, 0.96), rgba(15, 28, 50, 0.94));
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 22px 40px rgba(7, 16, 31, 0.2);
    text-align: left;
}

.capability-headline .capability-index {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3.6rem;
    height: 3.6rem;
    padding: 0;
    margin-bottom: 0;
    flex: 0 0 auto;
    border-radius: 18px;
    font-size: 1.26rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    background:
        linear-gradient(135deg, rgba(255, 95, 95, 0.96), rgba(61, 125, 255, 0.94));
    box-shadow: 0 14px 28px rgba(47, 82, 173, 0.2);
}

.capability-headline > div {
    display: grid;
    gap: 0.55rem;
    justify-items: start;
    align-content: start;
    text-align: left;
    min-width: 0;
}

.capability-headline h3 {
    margin: 0;
    color: #fff;
    font-size: clamp(1.95rem, 3vw, 2.5rem);
    line-height: 1.08;
    letter-spacing: -0.03em;
}

.capability-lead,
.story-summary {
    font-size: 1.02rem;
}

.capability-shift {
    padding: 0.95rem 1rem;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.07);
    color: #d8e3ff;
    font-weight: 700;
    line-height: 1.75;
}

.capability-note {
    padding: 0.95rem 1rem;
    border-radius: 16px;
    background: rgba(67, 213, 244, 0.1);
    color: #d6f7ff;
    line-height: 1.8;
}

.capability-expansion-card {
    padding: 1.1rem 1.2rem;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 18px 34px rgba(3, 10, 22, 0.16);
}

.capability-expansion-card strong {
    display: block;
    color: #f2f6ff;
    font-size: 1.02rem;
    line-height: 1.65;
}

.capability-red-list {
    list-style: none;
    display: grid;
    gap: 0.9rem;
}

.capability-red-list li {
    position: relative;
    padding-left: 1.7rem;
    color: var(--text-soft);
    line-height: 1.8;
}

.capability-red-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.72rem;
    width: 0.72rem;
    height: 0.72rem;
    border-radius: 50%;
    background: var(--brand-red);
    box-shadow: 0 0 0 6px rgba(255, 95, 95, 0.08);
}

.capability-copy p,
.capability-copy li,
.section-dark .story-points li,
.section-dark .story-copy p {
    color: var(--text-soft);
}

.stage-rail {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
}

.stage-pill {
    color: #d7e2ff;
    background: rgba(255, 255, 255, 0.07);
}

.stage-pill.active {
    color: #fff;
    background: linear-gradient(135deg, rgba(255, 95, 95, 0.26), rgba(61, 125, 255, 0.26));
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.capability-kicker {
    justify-content: flex-start;
    width: auto;
    padding: 0;
    align-self: start;
    border-radius: 0;
    background: none;
    color: rgba(226, 236, 255, 0.84);
    font-size: 0.96rem;
    font-weight: 700;
    line-height: 1.55;
    white-space: normal;
}

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

.layout-circle-story .story-figure.main {
    grid-column: 1 / -1;
}

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

.story-label {
    color: #fff;
    background: linear-gradient(135deg, var(--brand-red), var(--brand-blue));
    width: fit-content;
}

.layout-wide-inset,
.layout-network-stack {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
}

.layout-wide-inset .story-figure.inset,
.layout-network-stack .story-figure.inset {
    position: static;
    width: auto;
}

.layout-phone-pair {
    grid-template-columns: 1fr;
    align-items: start;
}

.story-figure {
    display: grid;
    gap: 0.72rem;
}

.story-figure.main {
    height: auto;
}

.figure-frame {
    overflow: hidden;
    border-radius: 22px;
    background: rgba(8, 18, 34, 0.04);
    border: 1px solid rgba(12, 24, 42, 0.08);
}

.figure-frame-chart {
    padding: 0.9rem;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(243, 247, 255, 0.96)),
        radial-gradient(circle at top right, rgba(43, 94, 232, 0.08), transparent 28%);
}

.story-figure img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.layout-phone-pair .story-figure img {
    object-fit: contain;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.6), rgba(235, 241, 249, 0.86));
}

.story-figure figcaption {
    font-size: 0.84rem;
    line-height: 1.55;
    color: #536b8c;
    margin-top: 0.1rem;
}

.capability-media .story-figure figcaption {
    padding: 0.8rem 0.9rem;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: rgba(226, 236, 255, 0.82);
    font-size: 0.86rem;
    font-weight: 600;
    line-height: 1.72;
    margin-top: 0;
}

.fake-histogram,
.fake-matrix {
    display: grid;
    gap: 1rem;
}

.fake-histogram-head,
.fake-matrix-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    flex-wrap: wrap;
}

.fake-histogram-head strong,
.fake-matrix-head strong {
    color: var(--text-dark);
    font-size: 1.05rem;
}

.fake-matrix-head span {
    color: #6b83a5;
    font-size: 0.82rem;
}

.histogram-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.legend-chip {
    display: inline-flex;
    padding: 0.38rem 0.7rem;
    border-radius: 999px;
    background: rgba(18, 35, 61, 0.05);
    color: #486690;
    font-size: 0.76rem;
    font-weight: 700;
}

.legend-chip.median {
    box-shadow: inset 0 0 0 1px rgba(232, 77, 84, 0.18);
}

.legend-chip.mean {
    box-shadow: inset 0 0 0 1px rgba(255, 151, 119, 0.24);
}

.fake-histogram-chart {
    position: relative;
    display: grid;
    gap: 0.75rem;
    min-height: 280px;
    padding: 1rem 1rem 0.75rem;
    border-radius: 18px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.86), rgba(246, 249, 255, 0.96)),
        repeating-linear-gradient(
            to top,
            rgba(82, 104, 139, 0.08) 0,
            rgba(82, 104, 139, 0.08) 1px,
            transparent 1px,
            transparent 52px
        );
}

.golden-window {
    position: absolute;
    top: 1rem;
    left: 1rem;
    width: 22%;
    height: calc(100% - 2.6rem);
    border-radius: 14px;
    background: rgba(18, 35, 61, 0.06);
}

.marker {
    position: absolute;
    top: 1rem;
    bottom: 1.7rem;
    width: 0;
    border-left: 3px solid transparent;
}

.marker-median {
    left: 24%;
    border-left-color: #ea4e3a;
    border-left-style: dashed;
}

.marker-mean {
    left: 47%;
    border-left-color: #f09b83;
}

.histogram-bars {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(20, minmax(0, 1fr));
    align-items: end;
    gap: 0.28rem;
    height: 220px;
}

.histogram-bars span {
    display: block;
    height: var(--bar-h);
    border-radius: 10px 10px 0 0;
    background: linear-gradient(180deg, rgba(80, 104, 148, 0.82), rgba(95, 126, 176, 0.92));
}

.histogram-axis {
    display: flex;
    justify-content: space-between;
    color: #6b83a5;
    font-size: 0.76rem;
    font-weight: 700;
}

.matrix-table {
    display: grid;
    gap: 0.55rem;
}

.matrix-row {
    display: grid;
    grid-template-columns: minmax(128px, 1.08fr) repeat(3, minmax(0, 1fr));
    gap: 0.55rem;
    align-items: stretch;
}

.matrix-row span {
    display: flex;
    align-items: center;
    gap: 0.58rem;
    min-width: 0;
    min-height: 3.15rem;
    padding: 0.78rem 0.82rem;
    border-radius: 16px;
    background: rgba(18, 35, 61, 0.04);
    color: var(--text-dark);
    font-size: 0.86rem;
    font-weight: 700;
}

.matrix-row span:first-child {
    justify-content: flex-start;
    text-align: left;
}

.matrix-row span:not(:first-child) {
    justify-content: center;
}

.matrix-row.matrix-header span {
    background: rgba(61, 125, 255, 0.08);
    color: #4f6d99;
    font-size: 0.8rem;
    justify-content: center;
    text-align: center;
}

.matrix-row.matrix-header span:first-child {
    justify-content: flex-start;
    text-align: left;
}

.matrix-row i {
    position: relative;
    flex: 0 0 76px;
    width: 76px;
    height: 0.5rem;
    border-radius: 999px;
    background: rgba(18, 35, 61, 0.08);
    overflow: hidden;
}

.matrix-row i::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: var(--fill);
    border-radius: inherit;
    background: linear-gradient(90deg, rgba(255, 95, 95, 0.75), rgba(61, 125, 255, 0.88));
}

.matrix-row b {
    flex: 0 0 1.2rem;
    color: #5b7598;
    font-size: 0.78rem;
    text-align: center;
}

.story-metrics {
    flex-wrap: wrap;
    gap: 0.65rem;
}

.story-metric {
    color: #27466f;
    background: rgba(18, 35, 61, 0.08);
}

.scenario-stack {
    display: grid;
    gap: 1.4rem;
}

.notes-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.note-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.note-tag {
    margin-top: 0;
    color: #bfd0ef;
}

.note-card p {
    color: var(--text-soft);
}

.hidden {
    display: none !important;
}

.task-mode-copy {
    padding: 0.82rem 0.95rem;
    border-radius: 16px;
    background: rgba(61, 125, 255, 0.07);
    color: #4f6d99;
    font-size: 0.88rem;
    line-height: 1.75;
}

.task-mode-panel {
    display: grid;
    gap: 1rem;
    align-content: start;
}

.task-panel {
    display: grid;
    gap: 0.85rem;
    padding: 0.95rem;
    border-radius: 22px;
    border: 1px solid rgba(18, 35, 61, 0.1);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(246, 249, 255, 0.98));
}

.card-title,
.task-pick-title {
    color: var(--text-dark);
    font-size: 1rem;
    font-weight: 800;
}

.task-pick-chip,
.manual-builder-chip {
    display: inline-flex;
    width: fit-content;
    padding: 0.35rem 0.7rem;
    border-radius: 999px;
    background: rgba(61, 125, 255, 0.1);
    color: #355a8c;
    font-size: 0.76rem;
    font-weight: 800;
}

.manual-builder-top,
.manual-builder-shell,
.batch-builder-shell {
    display: grid;
    gap: 0.9rem;
}

.manual-builder-meta,
.batch-builder-copy,
.task-pick-copy {
    color: #5f7ba4;
    font-size: 0.86rem;
    line-height: 1.75;
}

.manual-builder-grid,
.batch-builder-grid,
.comment-suite-grid,
.task-runtime-layout,
.analysis-workspace-grid {
    display: grid;
    gap: 1rem;
}

.manual-builder-grid,
.batch-builder-grid {
    grid-template-columns: minmax(290px, 0.88fr) minmax(0, 1.12fr);
}

.manual-builder-grid-single,
.batch-builder-grid-stack {
    grid-template-columns: 1fr;
}

.comment-suite-grid {
    grid-template-columns: minmax(240px, 0.8fr) minmax(0, 1.2fr);
    align-items: start;
    gap: 1rem;
}

.comment-config-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
    gap: 0.7rem;
}

.comment-config-group {
    display: grid;
    gap: 0.42rem;
    align-content: start;
}

.comment-config-group-wide {
    grid-column: 1 / -1;
}

.manual-device-card,
.macro-choice-chip {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    min-height: 2.8rem;
    padding: 0.7rem 0.9rem;
    border-radius: 16px;
    border: 1px solid rgba(18, 35, 61, 0.1);
    background: rgba(255, 255, 255, 0.96);
    color: var(--text-dark);
    font-size: 0.86rem;
    font-weight: 700;
    text-align: center;
    cursor: pointer;
}

.manual-step-strip {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.7rem;
}

.manual-step-card {
    display: grid;
    grid-template-columns: 58px minmax(0, 1fr);
    gap: 0.75rem;
    align-items: start;
    padding: 0.9rem 0.95rem;
    border-radius: 18px;
    border: 1px solid rgba(18, 35, 61, 0.08);
    background: rgba(18, 35, 61, 0.04);
}

.manual-step-card h4 {
    margin-bottom: 0.18rem;
    color: var(--text-dark);
    font-size: 0.98rem;
}

.manual-step-card p {
    color: #5f7ba4;
    font-size: 0.84rem;
    line-height: 1.7;
}

.manual-panel-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 0.8rem;
    flex-wrap: wrap;
}

.manual-panel-copy {
    display: grid;
    gap: 0.28rem;
}

.manual-panel-copy p {
    margin: 0;
    color: #6984ab;
    font-size: 0.82rem;
    line-height: 1.65;
}

.manual-task-layout {
    display: grid;
    gap: 0.85rem;
}

.manual-panel-hint {
    color: #6b83a5;
    font-size: 0.78rem;
    font-weight: 700;
}

.manual-device-list {
    display: grid;
    gap: 0.68rem;
}

.manual-device-row {
    position: relative;
    display: grid;
    grid-template-columns: 76px minmax(0, 1fr);
    gap: 0.85rem;
    align-items: center;
    padding: 0.85rem 0.95rem 0.85rem 2.75rem;
    min-height: 8.3rem;
    border-radius: 18px;
    border: 1px solid rgba(18, 35, 61, 0.08);
    background: rgba(255, 255, 255, 0.98);
}

.manual-device-row input {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    width: 1rem;
    height: 1rem;
    accent-color: var(--brand-red-strong);
}

.manual-device-row.active {
    border-color: rgba(232, 77, 84, 0.22);
    box-shadow: 0 0 0 3px rgba(232, 77, 84, 0.05);
    background: linear-gradient(180deg, rgba(255, 248, 248, 0.98), rgba(247, 250, 255, 0.98));
}

.manual-device-thumb {
    display: grid;
    place-items: center;
    width: 76px;
    height: 122px;
    padding: 0.55rem 0.45rem;
    border-radius: 20px;
    background: linear-gradient(180deg, #1d2846, #314a7a);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.manual-device-thumb span {
    color: rgba(245, 249, 255, 0.92);
    font-size: 0.68rem;
    font-weight: 700;
    line-height: 1.45;
    text-align: center;
}

.manual-device-thumb.tone-red {
    background: linear-gradient(180deg, #5a2f54, #2b4277);
}

.manual-device-thumb.tone-blue {
    background: linear-gradient(180deg, #29467c, #295c7a);
}

.manual-device-thumb.tone-cyan {
    background: linear-gradient(180deg, #27506a, #2f6679);
}

.manual-device-info strong {
    display: block;
    color: var(--text-dark);
    font-size: 0.96rem;
    line-height: 1.45;
}

.manual-device-info span {
    color: #607ca5;
    font-size: 0.82rem;
    line-height: 1.65;
}

.macro-choice-grid-wide .macro-choice-chip {
    flex: 1 1 0;
    min-width: 0;
}

.manual-task-note {
    padding: 0.8rem 0.9rem;
    border-radius: 14px;
    background: rgba(61, 125, 255, 0.07);
    color: #5d789b;
    font-size: 0.83rem;
    line-height: 1.65;
}

.manual-device-card {
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
}

.manual-device-card input,
.macro-choice-chip input,
.publish-chip input {
    position: absolute;
    inset: 0;
    opacity: 0;
    pointer-events: none;
}

.manual-device-card small {
    color: #6b83a5;
    font-size: 0.74rem;
    font-weight: 600;
}

.manual-device-card.active,
.macro-choice-chip.active,
.macro-choice-chip[data-comment-mode].active,
.comment-tone-chip.active {
    border-color: rgba(232, 77, 84, 0.22);
    background: linear-gradient(180deg, rgba(255, 248, 248, 0.98), rgba(247, 250, 255, 0.98));
    box-shadow: 0 0 0 3px rgba(232, 77, 84, 0.06);
}

.macro-choice-grid,
.macro-action-row,
.comment-tone-row,
.task-schedule-tabs,
.task-batch-toolbar {
    display: flex;
    gap: 0.65rem;
    flex-wrap: wrap;
}

.macro-action-chip-face {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.6rem;
    padding: 0.55rem 0.85rem;
    border-radius: 14px;
    background: rgba(18, 35, 61, 0.06);
    color: #35537d;
    font-size: 0.82rem;
    font-weight: 700;
}

.macro-action-chip-face.active {
    background: linear-gradient(135deg, rgba(232, 77, 84, 0.14), rgba(61, 125, 255, 0.14));
    color: var(--text-dark);
}

.publish-chip {
    display: inline-flex;
    width: fit-content;
}

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

.manual-form-grid-three {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.manual-form-grid-two {
    grid-template-columns: 1.1fr 0.9fr;
}

.manual-option-card {
    display: grid;
    gap: 0.5rem;
    padding: 0.85rem;
    border-radius: 16px;
    background: rgba(18, 35, 61, 0.04);
}

.manual-option-card .form-control {
    min-height: 2.7rem;
}

.manual-option-card textarea.form-control {
    min-height: 5rem;
}

.form-label.subtle {
    margin-bottom: 0.35rem;
    color: #6d85a6;
    font-size: 0.78rem;
}

.task-schedule-panel,
.device-schedule-list,
.batch-check-list,
.task-runtime-rail,
.brand-index-legend,
.analysis-side-stack {
    display: grid;
    gap: 0.7rem;
}

.task-schedule-toolbar,
.device-schedule-item,
.task-runtime-card-head,
.task-runtime-progress,
.device-control-modal-head,
.comment-output-meta,
.footer-recordal {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.8rem;
}

.device-schedule-item {
    padding: 0.8rem 0.95rem;
    border-radius: 14px;
    background: rgba(18, 35, 61, 0.05);
}

.device-schedule-item span {
    color: #6380a9;
    font-size: 0.82rem;
}

.batch-table {
    display: grid;
    gap: 0.5rem;
}

.batch-table-row {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.6rem;
}

.batch-table-row span {
    padding: 0.8rem 0.85rem;
    border-radius: 14px;
    background: rgba(18, 35, 61, 0.05);
    color: var(--text-dark);
    font-size: 0.83rem;
    font-weight: 700;
}

.batch-table-row.batch-table-head span {
    background: rgba(61, 125, 255, 0.08);
    color: #4f6d99;
    font-size: 0.78rem;
}

.batch-table.compact .batch-table-row {
    grid-template-columns: 1fr 1fr 0.8fr;
}

.batch-check-item {
    padding: 0.95rem 1rem;
    border-radius: 16px;
    border: 1px solid rgba(18, 35, 61, 0.08);
    background: rgba(255, 255, 255, 0.96);
}

.batch-check-item strong {
    display: block;
    margin-bottom: 0.25rem;
    color: var(--text-dark);
}

.batch-check-item span {
    color: #617da5;
    font-size: 0.84rem;
    line-height: 1.7;
}

.batch-check-item.success {
    border-color: rgba(32, 178, 95, 0.18);
    background: rgba(32, 178, 95, 0.06);
}

.batch-check-item.warning {
    border-color: rgba(239, 177, 61, 0.2);
    background: rgba(239, 177, 61, 0.08);
}

.batch-check-item.muted {
    background: rgba(18, 35, 61, 0.04);
}

.keyword-pill {
    display: inline-flex;
    width: fit-content;
    padding: 0.36rem 0.65rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 800;
}

.sentiment-positive {
    color: #0f6b3e !important;
    background: rgba(45, 185, 106, 0.16);
}

.sentiment-neutral,
.sentiment-warning {
    background: rgba(244, 196, 48, 0.18);
}

.sentiment-neutral {
    color: #8a6a0d !important;
}

.sentiment-warning {
    color: #9a6700 !important;
}

.sentiment-negative {
    color: #b22234 !important;
    background: rgba(226, 83, 95, 0.14);
}

.task-runtime-panel {
    gap: 1.2rem;
}

.task-runtime-layout {
    grid-template-columns: minmax(360px, 0.92fr) minmax(420px, 1.08fr);
    align-items: stretch;
}

.task-runtime-rail {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.8rem;
    align-content: start;
}

.task-runtime-card {
    display: grid;
    gap: 0.8rem;
    padding: 1.05rem;
    border-radius: 18px;
    border: 1px solid rgba(18, 35, 61, 0.1);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(246, 249, 255, 0.98));
}

.task-runtime-card.active {
    border-color: rgba(232, 77, 84, 0.24);
    box-shadow: 0 0 0 3px rgba(232, 77, 84, 0.06);
}

.task-runtime-card-head strong {
    display: block;
    color: var(--text-dark);
    font-size: 0.98rem;
}

.task-runtime-card-head span,
.progress-label,
.task-runtime-log span {
    color: #6180a9;
    font-size: 0.8rem;
}

.task-runtime-log {
    display: grid;
    gap: 0.35rem;
}

.runtime-summary-card {
    align-content: start;
    grid-column: 1 / -1;
}

.runtime-summary-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.65rem;
}

.runtime-summary-grid div {
    padding: 0.8rem 0.85rem;
    border-radius: 15px;
    background: rgba(18, 35, 61, 0.05);
}

.runtime-summary-grid span {
    display: block;
    margin-bottom: 0.22rem;
    color: #6882a4;
    font-size: 0.78rem;
    font-weight: 700;
}

.runtime-summary-grid strong {
    color: var(--text-dark);
    font-size: 1.25rem;
}

.runtime-summary-note {
    color: #5e7a9f;
    font-size: 0.84rem;
    line-height: 1.8;
}

.runtime-state {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    min-width: max-content;
    padding: 0.32rem 0.65rem;
    border-radius: 999px;
    font-size: 0.74rem;
    font-weight: 800;
    line-height: 1;
    white-space: nowrap;
    text-align: center;
}

.runtime-state.running {
    color: #0f6b3e;
    background: rgba(45, 185, 106, 0.14);
}

.runtime-state.waiting {
    color: #986d00;
    background: rgba(239, 177, 61, 0.18);
}

.runtime-state.done {
    color: #355a8c;
    background: rgba(61, 125, 255, 0.12);
}

.progress-track {
    position: relative;
    flex: 1 1 auto;
    height: 0.6rem;
    border-radius: 999px;
    background: rgba(18, 35, 61, 0.08);
    overflow: hidden;
}

.progress-track i {
    position: absolute;
    inset: 0 auto 0 0;
    width: var(--fill);
    border-radius: inherit;
    background: linear-gradient(90deg, rgba(232, 77, 84, 0.82), rgba(61, 125, 255, 0.9));
}

.device-control-modal-demo {
    display: grid;
    gap: 0.95rem;
    padding: 1rem;
    border-radius: 22px;
    border: 1px solid rgba(18, 35, 61, 0.1);
    background: linear-gradient(180deg, rgba(248, 250, 255, 0.98), rgba(238, 244, 255, 0.98));
}

.device-control-modal-head {
    align-items: flex-start;
}

.device-control-modal-head h4 {
    color: var(--text-dark);
    font-size: 1.08rem;
}

.device-control-shell {
    display: grid;
    gap: 0.8rem;
}

.device-control-warning {
    padding: 0.8rem 0.95rem;
    border-radius: 16px;
    background: rgba(239, 177, 61, 0.12);
    border: 1px solid rgba(239, 177, 61, 0.16);
    color: #8b6400;
    font-size: 0.84rem;
    line-height: 1.75;
}

.device-control-warning:empty {
    display: none;
}

.device-control-workbench {
    display: grid;
    grid-template-columns: minmax(0, 1.18fr) minmax(260px, 0.82fr);
    gap: 1rem;
}

.device-control-stage-panel,
.device-control-side-panel {
    display: grid;
    gap: 0.8rem;
}

.device-control-stage {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 540px;
    height: 540px;
    overflow: hidden;
    border-radius: 24px;
    background:
        radial-gradient(circle at top, rgba(255, 255, 255, 0.12), transparent 26%),
        linear-gradient(180deg, #0f172b, #172746);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.device-control-stage-embedded {
    min-height: 610px;
    height: 610px;
}

.device-demo-screen-track {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    min-height: 0;
    height: 100%;
    transition: transform 0.6s ease;
}

.device-demo-shot {
    position: relative;
    display: grid;
    flex: 0 0 100%;
    grid-template-rows: auto 1fr auto;
    gap: 0.6rem;
    min-height: 100%;
    height: 100%;
    padding: 0.8rem 0.85rem 4.7rem;
}

.device-demo-tag {
    display: inline-flex;
    width: fit-content;
    padding: 0.3rem 0.58rem;
    border-radius: 999px;
    background: rgba(61, 125, 255, 0.1);
    color: #355a8c;
    font-size: 0.72rem;
    font-weight: 800;
    background: rgba(255, 255, 255, 0.12);
    color: rgba(245, 249, 255, 0.92);
}

.device-demo-appbar {
    display: grid;
    gap: 0.55rem;
}

.device-demo-status,
.device-demo-tabs,
.device-demo-bottom-nav,
.device-demo-state-bar {
    display: flex;
    align-items: center;
}

.device-demo-status {
    justify-content: space-between;
    color: rgba(247, 250, 255, 0.88);
    font-size: 0.78rem;
    font-weight: 700;
}

.device-demo-tabs {
    justify-content: center;
    gap: 1rem;
    color: rgba(247, 250, 255, 0.76);
    font-size: 0.8rem;
    font-weight: 700;
}

.device-demo-tabs span {
    position: relative;
}

.device-demo-tabs span.active::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -0.35rem;
    height: 2px;
    border-radius: 999px;
    background: #fff;
}

.device-demo-video-art {
    position: relative;
    overflow: hidden;
    border-radius: 28px;
    background: linear-gradient(180deg, #7ca5bb 0%, #aec9cb 28%, #608ea5 52%, #284763 100%);
}

.video-topic-card {
    position: absolute;
    top: 0.95rem;
    left: 0.95rem;
    display: grid;
    gap: 0.18rem;
    min-width: 7.2rem;
    padding: 0.65rem 0.72rem;
    border-radius: 16px;
    background: rgba(8, 18, 34, 0.34);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: rgba(246, 249, 255, 0.94);
    box-shadow: 0 16px 28px rgba(5, 11, 22, 0.2);
}

.video-topic-card span {
    font-size: 0.68rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(232, 239, 255, 0.74);
}

.video-topic-card strong {
    font-size: 0.98rem;
    line-height: 1.2;
}

.video-topic-card p {
    font-size: 0.74rem;
    line-height: 1.45;
    color: rgba(241, 245, 255, 0.82);
}

.video-sky,
.video-mountain,
.video-lake,
.video-road {
    position: absolute;
}

.video-sky {
    inset: 0 0 42% 0;
    background:
        radial-gradient(circle at 24% 28%, rgba(255, 255, 255, 0.26), transparent 28%),
        linear-gradient(180deg, rgba(228, 240, 244, 0.48), transparent 78%);
}

.video-mountain {
    left: 18%;
    right: 10%;
    bottom: 34%;
    height: 34%;
    clip-path: polygon(0 100%, 26% 54%, 40% 18%, 58% 58%, 100% 100%);
    background: linear-gradient(180deg, #f9faf7 0%, #dbe5e2 30%, #6c8799 82%, #507086 100%);
    filter: drop-shadow(0 18px 30px rgba(10, 18, 34, 0.26));
}

.video-lake {
    left: 0;
    right: 0;
    bottom: 22%;
    height: 24%;
    background: linear-gradient(180deg, rgba(62, 150, 191, 0.86), rgba(53, 105, 138, 0.86));
}

.video-road {
    left: 8%;
    right: 30%;
    bottom: -3%;
    height: 30%;
    clip-path: polygon(44% 0, 64% 0, 100% 100%, 0 100%);
    background: linear-gradient(180deg, #59646e, #3a424d);
    border-radius: 40% 40% 0 0;
}

.video-side-actions {
    position: absolute;
    right: 0.85rem;
    bottom: 5.8rem;
    display: grid;
    gap: 0.85rem;
    justify-items: center;
}

.video-action {
    display: grid;
    justify-items: center;
    gap: 0.15rem;
    color: rgba(255, 255, 255, 0.96);
    font-size: 1.65rem;
    text-shadow: 0 6px 18px rgba(0, 0, 0, 0.28);
}

.video-action.heart,
.video-action.star {
    transition: transform var(--transition-fast), color var(--transition-fast), filter var(--transition-fast);
}

.video-action b {
    font-size: 0.7rem;
    font-weight: 700;
}

.video-action.avatar {
    width: 2.7rem;
    height: 2.7rem;
    border-radius: 50%;
    border: 3px solid rgba(255, 255, 255, 0.92);
    background:
        radial-gradient(circle at 35% 30%, rgba(255, 219, 164, 0.85), transparent 20%),
        linear-gradient(180deg, #3b5368, #16273b);
}

.video-action.heart.active,
.video-action.star.active {
    color: #ffffff;
    transform: scale(1.08);
    filter: drop-shadow(0 0 18px rgba(255, 255, 255, 0.24));
}

.video-action.heart.active {
    color: #ff6b81;
}

.video-action.star.active {
    color: #ffd54a;
}

.video-caption {
    position: absolute;
    left: 0.9rem;
    right: 5.6rem;
    bottom: 4rem;
    display: grid;
    gap: 0.38rem;
    color: #fff;
}

.video-caption strong {
    font-size: 1.06rem;
    line-height: 1.42;
}

.video-caption p {
    color: rgba(244, 248, 255, 0.84);
    font-size: 0.8rem;
    line-height: 1.6;
}

.device-demo-bottom-nav {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    justify-content: space-around;
    padding: 0.8rem 1rem 1rem;
    background: rgba(18, 19, 27, 0.78);
    color: rgba(241, 244, 255, 0.74);
    font-size: 0.84rem;
    font-weight: 700;
}

.device-demo-bottom-nav span.active {
    color: #fff;
}

.device-demo-state-bar {
    position: absolute;
    left: 50%;
    bottom: 6rem;
    transform: translateX(-50%);
    gap: 0.6rem;
}

.device-demo-state-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 3.9rem;
    min-height: 2.25rem;
    padding: 0.42rem 0.78rem;
    border-radius: 999px;
    background: rgba(31, 46, 83, 0.82);
    color: rgba(245, 249, 255, 0.86);
    font-size: 0.82rem;
    font-weight: 800;
}

.device-demo-state-chip.active {
    background: linear-gradient(135deg, rgba(232, 77, 84, 0.92), rgba(61, 125, 255, 0.92));
    color: #fff;
    box-shadow: 0 16px 30px rgba(9, 18, 34, 0.28);
}

.device-control-overlay {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent 18%),
        linear-gradient(0deg, rgba(255, 255, 255, 0.06), transparent 16%);
}

.device-control-stage-note,
.device-control-render-meta,
.device-control-action-note {
    color: #6b83a5;
    font-size: 0.82rem;
    line-height: 1.7;
}

.device-control-stage-note {
    position: absolute;
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
    padding: 0.75rem 0.9rem;
    border-radius: 14px;
    background: rgba(9, 16, 29, 0.52);
    color: rgba(246, 250, 255, 0.86);
}

.device-control-render-meta {
    padding: 0.75rem 0.9rem;
    border-radius: 14px;
    background: rgba(61, 125, 255, 0.06);
}

.device-control-side-scroll,
.device-control-actions-panel {
    padding: 0.9rem;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(18, 35, 61, 0.08);
}

.device-control-summary {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.7rem;
}

.device-control-stat {
    padding: 0.75rem 0.8rem;
    border-radius: 14px;
    background: rgba(18, 35, 61, 0.05);
}

.device-control-stat-label {
    margin-bottom: 0.28rem;
    color: #6780a4;
    font-size: 0.76rem;
    font-weight: 700;
}

.device-control-stat-value {
    color: var(--text-dark);
    font-size: 0.92rem;
    font-weight: 800;
}

.device-control-actions-title {
    margin-bottom: 0.6rem;
    color: var(--text-dark);
    font-size: 0.9rem;
    font-weight: 800;
}

.device-control-toolbar-side {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
}

.feed-mosaic-chart,
.penetration-table,
.circle-heat-chart,
.brand-index-card,
.issue-penetration-board,
.perception-dashboard,
.exposure-table-card,
.comment-suite,
.insight-chain-card {
    display: grid;
    gap: 0.9rem;
}

.feed-mosaic-head,
.penetration-table-head,
.circle-heat-head,
.brand-index-head,
.issue-penetration-head,
.exposure-table-head,
.comment-suite-head,
.insight-chain-head,
.cooccurrence-network-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    flex-wrap: wrap;
}

.feed-mosaic-head strong,
.penetration-table-head strong,
.circle-heat-head strong,
.brand-index-head strong,
.issue-penetration-head strong,
.exposure-table-head strong,
.comment-suite-head strong,
.insight-chain-head strong,
.cooccurrence-network-head strong {
    color: var(--text-dark);
    font-size: 1.05rem;
}

.feed-mosaic-head span,
.penetration-table-head span,
.circle-heat-head span,
.brand-index-head span,
.issue-penetration-head span,
.exposure-table-head span,
.comment-suite-head span,
.insight-chain-head span,
.cooccurrence-network-head span {
    color: #6b83a5;
    font-size: 0.82rem;
}

.feed-mosaic-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.8rem;
}

.perception-platform-strip,
.perception-compare-grid {
    display: grid;
}

.perception-platform-strip {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.68rem;
}

.perception-platform-pill,
.perception-compare-card {
    display: grid;
    gap: 0.28rem;
    padding: 0.88rem 0.92rem;
    border-radius: 18px;
    border: 1px solid rgba(18, 35, 61, 0.08);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(246, 249, 255, 0.98));
}

.perception-platform-pill {
    background:
        radial-gradient(circle at top right, rgba(61, 125, 255, 0.12), transparent 34%),
        linear-gradient(180deg, rgba(244, 248, 255, 0.98), rgba(247, 250, 255, 0.98));
}

.perception-platform-pill b,
.perception-compare-head strong {
    color: var(--text-dark);
    font-size: 0.86rem;
    line-height: 1.4;
}

.perception-platform-pill span,
.perception-compare-head span {
    color: #6882a8;
    font-size: 0.76rem;
    line-height: 1.55;
}

.perception-compare-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.72rem;
}

.perception-compare-card.wide {
    grid-column: 1 / -1;
}

.perception-compare-head {
    display: flex;
    justify-content: space-between;
    gap: 0.75rem;
    align-items: baseline;
    flex-wrap: wrap;
}

.perception-compare-bars {
    display: grid;
    gap: 0.52rem;
}

.perception-compare-bars span {
    position: relative;
    display: grid;
    grid-template-columns: minmax(74px, 0.76fr) minmax(0, 1fr);
    align-items: center;
    gap: 0.7rem;
    color: #4e6b95;
    font-size: 0.79rem;
    font-weight: 700;
}

.perception-compare-bars span::before,
.perception-compare-bars span::after {
    content: "";
    grid-column: 2;
    grid-row: 1;
    height: 0.54rem;
    border-radius: 999px;
}

.perception-compare-bars span::before {
    width: 100%;
    background: rgba(18, 35, 61, 0.08);
}

.perception-compare-bars span::after {
    width: var(--fill);
    background: var(--tone);
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.2);
}

.feed-mosaic-card {
    display: grid;
    gap: 0.45rem;
    padding: 1rem;
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(255, 248, 248, 0.98), rgba(247, 250, 255, 0.98));
    border: 1px solid rgba(18, 35, 61, 0.08);
}

.feed-mosaic-card.tone-blue {
    background: linear-gradient(180deg, rgba(242, 248, 255, 0.98), rgba(247, 250, 255, 0.98));
}

.feed-mosaic-card.tone-cyan {
    background: linear-gradient(180deg, rgba(241, 250, 255, 0.98), rgba(247, 250, 255, 0.98));
}

.feed-mosaic-card.tone-amber {
    background: linear-gradient(180deg, rgba(255, 251, 241, 0.98), rgba(247, 250, 255, 0.98));
}

.feed-mosaic-card span {
    color: #7189aa;
    font-size: 0.76rem;
    font-weight: 800;
}

.feed-mosaic-card strong {
    color: var(--text-dark);
    font-size: 0.95rem;
}

.feed-mosaic-card p {
    color: #5b7598;
    font-size: 0.82rem;
    line-height: 1.75;
}

.penetration-table-grid {
    display: grid;
    grid-template-columns: 1fr 1.3fr auto;
    gap: 0.6rem;
    align-items: center;
}

.penetration-table-grid span,
.circle-heat-row span {
    color: var(--text-dark);
    font-size: 0.82rem;
    font-weight: 700;
}

.penetration-table-grid i,
.circle-heat-track {
    position: relative;
    height: 0.7rem;
    border-radius: 999px;
    background: rgba(18, 35, 61, 0.08);
    overflow: hidden;
}

.penetration-table-grid i::before,
.circle-heat-track i {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: var(--fill);
    border-radius: inherit;
}

.penetration-table.positive i::before,
.circle-heat-track i {
    background: linear-gradient(90deg, rgba(60, 185, 115, 0.85), rgba(61, 125, 255, 0.82));
}

.penetration-table.negative i::before {
    background: linear-gradient(90deg, rgba(232, 77, 84, 0.88), rgba(239, 177, 61, 0.8));
}

.penetration-table-grid b {
    color: #607ca5;
    font-size: 0.76rem;
}

.circle-heat-row {
    display: grid;
    grid-template-columns: 0.95fr 1.35fr;
    gap: 0.7rem;
    align-items: center;
}

.figure-frame-dark {
    background:
        radial-gradient(circle at top, rgba(255, 255, 255, 0.06), transparent 20%),
        linear-gradient(180deg, #0e1830, #14233f);
    border-color: rgba(255, 255, 255, 0.08);
}

.cooccurrence-network {
    display: grid;
    gap: 0.95rem;
    min-height: 340px;
}

.analysis-support-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.analysis-combined-card {
    display: grid;
    gap: 0.95rem;
}

.analysis-summary-grid {
    display: grid;
    grid-template-columns: minmax(150px, 0.72fr) minmax(0, 1.28fr);
    gap: 0.8rem;
    align-items: start;
}

.figure-frame-dark .cooccurrence-network-head strong,
.figure-frame-dark .cooccurrence-network-head span {
    color: rgba(244, 248, 255, 0.92);
}

.network-map {
    position: relative;
    min-height: 240px;
    border-radius: 20px;
    background:
        radial-gradient(circle at 50% 50%, rgba(61, 125, 255, 0.18), transparent 34%),
        radial-gradient(circle at 18% 20%, rgba(67, 213, 244, 0.12), transparent 18%),
        rgba(10, 18, 34, 0.56);
    overflow: hidden;
}

.analysis-network-map {
    min-height: 340px;
}

.network-line,
.network-node {
    position: absolute;
}

.network-line {
    height: 2px;
    transform-origin: left center;
    background: linear-gradient(90deg, rgba(67, 213, 244, 0.12), rgba(117, 164, 255, 0.72), rgba(255, 255, 255, 0));
}

.line-1 { top: 50%; left: 45%; width: 90px; transform: rotate(-28deg); }
.line-2 { top: 48%; left: 40%; width: 100px; transform: rotate(26deg); }
.line-3 { top: 46%; left: 38%; width: 140px; transform: rotate(148deg); }
.line-4 { top: 52%; left: 46%; width: 130px; transform: rotate(62deg); }
.line-5 { top: 50%; left: 48%; width: 150px; transform: rotate(6deg); }
.line-6 { top: 47%; left: 43%; width: 108px; transform: rotate(-148deg); }
.line-7 { top: 51%; left: 48%; width: 110px; transform: rotate(-72deg); }

.network-node {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 76px;
    min-height: 2.2rem;
    padding: 0.5rem 0.8rem;
    border-radius: 999px;
    color: #f7fbff;
    font-size: 0.78rem;
    font-weight: 800;
    background: linear-gradient(135deg, rgba(61, 125, 255, 0.86), rgba(67, 213, 244, 0.72));
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.24);
}

.node-core { top: 41%; left: 38%; min-width: 92px; background: linear-gradient(135deg, rgba(232, 77, 84, 0.88), rgba(61, 125, 255, 0.86)); }
.node-a { top: 18%; left: 56%; }
.node-b { top: 66%; left: 57%; }
.node-c { top: 18%; left: 18%; }
.node-d { top: 68%; left: 18%; }
.node-e { top: 42%; left: 72%; }
.node-f { top: 10%; left: 38%; }

.network-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.network-legend span {
    padding: 0.4rem 0.68rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    color: rgba(235, 242, 255, 0.78);
    font-size: 0.73rem;
    font-weight: 700;
}

.brand-index-body {
    display: grid;
    grid-template-columns: 176px minmax(0, 1fr);
    gap: 1.05rem;
    align-items: center;
}

.brand-index-donut {
    position: relative;
    width: min(166px, 100%);
    aspect-ratio: 1;
    margin: 0 auto;
    border-radius: 50%;
    background: conic-gradient(
        rgba(45, 185, 106, 0.9) 0 42%,
        rgba(244, 196, 48, 0.86) 42% 73%,
        rgba(226, 83, 95, 0.9) 73% 90%,
        rgba(61, 125, 255, 0.88) 90% 100%
    );
}

.brand-index-hole {
    position: absolute;
    inset: 22%;
    display: grid;
    place-content: center;
    justify-items: center;
    gap: 0.24rem;
    border-radius: 50%;
    background: #fff;
    text-align: center;
}

.brand-index-value {
    color: var(--text-dark);
    font-size: 2.55rem;
    line-height: 0.92;
    letter-spacing: -0.05em;
}

.brand-index-caption {
    color: #6d85a6;
    max-width: none;
    font-size: 0.72rem;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: 0.04em;
}

.brand-index-legend span {
    padding: 0.55rem 0.75rem;
    border-radius: 14px;
    font-size: 0.78rem;
    font-weight: 800;
}

.legend-positive { color: #0f6b3e; background: rgba(45, 185, 106, 0.14); }
.legend-neutral { color: #8a6a0d; background: rgba(244, 196, 48, 0.18); }
.legend-negative { color: #b22234; background: rgba(226, 83, 95, 0.14); }
.legend-alert { color: #355a8c; background: rgba(61, 125, 255, 0.12); }

.issue-penetration-grid {
    display: grid;
    gap: 0.5rem;
}

.issue-penetration-row {
    display: grid;
    grid-template-columns: 0.95fr repeat(3, minmax(0, 1fr));
    gap: 0.6rem;
    align-items: center;
}

.issue-penetration-row span {
    padding: 0.78rem 0.82rem;
    border-radius: 14px;
    background: rgba(18, 35, 61, 0.05);
    color: var(--text-dark);
    font-size: 0.82rem;
    font-weight: 700;
    text-align: center;
}

.issue-penetration-row.header span {
    background: rgba(61, 125, 255, 0.08);
    color: #4f6d99;
}

.heat-cell.high-positive { background: rgba(45, 185, 106, 0.18); color: #0f6b3e; }
.heat-cell.mid-neutral { background: rgba(244, 196, 48, 0.16); color: #8a6a0d; }
.heat-cell.low-negative,
.heat-cell.high-negative { background: rgba(226, 83, 95, 0.14); color: #b22234; }
.heat-cell.high-negative { box-shadow: inset 0 0 0 1px rgba(226, 83, 95, 0.24); }
.heat-cell.low-positive { background: rgba(45, 185, 106, 0.1); color: #1d7c4f; }
.heat-cell.mid-alert { background: rgba(61, 125, 255, 0.12); color: #355a8c; }

.comment-suite-panel {
    display: grid;
    gap: 0.78rem;
    padding: 1rem;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(18, 35, 61, 0.08);
}

.comment-tone-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.15rem;
    padding: 0.42rem 0.65rem;
    border-radius: 14px;
    border: 1px solid rgba(18, 35, 61, 0.1);
    background: rgba(255, 255, 255, 0.98);
    color: var(--text-dark);
    font-size: 0.76rem;
    font-weight: 700;
    cursor: pointer;
}

.comment-suite .macro-choice-chip {
    min-height: 2.15rem;
    padding: 0.42rem 0.65rem;
    font-size: 0.76rem;
}

.comment-output-card {
    display: grid;
    gap: 0.48rem;
    padding: 0.8rem;
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(255, 248, 248, 0.98), rgba(247, 250, 255, 0.98));
    border: 1px solid rgba(232, 77, 84, 0.12);
}

.comment-output-badge {
    display: inline-flex;
    width: fit-content;
    padding: 0.32rem 0.6rem;
    border-radius: 999px;
    background: rgba(232, 77, 84, 0.1);
    color: #b33a4b;
    font-size: 0.72rem;
    font-weight: 800;
}

.comment-output-card p {
    color: var(--text-dark);
    font-size: 0.86rem;
    line-height: 1.65;
}

.comment-output-meta span {
    padding: 0.35rem 0.58rem;
    border-radius: 999px;
    background: rgba(18, 35, 61, 0.06);
    color: #5d7a9e;
    font-size: 0.74rem;
    font-weight: 700;
}

.comment-library-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.6rem;
    flex-wrap: wrap;
}

.comment-library-head strong {
    color: var(--text-dark);
    font-size: 0.84rem;
}

.comment-library-head span {
    color: #6b83a5;
    font-size: 0.74rem;
    font-weight: 700;
}

.comment-library {
    display: grid;
    gap: 0.55rem;
}

.comment-library-item {
    padding: 0.72rem 0.8rem;
    border-radius: 14px;
    background: rgba(18, 35, 61, 0.05);
    color: #5d789b;
    font-size: 0.8rem;
    line-height: 1.68;
}

.device-demo-shot.is-active .video-action.heart.active,
.device-demo-shot.is-active .video-action.star.active {
    animation: deviceActionPulse 1.1s ease-in-out infinite alternate;
}

@keyframes deviceActionPulse {
    from {
        transform: scale(1.02);
        filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.1));
    }
    to {
        transform: scale(1.12);
        filter: drop-shadow(0 0 20px rgba(255, 255, 255, 0.28));
    }
}

.analysis-workspace-grid {
    grid-template-columns: minmax(0, 1.25fr) minmax(180px, 0.75fr);
    align-items: stretch;
    gap: 1.15rem;
}

.network-map.compact {
    min-height: 220px;
}

.brand-index-mini,
.analysis-issue-list div,
.insight-chain span {
    padding: 0.8rem 0.9rem;
    border-radius: 16px;
}

.analysis-side-stack {
    display: grid;
    gap: 0.9rem;
}

.brand-index-mini {
    display: grid;
    justify-items: center;
    text-align: center;
    align-content: center;
    min-height: 100%;
    background: rgba(255, 255, 255, 0.08);
    color: rgba(235, 242, 255, 0.82);
}

.brand-index-mini strong {
    display: block;
    margin-top: 0.35rem;
    color: #fff;
    font-size: 1.7rem;
}

.analysis-issue-list {
    display: grid;
    gap: 0.55rem;
}

.analysis-issue-list div {
    display: flex;
    justify-content: space-between;
    gap: 0.8rem;
    background: rgba(255, 255, 255, 0.08);
    color: rgba(235, 242, 255, 0.78);
    font-size: 0.78rem;
    font-weight: 700;
}

.analysis-issue-list b {
    color: #fff;
}

.insight-chain {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.55rem;
}

.insight-chain span {
    background: rgba(61, 125, 255, 0.08);
    color: #355a8c;
    font-size: 0.8rem;
    font-weight: 800;
    text-align: center;
}

.insight-chain-card-dark {
    padding: 0.95rem;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.insight-chain-card-dark .insight-chain-head strong,
.insight-chain-card-dark .insight-chain-head span {
    color: rgba(244, 248, 255, 0.92);
}

.insight-chain-card-dark .insight-chain span {
    background: rgba(255, 255, 255, 0.08);
    color: rgba(244, 248, 255, 0.88);
}

.analysis-chain-note {
    color: rgba(235, 242, 255, 0.74);
    font-size: 0.8rem;
    line-height: 1.7;
}

.footer-meta {
    margin-left: auto;
}

.footer-recordal {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 240px;
    padding: 0.9rem 1.2rem;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-recordal-label {
    color: rgba(233, 240, 255, 0.7);
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.footer-recordal-link {
    color: #fff;
    font-size: 1rem;
    font-weight: 800;
    text-decoration: none;
}

.footer-recordal-link:hover {
    text-decoration: underline;
}

@media (max-width: 980px) {
    .manual-builder-grid,
    .batch-builder-grid,
    .task-runtime-layout,
    .device-control-workbench,
    .brand-index-body,
    .analysis-summary-grid,
    .analysis-workspace-grid {
        grid-template-columns: 1fr;
    }

    .manual-device-grid,
    .manual-form-grid,
    .feed-mosaic-grid,
    .comment-suite-grid,
    .device-control-summary,
    .task-runtime-rail {
        grid-template-columns: 1fr;
    }

    .manual-step-strip,
    .manual-form-grid-three,
    .manual-form-grid-two,
    .comment-config-grid {
        grid-template-columns: 1fr;
    }

    .device-control-stage {
        min-height: 380px;
        height: 380px;
    }

    .footer-meta {
        margin-left: 0;
    }
}

@media (max-width: 720px) {
    .batch-table-row,
    .issue-penetration-row,
    .insight-chain,
    .analysis-support-grid,
    .circle-heat-row,
    .perception-two-up,
    .layout-wide-inset,
    .layout-network-stack {
        grid-template-columns: 1fr;
    }

    .penetration-table-grid {
        grid-template-columns: 1fr;
    }

    .task-schedule-toolbar,
    .device-schedule-item,
    .task-runtime-card-head,
    .task-runtime-progress,
    .device-control-modal-head,
    .comment-output-meta,
    .manual-panel-head {
        flex-direction: column;
        align-items: flex-start;
    }

    .network-map {
        min-height: 280px;
    }

    .analysis-network-map {
        min-height: 300px;
    }

    .device-demo-state-bar {
        bottom: 5.8rem;
    }

    .video-topic-card {
        min-width: 6.3rem;
        padding: 0.58rem 0.62rem;
    }
}

.section-contact {
    padding-bottom: 7rem;
}

.contact-layout {
    align-items: stretch;
    gap: 1.2rem;
}

.contact-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.12fr) minmax(280px, 0.88fr);
}

.contact-intro,
.contact-card {
    padding: 1.7rem;
}

.contact-highlights {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.9rem;
    margin-top: 1.4rem;
}

.highlight-card strong,
.contact-item strong {
    display: block;
    margin-bottom: 0.35rem;
    color: #fff;
    font-size: 1.02rem;
}

.contact-list {
    display: grid;
    gap: 0.8rem;
    margin: 1.4rem 0 1.7rem;
}

.contact-item span {
    display: inline-block;
    margin-bottom: 0.4rem;
    color: var(--text-soft);
    font-size: 0.92rem;
}

.contact-item a {
    color: #fff;
}

.left-aligned {
    text-align: left;
}

.footer {
    padding: 2rem 0 2.4rem;
    background: rgba(4, 11, 22, 0.92);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-content {
    align-items: center;
    justify-content: space-between;
    gap: 1.2rem;
}

.footer-logo {
    width: auto;
    height: 56px;
}

.footer p {
    color: rgba(233, 240, 255, 0.72);
    line-height: 1.8;
    text-align: right;
}

.fade-on-scroll {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity var(--transition-slow), transform var(--transition-slow);
}

.fade-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 1180px) {
    .hero-grid,
    .workbench-grid,
    .contact-layout,
    .what-model-panel,
    .capability-story,
    .capability-story.reverse,
    .story-card,
    .story-card.reverse {
        grid-template-columns: 1fr;
    }

    .capability-story.reverse .capability-copy,
    .capability-story.reverse .capability-media,
    .story-card.reverse .story-copy,
    .story-card.reverse .story-media {
        order: initial;
    }

    .process-strip,
    .what-grid,
    .notes-grid,
    .start-simple-strip,
    .contact-highlights {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

}

@media (max-width: 860px) {
    html {
        font-size: 15px;
    }

    .navbar {
        padding-top: 0.65rem;
    }

    .nav-container {
        border-radius: 22px;
    }

    .nav-toggle {
        display: inline-flex;
    }

    .nav-menu {
        position: absolute;
        top: calc(100% + 0.55rem);
        left: 0;
        right: 0;
        display: none;
        grid-auto-flow: row;
        padding: 0.7rem;
        border-radius: 22px;
        background: rgba(6, 16, 30, 0.94);
        border: 1px solid rgba(255, 255, 255, 0.08);
        box-shadow: var(--shadow-soft);
    }

    .nav-menu.active {
        display: grid;
    }

    .nav-link {
        width: 100%;
        justify-content: center;
    }

    .hero-section {
        padding-top: 8.4rem;
    }

    .hero-badges,
    .hero-actions,
    .hero-metrics,
    .process-strip,
    .what-grid,
    .notes-grid,
    .start-simple-scene,
    .start-simple-strip,
    .contact-highlights,
    .result-stat-strip,
    .layout-phone-pair,
    .layout-audience-story {
        grid-template-columns: 1fr;
    }

    .hero-actions {
        grid-auto-flow: row;
    }

    .start-simple-cable {
        min-height: 110px;
    }

    .start-simple-cable::before {
        left: 50%;
        top: 50%;
        width: 180px;
        height: 10px;
        transform: translate(-50%, -50%);
    }

    .start-simple-cable::after {
        left: 50%;
        top: 50%;
        width: 180px;
        height: 18px;
        transform: translate(-50%, -50%);
    }

    .start-simple-cable-line {
        width: 180px;
        height: 10px;
    }

    .start-simple-cable-line::before {
        left: -18px;
        top: 50%;
        width: 48px;
        height: 7px;
        transform: translateY(-50%);
        animation: startSimpleCablePulse 1.9s linear infinite;
    }

    .start-simple-cable-line::after {
        right: -18px;
        top: 50%;
        width: 48px;
        height: 7px;
        transform: translateY(-50%);
        animation: startSimpleCablePulseReverse 1.9s linear infinite;
    }

    .start-simple-phone {
        justify-self: center;
    }

    .start-simple-phone::before {
        left: 50%;
        top: -6px;
        width: 36px;
        height: 12px;
        border-radius: 6px 6px 0 0;
        transform: translateX(-50%);
    }

    .dashboard-footer,
    .task-page-head,
    .workbench-panel-head,
    .task-ai-composer-footer,
    .footer-content {
        flex-direction: column;
        align-items: flex-start;
    }

    .task-page-head,
    .workbench-panel-head,
    .filter-bar {
        gap: 0.8rem;
    }

    .content-table-head {
        display: none;
    }

    .content-table-row {
        grid-template-columns: 1fr;
    }

    .content-table-cell {
        padding-top: 0.75rem;
        padding-bottom: 0.75rem;
        border-top: 1px dashed rgba(18, 35, 61, 0.08);
    }

    .content-table-row .content-table-cell:first-child {
        border-top: 0;
    }

    .matrix-row {
        grid-template-columns: 1fr;
    }

    .workbench-summary {
        max-width: none;
        text-align: left;
    }

    .layout-wide-inset .story-figure.inset,
    .layout-network-stack .story-figure.inset {
        position: static;
        width: auto;
    }

    .footer-content {
        text-align: center;
    }

    .footer p {
        text-align: left;
    }
}

@media (max-width: 560px) {
    .section {
        padding: 5rem 0;
    }

    .capability-headline {
        grid-template-columns: 1fr;
        gap: 0.78rem;
        padding: 1rem;
    }

    .perception-compare-bars span {
        grid-template-columns: 1fr;
        gap: 0.42rem;
        padding-right: 0;
    }

    .capability-headline .capability-index {
        width: 3.2rem;
        height: 3.2rem;
        font-size: 1.08rem;
    }

    main section[id] {
        scroll-margin-top: 8.5rem;
    }

    .container {
        width: min(100% - 1.1rem, var(--max-width));
    }

    .hero-title {
        font-size: clamp(2.35rem, 11vw, 3.6rem);
    }

    .hero-badges {
        grid-template-columns: 1fr;
    }

    .dashboard-grid,
    .dashboard-timeline,
    .start-simple-scene,
    .layout-circle-story {
        grid-template-columns: 1fr;
        display: grid;
    }

    .start-simple-scene {
        padding-bottom: 0.9rem;
    }

    .start-simple-cable {
        order: 2;
        width: 100%;
        min-height: 76px;
    }

    .start-simple-cable::before {
        left: 50%;
        top: 50%;
        width: 136px;
        height: 8px;
        transform: translate(-50%, -50%);
    }

    .start-simple-cable::after {
        left: 50%;
        top: 50%;
        width: 136px;
        height: 16px;
        transform: translate(-50%, -50%);
    }

    .start-simple-cable-line {
        width: 136px;
        height: 8px;
    }

    .start-simple-cable-line::before {
        left: -14px;
        top: 50%;
        width: 36px;
        height: 6px;
        transform: translateY(-50%);
        animation: startSimpleCablePulse 1.7s linear infinite;
    }

    .start-simple-cable-line::after {
        right: -14px;
        top: 50%;
        width: 36px;
        height: 6px;
        transform: translateY(-50%);
        animation: startSimpleCablePulseReverse 1.7s linear infinite;
    }

    .start-simple-cable-head {
        display: none;
    }

    .start-simple-phone {
        order: 3;
        width: min(100%, 250px);
    }

    .start-simple-phone::before {
        left: 50%;
        top: -5px;
        width: 32px;
        height: 10px;
        border-radius: 6px 6px 0 0;
        transform: translateX(-50%);
    }

    .start-simple-phone-screen {
        height: 392px;
    }

    .dashboard-card,
    .timeline-step {
        min-width: 0;
    }

    .device-card-header {
        align-items: flex-start;
    }

    .device-card-footer,
    .device-actions,
    .task-builder-tabs,
    .filter-bar-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .fake-histogram-chart {
        min-height: 240px;
    }

    .histogram-bars {
        gap: 0.2rem;
    }

    .btn,
    .cta-button {
        width: 100%;
    }

    .layout-circle-story .story-figure.main {
        grid-column: auto;
    }

    .workbench-shell,
    .card,
    .story-card,
    .capability-story,
    .contact-card,
    .contact-intro,
    .note-card,
    .what-card,
    .hero-dashboard-frame {
        padding: 1.2rem;
    }

    .footer p {
        text-align: center;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation: none !important;
        transition-duration: 1ms !important;
        transition-delay: 0s !important;
    }

    .fade-on-scroll {
        opacity: 1;
        transform: none;
    }

    .hero-dashboard-frame,
    .figure-frame {
        transform: none !important;
    }
}
