/* Blend at the container boundary: its z-index creates the isolating group. */
.hero > .container{mix-blend-mode:screen}
/* Brand visual effects and transparent video integration */
.heroes-emblem{position:relative;width:clamp(120px,16vw,190px);aspect-ratio:1;pointer-events:none;z-index:2;mix-blend-mode:screen;margin-bottom:16px}
.emblem-depth{position:relative;width:100%;height:100%;transform-style:preserve-3d}
.emblem-depth img,.emblem-depth video{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;mix-blend-mode:screen;filter:contrast(1.35);background-color:transparent;background-image:none}
.emblem-depth video{opacity:0;transition:opacity .6s}.emblem-depth video.is-playing{opacity:1}.emblem-depth:has(video.is-playing) img{opacity:0}
.hero-lightning{position:absolute;inset:0 0 auto;width:100%;height:820px;pointer-events:none;z-index:1;contain:strict;opacity:.85}
.motion-control{position:relative;z-index:3;margin-top:24px;min-height:44px;padding:10px 16px;border:1px solid #c5aa7e55;border-radius:8px;background:#0b1019;color:#ded3bd;font:500 .8rem var(--font-sans);cursor:pointer}
.scene-static .hero-lightning,.scene-static .heroes-emblem video{display:none!important}.scene-static .emblem-depth img{opacity:1!important}
.hero-video-wrapper{position:relative;width:100%;border-radius:14px;border:1px solid rgba(201,167,100,0.35);box-shadow:0 20px 60px rgba(0,0,0,0.8),0 0 40px rgba(201,167,100,0.12);overflow:hidden;background:#05070a}
.hero-loop-video{display:block;width:100%;height:auto;aspect-ratio:3/4;object-fit:contain;pointer-events:none}
/* Compact portrait showcase on desktop; approved mobile sizing stays intact. */
@media(min-width:768px){
  .hero-video-wrapper{width:min(100%,540px,56.25vh);max-height:75vh;aspect-ratio:3/4;margin:0 auto}
}
.demo-section{position:relative}.demo-heading{display:flex;align-items:end;justify-content:space-between;gap:24px;margin-bottom:28px}.demo-heading h2{margin:16px 0 0}.demo-heading p{color:var(--text-secondary);max-width:440px;line-height:1.75}.demo-video{display:block;width:100%;height:auto;aspect-ratio:16/9;background:#030508;border:1px solid #bca57b55;border-radius:12px;object-fit:contain;box-shadow:0 24px 65px #0006}.demo-caption{font-size:.85rem;color:var(--text-secondary);margin:16px 0 30px;line-height:1.8}.demo-still{margin:0}.demo-still a{display:block}.demo-still img{display:block;width:100%;height:auto;border:1px solid #8b9bac44;border-radius:8px}.mattrix-chart-replay{display:block;width:min(100%,540px);height:auto;aspect-ratio:9/16;margin:0 auto;border:1px solid #8b9bac44;border-radius:8px;background:#030508;object-fit:contain;max-width:100%}.demo-still figcaption{margin-top:12px;color:var(--text-secondary);font-size:.82rem}.demo-error{padding:16px;color:#e4cba0}.demo-error[hidden]{display:none}
@media(min-width:1000px){.company-hero .hero-title{max-width:760px}.company-hero .heroes-emblem{top:15px}.hero:not(.company-hero) .heroes-emblem{top:20px}}
@media(max-width:999px) and (min-width:768px){.heroes-emblem{right:10px;width:180px;top:-45px}.hero .hero-title{max-width:600px}}
@media(max-width:767px){.heroes-emblem{top:-320px;right:20px;width:220px}.company-hero .heroes-emblem{top:-320px}.hero-lightning{height:370px}.demo-heading{display:block}.demo-heading p{margin-top:14px}.demo-video{border-radius:8px}.motion-control{margin-top:18px}.catalog-links>a:not(.btn){min-height:44px;display:flex;align-items:center}}
/* Keep the emblem in its own left-hand flow area on every screen. */
.hero .heroes-emblem{top:auto;right:auto;left:auto;width:clamp(100px,13vw,160px);margin:0 0 12px}
@media(max-width:767px){.hero .heroes-emblem{width:96px;margin:0}}
@media(prefers-reduced-motion:reduce){.hero-lightning{display:none!important}.emblem-depth video{display:none!important}.emblem-depth img{opacity:1!important}}

/* Content-driven spacing; preserve the knight and mobile chart geometry. */
.hero{padding-bottom:40px}
.company-hero{min-height:0;padding-top:48px;padding-bottom:40px}
.section{padding:48px 0}
.section-header{margin-bottom:28px}
.section-header::after{margin-top:16px;height:20px}
.footer{padding-top:40px}
.mattrix-hero-logo{width:220px;height:146px;border:1px solid #c5a55488;border-radius:10px;background:#030303;object-fit:contain;margin-bottom:16px}
@media(max-width:767px){.company-hero{padding-top:350px}.section{padding:36px 0}.mattrix-hero-logo{width:140px;height:94px;margin:0}}

/* Product Hero Above-the-Fold & Reduced Knight Dominance on Mobile/Desktop */
.product-hero{padding-top:36px!important;padding-bottom:36px!important;overflow:hidden}
.product-hero::before{opacity:.42;background-position:88% top}
.product-hero::after{background:linear-gradient(90deg,#080a0df8 0%,#080a0de6 48%,#080a0d66 85%),linear-gradient(0deg,#080a0d 8%,transparent 65%)}
.hero-brand-bar{display:flex;align-items:center;gap:18px;margin-bottom:14px;flex-wrap:wrap}
.hero-brand-bar .heroes-emblem,.hero-brand-bar .mattrix-hero-logo{margin:0!important}
.hero-eyebrow{font-family:var(--font-mono);font-size:.76rem;font-weight:700;letter-spacing:.12em;text-transform:uppercase;color:#d5bd97;margin:0 0 10px}
.product-hero .hero-title{font-size:clamp(1.85rem,3.6vw,3.35rem);line-height:1.12;margin:0 0 16px;max-width:780px}
.product-hero .hero-subtitle{font-size:clamp(.94rem,1.35vw,1.08rem);line-height:1.65;margin:0 0 22px;max-width:680px}
.product-hero .hero-cta-group{margin-bottom:20px;gap:12px;flex-wrap:wrap}
.hero-spec-pills{list-style:none;display:flex;flex-wrap:wrap;gap:8px;padding:0;margin:0}
.hero-spec-pills li{font-family:var(--font-mono);font-size:.74rem;color:#d7e1ec;background:rgba(16,22,31,.86);border:1px solid rgba(197,170,126,.35);border-radius:6px;padding:6px 12px}
@media(max-width:767px){
  .product-hero{padding-top:12px!important;padding-bottom:22px!important;overflow:hidden}
  .product-hero::before{height:300px!important;background-size:auto 300px!important;background-position:100% top!important;opacity:.28!important}
  .product-hero::after{background:linear-gradient(180deg,rgba(8,10,13,.78) 0%,#080a0d 270px)!important}
  .hero-brand-bar{gap:10px;margin-bottom:6px}
  .hero-brand-bar .heroes-emblem{width:54px!important;height:54px!important}
  .hero-brand-bar .mattrix-hero-logo{width:96px!important;height:64px!important}
  .hero-eyebrow{font-size:.66rem;margin-bottom:4px}
  .product-hero .hero-title{font-size:2.15rem!important;line-height:1.08!important;margin-bottom:8px!important}
  .product-hero .hero-subtitle{font-size:.84rem!important;line-height:1.42!important;margin-bottom:10px!important}
  .product-hero .hero-cta-group{margin-bottom:10px!important;gap:8px!important}
  .product-hero .hero-cta-group .btn-lg{padding:10px 18px;font-size:.96rem;min-height:48px;flex:1 1 auto}
  .hero-spec-pills{gap:6px}
  .hero-spec-pills li{font-size:.68rem;padding:4px 8px}
  .section-title,.account-placeholder-card .section-title{font-size:1.65rem!important;line-height:1.18!important}
  .footer .heroes-wordmark-3d{font-size:1.65rem!important}
  #pricing .plan-price{font-size:1.9rem!important}
}

/* Demo Callout Grid */
.demo-Callout-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin-bottom:28px}
.demo-callout,.demo-callout-item{padding:18px 20px;border:1px solid rgba(197,170,126,.28);border-radius:12px;background:rgba(8,12,18,.94)}
.demo-callout-item .callout-label{display:block;font-family:var(--font-mono);font-size:.74rem;font-weight:700;color:#d5bd97;letter-spacing:.06em;margin-bottom:6px}
.demo-callout-item p{margin:0;font-size:.9rem;line-height:1.6;color:var(--text-secondary)}
@media(max-width:767px){.demo-Callout-grid{grid-template-columns:1fr;gap:12px;margin-bottom:20px}}

/* Strategy Top Links & 6-Pillar Grid */
.strategy-top-links{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;margin-bottom:18px}
.strategy-top-links a,a#back-catalog{display:inline-flex;align-items:center;gap:8px;min-height:48px;padding:10px 18px;border:1px solid rgba(255,255,255,.22);border-radius:8px;background:#11151b;color:#eeeae2;text-decoration:none;font-size:.96rem;font-weight:600;margin-bottom:0}
.strategy-top-links a:hover,a#back-catalog:hover{border-color:#e2bd73;background:#1a2130;color:#fff}
.strategy-top-links a:focus-visible,a#back-catalog:focus-visible{outline:2px solid #f0d2a2!important;outline-offset:3px!important}
@media(max-width:767px){.strategy-top-links{flex-direction:column;align-items:stretch;gap:10px}.strategy-top-links a,a#back-catalog{width:100%;justify-content:center}}
.strategy-six-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
.strategy-six-grid article{padding:26px 24px;border:1px solid rgba(183,197,213,.22);border-top:2px solid rgba(212,188,136,.55);border-radius:14px;background:rgba(8,12,18,.94)}
.strategy-six-grid article>span{display:block;color:#d4bc88;font-family:var(--font-mono);font-size:.75rem;font-weight:700;letter-spacing:.05em}
.strategy-six-grid article h3{margin:12px 0 10px;font-size:1.18rem;line-height:1.3;color:#f4f7fb}
.strategy-six-grid article p{margin:0;font-size:.9rem;line-height:1.68;color:var(--text-secondary)}
@media(max-width:1024px){.strategy-six-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:767px){.strategy-six-grid{grid-template-columns:1fr;gap:16px}.strategy-six-grid article{padding:20px 18px}}

/* 3-Step Execution Workflow */
.workflow-section{background:linear-gradient(180deg,rgba(9,13,20,.92),rgba(6,9,14,.96));border-top:1px solid rgba(197,170,126,.18);border-bottom:1px solid rgba(197,170,126,.18)}
.inline-method-link{color:#e4cba0;text-decoration:underline;text-underline-offset:3px;font-weight:600}
.workflow-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}
.workflow-step{padding:26px 24px;border:1px solid rgba(197,170,126,.32);border-radius:14px;background:rgba(8,12,18,.94);box-shadow:0 16px 40px rgba(0,0,0,.45)}
.workflow-step-num{display:inline-block;padding:4px 10px;border-radius:6px;background:rgba(197,170,126,.15);border:1px solid rgba(197,170,126,.4);color:#e4cba0;font-family:var(--font-mono);font-size:.74rem;font-weight:800;letter-spacing:.08em;margin-bottom:12px}
.workflow-step h3{margin:0 0 10px;font-size:1.15rem;line-height:1.32;color:#ffffff}
.workflow-step p{margin:0;font-size:.9rem;line-height:1.68;color:var(--text-secondary)}
@media(max-width:999px){.workflow-grid{grid-template-columns:1fr;gap:16px}}

/* Four access plans including Lifetime $1,111 */
#pricing .pricing-cards-container{grid-template-columns:repeat(4,minmax(0,1fr));gap:20px;max-width:1240px}
#pricing .pricing-card{min-width:0;padding:30px 22px}
#pricing .plan-price{font-size:clamp(2.1rem,2.6vw,2.75rem)}
#pricing .plan-price-block{gap:4px;flex-wrap:wrap}
#pricing .pricing-card .btn{width:100%;padding:12px 16px;font-size:.96rem;min-height:48px}
@media(max-width:1180px){#pricing .pricing-cards-container{grid-template-columns:repeat(2,minmax(0,1fr));max-width:780px}}
@media(max-width:767px){#pricing .pricing-cards-container{grid-template-columns:1fr;max-width:520px}}

/* Account / Non-Payment Access Placeholder Section */
.account-placeholder-section{padding-top:36px;padding-bottom:36px}
.account-placeholder-card{max-width:920px;margin:0 auto;padding:32px 28px;border:1px solid rgba(197,170,126,.38);border-radius:16px;background:radial-gradient(ellipse at 100% 0,rgba(197,170,126,.12),transparent 60%),linear-gradient(145deg,#141b24,#0b0f16);box-shadow:0 20px 55px rgba(0,0,0,.6)}
.account-placeholder-card .section-title{font-size:clamp(2rem,3.8vw,2.9rem);margin:12px 0}
.account-placeholder-card .section-desc{margin:0 0 20px;max-width:760px}
.account-placeholder-steps{list-style:none;padding:0;margin:0 0 24px;display:flex;flex-direction:column;gap:12px}
.account-placeholder-steps li{padding:12px 16px;border-radius:10px;background:rgba(9,13,19,.85);border:1px solid rgba(183,197,213,.16);font-size:.9rem;line-height:1.6;color:var(--text-secondary)}
.account-placeholder-steps li strong{color:#f4eee2}
.account-placeholder-actions{display:flex;flex-wrap:wrap;gap:12px}
.account-placeholder-actions .btn{min-height:48px;padding:12px 24px;font-size:.96rem}
@media(max-width:767px){.account-placeholder-card{padding:22px 18px}.account-placeholder-actions{flex-direction:column}.account-placeholder-actions .btn{width:100%}}
@media(max-width:359px){.product-hero{padding-top:8px!important;padding-bottom:16px!important}.hero-brand-bar{margin-bottom:4px!important}.hero-brand-bar .heroes-emblem{width:44px!important;height:44px!important}.hero-brand-bar .mattrix-hero-logo{width:80px!important;height:52px!important}.product-hero .hero-title{line-height:1.04!important;margin-bottom:6px!important}.product-hero .hero-subtitle{font-size:.8rem!important;line-height:1.34!important;margin-bottom:8px!important}}

/* Ensure focused controls are scrolled into the visible viewport during keyboard navigation */
html:has(#back-catalog:focus),html:has(#back-catalog:focus-visible){scroll-behavior:auto!important}
