* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: #1a1a1a;
    color: #e0e0e0;
    line-height: 1.6;
}

h1 {
    font-size: 2.25rem;
    line-height: 1.2;
}

h2 {
    font-size: 1.75rem;
    line-height: 1.25;
}

h3 {
    font-size: 1.35rem;
    line-height: 1.3;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Header */
.site-header {
    background: #252525;
    border-bottom: 1px solid rgba(58, 58, 58, 0.6);
    padding: clamp(22px, 2.4vw, 30px) 0;
}

.site-header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-logo {
    color: #4a9eff;
    font-size: 1.8rem;
    font-weight: 600;
    margin: 0;
}

.sh-brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    line-height: 1;
    color: #4a9eff;
}

.sh-brand img {
    opacity: 1 !important;
    filter: none !important;
    mix-blend-mode: normal !important;
    display: block;
}

/* Fallback: hide broken images, ensure text remains visible */
.sh-brand img[src=""],
.sh-brand img:not([src]) {
    display: none;
}

.sh-brand__text {
    font-size: 1.8rem;
    font-weight: 600;
    color: inherit;
    /* Ensure text is always visible even if images fail */
    display: inline-block;
}

.sh-brand__icon {
    height: 32px;
    width: auto;
    display: block;
}

.sh-brand__mark {
    height: 32px;
    width: auto;
    max-height: 36px;
    display: block;
}

/* Optional: if header is tight on mobile, scale down a bit */
@media (max-width: 480px) {
    .sh-brand__icon {
        height: 26px;
    }

    .sh-brand__mark {
        height: 26px;
    }

    .sh-brand__text {
        font-size: 1.5rem;
    }
}

/* Default: assume dark UI */
.sh-brand__mark--light {
    display: none;
}

/* If user prefers light mode, swap */
@media (prefers-color-scheme: light) {
    .sh-brand__mark--dark {
        display: none;
    }

    .sh-brand__mark--light {
        display: block;
    }
}

/* SH-WEB-TXX: Force header logo to always use dark (white) version */
/* Header has dark background (#252525), so always use white logo regardless of system theme */
.site-header .sh-brand__mark--dark {
    display: block !important;
}

.site-header .sh-brand__mark--light {
    display: none !important;
}

/* SH-WEB-ASSET-T01-C: per-page header logo sizing */
.site-header .sh-brand__mark {
    height: 50px;
    width: auto;
    max-height: 50px;
}

body[data-page="preview-dashboard"] .site-header .sh-brand__mark {
    height: 60px;
    width: auto;
    max-height: 60px;
}

.sh-brand:focus-visible {
    outline: 2px solid rgba(120, 170, 255, 0.9);
    outline-offset: 3px;
    border-radius: 6px;
}

.site-logo-link {
    text-decoration: none;
    color: inherit;
    cursor: pointer;
    display: inline-block;
}

.site-logo-link:hover {
    filter: brightness(1.1);
}

.site-logo-link:focus-visible {
    outline: 2px solid rgba(80, 160, 255, 0.8);
    outline-offset: 4px;
    border-radius: 6px;
}

.site-nav {
  /* SH-WEB-HEADER-NAV-GAP-01: space between logo/brand and nav */
  margin-left: 18px;
    display: flex;
    gap: 24px;
    align-items: center;
}

.site-nav-link {
    color: #e0e0e0;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    padding: 8px 12px;
    border-radius: 6px;
    transition: color 0.18s ease;
    position: relative;
    letter-spacing: -0.01em;
    white-space: nowrap;
}

.site-nav-link::after {
    content: "";
    position: absolute;
    left: 12px;
    right: 12px;
    bottom: 4px;
    height: 1.5px;
    border-radius: 2px;
    background: rgba(74, 158, 255, 0.9);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 180ms ease, opacity 180ms ease;
    opacity: 0;
}

.site-nav-link:hover {
    color: #4a9eff;
}

.site-nav-link:hover::after {
    transform: scaleX(1);
    opacity: 1;
}

.site-nav-link:focus-visible {
    outline: 2px solid rgba(80, 160, 255, 0.8);
    outline-offset: 2px;
    border-radius: 4px;
}

.site-nav-link[aria-current="page"] {
    color: #4a9eff;
}

.site-nav-link[aria-current="page"]::after {
    transform: scaleX(1);
    opacity: 1;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #1a1a1a 0%, #252525 100%);
    padding: 80px 0;
    text-align: center;
    border-bottom: 1px solid #3a3a3a;
}

/* SH-WEB-TLAND-SIZE-01: landing sizing normalization (hero + header) */
.page-home .hero {
    padding: 96px 0 72px;
}

.page-home .hero h1 {
    font-size: clamp(2.25rem, 2.4vw + 1rem, 3.25rem);
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.page-home .hero-tagline {
    font-size: clamp(1rem, 1.2vw + 0.6rem, 1.1rem);
    margin-bottom: 24px;
    max-width: 65ch;
    margin-left: auto;
    margin-right: auto;
}

@media (max-height: 800px) {
    .page-home .hero {
        padding: 72px 0 56px;
    }
}

.page-home .site-header {
    min-height: 72px;
}
/* SH-WEB-TNAV-LOGO-NORMALIZE-01: home navbar logo matches site-wide size */

.page-home .site-nav-link {
    font-size: 15px;
    padding: 10px 12px;
}

.hero-title {
    color: #4a9eff;
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 16px;
}

/* Premium title with subtle gradient */
.premium-title {
    background: linear-gradient(90deg, rgba(74, 158, 255, 1), rgba(220, 235, 255, 0.95));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: #4a9eff; /* Fallback for browsers that don't support background-clip */
}

/* Ensure gradient works on hero titles */
.hero-title.premium-title {
    display: inline-block;
}

.hero-tagline {
    color: #b0b0b0;
    font-size: 1.2rem;
    margin-bottom: 32px;
}

.hero-status {
    color: #b0b0b0;
    font-size: 1rem;
    margin-top: 24px;
    margin-bottom: 12px;
}

.hero-status-title {
    color: #b0b0b0;
    font-size: 1rem;
    margin-bottom: 12px;
}

.uc-last-updated {
    color: #b0b0b0;
    font-size: 1rem;
    margin-bottom: 32px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 24px;
}

.hero-links {
    display: flex;
    gap: 24px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 20px;
}

.hero-links .site-nav-link {
    display: inline-block;
}

.hero-button {
    display: inline-block;
    padding: 14px 32px;
    background: #4a9eff;
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-size: 1.1rem;
    font-weight: 500;
    transition: background 0.2s;
}

.hero-button:hover:not(:disabled) {
    background: #3a8eef;
}

.hero-button:active:not(:disabled) {
    background: #2a7edf;
}

.hero-button:disabled {
    background: #3a3a3a;
    color: #888;
    cursor: not-allowed;
    opacity: 0.7;
}

.hero-button.secondary {
    background: transparent;
    border: 2px solid #4a9eff;
    color: #4a9eff;
}

.hero-button.secondary:hover {
    background: rgba(74, 158, 255, 0.1);
    border-color: #3a8eef;
    color: #3a8eef;
}

.hero-button.secondary:active {
    background: rgba(74, 158, 255, 0.2);
    border-color: #2a7edf;
    color: #2a7edf;
}

/* Section Styles */
.demo-section,
.features-section,
.roadmap-section,
.referral-section,
.comparison-section,
.pricing-section {
    padding: 60px 0;
    border-bottom: 1px solid #3a3a3a;
}

.demo-section {
    border-top: 1px solid rgba(58, 58, 58, 0.6);
    position: relative;
}

.section-title {
    color: #4a9eff;
    font-size: 2rem;
    font-weight: 600;
    text-align: center;
    margin-bottom: 16px;
}

.section-description {
    color: #b0b0b0;
    text-align: center;
    font-size: 1.1rem;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.faq-item {
    margin: 12px 0;
    padding: 12px 16px;
    border: 1px solid #3a3a3a;
    border-radius: 8px;
    background: #252525;
}

.faq-item summary {
    cursor: pointer;
    color: #e0e0e0;
    font-weight: 600;
}

.faq-item p {
    margin: 8px 0 0;
    color: #b0b0b0;
}

.capabilities-list {
    margin: 0 auto;
    max-width: 720px;
    padding-left: 20px;
    color: #b0b0b0;
    line-height: 1.6;
}

.capabilities-list li {
    margin-bottom: 8px;
}

.capabilities-list li:last-child {
    margin-bottom: 0;
}

/* Embed Wrapper */
.embed-wrapper {
    display: flex;
    justify-content: center;
    margin-top: 40px;
}

.sh-embed-frame {
    width: 100%;
    max-width: 480px;
    height: 320px;
    border: 0;
    border-radius: 8px;
    background: #252525;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.feature-card {
    background: #252525;
    border: 1px solid #3a3a3a;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    transition: transform 0.2s, box-shadow 0.2s;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 12px rgba(74, 158, 255, 0.2);
}

.feature-card-link {
    color: inherit;
    text-decoration: none;
    display: block;
}

.feature-card-link:hover {
    text-decoration: none;
}

.feature-title {
    color: #4a9eff;
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.feature-description {
    color: #b0b0b0;
    font-size: 1rem;
    line-height: 1.6;
}

.feature-icon {
    font-size: 2rem;
    margin-bottom: 16px;
}

.feature-vip-lock {
    color: #00d084;
    font-size: 0.9rem;
    margin-top: 12px;
    font-weight: 500;
}

.details-link {
    color: #4a9eff;
    text-decoration: none;
    opacity: 0.85;
}

.details-link:hover {
    text-decoration: underline;
    opacity: 1;
}

.features-grid-2x2 {
    grid-template-columns: repeat(2, 1fr);
}

@media (max-width: 768px) {
    .features-grid-2x2 {
        grid-template-columns: 1fr;
    }
}

/* Roadmap */
.roadmap-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.roadmap-item {
    display: flex;
    align-items: center;
    gap: 20px;
    background: #252525;
    border: 1px solid #3a3a3a;
    border-radius: 8px;
    padding: 20px 30px;
}

.roadmap-phase {
    color: #4a9eff;
    font-weight: 600;
    font-size: 1.1rem;
    min-width: 80px;
}

.roadmap-description {
    color: #e0e0e0;
    font-size: 1rem;
}

/* Referral Section */
.referral-card {
    background: #252525;
    border: 1px solid #3a3a3a;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    max-width: 700px;
    margin: 40px auto 0;
    position: relative;
}

.referral-badge {
    display: inline-block;
    background: rgba(74, 158, 255, 0.15);
    color: #4a9eff;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 6px 12px;
    border-radius: 12px;
    margin-bottom: 20px;
}

.referral-subtitle {
    color: #4a9eff;
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.referral-steps {
    color: #e0e0e0;
    font-size: 1rem;
    line-height: 1.8;
    margin-left: 20px;
    margin-bottom: 24px;
}

.referral-steps li {
    margin-bottom: 12px;
}

.referral-disclaimer {
    color: #888;
    font-size: 0.85rem;
    line-height: 1.6;
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid #3a3a3a;
}

/* Footer */
.site-footer {
    background: #252525;
    border-top: 1px solid #3a3a3a;
    padding: 30px 0;
    text-align: center;
}

.footer-text {
    color: #888;
    font-size: 0.9rem;
}

/* Comparison Table */
.comparison-table-wrapper {
    overflow-x: auto;
    margin-top: 40px;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    background: #252525;
    border: 1px solid #3a3a3a;
    border-radius: 8px;
    overflow: hidden;
}

.comparison-table thead {
    background: #2a2a2a;
}

.comparison-table th {
    padding: 16px 20px;
    text-align: left;
    color: #4a9eff;
    font-weight: 600;
    font-size: 1rem;
    border-bottom: 1px solid #3a3a3a;
}

.comparison-table th:first-child {
    width: 30%;
}

.comparison-table td {
    padding: 16px 20px;
    color: #e0e0e0;
    font-size: 0.95rem;
    border-bottom: 1px solid #3a3a3a;
}

.comparison-table tbody tr:last-child td {
    border-bottom: none;
}

.comparison-table .pro-cell {
    color: #4a9eff;
    font-weight: 500;
}

.comparison-table .vip-cell {
    color: #00d084;
    font-weight: 500;
}

.comparison-cta {
    text-align: center;
    margin-top: 32px;
}

.comparison-link {
    color: #00d084;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 500;
    transition: color 0.2s;
}

.comparison-link:hover {
    color: #00b874;
}

.comparison-link:focus-visible {
    outline: 2px solid rgba(0, 208, 132, 0.8);
    outline-offset: 4px;
    border-radius: 4px;
}

/* SH-WEB-TPRICING-AI-LINK-01: AI learn-more link uses standard blue link color */
.plans-shell-ai .comparison-link {
    color: #4a9eff;
}

.plans-shell-ai .comparison-link:hover {
    color: #5bb1ff;
}

.plans-shell-ai .comparison-link:focus-visible {
    outline-color: rgba(74, 158, 255, 0.8);
}

/* SH-WEB-TPRICING-POLISH-01: AI link hover + bundles microline */
.ai-learn-link {
    opacity: 0.85;
    transition: opacity 140ms ease;
}

.ai-learn-link:hover {
    opacity: 1;
}

.bundles-microline {
    margin-top: 10px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.62);
}

/* SH-WEB-TLOGIN-TIGHTEN-02: shrink login module for better 100% zoom proportions */
.plans-shell-login {
  max-width: 520px;
    margin: 0 auto;
    text-align: center;
  padding: 30px 28px;
}

.plans-shell-login h2 {
  margin-bottom: 10px;
  font-size: 38px;
    margin-top: 0;
}

.plans-shell-login .hero-tagline {
  margin-bottom: 18px;
  font-size: 18px;
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
}

.plans-shell-login .auth-form-container {
  margin-top: 14px;
    margin: 30px auto 0;
    text-align: left;
}

/* Pricing Section */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

/* SH-WEB-TPRICING-PREMIUM-01: Core plans premium container (non-interactive) */
.plans-shell {
    position: relative;
    padding: 26px 22px;
    border-radius: 16px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.015));
    border: 1px solid rgba(58, 58, 58, 0.6);
    box-shadow: 0 18px 60px rgba(0, 0, 0, 0.35);
}

.plans-shell::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
    background: radial-gradient(900px 240px at 50% 0%, rgba(99, 165, 255, 0.12), rgba(0, 0, 0, 0) 60%);
    opacity: 0;
}

.plans-shell > * {
    position: relative;
    z-index: 1;
}

/* SH-WEB-TPRICING-REFLECT-01: Core plans premium glow is hover-only (default off) */
.pricing-section .plans-shell:hover::before,
.pricing-section .plans-shell:focus-within::before {
    opacity: 0.55;
}
/* SH-WEB-TPRICING-PREMIUM-02 — Pricing: Core plans header inside premium panel */
.plans-shell__header {
    text-align: center;
    padding: 6px 10px 18px;
}

.plans-shell__header h2 {
    margin: 6px 0 10px;
}

.plans-shell__header p {
    margin: 8px auto 0;
    max-width: 740px;
    color: rgba(255, 255, 255, 0.74);
}

/* SH-WEB-TPRICING-NORM-01: normalize Core plans card layout (Free/Pro/VIP) */
.plans-shell .pricing-card {
    display: flex;
    flex-direction: column;
}

.plans-shell .pricing-features {
    flex: 1 1 auto;
}

.plans-shell .pricing-button {
    margin-top: auto;
}

.plans-shell .pricing-badge-placeholder {
    visibility: hidden;
}

/* SH-WEB-TPRICING-VIP-NORM-01: Core plans VIP should match Free/Pro border */
.plans-shell .pricing-card-vip {
    border: 1px solid rgba(58, 58, 58, 0.8);
}

/* SH-WEB-TPRICING-AI-SHELL-01: AI module uses standard hover (no VIP glow) */
.plans-shell-ai .pricing-card-vip:hover,
.plans-shell-ai .pricing-card-vip:focus-within {
    box-shadow: 0 6px 16px rgba(74, 158, 255, 0.25), 0 2px 6px rgba(0, 0, 0, 0.3);
    border-color: rgba(74, 158, 255, 0.3);
}

/* SH-WEB-TPRICING-BUNDLES-SHELL-01: Bundles module uses standard hover (no VIP outline) */
.plans-shell-bundles .pricing-card-vip {
    border: 1px solid rgba(58, 58, 58, 0.8);
}

.plans-shell-bundles .pricing-card-vip:hover,
.plans-shell-bundles .pricing-card-vip:focus-within {
    box-shadow: 0 6px 16px rgba(74, 158, 255, 0.25), 0 2px 6px rgba(0, 0, 0, 0.3);
    border-color: rgba(74, 158, 255, 0.3);
}

/* SH-WEB-TPRICING-PRICE-NORM-01: VIP price typography matches Pro (Core plans only) */
.plans-shell:not(.plans-shell-ai):not(.plans-shell-bundles):not(.plans-shell-faq) .pricing-card-vip .pricing-amount {
    color: #e0e0e0;
    font-size: 2.6rem;
    font-weight: 700;
    letter-spacing: -0.03em;
}

.plans-shell:not(.plans-shell-ai):not(.plans-shell-bundles):not(.plans-shell-faq) .pricing-card-vip .pricing-period {
    color: #b0b0b0;
    font-size: 1.2rem;
    font-weight: 400;
}

/* SH-WEB-TPRICING-PRICE-NORM-02: neutralize VIP highlight inside AI + Bundles modules */
.plans-shell-ai .pricing-card-vip .pricing-amount,
.plans-shell-ai .pricing-card-vip .pricing-period,
.plans-shell-ai .pricing-card-vip .pricing-plan-name,
.plans-shell-ai .pricing-card-vip .pricing-plan-name-vip,
.plans-shell-bundles .pricing-card-vip .pricing-amount,
.plans-shell-bundles .pricing-card-vip .pricing-period,
.plans-shell-bundles .pricing-card-vip .pricing-plan-name,
.plans-shell-bundles .pricing-card-vip .pricing-plan-name-vip {
    color: inherit;
}

/* SH-WEB-TPRICING-TITLE-BLUE-FIX-03: force blue titles for VIP-styled cards in AI + Bundles */
.plans-shell-ai .pricing-card-vip h3.pricing-plan-name,
.plans-shell-bundles .pricing-card-vip h3.pricing-plan-name {
    color: #4a9eff;
}

/* SH-WEB-TPRICING-FAQ-MODULE-01: Pricing Upgrade request + FAQ in premium shell */
.plans-shell-faq .plans-shell__header {
    padding-bottom: 16px;
}

.plans-shell-faq .section-title + .faq-item {
    margin-top: 12px;
}

/* SH-WEB-TFEATURES-STYLE-01: apply pricing module shell rhythm on /features */
.features-page .plans-shell-features {
    margin: 0 auto;
}

.features-page section + section .plans-shell-features {
    margin-top: 28px;
}

/* SH-WEB-TFEATURES-TITLE-COLOR-02: explicit blue title class for Features */
.features-title-blue {
    color: #4a9eff;
}

/* SH-WEB-THOME-STYLE-01: apply pricing module shell rhythm on Home */
.page-home .plans-shell-home {
    margin: 0 auto;
}

.page-home section + section .plans-shell-home {
    margin-top: 28px;
}

/* SH-WEB-TWHY-STYLE-01: apply pricing module shell rhythm on why-this-signal */
.why-title-blue {
    color: #4a9eff;
}

.why-page .plans-shell-why {
    margin: 0 auto;
}

.why-page section + section .plans-shell-why {
    margin-top: 28px;
}

/* SH-WEB-THOME-AI-CAPS-SPACING-01: add breathing room after CTA before next heading */
.page-home .plans-shell-home .hero-actions + h2 {
    margin-top: 26px;
}

/* SH-WEB-THOME-SNAPSHOT-WIDTH-02: widen Live Market Snapshot widget on Home */
.page-home #market-cap-display.market-cap-display {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    display: block;
}

.page-home #market-cap-display.market-cap-display .snapshot,
.page-home #market-cap-display.market-cap-display .snapshot-view,
.page-home #market-cap-display.market-cap-display .snapshot-panel,
.page-home #market-cap-display.market-cap-display .snapshot-container {
    width: 100%;
    max-width: 100%;
}

/* SH-WEB-THOME-SNAPSHOT-WIDTH-03: compact Live Market Snapshot widget content (photo 3) */
.page-home #market-cap-display.market-cap-display .market-cap-display-content {
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
}

/* SH-WEB-THOME-MKTCAP-STYLE-01: compact Total Crypto Market Cap bar (Home) */
.page-home #market-cap-display.market-cap-display {
    padding: 10px 14px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 14px;
    line-height: 1.25;
}

.page-home #market-cap-display.market-cap-display .market-cap-display-content {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    white-space: nowrap;
}

/* SH-WEB-THOME-MKTCAP-PILL-01: compact premium market cap pill (Home) */
.page-home #market-cap-display.market-cap-display {
    padding: 0;
    background: transparent;
    border: none;
}

.page-home #market-cap-display.market-cap-display .market-cap-display-content {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-wrap: nowrap;
    padding: 10px 14px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 14px;
    line-height: 1.2;
}

.page-home #market-cap-display.market-cap-display .market-cap-label {
    color: rgba(255, 255, 255, 0.72);
}

.page-home #market-cap-display.market-cap-display .market-cap-value {
    color: #4a9eff;
    font-weight: 600;
}

.page-home #market-cap-display.market-cap-display .market-cap-change {
    font-weight: 600;
}

.page-home #market-cap-display.market-cap-display .market-cap-change.positive {
    color: rgba(0, 220, 120, 0.95);
}

.page-home #market-cap-display.market-cap-display .market-cap-change.negative {
    color: rgba(255, 90, 90, 0.95);
}

.pricing-card {
    background: #252525;
    border: 1px solid rgba(58, 58, 58, 0.8);
    border-radius: 10px;
    padding: 38px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4), 0 2px 4px rgba(0, 0, 0, 0.2);
    transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
    position: relative;
}

.pricing-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 16px rgba(74, 158, 255, 0.25), 0 2px 6px rgba(0, 0, 0, 0.3);
    border-color: rgba(74, 158, 255, 0.3);
}

/* SH-WEB-TPRICING-GLOW-TUNE-01: unified mid-level hover/focus glow for pricing cards */
.pricing-section .pricing-card:hover,
.pricing-section .pricing-card:focus-within,
.pricing-section .pricing-card-vip:hover,
.pricing-section .pricing-card-vip:focus-within {
    box-shadow:
        0 0 0 1px rgba(77, 163, 255, 0.35),
        0 18px 46px rgba(77, 163, 255, 0.16);
}

.pricing-card-vip {
    border: 1px solid rgba(74, 158, 255, 0.4);
}

.pricing-card-vip:hover,
.pricing-card-vip:focus-within {
    box-shadow: 
        0 0 80px rgba(74, 158, 255, 0.45),
        0 0 24px rgba(74, 158, 255, 0.4),
        0 6px 16px rgba(0, 0, 0, 0.4),
        inset 0 0 20px rgba(74, 158, 255, 0.08);
    border-color: rgba(91, 177, 255, 0.8);
}

.pricing-badge {
    display: inline-block;
    background: rgba(74, 158, 255, 0.15);
    color: #4a9eff;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 4px 10px;
    border-radius: 12px;
    margin-bottom: 16px;
    border: 1px solid rgba(74, 158, 255, 0.25);
}

.pricing-badge-vip {
    background: rgba(74, 158, 255, 0.15);
    color: #5bb1ff;
    border: 1px solid rgba(74, 158, 255, 0.35);
}

/* SH-WEB-TPRICING-TITLE-ACCENT-01: opt-in blue accent for selected pricing titles */
.pricing-section .pricing-title-accent {
    color: #4a9eff;
}

/* SH-WEB-TPRICING-TITLE-BLUE-FIX-02: force VIP-title blue inside AI + Bundles modules */
.plans-shell-ai .pricing-plan-name-vip,
.plans-shell-bundles .pricing-plan-name-vip {
    color: #4a9eff;
}

.pricing-plan-name {
    color: #4a9eff;
    font-size: 1.6rem;
    font-weight: 600;
    margin-bottom: 18px;
    letter-spacing: -0.02em;
}

.pricing-plan-name-vip {
    color: #5bb1ff;
}

.pricing-price {
    margin-bottom: 8px;
}

.pricing-amount {
    color: #e0e0e0;
    font-size: 2.6rem;
    font-weight: 700;
    letter-spacing: -0.03em;
}

.pricing-card-vip .pricing-amount {
    color: #5bb1ff;
}

.pricing-period {
    color: #b0b0b0;
    font-size: 1.2rem;
    font-weight: 400;
    margin-left: 4px;
}

.pricing-card-vip .pricing-period {
    color: rgba(91, 177, 255, 0.8);
}

.pricing-annual {
    color: #b0b0b0;
    font-size: 0.95rem;
    margin-bottom: 24px;
}

.pricing-savings {
    color: #888;
    font-size: 0.85rem;
}

.pricing-features {
    list-style: none;
    margin-bottom: 30px;
    padding: 0;
}

.pricing-features li {
    color: #b0b0b0;
    font-size: 0.95rem;
    line-height: 1.8;
    padding-left: 24px;
    position: relative;
    margin-bottom: 8px;
}

.pricing-features li:before {
    content: "•";
    position: absolute;
    left: 8px;
    color: #4a9eff;
    font-weight: bold;
    font-size: 1.2em;
}

.pricing-card-vip .pricing-features li:before {
    color: #5bb1ff;
}

.pricing-button {
    display: block;
    width: 100%;
    padding: 14px 24px;
    background: #4a9eff;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s;
    text-decoration: none;
    text-align: center;
}

.pricing-button:hover:not(:disabled) {
    background: #3a8eef;
}

.pricing-button:active:not(:disabled) {
    background: #2a7edf;
}

.pricing-button:focus-visible {
    outline: 2px solid rgba(80, 160, 255, 0.8);
    outline-offset: 2px;
}

.pricing-button-current {
    background: #3a3a3a;
    color: #888;
    cursor: not-allowed;
}

.pricing-button-current:hover {
    background: #3a3a3a;
}

a.pricing-button {
    display: block;
}

.pricing-button-waitlist {
    background: #4a9eff;
}

.pricing-button-vip {
    background: #4a9eff;
}

.pricing-button-vip:hover {
    background: #5bb1ff;
    box-shadow: 0 4px 12px rgba(74, 158, 255, 0.4);
}

.pricing-button-vip:active {
    background: #3a8eef;
}

.pricing-button-vip:focus-visible {
    outline-color: rgba(74, 158, 255, 0.8);
}

/* Market Cap Display */
.market-cap-divider {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    border-top: 1px solid rgba(58, 58, 58, 0.6);
    margin-top: 0;
    padding-top: 0;
    padding-bottom: 0;
}

.market-cap-divider .container {
    position: relative;
    display: flex;
    justify-content: center;
    padding-top: 0;
    padding-bottom: 0;
}

.market-cap-display {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    margin-top: 0 !important;
    transform: translateY(-50%);
    padding: 10px 14px;
    background: #252525;
    border: 1px solid #3a3a3a;
    border-radius: 8px;
    font-size: 0.95rem;
    text-align: center;
    color: #e0e0e0;
}

.demo-section .market-cap-display {
    position: relative;
    margin: 0 auto 24px;
    transform: none;
}

.market-cap-display-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
}

.market-cap-label {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

.market-cap-value {
    color: #4a9eff;
    font-weight: 600;
    font-size: 1rem;
}

.market-cap-change {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
}

.market-cap-change.positive {
    color: #4ade80;
}

.market-cap-change.negative {
    color: #f87171;
}

.market-cap-skeleton {
    display: inline-block;
    width: 150px;
    height: 1.2em;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.1) 25%, rgba(255, 255, 255, 0.2) 50%, rgba(255, 255, 255, 0.1) 75%);
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s ease-in-out infinite;
    border-radius: 4px;
}

@keyframes skeleton-loading {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

.preview-hidden {
    display: none !important;
}

/* Responsive */
@media (max-width: 768px) {
    .site-header {
        padding: 20px 0;
    }

    .site-header-content {
        flex-direction: column;
        gap: 16px;
    }

    .site-logo {
        text-align: center;
    }

    .site-nav {
  /* SH-WEB-HEADER-NAV-GAP-02: mobile nav must not lose width to desktop spacing */
  margin-left: 0;
        gap: 20px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-tagline {
        font-size: 1rem;
    }

    .section-title {
        font-size: 1.6rem;
    }

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

    .roadmap-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .sh-embed-frame {
        height: 280px;
    }

    .referral-card {
        padding: 20px;
    }

    .referral-steps {
        margin-left: 16px;
    }

    .features-grid-2x2 {
        grid-template-columns: 1fr;
    }

    .comparison-table {
        font-size: 0.9rem;
    }

    .comparison-table th,
    .comparison-table td {
        padding: 12px 16px;
    }

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

    .pricing-card {
        padding: 28px;
    }

    .pricing-card-vip {
        border-color: rgba(74, 158, 255, 0.4);
    }

    .pricing-card-vip:hover,
    .pricing-card-vip:focus-within {
        box-shadow: 
            0 0 50px rgba(74, 158, 255, 0.3),
            0 0 16px rgba(74, 158, 255, 0.3),
            0 6px 16px rgba(0, 0, 0, 0.4),
            inset 0 0 15px rgba(74, 158, 255, 0.08);
    }

    .market-cap-display {
        padding: 8px 12px;
        font-size: 0.9rem;
        transform: translateY(-50%);
        width: calc(100% - 32px);
        max-width: 600px;
    }
    
    .demo-section .market-cap-display {
        margin: 0 auto 24px;
    }
    
    .market-cap-value {
        font-size: 0.95rem;
    }
    
    .market-cap-label,
    .market-cap-change {
        font-size: 0.85rem;
    }
}

/* SH-WEB-TLOGIN-TIGHTEN-03: widen inner login card slightly for better proportions */
/* Auth Section */
.auth-section {
    padding: 60px 0;
    border-bottom: 1px solid #3a3a3a;
}

.auth-form-container {
    max-width: 520px;
    margin: 0 auto;
}

.auth-form {
    background: #252525;
    border: 1px solid #3a3a3a;
    border-radius: 8px;
    padding: 32px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.auth-form-group {
    margin-bottom: 20px;
}

.auth-label {
    display: block;
    color: #e0e0e0;
    font-size: 0.95rem;
    font-weight: 500;
    margin-bottom: 8px;
}

.auth-input {
    width: 100%;
    padding: 12px 16px;
    background: #1a1a1a;
    border: 1px solid #3a3a3a;
    border-radius: 6px;
    color: #e0e0e0;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.2s, background 0.2s;
}

.auth-input:focus {
    outline: none;
    border-color: #4a9eff;
    background: #1f1f1f;
}

.auth-input::placeholder {
    color: #666;
}

.auth-error {
    color: #ff6b6b;
    font-size: 0.9rem;
    margin-top: 10px;
    margin-bottom: 10px;
    padding: 8px 12px;
    background: rgba(255, 107, 107, 0.1);
    border: 1px solid rgba(255, 107, 107, 0.3);
    border-radius: 6px;
}

.auth-success {
    color: #00d084;
    font-size: 0.9rem;
    margin-top: 10px;
    margin-bottom: 10px;
    padding: 8px 12px;
    background: rgba(0, 208, 132, 0.1);
    border: 1px solid rgba(0, 208, 132, 0.3);
    border-radius: 6px;
}

.auth-button {
    width: 100%;
    padding: 14px 32px;
    background: #4a9eff;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 1.1rem;
    font-weight: 500;
    font-family: inherit;
    cursor: pointer;
    transition: background 0.2s;
    margin-top: 8px;
}

.auth-button:hover:not(:disabled) {
    background: #3a8eef;
}

.auth-button:active:not(:disabled) {
    background: #2a7edf;
}

.auth-button:disabled {
    background: #3a3a3a;
    color: #888;
    cursor: not-allowed;
}

.auth-button:focus-visible {
    outline: 2px solid rgba(74, 158, 255, 0.8);
    outline-offset: 2px;
}

.auth-form-footer {
    text-align: center;
    margin-top: 24px;
    color: #888;
    font-size: 0.9rem;
}

.auth-link {
    color: #4a9eff;
    text-decoration: none;
    font-weight: 500;
}

.auth-link:hover {
    color: #3a8eef;
    text-decoration: underline;
}

.auth-link:focus-visible {
    outline: 2px solid rgba(74, 158, 255, 0.8);
    outline-offset: 2px;
    border-radius: 2px;
}

/* Plan Badge */
.plan-badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: 1px solid;
}

.plan-badge--free {
    background: rgba(136, 136, 136, 0.15);
    color: #888;
    border-color: rgba(136, 136, 136, 0.3);
}

.plan-badge--pro {
    background: rgba(74, 158, 255, 0.15);
    color: #4a9eff;
    border-color: rgba(74, 158, 255, 0.3);
}

.plan-badge--vip {
    background: rgba(91, 177, 255, 0.15);
    color: #5bb1ff;
    border-color: rgba(91, 177, 255, 0.4);
}

/* Plan Gating */
.plan-gated-section {
    padding: 60px 0;
    border-bottom: 1px solid #3a3a3a;
}

.plan-gated-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.plan-gated-demo {
    min-height: 120px;
}

.plan-gated-card {
    background: #252525;
    border: 1px solid #3a3a3a;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.plan-gated-title {
    color: #4a9eff;
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.plan-gated-description {
    color: #b0b0b0;
    font-size: 1rem;
    line-height: 1.6;
}

.ai-output-area {
    background: #1a1a1a;
    border: 1px solid #3a3a3a;
    border-radius: 6px;
    padding: 20px;
    min-height: 100px;
    max-height: 220px;
    overflow-y: auto;
}

/* AI Copy Button */
.ai-copy-btn {
    padding: 8px 16px;
    background: #4a9eff;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s;
    font-family: inherit;
}

.ai-copy-btn:hover:not(:disabled) {
    background: #3a8eef;
}

.ai-copy-btn:active:not(:disabled) {
    background: #2a7edf;
}

.ai-copy-btn:disabled {
    background: #3a3a3a;
    color: #888;
    cursor: not-allowed;
    opacity: 0.7;
}

.ai-copy-btn:focus-visible {
    outline: 2px solid rgba(74, 158, 255, 0.8);
    outline-offset: 2px;
}

.ai-copy-status {
    color: #888;
    font-size: 0.85rem;
    min-width: 60px;
    text-align: right;
}

.ai-output-placeholder {
    color: #666;
    font-size: 0.95rem;
    text-align: center;
    margin: 0;
}

/* AI Loading Spinner */
.ai-loading-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 20px 0;
}

.ai-spinner {
    width: 24px;
    height: 24px;
    border: 3px solid rgba(74, 158, 255, 0.2);
    border-top-color: #4a9eff;
    border-radius: 50%;
    animation: ai-spinner-rotate 0.8s linear infinite;
}

@keyframes ai-spinner-rotate {
    to {
        transform: rotate(360deg);
    }
}

.ai-loading-text {
    color: #b0b0b0;
    font-size: 0.95rem;
    margin: 0;
}

.ai-error-cta {
    color: #4a9eff;
    text-decoration: none;
    font-weight: 500;
    margin-left: 4px;
}

.ai-error-cta:hover {
    color: #3a8eef;
    text-decoration: underline;
}

.ai-error-cta:focus-visible {
    outline: 2px solid rgba(74, 158, 255, 0.8);
    outline-offset: 2px;
    border-radius: 2px;
}

.ai-upgrade-hint {
    margin-top: 12px;
    text-align: center;
    font-size: 0.9rem;
}

.ai-upgrade-hint-text {
    color: #888;
}

.ai-upgrade-link {
    color: #4a9eff;
    text-decoration: none;
    margin-left: 8px;
    font-weight: 500;
}

.ai-upgrade-link:hover {
    color: #3a8eef;
    text-decoration: underline;
}

.ai-upgrade-link:focus-visible {
    outline: 2px solid rgba(74, 158, 255, 0.8);
    outline-offset: 2px;
    border-radius: 2px;
}

.ai-retry-link {
    display: inline;
}

.ai-retry-btn {
    color: #4a9eff;
    text-decoration: none;
    font-weight: 500;
    cursor: pointer;
}

.ai-retry-btn:hover {
    color: #3a8eef;
    text-decoration: underline;
}

.ai-retry-btn:focus-visible {
    outline: 2px solid rgba(74, 158, 255, 0.8);
    outline-offset: 2px;
    border-radius: 2px;
}

/* Locked Box */
.is-locked {
    position: relative;
}

.locked-box {
    background: #252525;
    border: 1px solid #3a3a3a;
    border-radius: 8px;
    padding: 24px;
    text-align: center;
}

.locked-title {
    color: #888;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.locked-desc {
    color: #b0b0b0;
    font-size: 0.95rem;
    margin-bottom: 16px;
}

.locked-cta {
    display: inline-block;
    padding: 10px 20px;
    background: #4a9eff;
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-size: 0.95rem;
    font-weight: 500;
    transition: background 0.2s;
}

.locked-cta:hover {
    background: #3a8eef;
}

.locked-cta:active {
    background: #2a7edf;
}

.locked-cta:focus-visible {
    outline: 2px solid rgba(74, 158, 255, 0.8);
    outline-offset: 2px;
}

/* Plan Gating - Locked Navigation Links */
a.is-locked {
    opacity: 0.6;
    cursor: not-allowed;
    pointer-events: none;
}

/* Upgrade Required Message */
.upgrade-required-wrapper {
    background: #252525;
    border: 1px solid #3a3a3a;
    border-radius: 8px;
    padding: 24px;
    text-align: center;
    margin: 16px 0;
}

.upgrade-required {
    /* Container for upgrade message content */
}

.upgrade-required-title {
    color: #888;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.upgrade-required-body {
    color: #b0b0b0;
    font-size: 0.95rem;
    margin-bottom: 16px;
}

.upgrade-required-link {
    display: inline-block;
    padding: 10px 20px;
    background: #4a9eff;
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-size: 0.95rem;
    font-weight: 500;
    transition: background 0.2s;
}

.upgrade-required-link:hover {
    background: #3a8eef;
}

.upgrade-required-link:focus-visible {
    outline: 2px solid rgba(74, 158, 255, 0.8);
    outline-offset: 2px;
}

/* Referral User Box */
.referral-user-box {
    margin: 40px auto 0;
    max-width: 700px;
}

.referral-user-card {
    background: #252525;
    border: 1px solid #3a3a3a;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    text-align: center;
}

.referral-user-label {
    color: #b0b0b0;
    font-size: 0.95rem;
    margin-bottom: 8px;
}

.referral-user-code {
    color: #4a9eff;
    font-size: 1.5rem;
    font-weight: 600;
    font-family: 'Courier New', monospace;
    margin-bottom: 24px;
    letter-spacing: 2px;
}

.referral-user-link-label {
    color: #b0b0b0;
    font-size: 0.9rem;
    margin-bottom: 8px;
    margin-top: 20px;
}

.referral-user-link {
    color: #e0e0e0;
    font-size: 0.9rem;
    font-family: 'Courier New', monospace;
    word-break: break-all;
    margin-bottom: 20px;
    padding: 12px;
    background: #1a1a1a;
    border: 1px solid #3a3a3a;
    border-radius: 6px;
}

.referral-copy-btn {
    display: inline-block;
    padding: 12px 24px;
    background: #4a9eff;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s;
    font-family: inherit;
}

.referral-copy-btn:hover {
    background: #3a8eef;
}

.referral-copy-btn:active {
    background: #2a7edf;
}

.referral-copy-btn:focus-visible {
    outline: 2px solid rgba(74, 158, 255, 0.8);
    outline-offset: 2px;
}

.referral-copy-feedback {
    display: inline-block;
    margin-left: 12px;
    color: #00d084;
    font-size: 0.9rem;
    font-weight: 500;
}

.referral-user-prompt {
    color: #b0b0b0;
    font-size: 1rem;
    margin-bottom: 20px;
}

.referral-login-link {
    display: inline-block;
    padding: 12px 24px;
    background: #4a9eff;
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 500;
    transition: background 0.2s;
}

.referral-login-link:hover {
    background: #3a8eef;
}

.referral-login-link:active {
    background: #2a7edf;
}

.referral-login-link:focus-visible {
    outline: 2px solid rgba(74, 158, 255, 0.8);
    outline-offset: 2px;
}

@media (max-width: 768px) {
    .plan-gated-grid {
        grid-template-columns: 1fr;
    }

    .referral-user-card {
        padding: 20px;
    }

    .referral-user-code {
        font-size: 1.2rem;
    }
}

/* AI Teaser Section */
.ai-teaser-disclaimer {
    color: #888;
    font-size: 0.85rem;
    text-align: center;
    margin-top: 12px;
    margin-bottom: 0;
}

/* Account Page */
.account-user-box {
    max-width: 700px;
    margin: 0 auto;
}

.account-card {
    background: #252525;
    border: 1px solid #3a3a3a;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    margin-bottom: 24px;
}

.account-card-title {
    color: #4a9eff;
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid #3a3a3a;
}

.account-row {
    display: flex;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid rgba(58, 58, 58, 0.5);
}

.account-row:last-child {
    border-bottom: none;
}

.account-row-label {
    color: #b0b0b0;
    font-size: 0.95rem;
    font-weight: 500;
    min-width: 140px;
}

.account-row-value {
    color: #e0e0e0;
    font-size: 0.95rem;
    flex: 1;
    display: flex;
    align-items: center;
    gap: 10px;
}

.account-plan-description {
    color: #b0b0b0;
    font-size: 0.9rem;
    line-height: 1.6;
    margin-top: 8px;
}

.account-features-list {
    list-style: none;
    padding: 0;
    margin: 16px 0 0 0;
}

.account-features-list li {
    color: #b0b0b0;
    font-size: 0.9rem;
    line-height: 1.8;
    padding-left: 20px;
    position: relative;
    margin-bottom: 6px;
}

.account-features-list li:before {
    content: "•";
    position: absolute;
    left: 4px;
    color: #4a9eff;
    font-weight: bold;
}

.account-disclaimer {
    color: #888;
    font-size: 0.85rem;
    line-height: 1.6;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid rgba(58, 58, 58, 0.5);
}

.account-referral-link {
    color: #e0e0e0;
    font-size: 0.9rem;
    font-family: 'Courier New', monospace;
    word-break: break-all;
    padding: 10px 12px;
    background: #1a1a1a;
    border: 1px solid #3a3a3a;
    border-radius: 6px;
    display: block;
    margin-bottom: 12px;
}

.account-copy-btn {
    display: inline-block;
    padding: 10px 20px;
    background: #4a9eff;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s;
    font-family: inherit;
}

.account-copy-btn:hover {
    background: #3a8eef;
}

.account-copy-btn:active {
    background: #2a7edf;
}

.account-copy-btn:focus-visible {
    outline: 2px solid rgba(74, 158, 255, 0.8);
    outline-offset: 2px;
}

.account-copy-feedback {
    display: inline-block;
    margin-left: 12px;
    color: #00d084;
    font-size: 0.9rem;
    font-weight: 500;
}

.account-cta-btn {
    display: inline-block;
    padding: 12px 24px;
    background: #4a9eff;
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 500;
    transition: background 0.2s;
    text-align: center;
}

.account-cta-btn:hover {
    background: #3a8eef;
}

.account-cta-btn:active {
    background: #2a7edf;
}

.account-cta-btn:focus-visible {
    outline: 2px solid rgba(74, 158, 255, 0.8);
    outline-offset: 2px;
}

.account-logout-btn {
    display: inline-block;
    padding: 10px 20px;
    background: transparent;
    color: #888;
    border: 1px solid #3a3a3a;
    border-radius: 6px;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
    font-family: inherit;
    text-decoration: none;
}

.account-logout-btn:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: #888;
    color: #e0e0e0;
}

.account-logout-btn:focus-visible {
    outline: 2px solid rgba(136, 136, 136, 0.8);
    outline-offset: 2px;
}

.account-login-prompt {
    text-align: center;
    padding: 60px 20px;
}

.account-login-prompt p {
    color: #b0b0b0;
    font-size: 1.1rem;
    margin-bottom: 24px;
}

@media (max-width: 768px) {
    .account-card {
        padding: 20px;
    }

    .account-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
    }

    .account-row-label {
        min-width: auto;
        font-weight: 600;
    }
}

/* SH-WEB-TYYY-ACCOUNT-NORM-01: premium module styling for Account page (scoped) */
.account-page .account-shell {
    max-width: 980px;
    margin: 0 auto;
}

.account-page .account-shell__header {
    text-align: center;
}

.account-page .account-kicker {
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.account-page .account-status-badge {
    margin: 12px auto 0;
    display: inline-block;
}

.account-page .account-grid {
    margin-top: 24px;
}

.account-page .account-card {
    margin-bottom: 0;
}

.account-page .account-value {
    color: #e0e0e0;
    font-size: 1.2rem;
    font-weight: 600;
    margin-top: 6px;
}

.account-page .account-subvalue {
    color: #b0b0b0;
    font-size: 0.95rem;
    margin-top: 6px;
}

.account-page .account-cta-card {
    margin-top: 24px;
    padding: 18px 20px;
    border-radius: 12px;
    border: 1px dashed rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.02);
    color: #e0e0e0;
}

.account-page .account-links {
    margin-top: 24px;
    display: flex;
    gap: 18px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Snapshot Viewer (SH-WEB-T35) */
.snapshot-title {
    font-size: 2rem;
    font-weight: 600;
    color: #e0e0e0;
    margin-bottom: 32px;
}

.snapshot-loading {
    padding: 40px 20px;
    text-align: center;
    color: #888;
}

.snapshot-error {
    padding: 40px 20px;
    background: rgba(248, 113, 113, 0.1);
    border: 1px solid rgba(248, 113, 113, 0.3);
    border-radius: 8px;
    margin-bottom: 32px;
}

.snapshot-error h2 {
    color: #f87171;
    font-size: 1.5rem;
    margin-bottom: 12px;
}

.snapshot-error p {
    color: #e0e0e0;
    margin-bottom: 8px;
}

.snapshot-header {
    background: #252525;
    border: 1px solid rgba(58, 58, 58, 0.6);
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 32px;
}

.snapshot-header-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.snapshot-header-row:last-child {
    margin-bottom: 0;
}

.snapshot-header-label {
    font-weight: 600;
    color: #b0b0b0;
    min-width: 100px;
}

.snapshot-header-value {
    color: #e0e0e0;
    font-family: 'Courier New', monospace;
    font-size: 0.95rem;
}

.snapshot-section-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #e0e0e0;
    margin-bottom: 16px;
}

.snapshot-sources-section {
    margin-bottom: 32px;
}

.snapshot-sources-table-container {
    overflow-x: auto;
    background: #252525;
    border: 1px solid rgba(58, 58, 58, 0.6);
    border-radius: 8px;
}

.snapshot-sources-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}

.snapshot-sources-table thead {
    background: rgba(58, 58, 58, 0.4);
}

.snapshot-sources-table th {
    padding: 12px 16px;
    text-align: left;
    font-weight: 600;
    color: #e0e0e0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.snapshot-sources-table td {
    padding: 10px 16px;
    color: #e0e0e0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    word-break: break-word;
}

.snapshot-sources-table tbody tr:last-child td {
    border-bottom: none;
}

.snapshot-sources-table tbody tr:hover {
    background: rgba(255, 255, 255, 0.03);
}

.snapshot-status-ok {
    color: #4ade80;
    font-weight: 500;
}

.snapshot-status-fail {
    color: #f87171;
    font-weight: 500;
}

.snapshot-raw-section {
    margin-top: 32px;
}

.snapshot-raw-summary {
    font-size: 1.1rem;
    font-weight: 600;
    color: #4a9eff;
    cursor: pointer;
    padding: 12px;
    background: #252525;
    border: 1px solid rgba(58, 58, 58, 0.6);
    border-radius: 8px;
    display: block;
    user-select: none;
}

.snapshot-raw-summary:hover {
    background: rgba(74, 158, 255, 0.1);
    border-color: rgba(74, 158, 255, 0.3);
}

.snapshot-raw-json {
    margin-top: 12px;
    padding: 20px;
    background: #1a1a1a;
    border: 1px solid rgba(58, 58, 58, 0.6);
    border-radius: 8px;
    overflow-x: auto;
    font-family: 'Courier New', monospace;
    font-size: 0.85rem;
    line-height: 1.6;
    color: #e0e0e0;
    white-space: pre;
}

@media (max-width: 768px) {
    .snapshot-sources-table-container {
        font-size: 0.8rem;
    }

    .snapshot-sources-table th,
    .snapshot-sources-table td {
        padding: 8px 12px;
    }

    .snapshot-header-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }

    .snapshot-header-label {
        min-width: auto;
    }
}

/* NOTE: This block contained duplicated selectors + an orphan '}' which risks CSS parsing and inconsistent layout.
   Replaced by a Home-scoped, single-source style at end of file (see SH-WEB-THOME-POLISH-01). */

/* SH-WEB-TGLOW-GLOBAL-01: unify hover glow across site (match Pricing VIP) */
:root {
    --sh-glow-border: 0 0 0 1px rgba(74, 158, 255, 0.35);
    --sh-glow-halo: 0 0 80px rgba(74, 158, 255, 0.45),
        0 0 24px rgba(74, 158, 255, 0.4),
        0 6px 16px rgba(0, 0, 0, 0.4),
        inset 0 0 20px rgba(74, 158, 255, 0.08);
}

.plans-shell:hover,
.plans-shell:focus-within,
.pricing-card:hover,
.pricing-card:focus-within,
.pricing-card-vip:hover,
.pricing-card-vip:focus-within,
.plans-shell-ai .pricing-card-vip:hover,
.plans-shell-ai .pricing-card-vip:focus-within,
.plans-shell-bundles .pricing-card-vip:hover,
.plans-shell-bundles .pricing-card-vip:focus-within,
.pricing-section .pricing-card:hover,
.pricing-section .pricing-card:focus-within,
.pricing-section .pricing-card-vip:hover,
.pricing-section .pricing-card-vip:focus-within,
.feature-card:hover,
.feature-card:focus-within {
    box-shadow: var(--sh-glow-border), var(--sh-glow-halo);
}

/* SH-WEB-PREVIEW-LOGO-SIZE-01: preview-dashboard logo larger + subtle glow */
body[data-page="preview-dashboard"] .site-logo .sh-brand__mark {
    height: 60px;
    max-height: 60px;
    width: auto;
    filter: drop-shadow(0 0 6px rgba(74, 158, 255, 0.25));
}

/* SH-WEB-PREVIEW-LOGO-FIX-03: preview-dashboard-only sizing/glow (no global visibility changes) */
body[data-page="preview-dashboard"] .site-logo .sh-brand__mark--dark,
body[data-page="preview-dashboard"] .site-logo .sh-brand__mark--light {
    height: 60px;
    max-height: 60px;
    width: auto;
    filter: drop-shadow(0 0 6px rgba(74, 158, 255, 0.25));
}

/* SH-WEB-BRAND-LOGO-ROBUST-01: enforce single visible brand mark (dark) */
img.sh-brand__mark--dark {
    display: inline-block;
    visibility: visible;
    opacity: 1;
}

img.sh-brand__mark--light {
    display: none;
}

/* SH-WEB-TLAYOUT-STD-01: standardize wrappers/nav/mobile rules across pages */
/* SH-WEB-HOME-MOBILE-RESP-01: mobile responsiveness for Home premium modules */
@media (max-width: 640px) {
    .container {
        padding-left: 16px;
        padding-right: 16px;
    }

    .page-home .plans-shell-home {
        max-width: 100%;
        width: 100%;
        padding: 22px 18px;
    }

    .page-home .embed-wrapper {
        width: 100%;
        max-width: 100%;
        overflow: hidden;
    }

    .page-home .sh-embed-frame {
        width: 100%;
        max-width: 100%;
        height: 520px;
        border: 0;
    }

    .page-home #market-cap-display.market-cap-display .market-cap-display-content {
        font-size: 13px;
        padding: 9px 12px;
    }

    .page-home .hero-actions .hero-button {
        width: 100%;
        max-width: 320px;
    }
}

/* SH-WEB-MOBILE-NAV-GLOBAL-01: global mobile header nav spacing + single-line links */
@media (max-width: 640px) {
    .site-header .site-header-content {
        flex-wrap: nowrap;
        align-items: center;
        gap: 10px;
    }

    .site-header .site-nav {
        margin-top: 10px;
    }

    .site-header .site-nav {
        display: flex;
        flex-wrap: nowrap !important;
        white-space: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        gap: 16px;
        justify-content: center;
        width: 100%;
    }

    .site-header .site-nav-link {
        font-size: 14px;
        line-height: 1;
    }

    .site-header .site-nav {
        scrollbar-width: none;
    }

    .site-header .site-nav::-webkit-scrollbar {
        width: 0;
        height: 0;
        display: none;
    }
}

/* SH-WEB-TLAND-SIZE-02: tighten marketing page vertical rhythm (desktop) */
@media (min-width: 900px) {
    body:not([data-page="preview-dashboard"]) .container {
        max-width: 1120px;
    }

    body:not([data-page="preview-dashboard"]) .page-home .hero {
        padding: 72px 0 56px;
    }

    body:not([data-page="preview-dashboard"]) .hero,
    body:not([data-page="preview-dashboard"]) .page-hero,
    body:not([data-page="preview-dashboard"]) .page-header-hero {
        padding-top: 64px;
        padding-bottom: 48px;
    }
}

@media (max-height: 760px) and (min-width: 900px) {
    body:not([data-page="preview-dashboard"]) .page-home .hero {
        padding: 56px 0 44px;
    }

    body:not([data-page="preview-dashboard"]) .hero,
    body:not([data-page="preview-dashboard"]) .page-hero,
    body:not([data-page="preview-dashboard"]) .page-header-hero {
        padding-top: 52px;
        padding-bottom: 40px;
    }
}

/* SH-WEB-T73-STORY-CARDS — Story page module-card styling (scoped) */
.story-page .story-hero {
    padding: 64px 0 32px;
}

.story-page .story-shell {
    max-width: 980px;
    margin: 0 auto;
}

.story-page .story-hero-shell {
    text-align: center;
    padding: 30px 26px;
}

.story-page .hero-disclaimer {
    margin-top: 8px;
    opacity: 0.78;
    font-size: 0.95rem;
}

.story-page .story-section + .story-section {
    margin-top: 0;
}

.story-page .story-grid {
    margin-bottom: 8px;
}

.story-page .story-card {
    border-radius: 8px;
}

.story-page .story-card h3 {
    color: #4a9eff;
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.story-page .story-card p {
    color: #b0b0b0;
    font-size: 1rem;
    line-height: 1.6;
}

.story-page .story-card .quote {
    margin: 0;
    opacity: 0.9;
}

.story-page .muted {
    opacity: 0.78;
}

.story-page .story-shell-accent {
    border-color: rgba(72, 155, 255, 0.35);
    box-shadow:
        0 20px 70px rgba(0, 0, 0, 0.35),
        0 0 0 1px rgba(72, 155, 255, 0.22),
        0 0 46px rgba(72, 155, 255, 0.18);
}

@media (max-width: 720px) {
    .story-page .story-hero {
        padding: 48px 0 24px;
    }

    .story-page .story-shell {
        border-radius: 16px;
    }
}

/* SH-WEB-T74-STORY-AUDIT — Story: auditability + custom list markers + bottom spacing */
.story-page main ul {
    list-style: none;
    padding-left: 0;
}

.story-page main li {
    position: relative;
    padding-left: 18px;
    margin: 8px 0;
}

.story-page main li::before {
    content: "›";
    position: absolute;
    left: 0;
    top: 0;
    opacity: 0.85;
    text-shadow: 0 0 14px rgba(72, 155, 255, 0.22);
}

.story-page .story-card-accent {
    border-color: rgba(72, 155, 255, 0.30);
    box-shadow:
        0 20px 70px rgba(0, 0, 0, 0.35),
        0 0 0 1px rgba(72, 155, 255, 0.18),
        0 0 44px rgba(72, 155, 255, 0.14);
}

.story-page .story-cta-line {
    margin-top: 8px;
}

.story-page .story-cta {
    text-decoration: none;
    border-bottom: 1px solid rgba(72, 155, 255, 0.55);
}

.story-page main.page {
    padding-bottom: 96px;
}

@media (max-width: 720px) {
    .story-page main.page {
        padding-bottom: 80px;
    }
}

/* SH-WEB-THOME-POLISH-01: Home premium rhythm + nav stability + snapshot iframe edge-to-edge (scoped) */
.page-home .demo-section {
    padding: 52px 0;
}

@media (min-width: 900px) {
    .page-home .demo-section {
        padding: 56px 0;
    }
}

/* Reduce "double spacing" between stacked shells on Home; section padding already provides rhythm */
.page-home section + section .plans-shell-home {
    margin-top: 18px;
}

/* Home: enable the same premium reflect as pricing, but slightly subtler */
.page-home .plans-shell:hover::before,
.page-home .plans-shell:focus-within::before {
    opacity: 0.40;
}

/* Live Market Snapshot: keep iframe truly data-native (NO frame/padding/radius) — Home only */
.page-home .plans-shell-home .embed-wrapper {
    margin-top: 28px;
    width: 100%;
}

.page-home .plans-shell-home .sh-embed-frame {
    max-width: 100%;
    width: 100%;
    border: 0;
    border-radius: 0;
    background: transparent;
    display: block;
}

/* Optional: keep embed height consistent/premium without affecting /embed.html itself */
@media (min-width: 900px) {
    .page-home .plans-shell-home .sh-embed-frame {
        height: 520px;
    }
}

/* Home-only: stable mobile header/nav behavior (single-row scroll) without fighting 768px global column switch */
@media (max-width: 768px) {
    .page-home .site-header-content {
        flex-direction: row;
        justify-content: space-between;
        gap: 12px;
    }
}

@media (max-width: 640px) {
    .page-home .site-header-content {
        flex-wrap: nowrap !important;
        align-items: center;
    }

    .page-home .site-nav {
        justify-content: flex-start;
    }
}

/* Home Key Capabilities: single, consistent typography rhythm (no list parsing risks) */
.page-home .key-capabilities-lines {
    max-width: 720px;
    margin: 0 auto;
    text-align: center;
    color: #b0b0b0;
}

.page-home .key-capabilities-lines p {
    margin: 10px 0;
}

/* Home FAQ: slightly more premium spacing without changing <details> behavior */
.page-home .faq-item,
.plans-shell-faq .faq-item {
    border-radius: 12px;
    padding: 14px 16px;
}

.page-home .faq-item[open],
.plans-shell-faq .faq-item[open] {
    border-color: rgba(74, 158, 255, 0.22);
}

.page-home .faq-item summary,
.plans-shell-faq .faq-item summary {
    list-style: none;
}

.page-home .faq-item summary::-webkit-details-marker,
.plans-shell-faq .faq-item summary::-webkit-details-marker {
    display: none;
}

/* SH-WEB-THOME-SNAPSHOT-CONSTRAIN-01: keep snapshot data-native but prevent "stretched" embed on wide shells (Home only)
   Scope: only Snapshot section (demo-section.key-capabilities). */
.page-home .demo-section.key-capabilities .plans-shell-home .embed-wrapper {
    /* revert full-bleed; keep a premium, controlled viewport width */
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 0;
    width: 100%;
    max-width: 980px;
}

/* Keep iframe neutral (no frame perception) while preserving layout proportions */
.page-home .demo-section.key-capabilities .plans-shell-home .sh-embed-frame {
    width: 100%;
    max-width: 100%;
    border: 0;
    border-radius: 0 !important;
    background: transparent;
    display: block;
}

/* Keep a stable, premium viewport height without forcing weird aspect stretching */
@media (min-width: 900px) {
    .page-home .demo-section.key-capabilities .plans-shell-home .sh-embed-frame {
        height: 520px;
    }
}

@media (max-width: 640px) {
    .page-home .demo-section.key-capabilities .plans-shell-home .embed-wrapper {
        max-width: 100%;
    }
}

/* SH-WEB-THOME-SNAPSHOT-CTA-01: move hero CTA/links into Snapshot module (Home only) */
.page-home .demo-section.key-capabilities .plans-shell-home .hero-actions {
    margin-top: 18px;
    margin-bottom: 0;
}

.page-home .demo-section.key-capabilities .plans-shell-home .hero-links {
    margin-top: 12px;
    margin-bottom: 0;
    gap: 18px;
}

.page-home .demo-section.key-capabilities .plans-shell-home .hero-links .site-nav-link {
    padding: 8px 10px;
}

/* SH-WEB-THOME-SNAPSHOT-GAP-01: reduce empty space above Snapshot CTA by tightening Home iframe viewport (scoped) */
@media (min-width: 900px) {
    .page-home .demo-section.key-capabilities .plans-shell-home .sh-embed-frame {
        
.page-home .demo-section.key-capabilities .plans-shell-home .embed-wrapper {
    margin-bottom: 0;
}
/* Was taller; reduce to better fit current embed content and remove visible void above CTA */
        height: 420px;
    }
}

/* Slightly tighten CTA spacing under the iframe (Home Snapshot only) */
.page-home .demo-section.key-capabilities .plans-shell-home .hero-actions {
    margin-top: 8px;
}
/* SH-WEB-TSTORY-SPACING-01: lower first module under hero on /story */
.story-page .story-first-section {
  margin-top: 20px;
}

/* SH-WEB-DEVCONSOLE-LAYOUT-DENSITY-01 */
@media (min-width: 1100px) {
  body[data-page="dev-console"] .container {
    max-width: 1600px;
  }

  body[data-page="dev-console"] .devconsole-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr);
    gap: 18px;
    align-items: start;
  }

  body[data-page="dev-console"] .devconsole-main {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
  }

  body[data-page="dev-console"] .devconsole-aside {
    position: sticky;
    top: 16px;
    max-height: calc(100vh - 32px);
    overflow-y: auto;
  }

  body[data-page="dev-console"] .devconsole-main .panel,
  body[data-page="dev-console"] .devconsole-main .panel-card {
    max-height: 420px;
    overflow-y: auto;
  }

  body[data-page="dev-console"] .devconsole-main .runbook,
  body[data-page="dev-console"] .devconsole-main .runbook-notes-block,
  body[data-page="dev-console"] .devconsole-main .grid {
    max-height: 520px;
    overflow-y: auto;
  }
}

/* SH-WEB-DEVCONSOLE-WIDE-WORKFLOW-02 */
@media (min-width: 1100px) {
  body[data-page="dev-console"] .container {
    max-width: 1840px !important;
    padding-left: 14px !important;
    padding-right: 14px !important;
  }

  body[data-page="dev-console"] .devconsole-layout {
    grid-template-columns: minmax(0, 2.1fr) minmax(0, 0.9fr) !important;
    gap: 16px;
  }

  body[data-page="dev-console"] .devconsole-aside {
    max-height: calc(100vh - 28px) !important;
    overflow-y: auto;
    width: 100% !important;
  }

  body[data-page="dev-console"] .devconsole-aside .panel-frame {
    padding: 12px;
  }

  body[data-page="dev-console"] .devconsole-aside .panel-frame-head {
    gap: 8px;
    margin-bottom: 10px;
  }

  body[data-page="dev-console"] .devconsole-aside .panel-pill {
    padding: 4px 8px;
    font-size: 10px;
  }

  body[data-page="dev-console"] .devconsole-aside .rules-card-title {
    font-size: 13px;
    margin: 6px 0 10px;
  }

  body[data-page="dev-console"] .devconsole-aside .rule-item {
    gap: 10px;
  }

  body[data-page="dev-console"] .devconsole-aside .rule-badge {
    width: 20px;
    height: 20px;
    font-size: 11px;
  }

  body[data-page="dev-console"] .devconsole-aside .rule-heading {
    font-size: 11px;
  }

  body[data-page="dev-console"] .devconsole-aside .rules-list {
    margin-top: 4px;
  }
}

/* SH-WEB-DEVCONSOLE-HIDE-ASIDE-03 */
@media (min-width: 1100px) {
  body[data-page="dev-console"] .devconsole-aside {
    display: none;
  }

  body[data-page="dev-console"] .devconsole-layout {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* SH-WEB-DEVCONSOLE-FULLWIDTH-GRID-04 */
@media (min-width: 1100px) {
  body[data-page="dev-console"] .container {
    max-width: 2000px !important;
    padding-left: 14px !important;
    padding-right: 14px !important;
  }

  body[data-page="dev-console"] .devconsole-layout,
  body[data-page="dev-console"] .devconsole-main {
    width: 100%;
    max-width: none;
  }

  body[data-page="dev-console"] .devconsole-main .panel,
  body[data-page="dev-console"] .devconsole-main .panel-card {
    max-height: none;
    overflow: visible;
  }

  body[data-page="dev-console"] .devconsole-main .runbook,
  body[data-page="dev-console"] .devconsole-main .runbook-notes-block {
    max-height: 520px;
    overflow-y: auto;
  }

  body[data-page="dev-console"] .devconsole-main .grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }

  body[data-page="dev-console"] .devconsole-main .grid > .panel {
    min-width: 0;
  }
}

/* SH-WEB-DEVCONSOLE-CONTAINER-FULLWIDTH-06 */
@media (min-width: 1100px) {
  body[data-page="dev-console"] .container {
    max-width: none !important;
    width: calc(100vw - 28px);
    margin-left: auto;
    margin-right: auto;
    padding-left: 14px !important;
    padding-right: 14px !important;
  }

  body[data-page="dev-console"] .devconsole-layout,
  body[data-page="dev-console"] .devconsole-main {
    width: 100%;
    max-width: none;
    min-width: 0;
  }
}

/* SH-WEB-DEVCONSOLE-TWOCOL-HEADER-09 */
@media (min-width: 1100px) {
  body[data-page="dev-console"] .devconsole-main {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    align-items: start;
  }

  body[data-page="dev-console"] .devconsole-main > * {
    min-width: 0;
  }

  body[data-page="dev-console"] .devconsole-main .panel,
  body[data-page="dev-console"] .devconsole-main .panel-card {
    grid-column: span 1;
  }

  body[data-page="dev-console"] .devconsole-main .runbook,
  body[data-page="dev-console"] .devconsole-main .runbook-notes-block {
    grid-column: 1 / -1;
  }

  body[data-page="dev-console"] .devconsole-main .grid {
    grid-column: 1 / -1;
  }
}

/* SH-WEB-DEVCONSOLE-GRID-OVERFLOW-11 */
@media (min-width: 1100px) {
  body[data-page="dev-console"] .devconsole-main {
    grid-auto-flow: row dense;
  }

  body[data-page="dev-console"] .devconsole-main > * {
    min-width: 0;
  }

  body[data-page="dev-console"] .devconsole-main .panel,
  body[data-page="dev-console"] .devconsole-main .panel-card {
    min-width: 0;
  }

  body[data-page="dev-console"] .devconsole-collapsible__body {
    max-width: 100%;
    overflow-x: hidden;
  }

  body[data-page="dev-console"] pre,
  body[data-page="dev-console"] .code-block,
  body[data-page="dev-console"] .runbook pre,
  body[data-page="dev-console"] .runbook .mono {
    max-width: 100%;
  }

  body[data-page="dev-console"] pre,
  body[data-page="dev-console"] .code-block {
    overflow-x: auto;
  }

  body[data-page="dev-console"] .runbook,
  body[data-page="dev-console"] .runbook * {
    min-width: 0;
  }
}

/* SH-WEB-DEVCONSOLE-TWO-COL-12A */
@media (min-width: 1100px) {
  body[data-page="dev-console"] .devconsole-main {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    align-items: start;
    grid-auto-flow: row dense;
  }

  body[data-page="dev-console"] .devconsole-main > * {
    min-width: 0;
  }

  body[data-page="dev-console"] .devconsole-main .panel,
  body[data-page="dev-console"] .devconsole-main .panel-card {
    min-width: 0;
    grid-column: span 1;
  }

  body[data-page="dev-console"] .devconsole-main > .grid {
    grid-column: 1 / -1;
  }

  body[data-page="dev-console"] .devconsole-main .runbook,
  body[data-page="dev-console"] .devconsole-main .runbook-notes-block {
    max-width: 100%;
  }

  body[data-page="dev-console"] .devconsole-collapsible__body {
    max-width: 100%;
    overflow-x: hidden;
  }

  body[data-page="dev-console"] pre,
  body[data-page="dev-console"] .code-block {
    max-width: 100%;
    overflow-x: auto;
  }
}

/* SH-WEB-DEVCONSOLE-QUICKSTART-COLLAPSE-07 */
body[data-page="dev-console"] .devconsole-collapsible {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 10px;
  margin-top: 10px;
}

body[data-page="dev-console"] .devconsole-collapsible__summary {
  cursor: pointer;
  list-style: none;
  font-weight: 600;
  opacity: 0.9;
}

body[data-page="dev-console"] .devconsole-collapsible__summary::-webkit-details-marker {
  display: none;
}


/* SH-WEB-TTG-DEMO-01: feature demo lightbox link */
.feature-demo{margin:10px 0 0}
.feature-demo a{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:7px 12px;
  border-radius:999px;
  font-size:12px;
  line-height:1;
  font-weight:600;
  letter-spacing:.2px;
  border:1px solid rgba(255,255,255,.18);
  background:rgba(255,255,255,.08);
  text-decoration:none;
}
.feature-demo a:before{
  content:"▣";
  opacity:.85;
  font-size:12px;
  line-height:1;
}
.feature-demo a:hover{
  background:rgba(255,255,255,.12);
  border-color:rgba(255,255,255,.26);
}
.feature-demo a:focus{
  outline:2px solid rgba(120,170,255,.9);
  outline-offset:3px;
}

/* SH-WEB-TTG-DEMO-03: prevent default link blue/visited styling inside demo pill */
.feature-demo a,
.feature-demo a:visited,
.feature-demo a:hover,
.feature-demo a:active{
  color: inherit;
}
.feature-demo a{text-decoration:none}

/* SH-WEB-TABOUT-PREMIUM-CARDS-02 — About: shell spacing + premium story-card border trace (scoped)
   About-only via body[data-page="about"].
   Targets:
   - Big modules: .plans-shell.story-shell (text spacing)
   - Small modules: .feature-card.story-card inside story-shell (premium border + trace hover)
*/

/* A) BIG MODULES: give more breathing room so text isn't "collé" */
body[data-page="about"] .plans-shell.story-shell {
  padding: 28px 30px; /* more air */
}

body[data-page="about"] .plans-shell.story-shell > p {
  line-height: 1.7;
  margin: 0 0 14px 0;
}

/* SH-WEB-TABOUT-SPACING-TUNE-03 — tighten spacing relationships (text->cards, cards->cards) */
/* Slightly more space after intro paragraphs before the first story card */
body[data-page="about"] .plans-shell.story-shell > p {
  margin: 0 0 16px 0; /* was 14px */
}

/* Ensure the first story card doesn't feel glued to the text */
body[data-page="about"] .plans-shell.story-shell > p + .feature-card.story-card {
  margin-top: 10px;
}

/* Add subtle spacing between story cards (AI rules / Auditability / Checksum...) */
body[data-page="about"] .plans-shell.story-shell .feature-card.story-card + .feature-card.story-card {
  margin-top: 12px;
}
/* /SH-WEB-TABOUT-SPACING-TUNE-03 */

body[data-page="about"] .plans-shell.story-shell .section-title {
  margin-bottom: 14px;
}

body[data-page="about"] .plans-shell.story-shell .muted {
  margin-top: 18px;
}

/* B) SMALL MODULES (story cards): remove always-on glow + premium dark border */
body[data-page="about"] .plans-shell.story-shell .feature-card.story-card {
  box-shadow: none !important; /* kill inherited glow */
  border: 1px solid rgba(48, 120, 255, 0.22);
  background: rgba(255,255,255,0.02);
  padding: 18px 18px;
  position: relative;
  overflow: hidden; /* needed for border mask effect */
}

body[data-page="about"] .plans-shell.story-shell .feature-card.story-card h3 {
  margin: 0 0 12px 0;
}

body[data-page="about"] .plans-shell.story-shell .feature-card.story-card p {
  line-height: 1.65;
  margin: 0 0 12px 0;
}

body[data-page="about"] .plans-shell.story-shell .feature-card.story-card ul,
body[data-page="about"] .plans-shell.story-shell .feature-card.story-card ol {
  margin: 10px 0 0 0;
  padding-left: 18px;
}

body[data-page="about"] .plans-shell.story-shell .feature-card.story-card li {
  margin: 8px 0;
  line-height: 1.55;
}

/* Premium accent card stays consistent but not louder */
body[data-page="about"] .plans-shell.story-shell .feature-card.story-card.story-card-accent {
  border-color: rgba(48, 120, 255, 0.26);
}



/* SH-WEB-TABOUT-NEON-TIGHT-05 — premium tight neon for story cards (rest subtle, hover stronger)
   Replaces the previous border-trace effect.
*/
body[data-page="about"] {
  /* dark premium blue, tight halo (avoid wide neon) */
  --sh-neon-border-rest: rgba(40, 120, 255, 0.20);
  --sh-neon-border-hover: rgba(74, 158, 255, 0.35);

  --sh-neon-halo-rest:
    0 0 0 1px rgba(40, 120, 255, 0.10),
    0 0 10px rgba(40, 120, 255, 0.08),
    0 10px 22px rgba(0, 0, 0, 0.55);

  --sh-neon-halo-hover:
    0 0 0 1px rgba(74, 158, 255, 0.35),
    0 0 12px rgba(74, 158, 255, 0.45),
    0 0 18px rgba(74, 158, 255, 0.4),
    0 10px 22px rgba(0, 0, 0, 0.60),
    inset 0 0 12px rgba(74, 158, 255, 0.08);
}

/* Rest state: subtle tight neon */
body[data-page="about"] .plans-shell.story-shell .feature-card.story-card {
  border-color: rgba(255, 255, 255, 0.10) !important;
  box-shadow: none !important;
}


/* Hover/focus: stronger but still tight */
body[data-page="about"] .plans-shell.story-shell .feature-card.story-card:hover,
body[data-page="about"] .plans-shell.story-shell .feature-card.story-card:focus-within {
  border-color: var(--sh-neon-border-hover) !important;
  box-shadow: var(--sh-neon-halo-hover) !important;
}
/* /SH-WEB-TABOUT-NEON-TIGHT-05 */



/* SH-WEB-TABOUT-LINKS-THEME-09 — About: force links to theme blue (override visited purple) */
body[data-page="about"] .plans-shell.story-shell a,
body[data-page="about"] .plans-shell.story-shell a:visited {
  color: rgb(74, 158, 255);
}

body[data-page="about"] .plans-shell.story-shell a:hover,
body[data-page="about"] .plans-shell.story-shell a:focus-visible {
  color: rgba(74, 158, 255, 0.92);
  text-decoration: underline;
  text-underline-offset: 3px;
}

body[data-page="about"] .plans-shell.story-shell a:focus-visible {
  outline: 2px solid rgba(74, 158, 255, 0.35);
  outline-offset: 2px;
}
/* /SH-WEB-TABOUT-LINKS-THEME-09 */

/* /SH-WEB-TABOUT-PREMIUM-CARDS-02 */

/* SH-WEB-TCTA-STD-01 — navbar CTA (minimal)
   Keep it minimal: ensure nav CTA doesn't break layout.
*/
.site-header .nav-cta {
  margin-left: 12px;
  white-space: nowrap;
}
/* /SH-WEB-TCTA-STD-01 */

/* SH-WEB-TCTA-NAV-STYLE-02 — navbar Get access styling
   Ensure nav CTA is a theme-blue button and never renders as purple (visited).
*/
.site-header .nav-cta,
.site-header .nav-cta:visited {
  color: #ffffff; /* white text like other buttons */
  background: rgba(74, 158, 255, 0.82); /* slightly softer than full solid */
  border: 1px solid rgba(74, 158, 255, 0.55);
  border-radius: 10px;
  padding: 10px 14px;
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.site-header .nav-cta:hover,
.site-header .nav-cta:focus-visible {
  background: rgba(74, 158, 255, 0.92);
  border-color: rgba(74, 158, 255, 0.80);
  text-decoration: none;
}

.site-header .nav-cta:focus-visible {
  outline: 2px solid rgba(74, 158, 255, 0.35);
  outline-offset: 2px;
}
/* /SH-WEB-TCTA-NAV-STYLE-02 */

/* SH-WEB-PRICING-ACCESS-STEPS-01 — styling */
.pricing-access-steps {
  max-width: 980px;
  margin: 18px auto 28px auto;
  padding: 18px 20px;
  border-radius: 14px;
  border: 1px solid rgba(74, 158, 255, 0.22);
  background: rgba(255, 255, 255, 0.02);
}

.pricing-access-steps__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.pricing-access-steps__title {
  font-size: 1.1rem;
  font-weight: 800;
  color: #e9eef7;
}

.pricing-access-steps__badge {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: rgba(74, 158, 255, 0.95);
  border: 1px solid rgba(74, 158, 255, 0.28);
  border-radius: 999px;
  padding: 4px 10px;
  white-space: nowrap;
}

.pricing-access-steps__grid {
  display: grid;
  gap: 12px;
}

.pricing-access-steps__step {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 12px;
  align-items: start;
  padding: 12px 12px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(0,0,0,0.10);
}

.pricing-access-steps__num {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  font-weight: 900;
  color: rgba(235, 242, 255, 0.95);
  border: 1px solid rgba(74, 158, 255, 0.25);
  background: rgba(74, 158, 255, 0.08);
}

.pricing-access-steps__text {
  color: rgba(235, 242, 255, 0.92);
  line-height: 1.55;
}

.pricing-access-steps__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 14px;
}

.pricing-access-steps__meta {
  color: rgba(235, 242, 255, 0.78);
}

.pricing-access-steps__cta,
.pricing-access-steps__cta:visited {
  color: #ffffff !important; /* ensure no purple */
  text-decoration: none;
}

@media (max-width: 640px) {
  .pricing-access-steps { padding: 16px; }
  .pricing-access-steps__header { flex-direction: column; align-items: flex-start; }
  .pricing-access-steps__footer { flex-direction: column; align-items: stretch; }
  .pricing-access-steps__cta { width: 100%; justify-content: center; }
}


/* SH-WEB-PRICING-ACCESS-STEPS-UI-TUNE-03 — ensure CTA renders as a primary button */
.pricing-access-steps__cta {
  background: rgba(74, 158, 255, 0.88);
  border: 1px solid rgba(74, 158, 255, 0.70);
  border-radius: 10px;
  padding: 10px 16px;
  font-weight: 800;
  color: #ffffff !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 132px;
}
.pricing-access-steps__cta:hover,
.pricing-access-steps__cta:focus-visible {
  background: rgba(74, 158, 255, 0.96);
  border-color: rgba(74, 158, 255, 0.85);
}
/* /SH-WEB-PRICING-ACCESS-STEPS-UI-TUNE-03 */


/* SH-WEB-PRICING-ACCESS-STEPS-LINK-02 — Step 1 link styling */
.pricing-access-steps__link,
.pricing-access-steps__link:visited {
  color: inherit;
  text-decoration: none;
}

.pricing-access-steps__link:hover,
.pricing-access-steps__link:focus-visible {
  color: rgba(74, 158, 255, 0.95);
  text-decoration: underline;
  text-underline-offset: 3px;
}
/* /SH-WEB-PRICING-ACCESS-STEPS-LINK-02 */


/* SH-WEB-PRICING-ACCESS-STEPS-LINK-FIX-03 — Step 1 row-link styling */
.pricing-access-steps__step--link,
.pricing-access-steps__step--link:visited {
  color: inherit;
  text-decoration: none;
}

.pricing-access-steps__step--link:hover,
.pricing-access-steps__step--link:focus-visible {
  border-color: rgba(74, 158, 255, 0.22);
  background: rgba(74, 158, 255, 0.04);
}

.pricing-access-steps__step--link:focus-visible {
  outline: 2px solid rgba(74, 158, 255, 0.30);
  outline-offset: 2px;
}
/* /SH-WEB-PRICING-ACCESS-STEPS-LINK-FIX-03 */
/* /SH-WEB-PRICING-ACCESS-STEPS-01 */

/* SH-WEB-TNAV-MOBILE-01 — mobile drawer nav */
.nav-burger {
  display: none;
  border: 1px solid rgba(74, 158, 255, 0.35);
  background: rgba(74, 158, 255, 0.12);
  border-radius: 10px;
  padding: 8px 10px;
  cursor: pointer;
}

.nav-burger__line {
  display: block;
  width: 18px;
  height: 2px;
  background: #e9eef7;
  margin: 3px 0;
  border-radius: 999px;
}

.drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(6, 10, 18, 0.6);
  opacity: 0;
  visibility: hidden;
  transition: opacity 180ms ease;
  z-index: 90;
}

.drawer {
  position: fixed;
  top: 0;
  right: 0;
  height: 100vh;
  width: min(84vw, 340px);
  background: #0b1220;
  border-left: 1px solid rgba(74, 158, 255, 0.2);
  box-shadow: -8px 0 24px rgba(0, 0, 0, 0.45);
  transform: translateX(100%);
  transition: transform 200ms ease;
  z-index: 100;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.drawer__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.drawer__title {
  font-weight: 800;
  font-size: 1rem;
  color: #e9eef7;
}

.drawer__close {
  border: none;
  background: transparent;
  color: #e9eef7;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
}

.drawer__cta .btn {
  width: 100%;
  justify-content: center;
}

.drawer__nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.drawer__nav a {
  color: #e9eef7;
  text-decoration: none;
  padding: 10px 8px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.02);
}

.drawer__nav a:hover,
.drawer__nav a:focus-visible {
  border-color: rgba(74, 158, 255, 0.35);
  background: rgba(74, 158, 255, 0.08);
}

body.drawer-open .drawer {
  transform: translateX(0);
}

body.drawer-open .drawer-overlay {
  opacity: 1;
  visibility: visible;
}

@media (max-width: 640px) {
  .nav-burger {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
}
/* /SH-WEB-TNAV-MOBILE-01 */

/* SH-WEB-TNAV-MOBILE-02 — mobile header: hide inline links, show CTA + burger */
@media (max-width: 640px) {
  /* Header layout: keep it tight and prevent overflow */
  header.site-header .site-header-content,
  .site-header .site-header-content {
    gap: 10px;
    min-width: 0;
  }

  /* Nav container should not wrap/clamp */
  header.site-header nav.site-nav,
  .site-header nav.site-nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    min-width: 0;
    flex-wrap: nowrap;
  }

  /* Hide ALL inline links on mobile; drawer becomes the navigation */
  header.site-header nav.site-nav a.site-nav-link,
  .site-header nav.site-nav a.site-nav-link {
    display: none !important;
  }

  /* Keep CTA visible and compact */
  header.site-header nav.site-nav a.nav-cta,
  .site-header nav.site-nav a.nav-cta {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    padding: 10px 12px;
    font-size: 14px;
    line-height: 1;
    max-width: 160px; /* prevents pushing burger off-screen on 390-430px */
    overflow: hidden;
    text-overflow: ellipsis;
  }

  /* Ensure burger is visible on mobile */
  header.site-header nav.site-nav .nav-burger,
  .site-header nav.site-nav .nav-burger {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
  }
}
/* /SH-WEB-TNAV-MOBILE-02 */

/* SH-WEB-TNAV-MOBILE-03 — mobile header layout + burger icon */
@media (max-width: 640px) {
  /* 1) Hard layout: logo left, actions right */
  header.site-header .site-header-content,
  .site-header .site-header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-width: 0;
  }

  /* Logo must not stretch */
  header.site-header .site-logo,
  .site-header .site-logo {
    flex: 0 0 auto;
    min-width: 0;
  }

  /* Nav becomes the right-side actions row */
  header.site-header nav.site-nav,
  .site-header nav.site-nav {
    flex: 0 0 auto;
    min-width: 0;
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    flex-wrap: nowrap;
  }

  /* 2) CTA must stay compact (NOT full width) */
  header.site-header nav.site-nav a.nav-cta,
  .site-header nav.site-nav a.nav-cta {
    width: auto !important;
    max-width: 160px;
    padding: 10px 12px;
    line-height: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin: 0 !important;
  }

  /* 3) Burger button: fixed size + visible lines */
  header.site-header nav.site-nav .nav-burger,
  .site-header nav.site-nav .nav-burger {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 38px;
    padding: 0;
    border: 1px solid rgba(255,255,255,0.22);
    background: rgba(255,255,255,0.06);
    border-radius: 12px;
    cursor: pointer;
    flex: 0 0 auto;
  }

  /* Make sure the 3 lines render (no accidental overrides) */
  .nav-burger__line {
    display: block !important;
    width: 18px;
    height: 2px;
    background: rgba(233,238,247,0.95) !important;
    margin: 3px 0;
    border-radius: 999px;
  }

  /* Optional: subtle hover/active (desktop won’t use it) */
  .nav-burger:active {
    transform: translateY(0.5px);
  }
}
/* /SH-WEB-TNAV-MOBILE-03 */

/* SH-WEB-TNAV-MOBILE-04 — lock header + burger pseudo */
@media (max-width: 640px) {
  /* Hard lock header layout (avoid rules from other blocks winning) */
  header.site-header .site-header-content,
  .site-header .site-header-content {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 12px !important;
    min-width: 0 !important;
  }

  header.site-header .site-logo,
  .site-header .site-logo {
    flex: 0 0 auto !important;
    min-width: 0 !important;
  }

  header.site-header nav.site-nav,
  .site-header nav.site-nav {
    flex: 0 0 auto !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: flex-end !important; /* must win */
    gap: 10px !important;
    flex-wrap: nowrap !important;
    min-width: 0 !important;
  }

  /* Hide inline links (drawer is the nav on mobile) */
  header.site-header nav.site-nav a.site-nav-link,
  .site-header nav.site-nav a.site-nav-link {
    display: none !important;
  }

  /* CTA compact and anchored right */
  header.site-header nav.site-nav a.nav-cta,
  .site-header nav.site-nav a.nav-cta {
    display: inline-flex !important;
    width: auto !important;
    max-width: 160px !important;
    margin: 0 !important;
    padding: 10px 12px !important;
    line-height: 1 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    flex: 0 0 auto !important;
  }

  /* Burger button: draw icon via pseudo-elements for reliability */
  header.site-header nav.site-nav .nav-burger,
  .site-header nav.site-nav .nav-burger {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 44px !important;
    height: 38px !important;
    padding: 0 !important;
    border: 1px solid rgba(255,255,255,0.22) !important;
    background: rgba(255,255,255,0.06) !important;
    border-radius: 12px !important;
    cursor: pointer !important;
    flex: 0 0 auto !important;

    position: relative !important;
  }

  /* Keep spans in DOM, but use only the middle span as the middle bar */
  .nav-burger__line {
    display: block !important;
    width: 18px !important;
    height: 2px !important;
    background: rgba(233,238,247,0.95) !important;
    border-radius: 999px !important;
    margin: 0 !important;
  }
  /* Hide extra lines if 3 spans exist; we’ll draw top/bottom via pseudo */
  .nav-burger__line:nth-child(1),
  .nav-burger__line:nth-child(3) {
    display: none !important;
  }

  header.site-header nav.site-nav .nav-burger::before,
  header.site-header nav.site-nav .nav-burger::after,
  .site-header nav.site-nav .nav-burger::before,
  .site-header nav.site-nav .nav-burger::after {
    content: "" !important;
    position: absolute !important;
    width: 18px !important;
    height: 2px !important;
    background: rgba(233,238,247,0.95) !important;
    border-radius: 999px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
  }

  /* Top / bottom bars */
  header.site-header nav.site-nav .nav-burger::before,
  .site-header nav.site-nav .nav-burger::before {
    top: 12px !important;
  }
  header.site-header nav.site-nav .nav-burger::after,
  .site-header nav.site-nav .nav-burger::after {
    bottom: 12px !important;
  }
}
/* /SH-WEB-TNAV-MOBILE-04 */

/* SH-WEB-TNAV-PREMIUM-02 — mobile: CTA inside drawer + drawer theme */
@media (max-width: 640px) {
  /* 1) Hide the header CTA on mobile (CTA is inside drawer) */
  header.site-header nav.site-nav a.nav-cta,
  .site-header nav.site-nav a.nav-cta {
    display: none !important;
  }

  /* Ensure burger remains visible */
  header.site-header nav.site-nav .nav-burger,
  .site-header nav.site-nav .nav-burger {
    display: inline-flex !important;
  }
}

/* 2) Drawer theme normalization (all sizes) */
.drawer {
  background: rgba(11, 18, 32, 0.96); /* closer to site dark */
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-left: 1px solid rgba(255, 255, 255, 0.08);
}

.drawer__title {
  font-size: 1.05rem;
  letter-spacing: 0.2px;
}

.drawer__cta .hero-button {
  width: 100%;
  max-width: none;
}

/* Prevent purple visited look */
.drawer a:visited {
  color: #e9eef7;
}

/* Make nav items look like site cards */
.drawer__nav a {
  display: block;
  padding: 14px 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  color: #e9eef7;
  font-weight: 650;
  text-decoration: none;
}

.drawer__nav a:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(74, 158, 255, 0.18);
}

.drawer__close {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(255,255,255,0.06);
}

/* /SH-WEB-TNAV-PREMIUM-02 */

/* SH-WEB-TNAV-DRAWER-THEME-01 — drawer theme matches site */
.drawer {
  /* Match site dark panels (less blue) */
  background: rgba(15, 17, 20, 0.98) !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;

  border-left: 1px solid rgba(255, 255, 255, 0.08) !important;
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.55) !important;
}

.drawer-overlay {
  background: rgba(0, 0, 0, 0.55) !important;
}

/* Header area in drawer */
.drawer__title {
  color: rgba(233, 238, 247, 0.92) !important;
  font-weight: 800 !important;
  letter-spacing: 0.2px !important;
}

/* Close button: match site controls (subtle gray, not “white outline”) */
.drawer__close {
  border: 1px solid rgba(255, 255, 255, 0.10) !important;
  background: rgba(255, 255, 255, 0.04) !important;
  color: rgba(233, 238, 247, 0.92) !important;
}

/* CTA inside drawer already uses .hero-button; make sure it looks like site CTA */
.drawer__cta .hero-button {
  width: 100% !important;
  max-width: none !important;
}

/* Remove purple visited links in drawer (hard lock) */
.drawer a,
.drawer a:visited {
  color: rgba(233, 238, 247, 0.92) !important;
}

/* Nav items: match site card look */
.drawer__nav {
  gap: 10px !important;
}

.drawer__nav a {
  display: block !important;
  padding: 14px 14px !important;
  border-radius: 14px !important;

  background: rgba(255, 255, 255, 0.03) !important;
  border: 1px solid rgba(255, 255, 255, 0.06) !important;

  color: rgba(233, 238, 247, 0.92) !important;
  font-weight: 700 !important;
  text-decoration: none !important;
}

.drawer__nav a:hover {
  background: rgba(255, 255, 255, 0.045) !important;
  border-color: rgba(74, 158, 255, 0.18) !important;
}

/* Active/pressed feel */
.drawer__nav a:active {
  transform: translateY(0.5px);
}

/* Optional: add subtle separator under the drawer header+CTA */
.drawer__cta {
  padding-bottom: 12px !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06) !important;
}
/* /SH-WEB-TNAV-DRAWER-THEME-01 */

/* SH-WEB-TNAV-DRAWER-TONE-01 — soften drawer tone */
.drawer {
  /* closer to site panel gray, less harsh than near-black */
  background: rgba(24, 28, 37, 0.98) !important;
  border-left: 1px solid rgba(255, 255, 255, 0.06) !important;
  box-shadow: -10px 0 26px rgba(0, 0, 0, 0.45) !important;
}

.drawer-overlay {
  /* less aggressive overlay */
  background: rgba(0, 0, 0, 0.42) !important;
}

.drawer__cta {
  border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
}

/* Softer “card” items */
.drawer__nav a {
  background: rgba(255, 255, 255, 0.02) !important;
  border: 1px solid rgba(255, 255, 255, 0.045) !important;
}

.drawer__nav a:hover {
  background: rgba(255, 255, 255, 0.032) !important;
  border-color: rgba(255, 255, 255, 0.08) !important;
}

/* Slightly softer typography */
.drawer__title {
  color: rgba(233, 238, 247, 0.90) !important;
}

.drawer__nav a,
.drawer a,
.drawer a:visited {
  color: rgba(233, 238, 247, 0.90) !important;
}
/* /SH-WEB-TNAV-DRAWER-TONE-01 */

/* SH-WEB-TNAV-DRAWER-TONE-02 — glass drawer for exact theme match */
.drawer {
  /* Let the page background show through -> exact match */
  background: rgba(15, 17, 20, 0.55) !important;
  backdrop-filter: blur(16px) saturate(115%) !important;
  -webkit-backdrop-filter: blur(16px) saturate(115%) !important;

  border-left: 1px solid rgba(255, 255, 255, 0.08) !important;
  box-shadow: -10px 0 26px rgba(0, 0, 0, 0.40) !important;
}

.drawer-overlay {
  /* If overlay is too dark, the whole page shifts tone */
  background: rgba(0, 0, 0, 0.32) !important;
}

/* Cards: keep them subtle + glassy (site panel feel) */
.drawer__nav a {
  background: rgba(255, 255, 255, 0.025) !important;
  border: 1px solid rgba(255, 255, 255, 0.055) !important;
}

.drawer__nav a:hover {
  background: rgba(255, 255, 255, 0.040) !important;
  border-color: rgba(255, 255, 255, 0.080) !important;
}

/* Keep visited from ever turning purple */
.drawer a,
.drawer a:visited {
  color: rgba(233, 238, 247, 0.92) !important;
}
/* /SH-WEB-TNAV-DRAWER-TONE-02 */



/* SH-WEB-TNAV-DRAWER-POLISH-01 — drawer CTA button lock */
.drawer__cta a.hero-button {
  text-decoration: none !important;
  width: 100% !important;
  max-width: none !important;
  display: block !important;
}

.drawer__cta {
  margin-top: 2px !important;
  margin-bottom: 6px !important;
}
/* /SH-WEB-TNAV-DRAWER-POLISH-01 */

/* SH-WEB-TNAV-DRAWER-CTA-SIZE-01 — reduce drawer CTA size */
.drawer__cta .hero-button {
  padding: 12px 14px !important;   /* was larger */
  font-size: 0.98rem !important;
  border-radius: 14px !important;
}

.drawer__cta {
  margin-bottom: 10px !important;
}
/* /SH-WEB-TNAV-DRAWER-CTA-SIZE-01 */

/* SH-WEB-TNAV-DRAWER-CTA-SIZE-02 — compact CTA */
.drawer__cta .hero-button {
  padding: 10px 14px !important;
  font-size: 0.94rem !important;
  border-radius: 12px !important;
}

.drawer__cta {
  margin-top: 0 !important;
  margin-bottom: 8px !important;
  padding-bottom: 10px !important;
}
/* /SH-WEB-TNAV-DRAWER-CTA-SIZE-02 */






/* SH-WEB-TNAV-LOGO-NORM-01 — center logo on mobile like other tabs */
@media (max-width: 640px) {
  /* Make header a positioning context */
  header.site-header .site-header-content,
  .site-header .site-header-content {
    position: relative !important;
  }

  /* Center the logo visually */
  header.site-header .site-logo,
  .site-header .site-logo {
    position: absolute !important;
    left: 50% !important;
    top: 50% !important;
    transform: translate(-50%, -50%) !important;
    margin: 0 !important;
  }

  /* Ensure nav (CTA + burger) stays on the right */
  header.site-header nav.site-nav,
  .site-header nav.site-nav {
    margin-left: auto !important;
    position: relative !important;
    z-index: 2 !important;
  }
}
/* /SH-WEB-TNAV-LOGO-NORM-01 */






/* SH-WEB-TNAV-DRAWER-CTA-SIZE-FINAL-01 — final CTA size override */
.drawer .drawer__cta .hero-button {
  padding: 9px 14px !important;
  font-size: 0.92rem !important;
  line-height: 1.05 !important;
  min-height: 40px !important;
  border-radius: 12px !important;
}
/* /SH-WEB-TNAV-DRAWER-CTA-SIZE-FINAL-01 */


/* SH-WEB-TNAV-MOBILE-GRID-01 — final mobile header grid */
@media (max-width: 640px) {
  /* Make header layout deterministic */
  header.site-header .site-header-content,
  .site-header .site-header-content {
    display: grid !important;
    grid-template-columns: 44px 1fr 52px !important; /* spacer | centered logo | burger */
    align-items: center !important;
    gap: 0 !important;
    position: relative !important;
  }

  /* Center logo in middle column, cancel any absolute/transform hacks */
  header.site-header a.site-logo,
  .site-header a.site-logo {
    grid-column: 2 !important;
    justify-self: center !important;

    position: static !important;
    left: auto !important;
    top: auto !important;
    transform: none !important;
    translate: none !important;
    margin: 0 !important;
    z-index: 1 !important;
  }

  /* Ensure nav (burger) sits right */
  header.site-header nav.site-nav,
  .site-header nav.site-nav {
    grid-column: 3 !important;
    justify-self: end !important;
    margin: 0 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    gap: 8px !important;
  }

  /* Keep left column empty for balance */
  header.site-header .site-logo::before,
  .site-header .site-logo::before {
    content: "";
    grid-column: 1;
  }

  /* Hide CTA in header on mobile (drawer contains CTA) */
  header.site-header nav.site-nav a.nav-cta,
  .site-header nav.site-nav a.nav-cta {
    display: none !important;
  }
}
/* /SH-WEB-TNAV-MOBILE-GRID-01 */


/* SH-WEB-TNAV-MOBILE-GRID-02 — centered logo stable */
@media (max-width: 640px) {
  header.site-header .site-header-content,
  .site-header .site-header-content {
    display: grid !important;
    grid-template-columns: 1fr auto 1fr !important; /* left spacer | logo | right controls */
    align-items: center !important;
    gap: 0 !important;
  }

  /* Center logo in middle column */
  header.site-header a.site-logo,
  .site-header a.site-logo {
    grid-column: 2 !important;
    justify-self: center !important;
    position: static !important;
    transform: none !important;
    margin: 0 !important;
    z-index: 1 !important;
  }

  /* Nav/burger on the right column */
  header.site-header nav.site-nav,
  .site-header nav.site-nav {
    grid-column: 3 !important;
    justify-self: end !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    gap: 0 !important;
    z-index: 2 !important;
  }

  /* Ensure burger is visible */
  header.site-header nav.site-nav .nav-burger,
  .site-header nav.site-nav .nav-burger {
    display: inline-flex !important;
  }

  /* Keep header CTA hidden on mobile (CTA in drawer) */
  header.site-header nav.site-nav a.nav-cta,
  .site-header nav.site-nav a.nav-cta {
    display: none !important;
  }

  /* Hide inline links (drawer is navigation) */
  header.site-header nav.site-nav a.site-nav-link,
  .site-header nav.site-nav a.site-nav-link {
    display: none !important;
  }
}
/* /SH-WEB-TNAV-MOBILE-GRID-02 */


/* SH-WEB-TNAV-HOME-CENTER-01 — centered logo lock (mobile)
   Uses header .container grid so Home definitely centers.
*/
@media (max-width: 640px) {
  header.site-header .container,
  .site-header .container {
    display: grid !important;
    grid-template-columns: 52px auto 52px !important; /* symmetric -> true visual center */
    align-items: center !important;
  }

  header.site-header .site-header-content,
  .site-header .site-header-content {
    display: contents !important; /* don't let wrapper block the grid */
  }

  header.site-header a.site-logo,
  .site-header a.site-logo {
    grid-column: 2 !important;
    justify-self: center !important;
    margin: 0 !important;
    position: static !important;
    transform: none !important;
    translate: none !important;
  }

  header.site-header nav.site-nav,
  .site-header nav.site-nav {
    grid-column: 3 !important;
    justify-self: end !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    gap: 0 !important;
  }

  /* drawer-only navigation on mobile */
  header.site-header nav.site-nav a.site-nav-link,
  .site-header nav.site-nav a.site-nav-link,
  header.site-header nav.site-nav a.nav-cta,
  .site-header nav.site-nav a.nav-cta {
    display: none !important;
  }

  header.site-header nav.site-nav .nav-burger,
  .site-header nav.site-nav .nav-burger {
    display: inline-flex !important;
  }
}
/* /SH-WEB-TNAV-HOME-CENTER-01 */


/* SH-WEB-TNAV-MOBILE-CENTER-FINAL-02 — flex-center logo + burger right */
@media (max-width: 640px) {
  /* Stop the grid/contents wars: force one deterministic layout */
  header.site-header .site-header-content,
  .site-header .site-header-content {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;  /* real center */
    position: relative !important;       /* anchor for absolute nav */
    gap: 0 !important;
  }

  /* Keep logo as the centered element */
  header.site-header a.site-logo,
  .site-header a.site-logo {
    position: static !important;
    transform: none !important;
    translate: none !important;
    margin: 0 !important;
    z-index: 1 !important;
  }

  /* Pin burger/nav to the right */
  header.site-header nav.site-nav,
  .site-header nav.site-nav {
    position: absolute !important;
    right: 0 !important;
    top: 50% !important;
    transform: translateY(-50%) !important;

    display: inline-flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    gap: 0 !important;
    z-index: 2 !important;
  }

  /* Drawer-only navigation on mobile */
  header.site-header nav.site-nav a.site-nav-link,
  .site-header nav.site-nav a.site-nav-link,
  header.site-header nav.site-nav a.nav-cta,
  .site-header nav.site-nav a.nav-cta {
    display: none !important;
  }

  header.site-header nav.site-nav .nav-burger,
  .site-header nav.site-nav .nav-burger {
    display: inline-flex !important;
  }

  /* Safety: ensure centered logo doesn't collide with right control */
  header.site-header .container,
  .site-header .container {
    padding-right: 64px !important; /* reserved space for burger */
    padding-left: 64px !important;  /* symmetry */
  }
}
/* /SH-WEB-TNAV-MOBILE-CENTER-FINAL-02 */


/* SH-WEB-TNAV-RESET-01 — canonical mobile header (center logo, burger right) */
@media (max-width: 640px) {
  header.site-header .site-header-content,
  .site-header .site-header-content {
    display: grid !important;
    grid-template-columns: 1fr auto 1fr !important;
    align-items: center !important;
    position: relative !important;
  }

  header.site-header a.site-logo,
  .site-header a.site-logo {
    grid-column: 2 !important;
    justify-self: center !important;
    margin: 0 !important;
  }

  header.site-header nav.site-nav,
  .site-header nav.site-nav {
    grid-column: 3 !important;
    justify-self: end !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    gap: 0 !important;
  }

  header.site-header nav.site-nav a.site-nav-link,
  .site-header nav.site-nav a.site-nav-link,
  header.site-header nav.site-nav a.nav-cta,
  .site-header nav.site-nav a.nav-cta {
    display: none !important;
  }

  header.site-header nav.site-nav .nav-burger,
  .site-header nav.site-nav .nav-burger {
    display: inline-flex !important;
  }
}
/* /SH-WEB-TNAV-RESET-01 */


/* SH-WEB-TNAV-DRAWER-OPEN-FIX-01 — force drawer-open visibility
   Evidence: body.drawer-open is set but drawer remains offscreen (transform matrix tx=340) and overlay opacity stays 0.
   This block must win over all earlier nav experiments.
*/
body.drawer-open .drawer-overlay {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
}

body.drawer-open #mobile-drawer.drawer {
  transform: translateX(0) !important;
}

/* Safety: ensure drawer/overlay can receive clicks above page */
.drawer-overlay { pointer-events: none; }
body.drawer-open .drawer-overlay { pointer-events: auto !important; }

/* /SH-WEB-TNAV-DRAWER-OPEN-FIX-01 */


/* SH-WEB-TNAV-HEADER-NO-OVERLAP-01 — reserve space for burger */
@media (max-width: 640px) {
  /* Ensure header inner wrapper is a positioning context */
  header.site-header .site-header-content,
  .site-header .site-header-content {
    position: relative !important;
  }

  /* Pin nav (burger) to the right edge */
  header.site-header nav.site-nav,
  .site-header nav.site-nav {
    position: absolute !important;
    right: 12px !important;     /* match typical container padding */
    top: 50% !important;
    transform: translateY(-50%) !important;
    z-index: 10 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    gap: 0 !important;
  }

  /* Burger clickable and stable */
  header.site-header nav.site-nav .nav-burger,
  .site-header nav.site-nav .nav-burger {
    z-index: 11 !important;
    pointer-events: auto !important;
  }

  /* Hide header links + header CTA on mobile (drawer-only nav) */
  header.site-header nav.site-nav a.site-nav-link,
  .site-header nav.site-nav a.site-nav-link,
  header.site-header nav.site-nav a.nav-cta,
  .site-header nav.site-nav a.nav-cta {
    display: none !important;
  }

  /* Reserve space so the centered logo never sits under the burger */
  header.site-header a.site-logo,
  .site-header a.site-logo {
    display: inline-flex !important;
    justify-content: center !important;
    width: 100% !important;

    /* Reserve right side for burger + its margin (44px button + ~24px breathing) */
    padding-right: 84px !important;
    padding-left: 20px !important;

    box-sizing: border-box !important;
  }

  /* Ensure the logo mark never overflows into the reserved zone */
  header.site-header .sh-brand__marks,
  .site-header .sh-brand__marks {
    max-width: calc(100% - 0px) !important;
  }
}
/* /SH-WEB-TNAV-HEADER-NO-OVERLAP-01 */


/* SH-WEB-TNAV-NAV-PIN-RIGHT-01 — pin nav top-right, no transforms */
@media (max-width: 640px) {
  header.site-header .site-header-content,
  .site-header .site-header-content {
    position: relative !important;
  }

  header.site-header nav.site-nav,
  .site-header nav.site-nav {
    position: absolute !important;
    right: 12px !important;
    top: 12px !important;
    transform: none !important;   /* CRITICAL: kill translateY / matrix shifts */
    margin: 0 !important;
  }
}
/* /SH-WEB-TNAV-NAV-PIN-RIGHT-01 */


/* SH-WEB-TNAV-HEADER-WIDTH-01 — full-width header content for absolute right nav */
@media (max-width: 640px) {
  header.site-header .container,
  .site-header .container {
    width: 100% !important;
  }

  header.site-header .site-header-content,
  .site-header .site-header-content {
    width: 100% !important;        /* CRITICAL: make absolute right meaningful */
    max-width: none !important;
    display: block !important;      /* avoid shrink-to-fit flex/grid leftovers */
    position: relative !important;  /* anchor for nav absolute */
  }

  /* Keep logo from pushing layout; center inside its own area */
  header.site-header a.site-logo,
  .site-header a.site-logo {
    display: block !important;
  }
}
/* /SH-WEB-TNAV-HEADER-WIDTH-01 */


/* SH-WEB-TNAV-FINAL-01 — stable mobile header: logo left, burger right */
@media (max-width: 640px) {
  /* Header structure must span full width */
  header.site-header .container,
  header.site-header .site-header-content {
    width: 100% !important;
    max-width: none !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    position: relative !important;
  }

  /* Logo: normal flow, left */
  header.site-header a.site-logo {
    flex: 0 0 auto !important;
    margin-left: 12px !important;
    z-index: 2 !important;
  }

  /* Nav container: no absolute positioning */
  header.site-header nav.site-nav {
    position: static !important;
    transform: none !important;
    width: auto !important;
    height: auto !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  /* Burger: the ONLY element positioned right */
  header.site-header .nav-burger {
    position: absolute !important;
    right: 20px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    z-index: 3 !important;
  }
}
/* /SH-WEB-TNAV-FINAL-01 */


/* SH-WEB-TNAV-BURGER-GUTTER-01 — force burger inside gutter */
@media (max-width: 640px) {
  header.site-header .nav-burger,
  .site-header .nav-burger {
    right: 20px !important;
    left: auto !important;
    transform: translateY(-50%) !important; /* keep vertical centering if used */
  }
}
/* /SH-WEB-TNAV-BURGER-GUTTER-01 */




/* SH-WEB-TNAV-CANONICAL-MOBILE-01 — canonical mobile header
   Fix: neutralize all prior .site-header nav.site-nav absolute/right/top/transform rules on mobile.
*/
@media (max-width: 640px) {
  /* Ensure header wrapper spans full width */
  header.site-header .container,
  header.site-header .site-header-content {
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
  }

  /* Kill absolute positioning on nav (defeats right:0!important, etc.) */
  header.site-header nav.site-nav,
  .site-header nav.site-nav {
    position: static !important;
    right: auto !important;
    top: auto !important;
    left: auto !important;
    bottom: auto !important;
    transform: none !important;
    margin: 0 !important;
    padding: 0 !important;
    width: auto !important;
    height: auto !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    gap: 0 !important;
  }

  /* Drawer-only navigation on mobile */
  header.site-header nav.site-nav a.site-nav-link,
  header.site-header nav.site-nav a.nav-cta {
    display: none !important;
  }

  /* Burger pinned inside gutter */
  header.site-header .nav-burger,
  .site-header .nav-burger {
    position: absolute !important;
    right: 20px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    z-index: 10 !important;
  }
}
/* /SH-WEB-TNAV-CANONICAL-MOBILE-01 */



/* SH-WEB-TNAV-BURGER-ANCHOR-01 — anchor burger to header container */
@media (max-width: 640px) {
  /* Anchor positioning to the site panel container, not the viewport */
  header.site-header .container {
    position: relative !important;
  }

  /* Undo any full-width forcing that makes the anchor become the viewport */
  header.site-header .site-header-content {
    width: auto !important;
    max-width: none !important;
  }

  /* Burger pinned inside the header container gutter */
  header.site-header .nav-burger {
    position: absolute !important;
    right: 12px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    z-index: 10 !important;
  }
}
/* /SH-WEB-TNAV-BURGER-ANCHOR-01 */


/* SH-WEB-TNAV-GRID-HEADER-01 — mobile grid header 44-1fr-44 */
@media (max-width: 640px) {
  header.site-header .site-header-content,
  .site-header .site-header-content {
    display: grid !important;
    grid-template-columns: 44px 1fr 44px !important;
    align-items: center !important;
    gap: 0 !important;
  }

  header.site-header a.site-logo,
  .site-header a.site-logo {
    grid-column: 2 !important;
    justify-self: center !important;
    margin: 0 !important;
  }

  header.site-header nav.site-nav,
  .site-header nav.site-nav {
    grid-column: 3 !important;
    justify-self: end !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    position: static !important;
    right: auto !important;
    top: auto !important;
    transform: none !important;
    margin: 0 !important;
    width: 44px !important;
    min-width: 44px !important;
  }

  header.site-header nav.site-nav .nav-burger,
  .site-header nav.site-nav .nav-burger {
    position: static !important;
    align-self: center !important;
    margin: 0 !important;
  }

  header.site-header nav.site-nav a.site-nav-link,
  .site-header nav.site-nav a.site-nav-link,
  header.site-header nav.site-nav a.nav-cta,
  .site-header nav.site-nav a.nav-cta {
    display: none !important;
  }
}
/* /SH-WEB-TNAV-GRID-HEADER-01 */

/* SH-WEB-MOBILE-HEADER-FINAL-01 — definitive mobile header + no horizontal drift */
@media (max-width: 640px){

  /* 1) Stop horizontal drift everywhere (clip + fallback) */
  html, body { overflow-x: hidden !important; } /* safest universal fallback */
  @supports (overflow: clip) {
    html, body { overflow-x: clip !important; }
  }

  /* ensure media can’t blow out width */
  img, video, canvas, svg { max-width: 100% !important; height: auto !important; }

  /* 2) Canonical header layout (grid 44–1fr–44) */
  header.site-header .container{
    padding-left: 12px !important;
    padding-right: 12px !important;
    max-width: 100% !important;
  }

  header.site-header .site-header-content,
  .site-header .site-header-content{
    width: 100% !important;
    max-width: none !important;

    display: grid !important;
    grid-template-columns: 44px 1fr 44px !important;
    align-items: center !important;
    gap: 0 !important;
    min-width: 0 !important;
  }

  /* center brand */
  header.site-header a.sh-brand,
  header.site-header a.site-logo.sh-brand,
  header.site-header a.site-logo{
    grid-column: 2 !important;
    justify-self: center !important;
    margin: 0 !important;
    min-width: 0 !important;
  }
  header.site-header a.site-logo:empty{ display:none !important; }

  /* hide inline links on mobile (drawer is nav) */
  header.site-header nav.site-nav a.site-nav-link,
  header.site-header nav.site-nav a.nav-cta,
  header.site-header nav.site-nav .plan-badge,
  header.site-header nav.site-nav .site-nav-user{
    display: none !important;
  }

  /* right column host (prevents collapse) */
  header.site-header nav.site-nav,
  .site-header nav.site-nav{
    grid-column: 3 !important;
    justify-self: end !important;

    width: 44px !important;
    min-width: 44px !important;
    height: 44px !important;
    min-height: 44px !important;

    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;

    /* 3) Neutralize prior absolute/transform experiments */
    position: static !important;
    top: auto !important;
    right: auto !important;
    left: auto !important;
    bottom: auto !important;
    transform: none !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  /* burger pinned right WITHOUT absolute positioning */
  header.site-header button.nav-burger,
  header.site-header nav.site-nav button.nav-burger,
  .site-header nav.site-nav button.nav-burger{
    grid-column: 3 !important;
    justify-self: end !important;

    position: static !important;
    top: auto !important;
    right: auto !important;
    left: auto !important;
    bottom: auto !important;
    transform: none !important;

    width: 44px !important;
    height: 38px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 !important;
    z-index: 10000 !important;
  }
}
/* /SH-WEB-MOBILE-HEADER-FINAL-01 */



/* SH-WEB-TPRICING-CARD-LUMINOSITY-01 — pricing plan cards match about inner-card luminosity */
/* Pricing-only: COPY About inner-card pattern (rest + hover) onto .pricing-card. Do not touch shells/layout. */

/* Match About neon vars but scoped to pricing only */
.page-pricing {
  --sh-neon-border-rest: rgba(40, 120, 255, 0.20);
  --sh-neon-border-hover: rgba(74, 158, 255, 0.35);

  --sh-neon-halo-rest:
    0 0 0 1px rgba(40, 120, 255, 0.10),
    0 0 10px rgba(40, 120, 255, 0.08),
    0 10px 22px rgba(0, 0, 0, 0.55);

  --sh-neon-halo-hover:
    0 0 0 1px rgba(74, 158, 255, 0.35),
    0 0 12px rgba(74, 158, 255, 0.45),
    0 0 18px rgba(74, 158, 255, 0.40),
    0 10px 22px rgba(0, 0, 0, 0.60),
    inset 0 0 12px rgba(74, 158, 255, 0.08);
}

/* Rest state: same as About story-card rest */
.page-pricing .pricing-grid .pricing-card {
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255, 255, 255, 0.10) !important;
  box-shadow: none !important;
  position: relative;
  overflow: hidden;
}

/* Hover/focus: same as About story-card hover */
.page-pricing .pricing-grid .pricing-card:hover,
.page-pricing .pricing-grid .pricing-card:focus-within {
  border-color: var(--sh-neon-border-hover) !important;
  box-shadow: var(--sh-neon-halo-hover) !important;
}
/* /SH-WEB-TPRICING-CARD-LUMINOSITY-01 */

/* SH-WEB-TFEATURES-CARD-LUMINOSITY-01 — features small cards match about inner-card luminosity */
/* Features-only: reuse About neon vars + rest/hover luminosity on small feature cards. */
body.features-page {
  --sh-neon-border-rest: rgba(40, 120, 255, 0.20);
  --sh-neon-border-hover: rgba(74, 158, 255, 0.35);

  --sh-neon-halo-rest:
    0 0 0 1px rgba(40, 120, 255, 0.10),
    0 0 10px rgba(40, 120, 255, 0.08),
    0 10px 22px rgba(0, 0, 0, 0.55);

  --sh-neon-halo-hover:
    0 0 0 1px rgba(74, 158, 255, 0.35),
    0 0 12px rgba(74, 158, 255, 0.45),
    0 0 18px rgba(74, 158, 255, 0.40),
    0 10px 22px rgba(0, 0, 0, 0.60),
    inset 0 0 12px rgba(74, 158, 255, 0.08);
}

body.features-page .feature-card {
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255, 255, 255, 0.10) !important;
  box-shadow: none !important;
}

body.features-page .feature-card:hover,
body.features-page .feature-card:focus-within {
  border-color: var(--sh-neon-border-hover) !important;
  box-shadow: var(--sh-neon-halo-hover) !important;
}
/* /SH-WEB-TFEATURES-CARD-LUMINOSITY-01 */


/* SH-WEB-TACCOUNT-CARD-LUMINOSITY-01 — account small cards match about inner-card luminosity */
/* Account-only: reuse About/Features inner-card luminosity pattern on small account cards. */
body.page-account {
  --sh-neon-border-rest: rgba(40, 120, 255, 0.20);
  --sh-neon-border-hover: rgba(74, 158, 255, 0.35);

  --sh-neon-halo-rest:
    0 0 0 1px rgba(40, 120, 255, 0.10),
    0 0 10px rgba(40, 120, 255, 0.08),
    0 10px 22px rgba(0, 0, 0, 0.55);

  --sh-neon-halo-hover:
    0 0 0 1px rgba(74, 158, 255, 0.35),
    0 0 12px rgba(74, 158, 255, 0.45),
    0 0 18px rgba(74, 158, 255, 0.40),
    0 10px 22px rgba(0, 0, 0, 0.60),
    inset 0 0 12px rgba(74, 158, 255, 0.08);
}

body.page-account .feature-card.account-card {
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255, 255, 255, 0.10) !important;
  box-shadow: none !important;
}

body.page-account .feature-card.account-card:hover,
body.page-account .feature-card.account-card:focus-within {
  border-color: var(--sh-neon-border-hover) !important;
  box-shadow: var(--sh-neon-halo-hover) !important;
}
/* /SH-WEB-TACCOUNT-CARD-LUMINOSITY-01 */


/* SH-WEB-TWHY-CARD-LUMINOSITY-01 — why-this-signal small cards match about inner-card luminosity */
/* Why-only: reuse About/Features inner-card luminosity pattern on small feature cards. */
body.why-page {
  --sh-neon-border-rest: rgba(40, 120, 255, 0.20);
  --sh-neon-border-hover: rgba(74, 158, 255, 0.35);

  --sh-neon-halo-rest:
    0 0 0 1px rgba(40, 120, 255, 0.10),
    0 0 10px rgba(40, 120, 255, 0.08),
    0 10px 22px rgba(0, 0, 0, 0.55);

  --sh-neon-halo-hover:
    0 0 0 1px rgba(74, 158, 255, 0.35),
    0 0 12px rgba(74, 158, 255, 0.45),
    0 0 18px rgba(74, 158, 255, 0.40),
    0 10px 22px rgba(0, 0, 0, 0.60),
    inset 0 0 12px rgba(74, 158, 255, 0.08);
}

body.why-page .feature-card {
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255, 255, 255, 0.10) !important;
  box-shadow: none !important;
}

body.why-page .feature-card:hover,
body.why-page .feature-card:focus-within {
  border-color: var(--sh-neon-border-hover) !important;
  box-shadow: var(--sh-neon-halo-hover) !important;
}
/* /SH-WEB-TWHY-CARD-LUMINOSITY-01 */

/* SH-WEB-TPRICING-AI-INFO-CARDS-01 — pricing AI top info cards match about inner-card luminosity */
/* Pricing-only: target ONLY the TWO top cards inside the “SqueezeHunter AI” module:
   - “What AI does”
   - “How credits work”
   Do NOT affect the credit pack cards (Starter/Active/Power).
   Replace placeholders below with real selectors found in step (1)/(2).
*/

/* Page scope (keep consistent with other pricing blocks) */
.page-pricing {
  --sh-neon-border-rest: rgba(40, 120, 255, 0.20);
  --sh-neon-border-hover: rgba(74, 158, 255, 0.35);

  --sh-neon-halo-rest:
    0 0 0 1px rgba(40, 120, 255, 0.10),
    0 0 10px rgba(40, 120, 255, 0.08),
    0 10px 22px rgba(0, 0, 0, 0.55);

  --sh-neon-halo-hover:
    0 0 0 1px rgba(74, 158, 255, 0.35),
    0 0 12px rgba(74, 158, 255, 0.45),
    0 0 18px rgba(74, 158, 255, 0.40),
    0 10px 22px rgba(0, 0, 0, 0.60),
    inset 0 0 12px rgba(74, 158, 255, 0.08);
}

/* Target ONLY the two top info cards inside the SqueezeHunter AI module: that targets ONLY the two top info cards.
   Example patterns you might find:
   - .ai-info-grid .feature-card
   - .ai-section .ai-top .pricing-card (etc.)
   IMPORTANT: DO NOT target the credit cards below.
*/
.page-pricing .plans-shell-ai .features-grid.features-grid-2x2 .feature-card {
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255, 255, 255, 0.10) !important;
  box-shadow: none !important;
  position: relative;
  overflow: hidden;
}

.page-pricing .plans-shell-ai .features-grid.features-grid-2x2 .feature-card:hover,
.page-pricing .plans-shell-ai .features-grid.features-grid-2x2 .feature-card:focus-within {
  border-color: var(--sh-neon-border-hover) !important;
  box-shadow: var(--sh-neon-halo-hover) !important;
}
/* /SH-WEB-TPRICING-AI-INFO-CARDS-01 */

/* SH-WEB-NAV-T01 — user dropdown menu */
.user-menu {
  position: relative;
  display: inline-flex;
  align-items: center;
}
.user-menu__trigger {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  background: transparent;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  color: inherit;
  font-family: inherit;
  transition: background 0.15s;
}
.user-menu__trigger:hover {
  background: #333;
}
.user-menu__avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #4a9eff;
  color: #fff;
  font-weight: 700;
  font-size: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.user-menu__name {
  color: #e0e0e0;
  font-size: 0.85rem;
  max-width: 100px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.user-menu__chevron {
  color: #888;
  font-size: 0.7rem;
  transition: transform 0.2s;
}
.user-menu--open .user-menu__chevron {
  transform: rotate(180deg);
}
.user-menu__dropdown {
  position: absolute;
  top: 100%;
  right: 0;
  min-width: 200px;
  background: #252525;
  border: 1px solid #3a3a3a;
  border-radius: 8px;
  padding: 6px 0;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  z-index: 100;
  display: none;
  margin-top: 4px;
}
.user-menu--open .user-menu__dropdown {
  display: block;
}
.user-menu__item {
  display: block;
  padding: 10px 16px;
  color: #c8d0d8;
  text-decoration: none;
  font-size: 0.85rem;
  transition: background 0.12s;
}
.user-menu__item:hover {
  background: #333;
}
.user-menu__item--logout {
  color: #f44336;
}
.user-menu__divider {
  border: none;
  border-top: 1px solid #3a3a3a;
  margin: 4px 0;
}

/* Mobile: hide user-menu dropdown (use drawer instead) */
@media (max-width: 640px) {
  .user-menu {
    display: none !important;
  }
}

/* Drawer auth divider */
.drawer__divider {
  border: none;
  border-top: 1px solid #3a3a3a;
  margin: 8px 0;
}
/* /SH-WEB-NAV-T01 */

/* SH-WEB-ACCOUNT-T03 — breathing room for FREE upgrade CTA */
[data-upgrade-cta] {
  margin-top: 16px !important;
}
/* /SH-WEB-ACCOUNT-T03 */
