:root {
    --night: #100d28;
    --night-soft: #221b3f;
    --ink: #1a1730;
    --muted: #656178;
    --line: #e5e1ee;
    --paper: #fbf9ff;
    --paper-warm: #fff8f1;
    --paper-cool: #f1f6ff;
    --white: #ffffff;
    --amber: #fd9922;
    --mint: #33c7b7;
    --blue: #1269d3;
    --rose: #d3226e;
    --neon-rose: #9f0e8d;
    --mauve: #5307a3;
    --indigo: #3f08ee;
    --header-bg: rgba(16, 13, 40, 0.94);
        --hero-overlay: linear-gradient(90deg, rgba(16, 13, 40, 0.97) 0%, rgba(16, 13, 40, 0.9) 52%, rgba(16, 13, 40, 0.38) 100%);
        --page-overlay: linear-gradient(135deg, rgba(16, 13, 40, 0.96), rgba(16, 13, 40, 0.7));
        --section-soft: #f1f6ff;
    --radius: 8px;
    --shadow: 0 24px 80px rgba(16, 13, 40, 0.18);
}

body[data-theme="paper"] {
    --night: #102132;
    --night-soft: #203243;
    --ink: #18202a;
    --muted: #5c6874;
    --line: #dce5e9;
    --paper: #f8fbfa;
    --paper-warm: #fff6ea;
    --paper-cool: #edf8f6;
    --amber: #d77b19;
    --rose: #b32657;
    --mauve: #285b7d;
    --indigo: #0f6f91;
    --header-bg: rgba(16, 33, 50, 0.94);
        --hero-overlay: linear-gradient(90deg, rgba(16, 33, 50, 0.95) 0%, rgba(16, 33, 50, 0.82) 48%, rgba(16, 111, 145, 0.24) 100%);
        --page-overlay: linear-gradient(135deg, rgba(16, 33, 50, 0.9), rgba(15, 111, 145, 0.48));
        --section-soft: #edf8f6;
}

body[data-theme="studio"] {
    --night: #171019;
    --night-soft: #2f1f2d;
    --ink: #231923;
    --muted: #6f5f6b;
    --line: #eadde2;
    --paper: #fff9f6;
    --paper-warm: #fff1df;
    --paper-cool: #f0f6ff;
    --amber: #eb8a24;
    --rose: #c51f4a;
    --mauve: #624099;
    --indigo: #17717a;
    --header-bg: rgba(23, 16, 25, 0.94);
        --hero-overlay: linear-gradient(90deg, rgba(23, 16, 25, 0.96) 0%, rgba(47, 31, 45, 0.86) 50%, rgba(197, 31, 74, 0.26) 100%);
        --page-overlay: linear-gradient(135deg, rgba(23, 16, 25, 0.94), rgba(98, 64, 153, 0.46));
        --section-soft: #f0f6ff;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    color: var(--ink);
    background: var(--paper);
    font-family: Poppins, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.6;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    color: inherit;
}

:focus-visible {
    outline: 3px solid var(--amber);
    outline-offset: 3px;
}

.site-header :focus-visible,
.section--dark :focus-visible,
.hero :focus-visible,
.page-hero :focus-visible {
    outline-color: var(--mint);
}
.skip-link {
    position: absolute;
    left: 1rem;
    top: -4rem;
    z-index: 20;
    padding: 0.75rem 1rem;
    color: var(--night);
    background: var(--amber);
    border-radius: var(--radius);
}

.skip-link:focus {
    top: 1rem;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    min-height: 70px;
    padding: 0 5vw;
    color: var(--white);
    background: var(--header-bg);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(16px);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
}

.brand__symbol {
    width: 38px;
    height: 38px;
    object-fit: contain;
}

.brand__name {
    font-family: Arvo, Georgia, serif;
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: 0;
}

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

.site-nav__link,
.site-nav__cta {
    padding: 0.7rem 0.85rem;
    border-radius: var(--radius);
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.95rem;
    text-decoration: none;
}

.site-nav__link:hover,
.site-nav__link:focus,
.site-nav__link.is-active {
    color: var(--white);
    background: rgba(255, 255, 255, 0.09);
}

.site-nav__cta {
    margin-left: 0.5rem;
    color: var(--night);
    background: var(--amber);
    font-weight: 700;
}

.site-nav__account {
    border: 1px solid rgba(255, 255, 255, 0.16);
}
.nav-toggle {
    display: none;
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: var(--white);
    background: transparent;
    border-radius: var(--radius);
    padding: 0.65rem 0.85rem;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.site-search {
    display: flex;
    align-items: center;
    width: min(100%, 330px);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.07);
}

.site-search input[type="search"] {
    min-width: 0;
    width: 100%;
    min-height: 38px;
    padding: 0 0.75rem;
    border: 0;
    color: var(--white);
    background: transparent;
    font: inherit;
}

.site-search input[type="search"]::placeholder {
    color: rgba(255, 255, 255, 0.58);
}

.site-search button {
    display: inline-flex;
        align-items: center;
        justify-content: center;
        min-width: 44px;
    min-height: 38px;
    padding: 0;
    border: 0;
    border-left: 1px solid rgba(255, 255, 255, 0.16);
    color: var(--night);
    background: var(--amber);
    font: inherit;
    font-weight: 900;
    cursor: pointer;
}

.site-search__icon {
    display: block;
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2.5;
}
.site-controls,
.module-filters {
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.site-controls {
    flex-wrap: wrap;
    justify-content: flex-end;
}

.control-menu {
    position: relative;
    z-index: 31;
}

.control-menu[open] {
    z-index: 30;
}

.control-menu:not([open]) {
    z-index: 40;
}

.control-menu summary {
    list-style: none;
}

.control-menu summary::-webkit-details-marker {
    display: none;
}

.control-menu summary strong {
    margin-left: 0;
    color: var(--white);
}

.control-menu__panel {
    position: absolute;
    right: 0;
    top: calc(100% + 0.55rem);
    z-index: 30;
    display: grid;
    gap: 0.35rem;
    min-width: 190px;
    padding: 0.55rem;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: var(--radius);
    background: var(--header-bg);
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.28);
}

.control-menu__panel .control-chip {
    justify-content: flex-start;
    width: 100%;
}
.control-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    min-height: 34px;
    padding: 0.4rem 0.65rem;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: var(--radius);
    color: rgba(255, 255, 255, 0.78);
    background: rgba(255, 255, 255, 0.05);
    font: inherit;
    font-size: 0.82rem;
    font-weight: 800;
    text-decoration: none;
    cursor: pointer;
}

.control-chip__icon {
    display: block;
    width: 18px;
    height: 18px;
    flex: 0 0 auto;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2.2;
}
.control-chip.is-active,
.control-chip:hover,
.control-chip:focus {
    color: var(--night);
    background: var(--amber);
    border-color: var(--amber);
}

.control-chip.is-disabled {
    color: rgba(255, 255, 255, 0.42);
    border-color: rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.03);
    cursor: not-allowed;
}
.hero,
.page-hero,
.section {
    padding: 5rem 5vw;
}

.hero {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.85fr);
    gap: 3rem;
    align-items: center;
    min-height: min(760px, calc(100svh - 70px));
    color: var(--white);
    background:
        var(--hero-overlay),
        url("/visual/screen2/") center / cover no-repeat,
        linear-gradient(135deg, #100d28 0%, #1f1840 58%, #40115f 100%);
}

.hero h1,
.page-hero h1,
.section-heading h2,
.section h2,
.section h3,
.article-detail h1 {
    margin: 0;
    font-family: Arvo, Georgia, serif;
    letter-spacing: 0;
    line-height: 1.08;
}

.hero h1 {
    max-width: 820px;
    font-size: clamp(2.5rem, 5vw, 4.9rem);
}

.hero__lead,
.page-hero p,
.section-heading p {
    max-width: 720px;
    font-size: 1.15rem;
}

.eyebrow,
.tag,
.badge {
    margin: 0 0 0.9rem;
    color: var(--rose);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hero .eyebrow,
.section--dark .eyebrow,
.page-hero .eyebrow {
    color: var(--amber);
}

.actions,
.article-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-top: 2rem;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0.8rem 1.05rem;
    border-radius: var(--radius);
    font-weight: 800;
    text-decoration: none;
    border: 1px solid transparent;
}

.button--primary {
    color: var(--white);
    background: linear-gradient(135deg, var(--amber), var(--rose) 52%, var(--mauve));
    box-shadow: 0 16px 40px rgba(211, 34, 110, 0.24);
}

.button--ghost {
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.24);
    background: rgba(255, 255, 255, 0.06);
}

.button--ghost-dark {
    color: var(--night);
    border-color: var(--line);
    background: var(--white);
}

.product-stage {
    position: relative;
}

.app-frame {
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 14px;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.04)),
        rgba(16, 13, 40, 0.76);
    box-shadow: 0 32px 120px rgba(0, 0, 0, 0.32);
}

.app-frame__bar {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    padding: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.app-frame__mark {
    width: 42px;
    height: 42px;
    margin-left: auto;
    object-fit: contain;
}

.app-frame__bar span {
    width: 11px;
    height: 11px;
    border-radius: 999px;
    background: var(--amber);
}

.app-frame__bar span:nth-child(2) {
    background: var(--rose);
}

.app-frame__bar span:nth-child(3) {
    background: #7d57ff;
}

.app-frame__grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 0.8rem;
    padding: 1rem;
}

.panel {
    min-height: 126px;
    padding: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius);
    background: rgba(16, 13, 40, 0.72);
}

.panel--large {
    grid-row: span 2;
    min-height: 250px;
    background: linear-gradient(145deg, rgba(253, 153, 34, 0.26), rgba(159, 14, 141, 0.32), rgba(83, 7, 163, 0.5));
}

.panel p {
    color: rgba(255, 255, 255, 0.65);
}

.page-hero {
    color: var(--white);
    background:
        var(--page-overlay),
        url("/visual/screen1/") center / cover no-repeat,
        linear-gradient(90deg, var(--night), #31155e);
}

.page-hero--modules,
.page-hero--module-detail {
    background:
        linear-gradient(135deg, rgba(16, 13, 40, 0.95), rgba(83, 7, 163, 0.56)),
        url("/visual/screen4/") center / cover no-repeat,
        linear-gradient(90deg, var(--night), var(--night-soft));
}

.page-hero h1 {
    max-width: 980px;
    font-size: clamp(2.1rem, 5vw, 4.8rem);
}

.page-hero p:not(.eyebrow) {
    color: rgba(255, 255, 255, 0.78);
}

.section--light {
    background: var(--paper);
}

.section--dark {
    color: var(--white);
    background: var(--night);
}

.section--media {
    background: var(--section-soft);
}

.section--cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    color: var(--white);
    background: linear-gradient(135deg, var(--night), var(--neon-rose));
}

.section-heading {
    max-width: 860px;
    margin-bottom: 2.5rem;
}

.section-heading--compact {
    margin: 1.4rem 0 0.9rem;
}
.section-heading h2,
.section h2 {
    font-size: clamp(1.8rem, 4vw, 3rem);
}

.three-columns,
.card-grid,
.split-grid,
.proof-strip,
.audience-grid,
.journey-grid,
.trust-grid,
.pricing-grid,
.download-grid {
    display: grid;
    gap: 1.2rem;
}

.proof-strip {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    padding: 1.2rem 5vw;
    color: var(--white);
    background: var(--night);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.proof-card {
    padding: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.06);
}

.proof-card strong {
    display: block;
    color: var(--amber);
    font-family: Arvo, Georgia, serif;
    font-size: 1.7rem;
    line-height: 1.1;
}

.proof-card span {
    display: block;
    margin-top: 0.25rem;
    font-weight: 900;
}

.proof-card p {
    margin-bottom: 0;
    color: rgba(255, 255, 255, 0.72);
}

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

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

.search-results-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.split-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
}

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

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

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

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

.module-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.module-preview-layout,
.module-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 0.8fr);
    gap: 1.5rem;
    align-items: center;
}

.module-stats,
.module-toolbar,
.module-rail,
.module-compact-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.module-stats {
    margin-top: 2rem;
}

.module-stats span,
.module-pill,
.module-compact {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    border-radius: var(--radius);
    text-decoration: none;
}

.module-stats span {
    padding: 0.75rem 0.9rem;
    color: var(--white);
    background: rgba(255, 255, 255, 0.09);
    border: 1px solid rgba(255, 255, 255, 0.16);
}

.section--modules-preview {
    background: linear-gradient(180deg, var(--paper-warm), var(--paper));
}

.module-rail {
    align-content: flex-start;
}

.module-pill {
    width: min(100%, 260px);
    padding: 0.75rem;
    color: var(--ink);
    background: var(--white);
    border: 1px solid var(--line);
    font-weight: 800;
}

.module-pill img,
.module-compact img {
    width: 30px;
    height: 30px;
    object-fit: contain;
}

.visual-panel {
    overflow: hidden;
    border-radius: 14px;
    box-shadow: var(--shadow);
}

.visual-panel img {
    display: block;
    width: 100%;
    min-height: 330px;
    object-fit: cover;
}

.module-showcase-section {
    overflow: hidden;
}

.module-showcase-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
    gap: 2rem;
    align-items: center;
}

.module-screenshot-frame {
    margin: 0;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: var(--shadow);
}

.module-screenshot-frame img {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    object-position: center top;
}

.module-detail-copy {
    display: grid;
    gap: 1rem;
}

.module-detail-copy h2 {
    margin: 0;
}

.module-detail-list h3,
.module-integrations h3 {
    margin-top: 0;
    font-size: 1.2rem;
}

.module-scenario-card {
    min-height: 240px;
}

.module-integrations {
    margin-top: 2rem;
}
.module-toolbar {
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 1.5rem;
}

.module-results-status {
    margin: 0 0 1rem;
    color: var(--muted);
    font-weight: 800;
}
.module-search {
    display: grid;
    gap: 0.35rem;
    min-width: min(100%, 360px);
    font-weight: 800;
}

.module-search input {
    min-height: 46px;
    padding: 0.7rem 0.9rem;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    font: inherit;
}

.module-filters .control-chip,
.module-compact-grid--light .module-compact {
    color: var(--ink);
    border-color: var(--line);
    background: var(--white);
}

.module-filters .control-chip.is-active,
.module-filters .control-chip:hover,
.module-filters .control-chip:focus {
    color: var(--white);
    background: var(--night);
    border-color: var(--night);
}

.info-card,
.feature-card,
.article-card,
.resource-card,
.account-panel,
.module-card,
.audience-card,
.journey-card,
.trust-card,
.pricing-card,
.download-card,
.success-panel,
.search-result-card,
.quote-panel {
    padding: 1.4rem;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: 0 10px 35px rgba(16, 13, 40, 0.05);
}

.audience-card,
.trust-card {
    display: grid;
    gap: 0.75rem;
}

.info-card--wide {
    margin-top: 1.2rem;
}
.audience-card h3,
.journey-card h3,
.trust-card h3 {
    font-size: 1.25rem;
}

.journey-card {
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.07);
}

.journey-card span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    color: var(--night);
    background: var(--amber);
    border-radius: 999px;
    font-weight: 900;
}

.trust-card {
    background: linear-gradient(180deg, var(--white), var(--paper));
}

.module-card {
    display: grid;
    gap: 0.75rem;
    min-height: 390px;
}

.module-card[hidden] {
    display: none;
}

.empty-state {
    margin-top: 1rem;
    padding: 2rem;
    text-align: center;
    border: 1px dashed var(--line);
    border-radius: var(--radius);
    background: var(--white);
}

.empty-state[hidden] {
    display: none;
}

.module-card--system {
    background: linear-gradient(135deg, var(--white), var(--paper-warm));
    border-color: rgba(253, 153, 34, 0.55);
}

.module-card__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.module-card__icon,
.module-proof-panel__icon {
    width: 44px;
    height: 44px;
    object-fit: contain;
}

.module-card h2 {
    margin: 0;
    font-size: 1.35rem;
}

.module-proof-panel {
    padding: 1.4rem;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.08);
}

.module-proof-panel dl,
.module-proof-panel dd {
    margin: 0;
}

.module-proof-panel dl {
    display: grid;
    gap: 0.9rem;
    margin-top: 1rem;
}

.module-proof-panel dt {
    color: rgba(255, 255, 255, 0.58);
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
}

.module-proof-panel dd {
    overflow-wrap: anywhere;
    color: var(--white);
    font-weight: 800;
}

.workflow-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    padding: 0;
    list-style: none;
    counter-reset: workflow;
}

.workflow-list li {
    counter-increment: workflow;
    padding: 1.2rem;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.07);
}

.workflow-list li::before {
    content: counter(workflow, decimal-leading-zero);
    display: block;
    margin-bottom: 0.7rem;
    color: var(--amber);
    font-weight: 900;
}

.module-compact-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
}

.module-compact {
    min-height: 64px;
    padding: 0.65rem;
    color: var(--white);
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.14);
    font-weight: 800;
}

.section--dark .info-card,
.section--dark .quote-panel {
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.07);
}

.feature-card--wide {
    min-height: 310px;
}

.article-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 1rem;
    align-items: center;
    padding: 1.35rem 0;
    border-bottom: 1px solid var(--line);
}

.section--media {
    display: grid;
    gap: 2rem;
}

.media-toolbar {
    display: grid;
    gap: 1.25rem;
}

.media-filter-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.media-filter-chip {
    padding: 0.65rem 0.95rem;
    border: 1px solid var(--line);
    border-radius: 999px;
    color: var(--ink);
    background: rgba(255, 255, 255, 0.7);
    font-size: 0.92rem;
    font-weight: 700;
    transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.media-filter-chip:hover,
.media-filter-chip:focus-visible {
    border-color: rgba(138, 91, 255, 0.35);
    background: rgba(255, 255, 255, 0.96);
    transform: translateY(-1px);
}

.media-filter-chip.is-active {
    color: var(--white);
    border-color: transparent;
    background: linear-gradient(135deg, var(--mauve), #ff8f3d);
    box-shadow: 0 18px 40px rgba(110, 74, 204, 0.2);
}

.media-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.4rem;
}

.media-card {
    display: flex;
    flex-direction: column;
    min-height: 100%;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: calc(var(--radius) * 1.1);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.82));
    box-shadow: 0 22px 48px rgba(24, 17, 43, 0.08);
}

.media-card--featured {
    border-color: rgba(255, 168, 71, 0.34);
    box-shadow: 0 28px 56px rgba(255, 129, 41, 0.12);
}

.media-card__media {
    display: block;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(117, 34, 194, 0.18), rgba(40, 165, 255, 0.22));
}

.media-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 220ms ease;
}

.media-card:hover .media-card__media img,
.media-card:focus-within .media-card__media img {
    transform: scale(1.03);
}

.media-card__body,
.media-card__meta,
.media-card__audience,
.media-card__cta {
    margin-inline: 1.2rem;
}

.media-card__body {
    display: grid;
    gap: 0.85rem;
    padding-top: 1.2rem;
}

.media-card__body h2 {
    margin: 0;
    font-size: 1.35rem;
}

.media-card__body h2 a {
    color: inherit;
}

.media-card__body p {
    margin: 0;
}

.media-card__badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    align-items: center;
}

.media-card__category {
    margin: 0;
}

.media-card__featured {
    display: inline-flex;
    align-items: center;
    padding: 0.35rem 0.7rem;
    border-radius: 999px;
    color: #7c4100;
    background: rgba(255, 187, 76, 0.22);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.media-card__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    align-items: center;
    padding-top: 1rem;
    color: var(--muted);
    font-size: 0.92rem;
}

.media-card__audience {
    margin-top: 0.8rem;
    margin-bottom: 0;
}

.media-card__cta {
    margin-top: auto;
    margin-bottom: 1.2rem;
    align-self: flex-start;
}

.media-card--no-image .media-card__body {
    padding-top: 1.35rem;
}

.media-empty-state {
    padding: 2rem;
    border: 1px dashed var(--line);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.5);
}
.article-detail {
    max-width: 860px;
    margin: 0 auto;
    padding: 5rem 5vw;
}

.article-detail h1 {
    font-size: clamp(2rem, 5vw, 4rem);
}

.article-lead {
    color: var(--muted);
    font-size: 1.2rem;
}

.article-translations {
    margin-top: 1.5rem;
}

.article-translations__title {
    margin: 0 0 0.75rem;
    color: var(--muted);
    font-size: 0.92rem;
    font-weight: 700;
}

.article-translations__list {
    gap: 0.7rem;
}

.article-translations__list li {
    padding: 0;
    border: 0;
    background: transparent;
}
.inline-list,
.check-list,
.number-list {
    padding-left: 1.2rem;
}

.inline-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    padding: 0;
    list-style: none;
}

.inline-list li {
    padding: 0.35rem 0.6rem;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--paper);
}

.inline-list--dark li {
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.16);
    background: rgba(255, 255, 255, 0.08);
}

.muted {
    color: var(--muted);
}

.muted-dark {
    color: rgba(255, 255, 255, 0.7);
}

.text-link {
    color: var(--mauve);
    font-weight: 800;
}

.pricing-card {
    position: relative;
}

.pricing-card__notice {
    margin: 0.65rem 0 0;
    color: var(--muted);
    font-size: 0.92rem;
    font-weight: 700;
}
.pricing-card--featured {
    border-color: rgba(253, 153, 34, 0.8);
    box-shadow: var(--shadow);
}

.price {
    margin: 0;
    font-family: Arvo, Georgia, serif;
    font-size: 2.4rem;
    font-weight: 700;
}

.badge {
    display: inline-flex;
    padding: 0.35rem 0.55rem;
    color: var(--night);
    background: var(--amber);
    border-radius: 999px;
}

.saving {
    color: var(--rose);
    font-weight: 800;
}

.timeline {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 0.6rem;
    margin: 1.5rem 0;
}

.timeline span {
    padding: 0.9rem;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.08);
}

.faq-list details {
    padding: 1.1rem 0;
    border-bottom: 1px solid var(--line);
}

.faq-list summary {
    cursor: pointer;
    font-weight: 800;
}

.search-hero-form {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    max-width: 760px;
    margin-top: 2rem;
}

.search-hero-form input[type="search"] {
    flex: 1 1 320px;
    min-height: 46px;
    padding: 0.8rem 0.9rem;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: var(--radius);
    color: var(--white);
    background: rgba(255, 255, 255, 0.08);
    font: inherit;
}

.search-hero-form input[type="search"]::placeholder {
    color: rgba(255, 255, 255, 0.64);
}

.contact-form {
    display: grid;
    gap: 1rem;
    max-width: 720px;
}

.contact-form label {
    display: grid;
    gap: 0.35rem;
    font-weight: 800;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 0.8rem 0.9rem;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    font: inherit;
}

.checkbox-field {
    grid-template-columns: auto minmax(0, 1fr);
    align-items: start;
}

.checkbox-field input {
    width: auto;
    margin-top: 0.25rem;
}

.field-errors ul,
.errorlist {
    margin: 0.2rem 0 0;
    padding-left: 1rem;
    color: var(--rose);
    font-weight: 800;
}

.form-status {
    margin: 1rem 0;
    padding: 0.85rem 1rem;
    color: var(--night);
    background: var(--paper-cool);
    border-left: 4px solid var(--mint);
    border-radius: var(--radius);
    font-weight: 800;
}

.badge--premium {
    display: inline-flex;
    width: max-content;
    padding: 0.35rem 0.65rem;
    color: var(--night);
    background: var(--amber);
    border-radius: var(--radius);
}

.resource-card__badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    align-items: center;
}

.resource-card__badges .tag,
.resource-card__badges .badge {
    margin-bottom: 0;
}

.client-access-section {
    padding-top: 3rem;
}

.client-access-card {
    max-width: 860px;
    margin-top: 0;
}

.account-layout,
.account-summary-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

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

.account-panel {
    display: grid;
    gap: 0.85rem;
    align-content: start;
}

.account-panel--quiet {
    background: linear-gradient(180deg, var(--white), var(--paper-cool));
}

.account-table-wrap {
    overflow-x: auto;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
}

.account-table {
    width: 100%;
    min-width: 720px;
    border-collapse: collapse;
}

.account-table th,
.account-table td {
    padding: 0.95rem 1rem;
    text-align: left;
    border-bottom: 1px solid var(--line);
}

.account-table th {
    color: var(--muted);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.account-status {
    display: inline-flex;
    padding: 0.25rem 0.55rem;
    color: var(--night);
    background: var(--paper-cool);
    border-radius: var(--radius);
    font-weight: 800;
}

.account-status.is-active {
    color: var(--night);
    background: color-mix(in srgb, var(--mint) 28%, var(--white));
}

.button.is-disabled {
    pointer-events: none;
    color: var(--muted);
    background: var(--paper);
    border-color: var(--line);
    box-shadow: none;
}
.site-footer {
    padding: 4rem 5vw;
    color: rgba(255, 255, 255, 0.72);
    background: #080617;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr repeat(3, 1fr);
    gap: 2rem;
}

.footer-grid h2 {
    color: var(--white);
    font-size: 1rem;
}

.footer-grid a {
    display: block;
    margin: 0.45rem 0;
    color: rgba(255, 255, 255, 0.72);
    text-decoration: none;
}

.footer-logo {
    width: 190px;
    max-height: 70px;
    object-fit: contain;
    object-position: left center;
}

@media (max-width: 980px) {
    .nav-toggle {
        display: inline-flex;
    }

    .site-nav {
        position: absolute;
        left: 5vw;
        right: 5vw;
        top: 100%;
        display: none;
        flex-direction: column;
        align-items: stretch;
        padding: 1rem;
        background: var(--night);
        border: 1px solid rgba(255, 255, 255, 0.12);
        border-radius: var(--radius);
    }

    .site-nav.is-open {
        display: flex;
    }

    .site-nav__cta {
        margin-left: 0;
    }

    .hero,
    .split-grid,
    .three-columns,
    .card-grid,
    .search-results-grid,
    .proof-strip,
    .audience-grid,
    .journey-grid,
    .trust-grid,
    .module-grid,
    .module-preview-layout,
    .module-hero-grid,
    .module-showcase-grid,
    .workflow-list,
    .pricing-grid,
    .download-grid,
                .account-layout,
                .account-summary-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .site-header {
        flex-wrap: wrap;
        padding-block: 0.65rem;
    }

    .site-controls {
        width: 100%;
        justify-content: flex-start;
    }

        .site-search {
            order: 4;
            width: 100%;
        }

    .hero {
        min-height: auto;
        padding-top: 4.5rem;
    }

    .product-stage {
        max-width: 680px;
    }

                .media-grid {
                    grid-template-columns: repeat(2, minmax(0, 1fr));
                }
    .section--cta,
    .article-row {
        display: block;
    }

    .article-row .button {
        margin-top: 1rem;
    }

    .timeline {
        grid-template-columns: 1fr;
    }

    .module-compact-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 620px) {
    .hero,
    .page-hero,
    .section,
    .article-detail {
        padding: 4rem 1.2rem;
    }

    .site-header {
        padding: 0 1.2rem;
    }

    .app-frame__grid {
        grid-template-columns: 1fr;
    }

    .panel--large {
        grid-row: auto;
        min-height: 150px;
    }
.media-grid {
    grid-template-columns: 1fr;
}

.media-card__cta {
    width: calc(100% - 2.4rem);
    text-align: center;
}
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
    }
}
