:root {
    --bg: #080503;
    --bg-soft: #120a06;
    --bg-elevated: rgba(27, 16, 9, 0.78);
    --surface: rgba(255, 243, 228, 0.05);
    --surface-strong: rgba(255, 243, 228, 0.08);
    --line: rgba(255, 230, 192, 0.15);
    --line-strong: rgba(255, 210, 156, 0.28);
    --text: #f7efe4;
    --muted: #d6c1ad;
    --accent: #f1a14c;
    --accent-strong: #ffd08a;
    --accent-deep: #c85c2d;
    --accent-olive: #8f7c42;
    --shadow: 0 40px 100px rgba(0, 0, 0, 0.45);
    --max-width: 1240px;
    --header-height: 78px;
    --radius: 32px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    font-family: "Segoe UI Variable Text", "Segoe UI", sans-serif;
    color: var(--text);
    background:
        radial-gradient(circle at 14% 0%, rgba(255, 162, 69, 0.18), transparent 32%),
        radial-gradient(circle at 88% 10%, rgba(189, 94, 37, 0.16), transparent 28%),
        radial-gradient(circle at 72% 72%, rgba(135, 115, 53, 0.10), transparent 26%),
        linear-gradient(180deg, #050302 0%, #0b0604 34%, #090604 100%);
    overflow-x: hidden;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(rgba(255, 255, 255, 0.015), rgba(255, 255, 255, 0.015)),
        repeating-linear-gradient(
            90deg,
            transparent 0,
            transparent 78px,
            rgba(255, 228, 195, 0.018) 78px,
            rgba(255, 228, 195, 0.018) 79px
        );
    mask-image: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.7) 12%, rgba(0, 0, 0, 0.7) 88%, transparent 100%);
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font: inherit;
}

main {
    padding: calc(var(--header-height) + 28px) 24px 48px;
}

.site-header,
.hero,
.signal-strip,
.section,
.formats-section,
.closing-section,
.site-footer {
    width: min(100%, var(--max-width));
    margin: 0 auto;
}

.site-header {
    position: fixed;
    top: 14px;
    left: 50%;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: min(calc(100% - 24px), var(--max-width));
    padding: 14px 18px;
    border: 1px solid transparent;
    border-radius: 999px;
    transform: translateX(-50%);
    transition: background-color 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

body.is-scrolled .site-header {
    background: rgba(12, 7, 4, 0.76);
    border-color: rgba(255, 231, 202, 0.12);
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.24);
    backdrop-filter: blur(18px);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 14px;
}

.brand-mark {
    width: 32px;
    height: 32px;
    display: block;
    flex-shrink: 0;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 0 24px rgba(241, 161, 76, 0.34);
}

.brand-copy {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.brand-copy strong,
.site-nav a,
.hero-copy h1,
.section h2,
.mode-panel h3,
.ai-visual-core h3,
.workflow-item h3,
.local-point strong,
.closing-section h2 {
    font-family: "Bahnschrift", "Segoe UI", sans-serif;
}

.brand-copy strong {
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.brand-copy span:last-child {
    color: var(--muted);
    font-size: 0.8rem;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 28px;
    margin-left: auto;
}

.site-nav a {
    color: var(--muted);
    font-size: 0.92rem;
    transition: color 180ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
    color: var(--text);
}

.github-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    margin-left: 18px;
    border: 1px solid rgba(255, 231, 202, 0.12);
    border-radius: 999px;
    background: rgba(255, 245, 233, 0.04);
    color: var(--muted);
    transition:
        color 180ms ease,
        border-color 180ms ease,
        background-color 180ms ease,
        transform 180ms ease,
        box-shadow 180ms ease;
}

.github-link:hover,
.github-link:focus-visible {
    color: var(--text);
    border-color: rgba(255, 211, 151, 0.24);
    background: rgba(255, 206, 133, 0.08);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
    transform: translateY(-1px);
}

.github-link svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

.hero {
    display: grid;
    grid-template-columns: minmax(0, 1.02fr) minmax(360px, 0.98fr);
    align-items: center;
    gap: 36px;
    min-height: calc(100svh - var(--header-height));
    padding: 20px 0 52px;
}

.eyebrow {
    margin: 0 0 18px;
    color: var(--accent-strong);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
}

.hero-copy h1,
.section h2,
.closing-section h2 {
    margin: 0;
    line-height: 0.95;
    letter-spacing: -0.04em;
}

.hero-copy h1 {
    max-width: 8.2em;
    font-size: clamp(3.3rem, 7.8vw, 6.6rem);
}

.hero-text,
.section-heading p,
.mode-panel p,
.detail-list,
.workflow-item p,
.local-point p,
.closing-section p,
.preview-copy p,
.hero-meta {
    color: var(--muted);
    line-height: 1.75;
}

.hero-text {
    max-width: 42rem;
    margin: 24px 0 0;
    font-size: 1.06rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin: 30px 0 20px;
}

.store-download {
    display: grid;
    gap: 14px;
    justify-items: start;
    width: min(100%, 430px);
    margin: 0 0 22px;
    padding: 18px 18px 20px;
    border: 1px solid rgba(255, 231, 202, 0.12);
    border-radius: 24px;
    background:
        linear-gradient(180deg, rgba(255, 245, 233, 0.06), rgba(255, 245, 233, 0.03)),
        rgba(20, 12, 7, 0.74);
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(16px);
}

.store-download-head {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.01em;
}

.microsoft-mark {
    display: grid;
    grid-template-columns: repeat(2, 9px);
    gap: 2px;
    flex-shrink: 0;
}

.microsoft-mark span {
    width: 9px;
    height: 9px;
    border-radius: 1px;
}

.microsoft-mark span:nth-child(1) {
    background: #f25022;
}

.microsoft-mark span:nth-child(2) {
    background: #7fba00;
}

.microsoft-mark span:nth-child(3) {
    background: #00a4ef;
}

.microsoft-mark span:nth-child(4) {
    background: #ffb900;
}

.store-download-note {
    margin: 0;
    color: var(--muted);
    line-height: 1.7;
    font-size: 0.92rem;
}

.store-download ms-store-badge {
    display: block;
    width: fit-content;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 144px;
    padding: 14px 22px;
    border-radius: 999px;
    border: 1px solid transparent;
    transition: transform 180ms ease, border-color 180ms ease, background-color 180ms ease, color 180ms ease;
}

.button:hover,
.button:focus-visible,
.mode-button:hover,
.mode-button:focus-visible {
    transform: translateY(-1px);
}

.button-primary {
    background: linear-gradient(135deg, var(--accent-strong), var(--accent) 52%, var(--accent-deep));
    color: #1a0d05;
    box-shadow: 0 20px 38px rgba(197, 97, 38, 0.24);
}

.button-secondary,
.mode-button {
    border-color: var(--line);
    background: rgba(255, 245, 233, 0.04);
    color: var(--text);
}

.hero-meta {
    margin: 0;
    font-size: 0.95rem;
}

.hero-stage {
    position: relative;
    justify-self: end;
    width: min(100%, 560px);
    aspect-ratio: 0.92 / 1;
    --glow-x: 50%;
    --glow-y: 32%;
    --glow-opacity: 0;
}

.hero-stage::before {
    content: "";
    position: absolute;
    inset: 8% 2% -6%;
    border-radius: 50%;
    background:
        radial-gradient(circle, rgba(241, 161, 76, 0.30) 0%, rgba(241, 161, 76, 0.05) 46%, transparent 70%);
    filter: blur(34px);
}

.stage-shell {
    position: absolute;
    inset: 0;
    overflow: hidden;
    border: 1px solid rgba(255, 224, 185, 0.12);
    border-radius: 40px;
    background:
        radial-gradient(circle at 18% 18%, rgba(255, 179, 91, 0.18), transparent 28%),
        radial-gradient(circle at 84% 22%, rgba(195, 88, 38, 0.16), transparent 24%),
        linear-gradient(160deg, rgba(37, 20, 10, 0.96), rgba(12, 8, 5, 0.95));
    box-shadow: var(--shadow);
    transform:
        rotateX(var(--tilt-x, 0deg))
        rotateY(var(--tilt-y, 0deg));
    transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.stage-shell::before {
    content: "";
    position: absolute;
    inset: -18%;
    background:
        radial-gradient(
            circle 140px at var(--glow-x) var(--glow-y),
            rgba(255, 218, 149, 0.34) 0%,
            rgba(255, 188, 103, 0.18) 26%,
            rgba(255, 188, 103, 0.08) 42%,
            rgba(255, 188, 103, 0.00) 72%
        );
    opacity: var(--glow-opacity);
    filter: blur(12px);
    pointer-events: none;
}

.stage-shell::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.06), transparent 18%),
        repeating-linear-gradient(
            180deg,
            transparent 0,
            transparent 13px,
            rgba(255, 255, 255, 0.018) 13px,
            rgba(255, 255, 255, 0.018) 14px
        );
    mix-blend-mode: screen;
    opacity: 0.42;
    pointer-events: none;
}

.stage-beam {
    position: absolute;
    inset: auto -18% 12% auto;
    width: 320px;
    height: 320px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 215, 131, 0.32) 0%, rgba(255, 165, 73, 0.10) 44%, transparent 72%);
    filter: blur(12px);
    animation: pulse 6s ease-in-out infinite;
}

.stage-preview,
.stage-console {
    position: absolute;
    left: 6.5%;
    right: 6.5%;
    border: 1px solid var(--line);
    border-radius: 28px;
    background: rgba(255, 245, 233, 0.04);
    backdrop-filter: blur(10px);
}

.stage-preview {
    top: 6.5%;
    height: 57%;
    overflow: hidden;
}

.preview-frames {
    position: absolute;
    inset: 0;
}

.frame {
    position: absolute;
    border: 1px solid rgba(255, 228, 195, 0.18);
    border-radius: 26px;
    background:
        linear-gradient(160deg, rgba(255, 210, 153, 0.22), rgba(255, 148, 78, 0.08)),
        linear-gradient(135deg, rgba(255, 235, 205, 0.10), rgba(80, 39, 18, 0.18));
}

.frame-back {
    inset: 16% 22% 28% 10%;
    transform: translate(-14px, 18px) rotate(-8deg);
    opacity: 0.45;
}

.frame-mid {
    inset: 18% 16% 24% 16%;
    transform: translate(4px, 8px) rotate(5deg);
    opacity: 0.68;
}

.frame-front {
    inset: 15% 10% 18% 14%;
    background:
        radial-gradient(circle at 32% 30%, rgba(255, 205, 121, 0.50), transparent 34%),
        linear-gradient(135deg, rgba(255, 229, 192, 0.14), rgba(53, 26, 12, 0.22));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
    animation: drift 9s ease-in-out infinite;
    transform: rotate(3deg);
}

.preview-copy {
    position: absolute;
    left: 8%;
    right: 12%;
    bottom: 9%;
}

.preview-label,
.visual-kicker {
    display: inline-block;
    margin-bottom: 12px;
    color: var(--accent-strong);
    font-size: 0.8rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.preview-copy strong {
    display: block;
    font-size: 1.7rem;
    line-height: 1.05;
}

.preview-copy p {
    margin: 12px 0 0;
    max-width: 24rem;
}

.stage-console {
    bottom: 6.5%;
    padding: 20px;
}

.console-row {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    padding: 0 0 12px;
    color: var(--muted);
    font-size: 0.9rem;
}

.console-row strong {
    color: var(--text);
    font-weight: 600;
}

.stem-rack {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    margin: 12px 0 18px;
}

.stem-rack span {
    padding: 9px 10px;
    border: 1px solid rgba(255, 214, 166, 0.16);
    border-radius: 999px;
    background: rgba(255, 243, 228, 0.04);
    color: var(--muted);
    font-size: 0.85rem;
    text-align: center;
}

.wave-bars {
    display: grid;
    grid-template-columns: repeat(16, 1fr);
    gap: 7px;
    align-items: end;
    height: 92px;
}

.wave-bars span {
    height: var(--h);
    border-radius: 999px;
    background: linear-gradient(180deg, rgba(255, 215, 146, 0.92), rgba(241, 161, 76, 0.62) 60%, rgba(200, 92, 45, 0.56));
    animation: equalize 1.9s ease-in-out infinite;
    animation-delay: var(--d);
    transform-origin: center bottom;
}

.signal-strip {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
    padding: 18px 0 6px;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.signal-strip div {
    padding: 0 10px 14px 0;
    border-right: 1px solid var(--line);
}

.signal-strip div:last-child {
    border-right: none;
}

.signal-strip strong {
    display: block;
    font-size: 1rem;
    margin-bottom: 8px;
}

.signal-strip p {
    margin: 0;
    color: var(--muted);
    line-height: 1.7;
}

.section,
.formats-section,
.closing-section {
    padding: 110px 0 0;
}

.section-heading {
    max-width: 780px;
}

.section h2,
.formats-section h2,
.closing-section h2 {
    max-width: 11em;
    font-size: clamp(2.5rem, 5.2vw, 4.65rem);
}

.section-heading p:last-child {
    max-width: 42rem;
    margin: 20px 0 0;
}

.ai-showcase,
.split-layout {
    display: grid;
    grid-template-columns: minmax(0, 0.92fr) minmax(320px, 1.08fr);
    align-items: start;
    gap: 34px;
    margin-top: 42px;
}

.mode-switch {
    display: inline-flex;
    gap: 12px;
    margin-bottom: 28px;
}

.mode-button {
    min-width: 124px;
    padding: 12px 18px;
    border-radius: 999px;
    cursor: pointer;
}

.mode-button.is-active {
    border-color: rgba(255, 205, 136, 0.28);
    background: rgba(255, 204, 133, 0.14);
}

.mode-panel {
    display: none;
}

.mode-panel.is-active {
    display: block;
}

.mode-panel h3 {
    margin: 0 0 16px;
    font-size: 2rem;
    line-height: 1.05;
    letter-spacing: -0.03em;
}

.mode-panel p {
    margin: 0;
}

.detail-list {
    margin: 22px 0 0;
    padding: 0;
    list-style: none;
}

.detail-list li {
    position: relative;
    padding: 16px 0 16px 26px;
    border-top: 1px solid var(--line);
}

.detail-list li:last-child {
    border-bottom: 1px solid var(--line);
}

.detail-list li::before {
    content: "";
    position: absolute;
    top: 25px;
    left: 0;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-strong), var(--accent));
    box-shadow: 0 0 18px rgba(255, 184, 96, 0.26);
}

.ai-visual,
.split-stage {
    position: relative;
    overflow: hidden;
    min-height: 520px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background:
        radial-gradient(circle at 18% 18%, rgba(255, 177, 82, 0.15), transparent 24%),
        radial-gradient(circle at 78% 24%, rgba(180, 82, 39, 0.14), transparent 22%),
        linear-gradient(180deg, rgba(255, 245, 233, 0.05), rgba(255, 245, 233, 0.02));
}

.ai-visual::before,
.split-stage::before {
    content: "";
    position: absolute;
    inset: 20px;
    border: 1px solid rgba(255, 227, 191, 0.10);
    border-radius: 24px;
}

.ai-visual::after {
    content: "";
    position: absolute;
    inset: 18% auto auto 14%;
    width: 240px;
    height: 240px;
    border-radius: 50%;
    border: 1px solid rgba(255, 221, 172, 0.12);
    box-shadow:
        0 0 0 26px rgba(255, 209, 136, 0.04),
        0 0 0 58px rgba(255, 209, 136, 0.02);
}

.ai-showcase[data-mode="interpolate"] .ai-visual {
    background:
        radial-gradient(circle at 24% 20%, rgba(255, 194, 124, 0.16), transparent 25%),
        radial-gradient(circle at 76% 36%, rgba(143, 124, 66, 0.14), transparent 26%),
        linear-gradient(180deg, rgba(255, 245, 233, 0.05), rgba(255, 245, 233, 0.02));
}

.ai-showcase[data-mode="interpolate"] .ai-visual::after {
    left: auto;
    right: 12%;
    width: 210px;
    height: 210px;
}

.ai-visual-core {
    position: absolute;
    left: 12%;
    right: 12%;
    top: 14%;
    max-width: 22rem;
}

.ai-visual-core h3 {
    margin: 0;
    font-size: clamp(2.2rem, 4vw, 3.6rem);
    letter-spacing: -0.04em;
}

.ai-visual-core p {
    margin: 16px 0 0;
    color: var(--muted);
    line-height: 1.8;
}

.visual-meter {
    position: absolute;
    left: 12%;
    right: 12%;
    bottom: 26%;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}

.visual-meter span {
    position: relative;
    height: 136px;
    overflow: hidden;
    border: 1px solid rgba(255, 226, 188, 0.10);
    border-radius: 22px;
    background: rgba(255, 241, 222, 0.05);
}

.visual-meter span::before {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 58%;
    background: linear-gradient(180deg, rgba(255, 219, 154, 0.0), rgba(241, 161, 76, 0.86) 74%, rgba(200, 92, 45, 0.82));
    animation: rise 4s ease-in-out infinite;
}

.visual-meter span:nth-child(2)::before {
    height: 72%;
    animation-delay: 0.3s;
}

.visual-meter span:nth-child(3)::before {
    height: 48%;
    animation-delay: 0.6s;
}

.visual-meter span:nth-child(4)::before {
    height: 82%;
    animation-delay: 0.9s;
}

.ai-showcase[data-mode="interpolate"] .visual-meter span::before {
    background: linear-gradient(180deg, rgba(255, 225, 166, 0.0), rgba(255, 193, 108, 0.88) 68%, rgba(143, 124, 66, 0.86));
}

.visual-footnotes {
    position: absolute;
    left: 12%;
    right: 12%;
    bottom: 12%;
    display: flex;
    flex-wrap: wrap;
    gap: 12px 22px;
    color: var(--muted);
}

.visual-footnotes span {
    position: relative;
    padding-left: 16px;
}

.visual-footnotes span::before {
    content: "";
    position: absolute;
    top: 0.6em;
    left: 0;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--accent);
}

.split-layout {
    grid-template-columns: minmax(0, 0.84fr) minmax(0, 1.16fr);
}

.split-stage {
    min-height: 440px;
    padding: 28px;
    display: grid;
    gap: 16px;
    align-content: center;
}

.split-lane {
    position: relative;
    display: grid;
    grid-template-columns: 104px 1fr;
    align-items: center;
    gap: 18px;
    padding: 16px 18px;
    border: 1px solid rgba(255, 230, 192, 0.10);
    border-radius: 22px;
    background: rgba(255, 245, 233, 0.03);
}

.split-lane span {
    font-family: "Bahnschrift", "Segoe UI", sans-serif;
    font-size: 1.02rem;
    letter-spacing: 0.04em;
}

.split-lane i {
    position: relative;
    display: block;
    height: 44px;
    border-radius: 999px;
    background:
        linear-gradient(90deg, rgba(255, 209, 136, 0.14), rgba(255, 209, 136, 0.02)),
        repeating-linear-gradient(
            90deg,
            rgba(241, 161, 76, 0.86) 0,
            rgba(241, 161, 76, 0.86) 10px,
            rgba(255, 241, 221, 0.06) 10px,
            rgba(255, 241, 221, 0.06) 22px
        );
    mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.9) 6%, rgba(0, 0, 0, 0.9) 94%, transparent 100%);
    overflow: hidden;
}

.split-lane i::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent 0%, rgba(255, 249, 238, 0.34) 50%, transparent 100%);
    transform: translateX(-100%);
    animation: sweep 4.6s ease-in-out infinite;
}

.split-lane:nth-child(2) i::after {
    animation-delay: 0.4s;
}

.split-lane:nth-child(3) i::after {
    animation-delay: 0.8s;
}

.split-lane:nth-child(4) i::after {
    animation-delay: 1.2s;
}

.workflow-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 40px;
    row-gap: 0;
    margin-top: 42px;
    border-top: 1px solid var(--line);
}

.workflow-item {
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: 18px;
    padding: 28px 0 30px;
    border-bottom: 1px solid var(--line);
}

.workflow-index {
    color: var(--accent-strong);
    font-family: "Bahnschrift", "Segoe UI", sans-serif;
    font-size: 1.3rem;
    letter-spacing: 0.08em;
}

.workflow-item h3 {
    margin: 0 0 10px;
    font-size: 1.75rem;
    letter-spacing: -0.03em;
}

.workflow-item p {
    margin: 0;
}

.local-section {
    display: grid;
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
    gap: 36px;
    align-items: start;
}

.local-intro {
    position: sticky;
    top: 104px;
}

.local-points {
    border-top: 1px solid var(--line);
}

.local-point {
    padding: 22px 0 24px;
    border-bottom: 1px solid var(--line);
}

.local-point strong {
    display: block;
    font-size: 1.35rem;
    letter-spacing: -0.02em;
}

.local-point p {
    margin: 10px 0 0;
}

.formats-section h2 {
    max-width: none;
}

.format-marquee {
    margin-top: 30px;
    overflow: hidden;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.format-track {
    display: inline-flex;
    gap: 36px;
    min-width: max-content;
    padding: 18px 0;
    color: var(--muted);
    font-family: "Bahnschrift", "Segoe UI", sans-serif;
    font-size: 1.2rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    animation: marquee 24s linear infinite;
}

.closing-section {
    padding-bottom: 120px;
    text-align: center;
}

.closing-section h2 {
    max-width: 14ch;
    margin-inline: auto;
}

.closing-section p {
    max-width: 42rem;
    margin: 22px auto 34px;
}

.site-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 18px;
    padding: 28px 0 38px;
    border-top: 1px solid var(--line);
    color: var(--muted);
    font-size: 0.92rem;
    letter-spacing: 0.04em;
}

.site-footer span:nth-child(-n+4) {
    display: none;
}

[data-reveal] {
    opacity: 1;
    transform: translateY(0);
}

body.reveal-ready [data-reveal] {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 700ms ease, transform 700ms ease;
}

body.reveal-ready [data-reveal].is-visible {
    opacity: 1;
    transform: translateY(0);
}

@keyframes equalize {
    0%,
    100% {
        transform: scaleY(0.88);
    }
    50% {
        transform: scaleY(1.15);
    }
}

@keyframes pulse {
    0%,
    100% {
        transform: scale(1);
        opacity: 0.72;
    }
    50% {
        transform: scale(1.08);
        opacity: 1;
    }
}

@keyframes drift {
    0%,
    100% {
        transform: translate3d(0, 0, 0) rotate(0deg);
    }
    50% {
        transform: translate3d(10px, -10px, 0) rotate(2deg);
    }
}

@keyframes rise {
    0%,
    100% {
        transform: translateY(18%);
    }
    50% {
        transform: translateY(0);
    }
}

@keyframes sweep {
    0% {
        transform: translateX(-100%);
    }
    50%,
    100% {
        transform: translateX(110%);
    }
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

@media (max-width: 1080px) {
    .hero,
    .ai-showcase,
    .split-layout,
    .local-section {
        grid-template-columns: 1fr;
    }

    .hero {
        min-height: auto;
        padding-top: 6px;
    }

    .hero-stage {
        justify-self: start;
        width: min(100%, 620px);
    }

    .local-intro {
        position: static;
    }

    .workflow-list,
    .signal-strip {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 760px) {
    main {
        padding-inline: 18px;
    }

    .site-header {
        top: 10px;
        width: calc(100% - 18px);
        padding: 14px 16px;
        border-radius: 26px;
    }

    .site-nav {
        display: none;
    }

    .github-link {
        width: 40px;
        height: 40px;
        margin-left: 0;
    }

    .hero-copy h1 {
        max-width: none;
    }

    .store-download {
        width: 100%;
        padding: 16px;
    }

    .stage-console,
    .stage-preview {
        left: 5%;
        right: 5%;
    }

    .stage-console {
        padding: 18px 16px;
    }

    .console-row {
        flex-direction: column;
        gap: 4px;
    }

    .stem-rack {
        grid-template-columns: 1fr 1fr;
    }

    .signal-strip,
    .workflow-list {
        grid-template-columns: 1fr;
    }

    .signal-strip div {
        border-right: none;
        border-bottom: 1px solid var(--line);
    }

    .signal-strip div:last-child {
        border-bottom: none;
    }

    .mode-switch {
        width: 100%;
    }

    .mode-button {
        flex: 1 1 0;
        min-width: 0;
    }

    .workflow-item {
        grid-template-columns: 58px 1fr;
    }

    .split-stage {
        padding: 22px;
    }

    .split-lane {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .site-footer {
        flex-direction: column;
        padding-bottom: 32px;
    }
}

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

    *,
    *::before,
    *::after {
        animation: none !important;
        transition: none !important;
    }
}
