/* Homepage presentation only; shared authentication and WAN services are unchanged. */
.emerald-home{--bg:#020b11;--bg-soft:#06131c;--panel:#061923;--panel-2:#0a202c;--line:#154352;--accent:#00edb0;--accent-2:#00b9dc;--muted:#b7cbd5;background:var(--bg)}
.emerald-home .primary-button{background:var(--accent);border-color:var(--accent);color:#001c19;box-shadow:0 0 28px #00edb025}
.emerald-home .site-shell{width:min(1520px,calc(100% - 80px))}
.emerald-home .header-inner{height:76px}.emerald-home .brand-v3 strong{letter-spacing:0;font-size:25px}.emerald-home .brand-v3 small{display:none}
.emerald-home .site-header-v3{background:#020b11ed;border-bottom:1px solid var(--line)}
.emerald-hero{position:relative;min-height:640px;display:flex;align-items:center;isolation:isolate;overflow:hidden;background:#020b11}
.emerald-art{position:absolute;inset:0;z-index:-2;background:url('assets/camidax-emerald-direction.png') center -76px/100% auto no-repeat}
.emerald-hero:after{content:'';position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,#020b11 0%,#020b11 27%,#020b11ec 34%,#020b1180 42%,transparent 55%),linear-gradient(0deg,#020b11 0%,transparent 14%)}
.emerald-copy{padding-block:60px}.emerald-copy .eyebrow{color:#65dff5;font-size:11px;letter-spacing:.34em;line-height:1.8}.emerald-copy .eyebrow:after{content:'';display:block;width:55px;height:3px;background:var(--accent);margin-top:14px}
.emerald-copy h1{font-size:clamp(54px,5.5vw,92px);line-height:1;letter-spacing:-.045em;margin:24px 0 0;font-weight:900}.emerald-copy h2{font-size:clamp(26px,2.65vw,44px);line-height:1.1;letter-spacing:-.045em;margin:0 0 24px}.emerald-copy .lead{max-width:420px;font-size:21px}.emerald-copy .cta-row{max-width:460px}.emerald-copy .primary-button,.emerald-copy .secondary-button{min-height:52px}
.emerald-principles{font-size:14px;color:#b7ddec;margin:23px 0 0}.emerald-principles span{color:var(--accent);padding-inline:12px}
.emerald-rail{display:grid;grid-template-columns:repeat(6,1fr);padding:18px max(24px,calc((100vw - 1520px)/2));background:#02121d;border-block:1px solid var(--line)}.emerald-rail a{padding:6px 14px;text-align:center;border-right:1px solid var(--line);font-size:14px;white-space:nowrap}.emerald-rail a:last-child{border:0}.emerald-rail a:hover{color:var(--accent)}
.emerald-cards{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;padding-block:20px}.emerald-cards>a{display:flex;align-items:center;gap:22px;padding:25px 20px;border:1px solid var(--line);border-radius:10px;background:radial-gradient(circle at 0 50%,#00cbbd18,transparent 65%),#04131d}.emerald-symbol{font-size:64px;color:var(--accent);text-shadow:0 0 24px #00dcbf70}.emerald-cards h2{font-size:19px;line-height:1.2;margin:0 0 5px}.emerald-cards strong,.emerald-cards b{color:var(--accent);font-size:13px}.emerald-cards p{font-size:13px;color:var(--muted);margin:10px 0}.emerald-cards>a:hover{border-color:var(--accent)}.emerald-status{padding-block:0 22px;color:var(--muted);font-size:13px}.emerald-status a{color:var(--accent)}
.emerald-home a:focus-visible,.emerald-home button:focus-visible{outline:2px solid var(--accent);outline-offset:5px}
.emerald-home.light-theme{--bg:#eef8fa;--panel:#fff;--panel-2:#e3f3f5;--line:#b5d4dd;--text:#102c35;--muted:#365865}.emerald-home.light-theme .emerald-hero,.emerald-home.light-theme .emerald-rail,.emerald-home.light-theme .emerald-cards,.emerald-home.light-theme .emerald-header{color:#f5f7f3}.emerald-home.light-theme .emerald-cards>a{--muted:#b7cbd5}
@media(max-width:1150px){.emerald-cards>a{gap:12px;padding:20px 15px}.emerald-symbol{font-size:40px}.emerald-copy .lead{max-width:350px}.emerald-rail{grid-template-columns:repeat(3,1fr);gap:14px}.emerald-home .main-nav{gap:12px}.emerald-home .header-inner{gap:14px}.emerald-home .brand-v3 strong{font-size:20px}}
@media(max-width:760px){.emerald-home .site-shell{width:calc(100% - 36px)}.emerald-hero{min-height:760px;align-items:flex-start}.emerald-copy{padding-top:42px}.emerald-art{top:350px;background-position:72% 22%;background-size:auto 580px}.emerald-hero:after{background:linear-gradient(180deg,#020b11 0%,#020b11 37%,#020b11b0 48%,transparent 70%,#020b11 100%)}.emerald-copy .lead{font-size:18px;max-width:380px}.emerald-copy h1{font-size:58px}.emerald-copy h2{font-size:30px}.emerald-principles{font-size:11px}.emerald-principles span{padding-inline:5px}.emerald-cards{grid-template-columns:1fr}.emerald-symbol{font-size:55px}.emerald-rail a{font-size:11px;padding:5px}.emerald-home .header-actions{gap:6px}.emerald-home .header-actions>.primary-button{display:none}.emerald-home .main-nav.open{background:#06131c;color:white}.emerald-home .brand-v3 strong{font-size:18px}.emerald-home .brand-v3 img{width:30px;height:30px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}

.emerald-platform,.emerald-forge{background:radial-gradient(ellipse at top right,#00bada12,transparent 65%)}.emerald-platform h2,.emerald-forge h2{font-size:clamp(30px,4vw,52px);line-height:1.1;letter-spacing:-.035em}.emerald-area-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.emerald-area-grid>a{padding:24px;border:1px solid var(--line);border-radius:12px;background:var(--panel)}.emerald-area-grid h3{margin:0 0 10px;font-size:19px}.emerald-area-grid p{color:var(--muted);font-size:14px}.emerald-area-grid span{color:var(--accent);font-size:13px}.emerald-area-grid>a:hover{border-color:var(--accent)}.emerald-forge .proof-note{max-width:720px;margin-top:20px}@media(max-width:900px){.emerald-area-grid{grid-template-columns:repeat(2,1fr)}}@media(max-width:560px){.emerald-area-grid{grid-template-columns:1fr}}

/* Keep account access visible on small screens. */
.emerald-home .header-actions .ghost-button{display:inline-flex}.emerald-home .emerald-hero:after{background:linear-gradient(90deg,#020b11 0%,#020b11 27%,#020b11ec 34%,#020b1180 42%,transparent 55%),linear-gradient(0deg,#020b11 0%,#020b11c0 8%,transparent 23%)}
@media(max-width:760px){.emerald-home .emerald-hero:after{background:linear-gradient(180deg,#020b11 0%,#020b11 37%,#020b11b0 48%,transparent 70%,#020b11 100%)}.emerald-home .header-actions .ghost-button{padding-inline:10px;font-size:12px}}
/* Use the approved emerald C from the reference artwork on this homepage. */
.emerald-home .brand-v3 img{display:none}.emerald-home .brand-v3:before{content:'';display:block;flex-shrink:0;width:46px;height:50px;background:url('assets/camidax-emerald-direction.png') -76px -10px/1672px 941px no-repeat}
.emerald-home .emerald-hero:after{background:linear-gradient(90deg,#020b11 0%,#020b11 34%,#020b11d9 40%,transparent 55%),linear-gradient(0deg,#020b11 0%,#020b11 4%,#020b11c0 11%,transparent 24%)}
@media(max-width:760px){.emerald-home .brand-v3:before{width:32px;height:35px;background-size:1170px 659px;background-position:-53px -7px}.emerald-home .emerald-hero:after{background:linear-gradient(180deg,#020b11 0%,#020b11 37%,#020b11b0 48%,transparent 70%,#020b11 100%)}}

/* Desktop uses the supplied composition unchanged, with aligned live controls. */
.reference-home{position:relative;width:100%;max-width:1920px;margin-inline:auto;background:#020b11}.reference-home>img{display:block;width:100%;height:auto}.reference-control{position:absolute;z-index:2;border:0;border-radius:6px;background:transparent;cursor:pointer;padding:0}.reference-control:hover{box-shadow:inset 0 0 0 1px #00edb080}.reference-control:focus-visible{outline:2px solid #00edb0;outline-offset:2px;background:#00edb012}.reference-copy{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
.emerald-home .emerald-header,.emerald-home .emerald-hero,.emerald-home .emerald-rail,.emerald-home .emerald-cards{display:none}
.emerald-home .emerald-status{padding-top:20px}
.reference-search{padding:26px;color:var(--text);background:var(--panel);border:1px solid var(--line);border-radius:14px;width:min(580px,calc(100% - 32px));max-height:80vh}.reference-search::backdrop{background:#000b}.reference-search input{width:100%;padding:12px;color:var(--text);background:var(--bg);border:1px solid var(--line);border-radius:8px}.reference-search h2{margin-top:0}.reference-search button{cursor:pointer}.reference-search-results{display:grid;gap:8px;margin-top:16px}.reference-search-results a{padding:10px;border:1px solid var(--line);border-radius:7px}.reference-search-results a:hover{border-color:var(--accent)}.reference-search-close{float:right;color:var(--text);background:transparent;border:0;font-size:24px}
@media(max-width:760px){.reference-home{display:none}.emerald-home .emerald-header{display:block}.emerald-home .emerald-hero{display:flex}.emerald-home .emerald-rail,.emerald-home .emerald-cards{display:grid}}

/* Mobile composition: readable native content and deliberately framed artwork. */
@media(max-width:760px){
.emerald-home .site-shell{width:calc(100% - 40px)}
.emerald-home .header-inner{height:68px;gap:12px}
.emerald-home .brand-v3 strong{font-size:20px}
.emerald-home .emerald-hero{min-height:0;display:block;padding-bottom:310px;background:radial-gradient(ellipse at 85% 75%,#006b6338,transparent 65%),#020b11}
.emerald-home .emerald-copy{padding-block:38px 20px}
.emerald-home .emerald-copy .eyebrow{font-size:10px;letter-spacing:.22em}
.emerald-home .emerald-copy h1{font-size:clamp(48px,12vw,76px);margin-top:20px}
.emerald-home .emerald-copy h2{font-size:clamp(24px,6.4vw,38px);margin-bottom:20px}
.emerald-home .emerald-copy .lead{font-size:17px;line-height:1.65;max-width:430px}
.emerald-home .emerald-copy .cta-row{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.emerald-home .emerald-copy .cta-row a{font-size:12px;padding:12px 8px;min-height:48px;justify-content:center}
.emerald-home .emerald-principles{font-size:10px;white-space:nowrap;margin-top:20px}
.emerald-home .emerald-art{inset:auto 0 0;height:310px;background-size:850px auto;background-position:calc(50% - 160px) -50px;z-index:-1}
.emerald-home .emerald-hero:after{background:linear-gradient(180deg,transparent 55%,#020b1100 85%,#020b11 100%);pointer-events:none}
.emerald-home .emerald-rail{grid-template-columns:repeat(2,1fr);gap:0;padding:8px 20px;background:#061923}
.emerald-home .emerald-rail a{padding:15px 5px;font-size:12px;text-align:left;border-right:0;border-bottom:1px solid #15435280}
.emerald-home .emerald-rail a:nth-last-child(-n+2){border-bottom:0}
.emerald-home .emerald-cards{gap:14px;padding-block:28px}
.emerald-home .emerald-cards>a{display:block;position:relative;overflow:hidden;padding:24px;border-radius:16px;min-height:210px;background:radial-gradient(ellipse at top right,#00b9dc24,transparent 70%),#061923}
.emerald-home .emerald-symbol{display:block;width:105px;height:78px;font-size:0;margin-bottom:18px;background-image:url('assets/camidax-emerald-direction.png');background-size:1003px 565px;background-repeat:no-repeat;background-position:-47px -463px}
.emerald-home .emerald-cards>a:nth-child(2) .emerald-symbol{background-position:-347px -463px}
.emerald-home .emerald-cards>a:nth-child(3) .emerald-symbol{background-position:-661px -463px}
.emerald-home .emerald-cards h2{font-size:23px;max-width:290px;line-height:1.15;margin-bottom:9px}
.emerald-home .emerald-cards strong{font-size:13px}
.emerald-home .emerald-cards p{font-size:14px;line-height:1.6;margin-block:14px}
.emerald-home .emerald-cards b{font-size:14px}
.emerald-home .emerald-status{font-size:12px;line-height:1.65;padding-top:0;padding-bottom:12px}
.emerald-home .section{padding-block:42px}
.emerald-home .section h2{font-size:32px}
.emerald-home .emerald-area-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.emerald-home .emerald-area-grid>a{padding:17px 14px;border-radius:12px}
.emerald-home .emerald-area-grid h3{font-size:15px;line-height:1.3}
.emerald-home .emerald-area-grid p{font-size:12px;line-height:1.5}
.emerald-home .emerald-area-grid span{font-size:12px}
.emerald-home .emerald-forge .lead{font-size:17px;line-height:1.65}
.emerald-home .confidence-grid{gap:12px}
.emerald-home .confidence-grid article{padding:24px;border:1px solid var(--line);border-radius:14px;background:#061923}
.emerald-home .launch-panel{padding:25px;border-radius:16px;background:radial-gradient(ellipse at top right,#00edb025,transparent 70%),#061923}
}
@media(max-width:360px){.emerald-home .site-shell{width:calc(100% - 28px)}.emerald-home .emerald-principles{font-size:9px}.emerald-home .emerald-copy .cta-row{grid-template-columns:1fr}.emerald-home .emerald-area-grid{grid-template-columns:1fr}}
@media(max-width:760px){.emerald-home .emerald-art{height:310px;background-size:650px auto;background-position:right -20px}.emerald-home .emerald-symbol{width:80px}}

.reference-access{display:flex;align-items:center;justify-content:center;background:#00edb0;color:#001c16;font-weight:800;font-size:clamp(8px,1vw,17px);line-height:1.1;text-align:center;border-radius:9px;padding:3px}.emerald-home .emerald-status{display:grid;grid-template-columns:1.5fr 1fr;gap:36px;padding-block:32px;border-bottom:1px solid var(--line)}.emerald-status h2{font-size:28px;line-height:1.2;margin:8px 0}.emerald-status p{margin:10px 0;line-height:1.6}.today-access{align-self:center}.today-access p{font-size:12px;color:var(--muted)}.emerald-home .emerald-area-grid{grid-template-columns:repeat(5,minmax(0,1fr))}.emerald-home .emerald-area-grid>a{padding:22px 18px}.emerald-home .emerald-area-grid h3{font-size:20px}.emerald-home .emerald-area-grid span{font-size:11px}
@media(max-width:1100px){.emerald-home .emerald-area-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:760px){.emerald-home .emerald-status{grid-template-columns:1fr;gap:14px;padding-block:24px}.emerald-home .emerald-status h2{font-size:25px}.emerald-home .emerald-area-grid{grid-template-columns:1fr}.emerald-home .emerald-area-grid>a{display:grid;grid-template-columns:1fr auto;gap:4px 12px;padding:18px}.emerald-home .emerald-area-grid h3{font-size:18px;margin:0}.emerald-home .emerald-area-grid p{grid-column:1/-1;margin:5px 0}.emerald-home .emerald-area-grid span{grid-column:2;grid-row:1;font-size:9px;text-align:right;max-width:130px}.emerald-home .emerald-copy .cta-row{grid-template-columns:1fr}.emerald-home .emerald-hero{padding-bottom:180px}.emerald-home .emerald-art{height:180px;background-size:520px auto;background-position:right -60px}.emerald-home .emerald-copy{padding-top:22px}.emerald-home .emerald-copy h1{margin-top:12px}.emerald-home .confidence-section{display:none}.emerald-home .section{padding-block:26px}.emerald-home .header-actions>.primary-button{display:none}}
@media(max-width:760px){.emerald-home .emerald-art{background-image:url('assets/devices-emerald-art.webp');background-size:cover;background-position:center;}}
.reference-access{font-size:clamp(8px,.72vw,12px);white-space:nowrap;line-height:1.2;}


/* Native actions cover the artwork buttons so Request is the only primary action. */
.reference-hero-actions{position:absolute;left:4.1%;top:43.8%;width:24%;height:6.5%;z-index:3;display:flex;align-items:center;gap:8px;padding:3px 5px;background:#020b11;border-radius:8px}
.reference-request{display:flex;align-items:center;justify-content:center;height:88%;padding:0 6px;background:#00edb0;color:#001c16;border-radius:7px;font-weight:800;font-size:clamp(8px,.8vw,16px);white-space:nowrap}
.reference-explore,.hero-explore-link{color:#b2cec9;font-size:clamp(7px,.74vw,14px);text-decoration:underline;text-underline-offset:4px;white-space:nowrap}
.reference-explore:hover,.hero-explore-link:hover{color:#00edb0}
@media(max-width:760px){.emerald-home .hero-explore-link{font-size:14px!important;min-height:0!important;padding:8px 0!important;justify-self:start}.reference-hero-actions{display:none}}
