:root {
    --bg: #08090c;
    --bg-soft: #11131a;
    --panel: rgba(255, 255, 255, 0.07);
    --panel-strong: rgba(255, 255, 255, 0.11);
    --line: rgba(255, 255, 255, 0.13);
    --text: rgba(255, 255, 255, 0.94);
    --muted: rgba(255, 255, 255, 0.68);
    --dim: rgba(255, 255, 255, 0.48);
    --ember: #ff6b35;
    --ember-2: #ff9b54;
    --gold: #ffd166;
    --blue: #7db7ff;
    --radius: 28px;
    --radius-lg: 42px;
    --max: 1180px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    background:
        radial-gradient(circle at 16% 0%, rgba(255, 107, 53, 0.22), transparent 32rem),
        radial-gradient(circle at 88% 8%, rgba(125, 183, 255, 0.18), transparent 36rem),
        linear-gradient(180deg, #08090c 0%, #0d0f15 44%, #07080b 100%);
}

body {
    min-height: 100vh;
    margin: 0;
    color: var(--text);
    font-family: "Manrope", "Segoe UI", system-ui, sans-serif;
    line-height: 1.55;
    background:
        linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
    background-size: 52px 52px;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background:
        radial-gradient(circle at 50% 20%, rgba(255, 255, 255, 0.08), transparent 25rem),
        linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.44));
}

img {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
}

.site-header {
    position: sticky;
    top: 16px;
    z-index: 20;
    width: min(var(--max), calc(100% - 32px));
    margin: 16px auto 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 10px 10px 10px 14px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: rgba(9, 10, 13, 0.78);
    box-shadow: 0 18px 60px rgba(0, 0, 0, 0.42);
    backdrop-filter: blur(22px) saturate(1.25);
}

.brand,
.site-nav {
    display: flex;
    align-items: center;
}

.brand {
    gap: 10px;
    color: var(--text);
    text-decoration: none;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.brand-mark {
    display: flex;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    filter: drop-shadow(0 0 18px rgba(255, 107, 53, 0.48));
}

.brand-word {
    color: var(--ember);
}

.site-nav {
    gap: 4px;
    font-size: 0.92rem;
}

.site-nav a {
    padding: 10px 14px;
    border-radius: 999px;
    color: var(--muted);
    text-decoration: none;
    transition: color 180ms ease, background 180ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a[aria-current="page"] {
    color: var(--text);
    background: rgba(255, 255, 255, 0.08);
    outline: none;
}

.site-nav .nav-cta {
    color: #120905;
    font-weight: 800;
    background: linear-gradient(135deg, var(--ember), var(--gold));
}

main {
    overflow: hidden;
}

section,
.site-footer {
    width: min(var(--max), calc(100% - 36px));
    margin-inline: auto;
}

.hero {
    min-height: calc(100vh - 94px);
    display: grid;
    grid-template-columns: minmax(310px, 0.82fr) minmax(420px, 1.12fr);
    align-items: center;
    gap: 56px;
    padding: 70px 0 58px;
}

.hero-copy {
    position: relative;
    z-index: 2;
}

.eyebrow {
    margin: 0 0 14px;
    color: var(--ember-2);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

h1,
h2,
h3,
p {
    margin-top: 0;
}

h1,
h2 {
    letter-spacing: -0.052em;
    line-height: 0.98;
}

h1 {
    max-width: 560px;
    margin-bottom: 22px;
    font-size: clamp(2.6rem, 4.2vw, 4.7rem);
}

h1 span,
h2 em {
    font-family: "Instrument Serif", Georgia, serif;
    color: var(--gold);
    font-style: italic;
    letter-spacing: -0.03em;
}

h2 {
    margin-bottom: 18px;
    font-size: clamp(1.9rem, 3.1vw, 3.35rem);
}

h3 {
    margin-bottom: 10px;
    font-size: 1.1rem;
    letter-spacing: -0.02em;
}

.hero-lede,
.section-copy p,
.center-copy p,
.download-cta p,
.tech-hero p {
    color: var(--muted);
    font-size: clamp(1rem, 1.8vw, 1.25rem);
}

.hero-lede {
    max-width: 580px;
    margin-bottom: 28px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 0 20px;
    border-radius: 999px;
    font-weight: 800;
    text-decoration: none;
    transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button:hover,
.button:focus-visible {
    transform: translateY(-2px);
    outline: none;
}

.button-primary {
    color: #170904;
    background: linear-gradient(135deg, var(--ember), var(--gold));
    box-shadow: 0 18px 54px rgba(255, 107, 53, 0.32);
}

.button-secondary {
    color: var(--text);
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.07);
}

.hero-proof {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 28px;
}

.hero-proof span,
.tech-pill-grid span {
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 999px;
    padding: 8px 12px;
    color: var(--muted);
    background: rgba(255, 255, 255, 0.055);
}

.product-frame {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1500 / 1040;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: var(--radius);
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.14), transparent 28%),
        rgba(8, 9, 12, 0.92);
    box-shadow: 0 30px 90px rgba(0, 0, 0, 0.46);
    transform-style: preserve-3d;
    transition: transform 220ms ease, border-color 220ms ease;
}

.product-frame:has(img) {
    cursor: zoom-in;
}

.product-frame:focus-visible {
    outline: 3px solid rgba(255, 209, 102, 0.72);
    outline-offset: 5px;
}

.product-frame::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.16), transparent 22%, transparent 75%, rgba(255, 107, 53, 0.18));
    mix-blend-mode: screen;
}

.product-frame:hover {
    border-color: rgba(255, 209, 102, 0.38);
}

.product-frame img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.screenshot-lightbox {
    position: fixed;
    inset: 0;
    z-index: 100;
    display: grid;
    place-items: center;
    padding: 72px 22px 28px;
    background: rgba(3, 4, 7, 0.86);
    backdrop-filter: blur(18px) saturate(1.15);
}

.screenshot-lightbox[hidden] {
    display: none;
}

.lightbox-close {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 101;
    width: 48px;
    height: 48px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 999px;
    color: var(--text);
    cursor: pointer;
    font-size: 1.6rem;
    line-height: 1;
    background: rgba(255, 255, 255, 0.10);
    box-shadow: 0 16px 50px rgba(0, 0, 0, 0.45);
}

.lightbox-close:hover,
.lightbox-close:focus-visible {
    color: #120905;
    outline: none;
    background: linear-gradient(135deg, var(--ember), var(--gold));
}

.lightbox-image {
    width: min(96vw, 1680px);
    max-height: calc(100vh - 110px);
    object-fit: contain;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 24px;
    background: #08090c;
    box-shadow: 0 30px 100px rgba(0, 0, 0, 0.72);
}

body.lightbox-open {
    overflow: hidden;
}

.hero-frame {
    transform: perspective(1400px) rotateY(-5deg) rotateX(2deg);
}

.marquee {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: var(--line);
}

.marquee div {
    padding: 28px;
    background: rgba(255, 255, 255, 0.055);
}

.marquee strong,
.marquee span {
    display: block;
}

.marquee strong {
    margin-bottom: 5px;
    font-size: 1.2rem;
}

.marquee span {
    color: var(--muted);
}

.split-section,
.showcase-row,
.tech-hero {
    display: grid;
    grid-template-columns: minmax(280px, 0.88fr) minmax(0, 1.05fr);
    gap: 42px;
    align-items: center;
    padding: 130px 0 0;
}

.sticky-copy {
    align-self: start;
    position: sticky;
    top: 120px;
}

.section-copy p {
    max-width: 540px;
}

.text-link {
    color: var(--gold);
    font-weight: 800;
    text-decoration: none;
}

.library-slideshow {
    display: grid;
    gap: 16px;
}

.library-slideshow-topline,
.library-slide-tabs,
.library-slide-arrows {
    display: flex;
    align-items: center;
}

.library-slideshow-topline {
    justify-content: space-between;
    gap: 16px;
    color: var(--muted);
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.library-slide-arrows {
    gap: 8px;
}

.library-slide-arrows button,
.library-slide-tabs button {
    border: 1px solid rgba(255, 255, 255, 0.14);
    color: var(--muted);
    cursor: pointer;
    font: inherit;
    background: rgba(255, 255, 255, 0.06);
    transition: color 180ms ease, border-color 180ms ease, background 180ms ease, transform 180ms ease;
}

.library-slide-arrows button {
    width: 42px;
    height: 42px;
    border-radius: 999px;
    font-size: 1.45rem;
    line-height: 1;
}

.library-slide-arrows button:hover,
.library-slide-arrows button:focus-visible,
.library-slide-tabs button:hover,
.library-slide-tabs button:focus-visible,
.library-slide-tabs button.is-active {
    color: var(--text);
    border-color: rgba(255, 209, 102, 0.38);
    outline: none;
    background: rgba(255, 255, 255, 0.10);
}

.library-slide-stage {
    display: grid;
}

.library-slide {
    grid-area: 1 / 1;
}

.library-slide.is-active {
    animation: slide-in 360ms ease both;
}

.library-slide-tabs {
    flex-wrap: wrap;
    gap: 8px;
    padding: 8px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.045);
}

.library-slide-tabs button {
    flex: 1 1 auto;
    min-height: 42px;
    border-radius: 999px;
    padding: 0 14px;
}

@keyframes slide-in {
    from {
        opacity: 0;
        transform: translateY(14px) scale(0.985);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.shot-caption {
    position: absolute;
    left: 20px;
    right: 20px;
    bottom: 20px;
    z-index: 2;
    display: flex;
    justify-content: space-between;
    gap: 18px;
    padding: 14px 16px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 18px;
    background: rgba(8, 9, 12, 0.72);
    backdrop-filter: blur(18px);
}

.shot-caption span,
.library-slide-tabs button.is-active {
    color: var(--ember-2);
    font-weight: 800;
}

.center-copy {
    max-width: 760px;
    margin: 126px auto 34px;
    text-align: center;
}

.workflow-grid,
.stack-grid,
.tech-map {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.feature-card,
.stack-card,
.tech-map article,
.detail-list article {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 24px;
    background:
        radial-gradient(circle at 20% 0%, rgba(255, 107, 53, 0.12), transparent 16rem),
        rgba(255, 255, 255, 0.06);
}

.feature-number,
.tech-map span {
    display: inline-flex;
    margin-bottom: 34px;
    color: var(--ember-2);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.feature-card p,
.stack-card p,
.stack-card li,
.tech-map p,
.detail-list p {
    color: var(--muted);
}

.showcase-stack {
    padding-top: 110px;
}

.showcase-row.reverse {
    grid-template-columns: minmax(0, 1.18fr) minmax(280px, 0.82fr);
}

.showcase-row.reverse .section-copy {
    order: 2;
}

.dual-shot {
    position: relative;
    min-height: 430px;
}

.dual-shot .product-frame:first-child {
    width: 84%;
}

.inset-shot {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 44%;
}

.technology-teaser,
.download-cta,
.creator-section,
.tech-detail {
    margin-top: 128px;
    padding: 42px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: var(--radius-lg);
    background:
        radial-gradient(circle at 78% 24%, rgba(255, 209, 102, 0.18), transparent 24rem),
        radial-gradient(circle at 18% 0%, rgba(255, 107, 53, 0.18), transparent 24rem),
        rgba(255, 255, 255, 0.065);
}

.technology-teaser {
    display: grid;
    grid-template-columns: 0.88fr 1.2fr auto;
    gap: 24px;
    align-items: center;
}

.teaser-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: flex-end;
}

.tech-pill-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.download-cta {
    text-align: center;
}

.download-cta p {
    max-width: 690px;
    margin-inline: auto;
}

.download-cta .hero-actions {
    justify-content: center;
}

.creator-section {
    display: grid;
    grid-template-columns: 0.72fr 1.28fr;
    gap: 28px;
    align-items: start;
}

.creator-copy {
    position: sticky;
    top: 120px;
}

.creator-note {
    max-width: 560px;
    color: var(--muted);
    font-size: clamp(1rem, 1.6vw, 1.18rem);
}

.creator-note strong {
    color: var(--gold);
}

.creator-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.creator-card {
    position: relative;
    overflow: hidden;
    min-height: 210px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 22px;
    color: var(--text);
    cursor: pointer;
    text-align: left;
    background:
        linear-gradient(135deg, rgba(3, 4, 7, 0.92), rgba(3, 4, 7, 0.74)),
        rgba(255, 255, 255, 0.06);
    transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.creator-card::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
    background:
        radial-gradient(circle at 82% 0%, rgba(255, 209, 102, 0.18), transparent 14rem),
        radial-gradient(circle at 10% 0%, rgba(255, 107, 53, 0.18), transparent 16rem);
}

.creator-card::after {
    content: "";
    position: absolute;
    inset: 12px;
    pointer-events: none;
    z-index: 0;
    border-radius: calc(var(--radius) - 12px);
    background-image: var(--creator-bg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: 82%;
    opacity: 0.22;
    transition: opacity 180ms ease, transform 180ms ease;
}

.creator-card:hover,
.creator-card:focus-visible {
    border-color: rgba(255, 209, 102, 0.38);
    outline: none;
    transform: translateY(-3px);
    background:
        linear-gradient(135deg, rgba(3, 4, 7, 0.84), rgba(3, 4, 7, 0.62)),
        rgba(255, 255, 255, 0.10);
}

.creator-card:hover::after,
.creator-card:focus-visible::after {
    opacity: 0.32;
    transform: scale(1.03);
}

.creator-card span {
    position: relative;
    z-index: 2;
    display: inline-flex;
    margin-bottom: 34px;
    color: var(--ember-2);
    font-size: 0.76rem;
    font-weight: 900;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.creator-card strong {
    position: relative;
    z-index: 2;
    display: block;
    margin-bottom: 10px;
    font-size: clamp(1.45rem, 2.2vw, 2rem);
    line-height: 1.05;
    letter-spacing: -0.045em;
}

.creator-card p {
    position: relative;
    z-index: 2;
    margin: 0;
    color: var(--muted);
}

.creator-modal {
    position: fixed;
    inset: 0;
    z-index: 110;
    display: grid;
    place-items: center;
    padding: 24px;
    background: rgba(3, 4, 7, 0.86);
    backdrop-filter: blur(18px) saturate(1.15);
}

.creator-modal[hidden] {
    display: none;
}

.creator-modal-panel {
    position: relative;
    width: min(680px, 100%);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: var(--radius-lg);
    padding: 34px;
    background:
        radial-gradient(circle at 82% 20%, rgba(255, 209, 102, 0.18), transparent 22rem),
        radial-gradient(circle at 10% 0%, rgba(255, 107, 53, 0.18), transparent 22rem),
        #0b0d12;
    box-shadow: 0 30px 100px rgba(0, 0, 0, 0.72);
}

.creator-modal-close {
    position: absolute;
    top: 18px;
    right: 18px;
    width: 42px;
    height: 42px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 999px;
    color: var(--text);
    cursor: pointer;
    font-size: 1.35rem;
    line-height: 1;
    background: rgba(255, 255, 255, 0.10);
}

.creator-modal-close:hover,
.creator-modal-close:focus-visible {
    color: #120905;
    outline: none;
    background: linear-gradient(135deg, var(--ember), var(--gold));
}

.creator-modal-type {
    display: inline-flex;
    margin-bottom: 18px;
    color: var(--ember-2);
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.creator-modal-title {
    margin-right: 44px;
}

.creator-modal-description,
.creator-modal-detail {
    color: var(--muted);
    font-size: 1.05rem;
}

.creator-modal-status {
    display: inline-flex;
    margin-top: 22px;
    border: 1px solid rgba(255, 209, 102, 0.34);
    border-radius: 999px;
    padding: 8px 12px;
    color: var(--gold);
    font-weight: 900;
}

.creator-modal-link {
    display: inline-flex;
    margin-left: 10px;
    margin-top: 22px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 999px;
    padding: 8px 12px;
    color: var(--text);
    font-weight: 900;
    text-decoration: none;
    background: rgba(255, 255, 255, 0.08);
}

.creator-modal-link:hover,
.creator-modal-link:focus-visible {
    color: #120905;
    outline: none;
    background: linear-gradient(135deg, var(--ember), var(--gold));
}

.creator-modal-link[hidden] {
    display: none;
}

.creator-modal-open {
    overflow: hidden;
}

.site-footer {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 18px;
    padding: 54px 0 34px;
    color: var(--dim);
}

.site-footer a {
    color: var(--muted);
    text-decoration: none;
}

.tech-hero {
    padding-top: 88px;
}

.tech-hero h1 {
    max-width: 620px;
    font-size: clamp(2.55rem, 4.2vw, 4.3rem);
}

.tech-map {
    padding-top: 52px;
}

.stack-card ul {
    display: grid;
    gap: 8px;
    margin: 20px 0 0;
    padding-left: 18px;
}

.highlight-card {
    background:
        radial-gradient(circle at 12% 0%, rgba(125, 183, 255, 0.15), transparent 18rem),
        rgba(255, 255, 255, 0.06);
}

.tech-detail {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 28px;
}

.detail-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.support-hero {
    min-height: calc(100vh - 120px);
    display: grid;
    grid-template-columns: minmax(320px, 0.95fr) minmax(360px, 0.85fr);
    gap: 44px;
    align-items: center;
    padding: 86px 0 54px;
}

.support-hero h1 {
    max-width: 720px;
    font-size: clamp(2.55rem, 4.4vw, 4.55rem);
}

.support-hero p {
    max-width: 680px;
    color: var(--muted);
    font-size: clamp(1rem, 1.7vw, 1.22rem);
}

.compatibility-proof {
    display: grid;
    gap: 14px;
}

.compatibility-proof article,
.source-panel,
.format-panel,
.popular-sites-panel {
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: var(--radius-lg);
    background:
        radial-gradient(circle at 82% 18%, rgba(255, 209, 102, 0.14), transparent 20rem),
        radial-gradient(circle at 12% 0%, rgba(255, 107, 53, 0.16), transparent 18rem),
        rgba(255, 255, 255, 0.065);
}

.compatibility-proof article {
    padding: 26px;
}

.compatibility-proof span,
.format-matrix span {
    display: block;
    color: var(--ember-2);
    font-weight: 900;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.compatibility-proof strong {
    display: block;
    margin: 4px 0 8px;
    font-size: clamp(1.55rem, 3vw, 2.35rem);
    line-height: 1;
    letter-spacing: -0.05em;
}

.compatibility-proof p {
    margin: 0;
    font-size: 0.98rem;
}

.compact-center-copy {
    margin-top: 92px;
}

.support-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.support-card {
    min-height: 300px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 24px;
    background:
        radial-gradient(circle at 20% 0%, rgba(255, 107, 53, 0.12), transparent 16rem),
        rgba(255, 255, 255, 0.06);
}

.support-card h3 {
    display: block;
    margin-top: 18px;
    font-size: clamp(1.25rem, 1.8vw, 1.75rem);
    line-height: 1.08;
}

.support-card p,
.format-panel p,
.source-panel p,
.popular-sites-panel p,
.site-example-grid p {
    color: var(--muted);
}

.support-card a,
.source-links a {
    color: var(--gold);
    font-weight: 800;
    text-decoration: none;
}

.support-card a {
    margin-top: auto;
}

.tech-icon {
    display: inline-grid;
    width: 38px;
    height: 38px;
    flex: 0 0 auto;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 12px;
    color: #fff;
    font-size: 1.05rem;
    background: rgba(255, 255, 255, 0.08);
}

.format-panel,
.source-panel,
.popular-sites-panel {
    display: grid;
    grid-template-columns: 0.74fr 1.26fr;
    gap: 28px;
    margin-top: 128px;
    padding: 42px;
}

.format-matrix,
.source-links,
.site-example-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.format-matrix article,
.site-example-grid article {
    padding: 20px;
    border-radius: 22px;
}

.format-matrix span,
.site-example-grid span {
    margin-bottom: 8px;
    font-size: 0.76rem;
}

.format-matrix p,
.site-example-grid p {
    margin: 0;
}

.site-example-grid article {
    border: 1px solid var(--line);
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.075), transparent 64%),
        rgba(8, 9, 12, 0.30);
}

.site-example-grid span {
    display: block;
    color: var(--ember-2);
    font-weight: 900;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.source-links a {
    display: grid;
    gap: 6px;
    min-height: 126px;
    padding: 22px;
    border: 1px solid var(--line);
    border-radius: 24px;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.09), transparent 62%),
        rgba(8, 9, 12, 0.34);
    transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.source-links a:hover,
.source-links a:focus-visible {
    color: var(--text);
    border-color: rgba(255, 209, 102, 0.38);
    outline: none;
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.10);
}

.section-reveal {
    opacity: 1;
    transform: translateY(0);
    animation: section-in 720ms ease both;
}

.section-reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@keyframes section-in {
    from {
        opacity: 0;
        transform: translateY(22px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 980px) {
    .site-header {
        align-items: flex-start;
        border-radius: 26px;
    }

    .site-nav {
        flex-wrap: wrap;
        justify-content: flex-end;
    }

    .hero,
    .split-section,
    .showcase-row,
    .showcase-row.reverse,
    .tech-hero,
    .support-hero,
    .technology-teaser,
    .creator-section,
    .tech-detail,
    .format-panel,
    .source-panel,
    .popular-sites-panel {
        grid-template-columns: 1fr;
    }

    .hero {
        min-height: auto;
        padding-top: 62px;
    }

    .hero-frame {
        min-height: 420px;
        transform: none;
    }

    .sticky-copy {
        position: static;
    }

    .showcase-row.reverse .section-copy {
        order: 0;
    }

    .workflow-grid,
    .stack-grid,
    .support-grid,
    .tech-map,
    .detail-list {
        grid-template-columns: 1fr;
    }

    .technology-teaser {
        align-items: start;
    }

    .creator-copy {
        position: static;
    }

    .teaser-actions {
        justify-content: flex-start;
    }
}

@media (max-width: 680px) {
    .site-header,
    .site-nav {
        display: grid;
    }

    .site-header {
        position: static;
    }

    .site-nav {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .site-nav a {
        text-align: center;
    }

    h1 {
        font-size: clamp(2.3rem, 9.5vw, 3.25rem);
    }

    h2 {
        font-size: clamp(1.8rem, 7.5vw, 2.65rem);
    }

    .marquee {
        grid-template-columns: 1fr;
    }

    .library-slideshow-topline {
        align-items: flex-start;
        flex-direction: column;
    }

    .library-slide-tabs {
        border-radius: 24px;
    }

    .library-slide-tabs button {
        flex: 1 1 30%;
    }

    .support-hero {
        min-height: auto;
        padding-top: 62px;
    }

    .compatibility-proof strong {
        font-size: 1.85rem;
    }

    .format-panel,
    .source-panel,
    .popular-sites-panel {
        padding: 26px;
        border-radius: 28px;
    }

    .format-matrix,
    .source-links,
    .site-example-grid,
    .creator-grid {
        grid-template-columns: 1fr;
    }

    .large-shot,
    .dual-shot,
    .dual-shot .product-frame:first-child,
    .inset-shot {
        min-height: auto;
    }

    .inset-shot {
        position: relative;
        width: 100%;
        margin-top: 14px;
    }

    .shot-caption {
        position: relative;
        left: auto;
        right: auto;
        bottom: auto;
        margin: 12px;
        display: block;
    }

    .technology-teaser,
    .download-cta,
    .creator-section,
    .tech-detail {
        padding: 26px;
    }

    .creator-modal-panel {
        padding: 28px;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.001ms !important;
        animation-duration: 0.001ms !important;
    }
}
