
/* OddsXray unified modern visual system
   Build: ODX-CONSISTENT-MODERN-STYLESHEET-069
   Intent: one consistent rounded, open, deep, layered style across public, member, admin, checkout, account, and affiliate pages.
*/

:root{
  color-scheme:dark;
  --bg:#061018;
  --bg-2:#0a1726;
  --bg-3:#102238;
  --surface:rgba(13,28,47,.72);
  --surface-2:rgba(18,38,62,.66);
  --surface-3:rgba(255,255,255,.055);
  --surface-solid:#0b1829;
  --glass:rgba(9,20,34,.72);
  --text:#f4f7fa;
  --text-strong:#ffffff;
  --muted:#afc4d4;
  --muted-2:#8fa5b6;
  --cyan:#7ed7ec;
  --cyan-2:#bdeef7;
  --gold:#e8c77a;
  --gold-2:#f3d58a;
  --rose:#ffb4c0;
  --green:#a7e7c1;
  --line:rgba(255,255,255,.12);
  --line-strong:rgba(255,255,255,.22);
  --shadow:0 22px 80px rgba(0,0,0,.38);
  --shadow-soft:0 14px 42px rgba(0,0,0,.28);
  --radius-xl:34px;
  --radius-lg:26px;
  --radius-md:18px;
  --radius-sm:12px;
  --wrap:1180px;
  --ease:cubic-bezier(.2,.8,.2,1);
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body.ox-body{
  margin:0;
  min-height:100vh;
  color:var(--text);
  font-family:Inter,Instrument Sans,Manrope,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  line-height:1.55;
  letter-spacing:-.01em;
  background:
    radial-gradient(circle at 18% -4%,rgba(126,215,236,.20),transparent 32rem),
    radial-gradient(circle at 82% 0%,rgba(232,199,122,.15),transparent 30rem),
    radial-gradient(circle at 50% 110%,rgba(126,215,236,.10),transparent 42rem),
    linear-gradient(145deg,#040910 0%,#061018 42%,#0b1724 100%);
  background-attachment:fixed;
}
body.ox-body:before{
  content:"";
  position:fixed;
  inset:0;
  pointer-events:none;
  z-index:-2;
  background-image:
    linear-gradient(rgba(255,255,255,.035) 1px,transparent 1px),
    linear-gradient(90deg,rgba(255,255,255,.035) 1px,transparent 1px);
  background-size:72px 72px;
  mask-image:linear-gradient(to bottom,rgba(0,0,0,.75),rgba(0,0,0,.25) 65%,transparent);
}
body.ox-body:after{
  content:"";
  position:fixed;
  inset:0;
  z-index:-1;
  pointer-events:none;
  background:
    linear-gradient(120deg,transparent,rgba(255,255,255,.035),transparent),
    url('/ox/assets/graphics/odx-noise-overlay.png');
  opacity:.42;
  mix-blend-mode:screen;
}
a{color:inherit}
img,svg,video{max-width:100%;height:auto}
code{
  font-family:"SFMono-Regular",Consolas,"Liberation Mono",monospace;
  font-size:.92em;
  color:#dcebf5;
  background:rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.09);
  border-radius:9px;
  padding:.1em .38em;
  word-break:break-word;
}
::selection{background:rgba(126,215,236,.32);color:#fff}

/* Top shell */
.site-top{
  position:sticky;
  top:0;
  z-index:50;
  display:grid;
  grid-template-columns:auto minmax(0,1fr) auto;
  gap:16px;
  align-items:center;
  min-height:72px;
  padding:12px clamp(14px,3vw,28px);
  background:rgba(5,12,22,.74);
  backdrop-filter:blur(22px) saturate(130%);
  border-bottom:1px solid rgba(255,255,255,.10);
  box-shadow:0 8px 30px rgba(0,0,0,.18);
}
.brand{
  display:flex;
  align-items:center;
  gap:12px;
  min-width:0;
  text-decoration:none;
}
.brand-logo{width:150px;max-height:48px;object-fit:contain;display:block}
.brand-mark{
  width:44px;height:44px;
  border-radius:18px;
  display:grid;place-items:center;
  color:#07101b;
  font-weight:900;
  background:linear-gradient(135deg,var(--gold),#fff3cc);
  box-shadow:0 12px 36px rgba(232,199,122,.18);
}
.brand-copy{display:none}
.brand b{font-size:15px;letter-spacing:-.03em}
.brand small{
  display:block;
  margin-top:1px;
  font-size:10px;
  line-height:1.1;
  color:var(--muted-2);
  text-transform:uppercase;
  letter-spacing:.15em;
}
.ox-nav{
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  align-items:center;
  gap:6px;
  min-width:0;
}
.nav-link{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:36px;
  padding:8px 12px;
  border-radius:999px;
  border:1px solid transparent;
  color:var(--muted);
  text-decoration:none;
  font-size:13px;
  font-weight:720;
  letter-spacing:-.015em;
  transition:background .18s var(--ease),color .18s var(--ease),border-color .18s var(--ease),transform .18s var(--ease);
}
.nav-link:hover,.nav-link.active{
  color:var(--text);
  border-color:rgba(126,215,236,.28);
  background:rgba(126,215,236,.10);
  transform:translateY(-1px);
}
.build-pill{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  white-space:nowrap;
  border-radius:999px;
  padding:8px 11px;
  color:var(--gold-2);
  border:1px solid rgba(232,199,122,.28);
  background:rgba(232,199,122,.08);
  font-size:11px;
  font-weight:800;
  letter-spacing:.08em;
}
.nav-toggle{
  display:none;
  appearance:none;
  border:1px solid var(--line);
  background:rgba(255,255,255,.06);
  color:var(--text);
  border-radius:999px;
  padding:9px 13px;
  font-weight:800;
}

/* Core layout */
.hero,.section{width:min(var(--wrap),100%);margin:0 auto;padding:34px 20px}
.hero{padding-top:56px;padding-bottom:38px}
.hero-grid{
  display:grid;
  grid-template-columns:minmax(0,1.1fr) minmax(260px,.72fr);
  gap:32px;
  align-items:center;
}
.kicker,.module-kicker,.small-caps{
  display:inline-flex;
  align-items:center;
  gap:8px;
  color:var(--gold);
  text-transform:uppercase;
  letter-spacing:.18em;
  font-size:12px;
  font-weight:900;
}
.kicker:before,.module-kicker:before,.small-caps:before{
  content:"";
  width:8px;height:8px;
  border-radius:50%;
  background:var(--cyan);
  box-shadow:0 0 22px rgba(126,215,236,.55);
  flex:0 0 auto;
}
.hero h1{
  margin:12px 0 20px;
  max-width:900px;
  font-size:clamp(38px,7vw,84px);
  line-height:.92;
  letter-spacing:-.075em;
  color:var(--text-strong);
  text-wrap:balance;
}
.hero-copy,.lead{
  max-width:820px;
  margin:0;
  color:#c9d8e7;
  font-size:clamp(17px,2vw,20px);
  line-height:1.7;
}
.chip-row{display:flex;gap:10px;flex-wrap:wrap;margin-top:22px}
.chip,.tag,.pill{
  display:inline-flex;
  align-items:center;
  gap:7px;
  border-radius:999px;
  padding:8px 11px;
  color:#dbeaf4;
  background:rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.13);
  font-size:12px;
  font-weight:760;
}
.hero-visual,.panel,.sales-art,.sales-wide-figure{
  position:relative;
  overflow:hidden;
  border-radius:var(--radius-xl);
  border:1px solid rgba(255,255,255,.14);
  background:linear-gradient(145deg,rgba(255,255,255,.10),rgba(255,255,255,.035));
  box-shadow:var(--shadow);
}
.hero-visual{
  min-height:330px;
  display:grid;
  place-items:center;
}
.hero-visual:before,.card:before,.field-note:before,.checkout-card:before,.stripe-embed-card:before{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  background:linear-gradient(130deg,rgba(255,255,255,.13),transparent 28%,transparent 70%,rgba(126,215,236,.08));
  opacity:.72;
}
.hero-visual-image{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  opacity:.56;
}
.hero-visual-overlay{
  position:relative;
  display:grid;
  gap:12px;
  place-items:center;
  padding:24px;
  text-align:center;
  z-index:1;
}
.hero-visual-overlay img{width:min(190px,70%);filter:drop-shadow(0 20px 36px rgba(0,0,0,.35))}
.hero-visual-overlay p{margin:0;color:var(--muted);max-width:260px}

/* Cards and grids */
.section-title{
  display:flex;
  align-items:end;
  justify-content:space-between;
  gap:24px;
  margin-bottom:18px;
}
.section-title h2{
  margin:0;
  font-size:clamp(28px,4vw,48px);
  letter-spacing:-.055em;
  line-height:1;
  text-wrap:balance;
}
.section-title p{margin:0;max-width:680px;color:var(--muted);font-size:16px;line-height:1.65}
.grid{display:grid;gap:18px}
.grid.one{grid-template-columns:1fr}
.grid.two{grid-template-columns:repeat(2,minmax(0,1fr))}
.grid.three{grid-template-columns:repeat(3,minmax(0,1fr))}
.grid.four{grid-template-columns:repeat(4,minmax(0,1fr))}
.card,.field-note,.notice,.lock,.checkout-card,.stripe-embed-card{
  position:relative;
  overflow:hidden;
  border-radius:var(--radius-lg);
  border:1px solid rgba(255,255,255,.13);
  background:
    radial-gradient(circle at 12% 0%,rgba(126,215,236,.10),transparent 22rem),
    linear-gradient(145deg,rgba(255,255,255,.085),rgba(255,255,255,.035));
  box-shadow:var(--shadow-soft);
}
.card{padding:22px}
.card h3,.field-note h2,.notice h3{
  margin:8px 0 10px;
  font-size:clamp(21px,2.5vw,30px);
  line-height:1.08;
  letter-spacing:-.04em;
}
.card p,.field-note p,.notice p{color:var(--muted);line-height:1.65}
.card p:last-child{margin-bottom:0}
.card.featured-card{
  border-color:rgba(232,199,122,.26);
  background:
    radial-gradient(circle at 0% 0%,rgba(232,199,122,.13),transparent 24rem),
    radial-gradient(circle at 100% 0%,rgba(126,215,236,.13),transparent 24rem),
    linear-gradient(145deg,rgba(255,255,255,.10),rgba(255,255,255,.04));
}
.compact-card{padding:18px}
.compact-card h3{font-size:21px}
.field-note,.notice,.lock{padding:26px}
.notice{
  border-color:rgba(126,215,236,.25);
  background:rgba(126,215,236,.08);
}
.warning-copy{
  border-color:rgba(255,180,192,.25);
  background:
    radial-gradient(circle at 0% 0%,rgba(255,180,192,.13),transparent 20rem),
    linear-gradient(145deg,rgba(255,255,255,.08),rgba(255,255,255,.03));
}

/* Buttons */
.btn,.mini-btn,button.btn,.access-form button,.category-filter{
  appearance:none;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:9px;
  min-height:42px;
  padding:11px 16px;
  border:1px solid rgba(232,199,122,.35);
  border-radius:999px;
  color:#07101b;
  background:linear-gradient(135deg,var(--gold),#fff1bd);
  text-decoration:none;
  font-weight:900;
  letter-spacing:-.02em;
  cursor:pointer;
  box-shadow:0 14px 32px rgba(232,199,122,.16);
  transition:transform .18s var(--ease),box-shadow .18s var(--ease),filter .18s var(--ease),background .18s var(--ease);
}
.btn:hover,.mini-btn:hover,button.btn:hover,.access-form button:hover,.category-filter:hover{
  transform:translateY(-1px);
  box-shadow:0 18px 44px rgba(232,199,122,.22);
}
.btn.secondary,.mini-btn.secondary,.category-filter{
  color:var(--text);
  background:rgba(255,255,255,.065);
  border-color:rgba(255,255,255,.14);
  box-shadow:none;
}
.btn.secondary:hover,.mini-btn.secondary:hover,.category-filter:hover,.category-filter.is-active{
  background:rgba(126,215,236,.11);
  border-color:rgba(126,215,236,.34);
}
.button-row,.mini-actions,.hero-actions{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  align-items:center;
}

/* Forms */
form{margin:0}
.access-form,.clinic-form,.filter-panel{
  display:grid;
  gap:14px;
}
label{
  display:grid;
  gap:7px;
  color:var(--text);
  font-weight:800;
  font-size:14px;
}
input,textarea,select{
  width:100%;
  min-height:44px;
  color:var(--text);
  background:rgba(5,12,22,.62);
  border:1px solid rgba(255,255,255,.14);
  border-radius:16px;
  padding:11px 13px;
  font:inherit;
  outline:none;
  transition:border-color .18s var(--ease),box-shadow .18s var(--ease),background .18s var(--ease);
}
textarea{min-height:110px;resize:vertical}
input:focus,textarea:focus,select:focus{
  border-color:rgba(126,215,236,.55);
  box-shadow:0 0 0 4px rgba(126,215,236,.10);
  background:rgba(5,12,22,.78);
}
input::placeholder,textarea::placeholder{color:rgba(175,196,212,.62)}
.filter-input{min-height:50px;font-size:16px}
.category-filter-row{display:flex;flex-wrap:wrap;gap:8px;margin:14px 0}

/* Tables and log surfaces */
.table{
  width:100%;
  border-collapse:separate;
  border-spacing:0;
  overflow:hidden;
  border:1px solid rgba(255,255,255,.10);
  border-radius:18px;
  background:rgba(5,12,22,.30);
}
.table th,.table td{
  padding:12px 13px;
  text-align:left;
  vertical-align:top;
  border-bottom:1px solid rgba(255,255,255,.08);
  color:var(--muted);
}
.table th{
  color:var(--text);
  font-size:12px;
  text-transform:uppercase;
  letter-spacing:.12em;
  background:rgba(255,255,255,.06);
}
.table tr:last-child td{border-bottom:0}
.copybox,.code-line,.small-code{
  display:block;
  overflow:auto;
  white-space:pre-wrap;
  word-break:break-word;
  color:#dfeaf3;
  background:rgba(5,12,22,.62);
  border:1px solid rgba(255,255,255,.12);
  border-radius:18px;
  padding:14px;
  line-height:1.55;
}
details{
  border:1px solid rgba(255,255,255,.12);
  border-radius:18px;
  padding:12px 14px;
  background:rgba(255,255,255,.04);
}
summary{cursor:pointer;font-weight:900;color:var(--text)}
.debug-details{margin-top:14px}

/* Media and asset cards */
.module-cover-img,.room-cover-img,.history-cover-img,.asset-card img,.sales-art-image,.sales-art-bg{
  display:block;
  width:100%;
  height:auto;
  border-radius:22px;
  object-fit:cover;
}
.asset-card,.room-card,.board-entry,.elite-label-card,.status-tile,.metric{
  border-radius:var(--radius-lg);
  border:1px solid rgba(255,255,255,.12);
  background:rgba(255,255,255,.045);
  padding:18px;
}
.asset-icon{
  width:34px;
  height:34px;
  object-fit:contain;
  opacity:.94;
}
.card-icon-row{display:flex;align-items:center;gap:12px}

/* Product-specific sections */
.split-hero,.wrap{
  width:min(var(--wrap),100%);
  margin:0 auto;
  padding:34px 20px;
}
.split-hero{
  display:grid;
  grid-template-columns:minmax(0,1.05fr) minmax(280px,.85fr);
  gap:28px;
  align-items:center;
}
.split-list,.longform-list,.setup-list{
  display:grid;
  gap:12px;
  padding:0;
  margin:18px 0 0;
  list-style:none;
}
.split-list li,.longform-list li,.setup-list li{
  border:1px solid rgba(255,255,255,.11);
  border-radius:18px;
  background:rgba(255,255,255,.045);
  padding:14px 15px;
}
.beat,.spine-step,.reveal-stage{
  border:1px solid rgba(255,255,255,.12);
  border-radius:22px;
  background:rgba(255,255,255,.045);
  padding:18px;
}
.spine-timeline{display:grid;gap:14px}
.spine-num{
  display:inline-grid;
  place-items:center;
  width:34px;height:34px;
  border-radius:50%;
  background:rgba(232,199,122,.14);
  color:var(--gold);
  border:1px solid rgba(232,199,122,.28);
  font-weight:900;
}
.interactive-checklist{display:grid;gap:10px}
.interactive-checklist label,.checkline{
  display:flex;
  align-items:flex-start;
  gap:10px;
  padding:12px;
  border:1px solid rgba(255,255,255,.10);
  background:rgba(255,255,255,.04);
  border-radius:16px;
  color:var(--muted);
}
.interactive-checklist input{width:auto;min-height:auto;margin-top:4px;accent-color:var(--gold)}
.check-progress{color:var(--gold)!important;font-weight:900}

/* Checkout/account */
.checkout-shell,.fulfillment-grid,.payment-status-grid{
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(280px,.72fr);
  gap:20px;
  align-items:start;
}
.checkout-card,.stripe-embed-card{
  padding:24px;
}
.stripe-embed-card{min-height:440px}
.stripe-placeholder{
  display:grid;
  place-items:center;
  min-height:260px;
  border:1px dashed rgba(126,215,236,.28);
  border-radius:22px;
  background:rgba(126,215,236,.045);
  color:var(--muted);
  text-align:center;
  padding:22px;
}
.checkout-meta{display:grid;gap:10px}
.checkout-meta span{
  display:flex;
  justify-content:space-between;
  gap:12px;
  padding-bottom:9px;
  border-bottom:1px solid rgba(255,255,255,.09);
}

/* Status colors */
.status-good,.ok{color:var(--green)}
.status-warn,.warn{color:var(--gold)}
.status-bad,.bad,.danger{color:var(--rose)}
.gold{color:var(--gold)}
.signal{color:var(--cyan)}
.deep{color:var(--muted)}

/* Footer */
.site-footer,footer{
  width:min(var(--wrap),100%);
  margin:0 auto;
  padding:34px 20px 46px;
  color:var(--muted-2);
  font-size:13px;
}

/* Mobile containment and responsive */
@media (max-width:1100px){
  .grid.four{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width:900px){
  .site-top{grid-template-columns:auto auto;align-items:center}
  .nav-toggle{display:inline-flex;justify-self:end}
  .build-pill{display:none}
  .ox-nav{
    grid-column:1/-1;
    display:none;
    justify-content:flex-start;
    padding-top:8px;
  }
  .ox-nav.is-open,.site-top.nav-open .ox-nav{display:flex}
  .hero-grid,.split-hero,.checkout-shell,.fulfillment-grid,.payment-status-grid{grid-template-columns:1fr}
  .hero{padding-top:34px}
  .hero-visual{min-height:260px}
  .section-title{display:block}
  .section-title p{margin-top:10px}
  .grid.three,.grid.two{grid-template-columns:1fr}
}
@media (max-width:640px){
  :root{--radius-xl:26px;--radius-lg:22px}
  .site-top{padding:10px 12px;gap:10px}
  .brand-logo{width:128px}
  .hero,.section,.split-hero,.wrap{padding-left:14px;padding-right:14px}
  .hero h1{font-size:clamp(34px,12vw,58px);letter-spacing:-.065em}
  .hero-copy,.lead{font-size:16px}
  .card,.field-note,.notice,.lock,.checkout-card,.stripe-embed-card{padding:18px}
  .grid.four{grid-template-columns:1fr}
  .button-row,.mini-actions,.hero-actions{display:grid;grid-template-columns:1fr}
  .btn,.mini-btn,button.btn,.access-form button{width:100%}
  .table{display:block;overflow-x:auto;-webkit-overflow-scrolling:touch}
  .hero-visual{min-height:230px}
  .chip-row{gap:8px}
  .chip,.tag,.pill{font-size:11px}
}

/* Final no-overflow guard */
body,main,.hero,.section,.card,.field-note,.notice,.panel{max-width:100%}
pre,code,.copybox,.table{max-width:100%}
