:root:not([data-theme]), :root[data-theme="obsidian"] {
      --bg-canvas: #09090B;
      --bg-surface: rgba(18, 18, 21, 0.78);
      --bg-surface-solid: #121215;
      --bg-elevated: rgba(28, 28, 34, 0.85);
      --text-primary: #F8FAFC;
      --text-secondary: #94A3B8;
      --text-muted: #64748B;
      --border-subtle: rgba(255, 255, 255, 0.08);
      --border-hover: rgba(56, 189, 248, 0.5);
      --accent-primary: #38BDF8;
      --accent-secondary: #6366F1;
      --accent-glow: rgba(56, 189, 248, 0.18);
      --grid-color: rgba(255, 255, 255, 0.03);
      --grid-size: 48px;
      --shadow-card: 0 24px 48px -12px rgba(0, 0, 0, 0.65);
      --pill-bg: rgba(18, 18, 21, 0.82);
    }

    :root[data-theme="spatial"] {
      --bg-canvas: #F8FAFC;
      --bg-surface: rgba(255, 255, 255, 0.82);
      --bg-surface-solid: #FFFFFF;
      --bg-elevated: rgba(241, 245, 249, 0.92);
      --text-primary: #0F172A;
      --text-secondary: #475569;
      --text-muted: #64748B;
      --border-subtle: rgba(15, 23, 42, 0.08);
      --border-hover: rgba(99, 102, 241, 0.45);
      --accent-primary: #0284C7;
      --accent-secondary: #4F46E5;
      --accent-glow: rgba(99, 102, 241, 0.12);
      --grid-color: rgba(15, 23, 42, 0.035);
      --grid-size: 48px;
      --shadow-card: 0 20px 40px -15px rgba(15, 23, 42, 0.08);
      --pill-bg: rgba(255, 255, 255, 0.86);
    }

    :root[data-theme="blueprint"] {
      --bg-canvas: #060D1A;
      --bg-surface: rgba(10, 22, 42, 0.84);
      --bg-surface-solid: #0A162A;
      --bg-elevated: rgba(15, 34, 64, 0.9);
      --text-primary: #E0F2FE;
      --text-secondary: #7DD3FC;
      --text-muted: #38BDF8;
      --border-subtle: rgba(56, 189, 248, 0.22);
      --border-hover: rgba(56, 189, 248, 0.75);
      --accent-primary: #38BDF8;
      --accent-secondary: #22D3EE;
      --accent-glow: rgba(56, 189, 248, 0.24);
      --grid-color: rgba(56, 189, 248, 0.11);
      --grid-size: 32px;
      --shadow-card: 0 0 0 1px rgba(56, 189, 248, 0.15), 0 20px 40px -15px rgba(2, 6, 23, 0.8);
      --pill-bg: rgba(10, 22, 42, 0.9);
    }

/* Prototype palette and glass surfaces, applied to the native storefront. */
:root { color-scheme: dark; }
:root[data-theme="spatial"] { color-scheme: light; }
:root[data-theme="obsidian"], :root[data-theme="blueprint"] { color-scheme: dark; }

body {
    --grid-pattern: linear-gradient(to right, var(--grid-color) 1px, transparent 1px),
                    linear-gradient(to bottom, var(--grid-color) 1px, transparent 1px);
    background-color: var(--bg-canvas);
    background-image: var(--grid-pattern);
    background-size: var(--grid-size) var(--grid-size);
    color: var(--text-primary);
    font-family: Inter, -apple-system, BlinkMacSystemFont, sans-serif;
    transition: background-color .35s ease, color .35s ease;
}

:root[data-theme="blueprint"] { background-color: var(--bg-canvas); }
[data-theme="blueprint"] body {
    background: transparent;
    transition-property: color;
}
[data-theme="blueprint"] body::before {
    position: fixed;
    z-index: -1;
    inset: 0;
    pointer-events: none;
    background-image: var(--grid-pattern);
    background-size: var(--grid-size) var(--grid-size);
    content: "";
}

.font-display, .osf-catalog .title, .osf-product .product-title {
    font-family: "Space Grotesk", sans-serif;
    letter-spacing: -.03em;
}

.font-mono-tech { font-family: "JetBrains Mono", monospace; }

.glass-panel, .floating-pill {
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    box-shadow: var(--shadow-card);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
}

.floating-pill {
    background: var(--pill-bg);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
}

.glass-card {
    transition: border-color .25s ease, transform .25s ease, background-color .35s ease;
}

.glass-card:hover, .glass-card:focus-within {
    border-color: var(--border-hover);
    transform: translateY(-2px);
}

.crosshair-card { position: relative; }
[data-theme="blueprint"] .crosshair-card::before,
[data-theme="blueprint"] .crosshair-card::after {
    position: absolute;
    pointer-events: none;
    color: var(--accent-primary);
    content: "+";
    font: 12px "JetBrains Mono", monospace;
}
[data-theme="blueprint"] .crosshair-card::before { inset: 8px auto auto 10px; }
[data-theme="blueprint"] .crosshair-card::after { inset: auto 10px 8px auto; }

.btn-gradient, .osf-product .product-box-add-to-cart-button {
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    color: #fff;
    box-shadow: 0 8px 24px -6px var(--accent-glow);
}

.osf-header {
    position: sticky;
    inset-block-start: 1rem;
    z-index: 40;
    inline-size: min(calc(100% - 2rem), 80rem);
    margin-block: 1rem;
    margin-inline: auto;
    background: transparent;
}
.osf-header-pill {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: .5rem 1rem;
    border-radius: 2rem;
    padding: .5rem 1rem;
}
.osf-header .header-upper, .osf-header .header-lower {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: .5rem 1rem;
    margin: 0;
    border: 0;
    padding: 0;
}
.osf-header .header-upper { order: 2; margin-inline-start: auto; }
.osf-header .header-lower { order: 1; }
.osf-header .header-links-wrapper, .osf-header .header-links, .osf-header .header-selectors-wrapper {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: .5rem;
    float: none;
    margin: 0;
    padding: 0;
}
.osf-header .header-links-wrapper { position: relative; }
.osf-header .header-links ul { display: flex; flex-wrap: wrap; gap: .5rem; }
.osf-header .header-links li { margin: 0; }
.osf-header .header-links a, .osf-header #topcartlink { color: var(--text-primary); }
.osf-header #topcartlink { background: var(--bg-elevated); }
.osf-header input[type="text"], .osf-header select {
    border: 1px solid var(--border-subtle);
    background: var(--bg-surface-solid);
    color: var(--text-primary);
}
.osf-header .skip:focus { z-index: 2; }
.osf-theme-switch {
    display: inline-flex;
    flex-wrap: wrap;
    gap: .15rem;
    border: 1px solid var(--border-subtle);
    border-radius: 999px;
    padding: .2rem;
    background: var(--bg-elevated);
}
.osf-theme-switch button {
    border: 0;
    border-radius: 999px;
    padding: .35rem .5rem;
    background: transparent;
    color: var(--text-secondary);
    font: inherit;
    font-size: .7rem;
}
.osf-theme-switch button[aria-pressed="true"] {
    background: var(--bg-surface-solid);
    color: var(--accent-primary);
}
.osf-mega-slot:empty { display: none; }
.osf-mega-slot > nav, .osf-mega-slot > .top-menu {
    margin-block-start: .4rem;
    border-radius: 1.25rem;
    background: var(--pill-bg);
}
/* The stock main menu remains usable when Ultimate Mega Menu renders nothing. */
.master-wrapper-page:has(.osf-mega-slot .top-menu.notmobile) > .header-menu {
    display: none;
}
.master-wrapper-page > .header-menu {
    border-color: var(--border-subtle);
    background: var(--pill-bg);
}
.master-wrapper-page > .header-menu .menu__link,
.master-wrapper-page > .header-menu .menu__toggle { color: var(--text-primary); }

.osf-home { max-inline-size: 80rem; margin-inline: auto; overflow: visible; }
.osf-hero {
    display: grid;
    gap: clamp(1.5rem, 4vw, 2.5rem);
    align-items: center;
    padding-block: clamp(2.5rem, 7vw, 5rem);
    text-align: start;
    background: radial-gradient(ellipse at 80% 40%, var(--accent-glow), transparent 55%);
}
.osf-home-slider:empty { display: none; }
.osf-home-slider { min-inline-size: 0; }
.osf-hero-copy { max-inline-size: 37rem; }
.osf-hero .osf-kicker {
    display: inline-block;
    border: 1px solid var(--border-subtle);
    border-radius: 999px;
    padding: .35rem .8rem;
    background: var(--bg-surface);
    color: var(--accent-primary);
    font-size: .75rem;
}
.osf-hero h1 {
    margin: .85rem 0;
    color: var(--text-primary);
    font-size: clamp(2.25rem, 5vw, 3.25rem);
    line-height: 1.08;
}
.osf-hero h1 span {
    color: var(--accent-primary);
    background: linear-gradient(90deg, var(--accent-primary), var(--accent-secondary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.osf-hero p { color: var(--text-secondary); font-size: 1.075rem; line-height: 1.65; }
.osf-hero .btn-gradient {
    display: inline-block;
    border-radius: 999px;
    padding: .8rem 1.35rem;
    font-size: .9rem;
    font-weight: 600;
}
.osf-home .topic-block { color: var(--text-secondary); }
.osf-catalog { scroll-margin-block-start: 9rem; margin-block: 3rem; }
.osf-catalog .title { color: var(--text-primary); border: 0; font-size: clamp(1.75rem, 3vw, 2.25rem); }
.osf-catalog .item-grid {
    display: grid;
    grid-template-columns: minmax(0,1fr);
    gap: 1.5rem;
    overflow: visible;
}
.osf-catalog .item-grid::after { display: none; }
.osf-catalog .item-grid .item-box {
    float: none;
    inline-size: auto;
    min-inline-size: 0;
    margin: 0;
    padding: 0;
}
.osf-product {
    display: flex;
    flex-direction: column;
    block-size: 100%;
    border-radius: 1.5rem;
    padding: clamp(1rem, 3vw, 2rem);
    text-align: start;
}
.osf-product .picture { border-radius: .85rem; overflow: hidden; }
.osf-product .details { flex: 1; color: var(--text-secondary); }
.osf-product .product-title, .osf-product .actual-price { color: var(--text-primary); }
.osf-product .product-title a { color: inherit; }
.osf-product .description { color: var(--text-secondary); }
.osf-product .buttons { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; }
.osf-product .buttons button, .osf-demo-link { border-radius: 999px; }
.osf-demo-link {
    border: 1px solid var(--border-subtle);
    padding: .65rem .9rem;
    color: var(--accent-primary);
}
.osf-product-badges { display: flex; flex-wrap: wrap; gap: .4rem; margin-block: .6rem; }
.osf-product-badges li {
    border: 1px solid var(--border-subtle);
    border-radius: 999px;
    padding: .2rem .6rem;
    background: var(--bg-elevated);
    color: var(--accent-primary);
    font-size: .72rem;
}
.osf-header :focus-visible, .osf-home :focus-visible, .osf-product :focus-visible {
    outline: 2px solid var(--accent-primary);
    outline-offset: 3px;
}

@media (min-width: 48rem) {
    .osf-catalog .item-grid { grid-template-columns: repeat(12, minmax(0, 1fr)); }
    .osf-catalog .item-grid > .item-box:nth-child(4n + 1),
    .osf-catalog .item-grid > .item-box:nth-child(4n + 4) { grid-column: span 7; }
    .osf-catalog .item-grid > .item-box:nth-child(4n + 2),
    .osf-catalog .item-grid > .item-box:nth-child(4n + 3) { grid-column: span 5; }
}
@media (min-width: 64rem) {
    .osf-hero { grid-template-columns: minmax(0,5fr) minmax(0,7fr); }
}
@media (max-width: 47.99rem) {
    .osf-header { inset-block-start: .35rem; }
    .osf-header-pill { border-radius: 1.25rem; }
    .osf-header .header-upper { margin-inline-start: 0; }
    .osf-header .header-links { max-inline-size: 100%; }
}
@media (prefers-reduced-motion: reduce) {
    body, .glass-card { transition: none; }
    .glass-card:hover, .glass-card:focus-within { transform: none; }
}

.osf-catalog .osf-product .description[data-short-description] { display: block; }

.osf-header .header-lower { inline-size: auto; min-inline-size: 0; flex: 1 1 auto; justify-content: space-between; }
.osf-header .header-upper { flex: 0 1 auto; min-inline-size: 0; }
.osf-header .header-selectors-wrapper:empty, .osf-header .header-upper::after { display: none; }
.osf-header .header-links a, .osf-header .header-links span { line-height: 1.45; text-transform: none; }
.osf-header #topcartlink {
    inline-size: auto;
    margin: 0;
    border: 1px solid var(--border-subtle);
    border-radius: 999px;
    padding: .44rem .62rem;
}
.osf-header #topcartlink a { padding-inline-start: 0; background: none; }
.osf-brand, .osf-brand-type, .osf-header-nav { display: flex; }
.osf-brand { align-items: center; gap: .65rem; text-align: start; color: var(--text-primary); }
.osf-brand-icon {
    display: grid;
    place-items: center;
    inline-size: 2.4rem;
    block-size: 2.4rem;
    border-radius: 50%;
    background: linear-gradient(135deg, #0369a1, #4f46e5);
    box-shadow: 0 4px 12px var(--accent-glow);
    color: white;
    font-size: .8rem;
    font-weight: 700;
}
.osf-brand-type { flex-direction: column; }
.osf-brand-type strong { font-size: 1.16rem; line-height: 1.1; }
.osf-brand-type strong span { color: var(--accent-secondary); }
.osf-brand-type small { color: var(--text-secondary); font-size: .66rem; }
.osf-header-nav {
    flex-wrap: wrap;
    align-items: center;
    gap: .45rem clamp(.85rem, 2vw, 1.6rem);
    color: var(--text-secondary);
    font-size: .82rem;
    font-weight: 600;
}
.osf-header-nav a:hover, .osf-showcase-link:hover, .osf-secondary-action:hover { text-decoration: underline; }

.osf-hero {
    min-inline-size: 0;
    background: radial-gradient(ellipse at 76% 47%, var(--accent-glow), transparent 62%);
}
.osf-hero h1 { font-size: clamp(2.5rem, 5.2vw, 4.65rem); line-height: .99; letter-spacing: -.06em; }
.osf-hero-copy > p:not(.osf-kicker) { max-inline-size: 34rem; }
.osf-hero .osf-kicker { display: inline-flex; align-items: center; gap: .5rem; color: var(--text-secondary); }
.osf-kicker span {
    inline-size: .46rem;
    block-size: .46rem;
    border-radius: 50%;
    background: #10b981;
    box-shadow: 0 0 0 .22rem rgba(16, 185, 129, .15);
}
.osf-hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: .65rem; margin-block-start: 1.3rem; }
.osf-hero .btn-gradient { background: linear-gradient(135deg, #0369a1, #4f46e5); }
.osf-secondary-action {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    padding: .75rem 1rem;
    border: 1px solid var(--border-subtle);
    border-radius: 999px;
    background: var(--bg-surface);
    color: var(--text-primary);
    font-weight: 600;
    font-size: .9rem;
}

.osf-showcase {
    min-inline-size: 0;
    border-radius: 1.4rem;
    box-shadow: 0 30px 65px -32px var(--accent-secondary), var(--shadow-card);
}
.osf-showcase-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: .45rem .75rem;
    padding: .9rem 1.15rem;
    border-block-end: 1px solid var(--border-subtle);
    border-radius: 1.4rem 1.4rem 0 0;
    background: var(--bg-elevated);
}
.osf-showcase-bar h2, .osf-showcase-platform { color: var(--text-secondary); font-size: .7rem; }
.osf-showcase-dots { display: flex; gap: .3rem; }
.osf-showcase-dots i { inline-size: .5rem; block-size: .5rem; border-radius: 50%; background: #fb7185; }
.osf-showcase-dots i:nth-child(2) { background: #fbbf24; }
.osf-showcase-dots i:nth-child(3) { background: #34d399; }
.osf-showcase-tabs {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: .35rem;
    padding: clamp(.6rem, 1vw, 1rem);
    border-block-end: 1px solid var(--border-subtle);
}
.osf-showcase-tabs button {
    border: 1px solid transparent;
    border-radius: .58rem;
    padding: .55rem .12rem;
    color: var(--text-secondary);
    background: transparent;
    font: 600 clamp(.64rem, 1.4vw, .82rem) Inter, sans-serif;
    cursor: pointer;
}
.osf-showcase-tabs button:hover { background: var(--bg-elevated); }
.osf-showcase-tabs button[aria-selected="true"] {
    border-color: var(--border-hover);
    background: var(--accent-glow);
    color: var(--text-primary);
}
.osf-showcase-panel { padding: clamp(1.1rem, 3vw, 2rem); }
.osf-showcase-panel[hidden] { display: none; }
.osf-showcase-panel h3 { margin-block: .4rem; font-size: clamp(1.45rem, 3vw, 2.05rem); }
.osf-showcase-panel p { font-size: .92rem; }
.osf-showcase-panel .osf-showcase-category, .osf-catalog-intro > .font-mono-tech {
    color: var(--text-secondary);
    font-size: .7rem;
    letter-spacing: .1em;
    text-transform: uppercase;
}
.osf-showcase-features { display: flex; flex-wrap: wrap; gap: .4rem; margin-block: .9rem 1.1rem; }
.osf-showcase-features li {
    padding: .28rem .58rem;
    border: 1px solid var(--border-subtle);
    border-radius: .45rem;
    background: var(--bg-elevated);
    color: var(--text-secondary);
    font-size: .72rem;
}
.osf-showcase-link { display: inline-block; color: var(--text-primary); font-size: .86rem; font-weight: 700; }

.osf-catalog-intro { margin-block-end: 1.5rem; text-align: start; }
.osf-catalog-intro h2 { margin-block: .35rem; font-size: clamp(1.8rem, 4.5vw, 3.25rem); }
.osf-catalog-intro p { color: var(--text-secondary); }
.osf-catalog .product-grid.home-page-product-grid > .title { display: none; }

.master-wrapper-page > .header-menu {
    inline-size: min(calc(100% - 2rem), 75rem);
    max-inline-size: none;
    margin-block-end: 1rem;
    border: 1px solid var(--border-subtle);
    border-radius: 1rem;
}
.master-wrapper-page > .header-menu .menu__item { background: transparent; }
.master-wrapper-page > .header-menu .menu__item:not(:last-child) { border-color: var(--border-subtle); }
.master-wrapper-page > .header-menu .menu__toggle {
    border: 0;
    border-radius: 1rem;
    background: var(--bg-elevated);
    text-align: start;
    text-transform: none;
}
.master-wrapper-page > .header-menu .menu__toggle::after {
    content: "";
    float: inline-end;
    inline-size: .92rem;
    block-size: .74rem;
    margin-top: .13rem;
    border-block: 2px solid currentColor;
    background: linear-gradient(currentColor, currentColor) center / 100% 2px no-repeat;
}
@media (max-width: 47.99rem) {
    .osf-header { position: relative; inset-block-start: auto; }
    .osf-header .header-lower { flex-basis: 100%; gap: .7rem; }
    .osf-header .header-upper { justify-content: flex-start; }
    .osf-header .header-links { justify-content: flex-start; }
    .osf-header .header-links > ul { align-items: center; }
    .osf-hero { padding-block-start: 1.5rem; }
    .osf-catalog { scroll-margin-block-start: 1rem; }
}
:root { --border-hairline: var(--border-subtle); --osf-ease: cubic-bezier(.16,1,.3,1); }
.osf-header-pill { position: relative; }
.osf-header .header-lower { position: static; }
.ext-mega summary { display: flex; align-items: center; gap: .4rem; min-height: 2rem; list-style: none; cursor: pointer; }
.ext-mega summary::-webkit-details-marker { display: none; }
.ext-mega-panel {
    position: absolute; z-index: 4; inset-block-start: calc(100% + .35rem); inset-inline: 0;
    margin-inline: auto; inline-size: min(calc(100% - 1rem),920px); padding: .85rem;
    max-block-size: 68dvh; overflow: auto; border-radius: 1.2rem; color: var(--text-primary);
    background: var(--bg-surface-solid); text-align: start;
}
.ext-mega-grid { display: grid; grid-template-columns: minmax(0,38fr) minmax(0,62fr); gap: .8rem; }
.ext-mega-list { display: grid; gap: .3rem; }
.ext-mega-item { display: flex; align-items: center; gap: .55rem; padding: .58rem; border: 1px solid transparent; border-radius: .65rem; }
.ext-mega-item.is-active { border-color: var(--border-hover); background: var(--accent-glow); }
.ext-mega-item small { display: block; color: var(--text-secondary); }
.ext-item-icon { font-size: 1.15rem; color: var(--accent-primary); }
.ext-version { margin-inline-start: auto; font-size: .65rem; white-space: nowrap; }
.ext-mega-preview { min-inline-size: 0; padding: .8rem; border: 1px solid var(--border-hairline); border-radius: .8rem; background: var(--bg-elevated); }
.ext-mega-preview[hidden], .demo-showcase [hidden] { display: none; }
.ext-preview-top { display: flex; justify-content: space-between; gap: .5rem; }
.ext-mega-preview p, .ext-preview-top, .fp-copy p, .fp-ecosystem-card p, .demo-showcase p { color: var(--text-secondary); }
.ext-mega-preview h2 { margin: .55rem 0 .35rem; font-size: 1.3rem; }
.ext-preview-actions, .ext-preview-tags, .fp-menu-options { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem; margin-block-start: .55rem; }
.ext-preview-tags li, .ext-preview-pricing, .fp-menu-options span { padding: .23rem .42rem; border: 1px solid var(--border-hairline); border-radius: .38rem; font-size: .72rem; }
.ext-preview-actions a, .fp-action, .demo-showcase button, .demo-showcase a {
    display: inline-flex; gap: .35rem; border: 1px solid var(--border-hairline); border-radius: .55rem;
    padding: .42rem .65rem; background: var(--bg-surface-solid); color: var(--text-primary); cursor: pointer;
}
.ext-preview-actions .ext-view-details, .demo-showcase [aria-pressed="true"] { border-color: var(--border-hover); background: var(--accent-glow); }
.ext-preview-visual { display: flex; gap: .4rem; align-items: center; justify-content: center; padding: .55rem; border: 1px solid var(--border-hairline); border-radius: .7rem; background: radial-gradient(ellipse at 90% 10%,var(--accent-glow),transparent),var(--bg-surface); }
.ext-preview-visual span { flex: 1; max-width: 6rem; height: 2.45rem; border-radius: .35rem; border: 1px solid var(--border-hover); background: var(--accent-glow); }
.ext-visual-menu span { background: repeating-linear-gradient(var(--accent-glow) 0 5px,transparent 5px 10px); }
.ext-visual-slider span:nth-child(2) { height: 3.5rem; max-width: 9rem; flex-grow: 2; }
.ext-visual-fullpage, .ext-visual-app { flex-direction: column; }
.ext-visual-fullpage span, .ext-visual-app span { flex: none; width: 6rem; height: .7rem; }
.ext-visual-app span { width: 2.7rem; }
.ext-visual-app span:nth-child(2) { height: 1.4rem; }
.master-wrapper-page:has(.ext-mega[data-enhanced]) > .header-menu { display: none; }
@media (max-width: 730px) {
    .ext-mega-grid { grid-template-columns: 1fr; }
    .ext-mega-list { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .ext-mega-item { padding: .4rem; border-radius: 1rem; }
    .ext-mega-item small, .ext-item-icon, .ext-version { display: none; }
}

.fp-stage .fp-section { position: relative; display: grid; align-content: center; padding-block: clamp(3rem,8vw,6rem); scroll-margin-block-start: 5.25rem; margin: 0; }
.fp-stage .osf-hero { grid-template-columns: 1fr; }
.fp-split { gap: clamp(1.25rem,5vw,4.2rem); align-items: center; }
.fp-copy { text-align: start; }
.fp-copy h2 { margin: .55rem 0 .7rem; font-size: clamp(2rem,5vw,3.9rem); line-height: 1.03; letter-spacing: -.05em; color: var(--text-primary); }
.fp-eyebrow { font-size: .76rem; }
.fp-type { display: inline-block; }
.fp-action { margin-block-start: .8rem; }
.fp-menu, .fp-media, .fp-ecosystem-card { border-radius: 1.25rem; text-align: start; }
.fp-menu-example { padding: .9rem; }
.fp-menu-example summary { cursor: pointer; }
.fp-menu-columns { display: grid; grid-template-columns: repeat(3,1fr); gap: .32rem; margin-block-start: .65rem; }
.fp-menu-columns > div { display: grid; gap: .35rem; min-width: 0; padding: .55rem; border: 1px solid var(--border-hairline); border-radius: .55rem; overflow-wrap: anywhere; }
.fp-menu-columns span { color: var(--text-secondary); }
.fp-menu-options { padding: 0 .9rem .9rem; }
.fp-media-fallback, .fp-ecosystem-card { padding: clamp(1rem,4vw,2rem); }
.fp-media-fallback { min-height: 12rem; display: grid; align-content: end; background: radial-gradient(ellipse at 80% 15%,var(--accent-glow),transparent 65%); }
.fp-media-fallback .font-display { font-size: 2rem; }
.fp-media:has(.osf-home-slider > *) .fp-media-fallback { display: none; }
.fp-ecosystem-card h3 { font-size: 1.4rem; }
.fp-phone, .fp-sequence { display: grid; align-content: center; gap: .35rem; margin-block-end: 1rem; padding: .45rem; width: 5rem; min-height: 6rem; border: 2px solid var(--border-hover); border-radius: .75rem; }
.fp-phone i, .fp-sequence i { block-size: .65rem; border-radius: .2rem; background: var(--accent-glow); border: 1px solid var(--border-hairline); }
.fp-phone i:nth-child(2), .fp-sequence i:nth-child(2) { block-size: 1.4rem; border-color: var(--border-hover); }
.fp-nav-rail { display: none; }
.fp-buy { position: sticky; display: inline-block; top: 1rem; margin-block: .3rem; z-index: 40; border: 1px solid var(--border-hairline); border-radius: 2rem; background: var(--bg-surface-solid); padding: .38rem .65rem; color: var(--text-primary); }
@media (min-width: 992px) and (min-height: 650px) and (hover:hover) and (pointer:fine) {
    .onlineshop-fullpage .master-wrapper-page { padding-block-start: 5rem; }
    .onlineshop-fullpage .osf-header { position: fixed; inset: 16px 0 auto; z-index: 1000; margin-block: 0; }
    .fp-stage .fp-section { min-block-size: calc(100dvh - 5.25rem); }
    .fp-stage .osf-hero, .fp-split { grid-template-columns: minmax(0,45fr) minmax(0,55fr); }
    .fp-buy { position: fixed; inset: auto 1.4rem 1.2rem auto; }
    .fp-nav-rail { position: fixed; inset: 50% .3rem auto auto; transform: translateY(-50%); z-index: 45; display: grid; }
    .fp-nav-rail a { display: grid; place-items: center; position: relative; inline-size: 27px; block-size: 30px; }
    .fp-nav-rail a::before { content:""; width: .42rem; height: .42rem; border-radius: 1rem; background: var(--text-muted); }
    .fp-nav-rail a[aria-current]::before { height: 1.05rem; background: var(--accent-primary); box-shadow: 0 0 .75rem var(--accent-glow); }
    .fp-nav-rail span { position: absolute; inset-inline-end: 100%; white-space: nowrap; clip-path: inset(50%); padding: .3rem; background: var(--bg-surface-solid); }
    .fp-nav-rail a:is(:focus-visible,:hover) span { clip-path: none; }
}
@media (min-width: 992px) and (min-height: 650px) and (hover:hover) and (pointer:fine) and (prefers-reduced-motion:no-preference) {
    html.onlineshop-fullpage { scroll-snap-type: y mandatory; }
    .fp-stage .fp-section, .fp-after, .onlineshop-fullpage .footer { scroll-snap-align: start; }
}
@media (prefers-reduced-motion:no-preference) {
    .fp-delay-1 { --fp-delay: 90ms; } .fp-delay-2 { --fp-delay: 180ms; }
    .fp-device { --fp-tilt: 6deg; }
    :is(.fp-reveal,.fp-stage .item-box).is-visible { animation: fp-enter .7s var(--osf-ease) var(--fp-delay,0ms) both; }
    .fp-stage .item-box:nth-child(4n+2) { --fp-delay: 100ms; }
    .fp-stage .item-box:nth-child(4n+3) { --fp-delay: 200ms; }
    .fp-stage .item-box:nth-child(4n+4) { --fp-delay: 300ms; }
    .fp-section.is-active .fp-type { animation: fp-type .62s steps(20,end) both; }
    @keyframes fp-enter { from { opacity:.35; filter:blur(3px); transform:perspective(1000px) translateY(24px) rotateX(var(--fp-tilt,0deg)); } }
    @keyframes fp-type { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0); } }
}
.demo-showcase { text-align: start; color: var(--text-primary); }
.demo-showcase .demo-stage, .demo-directory article { border-radius: 1rem; overflow: hidden; }
.demo-stage { margin-block: 1.2rem 2rem; scroll-margin-block-start: 6rem; }
.demo-controls { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; padding: .7rem; background: var(--bg-elevated); }
.demo-viewport { display: grid; justify-items: safe center; min-height: 13rem; max-height: 65dvh; overflow: auto; align-items: center; background: var(--bg-canvas); padding: .4rem; }
.demo-viewport iframe { display: block; border: 0; background: white; }
.demo-schematic { width: min(100%,32rem); padding: 1rem; }
.demo-directory { display: grid; gap: .85rem; margin-block-start: 1rem; }
.demo-directory article { padding: 1rem; }
.demo-directory h3 { margin-block: .5rem; font-size: 1.15rem; }
@media (min-width: 768px) {
    .demo-directory { grid-template-columns: repeat(12,minmax(0,1fr)); }
    .demo-directory article { grid-column: span 5; }
    .demo-directory article:first-child,.demo-directory article:last-child { grid-column: span 7; }
}
.master-wrapper-content .page-title h1,
.fp-stage .osf-catalog-intro h2,
.ext-mega-preview h2,
.demo-showcase h2,
.demo-directory h3 { color: var(--text-primary); }
.topic-page:has(.demo-showcase) .page-title {
    border-color: var(--border-hairline);
    text-align: start;
}
.topic-page:has(.demo-showcase) .page-title h1 {
    font-family: "Space Grotesk", sans-serif;
    font-size: clamp(2rem, 5vw, 3.5rem);
    letter-spacing: -.045em;
}
.demo-showcase button:focus-visible, .demo-showcase a:focus-visible, .demo-theme:focus-visible {
    outline: 2px solid var(--accent-primary);
    outline-offset: 3px;
}
.demo-showcase .demo-theme:disabled { opacity: .75; }

.fp-motion-toggle,.license-open { display: none; }
html.onlineshop-fullpage .fp-motion-toggle { display: inline-flex; }
.license-open { display: inline-flex; align-items:center; border:1px solid var(--border-subtle); border-radius:999px; padding:.45rem .7rem; color:var(--text-primary); background:var(--bg-surface); cursor:pointer; }
html.onlineshop-fullpage .fp-motion-toggle {
    position: sticky; inset-block-start: .5rem; z-index: 41;
    display: inline-flex; align-items: center; width: fit-content; margin-inline-start: .5rem;
    border:1px solid var(--border-subtle); border-radius:999px;
    padding:.45rem .7rem; color:var(--text-primary); background:var(--bg-surface); cursor:pointer;
}
.license-open:hover,.fp-motion-toggle:hover { border-color:var(--border-hover); }
.ext-item-icon { flex:0 0 1.8rem; display:grid; place-items:center; block-size:1.8rem; border-radius:.5rem; background:var(--bg-elevated); }
.ext-preview-pricing { align-self:center; padding:.3rem .5rem; border:1px solid var(--border-subtle); border-radius:999px; color:var(--text-secondary); font:.68rem "JetBrains Mono",monospace; }
.ext-preview-tags { display:flex; flex-wrap:wrap; gap:.3rem; }
.ext-preview-tags li { padding:.2rem .45rem; border:1px solid var(--border-subtle); border-radius:999px; color:var(--text-secondary); font-size:.68rem; }
.ext-preview-actions { display:flex; flex-wrap:wrap; gap:.4rem; align-items:center; margin-block-start:.6rem; }
.ext-preview-actions a { padding:.38rem .55rem; border:1px solid var(--border-subtle); border-radius:999px; color:var(--text-primary); }
.ext-preview-actions .ext-view-details { border-color:var(--border-hover); background:var(--accent-glow); }

.license-drawer {
    position:fixed; inset:0 0 0 auto; margin:0 0 0 auto; width:min(100%,30rem); height:100dvh; max-height:none;
    padding:clamp(1.3rem,4vw,2.2rem); border:1px solid var(--border-subtle); border-inline-end:0;
    color:var(--text-primary); background:var(--bg-canvas); box-shadow:var(--shadow-card);
    overflow:auto;
}
.license-drawer::backdrop { background:rgba(2,6,23,.58); backdrop-filter:blur(5px); }
.license-drawer form { display:flex; justify-content:flex-end; }
.license-drawer .license-close { border:1px solid var(--border-subtle); border-radius:999px; padding:.45rem .7rem; color:var(--text-primary); background:var(--bg-elevated); cursor:pointer; }
.license-drawer h2 { margin-block:.6rem; font-size:clamp(1.65rem,4vw,2.3rem); }
.license-drawer .license-note { color:var(--text-secondary); }
.license-options { display:grid; gap:.6rem; margin-block:1rem; }
.license-option { display:grid; gap:.25rem; padding:.9rem; text-align:start; border:1px solid var(--border-subtle); border-radius:.85rem; color:var(--text-primary); background:var(--bg-surface); cursor:pointer; }
.license-option span,.license-option small { color:var(--text-secondary); }
.license-option[aria-pressed=true] { border-color:var(--border-hover); background:var(--accent-glow); }
.license-selection { border-block:1px solid var(--border-subtle); padding-block:1rem; }
.license-selection h3 { margin-block-end:.65rem; }
.license-selection li { display:flex; justify-content:space-between; gap:.6rem; padding:.55rem 0; border-block-end:1px solid var(--border-subtle); }
.license-selection li span { color:var(--text-secondary); font-size:.75rem; }
.license-contact { margin-block-start:1rem; }

.fp-type { display:inline-grid; vertical-align:baseline; white-space:nowrap; color:var(--accent-primary); }
.fp-type::before,.fp-type>span { grid-area:1/1; }
.fp-type::before { visibility:hidden; content:attr(data-phrase); }
.fp-type>span { clip-path:inset(0 100% 0 0); }
.fp-section.is-active .fp-type>span { animation:fp-typewriter .8s steps(var(--fp-steps,24),end) both; }
.fp-motion-reduced .fp-type>span { clip-path:none; animation:none; }
@keyframes fp-typewriter { to { clip-path:inset(0); } }
.fp-motion-reduced .fp-section .fp-reveal,.fp-motion-reduced .fp-stage .item-box { opacity:1; filter:none; transform:none; animation:none; }
.fp-stage .fp-section:focus { outline:none; }
.fp-nav-rail a:focus-visible,.fp-buy:focus-visible,.fp-motion-toggle:focus-visible,.license-open:focus-visible { outline:2px solid var(--accent-primary); outline-offset:3px; }
.fp-stage .fp-section { scroll-margin-block-start:5.25rem; }

@media (min-width:992px) and (min-height:650px) and (hover:hover) and (pointer:fine) {
    html.onlineshop-fullpage .fp-motion-toggle { position:fixed; inset:auto calc(1.4rem + 9.5rem) 1.2rem auto; z-index:1002; margin:0; }
}
@media (max-width:730px) {
    .ext-mega-panel { max-block-size:75dvh; }
    .ext-mega-list { grid-template-columns:repeat(2,minmax(0,1fr)); }
    .ext-mega-item { align-items:center; min-block-size:2.7rem; font-size:.72rem; }
    .ext-mega-item small { display:none; }
    .ext-mega-preview { padding:.7rem; }
    .ext-preview-visual { min-block-size:3.5rem; }
    .ext-preview-visual span { height:1.8rem; }
    .ext-mega-preview p { font-size:.74rem; }
}

.osf-hero .osf-kicker > span:first-child {
    flex: 0 0 .46rem;
}
.osf-hero .osf-kicker > .fp-type {
    flex: 0 1 auto;
    inline-size: auto;
    block-size: auto;
    border-radius: 0;
    background: none;
    box-shadow: none;
}
.osf-home .osf-showcase-panel h3 { color: var(--text-primary); }

.osf-hero .osf-kicker .fp-type > span {
    inline-size: auto;
    block-size: auto;
    border-radius: 0;
    background: none;
    box-shadow: none;
}

/* OnlineShop motion refinement — 2026-11-17 */
@media (prefers-reduced-motion: no-preference) {
    html:not(.fp-motion-reduced) .fp-delay-1 { --fp-delay: 180ms; }
    html:not(.fp-motion-reduced) .fp-delay-2 { --fp-delay: 360ms; }
    html:not(.fp-motion-reduced) :is(.fp-reveal,.fp-stage .item-box).is-visible { animation-duration: 1.35s; }
    html:not(.fp-motion-reduced) .fp-stage .item-box:nth-child(4n+2) { --fp-delay: 180ms; }
    html:not(.fp-motion-reduced) .fp-stage .item-box:nth-child(4n+3) { --fp-delay: 360ms; }
    html:not(.fp-motion-reduced) .fp-stage .item-box:nth-child(4n+4) { --fp-delay: 540ms; }
    html:not(.fp-motion-reduced) .fp-section.is-active .fp-type { animation-duration: 1.2s; }
    html:not(.fp-motion-reduced) .fp-section.is-active .fp-type > span { animation-duration: 1.6s; }
    html:not(.fp-motion-reduced) .license-drawer[open] { animation: osf-license-enter .65s cubic-bezier(.22,1,.36,1) both; }
    html:not(.fp-motion-reduced) .license-drawer[open]::backdrop { animation: osf-license-backdrop .65s ease both; }
}
@keyframes osf-license-enter {
    from { opacity: 0; transform: translateX(2.5rem); }
    to { opacity: 1; transform: translateX(0); }
}
@keyframes osf-license-backdrop {
    from { opacity: 0; }
    to { opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
    .fp-section.is-active .fp-type,
    .fp-section.is-active .fp-type > span { animation: none; clip-path: none; }
    .license-drawer[open], .license-drawer[open]::backdrop { animation: none; }
}

/* Extra typewriter accents — short scene headings */
.fp-type-heading > span { display:block; }
@media (prefers-reduced-motion:no-preference) {
    html:not(.fp-motion-reduced) .fp-section.is-active .fp-type-heading > span {
        animation:fp-typewriter 2.2s steps(var(--fp-steps,30),end) .35s both;
    }
}

/* Soft scene transitions and independent content entrances — 2026-11-17 */
@media (prefers-reduced-motion:no-preference) {
    html:not(.fp-motion-reduced) .fp-scenes-ready .fp-section {
        opacity:.22;
        transition:opacity .95s ease;
    }
    html:not(.fp-motion-reduced) .fp-scenes-ready .fp-section:is(.fp-scene-visible,:focus-within) { opacity:1; }
    html:not(.fp-motion-reduced) .fp-scenes-ready .fp-section .fp-reveal,
    html:not(.fp-motion-reduced) .fp-scenes-ready .fp-section .item-box { animation:none; }
    html:not(.fp-motion-reduced) .fp-scenes-ready .fp-section .fp-scene-piece {
        opacity:0;
        transform:translateY(16px);
        transition:opacity .85s ease, transform 1.1s var(--osf-ease);
        transition-delay:0s;
    }
    html:not(.fp-motion-reduced) .fp-scenes-ready .fp-section.fp-scene-visible .fp-scene-piece {
        opacity:1;
        transform:translateY(0);
        transition-delay:var(--scene-delay,0ms);
    }
    html:not(.fp-motion-reduced) .fp-scenes-ready .fp-section:focus-within .fp-scene-piece {
        opacity:1; transform:none; transition-delay:0s;
    }

    /* Blueprint keeps the page readable and animates only selected foreground content. */
    html[data-theme="blueprint"]:not(.fp-motion-reduced) .osf-home.fp-scenes-ready .fp-section,
    html[data-theme="blueprint"]:not(.fp-motion-reduced) .osf-home.fp-scenes-ready .fp-section .fp-scene-piece {
        opacity: 1;
        transform: none;
        transition: none;
    }
    html[data-theme="blueprint"]:not(.fp-motion-reduced) .osf-home .fp-section.is-active .fp-type-heading > span {
        animation: none;
    }
    html[data-theme="blueprint"]:not(.fp-motion-reduced) .osf-home .fp-blueprint-enter.is-visible {
        animation: osf-blueprint-enter .45s var(--osf-ease);
    }
    @keyframes osf-blueprint-enter {
        from { opacity: .72; translate: 0 6px; }
    }
}

/* Mega Menu transformation and trial walkthrough */
.mw-lab {padding:clamp(1rem,3vw,1.8rem);margin-block-start:1.25rem;}
.mw-steps,.mw-swatches {display:flex;flex-wrap:wrap;gap:.5rem;margin-block-end:1.2rem;}
.mw-steps button,.mw-swatches button,.mw-button {font:inherit;color:var(--text-primary);background:var(--bg-elevated);border:1px solid var(--border-subtle);border-radius:.65rem;padding:.6rem .8rem;cursor:pointer;}
.mw-steps button[aria-pressed=true],.mw-swatches button[aria-pressed=true] {background:var(--accent-glow);border-color:var(--accent-primary);}
.mw-lab button:focus-visible,.mw-lab input:focus-visible,.mw-lab select:focus-visible,.mw-swatches button:focus-visible {outline:2px solid var(--accent-primary);outline-offset:3px;}
.mw-button:disabled {opacity:.45;cursor:default;}
.mw-workspace {display:grid;grid-template-columns:minmax(0,2fr) minmax(0,3fr);gap:1.5rem;}
.mw-caption {font-size:.65rem;letter-spacing:.08em;color:var(--text-secondary);margin-block-end:.8rem;}
.mw-controls fieldset {border:0;padding:0;margin:0;min-inline-size:0;}
.mw-controls legend {font-weight:600;font-size:1.1rem;margin-block-end:.9rem;color:var(--text-primary);}
.mw-controls label {display:flex;align-items:center;flex-wrap:wrap;gap:.55rem;margin-block:.6rem;color:var(--text-primary);font-size:.85rem;}
.mw-controls input {accent-color:var(--accent-primary);width:1rem;height:1rem;}
.mw-controls select {font:inherit;padding:.35rem;background:var(--bg-canvas);color:var(--text-primary);border:1px solid var(--border-subtle);border-radius:.4rem;max-width:100%;}
.mw-controls fieldset p,.mw-footnote,.mw-summary {font-size:.78rem;color:var(--text-secondary);line-height:1.65;}
.mw-progress {display:flex;justify-content:space-between;gap:.6rem;margin-block-start:1rem;}
.mw-preview {min-width:0;}
.mw-menu {display:flex;flex-wrap:wrap;gap:1rem;padding:.9rem;background:var(--bg-elevated);border:1px solid var(--border-subtle);border-radius:.7rem .7rem 0 0;font-size:.8rem;color:var(--text-primary);}
.mw-menu strong {color:var(--accent-primary);}
.mw-dropdown {padding:1rem;border:1px solid var(--border-subtle);border-top:0;border-radius:0 0 .7rem .7rem;min-height:13rem;background:var(--bg-surface-solid);}
.mw-tabs {display:flex;flex-wrap:wrap;gap:.8rem;border-bottom:1px solid var(--border-subtle);padding-block-end:.7rem;margin-block-end:.8rem;font-size:.7rem;}
.mw-tabs strong {color:var(--accent-primary);}
.mw-shop-layout {display:flex;gap:1rem;}
.mw-sidebar {flex:0 0 7rem;font-size:.75rem;display:grid;align-content:start;gap:.6rem;border-inline-end:1px solid var(--border-subtle);padding-inline-end:.65rem;}
.mw-categories {display:grid;gap:.6rem;flex:1;min-width:0;}
.mw-categories article {padding:.7rem;border:1px solid var(--border-subtle);border-radius:.5rem;display:grid;align-content:start;gap:.35rem;font-size:.8rem;}
.mw-categories small {font-size:.65rem;color:var(--text-secondary);}
[data-layout=grid] .mw-categories {grid-template-columns:repeat(var(--mw-columns,3),minmax(0,1fr));}
.mw-picture {height:3.2rem;border-radius:.4rem;display:grid;place-items:center;background:linear-gradient(135deg,var(--accent-glow),var(--bg-elevated));font-size:1.5rem;color:var(--accent-primary);}
.mw-footnote {margin-block-start:1rem;}
.mw-instructions {padding-inline-start:1.2rem;display:grid;gap:.8rem;color:var(--text-secondary);font-size:.9rem;line-height:1.65;}
.mw-background-demo {padding:1.3rem;min-width:0;}
.mw-background-canvas {border:1px solid var(--border-subtle);border-radius:.8rem;overflow:hidden;background:var(--bg-elevated);transition:background-color .7s ease;}
.mw-background-content {min-height:17rem;padding:clamp(1.2rem,4vw,2.5rem);display:grid;align-content:center;gap:1rem;}
.mw-background-content h3 {font-size:clamp(1.6rem,3vw,2.5rem);color:var(--text-primary);}
.mw-background-content p {font-size:.7rem;color:var(--accent-primary);}
.mw-background-links {display:flex;flex-wrap:wrap;gap:.8rem;font-size:.8rem;color:var(--text-primary);}
[data-mw-background=glow] .mw-background-canvas {background:radial-gradient(ellipse at 90% 80%,var(--accent-glow),transparent 70%),var(--bg-elevated);}
[data-mw-background=blueprint] .mw-background-canvas {background-image:linear-gradient(var(--border-subtle) 1px,transparent 1px),linear-gradient(90deg,var(--border-subtle) 1px,transparent 1px);background-size:24px 24px;}
.mw-lab [hidden],.mw-background-demo [hidden] {display:none!important;}
@media (prefers-reduced-motion:no-preference) {
html:not(.fp-motion-reduced) .mw-replay[data-motion=fade] {animation:mw-fade .8s ease both;}
html:not(.fp-motion-reduced) .mw-replay[data-motion=slide] {animation:mw-slide .9s var(--osf-ease) both;}
}
@keyframes mw-fade {from {opacity:0;}to {opacity:1;}}
@keyframes mw-slide {from {opacity:0;transform:translateY(-14px);}to {opacity:1;transform:translateY(0);}}
@media(max-width:760px) {.mw-workspace {grid-template-columns:1fr;}.mw-steps button {flex:1 1 40%;font-size:.75rem;}.mw-sidebar {flex-basis:5rem;}[data-layout=grid] .mw-categories {grid-template-columns:repeat(min(var(--mw-columns),2),minmax(0,1fr));}}

.mw-live-demo {display:inline-flex;margin-block:.75rem;text-decoration:none!important;border-color:var(--accent-primary);background:var(--accent-glow);}
.as-playground {display:block;padding:1.2rem;}
.as-sample {min-height:15rem;display:grid;align-content:center;gap:1rem;padding:1.2rem;border:1px solid var(--border-subtle);border-radius:.8rem;background:radial-gradient(ellipse at top right,var(--accent-glow),transparent 80%);}
.as-sample h3 {font-size:clamp(1.6rem,3vw,2.4rem);line-height:1.15;color:var(--text-primary);}
.as-count {font-size:.65rem!important;color:var(--accent-primary);}
.as-copy {font-size:.9rem;color:var(--text-secondary);}
.as-cta {font-size:.85rem;color:var(--accent-primary);}
.as-controls {display:flex;flex-wrap:wrap;align-items:center;gap:.65rem;margin-block-start:1rem;}
.as-controls label {display:flex;align-items:center;gap:.5rem;font-size:.85rem;}
.as-controls select {background:var(--bg-elevated);color:var(--text-primary);border:1px solid var(--border-subtle);padding:.5rem;border-radius:.4rem;}
.as-controls :is(button,select):focus-visible {outline:2px solid var(--accent-primary);outline-offset:3px;}
@media(prefers-reduced-motion:no-preference){html:not(.fp-motion-reduced) .as-enter[data-as-effect=fade]{animation:mw-fade .8s ease both;}html:not(.fp-motion-reduced) .as-enter[data-as-effect=slide]{animation:mw-slide .9s var(--osf-ease) both;}}

.demo-config-grid {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem;margin-block-start:1.4rem;}
.demo-config-grid article {padding:1.3rem;display:grid;align-content:start;gap:.75rem;}
.demo-config-grid article>p:first-child {font-size:.65rem;letter-spacing:.1em;color:var(--accent-primary);}
.demo-config-grid h3 {font-size:clamp(1.25rem,2vw,1.7rem);color:var(--text-primary);}
.demo-config-grid article>p {font-size:.85rem;line-height:1.6;color:var(--text-secondary);}
.demo-config-grid .fp-action {margin-block-start:.3rem;width:fit-content;}
@media(max-width:700px){.demo-config-grid{grid-template-columns:1fr;}}

/* Compact account navigation and a quieter, more intentional header. */
.osf-header {transition:transform .38s cubic-bezier(.22,1,.36,1),opacity .3s ease;will-change:transform;}
.osf-header.osf-header-hidden {transform:translateY(calc(-100% - 2rem));opacity:0;pointer-events:none;}
.osf-header:focus-within {transform:none;opacity:1;pointer-events:auto;}
.osf-ui-icon {display:inline-block;inline-size:1.05rem;block-size:1.05rem;flex:0 0 1.05rem;vertical-align:middle;}
.osf-header .osf-header-pill {padding:.6rem .9rem;gap:.6rem 1.1rem;box-shadow:0 10px 40px rgba(0,0,0,.14);}
.osf-header .osf-header-nav {gap:.25rem;align-items:center;}
.osf-header-nav > a,.osf-header-nav > button,.osf-header-nav > details > summary {display:inline-flex;align-items:center;justify-content:center;gap:.45rem;min-block-size:2.5rem;padding:.55rem .75rem;border-radius:.8rem;line-height:1.2;font-size:.82rem;font-weight:500;transition:background-color .2s ease,color .2s ease;}
.osf-header-nav > a:hover,.osf-header-nav > button:hover,.osf-header-nav > details > summary:hover {background:var(--accent-glow);color:var(--accent-primary);}
.osf-header-nav > .osf-ai-switch {
    gap: .4rem;
    padding-inline: .5rem;
    border: 1px solid var(--border-hover);
    color: var(--text-primary);
    background: var(--bg-elevated);
    cursor: pointer;
    white-space: nowrap;
}
.osf-header-nav > .osf-ai-switch:hover,
.osf-header-nav > .osf-ai-switch[aria-checked="true"] {
    border-color: var(--accent-primary);
    color: var(--text-primary);
    background: var(--accent-glow);
}
.osf-ai-switch::before {
    content: "";
    flex: none;
    box-sizing: border-box;
    inline-size: 1.6rem;
    block-size: .95rem;
    border: 1px solid var(--accent-primary);
    border-radius: 1rem;
    background: radial-gradient(circle at 30% center, var(--accent-primary) .24rem, transparent .26rem);
}
.osf-ai-switch[aria-checked="true"]::before {
    background: radial-gradient(circle at 70% center, var(--bg-surface-solid) .24rem, transparent .26rem), var(--accent-primary);
}
.osf-header .license-open {border-color:var(--border-subtle);}
.osf-account-menu {position:relative;}
.osf-account-menu > summary {display:flex;align-items:center;gap:.45rem;cursor:pointer;padding:.55rem .7rem;min-block-size:2.5rem;border:1px solid var(--border-subtle);border-radius:999px;background:var(--bg-elevated);color:var(--text-primary);list-style:none;font-size:.8rem;}
.osf-account-menu > summary::-webkit-details-marker {display:none;}
.osf-account-menu > summary > .osf-ui-icon:last-child {inline-size:.8rem;flex-basis:.8rem;transition:transform .2s ease;}
.osf-account-menu[open] > summary > .osf-ui-icon:last-child {transform:rotate(180deg);}
.osf-header .header-links .osf-account-panel {position:absolute;inset:calc(100% + .65rem) 0 auto auto;display:grid;gap:.15rem;min-inline-size:13rem;max-inline-size:min(20rem,calc(100vw - 2rem));padding:.5rem;margin:0;background:var(--bg-surface-solid);border:1px solid var(--border-subtle);border-radius:1rem;box-shadow:var(--shadow-card);z-index:1100;list-style:none;}
.osf-header .header-links .osf-account-panel a {display:flex;align-items:center;gap:.7rem;padding:.75rem;border-radius:.6rem;font-size:.85rem;text-align:start;background:none;}
.osf-header .header-links .osf-account-panel a:hover {background:var(--accent-glow);color:var(--accent-primary);}
.osf-header .header-links .ico-cart {display:flex;align-items:center;gap:.4rem;min-block-size:2.5rem;padding:.55rem .7rem;border:1px solid var(--border-subtle);border-radius:999px;font-size:.8rem;}
.osf-header #topcartlink {border-radius:999px;}
.osf-header .osf-account-menu > summary:focus-visible,.osf-header a:focus-visible,.osf-header button:focus-visible {outline:2px solid var(--accent-primary);outline-offset:3px;}
.osf-header .osf-account-panel .wishlist-qty {margin-inline-start:auto;}
@media(prefers-reduced-motion:no-preference){.osf-account-menu[open] .osf-account-panel {animation:mw-slide .3s var(--osf-ease) both;}}
@media(prefers-reduced-motion:reduce){.osf-header,.osf-account-menu > summary > .osf-ui-icon:last-child {transition:none;}}
@media(max-width:760px){.osf-header {inline-size:calc(100% - 1rem);inset-block-start:.5rem;}.osf-header .osf-header-pill {border-radius:1.3rem;padding:.65rem;}.osf-header .header-lower,.osf-header .header-upper {width:100%;justify-content:space-between;}.osf-header .header-links-wrapper {width:100%;}.osf-header .osf-header-links {width:100%;justify-content:space-between;}.osf-header-nav > a,.osf-header-nav > button,.osf-header-nav > details > summary {font-size:.75rem;padding:.5rem;min-block-size:2.75rem;}.osf-header .osf-theme-switch {max-width:100%;}.osf-account-menu > summary {min-block-size:2.75rem;}.osf-header .header-links .osf-account-panel {inset-inline: auto 0;}.osf-header .osf-header-nav {flex-wrap:wrap;}}

.mm-demo-intro {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: .55rem;
    padding: .35rem .35rem .85rem;
}
.mm-demo-intro strong { margin-inline-end: auto; font-size: 1.1rem; }
.mm-demo-mega .ext-mega-panel {
    inline-size: min(calc(100% - .5rem), 1080px);
    max-block-size: calc(100dvh - 10rem);
}
.mm-demo-mega .ext-mega-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
}
.mm-demo-mega .ext-mega-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: .2rem;
}
.mm-demo-mega .ext-mega-item {
    display: block;
    padding: .48rem .65rem;
    color: var(--text-primary);
    text-align: start;
}
.mm-demo-mega .ext-mega-item strong { font-size: .88rem; }
.mm-demo-mega .ext-mega-item small { font-size: .75rem; line-height: 1.35; }
.mm-demo-screenshot {
    display: block;
    inline-size: 100%;
    aspect-ratio: 2.25;
    object-fit: cover;
    object-position: top;
    border: 1px solid var(--border-hairline);
    border-radius: .55rem;
    background: var(--bg-surface-solid);
}
.mm-demo-facts {
    display: grid;
    grid-template-columns: max-content minmax(0, 1fr);
    gap: .3rem .65rem;
    font-size: .83rem;
    line-height: 1.4;
}
.mm-demo-facts dt { color: var(--text-primary); font-weight: 650; }
.mm-demo-facts dd { color: var(--text-secondary); }
.osf-demo-directory {
    display: grid;
    gap: .7rem;
    margin: 1rem 0 0;
    padding: 0;
    list-style: none;
    text-align: start;
}
.osf-demo-directory a {
    display: grid;
    gap: .28rem;
    height: 100%;
    padding: .85rem;
    border: 1px solid var(--border-hairline);
    border-radius: .75rem;
    background: var(--bg-surface-solid);
    color: var(--text-secondary);
}
.osf-demo-directory a:hover,
.osf-demo-directory a:focus-visible { border-color: var(--accent-primary); }
.osf-demo-directory strong { display: flex; justify-content: space-between; gap: .5rem; color: var(--text-primary); }
.osf-demo-directory small { font-size: .78rem; }
@media (min-width: 620px) {
    .osf-demo-directory { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1000px) {
    .osf-demo-directory { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
    .mm-demo-mega .ext-mega-panel { max-block-size: calc(100dvh - 13rem); }
    .mm-demo-mega .ext-mega-grid { grid-template-columns: minmax(0, 1fr); gap: .5rem; }
    .mm-demo-mega .ext-mega-item { display: flex; padding: .4rem .5rem; }
    .mm-demo-mega .ext-mega-item small { display: none; }
    .mm-demo-mega .mm-demo-screenshot { display: none; }
    .mm-demo-mega .ext-mega-preview { padding: .45rem .6rem; }
    .mm-demo-intro { padding: .25rem .25rem .45rem; }
    .mm-demo-intro strong { font-size: .9rem; }
    .mm-demo-intro a { font-size: .75rem; }
}

/* Launch catalogue */
.fp-stage .osf-launch {
    min-block-size: 0;
    padding-block: clamp(1.25rem, 4vw, 3.75rem);
}
.osf-launch h1 {
    margin: 0 0 1rem;
    color: var(--text-primary);
    font-size: clamp(2rem, 5vw, 3.75rem);
    letter-spacing: -.045em;
    line-height: 1.06;
    text-align: start;
}
.osf-launch-carousel { min-inline-size: 0; }
.osf-launch-controls {
    display: flex;
    justify-content: flex-end;
    gap: .5rem;
    margin-block-end: .55rem;
}
.osf-launch-controls[hidden] { display: none; }
.osf-launch-controls button {
    display: grid;
    place-items: center;
    inline-size: 2.75rem;
    block-size: 2.75rem;
    border: 1px solid var(--border-hover);
    border-radius: .65rem;
    background: var(--bg-surface-solid);
    color: var(--text-primary);
    font-size: 1.25rem;
}
.osf-launch-controls button[aria-disabled="true"] { opacity: .4; cursor: default; }
.osf-launch-track {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 82%;
    gap: .85rem;
    list-style: none;
    margin: 0;
    padding: .25rem .25rem .8rem;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-snap-type: inline mandatory;
    scroll-padding-inline: .25rem;
}
.osf-launch-card {
    display: flex;
    flex-direction: column;
    min-inline-size: 0;
    overflow: hidden;
    border: 1px solid var(--border-hairline);
    border-radius: 1rem;
    background: var(--bg-surface-solid);
    scroll-snap-align: start;
    text-align: start;
}
.osf-launch-art.ext-preview-visual {
    block-size: clamp(5.5rem, 11vw, 8rem);
    margin: .55rem;
}
.osf-launch-content {
    display: flex;
    flex: 1;
    flex-direction: column;
    align-items: flex-start;
    gap: .6rem;
    padding: .5rem .95rem 1rem;
}
.osf-launch-content h2 {
    margin: 0;
    color: var(--text-primary);
    font-size: clamp(1.12rem, 1.9vw, 1.45rem);
    line-height: 1.15;
}
.osf-launch-content p,
.osf-launch-strapline,
.osf-preorder p { color: var(--text-secondary); line-height: 1.5; }
.osf-launch-content .osf-launch-category {
    color: var(--accent-primary);
    font-size: .78rem;
    font-weight: 650;
}
.osf-launch-action {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    min-block-size: 2.75rem;
    padding: .45rem .7rem;
    border: 1px solid var(--border-hover);
    border-radius: .6rem;
    color: var(--text-primary);
    font-weight: 650;
}
.osf-launch-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: .25rem .75rem;
    margin-block-start: auto;
}
.osf-launch-demo-link {
    display: inline-flex;
    align-items: center;
    gap: .25rem;
    min-block-size: 2.75rem;
    color: var(--text-primary);
    font-weight: 650;
    text-decoration: underline;
    text-underline-offset: .2em;
}
.osf-launch-demo-link:hover { color: var(--accent-primary); }
.osf-launch-card:has(.ext-visual-fullpage) .osf-launch-action,
.osf-preorder .osf-launch-action { border-color: var(--accent-primary); background: var(--accent-glow); }
.osf-launch-action:hover { background: var(--accent-glow); color: var(--text-primary); }
.osf-launch-action:focus-visible,
.osf-launch-demo-link:focus-visible,
.osf-launch-controls button:focus-visible { outline: 2px solid var(--accent-primary); outline-offset: 2px; }

#mega-menu-licence-term .attributes label { color: var(--text-primary); }
#mega-menu-licence-term .attribute-description {
    margin-block: .3rem .45rem;
    color: var(--text-secondary);
    font-weight: 400;
    line-height: 1.45;
    white-space: normal;
}
#mega-menu-licence-term select {
    inline-size: min(100%, 24rem);
    min-block-size: 2.75rem;
    padding: .55rem .8rem;
    border: 1px solid var(--border-hover);
    border-radius: .55rem;
    background: var(--bg-surface-solid);
    color: var(--text-primary);
    font: inherit;
    cursor: pointer;
}
#mega-menu-licence-term option {
    background: var(--bg-surface-solid);
    color: var(--text-primary);
}
#mega-menu-licence-term select:hover { border-color: var(--accent-primary); }
#mega-menu-licence-term select:focus-visible {
    outline: 2px solid var(--accent-primary);
    outline-offset: 3px;
}
.html-mega-menu-product .breadcrumb {
    border-radius: .55rem;
    background: var(--bg-elevated);
    color: var(--text-secondary);
}
.html-mega-menu-product .breadcrumb strong,
.html-mega-menu-product .overview :is(.product-name h1, .product-price, .sku .value) {
    color: var(--text-primary);
}
.html-mega-menu-product .overview .short-description { color: var(--text-secondary); }
.osf-mega-menu-checkout-note {
    margin-block: .65rem;
    color: var(--text-secondary);
    line-height: 1.5;
}
.html-mega-menu-product .overview button.osf-launch-action {
    background: var(--bg-elevated);
    cursor: pointer;
}
.html-mega-menu-product .overview button.osf-launch-action:hover { background: var(--accent-glow); }
[data-osf-theme-gallery]:not([data-gallery-ready]) .picture-thumbs { display: none; }
[data-osf-theme-gallery] .picture {
    position: relative;
    aspect-ratio: 3 / 2;
    overflow: hidden;
    border: 1px solid var(--border-subtle);
    border-radius: .8rem;
    background: var(--bg-surface-solid);
}
[data-osf-theme-gallery] .picture::before { content: none; }
[data-osf-theme-gallery] .thumb-item {
    border: 1px solid var(--border-subtle);
    border-radius: .45rem;
    background: var(--bg-surface-solid);
    cursor: pointer;
}
[data-osf-theme-gallery] .thumb-item:hover { border-color: var(--border-hover); }
[data-osf-theme-gallery] .osf-gallery-outgoing {
    position: absolute;
    inset: 0;
    inline-size: 100%;
    block-size: 100%;
    object-fit: contain;
    pointer-events: none;
}
@media (prefers-reduced-motion: no-preference) {
    #mega-menu-licence-term select,
    [data-osf-theme-gallery] .thumb-item { transition: border-color .2s ease; }
}

.osf-launch-typewriter { color: var(--accent-primary); text-align: start; }
.osf-launch-type-copy {
    position: absolute;
    inline-size: 1px;
    block-size: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
}
.osf-launch-strapline { margin: .75rem 0 0; text-align: start; font-size: clamp(1rem, 2vw, 1.25rem); }
.osf-launch-strapline a { color: var(--accent-primary); text-decoration: underline; text-underline-offset: .16em; }
.osf-preorder { scroll-margin-block-start: 7rem; }
.osf-preorder:not(:empty) { margin-block: 1rem; text-align: start; }
.osf-preorder h2 { font-size: 1.2rem; }
.osf-preorder p { margin-block: .4rem .65rem; }
:dir(rtl) .osf-launch-controls span { transform: scaleX(-1); }

@media (min-width: 650px) {
    .osf-launch-track { grid-auto-columns: calc((100% - 1.7rem) / 2.45); }
}
@media (min-width: 1050px) {
    .osf-launch-track { grid-auto-columns: calc((100% - 2.55rem) / 4); }
}

/* AI Studio workflow */
.fp-stage .osf-studio-workflow {
    min-block-size: 0;
    padding-block: clamp(3rem, 7vw, 6rem);
    border-block-start: 1px solid var(--border-hairline);
    text-align: start;
}
.osf-workflow {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 2rem;
}
.osf-workflow-intro { display: contents; }
.osf-workflow-heading h2 {
    margin: 0;
    color: var(--text-primary);
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 600;
    line-height: 1.1;
}
.osf-workflow-heading p,
.osf-workflow-steps p {
    max-inline-size: 52ch;
    margin-block: .55rem 0;
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.6;
}
.osf-workflow-heading p { font-size: 1.0625rem; }
.osf-workflow-cta {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: .45rem;
    grid-row: 3;
}
.osf-workflow-cta a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .45rem;
    min-block-size: 2.75rem;
    font-weight: 650;
}
.osf-workflow-primary {
    padding: .55rem .85rem;
    border-radius: .5rem;
    background: var(--accent-primary);
    color: #060d1a;
}
.osf-workflow-primary:hover { color: #060d1a; background: color-mix(in srgb, var(--accent-primary) 88%, white); }
.osf-workflow-secondary { color: color-mix(in srgb, var(--accent-primary) 70%, var(--text-primary)); }
.osf-workflow-secondary:hover { text-decoration: underline; text-underline-offset: .2em; }
.osf-workflow-cta a:focus-visible {
    outline: 2px solid var(--accent-primary);
    outline-offset: 3px;
}
.osf-workflow-steps {
    --step-gap: clamp(1.7rem, 3vw, 2.5rem);
    display: grid;
    gap: var(--step-gap);
    margin: 0;
    padding: 0;
    list-style: none;
}
.osf-workflow-steps > li {
    position: relative;
    padding-inline-start: 2.5rem;
}
.osf-workflow-steps > li::before {
    position: absolute;
    z-index: 1;
    inset-block-start: .55rem;
    inset-inline-start: .75rem;
    inline-size: .55rem;
    block-size: .55rem;
    border: 1px solid var(--text-muted);
    border-radius: 50%;
    background: var(--bg-canvas);
    content: "";
}
.osf-workflow-steps > li:not(:last-child)::after {
    position: absolute;
    inset-block-start: .8rem;
    inset-inline-start: calc(.75rem + .25rem);
    inline-size: 1px;
    block-size: calc(100% + var(--step-gap));
    background: var(--border-hairline);
    content: "";
}
.osf-workflow-steps > li[aria-current="step"]::before {
    border-color: var(--accent-primary);
    background: var(--accent-primary);
}
.osf-workflow-steps h3 {
    margin: 0;
    color: var(--text-primary);
    font-size: 1.25rem;
    font-weight: 600;
    line-height: 1.3;
}
.osf-workflow-media { max-inline-size: 39rem; margin: 1.2rem 0 0; }
.osf-workflow-screens { position: relative; }
.osf-workflow-screens img {
    display: block;
    block-size: auto;
    border: 1px solid var(--border-hairline);
    border-radius: .625rem;
    background: var(--bg-surface-solid);
}
.osf-workflow-desktop { inline-size: 100%; }
.osf-workflow-screens .osf-workflow-phone { display: none; }
.osf-workflow-media figcaption {
    margin-block-start: .55rem;
    color: var(--text-secondary);
    font-size: .8rem;
}
.osf-workflow-actions {
    display: flex;
    flex-wrap: wrap;
    gap: .6rem;
    margin-block-start: 1rem;
}
.osf-workflow-actions a:first-child {
    border-color: var(--accent-primary);
    background: var(--accent-glow);
}
@media (min-width: 768px) {
    .osf-workflow-cta { flex-direction: row; flex-wrap: wrap; gap: .9rem; }
    .osf-workflow-media .osf-workflow-screens { padding-inline-end: 12%; padding-block-end: 4%; }
    .osf-workflow-screens .osf-workflow-phone {
        position: absolute;
        inset-inline-end: 0;
        inset-block-end: 0;
        display: block;
        inline-size: 22%;
    }
}
@media (min-width: 1024px) {
    .osf-workflow { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2rem, 6vw, 5rem); }
    .osf-workflow-intro {
        display: block;
        position: sticky;
        inset-block-start: 7.5rem;
        align-self: start;
    }
    .osf-workflow-cta { margin-block-start: 1.45rem; }
}
@media (prefers-reduced-motion: no-preference) {
    html:not(.fp-motion-reduced) .osf-workflow-steps > li::before {
        transition: background-color .15s ease, border-color .15s ease;
    }
}

/* Studio worked example and customer stories */
.fp-stage .osf-studio-example,
.fp-stage .osf-customer-stories {
    min-block-size: 0;
    padding-block: clamp(2.5rem, 6vw, 5rem);
    border-block-start: 1px solid var(--border-hairline);
    text-align: start;
}
.osf-example-heading { max-inline-size: 44rem; margin-block-end: clamp(1.25rem, 3vw, 2rem); }
.osf-example-heading h2 {
    margin: .35rem 0 .55rem;
    color: var(--text-primary);
    font-size: clamp(1.9rem, 4vw, 2.75rem);
    line-height: 1.12;
}
.osf-example-heading p, .osf-example-panel > p, .osf-example-review p, .osf-story dd {
    color: var(--text-secondary);
    line-height: 1.55;
}
.osf-example-label {
    color: var(--text-secondary);
    font-size: .78rem;
    font-weight: 650;
    letter-spacing: .035em;
}
.osf-example-grid {
    display: grid;
    gap: .85rem;
    margin: 0;
    padding: 0;
    list-style: none;
}
.osf-example-panel {
    min-inline-size: 0;
    padding: clamp(.95rem, 2.5vw, 1.4rem);
    border: 1px solid var(--border-hairline);
    border-radius: .75rem;
    background: var(--bg-surface-solid);
}
.osf-example-panel h3, .osf-example-review h3, .osf-story h3 {
    margin: .35rem 0 .45rem;
    color: var(--text-primary);
    font-size: 1.22rem;
}
.osf-example-panel blockquote {
    margin: .85rem 0 0;
    padding: .65rem .85rem;
    border-inline-start: 2px solid var(--border-hover);
    color: var(--text-primary);
    line-height: 1.55;
}
.osf-example-link {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    min-block-size: 2.75rem;
    margin-block-start: .3rem;
    color: var(--text-primary);
    font-weight: 650;
    text-decoration: underline;
    text-underline-offset: .2em;
}
.osf-example-link:hover { color: var(--accent-primary); }
.osf-example-link:focus-visible { outline: 2px solid var(--accent-primary); outline-offset: 3px; }
.osf-example-review {
    margin-block-start: .95rem;
    padding: .55rem 0 .55rem .95rem;
    border-inline-start: 2px solid var(--border-hover);
    scroll-margin-block-start: 6.5rem;
}
.osf-story-grid { display: grid; gap: .8rem; }
.osf-story { padding: clamp(.9rem, 2vw, 1.25rem); border: 1px solid var(--border-hairline); border-radius: .75rem; background: var(--bg-surface-solid); }
.osf-story h3 { margin-block: .35rem .85rem; }
.osf-story dl { display: grid; gap: .6rem; margin: 0; }
.osf-story dl > div { padding-block-start: .55rem; border-block-start: 1px solid var(--border-hairline); }
.osf-story dt { color: var(--text-primary); font-size: .83rem; font-weight: 700; }
.osf-story dd { margin: .2rem 0 0; font-size: .88rem; }
@media (min-width: 850px) {
    .osf-example-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .osf-story-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

.osf-workflow-requirements {
    display: grid;
    gap: .55rem;
    margin: .85rem 0;
    padding: 0;
    list-style: none;
    color: var(--text-secondary);
    line-height: 1.5;
}
.osf-workflow-requirements li { padding-inline-start: .7rem; border-inline-start: 1px solid var(--border-hover); }
.osf-workflow-requirements strong { display: block; color: var(--text-primary); font-weight: 650; }
.osf-workflow-preview { margin-block: .65rem .15rem; }
.osf-workflow-preview summary { width: fit-content; padding-block: .5rem; color: var(--text-primary); cursor: pointer; }
.osf-workflow-preview summary:focus-visible { outline: 2px solid var(--accent-primary); outline-offset: 3px; }

.osf-studio-services {
    margin-block-start: clamp(2rem, 5vw, 4rem);
    padding-block-start: clamp(1.5rem, 3vw, 2.5rem);
    border-block-start: 1px solid var(--border-hairline);
    scroll-margin-block-start: 6.5rem;
}
