:where(.home-gameplay-gallery,.home-compatibility,.home-workflow,.home-prompt-demos,.home-tools,.home-game-demos,.home-tracking,.home-compatibility-showcase,.home-stories,.home-footer) {
    font-family: Inter, system-ui, sans-serif;
    color: #111315;
    text-align: left;
}
:where(.home-gameplay-gallery,.home-compatibility,.home-workflow,.home-prompt-demos,.home-tools,.home-game-demos,.home-tracking,.home-compatibility-showcase,.home-stories,.home-footer) :where(h2,h3,p,ul) { margin: 0; }

.mobile-nav-toggle .nav-close-mark,
.mobile-nav-toggle[aria-expanded="true"] .nav-open-mark { display: none; }
.mobile-nav-toggle[aria-expanded="true"] .nav-close-mark { display: initial; }
@media (max-width: 1023px) {
    .mobile-nav-panel .mobile-language-picker { padding-bottom: 14px; }
}

.home-gameplay-gallery {
    --feature-bg: #fff;
    padding: clamp(38px, 6vw, 82px) 0 clamp(52px, 7vw, 88px);
    background: var(--feature-bg);
}
.home-gallery-heading, .home-gallery-inner {
    width: min(calc(100% - 28px), 1040px);
    margin-inline: auto;
}
.home-gallery-heading h2 {
    color: #111315;
    font-size: clamp(32px, 5.5vw, 58px);
    font-weight: 570;
    line-height: 1.04;
    letter-spacing: -.052em;
    text-wrap: balance;
}
.home-gallery-heading p {
    max-width: 52ch;
    margin-top: 12px;
    color: #535b65;
    font-size: clamp(15px, 1.8vw, 20px);
    line-height: 1.5;
    text-wrap: pretty;
}
.home-compatibility {
    --logo-gap: clamp(20px, 3.2vw, 48px);
    padding: 0 14px;
    margin-bottom: clamp(28px, 4vw, 52px);
}
.home-gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(16px, 3vw, 28px) clamp(10px, 2.4vw, 24px);
}
.home-gallery-tile { min-width: 0; margin: 0; }
.home-gallery-media {
    position: relative;
    aspect-ratio: 4 / 5;
    isolation: isolate;
    overflow: hidden;
    border-radius: 6px;
    background: #eceff1;
}
.home-gallery-video {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.home-gallery-tile figcaption {
    margin-top: 8px;
    color: #252c35;
    font-size: clamp(12px, 1.35vw, 16px);
    font-weight: 630;
    line-height: 1.35;
}
.home-logo-window {
    position: relative;
    max-width: 1040px;
    margin: clamp(20px, 3.6vw, 42px) auto 0;
}
.home-logo-window::before, .home-logo-window::after {
    position: absolute;
    z-index: 1;
    inset-block: 0;
    width: clamp(14px, 4vw, 70px);
    pointer-events: none;
    content: '';
}
.home-logo-window::before { left: 0; background: linear-gradient(90deg, var(--feature-bg), transparent); }
.home-logo-window::after { right: 0; background: linear-gradient(-90deg, var(--feature-bg), transparent); }
.home-logo-viewport {
    overflow: auto hidden;
    overscroll-behavior-inline: contain;
    scrollbar-width: none;
    cursor: grab;
}
.home-logo-viewport.is-dragging { cursor: grabbing; user-select: none; }
.home-logo-viewport:focus-visible { outline: 2px solid #303d51; outline-offset: -3px; }
.home-logo-track, .home-logo-group { display: flex; width: max-content; }
.home-logo-group {
    flex: none;
    align-items: center;
    gap: var(--logo-gap);
    padding-inline: var(--logo-gap) 0;
}
.home-logo-window:not(:has(.home-logo-copy)) .home-logo-group { padding-inline-end: var(--logo-gap); }
.home-game-logo {
    display: block;
    flex: none;
    width: clamp(74px, 9vw, 118px);
    height: clamp(32px, 4vw, 44px);
    object-fit: contain;
    pointer-events: none;
}
.home-workflow {
    padding: clamp(48px, 5.5vw, 82px) 0 clamp(56px, 7vw, 100px);
    background: #fff;
}
.home-workflow-heading, .home-workflow-grid {
    width: min(calc(100% - 32px), 1360px);
    margin-inline: auto;
}
.home-workflow-heading {
    max-width: 850px;
    margin-bottom: clamp(20px, 2.8vw, 34px);
    text-align: center;
}
.home-workflow-heading > p {
    color: #61656c;
    font-size: 12px;
    font-weight: 550;
    line-height: 1.4;
}
.home-workflow-heading h2 {
    margin-top: 13px;
    color: #111315;
    font-size: clamp(29px, 5.7vw, 53px);
    font-weight: 520;
    letter-spacing: -.055em;
    line-height: 1.08;
    text-wrap: balance;
}
.home-workflow-heading h2 span { color: #73767c; }
.home-workflow-tabs {
    display: flex;
    width: fit-content;
    margin: 0 auto clamp(22px, 3vw, 36px);
    gap: 3px;
    padding: 4px;
    border: 1px solid #e1e4e2;
    border-radius: 9px;
    background: #f4f5f4;
}
.home-workflow-tabs button {
    min-width: 94px;
    min-height: 44px;
    padding: 0 14px;
    border: 0;
    border-radius: 6px;
    background: transparent;
    color: #505955;
    font: inherit;
    font-size: 14px;
    font-weight: 630;
    cursor: pointer;
}
.home-workflow-tabs button:hover { color: #101613; background: #e8ebe9; }
.home-workflow-tabs button[aria-selected="true"] { color: #fff; background: #141b17; }
.home-workflow-tabs button:focus-visible,
.home-workflow-panel:focus-visible { outline: 2px solid #2465d8; outline-offset: 3px; }
.home-workflow-panel[hidden] { display: none; }
.home-workflow-grid {
    display: grid;
    gap: clamp(36px, 8vw, 52px);
}
.home-workflow figure { min-width: 0; margin: 0; }
.home-workflow-video {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    pointer-events: none;
    background: #111315;
}
.home-workflow-fit { object-fit: contain; background: #111; }
#gameplay-workflow-mobile .home-workflow-grid { max-width: 1000px; }
#gameplay-workflow-mobile .home-workflow-grid > figure {
    width: min(100%, 288px);
    justify-self: center;
}
.home-workflow-portrait { aspect-ratio: 512 / 1108; object-fit: contain; border-radius: 8px; }
.home-workflow figcaption {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-top: 16px;
    color: #555b64;
    font-size: 14px;
    line-height: 1.55;
}
.home-workflow figcaption strong { color: #111315; font-weight: 650; }
.home-workflow figcaption svg { flex: 0 0 20px; width: 20px; height: 20px; color: #2465d8; }
@media (min-width: 768px) {
    .home-workflow-heading, .home-workflow-grid { width: min(calc(100% - 64px), 1360px); }
    .home-workflow-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 38px 24px; }
    .home-workflow-grid > figure { grid-column: span 2; }
    .home-workflow-extra > figure:first-child { grid-column: 2 / span 2; }
}

.home-workflow-actions {
    display: flex;
    justify-content: center;
    margin: clamp(28px, 5vw, 46px) 16px 0;
}
.home-workflow-toggle {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    gap: 13px;
    padding-inline: 16px;
    border: 1px solid #cfd2d4;
    border-radius: 4px;
    background: #fff;
    color: #111315;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
}
.home-workflow-toggle:hover { background: #f5f6f6; }
.home-workflow-toggle svg {
    width: 16px;
    height: 16px;
    stroke: currentColor;
    stroke-width: 1.6;
    transition: rotate .24s ease;
}
.home-workflow-toggle[aria-expanded="true"] svg { rotate: 180deg; }
.home-workflow-more { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .36s ease; }
.home-workflow-more.is-open { grid-template-rows: 1fr; }
.home-workflow-more-clip { min-height: 0; overflow: hidden; }
.home-workflow-extra { padding-top: clamp(28px, 5vw, 46px); }

.home-prompt-demos {
    border-top: 1px solid #e8e9ed;
    background: #fbfbfc;
    padding-block: clamp(44px, 6.4vw, 84px) clamp(54px, 7vw, 88px);
}
.home-prompt-inner {
    width: min(calc(100% - 32px), 1120px);
    margin-inline: auto;
}
.home-prompt-heading { margin: 0 0 clamp(24px, 4vw, 38px); }
.home-prompt-heading h2 {
    color: #161b2b;
    font-size: clamp(30px, 5vw, 52px);
    font-weight: 590;
    line-height: 1.08;
    letter-spacing: -.052em;
    text-wrap: balance;
}
.home-prompt-heading p {
    max-width: 52ch;
    text-wrap: balance;
    margin-top: 10px;
    color: #505a72;
    font-size: clamp(14px, 1.5vw, 17px);
    line-height: 1.55;
}
.home-prompt-grid { display: grid; gap: clamp(34px, 4vw, 50px); }
.home-prompt-demo {
    --prompt-trim-start: #b8cbed;
    --prompt-trim-end: #d9d2ee;
    --prompt-accent: #506b9f;
    display: grid;
    align-content: start;
    min-width: 0;
    gap: 15px;
}
.home-prompt-demo[data-game="angry-birds"] {
    --prompt-trim-start: #edc3b6;
    --prompt-trim-end: #e5cfe7;
    --prompt-accent: #925b78;
}
.home-prompt-body { display: grid; min-width: 0; gap: 10px; }
.home-prompt-top { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.home-prompt-top h3 {
    color: #171d31;
    font-size: clamp(17px, 2vw, 20px);
    font-weight: 650;
    line-height: 1.25;
}
.home-prompt-label { color: #59616d; font-size: 12px; font-weight: 560; }
.home-prompt-composer {
    min-width: 0;
    padding: clamp(15px, 2vw, 21px);
    border: 1px solid transparent;
    border-radius: 16px;
    background:
        linear-gradient(#fff, #fff) padding-box,
        linear-gradient(135deg, var(--prompt-trim-start), #e7e9ef 55%, var(--prompt-trim-end)) border-box;
    box-shadow: 0 3px 14px #20283a0b;
}
.home-prompt-field {
    display: grid;
    min-height: 3.1em;
    color: #262b34;
    font-size: clamp(15px, 1.4vw, 16px);
    line-height: 1.55;
}
.home-prompt-copy, .home-prompt-typed { grid-area: 1 / 1; }
.home-prompt-copy { opacity: 0; pointer-events: none; user-select: none; }
.home-prompt-typed::after {
    display: none;
    width: 1px;
    height: 1em;
    margin-inline-start: 2px;
    vertical-align: -.12em;
    background: var(--prompt-accent);
    content: '';
}
.home-prompt-demo.is-typing .home-prompt-typed::after { display: inline-block; }
.home-prompt-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: 12px;
}
.home-prompt-toolbar[hidden] { display: none; }
.home-prompt-status {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #5a6270;
    font-size: 12px;
    font-weight: 530;
}
.home-prompt-status::before {
    width: 6px;
    height: 6px;
    flex: 0 0 6px;
    border-radius: 50%;
    background: #a9aeb9;
    content: '';
}
.home-prompt-status[data-active="true"]::before {
    background: var(--prompt-accent);
}
.home-prompt-play {
    display: grid;
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
    place-items: center;
    padding: 0;
    border: 0;
    border-radius: 11px;
    background: #242a34;
    color: #fff;
    cursor: pointer;
}
.home-prompt-play:hover { background: #3b4350; }
.home-prompt-play:focus-visible { outline: 2px solid var(--prompt-accent); outline-offset: 3px; }
.home-prompt-play svg { display: none; width: 20px; height: 20px; }
.home-prompt-play[data-mode="play"] [data-prompt-icon="play"],
.home-prompt-play[data-mode="pause"] [data-prompt-icon="pause"] { display: block; }
.home-prompt-video {
    display: block;
    width: 100%;
    aspect-ratio: 960 / 444;
    border-radius: 14px;
    background: #111;
    object-fit: contain;
    pointer-events: none;
}
@media (min-width: 768px) {
    .home-prompt-inner { width: min(calc(100% - 64px), 1120px); }
    .home-prompt-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.home-tools, .home-compatibility-showcase, .home-game-demos, .home-tracking {
    --feature-bg: #030505;
    --feature-ink: #f6f6f6;
    --feature-muted: #a7aaac;
    --feature-rule: #2a2d2d;
    --feature-gutter: clamp(18px, 4vw, 48px);
    padding-block: clamp(52px, 7vw, 102px);
    background: var(--feature-bg);
    color: var(--feature-ink);
}
.home-tools-inner {
    width: min(calc(100% - 2 * var(--feature-gutter)), 1260px);
    margin-inline: auto;
}
.home-tools h2, .home-compat-heading h2, .home-tracking-heading h2 {
    font-size: clamp(32px, 5vw, 60px);
    font-weight: 720;
    letter-spacing: -.055em;
    line-height: 1;
}
.home-tracking-heading h2 { text-wrap: balance; }
.home-tools button, .home-compat-nav button {
    font-family: inherit;
    cursor: pointer;
}
.home-tools button:focus-visible { outline: 2px solid #f6f6f6; outline-offset: -4px; }
.home-tools-tabs {
    display: flex;
    gap: 0 clamp(16px, 4vw, 44px);
    margin-top: clamp(16px, 3vw, 30px);
    border-bottom: 1px solid var(--feature-rule);
}
.home-tools-tabs button {
    min-height: 48px;
    margin-bottom: -1px;
    padding-inline: 1px;
    border-bottom: 2px solid transparent;
    color: var(--feature-muted);
    font-size: clamp(13px, 1.4vw, 15px);
    font-weight: 600;
    text-align: left;
}
.home-tools-tabs button:hover { color: var(--feature-ink); }
.home-tools-tabs button[aria-pressed="true"] {
    border-bottom-color: #2df885;
    color: var(--feature-ink);
}
.home-tools-showcase { margin-top: clamp(18px, 3vw, 40px); }
.home-tools-preview {
    display: grid;
    place-items: center;
    margin-inline: calc(-1 * var(--feature-gutter));
    aspect-ratio: 4 / 3;
    background: #090b0c;
    border-block: 1px solid #171a1a;
}
.home-tools-preview img,
.home-tools-preview video {
    display: block;
    width: 100%;
    height: 100%;
    min-width: 0;
    min-height: 0;
    object-fit: contain;
}
.home-tools-preview [hidden] { display: none; }
.home-tools-info { padding-top: 24px; }
.home-tools-copy h3 {
    font-size: clamp(24px, 3.3vw, 43px);
    font-weight: 670;
    letter-spacing: -.04em;
    line-height: 1.08;
}
.home-tools-copy p {
    max-width: 37ch;
    margin-top: 10px;
    color: var(--feature-muted);
    font-size: clamp(14px, 1.4vw, 16px);
    line-height: 1.6;
}
.home-tools-nav {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-top: 24px;
    padding-top: 12px;
    border-top: 1px solid var(--feature-rule);
}
.home-tools-nav span {
    margin-inline-end: auto;
    color: var(--feature-muted);
    font-family: 'IBM Plex Mono', ui-monospace, Consolas, monospace;
    font-size: 12px;
    font-variant-numeric: tabular-nums;
}
.home-tools-nav button {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border: 1px solid var(--feature-rule);
    color: var(--feature-ink);
}
.home-tools-nav button:hover:enabled { background: #161919; border-color: #5d6060; }
.home-tools-nav button:disabled { opacity: .4; cursor: default; }
.home-tools-nav svg {
    width: 18px;
    height: 18px;
    stroke: currentColor;
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
}
@media (min-width: 600px) {
    .home-tools-preview { margin-inline: 0; aspect-ratio: 16 / 10; border: 1px solid #171a1a; }
}
@media (min-width: 860px) {
    .home-tools-showcase {
        display: grid;
        grid-template-columns: minmax(250px, 1fr) minmax(0, 2.05fr);
        align-items: center;
        gap: clamp(32px, 5vw, 68px);
    }
    .home-tools-info { grid-area: 1 / 1; padding-top: 0; }
    .home-tools-preview { grid-area: 1 / 2; }
    .home-tools-copy h3 { max-width: 13ch; }
    .home-tools-nav { margin-top: 32px; }
}

.home-tracking, .home-game-demos {
    scroll-margin-top: 66px;
    border-top: 1px solid var(--feature-rule);
}
.home-tracking-heading p {
    max-width: 56ch;
    margin-top: 14px;
    color: var(--feature-muted);
    font-size: clamp(14px, 1.35vw, 17px);
    line-height: 1.55;
}
.home-tracking-video {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    border: 1px solid var(--feature-rule);
    background: #090b0c;
    object-fit: contain;
    pointer-events: none;
}
.home-quest-layout { display: grid; gap: clamp(28px, 4vw, 56px); }
.home-quest-link {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    min-height: 44px;
    margin-top: 21px;
    padding: 0 14px;
    border: 1px solid #f6f6f6;
    border-radius: 4px;
    background: #f6f6f6;
    color: #111;
    font-size: 14px;
    font-weight: 650;
}
.home-quest-link:hover { background: #ddd; }
.home-quest-link svg, .home-quest-restart svg {
    width: 18px;
    height: 18px;
    stroke: currentColor;
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.home-quest-showcase { min-width: 0; }
.home-quest-player {
    overflow: hidden;
    border: 1px solid #383838;
    border-radius: 8px;
    background: #101010;
}
.home-quest-player .home-tracking-video { border: 0; background: #080808; }
.home-quest-player video[hidden] { display: none; }
.home-quest-transport {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 2px 7px 2px 13px;
    border-top: 1px solid #282828;
}
.home-quest-progress {
    flex: 1;
    height: 3px;
    overflow: hidden;
    border-radius: 3px;
    background: #383838;
}
.home-quest-progress span {
    display: block;
    height: 100%;
    background: #f6f6f6;
    transform: scaleX(0);
    transform-origin: left;
}
.home-quest-controls { display: flex; gap: 2px; }
.home-quest-controls button {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 4px;
    color: var(--feature-ink);
    cursor: pointer;
}
.home-quest-controls button:hover { background: #242424; }
.home-quest-play svg { width: 19px; height: 19px; fill: currentColor; }
.home-quest-play[data-playing="false"] .home-quest-pause-icon,
.home-quest-play[data-playing="true"] .home-quest-play-icon { display: none; }
.home-quest-choices {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
    margin-top: 10px;
}
.home-quest-choice {
    display: grid;
    align-content: start;
    gap: 7px;
    padding: 11px 10px 12px;
    border: 1px solid #333;
    border-radius: 5px;
    background: #101010;
    color: var(--feature-ink);
    text-align: start;
    cursor: pointer;
}
.home-quest-choice[aria-pressed="true"] {
    border-color: #adadad;
    background: #1d1d1d;
}
.home-quest-choice strong { font-size: clamp(13px, 1.3vw, 16px); font-weight: 650; line-height: 1.2; }
.home-quest-choice span { color: var(--feature-muted); font-size: clamp(12px, 1.15vw, 14px); line-height: 1.45; }
.home-quest-layout :is(a, button):focus-visible { outline: 2px solid #f6f6f6; outline-offset: 2px; }
@media (min-width: 860px) {
    .home-quest-layout {
        grid-template-columns: minmax(0, .62fr) minmax(0, 1fr);
        align-items: start;
    }
    .home-quest-layout .home-tracking-heading { padding-top: 16px; }
    .home-quest-choice { padding-inline: 15px; }
}

.home-game-demos-grid figure { min-width: 0; margin: 0; }
.home-game-demos-grid figcaption { margin-top: 15px; }
.home-game-demos-grid h3 {
    color: var(--feature-ink);
    font-size: clamp(20px, 2vw, 28px);
    font-weight: 650;
    letter-spacing: -.03em;
    line-height: 1.14;
}
.home-game-demos-grid p {
    max-width: 56ch;
    margin-top: 7px;
    color: var(--feature-muted);
    font-size: clamp(14px, 1.25vw, 16px);
    line-height: 1.55;
}

.home-game-demos {
    position: relative;
    border-top: 0;
}
.home-game-demos::before {
    position: absolute;
    inset: 0 0 auto;
    width: min(calc(100% - 2 * var(--feature-gutter)), 1260px);
    height: 1px;
    margin-inline: auto;
    background: #393939;
    content: '';
}
.home-game-demos-grid {
    display: grid;
    gap: clamp(26px, 3vw, 36px);
    margin-top: clamp(24px, 4vw, 44px);
}
@media (max-width: 859px) {
    .home-game-demos-grid figure {
        display: grid;
        width: min(100%, 640px);
        justify-self: center;
    }
    .home-game-demos-grid figcaption {
        grid-row: 1;
        margin: 0 0 14px;
    }
}
@media (min-width: 860px) {
    .home-game-demos-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        align-items: start;
    }
}

.home-compat-heading p {
    max-width: 44ch;
    margin-top: 14px;
    color: var(--feature-muted);
    font-size: clamp(14px, 1.4vw, 17px);
    line-height: 1.55;
}
.home-compat-reel { margin-top: clamp(24px, 4vw, 50px); }
.home-compat-media {
    position: relative;
    aspect-ratio: 16 / 9;
    background: #0a0d0e;
}
.home-compat-video {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    pointer-events: none;
}
.home-compat-video[hidden] { display: none; }
.home-compat-timeline { height: 2px; background: var(--feature-rule); }
.home-compat-timeline span {
    display: block;
    height: 100%;
    background: #2df885;
    transform: scaleX(0);
    transform-origin: left;
}
.home-compat-caption {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding-top: 20px;
}
.home-compat-game h3 {
    font-size: clamp(22px, 3vw, 37px);
    font-weight: 670;
    letter-spacing: -.04em;
    line-height: 1.1;
}
.home-compat-game p { margin-top: 6px; color: var(--feature-muted); font-size: 13px; }
.home-compat-nav { flex: none; margin: 0; padding: 0; border: 0; }
.home-compat-nav button { background: transparent; }
.home-compat-nav button:focus-visible { outline: 2px solid #f6f6f6; outline-offset: -4px; }
@media (max-width: 599px) {
    .home-compat-media, .home-compat-timeline { margin-inline: calc(-1 * var(--feature-gutter)); }
}
@media (min-width: 860px) {
    .home-compat-reel {
        display: grid;
        grid-template: "media caption" auto "timeline caption" 2px / minmax(0, 1fr) minmax(225px, .31fr);
        column-gap: clamp(32px, 5vw, 68px);
    }
    .home-compat-media { grid-area: media; }
    .home-compat-timeline { grid-area: timeline; }
    .home-compat-caption {
        grid-area: caption;
        flex-direction: column;
        align-items: stretch;
        align-self: center;
        gap: 25px;
        padding: 0;
    }
    .home-compat-nav { padding-top: 12px; border-top: 1px solid var(--feature-rule); }
}
@media (prefers-reduced-motion: reduce) {
    .home-workflow-more, .home-workflow-toggle svg { transition: none; }
}
.home-footer-bottom .replay-privacy-control {
    padding: 0;
    border: 0;
    background: transparent;
    color: inherit;
    font: inherit;
    cursor: pointer;
}
.home-footer-bottom .replay-privacy-control:hover { text-decoration: underline; }

.home-stories { overflow: hidden; background: #fff; border-top: 1px solid #11131512; }
.home-stories-frame {
    width: min(1600px, calc(100% - 56px));
    margin: auto;
    padding: clamp(46px,5vw,60px) 16px clamp(50px,5vw,66px);
    border-inline: 1px solid #11131512;
}
.home-stories-header { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.home-stories h2, .home-stories-subtitle {
    font-size: clamp(28px,2.7vw,38px);
    line-height: 1.04;
    letter-spacing: -.047em;
    font-weight: 500;
}
.home-stories-subtitle { margin-top: 3px; color: #667186; }
.home-stories-actions { display: flex; flex: none; gap: 8px; margin-top: clamp(18px,4vw,54px); }
.home-stories-actions button {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    padding: 0;
    border: 1px solid #11131519;
    border-radius: 50%;
    background: #f3f4f6;
    color: #111315;
    cursor: pointer;
}
.home-stories-actions button:hover:enabled { background: #e9ecf0; }
.home-stories-actions button:disabled { opacity: .44; cursor: default; }
.home-stories-actions svg { width: 18px; height: 18px; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.home-story-deck { display: flex; height: clamp(330px,38vw,470px); margin-top: 24px; gap: 12px; }
.home-story-card {
    position: relative;
    flex: 2.4 1 0;
    min-width: 0;
    overflow: hidden;
    border-radius: 6px;
    background: var(--story-tint);
    isolation: isolate;
    transition: flex-grow .72s cubic-bezier(.22,1,.36,1);
}
.home-story-card.is-active { flex-grow: 6; }
.home-story-card video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: .72;
    transition: opacity .25s;
}
.home-story-card.is-active video { opacity: 1; }
.home-story-card::after {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg,#07090a 0%,#0d101487 26%,transparent 68%);
    content: '';
}
.home-story-copy {
    position: absolute;
    z-index: 1;
    inset: auto 28px 27px;
    max-width: 465px;
    color: white;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity .16s, transform .3s;
}
.home-story-card.is-active .home-story-copy { opacity: 1; transform: none; transition-delay: .12s; }
.home-story-copy h3 { color: inherit; font-size: clamp(25px,3vw,38px); line-height: 1; letter-spacing: -.045em; font-weight: 520; }
.home-story-copy p { margin-top: 9px; color: #eef0f3; font-size: 14px; line-height: 1.42; }
.home-story-select { position: absolute; z-index: 2; inset: 0; width: 100%; border: 0; background: transparent; cursor: pointer; }
.home-story-select:focus-visible { outline: 2px solid white; outline-offset: -4px; border-radius: 6px; }
@media (max-width: 767px) {
    .home-stories-frame { width: calc(100% - 28px); padding-inline: 12px; }
    .home-stories-header { display: block; }
    .home-stories-actions { margin-top: 16px; }
    .home-story-deck {
        height: clamp(320px, 94vw, 390px);
        gap: 10px;
        overflow: auto hidden;
        scroll-snap-type: x mandatory;
        overscroll-behavior-inline: contain;
        scrollbar-width: none;
    }
    .home-story-card, .home-story-card.is-active { flex: 0 0 100%; scroll-snap-align: start; }
    .home-story-copy { inset: auto 20px 20px; opacity: 1; transform: none; }
}

#stracti-live-demo #stracti-live-demo-dock {
    max-width: calc(100% - 16px);
    gap: 7px;
    padding: 8px;
    white-space: nowrap;
}
#stracti-live-demo #stracti-live-demo-dock > [data-demo-collapsible] { margin-left: 0; flex: none; }
@media (max-width: 639px) {
    #stracti-live-demo #stracti-live-demo-dock { gap: clamp(4px,1.42vw,7px); padding: clamp(6px,1.8vw,8px); }
    #stracti-live-demo #stracti-live-demo-timer {
        min-width: clamp(48px,16vw,88px) !important;
        height: 38px;
        padding-inline: 3px;
        font-size: clamp(9px,2.35vw,10px);
    }
    #stracti-live-demo #stracti-live-demo-dock button {
        height: 38px;
        padding-inline: clamp(6px,2vw,12px);
        gap: clamp(4px,1.48vw,7px);
        font-size: 11px;
    }
    #stracti-live-demo #stracti-live-demo-dock :is([data-demo-control="pause"],[data-demo-control="stop"],[data-demo-control="workspace"]) {
        width: clamp(32px,9.7vw,38px);
        padding: 0;
    }
    #stracti-live-demo #stracti-live-demo-dock button > span:last-child { max-width: none; overflow: visible; }
}

.home-footer { background: #f5f4ee; border-top: 1px solid #11131514; }
.home-footer-frame {
    width: min(1600px,calc(100% - 56px));
    margin-inline: auto;
    padding-block: clamp(44px,6vw,66px) calc(72px + env(safe-area-inset-bottom));
}
.home-footer-top, .home-footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.home-footer-brand { color: #111315; font-size: 19px; font-weight: 780; letter-spacing: -.035em; }
.home-footer-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.home-footer-actions a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 36px;
    padding-inline: 14px;
    border: 1px solid #11131513;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 650;
}
.home-footer-actions svg { width: 12px; height: 12px; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.home-footer-docs { background: #ffffff7a; color: #111315; }
.home-footer-build { background: #111315; color: white; }
.home-footer a:hover { text-decoration: underline; text-underline-offset: .2em; }
.home-footer-links { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); column-gap: clamp(20px,4vw,64px); row-gap: 36px; margin-top: 52px; }
.home-footer-column h2 { margin-bottom: 15px; color: #5b5d60; font-size: 12px; line-height: 1.4; font-weight: 650; }
.home-footer-column ul { display: grid; gap: 10px; padding: 0; list-style: none; }
.home-footer-column a { color: #111315; font-size: 14px; line-height: 1.35; font-weight: 500; overflow-wrap: anywhere; }
.home-footer-bottom { border-top: 1px solid #1113151a; margin-top: 48px; padding-top: 18px; color: #585b61; font-size: 12px; }
.home-footer-bottom a { color: inherit; }
@media (max-width: 1023px) { .home-footer-links { grid-template-columns: repeat(3,minmax(0,1fr)); } }
@media (max-width: 639px) {
    .home-footer-frame { width: calc(100% - 28px); }
    .home-footer-top { align-items: flex-start; flex-direction: column; gap: 22px; }
    .home-footer-links { grid-template-columns: repeat(2,minmax(0,1fr)); margin-top: 38px; }
    .home-footer-column a { font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) {
    .home-logo-copy { display: none; }
    .home-story-card, .home-story-card video, .home-story-copy { transition: none; }
}
