/* RIGONIC / Unified interface v2
 * One intentional navy / blue / cyan visual language across public pages and dashboard.
 * Overrides the older theme layers without replacing functional module styles.
 */
:root{--rg2-bg:#050c1a;--rg2-surface:#091528;--rg2-elevated:#0b1b33;--rg2-stroke:#213a57;--rg2-blue:#1786ff;--rg2-cyan:#42ddf4;--rg2-text:#f3f8ff;--rg2-muted:#a8bcd5;--rf-bg:#061121;--rf-panel:#0d1b31;--rf-stroke:#24415e;--at-paper:#091528;--at-ink:#050c1a;--at-blue:#188dff}
html{scroll-padding-top:84px}body,body.rg-public-body,body.rg-dashboard-body{background:var(--rg2-bg)!important;color:var(--rg2-text)!important}body{font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",Arial,sans-serif!important;overflow-x:hidden}img{max-width:100%}a,button{-webkit-tap-highlight-color:transparent}
:where(.rg-public-body,.rg-dashboard-body) :is(a,button,input,select,textarea):focus-visible{outline:2px solid #65e9ff!important;outline-offset:4px!important}
/* Header.  Thin, consistent, not a white-on-black navigation collage. */
body.rg-public-body .hb-header{background:rgba(5,12,26,.96)!important;border-bottom:1px solid rgba(57,120,188,.22)!important;box-shadow:none!important;backdrop-filter:blur(20px)!important}
body.rg-public-body .hb-header-row{width:min(100% - clamp(36px,5.5vw,144px),1580px)!important;max-width:none!important;min-height:78px!important;gap:24px}
body.rg-public-body .hb-brand{gap:10px;font-size:24px!important;font-weight:850}
body.rg-public-body .hb-brand img{height:40px!important;width:40px!important;filter:drop-shadow(0 0 8px rgba(51,180,250,.16))!important}
body.rg-public-body .hb-menu{gap:clamp(2px,.65vw,14px)}
body.rg-public-body .hb-menu>a,body.rg-public-body .hb-nav-link{border:0!important;background:transparent!important;font-size:13px!important;font-weight:650!important;white-space:nowrap!important;color:#bdcde2!important;padding:11px clamp(6px,.73vw,12px)!important}
body.rg-public-body .hb-menu>a:hover,body.rg-public-body .hb-menu>a.is-active,body.rg-public-body .hb-nav-link:hover{color:white!important}
body.rg-public-body .hb-menu>a.is-active{box-shadow:inset 0 -2px #2abdf8}
body.rg-public-body .hb-nav-actions{gap:10px;margin-left:4px}
body.rg-public-body .hb-button-primary{border:1px solid #338fec!important;background:linear-gradient(118deg,#116be2,#159cff)!important;box-shadow:0 9px 28px #006cff20!important;border-radius:11px!important;min-height:44px!important;padding:0 17px!important;font-size:11px!important;letter-spacing:.03em!important}
body.rg-public-body .hb-button-primary:hover{background:linear-gradient(118deg,#268bff,#16b6fc)!important;box-shadow:0 12px 34px #0286ff44!important}
/* Site-wide container is allowed to breathe on WQHD displays. */
body.rg-public-body .at-wrap,body.rg-public-body .hb-container,body.rg-public-body .oo-wrap{width:min(100% - clamp(40px,7.4vw,180px),1580px)!important;max-width:none!important;margin-inline:auto!important}
.at-site{background:var(--rg2-bg)!important;overflow:visible!important}
/* HERO: brand integrated into the atmosphere; no boxed-up picture or repeated banner. */
body.rg-public-body .at-hero{position:relative;display:grid;grid-template-columns:minmax(0,1.07fr) minmax(0,.93fr);align-items:center;gap:clamp(20px,4vw,86px);min-height:clamp(590px,69vh,850px);border:0!important;padding-block:clamp(74px,9vh,120px) clamp(74px,9vh,114px);background:radial-gradient(ellipse 60% 76% at 92% 44%,rgba(16,96,226,.14),transparent 75%),linear-gradient(180deg,#060d1b 0%,#061227 78%,#061324 100%)!important}
body.rg-public-body .at-hero:after{content:"";position:absolute;z-index:0;bottom:0;left:0;right:0;height:1px;background:linear-gradient(90deg,transparent,#1d6bd3 35%,#31d6ec 72%,transparent);opacity:.36}
body.rg-public-body .at-hero-main{z-index:2;min-width:0;min-height:0;padding:0!important;display:flex;justify-content:center;align-items:flex-start;flex-direction:column}
body.rg-public-body .at-serial{width:auto;gap:12px;color:#8fcaff;letter-spacing:.17em;font-size:10px!important;max-width:100%}
body.rg-public-body .at-serial-number{display:none}
body.rg-public-body .at-hero h1{margin:clamp(29px,3vw,54px) 0 26px!important;font-size:clamp(60px,5.7vw,116px)!important;letter-spacing:-.078em!important;line-height:1.02!important;font-weight:850!important;text-wrap:balance}
body.rg-public-body .at-hero h1>span{color:#f5faff}
body.rg-public-body .at-hero h1 em{font-style:normal;background:linear-gradient(94deg,#448fff 10%,#32d7f2 90%)!important;background-clip:text!important;-webkit-background-clip:text!important;color:transparent!important}
body.rg-public-body .at-hero-main>p{font-size:clamp(16px,1.2vw,19px)!important;line-height:1.78!important;color:#acc2de!important;max-width:610px!important;margin:0 0 34px!important;text-wrap:pretty}
body.rg-public-body .at-actions{display:flex;gap:12px;flex-wrap:wrap}
body.rg-public-body .at-action{border-radius:12px!important;min-height:54px!important;padding:14px 21px!important;font-size:13px!important;line-height:1.15;font-weight:750!important;letter-spacing:0!important;box-shadow:none!important;transform:none!important}
body.rg-public-body .at-action-primary{color:white!important;background:linear-gradient(111deg,#106de5,#129eff)!important;border:1px solid #349cfe!important;box-shadow:0 9px 30px #0c71ef28!important}
body.rg-public-body .at-action-secondary{background:#0a1c34!important;border:1px solid #2e4c70!important;color:#e3f3ff!important}
body.rg-public-body .at-action:hover{transform:translateY(-2px)!important;filter:brightness(1.16)}
body.rg-public-body .at-hero-foot{margin-top:clamp(28px,4vh,50px);color:#8dabd3;flex-wrap:wrap;gap:18px!important;letter-spacing:.11em}
body.rg-public-body .at-hero-foot>*{font-size:10px!important}
body.rg-public-body .at-hero-stage{z-index:1;border:0!important;min-height:clamp(440px,43vw,640px)!important;aspect-ratio:1.13;overflow:visible!important;background:transparent!important;box-shadow:none!important;isolation:isolate;filter:none}
body.rg-public-body .at-hero-stage::before{content:""!important;z-index:-2!important;position:absolute;inset:-14%;background:radial-gradient(ellipse at 50% 50%,rgba(15,115,255,.30) 0,rgba(9,71,171,.12) 39%,transparent 69%)!important;filter:blur(13px)!important;opacity:1!important;pointer-events:none}
body.rg-public-body .at-hero-stage::after{content:""!important;position:absolute;inset:5%;border-radius:50%;border:1px solid rgba(71,145,250,.12);background:radial-gradient(circle,transparent 53%,rgba(40,130,255,.05) 54%,transparent 75%);z-index:-1;box-shadow:none!important;pointer-events:none}
body.rg-public-body .at-stage-logo{width:min(75%,520px)!important;max-width:520px;aspect-ratio:1!important;transform:none!important;transition:none!important;animation:none!important;filter:drop-shadow(0 17px 37px rgba(0,92,239,.26))!important;z-index:3}
body.rg-public-body .at-stage-logo:before{content:none!important}
body.rg-public-body .at-stage-logo img{width:100%!important;height:100%!important;object-fit:contain!important;filter:none!important}
body.rg-public-body .at-stage-circles{opacity:.26!important;transform:none!important;inset:4%!important}
body.rg-public-body .at-stage-circles i{width:88%!important;border:1px solid rgba(76,169,255,.35)!important;animation:none!important}
body.rg-public-body .at-stage-circles i:nth-child(2){width:100%!important;border-style:dashed!important}
body.rg-public-body .at-stage-coordinates,body.rg-public-body .at-stage-readout{position:absolute;left:6%;right:6%;z-index:4;letter-spacing:.16em!important;color:#5f93ca!important;font-weight:700!important;font-size:10px!important}
body.rg-public-body .at-stage-coordinates{top:7%}body.rg-public-body .at-stage-readout{bottom:9%}
body.rg-public-body .at-stage-marker{display:none!important}
/* A continuous dark background for stats, intro, capabilities and steps. */
body.rg-public-body .at-network{background:#081529!important;border-block:1px solid #1f3c5d!important}
body.rg-public-body .at-network-inner{min-height:106px}
body.rg-public-body .at-network-inner>*{border-color:#1d3855!important}
body.rg-public-body .at-network-value b{color:#f4faff!important;font-weight:800}
body.rg-public-body .at-network-value span,body.rg-public-body .at-network-intro span,body.rg-public-body .at-network-link{color:#99bad8!important}
body.rg-public-body .at-intro{padding-block:clamp(72px,9vw,125px)!important;border-color:#223a59!important}
body.rg-public-body .at-intro h2,body.rg-public-body .at-section-heading h2,body.rg-public-body .at-process h2{color:#f4f9ff!important;font-weight:830}
body.rg-public-body .at-intro>p,body.rg-public-body .at-section-heading>p,body.rg-public-body .at-process p{color:var(--rg2-muted)!important}
body.rg-public-body .at-rule-symbol{color:#247be6!important;opacity:.75}
body.rg-public-body .at-capabilities{background:linear-gradient(180deg,#061222,#08182c 55%,#061322)!important;color:#f6faff!important;padding-block:clamp(80px,8vw,132px)!important}
body.rg-public-body .at-capabilities .at-mini{color:#6cb9fd!important}
body.rg-public-body .at-capability-layout{border:1px solid #254363!important;background:#0b1c34!important;border-radius:19px!important;overflow:hidden!important;min-height:460px!important}
body.rg-public-body .at-capability-index{background:#09172a!important;border-right:1px solid #254363!important}
body.rg-public-body .at-capability-tab{border-color:#203a59!important;background:transparent!important;color:#b0c9e6!important;min-height:86px!important}
body.rg-public-body .at-capability-tab.is-active{background:linear-gradient(90deg,#0c3060,#112a47)!important;color:white!important;border-left:3px solid #33bdfa!important}
body.rg-public-body .at-capability-tab:hover{background:#112944!important;color:white!important}
body.rg-public-body .at-capability-tab :is(span,i){color:inherit!important}
body.rg-public-body .at-capability-focus,body.rg-public-body .at-capability-panel{background:#0b1c34!important;color:white!important}
body.rg-public-body .at-capability-art{background:radial-gradient(ellipse at 50% 40%,#0b4a99,#071429 73%)!important}
body.rg-public-body .at-capability-detail{background:transparent!important;color:white!important}
body.rg-public-body .at-capability-detail h3{color:#f4f9ff!important}
body.rg-public-body .at-capability-links a{color:#bcd2eb!important;border-color:#254363!important}
body.rg-public-body .at-capability-links a:hover{color:#fff!important;background:#102b4b!important}
body.rg-public-body .at-capability-bottom{color:#a7c0df!important}
body.rg-public-body .at-capability-bottom a{color:#6ccafa!important}
body.rg-public-body .at-process{padding-block:clamp(80px,9vw,132px)!important}
body.rg-public-body .at-step{border-color:#254363!important}
body.rg-public-body .at-step h3{color:#f5faff!important}
body.rg-public-body .at-last{position:relative;border:1px solid #284c7c!important;border-radius:22px!important;overflow:hidden;margin-bottom:clamp(60px,7vw,100px)!important;background:linear-gradient(92deg,rgba(7,20,42,.97) 7%,rgba(7,30,66,.95) 58%,rgba(7,36,81,.72)),url('../img/rigonic-2026-banner.png') center 43%/cover no-repeat!important;box-shadow:0 28px 80px #01081040!important}
body.rg-public-body .at-last .at-mini,body.rg-public-body .at-last p{color:#aad5fb!important}
body.rg-public-body .at-last h2{max-width:790px;color:white!important}
body.rg-public-body .at-last-arrow{background:#136ce5!important;border:1px solid #3eb7ff!important;border-radius:16px!important;color:white!important}
/* Footer uses the same visual system as the body, not an abrupt black seam. */
body.rg-public-body .hb-footer{background:#06101e!important;border-top:1px solid #25415f!important;padding:66px 0 20px!important}
body.rg-public-body .hb-footer-grid,body.rg-public-body .hb-footer-base{width:min(100% - clamp(40px,7.4vw,180px),1580px)!important;max-width:none!important}
body.rg-public-body .hb-footer-grid{gap:36px!important;grid-template-columns:minmax(240px,1.7fr) repeat(3,minmax(120px,1fr))!important}
body.rg-public-body .hb-footer-brand p{max-width:300px!important;line-height:1.65}
body.rg-public-body .hb-footer-col a{line-height:1.65!important}
body.rg-public-body .hb-footer-base{border-color:#213b5a!important}
/* Shared secondary pages, legal and dashboard */
body.rg-public-body :is(.oo-interior-hero,.oo-features-head,.hx-page-hero){background:linear-gradient(120deg,#08192d,#061021)!important;border-color:#25415e!important}
body.rg-public-body .rg-legal{width:min(100% - 48px,1120px);max-width:none;margin-inline:auto;padding-block:clamp(55px,7vw,96px)}
body.rg-public-body .rg-legal h1{font-size:clamp(42px,5vw,78px)!important}
body.rg-public-body .rg-legal p,body.rg-public-body .rg-legal address{max-width:920px}
body.rg-public-body .rg-legal .rg-note{background:#0a1d36!important;border-color:#255b91!important}
body.rg-dashboard-body .rf-dash-layout{background:var(--rf-bg)!important}
body.rg-dashboard-body .rf-dash-sidebar{background:#071426!important;border-right:1px solid #234260!important}
body.rg-dashboard-body .rf-dash-topbar{background:#09192d!important;border-bottom:1px solid #254765!important}
body.rg-dashboard-body .rf-dash-main{background:#061121!important}
body.rg-dashboard-body :is(.rf-panel,.rf-server-card,.rf-module-card,.rf-overview-panel,.rf-stat-card,.rg-setup-hero){background:#0b1c32!important;border-color:#284463!important;border-radius:16px!important;box-shadow:none!important}
body.rg-dashboard-body :is(.rf-module-card,.rf-server-card):hover{border-color:#1e9df5!important;box-shadow:0 8px 35px #0059a51e!important}
body.rg-dashboard-body .rf-dash-nav a.current{background:#102f52!important;color:#fff!important;border-left:3px solid #34beff!important;border-radius:9px!important}
body.rg-dashboard-body .rf-dash-sidebar .rf-dash-brand img{filter:drop-shadow(0 0 8px #138cff2d)}
body.rg-dashboard-body .rf-dash-topbar{border-radius:0!important}
/* Global form controls remain legible on a dark themed UI */
body.rg-public-body select,body.rg-dashboard-body select{color-scheme:dark}
/* Layout breakpoints */
@media(max-width:1280px){body.rg-public-body .hb-menu>a{font-size:12px!important;padding-inline:6px!important}body.rg-public-body .hb-nav-actions{margin-left:0}}
@media(max-width:1080px){
 body.rg-public-body .hb-header-row,body.rg-public-body .hb-container,body.rg-public-body .at-wrap,body.rg-public-body .oo-wrap{width:calc(100% - 48px)!important}
 body.rg-public-body .hb-menu-toggle{display:grid!important;place-items:center;border:1px solid #274766!important;border-radius:12px!important;background:#0b1b32!important;color:white!important}
 body.rg-public-body .hb-menu{position:absolute!important;top:78px!important;left:0!important;right:0!important;display:none!important;flex-direction:column!important;gap:2px!important;align-items:stretch!important;padding:18px 24px 24px!important;background:#071427!important;border-bottom:1px solid #265078!important;box-shadow:0 35px 60px #020612a0!important}
 body.rg-public-body .hb-menu.is-open,body.rg-public-body .hb-menu.open,body.rg-public-body .hb-menu[aria-expanded='true']{display:flex!important}
 body.rg-public-body .hb-menu>a,body.rg-public-body .hb-nav-link{font-size:14px!important;padding:13px!important}
 body.rg-public-body .hb-nav-actions{display:grid!important;gap:10px!important;margin:12px 0 0!important}
 body.rg-public-body .at-hero{gap:8px;grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr)}
 body.rg-public-body .at-hero h1{font-size:clamp(50px,6.1vw,76px)!important}
 body.rg-public-body .at-hero-stage{min-height:400px!important}
}
@media(max-width:760px){
 body.rg-public-body .at-wrap,body.rg-public-body .hb-container,body.rg-public-body .oo-wrap,body.rg-public-body .hb-header-row{width:calc(100% - 34px)!important}
 body.rg-public-body .at-hero{grid-template-columns:1fr;gap:12px;min-height:0!important;padding-block:67px 32px!important}
 body.rg-public-body .at-hero-main{padding:0!important;min-height:0!important}
 body.rg-public-body .at-hero h1{font-size:clamp(48px,11vw,80px)!important;margin:25px 0 20px!important}
 body.rg-public-body .at-hero-main>p{font-size:16px!important;margin-bottom:26px!important}
 body.rg-public-body .at-actions{width:100%;gap:10px}
 body.rg-public-body .at-action{min-height:52px!important;flex:1 1 auto;justify-content:center;padding:12px!important}
 body.rg-public-body .at-hero-foot{margin-top:26px!important;gap:12px!important}
 body.rg-public-body .at-hero-stage{min-height:320px!important;aspect-ratio:1.4!important}
 body.rg-public-body .at-stage-logo{width:min(53%,295px)!important}
 body.rg-public-body .at-stage-coordinates{top:4%;left:10%;right:10%}
 body.rg-public-body .at-stage-readout{left:10%;right:10%;bottom:4%}
 body.rg-public-body .at-intro{padding-block:70px!important}
 body.rg-public-body .at-capabilities{padding-block:70px!important}
 body.rg-public-body .at-capability-index{border-right:0!important}
 body.rg-public-body .at-process{padding-block:70px!important}
 body.rg-public-body .at-last{padding:35px 25px!important;border-radius:16px!important}
 body.rg-public-body .at-last h2{font-size:clamp(36px,8vw,56px)!important}
 body.rg-public-body .hb-footer-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:30px!important}
 body.rg-public-body .hb-footer-brand{grid-column:span 2}
}
@media(max-width:420px){
 body.rg-public-body .hb-header-row{min-height:69px!important}
 body.rg-public-body .hb-menu{top:69px!important}
 body.rg-public-body .at-hero{padding-top:48px!important}
 body.rg-public-body .at-hero h1{font-size:clamp(40px,11vw,50px)!important}
 body.rg-public-body .at-actions{display:grid!important;grid-template-columns:1fr!important}
 body.rg-public-body .at-hero-foot{gap:8px!important}
 body.rg-public-body .at-hero-foot span{font-size:8px!important}
 body.rg-public-body .at-hero-stage{min-height:235px!important}
 body.rg-public-body .at-stage-coordinates,body.rg-public-body .at-stage-readout{font-size:8px!important}
 body.rg-public-body .hb-footer-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;column-gap:17px!important}
 body.rg-public-body .hb-footer-col a{font-size:13px!important}
}
@media(prefers-reduced-motion:reduce){body.rg-public-body .at-stage-logo,body.rg-public-body .at-stage-circles *{animation:none!important;transform:none!important}}
