/* Usability pass: contained rhythm, image-led product navigation, quieter chrome. */
body[data-design="surge"] .app{max-width:1440px;margin:0 auto;padding:0 clamp(18px,3vw,44px)}
body[data-design="surge"] main{display:block}
body[data-design="surge"] .site-hero{min-height:clamp(620px,86svh,820px);border-radius:0 0 28px 28px}
body[data-design="surge"] .site-hero__image{transform:none}
body[data-design="surge"] .site-hero__content{padding-left:clamp(24px,5vw,68px);padding-right:clamp(24px,5vw,68px)}
body[data-design="surge"] .os-worlds,
body[data-design="surge"] .equine-world,
body[data-design="surge"] .su,
body[data-design="surge"] .showcase,
body[data-design="surge"] .technology-tabs,
body[data-design="surge"] .what-else{max-width:1120px}

/* Keep every primary module on the same centred content rail.  The legacy
   #signup.su rule has ID specificity and otherwise expands the access panel
   beyond the product/ownership modules. */
body[data-design="surge"] #signup.su{
  width:100%;
  max-width:1120px!important;
  margin-left:auto!important;
  margin-right:auto!important;
}
body[data-design="surge"] #what-else{
  width:100%;
  margin-left:auto!important;
  margin-right:auto!important;
}

/* Borders are reserved for controls and selected state, not every container. */
body[data-design="surge"] header,
body[data-design="surge"] .access-bar,
body[data-design="surge"] .flavour-bar,
body[data-design="surge"] .os-worlds,
body[data-design="surge"] .equine-card,
body[data-design="surge"] .su-panel,
body[data-design="surge"] .su-head,
body[data-design="surge"] .su-cta-bar,
body[data-design="surge"] .showcase,
body[data-design="surge"] .what-else,
body[data-design="surge"] .frac-club-copy,
body[data-design="surge"] .frac-horse,
body[data-design="surge"] .heritage-strip,
body[data-design="surge"] .bm-footer{border:0!important}
body[data-design="surge"] .os-worlds,
body[data-design="surge"] .su-panel,
body[data-design="surge"] .showcase,
body[data-design="surge"] .what-else{box-shadow:0 22px 60px rgba(0,0,0,.24)}
body[data-design="surge"] .equine-card{box-shadow:0 12px 34px rgba(0,0,0,.28)}
body[data-design="surge"] .su-panel{overflow:hidden}
body[data-design="surge"] #experience>.experience-close{
  position:fixed!important;top:26px!important;right:26px!important;float:none!important;margin:0!important;z-index:10001!important;
  width:38px!important;height:38px!important;background:#08130de8!important;color:#fff!important;border:1px solid #ffffff66!important;
}
body[data-design="surge"] #experience{height:min(820px,calc(100svh - 24px))!important}
body[data-design="surge"] #experience:has(.heritage-origins-experience){height:fit-content!important;min-height:0!important;max-height:calc(100svh - 24px)!important}
body[data-design="surge"] .investor-experience{min-height:100%!important}
body[data-design="surge"] .investor-masthead{gap:10px!important}
body[data-design="surge"] .investor-masthead strong{color:#c5ff00;font-size:13px;letter-spacing:.08em}
body[data-design="surge"] .investor-masthead span{padding-left:10px;border-left:1px solid #ffffff45}
body[data-design="surge"] .investor-body{padding-top:28px;padding-bottom:28px}

/* Access choices stack so each route gets a deliberate, readable decision
 * surface on desktop as well as mobile. */
body[data-design="surge"] .su-path{grid-template-columns:1fr!important}
@media(min-width:760px){
  body[data-design="surge"] .su-path-btn{min-height:48px;padding:9px 12px}
}

/* Eight products: visual cards with hierarchy instead of full-width text strips. */
body[data-design="surge"] .technology-tabs{
  display:grid!important;
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  grid-template-rows:none!important;
  gap:14px!important;
  margin-top:18px!important;
}
body[data-design="surge"] .technology-tabs button{
  position:relative;display:grid!important;grid-template-columns:1fr!important;grid-template-rows:112px auto;
  min-height:196px!important;padding:0!important;overflow:hidden;text-align:left!important;justify-content:stretch!important;
  border:0!important;border-radius:16px!important;background:#10231a!important;color:#eef6e9;
  box-shadow:0 12px 30px rgba(0,0,0,.24);transition:transform .18s ease,box-shadow .18s ease;
}
body[data-design="surge"] .technology-tabs button:hover{transform:translateY(-3px);box-shadow:0 18px 42px rgba(0,0,0,.34)}
body[data-design="surge"] .technology-tabs button[aria-selected="true"]{box-shadow:0 0 0 2px #c5ff00,0 18px 44px rgba(0,0,0,.34)!important;background:#173022!important}
.technology-thumb{display:block;position:relative;align-self:stretch;height:100%;overflow:hidden;min-width:0}
.technology-thumb::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,transparent 35%,#10231ae8)}
.technology-thumb img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .25s ease}
.technology-tabs button:hover .technology-thumb img{transform:scale(1.04)}
.technology-copy{display:grid!important;grid-template-columns:auto 1fr;grid-template-rows:auto auto;column-gap:10px;align-content:center;padding:14px 15px 16px;min-width:0}
.technology-copy .tab-number{display:block!important;grid-row:1/3;color:#c5ff00!important;font:800 11px/1.2 ui-monospace,monospace!important;padding-top:2px}
.technology-copy b{font:800 17px/1.15 ui-sans-serif,system-ui,sans-serif!important;color:#f4f8ef}
.technology-copy small{display:block!important;font:600 11px/1.3 ui-sans-serif,system-ui,sans-serif!important;color:#aebead!important;margin-top:5px}
.technology-copy .stage-badge{display:inline-flex!important;width:max-content;margin:0 0 0 7px!important;vertical-align:2px}
body[data-design="surge"] .technology-tabs button>i{display:block!important;position:absolute;right:13px;top:12px;z-index:2;width:28px;height:28px;border-radius:50%;background:#07130dcc;color:#c5ff00;text-align:center;font:700 14px/28px system-ui}

/* Coherence pass: the public page is one BETMAN system, not stacked microsites. */
body[data-design="surge"]{background:#07130d!important}
body[data-design="surge"] .os-worlds,
body[data-design="surge"] .su-panel,
body[data-design="surge"] .showcase,
body[data-design="surge"] .what-else,
body[data-design="surge"] .bm-footer{
  background:#0d2017!important;border-radius:18px!important;box-shadow:0 14px 38px rgba(0,0,0,.18)!important;
}
body[data-design="surge"] .os-worlds{margin-top:28px!important;margin-bottom:12px!important}
body[data-design="surge"] .equine-world{margin-bottom:28px!important}
body[data-design="surge"] .su{margin-top:0!important;margin-bottom:28px!important}
body[data-design="surge"] .technology-tabs{margin-bottom:28px!important}
body[data-design="surge"] .what-else{margin-top:0!important;margin-bottom:28px!important;color:#eef6e9!important}
body[data-design="surge"] .what-else-intro .eyebrow,
body[data-design="surge"] .what-else-intro h2 em,
body[data-design="surge"] .frac-kicker,
body[data-design="surge"] .frac-horse-label{color:#c5ff00!important}
body[data-design="surge"] .what-else-intro p,
body[data-design="surge"] .frac-club-copy>p,
body[data-design="surge"] .frac-points,
body[data-design="surge"] .frac-horse p{color:#b9cab8!important}
body[data-design="surge"] .frac-club-copy,
body[data-design="surge"] .frac-horse{background:#10271c!important;border-radius:14px!important}
body[data-design="surge"] .frac-horse-visual{background:linear-gradient(145deg,#173426,#0b1b13 72%)!important;border-color:#c5ff0028!important;color:#c5ff00!important}
body[data-design="surge"] .coming-soon{background:#c5ff00!important;color:#0c1c12!important}
body[data-design="surge"] .heritage-strip{
  position:relative;display:block;max-width:1120px;min-height:280px;margin:0 auto 28px;padding:0!important;
  overflow:hidden;border-radius:18px!important;background:#10271c!important;box-shadow:0 22px 60px rgba(0,0,0,.28);
}
body[data-design="surge"] .heritage-door{
  position:relative;display:grid;width:100%;min-height:280px;grid-template-columns:1fr;align-items:stretch;justify-items:stretch;gap:0;padding:0!important;
  border:0;text-align:left;background:transparent;color:#eef6e9;cursor:pointer;overflow:hidden;
}
body[data-design="surge"] .heritage-door img{
  position:absolute;inset:0;z-index:0;width:100%;height:100%;min-height:280px;border:0!important;border-radius:0!important;object-fit:cover;object-position:center 45%;
  filter:saturate(.88) contrast(1.04);transition:transform .35s ease,filter .35s ease;
}
body[data-design="surge"] .heritage-door>span{
  position:relative;z-index:1;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;align-self:stretch;
  width:min(560px,100%);min-height:280px;padding:42px 48px 58px;
  background:linear-gradient(90deg,rgba(8,18,12,.92) 0%,rgba(8,18,12,.78) 58%,rgba(8,18,12,.18) 86%,rgba(8,18,12,0) 100%);
}
body[data-design="surge"] .heritage-door small{font:800 11px/1.2 ui-monospace,monospace;letter-spacing:.18em;color:#c5ff00!important}
body[data-design="surge"] .heritage-door strong{max-width:12ch;margin-top:14px;font:850 clamp(34px,4vw,54px)/.95 ui-sans-serif,system-ui,sans-serif;letter-spacing:-.045em;color:#f4f8ef!important}
body[data-design="surge"] .heritage-door em{margin-top:18px;font:500 15px/1.5 ui-sans-serif,system-ui,sans-serif;color:#b9cab8}
body[data-design="surge"] .heritage-door b{display:inline-flex;align-items:center;gap:16px;margin-top:24px;font:800 13px/1 ui-sans-serif,system-ui,sans-serif;color:#c5ff00;text-transform:uppercase;letter-spacing:.08em}
body[data-design="surge"] .heritage-door b i{display:grid;width:34px;height:34px;margin:0;border-radius:50%;place-items:center;background:#c5ff00;color:#0c1c12;font-style:normal;transition:transform .22s ease}
body[data-design="surge"] .heritage-door:hover img{transform:scale(1.025);filter:saturate(1) contrast(1.06)}
body[data-design="surge"] .heritage-door:hover b i{transform:translateX(4px)}
body[data-design="surge"] .heritage-door:focus-visible{outline:3px solid #c5ff00;outline-offset:-3px}
body[data-design="surge"] .heritage-next{position:absolute;right:22px;bottom:20px;z-index:2;padding:8px 0;border:0;background:transparent;color:#dbe8d5;font:650 11px/1.2 ui-sans-serif,system-ui,sans-serif;cursor:pointer}
body[data-design="surge"] .heritage-next:hover{color:#c5ff00}
body[data-design="surge"] .bm-footer{max-width:1120px;margin:0 auto 28px!important;overflow:hidden}
body[data-design="surge"] .bm-top .bm-col{background:#10271c!important;border:0!important;border-radius:12px!important}
body[data-design="surge"] .bm-rg{background:#10271c!important}
body[data-design="surge"] .technology-tabs button{grid-template-rows:136px auto;min-height:220px!important}
body[data-design="surge"] .technology-thumb img{opacity:1!important}

@media(max-width:900px){body[data-design="surge"] .technology-tabs{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:700px){
  body[data-design="surge"] header .investor-link{display:flex!important;font-size:9px}
  body[data-design="surge"] #experience>.experience-close{top:14px!important;right:14px!important}
  body[data-design="surge"] .app{padding:0 14px}
  body[data-design="surge"] header{left:18px;right:18px}
  body[data-design="surge"] .site-hero{min-height:650px;border-radius:0 0 20px 20px}
  body[data-design="surge"] .site-hero__content{padding-left:18px;padding-right:18px}
  body[data-design="surge"] .technology-tabs{gap:9px!important;padding:0 2px}
  body[data-design="surge"] .technology-tabs button{grid-template-rows:104px auto;min-height:182px!important;border-radius:13px!important}
  .technology-copy{padding:11px 10px 13px;column-gap:7px}
  .technology-copy b{font-size:13px!important}
  .technology-copy small{font-size:9px!important}
  .technology-copy .tab-number{font-size:9px!important}
  .technology-copy .stage-badge{font-size:6px!important;padding:2px 3px!important;margin-left:4px!important}
  body[data-design="surge"] .heritage-strip{min-height:0;margin-bottom:22px}
  body[data-design="surge"] .heritage-door{display:block;min-height:420px}
  body[data-design="surge"] .heritage-door img{position:absolute;inset:0;height:100%;min-height:100%}
  body[data-design="surge"] .heritage-door>span{width:100%;min-height:420px;padding:26px 24px 72px;background:linear-gradient(180deg,rgba(8,18,12,.2) 0%,rgba(8,18,12,.55) 38%,rgba(8,18,12,.92) 100%)}
  body[data-design="surge"] .heritage-door strong{font-size:36px}
  body[data-design="surge"] .heritage-door em{font-size:14px}
  body[data-design="surge"] .heritage-next{left:24px;right:auto;bottom:20px}
}

/* Product cards explain on selection; only the explicit arrow leaves the page. */
.technology-tile{position:relative;display:flex;min-width:0;min-height:0}
.technology-tile>button{width:100%;height:100%}
.technology-launch{position:absolute;right:13px;top:12px;z-index:4;display:grid!important;width:32px;height:32px;padding:0!important;border:1px solid #c5ff0066;border-radius:50%;place-items:center;background:#07130de8;color:#c5ff00!important;font:800 15px/1 ui-sans-serif,system-ui,sans-serif;box-shadow:0 8px 22px #0005}
.technology-launch:hover{border-color:#c5ff00;background:#c5ff00;color:#07130d!important;transform:translate(2px,-2px)}
.technology-launch:focus-visible{outline:3px solid #fff;outline-offset:3px}
body[data-design="surge"] .technology-tabs button{padding-right:0!important}
@media(max-width:700px){.technology-launch{right:9px;top:8px;width:29px;height:29px;font-size:13px}}
@media(prefers-reduced-motion:no-preference){.technology-launch{transition:transform .18s ease,background .18s ease,color .18s ease,border-color .18s ease}}
