/* ============================================================================
   2026 Marketing Frontpage, Overview, Sidebar Workspaces & SuperAdmin UI
   ============================================================================ */

.hero-section {
    padding: 1.75rem 0 2.75rem 0;
}

.hero-center {
    max-width: 960px;
    margin: 0 auto 1.75rem auto;
    text-align: center;
}

.hero-center .hero-lead {
    margin: 0 auto 1.35rem auto;
    max-width: 66ch;
}

.hero-center .toolbar-row {
    justify-content: center;
}

.hero-center .toolbar-row .stage-btn,
.cta-band .toolbar-row .stage-btn {
    width: 100%;
}

@media (min-width: 640px) {
    .hero-center .toolbar-row .stage-btn,
    .cta-band .toolbar-row .stage-btn {
        width: auto;
    }
}

.hero-proof-bar {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.85rem;
    margin: 1.35rem 0 1.75rem 0;
}

@media (min-width: 560px) {
    .hero-proof-bar {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 960px) {
    .hero-proof-bar {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 1rem;
        margin: 1.5rem 0 2rem 0;
    }
}

.hero-proof-card {
    background-color: var(--stage-bg-card);
    border: 1px solid var(--stage-border-hairline);
    border-radius: var(--token-radius-pill);
    padding: 1rem 1.15rem;
    box-shadow: var(--stage-shadow-card);
}

.hero-proof-card strong {
    display: block;
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--stage-text-primary);
    letter-spacing: -0.02em;
    margin-bottom: 0.2rem;
}

.hero-proof-card span {
    font-size: 0.86rem;
    color: var(--stage-text-muted);
}

.showcase-window {
    width: 100%;
    background-color: var(--stage-bg-card);
    border: 1px solid var(--stage-border-glow-sky);
    border-radius: 18px;
    box-shadow: var(--stage-shadow-hero);
    overflow: hidden;
}

.showcase-window-bar {
    background-color: var(--stage-bg-toolbar);
    border-bottom: 1px solid var(--stage-border-hairline);
    padding: 0.65rem 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    font-size: 0.82rem;
    color: var(--stage-text-secondary);
}

.showcase-window-body {
    padding: 1rem;
    background-color: var(--stage-bg-canvas);
}

.section-header-center {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 2rem auto;
}

.section-header-center h2 {
    font-size: clamp(1.65rem, 3vw, 2.3rem);
    letter-spacing: -0.02em;
    margin: 0.45rem 0 0.65rem 0;
}

.bento-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-bottom: 2.25rem;
}

.bento-card {
    background-color: var(--stage-bg-card);
    border: 1px solid var(--stage-border-hairline);
    border-radius: var(--token-radius-card);
    padding: 1.15rem;
    box-shadow: var(--stage-shadow-card);
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
    transition: border-color 0.16s ease, transform 0.16s ease;
}

.bento-card:hover {
    border-color: var(--stage-border-glow-sky);
    transform: translateY(-2px);
}

.bento-card-span2 {
    grid-column: span 1;
}

@media (min-width: 680px) {
    .bento-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1.25rem;
        margin-bottom: 2.75rem;
    }

    .bento-card {
        padding: 1.5rem;
    }

    .bento-card-span2 {
        grid-column: span 2;
    }
}

@media (min-width: 980px) {
    .bento-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.bento-card h3 {
    margin: 0.25rem 0 0 0;
    font-size: 1.15rem;
    color: var(--stage-text-primary);
}

.bento-card p {
    margin: 0;
}

.icon-badge {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.icon-badge-sky {
    background-color: var(--stage-tint-sky);
    border: 1px solid var(--stage-border-glow-sky);
    color: var(--stage-accent-chord);
}

.icon-badge-cue {
    background-color: var(--stage-tint-cue);
    border: 1px solid var(--stage-border-glow-cue);
    color: var(--stage-accent-cue);
}

.icon-badge-green {
    background-color: var(--stage-tint-green);
    border: 1px solid var(--stage-sync-green);
    color: var(--stage-sync-green);
}

.role-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.95rem;
    margin-bottom: 2.25rem;
}

.cta-band {
    background: linear-gradient(135deg, var(--stage-bg-card), var(--stage-bg-toolbar));
    border: 1px solid var(--stage-border-glow-sky);
    border-radius: 20px;
    padding: 1.6rem 1.15rem;
    text-align: center;
    box-shadow: var(--stage-shadow-hero);
}

@media (min-width: 600px) {
    .role-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1.1rem;
    }

    .cta-band {
        padding: 2.5rem 2rem;
    }
}

@media (min-width: 1020px) {
    .role-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        margin-bottom: 2.75rem;
    }
}

.cta-band h2 {
    margin: 0.35rem 0 0.75rem 0;
    font-size: clamp(1.6rem, 3vw, 2.2rem);
}

/* ============================================================================
   Modern 2026 Pro Marketing, Teaser Hero, Media Placeholders, Pricing & Guides
   ============================================================================ */
.marketing-shell {
    width: 100%;
    max-width: var(--token-marketing-max-width);
    margin: 0 auto;
    padding: 0 0.55rem 2.5rem;
}

.marketing-shell > *,
.marketing-band > *,
.pro-bento-grid > *,
.spotlight-grid > *,
.guide-split-card > *,
.pricing-grid-2 > *,
.pricing-grid-3 > *,
.equal-grid-2 > *,
.equal-grid-3 > *,
.equal-grid-4 > * {
    min-width: 0;
}

.marketing-band {
    padding: 1.65rem 0;
}

.marketing-band-bordered {
    border-top: 1px solid var(--stage-border-hairline);
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.34rem 0.82rem;
    border-radius: var(--token-radius-round);
    background-color: var(--stage-tint-sky);
    border: 1px solid var(--stage-border-glow-sky);
    color: var(--stage-accent-chord);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.hero-eyebrow::before {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background-color: var(--stage-accent-chord);
    box-shadow: 0 0 10px var(--stage-accent-chord);
    flex-shrink: 0;
}

.hero-display-title {
    font-size: clamp(2rem, 4.6vw, 3.6rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.036em;
    padding-bottom: 0.12em;
    margin: 0 0 0.88rem 0;
    background: linear-gradient(180deg, #FFFFFF 22%, #CBD5E1 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-lead {
    font-size: clamp(1rem, 1.55vw, 1.16rem);
    line-height: 1.65;
    color: var(--stage-text-secondary);
    max-width: 62ch;
    margin: 0 0 1.45rem 0;
}

/* Open Editorial Page Hero (Features, Guides, Pricing, About) */
.page-hero-band {
    position: relative;
    padding: 1.35rem 0 1.2rem;
    border-bottom: 1px solid var(--stage-border-hairline);
    margin-bottom: 1.25rem;
}

.page-hero-band .hero-display-title {
    font-size: clamp(1.9rem, 3.8vw, 2.95rem);
    max-width: 24ch;
}

.page-hero-band-centered {
    text-align: center;
}

.page-hero-band-centered .hero-display-title,
.page-hero-band-centered .hero-lead {
    margin-left: auto;
    margin-right: auto;
}

.page-hero-band-centered .toolbar-row {
    justify-content: center;
}

/* Frontpage Teaser Hero with Subtle Stage Grid Spotlight */
.teaser-hero {
    position: relative;
    padding: 1.6rem 0 1.4rem;
}

.teaser-hero::before {
    content: "";
    position: absolute;
    inset: -2rem -6vw 10% -6vw;
    z-index: -1;
    background-image:
        radial-gradient(ellipse 68% 48% at 50% 8%, rgba(56, 189, 248, 0.14), transparent 68%),
        radial-gradient(var(--stage-grid-dot) 1px, transparent 1px);
    background-size: 100% 100%, 26px 26px;
    mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0) 92%);
    -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0) 92%);
    pointer-events: none;
}

.teaser-hero-copy {
    text-align: center;
    max-width: 820px;
    margin: 0 auto 1.35rem auto;
}

.teaser-hero-copy .hero-lead {
    margin-left: auto;
    margin-right: auto;
}

.teaser-hero-copy .toolbar-row {
    justify-content: center;
    gap: 0.7rem;
}

.teaser-hero-copy .toolbar-row .stage-btn {
    width: 100%;
}

/* Equal-Height Metric Strip */
.proof-strip {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.55rem;
    margin: 1.1rem 0 1.5rem;
    align-items: stretch;
}

.proof-tile {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0.72rem 0.82rem;
    border-radius: 12px;
    background: linear-gradient(180deg, rgba(17, 24, 39, 0.92), rgba(15, 23, 42, 0.76));
    border: 1px solid var(--stage-border-hairline);
    box-shadow: inset 0 1px 0 var(--stage-surface-card-top);
}

.proof-tile strong {
    display: block;
    font-size: 1.08rem;
    font-weight: 800;
    letter-spacing: -0.025em;
    color: var(--stage-text-primary);
    margin-bottom: 0.15rem;
}

.proof-tile span {
    font-size: 0.85rem;
    line-height: 1.45;
    color: var(--stage-text-muted);
}

/* Sleek Hardware-Framed Screenshot / Placeholder Component */
.media-frame {
    width: 100%;
    border-radius: 18px;
    background: linear-gradient(180deg, #131D31 0%, #0B1220 100%);
    border: 1px solid var(--stage-border-strong);
    box-shadow: var(--stage-shadow-hero), inset 0 1px 0 rgba(255, 255, 255, 0.08);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.media-frame-tablet {
    border-color: var(--stage-border-glow-sky);
}

.media-frame-card {
    border-radius: 14px;
    box-shadow: var(--stage-shadow-card);
}

.media-frame-chrome {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.58rem 0.95rem;
    background-color: rgba(15, 23, 42, 0.92);
    border-bottom: 1px solid var(--stage-border-hairline);
    font-size: 0.78rem;
    color: var(--stage-text-muted);
}

.media-frame-dots {
    display: inline-flex;
    align-items: center;
    gap: 0.36rem;
    flex-shrink: 0;
}

.media-frame-dots span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: rgba(148, 163, 184, 0.32);
}

.media-frame-chrome-label {
    font-weight: 600;
    color: var(--stage-text-secondary);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.media-frame-chrome-badge {
    padding: 0.16rem 0.55rem;
    border-radius: var(--token-radius-round);
    background-color: var(--stage-tint-sky);
    border: 1px solid var(--stage-border-glow-sky);
    color: var(--stage-accent-chord);
    font-size: 0.72rem;
    font-weight: 700;
    white-space: nowrap;
}

.media-frame-viewport {
    position: relative;
    width: 100%;
    flex: 1 1 auto;
    min-height: 220px;
    background-color: #070B13;
    overflow: hidden;
}

.media-frame-viewport.has-media {
    flex: 0 0 auto;
    min-height: 0;
}

.media-frame-img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
}

.media-placeholder-canvas {
    width: 100%;
    height: 100%;
    min-height: inherit;
    padding: 1.75rem 1.25rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 0.65rem;
    background-image:
        radial-gradient(ellipse 75% 65% at 50% 40%, rgba(56, 189, 248, 0.1), transparent 72%),
        linear-gradient(rgba(148, 163, 184, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(148, 163, 184, 0.05) 1px, transparent 1px);
    background-size: 100% 100%, 28px 28px, 28px 28px;
}

.media-placeholder-icon {
    width: 50px;
    height: 50px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: var(--stage-tint-sky);
    border: 1px solid var(--stage-border-glow-sky);
    color: var(--stage-accent-chord);
}

.media-placeholder-title {
    font-size: 1.02rem;
    font-weight: 700;
    color: var(--stage-text-primary);
    letter-spacing: -0.015em;
}

.media-placeholder-caption {
    margin: 0;
    max-width: 46ch;
    font-size: 0.85rem;
    line-height: 1.5;
    color: var(--stage-text-muted);
}

.media-placeholder-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    margin-top: 0.25rem;
}

.media-meta-pill {
    padding: 0.2rem 0.58rem;
    border-radius: var(--token-radius-round);
    background-color: var(--stage-bg-elevated);
    border: 1px solid var(--stage-border-subtle);
    font-size: 0.74rem;
    font-weight: 700;
    color: var(--stage-accent-cue);
}

.media-meta-path {
    padding: 0.2rem 0.58rem;
    border-radius: 6px;
    background-color: rgba(15, 23, 42, 0.9);
    border: 1px dashed var(--stage-border-subtle);
    font-size: 0.74rem;
    color: var(--stage-text-secondary);
}

/* Strictly Equal-Height Modern Grids */
.equal-grid-2,
.equal-grid-3,
.equal-grid-4,
.pro-bento-grid,
.spotlight-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.15rem;
    align-items: stretch;
}

.pro-card {
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    padding: 1.4rem;
    border-radius: var(--token-radius-card);
    background: linear-gradient(180deg, rgba(17, 24, 39, 0.94) 0%, rgba(13, 20, 35, 0.92) 100%);
    border: 1px solid var(--stage-border-hairline);
    box-shadow: var(--stage-shadow-card), inset 0 1px 0 var(--stage-surface-card-top);
    transition: border-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

@media (hover: hover) {
    .pro-card:hover {
        border-color: var(--stage-border-glow-sky);
        transform: translateY(-2px);
        box-shadow: 0 18px 40px rgba(2, 6, 23, 0.52), inset 0 1px 0 rgba(255, 255, 255, 0.08);
    }
}

.pro-card-featured {
    border-color: var(--stage-border-glow-sky);
    background: linear-gradient(165deg, rgba(20, 33, 56, 0.94) 0%, rgba(12, 19, 34, 0.96) 100%);
}

.pro-card h3,
.pro-card h2 {
    margin: 0.15rem 0 0 0;
    letter-spacing: -0.02em;
    color: var(--stage-text-primary);
}

.pro-card p {
    margin: 0;
}

.pro-card-footer {
    margin-top: auto;
    padding-top: 0.9rem;
}

/* Bento Span-2 Split Inside First Card (Text + Studio Preview) */
.bento-feature-split {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
    align-items: center;
    height: 100%;
}

/* Clean Checkmarked Lists (Pricing, Overview, Guides) */
.check-list {
    list-style: none;
    padding: 0;
    margin: 0.5rem 0 0 0;
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
}

.check-list li {
    position: relative;
    padding-left: 1.45rem;
    color: var(--stage-text-secondary);
    font-size: 0.93rem;
    line-height: 1.5;
}

.check-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--stage-accent-chord);
    font-weight: 800;
}

/* Pricing Typography & Highlight Cards */
.price-figure {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.45rem;
    margin: 0.35rem 0 0.25rem;
}

.price-amount {
    font-size: clamp(1.85rem, 3vw, 2.4rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--stage-text-primary);
    line-height: 1.1;
}

.price-cadence {
    font-size: 0.86rem;
    color: var(--stage-text-muted);
    font-weight: 500;
}

.promo-callout-band {
    padding: 1.5rem 1.65rem;
    border-radius: 18px;
    background: linear-gradient(120deg, rgba(56, 189, 248, 0.1) 0%, rgba(17, 24, 39, 0.95) 55%, rgba(251, 191, 36, 0.09) 100%);
    border: 1px solid var(--stage-border-glow-cue);
    box-shadow: var(--stage-shadow-card);
}

/* ============================================================================
   Guide Chapter Jump Bar & Split Source-vs-Visual-Preview Rows (Equal Height!)
   ============================================================================ */
.guide-jump-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    margin-top: 1.25rem;
}

.guide-chapter {
    padding: 2.25rem 0;
    border-top: 1px solid var(--stage-border-hairline);
}

.guide-chapter:first-of-type {
    border-top: none;
    padding-top: 0.5rem;
}

.guide-chapter-head {
    max-width: 78ch;
    margin-bottom: 1.35rem;
}

.guide-chapter-head h2 {
    margin: 0.2rem 0 0.5rem 0;
    font-size: clamp(1.4rem, 2.5vw, 1.9rem);
    letter-spacing: -0.025em;
}

.guide-chapter-head p {
    margin: 0;
}

/* Unified Equal-Height Left=Syntax / Right=Visual-Preview Split Card */
.guide-split-card {
    display: grid;
    grid-template-columns: 1fr;
    align-items: stretch;
    border-radius: var(--token-radius-card);
    background-color: var(--stage-bg-card);
    border: 1px solid var(--stage-border-hairline);
    box-shadow: var(--stage-shadow-card);
    overflow: hidden;
    margin-bottom: 1.35rem;
}

.guide-split-card:last-child {
    margin-bottom: 0;
}

.guide-pane {
    height: 100%;
    display: flex;
    flex-direction: column;
    padding: 1.25rem;
}

.guide-pane-source {
    background-color: rgba(9, 13, 22, 0.65);
    border-bottom: 1px solid var(--stage-border-hairline);
}

.guide-pane-preview {
    background-color: rgba(15, 23, 42, 0.55);
}

.guide-pane-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.guide-pane-tag {
    font-size: 0.74rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--stage-accent-chord);
}

.guide-pane-tag-cue {
    color: var(--stage-accent-cue);
}

.guide-pane-preview > .ast-chart-surface {
    flex: 1 1 auto;
    height: 100%;
    display: flex;
    flex-direction: column;
    margin: 0;
}

.guide-code-block {
    background-color: #070B13;
    border: 1px solid var(--stage-border-hairline);
    border-radius: 10px;
    padding: 0.9rem 1rem;
    margin: 0 0 0.85rem 0;
    overflow-x: auto;
    font-family: var(--token-font-mono);
    font-size: 0.84rem;
    line-height: 1.55;
    color: var(--stage-text-primary);
}

.guide-syntax-notes {
    margin-top: auto;
    font-size: 0.88rem;
    line-height: 1.55;
    color: var(--stage-text-secondary);
}

.guide-syntax-notes ul {
    margin: 0.35rem 0 0 0;
    padding-left: 1.15rem;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

/* Styled Data Table Wrapper */
.pro-table-panel {
    border-radius: var(--token-radius-card);
    background-color: var(--stage-bg-card);
    border: 1px solid var(--stage-border-hairline);
    box-shadow: var(--stage-shadow-card);
    overflow: hidden;
}

.pro-table-panel .stage-table {
    margin-top: 0;
}

.pro-table-panel .stage-table tbody tr:last-child td {
    border-bottom: none;
}

.pro-table-panel .stage-table tbody tr:hover {
    background-color: rgba(30, 41, 59, 0.42);
}

/* Responsive Breakpoints for Pro Marketing & Guides */
@media (min-width: 600px) {
    .teaser-hero-copy .toolbar-row .stage-btn {
        width: auto;
    }

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

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

@media (min-width: 740px) {
    .marketing-shell {
        padding: 0 1.75rem 4.5rem;
    }

    .marketing-band {
        padding: 3.5rem 0;
    }

    .page-hero-band {
        padding: 3rem 0 2.5rem;
    }

    .equal-grid-2,
    .spotlight-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1.35rem;
    }

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

    .pro-bento-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1.35rem;
    }

    .pro-bento-span2 {
        grid-column: span 2;
    }

    .bento-feature-split {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
    }
}

@media (min-width: 980px) {
    .teaser-hero {
        padding: 3.75rem 0 2.75rem;
    }

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

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

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

    .guide-split-card {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr);
    }

    .guide-pane {
        padding: 1.45rem 1.55rem;
    }

    .guide-pane-source {
        border-bottom: none;
        border-right: 1px solid var(--stage-border-hairline);
    }
}

/* ============================================================================
   Complete Feature Directory (Overview /features#all-features — Equal Heights)
   ============================================================================ */
.feature-directory-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.35rem;
    align-items: stretch;
}

@media (min-width: 820px) {
    .feature-directory-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.feature-cat-card {
    height: 100%;
    display: flex;
    flex-direction: column;
    padding: 1.45rem 1.5rem;
    border-radius: var(--token-radius-card);
    background: linear-gradient(180deg, rgba(17, 24, 39, 0.94) 0%, rgba(12, 19, 34, 0.94) 100%);
    border: 1px solid var(--stage-border-hairline);
    box-shadow: var(--stage-shadow-card), inset 0 1px 0 var(--stage-surface-card-top);
}

.feature-cat-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 0.95rem;
}

.feature-cat-title-wrap {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    min-width: 0;
}

.feature-cat-title-wrap h3 {
    margin: 0;
    font-size: 1.12rem;
    letter-spacing: -0.018em;
    color: var(--stage-text-primary);
}

.feature-index-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
}

.feature-index-item {
    padding: 0.72rem 0;
    border-top: 1px solid var(--stage-border-hairline);
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.feature-index-title {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
    font-size: 0.94rem;
    font-weight: 700;
    color: var(--stage-text-primary);
    letter-spacing: -0.01em;
}

.feature-index-title::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: var(--stage-accent-chord);
    flex-shrink: 0;
    transform: translateY(-1px);
}

.feature-cat-card-cue .feature-index-title::before {
    background-color: var(--stage-accent-cue);
}

.feature-cat-card-green .feature-index-title::before {
    background-color: var(--stage-sync-green);
}

.feature-index-desc {
    margin: 0;
    padding-left: 0.88rem;
    font-size: 0.86rem;
    line-height: 1.52;
    color: var(--stage-text-muted);
}

.directory-cta-strip {
    margin-top: 1.6rem;
    display: flex;
    justify-content: center;
}


.pro-card {
    padding: 0.9rem;
}

.feature-cat-card {
    padding: 0.95rem 0.9rem;
}

@media (min-width: 740px) {
    .pro-card {
        padding: 1.4rem;
    }

    .feature-cat-card {
        padding: 1.45rem 1.5rem;
    }

    .proof-tile {
        padding: 1rem 1.2rem;
    }

    .proof-tile strong {
        font-size: 1.28rem;
    }
}

/* Clean Editorial On-Page Anchor Index (Overview & Guides — replaces cluttered button walls) */
.page-toc-panel {
    margin: 1.1rem 0 0;
    padding: 0.8rem 0.95rem;
    border-radius: 12px;
    background: rgba(15, 23, 42, 0.56);
    border: 1px solid var(--stage-border-hairline);
}

.page-toc-label {
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--stage-text-muted);
    margin: 0 0 0.45rem;
}

.page-toc-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.2rem 1.25rem;
}

@media (min-width: 480px) {
    .page-toc-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 900px) {
    .page-toc-list {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.page-toc-link {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.32rem 0.2rem;
    font-size: 0.87rem;
    font-weight: 600;
    color: var(--stage-text-secondary);
    text-decoration: none;
    transition: color 0.14s ease;
}

.page-toc-link::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: var(--stage-accent-chord);
    opacity: 0.78;
    flex-shrink: 0;
}

.page-toc-link-cue::before {
    background-color: var(--stage-accent-cue);
}

.page-toc-link:hover {
    color: var(--stage-accent-chord);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.page-toc-cta {
    margin-top: 0.75rem;
    padding-top: 0.7rem;
    border-top: 1px solid var(--stage-border-hairline);
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
}
