body.home-page {
    --home-line: rgba(16, 32, 45, 0.14);
    --home-line-strong: rgba(31, 143, 197, 0.24);
    --home-panel: rgba(255, 255, 255, 0.84);
    --home-panel-strong: rgba(255, 255, 255, 0.96);
    --home-ink: #10202d;
    --home-muted: #385e75;
    --home-accent: #1f8fc5;
    --home-warm: #f3bd4d;
    --home-max: 1180px;
    margin: 0;
    overflow-x: hidden;
}

body.home-page main,
body.home-page .home-footer {
    box-sizing: border-box;
    width: min(var(--home-max), calc(100% - 48px));
    margin-left: auto;
    margin-right: auto;
}

.home-header {
    box-sizing: border-box;
    max-width: var(--home-max);
    margin: 0 auto;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
    padding: 22px 24px 10px;
}

body.public-brand .home-brand,
body.public-brand .home-brand:visited {
    display: block;
    min-width: 0;
    max-width: 100%;
    color: var(--home-ink);
    text-decoration: none;
}

body.public-brand .home-brand:hover {
    color: var(--home-ink);
}

.home-brand span {
    display: block;
    font-family: "Space Grotesk", "IBM Plex Sans", sans-serif;
    font-size: clamp(2.2rem, 3.6vw, 3.5rem);
    line-height: 0.95;
    letter-spacing: 0;
}

.home-header-links {
    display: flex;
    flex: 1;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 4px;
    padding-top: 8px;
}

.home-header-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 36px;
    padding: 0 10px;
    border: 1px solid transparent;
    border-radius: 999px;
    background: transparent;
    color: var(--home-muted);
    text-decoration: none;
    letter-spacing: 0;
    font-size: 0.94rem;
    font-weight: 600;
    white-space: nowrap;
    transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.home-header-links .public-products-trigger {
    color: var(--home-muted);
}

body.public-brand .home-header-links a {
    color: var(--home-muted);
}

body.public-brand .home-header-links a:hover,
body.public-brand .home-header-links .public-products-trigger:hover,
body.public-brand .home-header-links .public-products-trigger:focus-visible,
body.public-brand .home-header-links .public-products-nav.is-open .public-products-trigger,
body.public-brand .home-header-links .public-products-nav.is-active .public-products-trigger {
    color: var(--home-ink);
}

.home-header-links a:hover,
.home-header-links .public-products-trigger:hover,
.home-header-links .public-products-trigger:focus-visible,
.home-header-links .public-products-nav.is-open .public-products-trigger,
.home-header-links .public-products-nav.is-active .public-products-trigger {
    border-color: rgba(31, 143, 197, 0.16);
    background: rgba(255, 255, 255, 0.56);
    color: var(--home-ink);
}

.home-header-links a.is-cta {
    margin-left: 4px;
    padding: 0 14px;
    color: var(--home-ink);
    border-color: rgba(31, 143, 197, 0.24);
    background: rgba(255, 255, 255, 0.68);
}

body.public-brand .home-header-links a.is-cta,
body.public-brand .home-header-links a.is-cta:hover {
    color: var(--home-ink);
}

.home-header-links a.is-cta:hover {
    border-color: rgba(31, 143, 197, 0.34);
    background: rgba(255, 255, 255, 0.9);
}

.home-theme-toggle {
    margin-top: 4px;
}

.home-hero {
    display: grid;
    grid-template-columns: minmax(0, 0.94fr) minmax(390px, 0.68fr);
    gap: clamp(30px, 5vw, 70px);
    align-items: center;
    padding: clamp(34px, 5vw, 70px) 0 clamp(46px, 6vw, 82px);
    border-bottom: 1px solid var(--home-line);
}

.home-eyebrow,
.home-kicker,
.home-card-eyebrow {
    margin: 0 0 14px;
    color: var(--home-accent);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 0.76rem;
    font-weight: 700;
}

.home-hero h1 {
    max-width: 820px;
    margin: 0;
    color: var(--home-ink);
    font-family: "Space Grotesk", "IBM Plex Sans", sans-serif;
    font-size: clamp(2.65rem, 6vw, 4.75rem);
    font-weight: 700;
    line-height: 0.94;
    letter-spacing: -0.06em;
}

.home-hero-copy {
    min-width: 0;
}

.home-lead {
    max-width: 56rem;
    margin: 24px 0 0;
    color: var(--home-muted);
    font-size: clamp(1.08rem, 1.6vw, 1.25rem);
    line-height: 1.68;
}

.home-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 30px;
}

.home-primary-cta,
.home-secondary-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    border-radius: 10px;
    text-decoration: none;
}

.home-secondary-cta {
    color: var(--home-ink);
    font-weight: 700;
}

.home-signal-panel {
    position: relative;
    display: block;
    min-width: 0;
    padding: 14px;
    border: 1px solid var(--home-line-strong);
    border-radius: 18px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(236, 248, 253, 0.9)),
        repeating-linear-gradient(0deg, rgba(31, 143, 197, 0.1) 0, rgba(31, 143, 197, 0.1) 1px, transparent 1px, transparent 30px);
    box-shadow: 0 24px 60px rgba(84, 147, 178, 0.18);
}

.home-signal-panel::before {
    content: "";
    position: absolute;
    inset: -18px -14px auto auto;
    width: 94px;
    height: 5px;
    border-radius: 999px;
    background: var(--home-warm);
    box-shadow: 18px 14px 0 rgba(31, 143, 197, 0.16);
}

.home-signal-panel::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(120deg, transparent 16%, rgba(255, 255, 255, 0.42) 46%, transparent 60%);
    opacity: 0.52;
    transform: translateX(-86%);
    animation: home-panel-sheen 7.4s ease-in-out infinite;
}

.home-demo-split {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
    gap: 12px;
}

.home-demo-list,
.home-demo-detail {
    min-width: 0;
    overflow: hidden;
    border: 1px solid rgba(98, 164, 194, 0.24);
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(245, 251, 255, 0.88));
    box-shadow: 0 18px 42px rgba(121, 176, 204, 0.12);
}

.home-demo-list-title,
.home-demo-row {
    padding: 12px 14px;
    border-bottom: 1px solid rgba(98, 164, 194, 0.2);
}

.home-demo-list-title {
    color: var(--home-ink);
    font-size: 0.88rem;
    font-weight: 800;
}

.home-demo-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 10px;
    min-height: 58px;
}

.home-demo-row:last-child {
    border-bottom: 0;
}

.home-demo-row.is-selected {
    background: rgba(244, 235, 223, 0.72);
}

.home-demo-row:nth-child(3) {
    animation: home-row-glow 4.8s ease-in-out infinite;
}

.home-demo-row strong,
.home-demo-detail-head strong,
.home-demo-grid strong {
    display: block;
    min-width: 0;
    overflow-wrap: anywhere;
    color: #10202d;
    line-height: 1.2;
}

.home-demo-row strong {
    overflow: hidden;
    font-size: 0.84rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.home-demo-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 30px;
    padding: 0 10px;
    border-radius: 999px;
    background: rgba(96, 207, 144, 0.18);
    color: #137447;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    box-shadow: 0 0 0 4px rgba(96, 207, 144, 0.08);
}

.home-demo-pill.is-watch {
    background: rgba(31, 143, 197, 0.14);
    color: #126d94;
    box-shadow: 0 0 0 4px rgba(31, 143, 197, 0.07);
}

.home-demo-pill i {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: currentColor;
    box-shadow: 0 0 0 0 currentColor;
    animation: home-status-pulse 2.8s ease-out infinite;
}

.home-demo-detail {
    padding: 14px;
}

.home-demo-detail-head {
    display: grid;
    justify-items: start;
    gap: 9px;
    margin-bottom: 14px;
}

.home-demo-detail-head span:not(.home-demo-pill) {
    display: block;
    margin-top: 3px;
    color: #607f92;
    font-size: 0.76rem;
    line-height: 1.35;
}

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

.home-demo-grid div {
    min-width: 0;
    padding: 11px;
    border: 1px solid rgba(98, 164, 194, 0.24);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.78);
}

.home-demo-grid div:nth-child(2),
.home-demo-grid div:nth-child(4) {
    animation: home-metric-float 5.2s ease-in-out infinite;
}

.home-demo-grid div:nth-child(4) {
    animation-delay: 0.7s;
}

.home-demo-grid span {
    display: block;
    color: #446e84;
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.home-demo-grid strong {
    margin-top: 7px;
    font-size: 0.9rem;
}

.home-demo-grid em {
    display: block;
    margin-top: 4px;
    color: #607f92;
    font-size: 0.7rem;
    font-style: normal;
    line-height: 1.35;
}

.home-panel-header,
.home-signal-grid div {
    border: 1px solid rgba(16, 32, 45, 0.1);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.82);
    padding: 16px;
}

.home-panel-header span,
.home-signal-grid span,
.home-proof-strip span,
.home-resource-grid span {
    display: block;
    margin-bottom: 6px;
    color: var(--home-accent);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.home-panel-header strong,
.home-signal-grid strong {
    display: block;
    color: var(--home-ink);
    font-size: 1rem;
    line-height: 1.35;
}

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

.home-section {
    padding: clamp(44px, 6vw, 76px) 0;
    border-bottom: 1px solid var(--home-line);
}

.home-section-heading {
    display: grid;
    gap: 12px;
    margin-bottom: 24px;
}

.home-section h2,
.home-final-cta h2 {
    max-width: 700px;
    margin: 0;
    color: var(--home-ink);
    font-family: "Space Grotesk", "IBM Plex Sans", sans-serif;
    font-size: clamp(2rem, 3.2vw, 3.25rem);
    font-weight: 700;
    line-height: 1.02;
    letter-spacing: -0.045em;
}

.home-proof-strip,
.home-product-grid,
.home-use-grid,
.home-resource-grid {
    display: grid;
    gap: 16px;
}

.home-proof-strip {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.home-proof-strip article,
.home-product-card,
.home-use-grid article,
.home-resource-grid a,
.home-faq details,
.home-final-cta {
    border: 1px solid var(--home-line);
    border-radius: 18px;
    background: var(--home-panel);
    box-shadow: 0 18px 42px rgba(84, 147, 178, 0.12);
}

.home-product-card,
.home-use-grid article,
.home-resource-grid a,
.home-faq details {
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.home-product-card:hover,
.home-use-grid article:hover,
.home-resource-grid a:hover,
.home-faq details:hover {
    transform: translateY(-4px);
    border-color: var(--home-line-strong);
    box-shadow: 0 22px 52px rgba(84, 147, 178, 0.18);
}

.home-proof-strip article {
    padding: 22px;
}

.home-proof-strip strong {
    display: block;
    color: var(--home-ink);
    font-size: 1.1rem;
}

.home-proof-strip p,
.home-product-card p,
.home-product-card li,
.home-use-grid p,
.home-positioning-copy p,
.home-faq p,
.home-final-cta p {
    color: var(--home-muted);
    line-height: 1.65;
}

.home-product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.home-product-card {
    display: flex;
    flex-direction: column;
    min-height: 100%;
    padding: 24px;
}

.home-product-card h3,
.home-use-grid h3 {
    margin: 0;
    color: var(--home-ink);
    font-family: "Space Grotesk", "IBM Plex Sans", sans-serif;
    font-size: clamp(1.35rem, 1.8vw, 1.65rem);
    font-weight: 700;
    line-height: 1.08;
    letter-spacing: -0.025em;
}

.home-product-card ul {
    margin: 6px 0 22px;
    padding-left: 20px;
}

.home-product-card a {
    margin-top: auto;
    font-weight: 700;
}

.home-positioning {
    display: grid;
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1fr);
    gap: clamp(28px, 5vw, 70px);
    align-items: start;
}

.home-positioning-copy {
    padding-top: 8px;
}

.home-use-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.home-use-grid article {
    padding: 22px;
}

.home-resources {
    display: grid;
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr);
    gap: clamp(28px, 5vw, 60px);
    align-items: start;
}

.home-resource-grid a {
    display: block;
    padding: 22px;
    color: var(--home-ink);
    text-decoration: none;
}

.home-resource-grid strong {
    display: block;
    color: var(--home-ink);
    line-height: 1.45;
}

.home-faq details {
    padding: 0 22px;
    margin-bottom: 12px;
}

.home-faq summary {
    cursor: pointer;
    padding: 20px 0;
    color: var(--home-ink);
    font-weight: 700;
}

.home-faq p {
    margin: 0;
    padding: 0 0 20px;
}

.home-final-cta {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 24px;
    align-items: center;
    margin: clamp(44px, 6vw, 76px) 0 72px;
    padding: clamp(26px, 4vw, 42px);
    background:
        radial-gradient(circle at 12% 12%, rgba(74, 216, 247, 0.22), transparent 34%),
        linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(236, 248, 253, 0.88));
}

.home-footer {
    padding-bottom: 28px;
}

html[data-theme="dark"] body.home-page {
    --home-line: rgba(185, 156, 255, 0.18);
    --home-line-strong: rgba(185, 156, 255, 0.24);
    --home-panel: rgba(31, 26, 40, 0.82);
    --home-panel-strong: rgba(31, 26, 40, 0.96);
    --home-ink: #f6f1ff;
    --home-muted: #b9adc8;
    --home-accent: #d8c7ff;
}

html[data-theme="dark"] .home-brand,
html[data-theme="dark"] .home-brand:hover,
html[data-theme="dark"] .home-header-links a:hover,
html[data-theme="dark"] .home-header-links .public-products-trigger:hover,
html[data-theme="dark"] .home-header-links .public-products-trigger:focus-visible,
html[data-theme="dark"] .home-header-links .public-products-nav.is-open .public-products-trigger,
html[data-theme="dark"] .home-header-links .public-products-nav.is-active .public-products-trigger,
html[data-theme="dark"] .home-header-links a.is-cta,
html[data-theme="dark"] body.public-brand .home-header-links a.is-cta,
html[data-theme="dark"] body.public-brand .home-header-links a.is-cta:hover,
html[data-theme="dark"] .home-secondary-cta,
html[data-theme="dark"] .home-product-card h3,
html[data-theme="dark"] .home-use-grid h3,
html[data-theme="dark"] .home-section h2,
html[data-theme="dark"] .home-final-cta h2,
html[data-theme="dark"] .home-panel-header strong,
html[data-theme="dark"] .home-signal-grid strong,
html[data-theme="dark"] .home-proof-strip strong,
html[data-theme="dark"] .home-resource-grid strong,
html[data-theme="dark"] .home-resource-grid a,
html[data-theme="dark"] .home-faq summary {
    color: var(--home-ink);
}

html[data-theme="dark"] body.public-brand .home-header-links a {
    color: var(--home-muted);
}

html[data-theme="dark"] body.public-brand .home-header-links a:hover,
html[data-theme="dark"] body.public-brand .home-header-links .public-products-trigger:hover,
html[data-theme="dark"] body.public-brand .home-header-links .public-products-trigger:focus-visible,
html[data-theme="dark"] body.public-brand .home-header-links .public-products-nav.is-open .public-products-trigger,
html[data-theme="dark"] body.public-brand .home-header-links .public-products-nav.is-active .public-products-trigger {
    color: var(--home-ink);
}

html[data-theme="dark"] .home-header-links a:hover,
html[data-theme="dark"] .home-header-links .public-products-trigger:hover,
html[data-theme="dark"] .home-header-links .public-products-trigger:focus-visible,
html[data-theme="dark"] .home-header-links .public-products-nav.is-open .public-products-trigger,
html[data-theme="dark"] .home-header-links .public-products-nav.is-active .public-products-trigger {
    border-color: rgba(185, 156, 255, 0.16);
    background: rgba(31, 26, 40, 0.5);
}

html[data-theme="dark"] .home-header-links a.is-cta {
    border-color: rgba(185, 156, 255, 0.26);
    background: rgba(31, 26, 40, 0.62);
}

html[data-theme="dark"] .home-header-links a.is-cta:hover {
    border-color: rgba(185, 156, 255, 0.36);
    background: rgba(31, 26, 40, 0.86);
}

html[data-theme="dark"] body.home-page .home-secondary-cta,
html[data-theme="dark"] body.home-page .home-secondary-cta:hover,
html[data-theme="dark"] body.home-page .home-secondary-cta:focus-visible {
    color: #ffffff;
}

html[data-theme="dark"] .home-signal-panel {
    background:
        radial-gradient(circle at 88% 6%, rgba(185, 156, 255, 0.1), transparent 28%),
        linear-gradient(180deg, rgba(31, 26, 40, 0.94), rgba(21, 17, 30, 0.94));
    box-shadow: 0 24px 64px rgba(6, 5, 4, 0.42);
}

html[data-theme="dark"] .home-signal-panel::after {
    background: linear-gradient(120deg, transparent 16%, rgba(185, 156, 255, 0.15) 46%, transparent 60%);
}

html[data-theme="dark"] .home-demo-list,
html[data-theme="dark"] .home-demo-detail {
    border-color: rgba(185, 156, 255, 0.18);
    background: linear-gradient(180deg, rgba(31, 26, 40, 0.92), rgba(17, 14, 25, 0.84));
    box-shadow: 0 22px 56px rgba(6, 5, 4, 0.32);
}

html[data-theme="dark"] .home-demo-list-title,
html[data-theme="dark"] .home-demo-row,
html[data-theme="dark"] .home-demo-grid div {
    border-color: rgba(185, 156, 255, 0.14);
}

html[data-theme="dark"] .home-demo-row.is-selected {
    background: rgba(185, 156, 255, 0.13);
}

html[data-theme="dark"] .home-demo-row strong,
html[data-theme="dark"] .home-demo-detail-head strong,
html[data-theme="dark"] .home-demo-grid strong,
html[data-theme="dark"] .home-demo-list-title {
    color: #f6f1ff;
}

html[data-theme="dark"] .home-demo-detail-head span:not(.home-demo-pill),
html[data-theme="dark"] .home-demo-grid span,
html[data-theme="dark"] .home-demo-grid em {
    color: #b9adc8;
}

html[data-theme="dark"] .home-demo-grid div {
    background: rgba(17, 14, 25, 0.48);
}

html[data-theme="dark"] .home-panel-header,
html[data-theme="dark"] .home-signal-grid div,
html[data-theme="dark"] .home-final-cta {
    background: rgba(31, 26, 40, 0.88);
}

html[data-theme="dark"] .home-proof-strip article,
html[data-theme="dark"] .home-product-card,
html[data-theme="dark"] .home-use-grid article,
html[data-theme="dark"] .home-resource-grid a,
html[data-theme="dark"] .home-faq details {
    background: var(--home-panel);
    box-shadow: 0 18px 46px rgba(6, 5, 4, 0.34);
}

@media (prefers-reduced-motion: no-preference) {
    .home-brand,
    .home-header-links a,
    .home-theme-toggle,
    .home-hero-copy,
    .home-signal-panel,
    .home-proof-strip article,
    .home-section-heading,
    .home-product-card,
    .home-positioning > *,
    .home-use-grid article,
    .home-resources > *,
    .home-faq details,
    .home-final-cta {
        animation: home-reveal-up 0.72s cubic-bezier(0.2, 0.72, 0.2, 1) backwards;
    }

    .home-header-links a:nth-child(1) { animation-delay: 0.04s; }
    .home-header-links a:nth-child(2) { animation-delay: 0.08s; }
    .home-header-links a:nth-child(3) { animation-delay: 0.12s; }
    .home-header-links a:nth-child(4) { animation-delay: 0.16s; }
    .home-header-links a:nth-child(5) { animation-delay: 0.2s; }
    .home-header-links a:nth-child(6) { animation-delay: 0.24s; }
    .home-theme-toggle { animation-delay: 0.28s; }
    .home-hero-copy { animation-delay: 0.1s; }
    .home-signal-panel { animation-delay: 0.22s; }
    .home-proof-strip article:nth-child(1) { animation-delay: 0.08s; }
    .home-proof-strip article:nth-child(2) { animation-delay: 0.14s; }
    .home-proof-strip article:nth-child(3) { animation-delay: 0.2s; }
    .home-proof-strip article:nth-child(4) { animation-delay: 0.26s; }
    .home-product-card:nth-child(1),
    .home-use-grid article:nth-child(1) { animation-delay: 0.08s; }
    .home-product-card:nth-child(2),
    .home-use-grid article:nth-child(2) { animation-delay: 0.14s; }
    .home-product-card:nth-child(3),
    .home-use-grid article:nth-child(3) { animation-delay: 0.2s; }
    .home-use-grid article:nth-child(4) { animation-delay: 0.26s; }
    .home-use-grid article:nth-child(5) { animation-delay: 0.32s; }
}

@keyframes home-reveal-up {
    from {
        opacity: 0;
        transform: translateY(18px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes home-panel-sheen {
    0%, 48% { transform: translateX(-86%); }
    70%, 100% { transform: translateX(86%); }
}

@keyframes home-status-pulse {
    0% { box-shadow: 0 0 0 0 rgba(96, 207, 144, 0.4); }
    72%, 100% { box-shadow: 0 0 0 10px rgba(96, 207, 144, 0); }
}

@keyframes home-row-glow {
    0%, 100% { background: rgba(255, 255, 255, 0); }
    50% { background: rgba(31, 143, 197, 0.08); }
}

@keyframes home-metric-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-4px); }
}

@media (prefers-reduced-motion: reduce) {
    .home-signal-panel::after,
    .home-demo-row:nth-child(3),
    .home-demo-pill i,
    .home-demo-grid div:nth-child(2),
    .home-demo-grid div:nth-child(4) {
        animation: none;
    }

    .home-product-card,
    .home-use-grid article,
    .home-resource-grid a,
    .home-faq details {
        transition: none;
    }

    .home-product-card:hover,
    .home-use-grid article:hover,
    .home-resource-grid a:hover,
    .home-faq details:hover {
        transform: none;
    }
}

@media (max-width: 960px) {
    body.home-page main,
    body.home-page .home-footer {
        width: min(100% - 32px, var(--home-max));
    }

    .home-hero,
    .home-positioning,
    .home-resources,
    .home-final-cta {
        grid-template-columns: 1fr;
    }

    .home-proof-strip,
    .home-product-grid,
    .home-use-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .home-demo-split {
        grid-template-columns: minmax(0, 0.96fr) minmax(0, 1.04fr);
    }
}

@media (max-width: 640px) {
    .home-proof-strip,
    .home-product-grid,
    .home-use-grid,
    .home-signal-grid,
    .home-demo-split,
    .home-demo-grid {
        grid-template-columns: 1fr;
    }

    .home-header {
        position: relative;
        flex-wrap: wrap;
        align-items: center;
        gap: 18px;
    }

    .home-brand {
        flex: 1;
        min-width: 0;
    }

    .home-brand span {
        font-size: 24px;
    }

    body.public-brand .home-menu-btn {
        display: block;
        margin-top: 0;
    }

    .home-theme-toggle {
        margin-top: 0;
    }

    .home-header-links {
        display: none;
        position: absolute;
        top: calc(100% + 8px);
        right: 20px;
        z-index: 20;
        width: min(320px, calc(100vw - 40px));
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
        gap: 8px;
        padding: 10px;
        border: 1px solid rgba(16, 32, 45, 0.14);
        border-radius: 12px;
        background: rgba(255, 255, 255, 0.96);
        box-shadow: 0 18px 42px rgba(83, 147, 178, 0.18);
    }

    .home-header-links.is-open {
        display: flex;
    }

    .home-header-links a {
        width: 100%;
        justify-content: flex-start;
    }

    .home-header-links .public-products-nav {
        display: block;
        width: 100%;
    }

    .home-header-links .public-products-trigger {
        width: 100%;
        justify-content: space-between;
    }

    .home-header-links .public-products-menu {
        position: static;
        display: none;
        width: 100%;
        margin-top: 8px;
        box-shadow: none;
        opacity: 1;
        pointer-events: auto;
        transform: none;
        visibility: visible;
    }

    .home-header-links .public-products-nav.is-open .public-products-menu {
        display: grid;
    }

    .home-header-links a.is-cta {
        margin-left: 0;
    }

    .home-hero h1 {
        font-size: clamp(2.65rem, 12vw, 3.5rem);
    }

    .home-actions,
    .home-primary-cta,
    .home-secondary-cta,
    .home-final-cta .home-primary-cta {
        width: 100%;
    }

    .home-signal-panel,
    .home-product-card,
    .home-proof-strip article,
    .home-use-grid article,
    .home-resource-grid a,
    .home-final-cta {
        border-radius: 14px;
    }
}
