/* CredX landing: static-first content, one coherent artwork, bounded motion. */
@import url('./space-dust.css');
:root{--motion-ease:cubic-bezier(.4,0,.2,1);--motion-duration:440ms}
/* Native history restores position; spacer changes must not re-anchor it. */
html{overflow-anchor:none}
body{overflow-x:clip;background:#050a13}
section[id]{scroll-margin-top:80px}
/* Headline precedes the complete artwork at every breakpoint. */
.hero-runway{position:relative;isolation:isolate}
.cinematic-hero.hero{position:relative;height:100svh;padding:clamp(84px,9svh,100px) clamp(20px,4vw,64px) clamp(44px,6svh,60px);display:flex;flex-direction:column;justify-content:center;overflow:clip;background:#060b13;isolation:isolate}
.cinematic-ready .hero-runway{height:calc(var(--hero-height,100svh) + 62svh)}
.cinematic-ready .cinematic-hero{position:sticky;top:var(--pin-top,0px)}
.cinematic-hero .hero-grid{display:flex;flex-direction:column;gap:clamp(18px,3svh,30px);max-width:1180px;margin:0 auto;width:100%}
.cinematic-hero .hero-copy{position:relative;max-width:940px;width:100%;text-align:center;padding:0;z-index:3}
.cinematic-hero .hero-copy::before{display:none}
.cinematic-hero h1{font-size:clamp(40px,4.4vw,68px);line-height:1.07;letter-spacing:-.045em;margin:0 auto 18px;max-width:940px;text-shadow:0 2px 12px rgba(0,0,0,.2)}
.cinematic-hero h1 .accent{display:block}
.cinematic-hero .hero-tag{font-size:10px;letter-spacing:.8px;margin-bottom:20px;padding:6px 12px}
.cinematic-hero .hero-tag::before{animation:none}
.cinematic-hero .hero-sub{font-size:16px;line-height:1.65;max-width:620px;margin:0 auto 22px}
.cinematic-hero .hero-btns{justify-content:center;gap:12px}
.cinematic-hero .btn{padding-inline:24px;justify-content:center}
.cinematic-hero .hero-login-note{font-size:11px;margin-top:12px}
.cinematic-hero .hero-btns .btn-outline{background:rgba(6,11,19,.85)}
.hero-art{position:relative;width:min(880px,100%,var(--hero-art-cap,max(420px,calc((100svh - 520px) * 1.7))));aspect-ratio:2.1;height:auto;margin:0 auto;pointer-events:none;z-index:2;transform-origin:50% 50%;transform:translate3d(0,0,0) scale(1)}
.cinematic-hero .scene-object img{filter:saturate(.84) brightness(.82);transition:filter 1.1s var(--motion-ease),opacity 1.1s var(--motion-ease)}
.cinematic-hero.scene-active .scene-object img{filter:saturate(1.18) contrast(1.04) brightness(1.04)}
.scene-object{position:absolute;transform:none;opacity:1;backface-visibility:hidden}
.object-motion{transform:none}
.scene-object img{display:block;width:100%;height:auto;object-fit:contain;user-select:none}
.cinematic-hero .scene-object{opacity:0;animation:hero-image-dissolve .9s var(--motion-ease) both}
.cinematic-hero .object-house{animation-delay:.04s}.cinematic-hero .object-car{animation-delay:.14s}.cinematic-hero .object-cash{animation-delay:.24s}.cinematic-hero .object-merch{animation-delay:.34s}.cinematic-hero .object-cards{animation-delay:.44s}
@keyframes hero-image-dissolve{from{opacity:0;filter:blur(7px)}to{opacity:1;filter:blur(0)}}
.object-house{width:38%;left:56%;top:0;z-index:1}
.object-car{width:42%;right:3%;bottom:0;z-index:4}
.object-cash{width:23%;left:6%;top:4%;z-index:2}
.object-merch{width:28%;left:34%;top:15%;z-index:5}
.object-cards{width:30%;left:6%;bottom:4%;z-index:3}
.object-house img{mask-image:url('/images/hero/house-mask.webp')}
.object-car img{mask-image:url('/images/hero/car-mask.webp')}
.object-cash img{mask-image:url('/images/hero/cash-mask.webp')}
.object-merch img{mask-image:url('/images/hero/merch-mask.webp')}
:is(.object-house,.object-car,.object-cash,.object-merch) img{mask-size:100% 100%;mask-repeat:no-repeat}
.object-cards img{mask-image:linear-gradient(90deg,transparent,#000 5%,#000 95%,transparent)}
.scene-orbit{position:absolute;pointer-events:none;left:8%;right:8%;bottom:3%;height:16%;border:1px solid rgba(63,172,222,.18);border-radius:50%;background:radial-gradient(ellipse,rgba(0,132,201,.1),transparent 70%)}
.orbit-front{display:none}
.hero-atmosphere{position:absolute;inset:0;pointer-events:none;background:radial-gradient(ellipse at 70% 60%,rgba(17,106,167,.23),transparent 55%),radial-gradient(ellipse at 15% 65%,rgba(59,48,122,.15),transparent 50%),#060b13;z-index:0}
.hero-atmosphere::after{content:'';position:absolute;inset:0;background:linear-gradient(180deg,transparent 75%,#060b13)}
.scene-grid{position:absolute;inset:55% -10% 0;background:linear-gradient(rgba(71,155,196,.05) 1px,transparent 1px),linear-gradient(90deg,rgba(71,155,196,.05) 1px,transparent 1px);background-size:120px 120px;transform:perspective(600px) rotateX(62deg);mask-image:linear-gradient(transparent,#000,transparent)}
.scene-bloom{display:none}
.journey-cue{position:absolute;left:clamp(20px,4vw,64px);right:clamp(20px,4vw,64px);bottom:22px;display:flex;align-items:center;gap:20px;font-family:'IBM Plex Mono',monospace;font-size:9px;letter-spacing:1.4px;color:#88a0b8;z-index:4}
.journey-cue i{height:2px;flex:1;border-radius:2px;background:linear-gradient(90deg,#00c6fb,rgba(0,198,251,.1));transform-origin:left;transform:scaleX(var(--journey-fill,.05))}
/* Deep-space surfaces: sparse dust and distant nebulae, never a star field. */
section.section-fade,.hero-bridge,.interface-runway{background-color:#040914;background-image:var(--cx-space-dust),radial-gradient(ellipse 70% 55% at 6% 10%,rgba(33,87,166,.14),transparent 70%),radial-gradient(ellipse 60% 50% at 96% 90%,rgba(65,51,115,.11),transparent 70%);background-size:var(--cx-space-dust-size),100% 100%,100% 100%;background-repeat:repeat,repeat,no-repeat,no-repeat}
/* A crisper edge and dark separation ring lift every card off that ground. */
:is(.md-card,.bd-cat,.pg-card,.pl-item,.fr-item,.chat-window,.dash-ui,.test-card){background:linear-gradient(145deg,rgba(28,47,70,.97),rgba(8,16,31,.99) 62%);border:1px solid rgba(110,188,240,.36);box-shadow:inset 0 1px 0 rgba(196,232,255,.22),0 0 0 1px rgba(2,6,14,.7),0 8px 0 -5px #030710,0 18px 34px -14px rgba(0,0,0,.85),0 0 40px -12px rgba(32,115,215,.22)}
.hero-bridge{position:relative;z-index:3;padding:58px clamp(20px,4vw,48px) 72px;border-top:1px solid rgba(57,174,223,.1)}
.bridge-grid{display:grid;grid-template-columns:1fr 1fr;gap:70px;align-items:center}
.bridge-context .hero-stats{margin-top:0;padding-top:0;border:0}
.bridge-context .hero-note{max-width:520px}
.hero-bridge .rc-stage{min-height:340px}
.hero-bridge .rc-card{width:min(100%,360px)}
.hero-bridge .rc-float{animation:none}
/* Short symmetric data segments: no bright comet heads or fixed tracks. */
.data-trails{position:fixed;inset:0;z-index:6;pointer-events:none;overflow:hidden;contain:strict}
.data-trails canvas{display:block;width:100%;height:100%}
/* Existing software entrance stays subordinate to the About aperture. */
.interface-runway{position:relative;isolation:isolate}
.interface-runway .dash{position:relative;background:transparent;z-index:2}
.portal-frames{display:none;position:absolute;inset:0;overflow:hidden;pointer-events:none;z-index:3}
.portal-frames i{position:absolute;inset:10% 12%;border:1px solid rgba(0,198,251,.38);border-radius:28px;box-shadow:0 0 12px rgba(0,198,251,.08);opacity:0;transform-origin:50% 52%}
.portal-frames i:nth-child(2){inset:13% 15%;border-color:rgba(78,141,236,.28)}
.portal-frames i:nth-child(3){inset:16% 18%;border-color:rgba(0,198,251,.18)}
.narrative-ready .interface-runway{height:calc(var(--interface-height,800px) + 44svh)}
.narrative-ready .interface-runway .dash{position:sticky;top:var(--interface-pin,0px)}
.narrative-ready .portal-frames{display:block;height:var(--interface-height,800px);position:sticky;top:var(--interface-pin,0px);margin-bottom:calc(-1 * var(--interface-height,800px))}
.narrative-ready .dash-ui{transition:none;transform-origin:50% 45%}
.narrative-ready :is(.md-card,.bd-cat,.pl-item,.pg-card,.fr-card,.chat-window){transition:box-shadow var(--motion-duration) var(--motion-ease),border-color var(--motion-duration) var(--motion-ease);opacity:1;filter:none}
.narrative-ready :is(.rc-card,.rc-live::before,.rc-halo,.rc-ring){animation:none}
.narrative-ready .reveal{opacity:1;transform:none;filter:none;transition:none}
.narrative-ready :is(.md-card,.pg-card,.pl-item,.fr-item,.dash-ui){backdrop-filter:none}
:is(.md-grid,.pg-grid,.fr-grid){perspective:1200px}
:is(#pricing,#get-started) :is(.plan,.btn){transform:none;animation:none}
:is(#pricing,#masterclass-curriculum,#get-started){scroll-margin-top:84px}
:is(.btn,.md-card,.plan,.cur-card,.faq-item){transition-timing-function:var(--motion-ease)}
.bd-cat{opacity:1}
.test-card h3{font-size:20px;letter-spacing:-.4px;margin:12px 0}
.test-card .test-quote{font-style:normal;margin:0;color:var(--muted)}
/* Aperture light begins above the About boundary, not halfway down its copy. */
#about{position:relative;isolation:isolate;overflow:visible;padding-top:110px;padding-bottom:80px}
#about::before{content:'';position:absolute;inset:0;z-index:0;pointer-events:none;background:radial-gradient(ellipse at 50% 25%,rgba(14,125,193,.17),transparent 65%)}
#about .about-inner{position:relative;z-index:2;transform-origin:50% 160px}
.about-photo{height:auto;box-shadow:0 0 0 4px rgba(33,111,169,.1),0 20px 50px rgba(0,0,0,.55);border-radius:18px}
.about-gateway{--gateway-h:clamp(380px,62svh,640px);position:absolute;left:50%;top:calc(var(--gateway-h) / -2 - 24px);width:min(1120px,96%);height:var(--gateway-h);transform:translateX(-50%);pointer-events:none;z-index:3;display:none}
.about-gateway i{position:absolute;inset:8% 9%;border-radius:50%;border:7px solid #b5f5ff;box-shadow:0 0 4px #f2feff,0 0 18px rgba(17,210,255,.8),0 0 54px rgba(0,142,247,.5),0 0 120px rgba(0,104,214,.28),inset 0 0 30px rgba(42,186,249,.34);opacity:0;transform-origin:center}
.about-gateway i:nth-of-type(2){inset:5% 6%;border:2px solid rgba(32,167,255,.55);box-shadow:0 0 22px rgba(22,119,244,.3)}
.about-gateway i:nth-of-type(3){inset:1% 2%;border:1px solid rgba(91,126,245,.3);box-shadow:0 0 46px rgba(24,106,221,.26),0 0 140px rgba(17,84,198,.18)}
.narrative-ready .about-gateway{display:block}
.about-socials{position:relative;z-index:4;display:flex;justify-content:center;gap:16px;margin:40px auto 0;width:fit-content;max-width:100%}
.about-socials a{position:relative;display:flex;align-items:center;justify-content:center;width:52px;height:52px;border:1px solid rgba(82,196,250,.34);border-radius:50%;background:rgba(9,22,37,.88);box-shadow:inset 0 1px 0 rgba(208,241,255,.1),0 10px 22px -8px rgba(0,171,255,.4);color:#d4f1ff;text-decoration:none;transform-origin:50% 100%;transition:translate .2s,box-shadow .2s,border-color .2s}
.about-socials svg{width:22px;height:22px;fill:currentColor;stroke:none}
.about-socials span{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.about-socials a:hover{translate:0 -3px;border-color:#92e8ff;box-shadow:0 13px 26px -6px rgba(0,181,255,.55)}
.about-socials a:focus-visible{outline:3px solid #b6f0ff;outline-offset:5px}
#about:focus-within .about-inner,#about:focus-within .about-socials a{clip-path:none!important;transform:none!important;opacity:1!important;pointer-events:auto!important}
.narrative-ready :is(.step,.md-card,.bd-cat,.pl-item,.pg-card,.fr-item,.chat-window,.test-grid,.cur-grid,.faq-list):focus-within{transform:none!important;opacity:1!important}
/* Laptop-height windows: trade a little headline scale and padding for a
   composition that still reads as the dominant element. */
@media(min-width:768px) and (max-height:960px){
 .cinematic-hero.hero{padding-top:76px;padding-bottom:44px}
 .cinematic-hero .hero-grid{gap:20px}
 .cinematic-hero h1{font-size:clamp(36px,3.9vw,56px);margin-bottom:14px}
 .cinematic-hero .hero-tag{margin-bottom:14px}
 .cinematic-hero .hero-sub{font-size:15px;margin-bottom:18px}
 .cinematic-hero .hero-login-note{margin-top:9px}
}
@media(min-width:768px) and (max-height:800px){
 .cinematic-hero h1{font-size:clamp(32px,3.4vw,44px);margin-bottom:10px}
 .cinematic-hero .hero-tag{margin-bottom:10px}
 .cinematic-hero .hero-sub{font-size:14px;margin-bottom:14px;line-height:1.55}
}
/* Landscape phones and very short windows: no pinned zoom, just a readable page. */
@media(max-height:560px){
 .cinematic-hero.hero{height:auto;min-height:0;padding-top:84px}
 .cinematic-ready .hero-runway{height:auto}
 .cinematic-ready .cinematic-hero{position:relative;top:0}
 .hero-art{width:min(880px,100%)}
 .journey-cue{display:none}
}
@media(min-width:768px) and (max-width:1100px){
 .nav-links{gap:14px}.nav-links a{font-size:12px}
 .bridge-grid{gap:36px}
 .cinematic-hero h1{font-size:clamp(40px,5vw,52px)}
}
@media(max-width:767px){
 .cinematic-hero.hero{padding:86px 18px 48px;min-height:100svh}
 .cinematic-hero .hero-grid{gap:24px}
 .cinematic-hero h1{font-size:clamp(30px,8.1vw,39px);line-height:1.08;margin-bottom:16px}
 .cinematic-hero .hero-tag{font-size:8px;letter-spacing:.35px;padding:6px 8px;margin-bottom:16px}
 .cinematic-hero .hero-sub{font-size:14px;line-height:1.6;margin-bottom:20px;max-width:400px}
 .cinematic-hero .hero-btns{display:grid;grid-template-columns:1fr;gap:8px;max-width:370px;margin:auto}
 .cinematic-hero .btn{height:44px;width:100%;font-size:12px}
 .hero-art{width:min(500px,100%,var(--hero-art-cap,max(260px,calc((100svh - 500px) * 1.25))));max-width:500px;aspect-ratio:1.25}
 .object-house{width:49%;left:auto;right:2%;top:2%}
 .object-car{width:52%;right:1%;bottom:0}
 .object-cash{width:34%;left:2%;top:8%}
 .object-merch{width:39%;left:29%;top:27%}
 .object-cards{width:43%;left:2%;bottom:9%}
 .journey-cue{left:18px;right:18px;bottom:17px;font-size:7px;letter-spacing:.8px;gap:12px}
 .cinematic-ready .hero-runway{height:calc(var(--hero-height,100svh) + 38svh)}
 .hero-bridge{padding:44px 20px 52px}.bridge-grid{grid-template-columns:1fr;gap:28px}
 .hero-bridge .hero-stats{gap:16px;justify-content:space-between}.hero-bridge .hero-note{font-size:10px}
 .hero-bridge .rc-card{width:min(100%,340px)}
 .narrative-ready .interface-runway{height:auto}
 .narrative-ready .interface-runway .dash{position:relative;top:auto}
 .narrative-ready .portal-frames{position:absolute;height:100%;margin-bottom:0;top:0}
 .portal-frames i{inset:9% 4%;border-radius:16px;box-shadow:none}
 #about{padding-top:80px;padding-bottom:64px}
 .about-gateway{--gateway-h:400px;top:calc(var(--gateway-h) / -2 - 16px);width:100%}
 .about-gateway i{inset:8% 5%;border-width:4px}
 .about-socials{margin-top:32px;gap:14px}
}
.motion-simple .portal-frames i:not(:first-child),.motion-simple .about-gateway i:last-child{display:none}
.motion-simple .scene-grid{display:none}
/* Six items form balanced rows instead of a stranded fifth/sixth card. */
@media(min-width:768px){.bd-stage,.pg-grid,.fr-grid,.cur-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:767px) and (max-height:740px){
 .cinematic-hero.hero{height:auto;min-height:100svh;justify-content:flex-start}
 .hero-art{width:min(360px,100%)}
}
@media(max-height:560px){.hero-art{transform:none!important}}
@media(prefers-reduced-motion:reduce){
 .data-trails,.portal-frames,.about-gateway,.journey-cue{display:none!important}
 .hero-runway,.interface-runway{height:auto!important}
 .cinematic-ready .cinematic-hero,.interface-runway .dash{position:relative!important;top:auto!important}
 .hero-art,.scene-object,.object-motion,.dash-ui,.bd-cat,.rc-card,#about .about-inner,.about-socials a{transform:none!important;opacity:1!important;clip-path:none!important;pointer-events:auto!important}
 .about-socials a{translate:none;transition:none}
}

/* Reference opening: black, a fine circular trace, then the live scene. */
.brand-intro{position:fixed;inset:0;z-index:9999;display:grid;place-items:center;background:#020406;pointer-events:none;animation:intro-clear .7s 1.55s ease-in-out both}
.intro-emblem{position:relative;width:154px;height:154px;display:grid;place-items:center;animation:intro-arrive .7s ease-out both}
.intro-emblem span,.portal-logo{font-family:'IBM Plex Sans',sans-serif;font-weight:600;letter-spacing:-.05em;color:#e6faff}
.intro-emblem span{font-size:28px}.intro-emblem b,.portal-logo b{color:#5edcff}
.intro-emblem i{position:absolute;inset:0;border-radius:50%;border:1px solid rgba(130,218,242,.14);border-right-color:#b9f2ff;border-bottom-color:#6b9da8;animation:intro-trace 1.5s cubic-bezier(.4,0,.2,1) both;box-shadow:0 0 14px rgba(76,199,233,.05)}
@keyframes intro-trace{from{rotate:-160deg;opacity:0;scale:.9}25%{opacity:1}to{rotate:130deg;opacity:1;scale:1}}
@keyframes intro-arrive{from{opacity:0;scale:.94}to{opacity:1;scale:1}}
@keyframes intro-clear{to{opacity:0;visibility:hidden}}
.about-runway{position:relative;background:linear-gradient(180deg,var(--bg2),#050a13 18%,#050a13 82%,var(--bg2));isolation:isolate;overflow:clip}
.narrative-ready .about-runway{height:calc(var(--about-height,100svh) + var(--about-travel,90svh))}
.narrative-ready #about{position:sticky;top:80px;min-height:calc(100svh - 80px);overflow:visible}
.about-transition .about-gateway{width:min(72vw,440px);height:min(72vw,440px);left:50%;top:50%;transform:translate(-50%,-50%);z-index:3}
.about-gateway i{border-width:1.5px;box-shadow:0 0 9px rgba(190,240,255,.7),0 0 30px rgba(0,198,251,.35),inset 0 0 22px rgba(0,198,251,.24)}
.about-gateway i:nth-of-type(3){border-style:solid;border-color:rgba(126,219,247,.28);animation:none}
.portal-logo{position:absolute;left:50%;top:50%;translate:-50% -50%;font-size:clamp(40px,7vw,80px);line-height:1;color:transparent;-webkit-text-stroke:1px #d6f6ff;text-shadow:0 0 22px rgba(0,198,251,.45)}
.portal-logo b{color:transparent;-webkit-text-stroke-color:#5edcff}
#about:focus-within .about-gateway{visibility:hidden}
@media(prefers-reduced-motion:reduce){.brand-intro{display:none}.about-runway{height:auto!important}#about{position:relative!important;top:auto!important}}

/* Equal insets keep the expanding iris circular on every viewport. */
.about-gateway i{inset:9%;border-color:#d9f8ff rgba(123,221,248,.55) #eefcff rgba(64,188,237,.45)}
.about-gateway i:nth-of-type(2){inset:5%;border-width:1px}
.about-gateway i:nth-of-type(3){inset:1%}

/* A full-screen dark veil makes the luminous ring an actual opening, not a
   floating outline. The About content rises only after the hole clears it. */
.about-transition{position:fixed;inset:0;z-index:90;pointer-events:none;overflow:hidden;opacity:0;display:none}
.narrative-ready .about-transition{display:block}
.about-veil{position:absolute;inset:0;background:#02050b;-webkit-mask-image:radial-gradient(circle at 50% 50%,transparent 0 var(--iris-radius,0px),#000 calc(var(--iris-radius,0px) + 2px));mask-image:radial-gradient(circle at 50% 50%,transparent 0 var(--iris-radius,0px),#000 calc(var(--iris-radius,0px) + 2px))}
@media(prefers-reduced-motion:reduce){.about-transition{display:none!important}}

/* Keynote-style entrances: transform is scroll-owned, never a trailing CSS tween. */
.narrative-ready :is(.step,.cur-card,.test-card,.faq-item,.rc-card){transition:box-shadow var(--motion-duration) var(--motion-ease),border-color var(--motion-duration) var(--motion-ease)}
.narrative-ready :is(.step,.cur-card,.test-card,.faq-item,.rc-card):focus-within{transform:none!important;opacity:1!important}

/* Keep only About behind the opening; previous sections never show through. */
.about-backdrop{position:fixed;inset:0;background:#050a13;z-index:80;pointer-events:none;opacity:0;display:none}
.narrative-ready .about-backdrop{display:block}
.about-content-space{display:none}
.about-portal-active{z-index:81}
.about-portal-active .about-content-space{display:block}
.about-portal-active #about .about-inner{position:fixed;top:var(--about-content-top,160px);left:50%;translate:-50% 0;width:min(1000px,calc(100% - 2 * clamp(16px,4vw,48px)));max-width:1000px}
/* One brief cyan sweep celebrates the social row without an idle glow loop. */
.about-socials::before,.about-socials::after{content:'';position:absolute;inset:-12px;pointer-events:none;opacity:0;border-radius:32px}
.about-socials::before{z-index:2;background:linear-gradient(110deg,transparent 30%,rgba(127,235,255,.35) 44%,rgba(237,253,255,.85) 50%,rgba(56,207,255,.3) 56%,transparent 70%)}
.about-socials::after{z-index:0;background:radial-gradient(ellipse,rgba(0,198,251,.55),transparent 70%);filter:blur(12px)}
.about-socials a{z-index:1}
.social-highlight::before{animation:social-glint .55s cubic-bezier(.2,.6,.3,1) both}
.social-highlight::after{animation:social-glow .65s ease-out both}
@keyframes social-glint{0%{opacity:0;transform:translateX(-110%)}25%{opacity:.9}70%{opacity:.55}100%{opacity:0;transform:translateX(110%)}}
@keyframes social-glow{0%{opacity:0;scale:.8}25%{opacity:.9;scale:1.1}100%{opacity:0;scale:1.25}}
@media(prefers-reduced-motion:reduce){.about-backdrop,.about-socials::before,.about-socials::after{display:none!important}}
/* Three medium YouTube cards that play in place. */
.yt-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin-top:32px}
.yt-card{margin:0;min-width:0}
.yt-frame{position:relative;display:block;width:100%;aspect-ratio:16/9;padding:0;border-radius:14px;overflow:hidden;cursor:pointer;background:#07101d;border:1px solid rgba(110,188,240,.36);box-shadow:inset 0 1px 0 rgba(196,232,255,.22),0 0 0 1px rgba(2,6,14,.7),0 18px 34px -14px rgba(0,0,0,.85)}
.yt-frame img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .4s var(--motion-ease)}
.yt-frame:hover img{transform:scale(1.04)}
.yt-frame iframe{position:absolute;inset:0;width:100%;height:100%;border:0}
.yt-icon{position:absolute;left:50%;top:50%;width:60px;height:42px;translate:-50% -50%;border-radius:10px;background:rgba(4,9,20,.8);border:1px solid rgba(110,188,240,.55);transition:background .2s,border-color .2s}
.yt-icon::after{content:'';position:absolute;left:24px;top:12px;border-style:solid;border-width:9px 0 9px 15px;border-color:transparent transparent transparent #e6faff}
.yt-frame:is(:hover,:focus-visible) .yt-icon{background:#00c6fb;border-color:#00c6fb}
.yt-frame:is(:hover,:focus-visible) .yt-icon::after{border-left-color:#031018}
.yt-card figcaption{margin-top:10px;font-size:14px;font-weight:600;line-height:1.4;color:var(--white)}
/* Signup prompts placed between sections. */
.section-cta{display:flex;flex-wrap:wrap;align-items:center;gap:12px;margin-top:32px}
.section-cta.is-center{justify-content:center}
.section-cta small{font-size:12px;color:var(--muted)}
/* Instagram reels line up edge to edge beneath the Results section. */
.ig-section .container{display:flex;flex-wrap:wrap;align-items:flex-end;justify-content:space-between;gap:20px}
.ig-follow{display:flex;flex-wrap:wrap;align-items:center;gap:10px}
.ig-nav{width:44px;height:44px;border-radius:50%;border:1px solid rgba(110,188,240,.45);background:rgba(9,22,37,.88);color:#d4f1ff;font-size:20px;line-height:1;cursor:pointer}
.ig-nav:hover{border-color:#92e8ff}
.ig-track{display:flex;gap:16px;overflow-x:auto;scroll-snap-type:x mandatory;margin-top:36px;padding:4px clamp(20px,4vw,64px) 14px;scrollbar-width:thin;scrollbar-color:rgba(110,188,240,.4) transparent}
.ig-reel{flex:0 0 clamp(260px,23vw,326px);height:580px;scroll-snap-align:center;border-radius:16px;overflow:hidden;background:#fff;border:1px solid rgba(110,188,240,.36);box-shadow:0 0 0 1px rgba(2,6,14,.7),0 18px 34px -14px rgba(0,0,0,.85)}
.ig-reel iframe{display:block;width:100%;height:100%;border:0}
.ig-track[hidden]{display:none}
/* One-minute free-analysis promo. */
.promo-pop{position:fixed;inset:0;z-index:1100;display:grid;place-items:center;padding:20px;background:rgba(2,5,11,.74);animation:promo-in .35s var(--motion-ease) both}
.promo-pop[hidden]{display:none}
.promo-card{position:relative;width:min(440px,100%);padding:36px 30px 24px;border-radius:18px;text-align:center;background:linear-gradient(145deg,rgba(28,47,70,.98),rgba(8,16,31,.99) 62%);border:1px solid rgba(110,188,240,.45);box-shadow:inset 0 1px 0 rgba(196,232,255,.22),0 30px 80px -20px rgba(0,0,0,.9),0 0 60px -20px rgba(0,198,251,.35)}
.promo-card h2{margin:0 0 12px;font-size:clamp(24px,5vw,30px);line-height:1.15;letter-spacing:-.6px;color:var(--white)}
.promo-card p{margin:0 0 22px;font-size:15px;line-height:1.6;color:var(--muted)}
.promo-card .btn{width:100%;justify-content:center}
.promo-later{margin-top:12px;padding:6px;background:none;border:0;font:inherit;font-size:13px;color:var(--muted);text-decoration:underline;cursor:pointer}
.promo-close{position:absolute;top:10px;right:10px;width:36px;height:36px;border-radius:50%;background:transparent;border:1px solid rgba(110,188,240,.36);color:var(--white);font-size:20px;line-height:1;cursor:pointer}
@keyframes promo-in{from{opacity:0}to{opacity:1}}
@media(max-width:767px){
 .yt-grid{grid-template-columns:none;grid-auto-flow:column;grid-auto-columns:84%;overflow-x:auto;scroll-snap-type:x mandatory;padding-bottom:8px}
 .yt-card{scroll-snap-align:start}
 .ig-reel{flex-basis:78vw;height:540px}
 .section-cta .btn{flex:1 1 100%;justify-content:center}
}
@media(prefers-reduced-motion:reduce){.promo-pop{animation:none}.yt-frame img{transition:none}}
/* A single backdrop prevents a section-edge seam through the transparent iris. */
.about-portal-active,.about-portal-active #about{background:transparent}
.about-portal-active #about::before{display:none}

/* Let the biography dissolve into the scene, without a rectangular panel. */
#about{background:transparent}
#about .about-inner{background:transparent;border:0;border-radius:0;box-shadow:none}
#about .about-photo{border:0;box-shadow:none;border-radius:0;-webkit-mask-image:radial-gradient(ellipse at 50% 45%,#000 42%,rgba(0,0,0,.85) 60%,transparent 76%);mask-image:radial-gradient(ellipse at 50% 45%,#000 42%,rgba(0,0,0,.85) 60%,transparent 76%)}

/* Spacious section rhythm, a soft transition bump, and a calm brand surface for
   the profile-tool carousel. */
.section-fade{position:relative;isolation:isolate;padding-top:clamp(112px,10vw,168px);padding-bottom:clamp(112px,10vw,168px)}
.section-fade::before{content:'';position:absolute;left:50%;top:-34px;width:min(220px,42vw);height:68px;transform:translateX(-50%);border-radius:50%;background:radial-gradient(ellipse,rgba(0,198,251,.22),transparent 68%);filter:blur(7px);opacity:.7;pointer-events:none}
.ig-section{position:relative;isolation:isolate;overflow:hidden;background-color:#ff5a70;background-image:radial-gradient(circle at 18% 18%,rgba(255,219,92,.8),transparent 28%),radial-gradient(circle at 82% 16%,rgba(188,52,255,.72),transparent 34%),radial-gradient(circle at 68% 82%,rgba(255,75,116,.82),transparent 38%),linear-gradient(135deg,#feda75 0%,#fa7e1e 28%,#d62976 54%,#962fbf 78%,#4f5bd5 100%) !important;background-position:center;background-size:cover;background-repeat:no-repeat;padding-top:clamp(104px,12vw,170px);padding-bottom:clamp(104px,12vw,170px)}
.ig-section::before{content:'';position:absolute;inset:0;z-index:-1;background:linear-gradient(135deg,rgba(29,28,107,.3),rgba(255,0,135,.08) 48%,rgba(255,183,58,.22));mix-blend-mode:multiply}
.ig-section::after{content:'';position:absolute;left:0;right:0;bottom:-1px;height:100px;background:linear-gradient(180deg,transparent,#040914);pointer-events:none}
.ig-section .container,.ig-section .ig-track{position:relative;z-index:1}.ig-section .stitle,.ig-section .ssub,.ig-section .stag{color:#fff;text-shadow:0 2px 20px rgba(25,0,50,.25)}.ig-section .ig-track{margin-top:48px}
#modules{background:#f4f7fa;background-image:radial-gradient(circle at 12% 8%,rgba(0,198,251,.14),transparent 34%),radial-gradient(circle at 90% 85%,rgba(148,163,184,.18),transparent 38%);color:#172033}
#modules .stitle{color:#142033}#modules .ssub,#modules .hero-note{color:#4b6075}#modules .stag{color:#007da7}
.profile-carousel{position:relative;max-width:1040px;margin:52px auto 0;padding:28px 18px 22px;border:1px solid rgba(42,65,91,.16);border-radius:32px;background:linear-gradient(145deg,rgba(255,255,255,.96),rgba(235,241,247,.9));box-shadow:0 26px 70px -28px rgba(29,53,78,.35),inset 0 1px 0 #fff;overflow:hidden}
.profile-carousel::before{content:'';position:absolute;left:8%;right:8%;bottom:22px;height:18px;border-radius:50%;background:rgba(48,74,98,.2);filter:blur(16px);transform:rotateX(68deg);pointer-events:none}
.profile-carousel-viewport{position:relative;min-height:360px;perspective:1400px;overflow:visible}.profile-carousel-track{position:relative;min-height:360px;transform-style:preserve-3d}
.profile-slide{position:absolute;left:50%;top:50%;width:min(630px,86%);min-height:300px;padding:32px 34px;border-radius:26px;background:linear-gradient(145deg,#fff,#edf3f8);border:1px solid rgba(31,75,106,.18);box-shadow:0 26px 42px -22px rgba(20,53,81,.42),inset 0 1px 0 rgba(255,255,255,.95);transform:translate(-50%,-50%) translateX(var(--offset,0px)) translateZ(var(--depth,-260px)) rotateY(var(--rotate,0deg)) scale(var(--scale,.78));opacity:var(--opacity,0);visibility:hidden;transition:transform .72s cubic-bezier(.2,.75,.22,1),opacity .5s ease,visibility .5s;transform-style:preserve-3d;overflow:hidden}
.profile-slide.is-active{--offset:0px;--depth:0px;--rotate:0deg;--scale:1;--opacity:1;visibility:visible;z-index:3}.profile-slide.is-prev,.profile-slide.is-next{visibility:visible;z-index:2;--opacity:.56;--scale:.84}.profile-slide.is-prev{--offset:-230px;--rotate:16deg;--depth:-180px}.profile-slide.is-next{--offset:230px;--rotate:-16deg;--depth:-180px}
.profile-slide .md-i{position:relative;z-index:1;width:48px;height:48px;display:grid;place-items:center;border-radius:15px;background:#e7f8fc;border:1px solid rgba(0,168,211,.25);color:#0085ae;font-size:22px;margin-bottom:28px}.profile-slide .md-t{position:relative;z-index:1;color:#162b40;font-size:24px;font-weight:700;letter-spacing:-.03em;margin-bottom:10px}.profile-slide .md-d{position:relative;z-index:1;max-width:480px;color:#50657a;line-height:1.7}.profile-slide-orb{position:absolute;right:-90px;top:-120px;width:300px;height:300px;border-radius:50%;background:radial-gradient(circle,rgba(0,198,251,.25),rgba(0,198,251,0) 68%);filter:blur(2px)}
.profile-mini,.profile-chat,.profile-foundation,.profile-bars,.profile-metrics,.profile-list{position:relative;z-index:1;margin-top:24px}.profile-mini{display:grid;grid-template-columns:1fr auto;gap:8px 16px;padding:16px;border-radius:16px;background:#14263b;color:#f7fbff}.profile-mini span{font:11px 'IBM Plex Mono',monospace;letter-spacing:.12em;color:#b5c7d8}.profile-mini strong{font-size:34px}.profile-mini i,.profile-bars i,.profile-foundation i{grid-column:1/-1;display:block;height:7px;border-radius:10px;background:linear-gradient(90deg,#00bde8 var(--fill),#31465b var(--fill));font-style:normal}.profile-mini em{color:#54e7a0;font-size:12px;font-style:normal}
.profile-metrics{display:flex;align-items:baseline;gap:10px;color:#1688aa}.profile-metrics b{font-size:46px;line-height:1;color:#142b43}.profile-metrics span{margin-right:18px;color:#60768b;font-size:12px;text-transform:uppercase;letter-spacing:.08em}.profile-list{display:grid;gap:9px;padding:0;list-style:none;color:#304b64;font-size:13px}.profile-list li{padding:11px 13px;border-radius:10px;background:#f5f8fb;border:1px solid #dbe7ef}.profile-list b{font-size:10px;color:#ee6671;letter-spacing:.08em;margin-right:9px}.profile-chat{display:flex;gap:12px;align-items:flex-start;padding:14px;border:1px solid #cbe8f2;border-radius:15px;background:#effbfe;color:#35536b}.profile-chat span{display:grid;place-items:center;flex:0 0 34px;height:34px;border-radius:50%;background:#00a9e0;color:#fff;font-size:12px;font-weight:700}.profile-chat p{font-size:13px;line-height:1.5;margin:0}.profile-bars{display:grid;gap:13px}.profile-bars span{display:grid;gap:6px;color:#476176;font-size:12px}.profile-bars i{height:8px;background:linear-gradient(90deg,#22c58b var(--fill),#dbe7ef var(--fill))}.profile-foundation{display:grid;gap:9px;padding:16px;border-radius:15px;background:#f3f8fb;color:#38566d}.profile-foundation strong{font-size:28px;color:#162b40}.profile-foundation i{background:linear-gradient(90deg,#00aee1 var(--fill),#dce8ef var(--fill))}
.profile-carousel-controls{position:relative;z-index:4;display:flex;align-items:center;justify-content:center;gap:20px;margin-top:20px}.profile-carousel-btn{width:44px;height:44px;border:1px solid #b8cbd8;border-radius:50%;background:#fff;color:#16334a;font-size:18px;cursor:pointer;box-shadow:0 6px 14px rgba(33,62,85,.12)}.profile-carousel-btn:hover,.profile-carousel-btn:focus-visible{border-color:#00a8d7;outline:3px solid rgba(0,198,251,.18);outline-offset:2px}.profile-carousel-dots{display:flex;gap:8px}.profile-carousel-dots button{width:9px;height:9px;border:0;border-radius:50%;padding:0;background:#b8cbd8;cursor:pointer}.profile-carousel-dots button.is-active{width:24px;border-radius:8px;background:#00a9df}
@media(max-width:767px){.section-fade{padding-top:88px;padding-bottom:88px}.section-fade::before{top:-24px;height:48px}.ig-section{padding-top:88px;padding-bottom:92px}.profile-carousel{margin-top:36px;padding:18px 10px 18px;border-radius:24px}.profile-carousel-viewport,.profile-carousel-track{min-height:390px}.profile-slide{width:calc(100% - 14px);min-height:330px;padding:27px 24px}.profile-slide.is-prev{--offset:-72px;--rotate:9deg;--depth:-140px;--opacity:.28}.profile-slide.is-next{--offset:72px;--rotate:-9deg;--depth:-140px;--opacity:.28}.profile-slide .md-t{font-size:21px}.profile-carousel-controls{gap:13px}.profile-carousel-dots{gap:6px}.ig-follow{width:100%}.ig-follow .btn{flex:1 1 auto}}
@media(prefers-reduced-motion:reduce){.profile-slide{transition:none}}

/* YouTube gets a dedicated visual chapter: deep red/black, soft screen glow,
   and a large play silhouette that separates it from the blue CredX sections. */
.yt-section{position:relative;isolation:isolate;overflow:hidden;background-color:#100609;background-image:radial-gradient(circle at 82% 20%,rgba(255,35,62,.22),transparent 28%),radial-gradient(circle at 12% 84%,rgba(116,10,28,.38),transparent 36%),linear-gradient(135deg,#08070d,#1b080d 58%,#09070d)!important;border-top:1px solid rgba(255,73,92,.28);border-bottom:1px solid rgba(255,73,92,.22)}
.yt-section::before{content:'▶';position:absolute;right:-.04em;top:50%;z-index:-1;transform:translateY(-50%);font-size:clamp(280px,42vw,700px);line-height:1;color:rgba(255,33,58,.055);text-shadow:0 0 80px rgba(255,30,55,.18);pointer-events:none}.yt-section::after{content:'';position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,rgba(4,6,13,.2),transparent 45%,rgba(255,24,49,.08));pointer-events:none}
.yt-section .stitle{color:#fff}.yt-section .ssub{color:#f1cbd0}.yt-section .stag{color:#ff7180}.yt-section .yt-card figcaption{color:#fff}.yt-section .yt-frame{border-color:rgba(255,112,125,.45);box-shadow:inset 0 1px 0 rgba(255,215,218,.2),0 0 0 1px rgba(30,2,7,.8),0 22px 42px -18px rgba(0,0,0,.9),0 0 48px -18px rgba(255,32,55,.32)}.yt-section .yt-icon{background:rgba(230,27,51,.9);border-color:rgba(255,211,215,.7);box-shadow:0 0 30px rgba(255,31,55,.35)}.yt-section .yt-icon::after{border-left-color:#fff}.yt-section .yt-frame:is(:hover,:focus-visible) .yt-icon{background:#ff304d;border-color:#fff}.yt-section .btn-outline{border-color:rgba(255,174,183,.42);color:#fff}.yt-section .btn-outline:hover{border-color:#ff7180;color:#fff}

/* Agent recruitment sits between education and the product walkthrough. */
.agent-cta-section{position:relative;isolation:isolate;overflow:hidden;background:#0b1d2b;border-top:1px solid rgba(126,212,244,.26);border-bottom:1px solid rgba(126,212,244,.24)}
.agent-cta-section::before{content:'';position:absolute;inset:0;z-index:0;background:#0b1d2b}
.agent-cta-bg{position:absolute;inset:0;z-index:0;width:100%;height:100%;display:block;object-fit:cover;object-position:50% 50%;opacity:.96;filter:saturate(.92) contrast(1.03)}
.agent-cta-section::after{content:'';position:absolute;inset:0;z-index:0;background:linear-gradient(90deg,rgba(4,16,28,.97) 0%,rgba(4,16,28,.88) 32%,rgba(4,16,28,.48) 68%,rgba(4,16,28,.62) 100%),linear-gradient(180deg,rgba(4,16,28,.18),rgba(4,16,28,.42));pointer-events:none}
.agent-cta-section .container{position:relative;z-index:1}.agent-cta-card{width:min(650px,100%);padding:clamp(8px,2vw,24px) 0}
.agent-cta-section .stitle{color:#fff;max-width:590px}.agent-cta-section .ssub{color:#d7eaf3;max-width:590px}.agent-cta-section .stag{color:#8fe6ff}
.agent-cta-points{display:flex;flex-wrap:wrap;gap:10px;margin-top:24px;color:#e8f8fc;font-size:13px}.agent-cta-points span{padding:9px 12px;border:1px solid rgba(168,226,241,.34);border-radius:999px;background:rgba(5,23,37,.5);backdrop-filter:blur(6px)}
.agent-cta-section .btn-outline{border-color:rgba(207,239,247,.62);color:#fff}.agent-cta-section .btn-outline:hover{border-color:#8fe6ff;color:#fff;background:rgba(111,215,244,.1)}.agent-cta-note{margin:16px 0 0;color:#b9d3df;font-size:11px;line-height:1.5;max-width:560px}
@media(max-width:767px){.agent-cta-bg{object-position:58% 50%}.agent-cta-section::after{background:linear-gradient(180deg,rgba(4,16,28,.92),rgba(4,16,28,.76) 50%,rgba(4,16,28,.94))}.agent-cta-points{justify-content:center}.agent-cta-card{text-align:center}.agent-cta-section .section-cta{justify-content:center}}

/* Requested compact enrollment presentation: the shorter section reveals more
   of the wide background, while this scrim keeps the copy legible. */
.agent-cta-section{padding-block:clamp(56px,5vw,84px)!important}
.agent-cta-section::after{background:linear-gradient(90deg,rgba(4,16,28,.97) 0%,rgba(4,16,28,.9) 42%,rgba(4,16,28,.62) 100%),linear-gradient(180deg,rgba(4,16,28,.28),rgba(4,16,28,.52))}
@media(max-width:767px){.agent-cta-section::after{background:linear-gradient(180deg,rgba(4,16,28,.94),rgba(4,16,28,.8) 50%,rgba(4,16,28,.96))}}

/* Dark text tokens for the white/soft-gray product surface. Inline notes are
   overridden here so light text never disappears on the carousel background. */
#modules .hero-note{color:#405a70!important}#modules .profile-slide .md-t{color:#142b40}#modules .profile-slide .md-d{color:#476176}#modules .profile-carousel-btn{color:#16334a}#modules .profile-carousel-dots button{background:#a9bfcd}#modules .profile-carousel-dots button.is-active{background:#008fbf}
#modules .section-cta .btn-outline,
.hero-bridge .section-cta .btn-outline,
#funding .section-cta .btn-outline,
#get-started .section-cta .btn-outline{background:#fff;color:#18364d;border-color:#abc2cf;text-shadow:none}
#modules .section-cta .btn-outline:hover,
.hero-bridge .section-cta .btn-outline:hover,
#funding .section-cta .btn-outline:hover,
#get-started .section-cta .btn-outline:hover{background:#eefaff;color:#006f93;border-color:#00a8d8}

/* Agent campaign social placeholders stay visually ready without pretending a
   profile exists before the owner adds and approves its URL. */
.agent-campaign-socials{display:flex;flex-wrap:wrap;gap:10px;margin-top:24px}.agent-social-placeholder{display:grid;grid-template-columns:28px auto;column-gap:8px;align-items:center;min-width:136px;padding:9px 12px;border:1px dashed rgba(91,155,185,.42);border-radius:12px;background:rgba(8,22,38,.32);color:#cde8f3}.agent-social-placeholder b{grid-row:span 2;display:grid;place-items:center;width:28px;height:28px;border-radius:9px;background:rgba(0,198,251,.12);color:#73ddfb;font-size:13px}.agent-social-placeholder span{font-size:12px;font-weight:700;letter-spacing:.02em}.agent-social-placeholder em{color:#89a4b6;font-size:10px;font-style:normal}.agent-social-placeholder:hover{border-style:solid;border-color:rgba(0,198,251,.62);background:rgba(0,198,251,.08)}.agent-referral-note{margin:14px 0 0!important;padding:10px 12px;border-radius:12px;background:#eef6fa;border:1px solid #c9dde7;color:#38566d!important;font-size:12px!important;line-height:1.45!important}
.agent-campaign{border-bottom:0;padding-bottom:clamp(42px,6vw,76px)}
.agent-campaign-socials .agent-social-placeholder{min-width:112px;padding:7px 9px;border-radius:10px}.agent-campaign-socials .agent-social-placeholder b{width:24px;height:24px;border-radius:7px;font-size:11px}.agent-campaign-socials .agent-social-placeholder span{font-size:11px}.agent-campaign-socials .agent-social-placeholder em{font-size:9px}
.about-social-placeholder{position:relative;display:grid;grid-template-columns:28px auto;column-gap:8px;align-items:center;width:auto;min-width:120px;height:52px;padding:6px 13px;border:1px dashed rgba(82,196,250,.34);border-radius:14px;background:rgba(9,22,37,.66);color:#d4f1ff}.about-social-placeholder b{grid-row:span 2;display:grid;place-items:center;width:28px;height:28px;border-radius:9px;background:rgba(0,198,251,.12);color:#73ddfb;font-size:13px}.about-social-placeholder>span{position:static;width:auto;height:auto;overflow:visible;clip-path:none;white-space:nowrap;font-size:11px;font-weight:700}.about-social-placeholder em{grid-column:2;color:#89a4b6;font-size:9px;font-style:normal;line-height:1}.about-social-placeholder:hover{border-style:solid;border-color:#92e8ff}
@media(max-width:767px){.about-social-placeholder{min-width:112px}.agent-campaign{padding-bottom:30px}}
@media(max-width:767px){.agent-campaign-socials{justify-content:center}.agent-social-placeholder{min-width:130px}}

/* Light editorial chapters: keep the information surfaces bright and make
   every label readable without losing the CredX cyan accents. */
.hero-bridge,
#funding,
#get-started,
#about-runway,
#about {
  background:#fff !important;
  background-image:none !important;
  color:#183247;
}
.hero-bridge{border-top:1px solid #e6eef3}
.hero-bridge .hero-note,
#funding .ssub,
#funding .fr-disc,
#get-started .ssub,
#get-started .fcta-note,
#about p{color:#405b70 !important}
.hero-bridge .hs-label{color:#587085}
.hero-bridge .hs-num{color:#00a8d8}
#funding .stag,#get-started .stag,#about .about-tag{color:#0088b0}
#funding .stitle,#get-started .stitle,#about h2{color:#142d43}
.hero-bridge .rc-card{
  background:linear-gradient(145deg,#ffffff,#f0f7fa)!important;
  border:1px solid #cddfe8;
  box-shadow:0 24px 50px -24px rgba(31,75,106,.38),inset 0 1px 0 #fff;
}
.hero-bridge .rc-brand{color:#0088b0}.hero-bridge .rc-live{color:#587085}
.hero-bridge .rc-num,.hero-bridge .rc-fv{color:#142d43;text-shadow:none}
.hero-bridge .rc-den,.hero-bridge .rc-label,.hero-bridge .rc-fk{color:#587085}
.hero-bridge .rc-meter{background:#dbe8ee}.hero-bridge .rc-foot{border-top-color:#d6e4eb}
#funding .fr-item{background:#f7fafc;border-color:#d3e1e8;box-shadow:0 12px 28px -22px rgba(25,64,89,.5)}
#funding .fr-l{color:#1d3a50}
#funding .fr-bar{background:#dbe7ed}
#funding .fr-disc{background:#f2f8fb;border-color:#d3e1e8}
#funding .fr-disc strong{color:#1b3b50!important}
#get-started .btn-outline{color:#18364d;border-color:#abc2cf}
#get-started .btn-outline:hover{color:#006f93;border-color:#00a8d8;background:#eefaff}

/* The System chapter is a light editorial surface like the other planning
   sections, while the portal remains the dark product moment before it. */
#masterclass-curriculum{
  background:linear-gradient(145deg,#fff 0%,#f7fafb 48%,#e9eff3 100%)!important;
  background-image:linear-gradient(145deg,#fff 0%,#f7fafb 48%,#e9eff3 100%)!important;
  color:#183247;
}
#masterclass-curriculum .stitle{color:#142d43}
#masterclass-curriculum .ssub,
#masterclass-curriculum .masterclass-note,
#masterclass-curriculum .hero-note,
#masterclass-curriculum .section-cta small{color:#405b70!important}
#masterclass-curriculum .stag{color:#0088b0}
#masterclass-curriculum .cur-card{background:linear-gradient(145deg,#fff,#eef4f7)!important;border:1px solid #cbdde6!important;color:#183247;box-shadow:0 18px 38px -24px rgba(31,75,106,.34),inset 0 1px 0 #fff}
#masterclass-curriculum .cur-title{color:#162f45}
#masterclass-curriculum .cur-desc,
#masterclass-curriculum .plan-features li{color:#476176!important}
#masterclass-curriculum .cur-n{color:rgba(0,126,167,.12)}
#masterclass-curriculum .tag{background:#f5f9fb!important;border-color:#d6e4eb;color:#476176}
#masterclass-curriculum .section-cta .btn-outline{background:#fff;color:#18364d;border-color:#abc2cf}

/* Re-establish the original portal chapter: deep space, cyan interface glow,
   and a soft lower fade rather than a hard color seam. */
.interface-runway{
  background-color:#040914!important;
  background-image:var(--cx-space-dust),radial-gradient(ellipse 70% 52% at 50% 12%,rgba(0,137,205,.18),transparent 70%),linear-gradient(180deg,#040914 0%,#071221 84%,#0b1a2c 100%)!important;
  background-size:var(--cx-space-dust-size),100% 100%,100% 100%;
  background-repeat:repeat,no-repeat,no-repeat;
}
.interface-runway .dash{background:transparent!important}
#how-it-works .stitle{color:#f8fafc}
#how-it-works .ssub,#how-it-works .hero-note{color:#cbd5e1}
#how-it-works .stag{color:#64dfff}
.interface-runway::after{content:'';position:absolute;left:0;right:0;bottom:0;height:76px;background:linear-gradient(180deg,transparent,rgba(0,198,251,.035));pointer-events:none}

/* The profiles are one continuous, airy composition. Explicit grid placement
   prevents the campaign image from drifting below its biography on mobile. */
.agent-campaign,#ownerAbout{
  grid-template-columns:minmax(190px,280px) minmax(0,1fr)!important;
  column-gap:clamp(48px,7vw,96px)!important;
  row-gap:clamp(56px,8vw,96px)!important;
  align-items:center;
}
.agent-campaign[hidden]{display:none!important}
.chat-profile-buffer{height:clamp(280px,42vh,520px);background:var(--cx-profile-surface)}
.profile-handoff{position:relative;isolation:isolate;display:grid;place-items:center;overflow:hidden}
.profile-handoff::before{content:'';position:absolute;inset:0;background:radial-gradient(circle at 50% 50%,rgba(0,168,211,.11),transparent 38%);pointer-events:none}
.profile-handoff-portal{--portal-size:clamp(220px,62vw,350px);position:relative;z-index:1;display:none;width:var(--portal-size);height:var(--portal-size);place-items:center;border-radius:50%}
.profile-handoff-portal i{position:absolute;inset:12%;border:2px solid rgba(0,145,185,.58);border-radius:50%;box-shadow:0 0 22px rgba(0,168,211,.13),inset 0 0 18px rgba(0,168,211,.07)}
.profile-handoff-portal i:nth-of-type(2){inset:4%;border-width:1px;border-color:rgba(56,177,213,.38)}
.profile-handoff-portal i:nth-of-type(3){inset:-7%;border-width:1px;border-color:rgba(75,171,202,.18);box-shadow:0 0 48px rgba(0,168,211,.08)}
.profile-handoff-mark{position:relative;z-index:2;font:700 clamp(34px,10vw,54px)/1 'IBM Plex Sans',sans-serif;letter-spacing:-.06em;color:transparent;-webkit-text-stroke:1px #167b9b;text-shadow:0 0 22px rgba(0,145,185,.13)}
.profile-handoff-mark b{color:transparent;-webkit-text-stroke-color:#0089b2}
.agent-campaign + #ownerAbout{margin-top:clamp(72px,10vw,140px)}
.agent-campaign > .about-photo,#ownerAbout > .about-photo{grid-column:1;grid-row:1;justify-self:start}
.agent-campaign > div,#ownerAbout > div{grid-column:2;grid-row:1;min-width:0}
.agent-campaign > .about-photo{width:min(196px,100%)}
.about-photo,
#about .about-photo{
  width:min(280px,100%);height:auto;aspect-ratio:3/4;object-fit:contain;object-position:center;
  margin:0;border:0!important;outline:0!important;box-shadow:none!important;background:transparent;
  border-radius:0;
  -webkit-mask-image:radial-gradient(ellipse 72% 76% at 50% 48%,#000 42%,rgba(0,0,0,.97) 59%,rgba(0,0,0,.52) 78%,transparent 100%);
  mask-image:radial-gradient(ellipse 72% 76% at 50% 48%,#000 42%,rgba(0,0,0,.97) 59%,rgba(0,0,0,.52) 78%,transparent 100%);
  clip-path:ellipse(47% 49% at 50% 48%);
}
#about .about-role{color:#587085}
#about .about-name{color:#142d43}
#about .agent-social-placeholder{background:#f5f9fb;border-color:#bfd4df;color:#27465b}
#about .agent-social-placeholder b{background:#e5f7fc;color:#0089b2}
#about .agent-social-placeholder em{color:#648094}
#about .about-socials{margin-top:clamp(52px,7vw,88px)}
#about .about-socials a,#about .about-social-placeholder{background:#f5f9fb;color:#1e4057;border-color:#bfd4df;box-shadow:0 8px 18px -12px rgba(23,65,89,.38)}
#about .about-social-placeholder em{color:#648094}

@media(max-width:767px){
  .agent-campaign,#ownerAbout{grid-template-columns:minmax(0,1fr)!important;justify-items:center;text-align:center;gap:34px!important}
  .agent-campaign > .about-photo{grid-column:1;grid-row:auto;justify-self:center;width:min(161px,52vw)}
  #ownerAbout > .about-photo{grid-column:1;grid-row:auto;justify-self:center;width:min(230px,72vw)}
  .agent-campaign > div,#ownerAbout > div{grid-column:1;grid-row:auto;width:100%}
  .agent-campaign + #ownerAbout{margin-top:76px}
  #about .about-socials{margin-top:44px}
}

/* The profile chapter uses one soft surface from transition through About, so
   the portal never changes from dark to white beneath the headshots. */
.about-runway,.about-backdrop,.about-veil{background:linear-gradient(145deg,#f8fafc 0%,#f3f6f8 48%,#e6edf2 100%)!important}
.about-transition .about-gateway{display:block!important}
#about,.about-portal-active,#about-runway{border-top:0!important;border-bottom:0!important}
#about .about-photo{
  width:min(230px,50%);
  justify-self:center;
  background:transparent;
  mix-blend-mode:multiply;
  clip-path:none!important;
  -webkit-mask-image:radial-gradient(ellipse 50% 50% at 50% 50%,#000 0 48%,rgba(0,0,0,.92) 62%,rgba(0,0,0,.45) 80%,transparent 100%);
  mask-image:radial-gradient(ellipse 50% 50% at 50% 50%,#000 0 48%,rgba(0,0,0,.92) 62%,rgba(0,0,0,.45) 80%,transparent 100%);
}

/* Keep the iris on the profile surface throughout its reveal. Dark fixed
   curtains otherwise cut rectangular bands across the light biography. */
:root{--cx-profile-surface:#f3f6f8}
.about-runway,.about-backdrop,.about-veil{background:var(--cx-profile-surface)!important}
.about-transition .portal-logo{-webkit-text-stroke-color:#167b9b;text-shadow:0 0 22px rgba(0,145,185,.15)}
.about-transition .portal-logo b{-webkit-text-stroke-color:#0089b2}
.about-gateway i{border-color:rgba(0,137,178,.45);box-shadow:0 0 20px rgba(0,168,211,.12)}
.about-transition .about-gateway{display:block!important}
/* Cesar and the profile share one light chapter with room for the opening. */
#chat{background:var(--cx-profile-surface)!important;color:#183247;padding-bottom:clamp(72px,10vh,112px)}
#chat .stitle,#chat .chat-agent-name{color:#142d43}
#chat .ssub{color:#476176}
#chat .stag,#chat .chat-powered span{color:#0088b0}
#chat .chat-window{background:var(--cx-profile-surface);border-color:#cbdde6;box-shadow:0 18px 48px -30px rgba(29,53,78,.3)}
#chat .chat-header,#chat .chat-input-wrap,#chat .chat-quick-actions{background:var(--cx-profile-surface);border-color:#d6e4eb}
#chat .chat-msg.agent .chat-bubble,#chat .chat-typing{background:#fff;border-color:#d6e4eb;color:#304b64}
#chat .chat-msg.user .chat-bubble{background:#e5f7fc;border-color:#b8dfe9;color:#183247}
#chat .chat-bubble a{color:#007c9f}
#chat .chat-agent-status{color:#24734f}
#chat .chat-powered,#chat .chat-input::placeholder{color:#587085}
#chat .chat-input,#chat .chat-quick{background:#fff;border-color:#bfd4df;color:#304b64}
#chat .chat-input{min-width:0}
#chat .chat-input:focus,#chat .chat-quick:hover{border-color:#0088b0}
#chat .chat-msg.user .chat-msg-av{background:#e0edf3;color:#304b64}
#chat .chat-typing span{background:#587085}
#about{background:transparent!important;padding-top:clamp(96px,12vh,160px)!important}
@media(max-width:767px){
  .nav{border-bottom-color:transparent}
  html,html.smooth-scroll{scroll-behavior:auto!important}
  .profile-handoff{height:auto;min-height:clamp(440px,68svh,620px);padding:clamp(64px,10svh,96px) 24px}
  /* Phones use the same opening iris as desktop (driven by the script);
     the buffer above the profile is the empty surface it opens on. */
  .profile-handoff::before{display:none}
  .about-runway,.narrative-ready .about-runway{height:auto!important;overflow:visible!important}
  #about,.narrative-ready #about{position:relative!important;top:auto!important;min-height:0!important;padding-top:72px!important;background:transparent!important}
  .about-content-space{display:none!important;height:0!important}
  .about-portal-active #about .about-inner{position:relative!important;top:auto!important;left:auto!important;translate:none!important;width:auto!important}
  #about .about-inner{clip-path:none!important}
  #about #ownerAbout .about-photo{width:min(230px,72vw)}
  .profile-carousel{border-color:#d9e5ec;background:#fff;box-shadow:0 18px 48px -30px rgba(29,53,78,.3)}
  .profile-slide{transition:transform .28s ease-out,opacity .2s ease,visibility .2s}
}
