:root{
  --bg:#7f8797;
  --bg2:#6f7890;
  --surface:rgba(214,226,255,.72);
  --surface-strong:rgba(204,219,255,.86);
  --text:#111216;
  --muted:#3e4250;
  --line:rgba(23,50,120,.35);
}
*{box-sizing:border-box}
html,body{margin:0;padding:0;max-width:100%;overflow-x:hidden}
body{
  font-family:Inter,ui-sans-serif,system-ui,-apple-system,Segoe UI,Roboto,sans-serif;
  color:var(--text);
  background: linear-gradient(rgba(19,34,74,.58), rgba(19,34,74,.62)), url(/bg-future.jpg) center/cover fixed no-repeat, linear-gradient(180deg,var(--bg),var(--bg2));
}

.topbar{
  position:sticky;top:0;z-index:60;
  display:flex;flex-direction:column;align-items:center;
  padding:10px 16px 12px;
  background:
    linear-gradient(135deg, rgba(10,24,62,.72), rgba(27,56,128,.56) 45%, rgba(85,104,186,.34)),
    rgba(20,32,72,.62);
  border-bottom:1px solid rgba(115,160,255,.42);
  box-shadow:0 6px 28px rgba(6,14,38,.45), inset 0 1px 0 rgba(175,206,255,.2);
  backdrop-filter:blur(12px) saturate(1.15);
  overflow:hidden;
}
.topbar::before{
  content:"";
  position:absolute; inset:-120% -30% auto -30%; height:220%;
  background:conic-gradient(from 0deg, rgba(102,160,255,.0), rgba(102,160,255,.18), rgba(173,102,255,.18), rgba(102,160,255,.0));
  animation:topbarSpin 20s linear infinite;
  pointer-events:none;
}
.topbar::after{
  content:"";
  position:absolute; left:0; right:0; bottom:0; height:1px;
  background:linear-gradient(90deg, transparent, rgba(132,181,255,.95), transparent);
  box-shadow:0 0 14px rgba(123,171,255,.95);
}
@keyframes topbarSpin{from{transform:rotate(0deg)}to{transform:rotate(360deg)}}

.brand{
  position:relative;
  font-family:"Sora", Inter, ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  font-weight:800;letter-spacing:-.02em;text-decoration:none;
  color:#eaf2ff;
  text-shadow:0 0 12px rgba(112,164,255,.65), 0 0 28px rgba(112,164,255,.35);
  font-size:clamp(1.55rem,2.8vw,2.25rem); line-height:1.02;text-align:center;
  z-index:1;
}
nav{position:relative;z-index:1;display:flex;gap:10px;align-items:center;justify-content:center;flex-wrap:wrap;margin-top:8px;max-width:100%}
nav a{
  color:#e9f1ff;text-decoration:none;opacity:.98;padding:7px 12px;border-radius:11px;
  border:1px solid rgba(116,163,255,.46);
  background:linear-gradient(180deg, rgba(157,194,255,.16), rgba(83,121,205,.12));
  font-weight:600;font-size:.97rem;
  box-shadow:inset 0 1px 0 rgba(196,220,255,.35), 0 6px 16px rgba(8,20,58,.36);
  transition:transform .2s ease, box-shadow .2s ease, border-color .2s ease, background .2s ease;
}
nav a:hover{
  transform:translateY(-1px);
  border-color:rgba(156,195,255,.9);
  background:linear-gradient(180deg, rgba(185,215,255,.3), rgba(93,133,224,.28));
  box-shadow:inset 0 1px 0 rgba(213,230,255,.55), 0 10px 24px rgba(24,60,148,.48), 0 0 16px rgba(107,158,255,.5);
}

.chamber-wrap{
  position:relative;
  min-height:52vh;
  margin:0 auto;
  overflow:hidden;
  perspective:1200px;
  border-bottom:1px solid rgba(95,136,255,.38);
  background:radial-gradient(ellipse at center, rgba(72,112,255,.14), rgba(10,18,42,.22));
}
.bg-wrap{
  position:absolute; inset:-24%;
  background: radial-gradient(circle at 50% 30%, rgba(80,126,255,.24), rgba(9,18,44,.38) 55%, rgba(7,12,30,.44));
  background-size:cover;
  background-position:center;
  filter:blur(2px) saturate(1.15);
  transform:translateZ(-320px) scale(1.28) rotate(1deg);
  animation:bgDrift 40s ease-in-out infinite alternate;
}
@keyframes bgDrift { from{transform:translateZ(-320px) scale(1.28) rotate(-1deg)} to{transform:translateZ(-320px) scale(1.35) rotate(1.2deg)} }

.chamber-glow{position:absolute;left:0;right:0;height:120px;z-index:1;mix-blend-mode:screen;pointer-events:none}
.chamber-glow.top{top:-12px;background:radial-gradient(closest-side, rgba(42,121,255,.56), transparent 72%);animation:glowShift 9s linear infinite}
.chamber-glow.bottom{bottom:-18px;background:radial-gradient(closest-side, rgba(115,52,255,.56), transparent 72%);animation:glowShift 11s linear infinite reverse}
@keyframes glowShift{0%{filter:hue-rotate(0deg)}100%{filter:hue-rotate(360deg)}}

.chamber{
  position:relative; z-index:2;
  max-width:1180px; min-height:50vh;
  margin:0 auto;
  transform-style:preserve-3d;
}
.cube-panel{
  position:absolute;
  width:240px; min-height:130px;
  padding:14px;
  border-radius:14px;
  border:1px solid rgba(104,152,255,.68);
  background:linear-gradient(165deg, rgba(233,241,255,.58), rgba(194,215,255,.34));
  box-shadow:0 0 0 1px rgba(94,140,255,.4) inset,0 14px 45px rgba(7,15,42,.5),0 0 28px rgba(86,141,255,.35);
  color:#0f1e4b;
  cursor:pointer;
  transition:transform .8s cubic-bezier(.2,.7,.15,1), box-shadow .4s ease, filter .4s ease, opacity .4s ease;
  will-change:transform;
}
.cube-panel h3{margin:0 0 8px;font-family:'Sora',sans-serif;font-size:1.06rem;color:#2148b8}
.cube-panel p{margin:0;font-size:.91rem;color:#1e2f64}
.cube-panel:hover{box-shadow:0 0 0 1px rgba(126,170,255,.6) inset,0 16px 52px rgba(8,22,68,.58),0 0 44px rgba(86,141,255,.65)}
.cube-panel.active{outline:2px solid rgba(135,176,255,.8)}
.chamber.focus-mode .cube-panel:not(.active){opacity:.2;filter:blur(1px)}
.cube-panel.flyout{z-index:20 !important;}

main{max-width:1160px;margin:0 auto;padding:34px 20px 80px}
h1{color:#000000}
.hero{padding:34px 0 20px}

.hero-copy-panel{
  display:inline-block;
  max-width:860px;
  padding:18px 20px;
  border:1px solid var(--line);
  border-radius:14px;
  background:rgba(232,238,252,.34);
  box-shadow: inset 0 3px 0 rgba(51,104,255,.45);
  backdrop-filter: blur(4px);
}
.hero-copy-panel h1,.hero-copy-panel .lead{margin-left:0;margin-right:0}
.eyebrow{font-size:.77rem;letter-spacing:.18em;color:#ffffff;text-transform:uppercase}
.hero h1{font-size:clamp(2.1rem,5vw,4.4rem);line-height:1.03;margin:.22em 0 .32em;letter-spacing:-.03em;color:#000000}
.gradient{color:#000000}
.lead{color:#000000;font-size:1.08rem;max-width:760px}
.cta{display:flex;gap:10px;margin:24px 0 14px;flex-wrap:wrap}
.btn{padding:11px 16px;border-radius:10px;text-decoration:none;font-weight:640;border:1px solid var(--line)}
.btn:not(.ghost){background:#2148b8;color:#fff;border-color:#2148b8}
.btn.ghost{background:rgba(189,209,255,.78);color:#0f204d}
.ticker{margin-top:16px;padding:10px 12px;border:1px solid var(--line);border-radius:10px;background:rgba(186,208,255,.72);color:#102a66}

.stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:18px 0 24px}
.stats div,.grid3 article,.layers>div,.tile,.panel,.accordion details,.contact input,.contact textarea,.contact button,.log{background:rgba(232,238,252,.34);border:1px solid var(--line);border-radius:12px;box-shadow: inset 0 3px 0 rgba(51,104,255,.45)}
.stats div{padding:14px}.stats b{display:block;font-size:1.5rem}.stats span{color:var(--muted)}
.grid3{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.grid3 article{padding:16px}
.sub{color:#000000}
.layers{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.layers>div{padding:16px}
.tiles{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.tile{min-height:130px;padding:16px;display:flex;align-items:end;font-weight:650}
.accordion{display:grid;gap:10px}.accordion details{padding:14px}.accordion summary{cursor:pointer;font-weight:650}
.console{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.panel{padding:14px}
.good{color:#27d46b !important;font-weight:700}
.log{margin-top:12px;padding:12px;min-height:220px;overflow:auto;color:#1f3f2d}
.contact{display:grid;gap:10px;max-width:640px}
.contact input,.contact textarea,.contact button{padding:12px;color:var(--text)}
.contact button{font-weight:650;background:#2148b8;color:#fff;border-color:#2148b8}
.contact p,.contact-lead{color:#000000 !important;}

@media (max-width:1000px){
  .brand{font-size:1.9rem}
  nav{justify-content:flex-start;overflow-x:auto;white-space:nowrap;flex-wrap:nowrap;width:100%;padding-bottom:4px}
  nav a{flex:0 0 auto}
  .stats{grid-template-columns:repeat(2,1fr)}
  .grid3,.layers,.tiles,.console{grid-template-columns:1fr}
  .chamber-wrap{min-height:44vh}
  .cube-panel{width:46vw;min-height:120px}
}
@media (max-width:640px){
  main{padding:24px 14px 60px}
  .hero h1{font-size:clamp(1.95rem,8.5vw,2.8rem)}
  .lead{font-size:1rem}
  .stats{grid-template-columns:1fr}
  .chamber-wrap{min-height:62vh}
  .chamber{min-height:60vh}
  .cube-panel{width:min(58vw,220px);min-height:76px;padding:10px}
  .cube-panel h3{font-size:.94rem;margin-bottom:5px}
  .cube-panel p{font-size:.82rem;line-height:1.25}
}

.zorg-signature{
  position:fixed;
  right:10px;
  bottom:8px;
  z-index:70;
  font-family:'Sora', Inter, sans-serif;
  font-size:11px;
  letter-spacing:.02em;
  color:#0a0a0a;
  opacity:.82;
  background:rgba(255,255,255,.26);
  padding:4px 8px;
  border-radius:8px;
  border:1px solid rgba(0,0,0,.14);
  backdrop-filter: blur(2px);
}
.tile-link{display:inline-block;margin-top:6px;font-size:.88rem;color:#0c2a7a;text-decoration:underline;text-underline-offset:2px}
.tile-link:hover{color:#1f56da}
.tile.primary{grid-column:1 / -1;align-items:flex-start;justify-content:center;flex-direction:column;gap:6px}
.tile-sub{font-size:.9rem;color:#1d2f65;opacity:.92}
.tile.primary .tile-link{font-size:.96rem;font-weight:700;word-break:break-all}

.news-hero{padding-bottom:10px}
.news-intro-grid,.news-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.news-intro-grid article,.news-card,.section-head{background:rgba(232,238,252,.34);border:1px solid var(--line);border-radius:12px;box-shadow: inset 0 3px 0 rgba(51,104,255,.45)}
.news-card{transition:background-color .18s ease, box-shadow .18s ease}
.news-card:hover{background:rgba(232,238,252,.9)}
.news-intro-grid article,.news-card{padding:16px}
.news-section{display:grid;gap:14px;margin-top:18px}
.news-list{grid-template-columns:1fr;gap:14px}
.news-card h3{margin:6px 0 10px;color:#fff;font-family:'Sora',sans-serif}
.news-card p,.news-summary,.news-body p,.section-head h2,.news-meta span,.news-meta a{color:#000}
.news-summary{font-weight:600;opacity:.96}
.news-body p{line-height:1.6;margin:0 0 14px}
.news-meta{display:flex;justify-content:space-between;gap:10px;flex-wrap:wrap;font-size:.92rem;opacity:.92}
.section-head{padding:16px}
.section-head h2{margin:6px 0 0}
@media (max-width:1000px){.news-intro-grid{grid-template-columns:1fr}}

.platform-hero{padding:10px 0 18px}
.platform-hero h1{margin:.1em 0 .25em}
.platform-tiles{align-items:stretch}
.platform-card{align-items:flex-start;justify-content:flex-start;flex-direction:column;gap:8px;font-weight:500;line-height:1.55}
.platform-card h2,.platform-card h3{margin:0;color:#0b1d4f;font-family:'Sora',sans-serif}
.platform-card p{margin:0;color:#102044}
.platform-kicker{font-size:.75rem;letter-spacing:.16em;text-transform:uppercase;color:#2148b8 !important;font-weight:800}
.platform-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:8px}
.platform-quickstart{display:grid;gap:12px;margin-top:14px}
.platform-quickstart pre{margin:0;padding:16px;overflow:auto;border-radius:12px;border:1px solid var(--line);background:rgba(9,20,52,.82);color:#eaf2ff;box-shadow:inset 0 3px 0 rgba(51,104,255,.45)}
.platform-quickstart code{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;font-size:.92rem;white-space:pre}

.solution-tiles,.contact-tiles{align-items:stretch}
.solution-card{min-height:unset}
.solution-card h2,.solution-card h3{line-height:1.18}
.solution-card p{line-height:1.58}
.contact-email{font-size:clamp(1.35rem,3vw,2.15rem);font-weight:800;color:#0b2f9f;text-decoration:none;word-break:break-word}
.contact-email:hover{text-decoration:underline;text-underline-offset:4px}

/* Readability panels for page headings on image backgrounds */
.platform-hero{
  display:block;
  padding:18px 20px;
  margin:0 0 18px;
  border:1px solid var(--line);
  border-radius:14px;
  background:rgba(232,238,252,.34);
  box-shadow: inset 0 3px 0 rgba(51,104,255,.45);
  backdrop-filter: blur(4px);
}

/* Global readability style: keep standalone dark text on translucent panels */
main > .sub,
main > .contact-lead,
main > p:not([class]),
main > h1 + p,
main > section + .sub{
  display:block;
  padding:14px 16px;
  margin:14px 0;
  border:1px solid var(--line);
  border-radius:12px;
  background:rgba(232,238,252,.34);
  box-shadow: inset 0 3px 0 rgba(51,104,255,.45);
  backdrop-filter: blur(4px);
}


/* Site-wide readable dark text palette and matched solution tiles */
:root{--dark-blue:#071a44;--dark-blue-2:#102044;--black-text:#05070d}
body, main, p, li, summary, span, article, details{color:var(--black-text)}
h1,h2,h3,h4,.section-head h2,.platform-card h2,.platform-card h3,.news-card h3,.cube-panel h3{color:var(--dark-blue) !important}
.sub,.lead,.contact-lead,.news-summary,.news-body p,.platform-card p,.solution-card p,.news-intro-grid article p{color:var(--black-text) !important}
.eyebrow,.platform-kicker{color:var(--dark-blue) !important}
a,.tile-link,.contact-email,.news-meta a{color:var(--dark-blue) !important}
a:hover,.tile-link:hover,.contact-email:hover{color:#000 !important}
.solution-principles{align-items:stretch}
.solution-principles article,.solution-card{
  display:flex;
  flex-direction:column;
  gap:10px;
  min-height:260px;
  padding:18px;
  background:rgba(232,238,252,.38);
  border:1px solid var(--line);
  border-radius:14px;
  box-shadow:inset 0 3px 0 rgba(51,104,255,.38);
}
.solution-principles article h3,.solution-card h3,.solution-card h2{font-family:'Sora',sans-serif;margin:0 0 4px;letter-spacing:-.01em}
.solution-principles article p,.solution-card p{font-size:.98rem;line-height:1.58;margin:0;font-weight:500}
.example-line{margin-top:auto !important;padding-top:10px;border-top:1px solid rgba(23,50,120,.24)}
.solution-tiles{gap:14px}

.merchandise-tiles{align-items:stretch}
.merchandise-card{
  display:grid;
  grid-template-columns:minmax(220px,360px) minmax(0,1fr);
  align-items:center;
  gap:20px;
  min-height:unset;
}
.merch-preview{
  display:grid;
  place-items:center;
  width:100%;
  aspect-ratio:1;
  padding:12px;
  border:1px solid rgba(23,50,120,.28);
  border-radius:14px;
  background:linear-gradient(145deg, rgba(232,238,252,.46), rgba(183,205,255,.3));
  box-shadow:inset 0 3px 0 rgba(51,104,255,.28), 0 16px 38px rgba(8,20,58,.18);
}
.sticker-art{
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
  border-radius:10px;
  box-shadow:0 18px 42px rgba(8,20,58,.24);
}
.sticker-placeholder{
  display:grid;
  place-items:center;
  width:min(100%,260px);
  aspect-ratio:1;
  border:1px dashed rgba(7,26,68,.56);
  border-radius:18px;
  background:
    linear-gradient(135deg, rgba(255,255,255,.3), rgba(214,226,255,.2)),
    rgba(232,238,252,.48);
  color:#071a44;
  font-family:'Sora', Inter, sans-serif;
  font-weight:800;
  text-align:center;
  padding:18px;
}
.merch-copy{display:flex;flex-direction:column;gap:10px;min-width:0}
.merch-copy h2{margin:0;color:var(--dark-blue) !important;font-family:'Sora',sans-serif;line-height:1.18}
.merch-copy p{margin:0;color:var(--black-text) !important;line-height:1.58;font-weight:500}
.merch-price{
  width:max-content;
  max-width:100%;
  padding:7px 12px;
  border:1px solid rgba(23,50,120,.26);
  border-radius:10px;
  background:rgba(255,255,255,.46);
  color:#071a44 !important;
  font-family:'Sora', Inter, sans-serif;
  font-size:1.35rem;
  line-height:1;
  font-weight:800 !important;
}
.merch-specs{
  display:grid;
  gap:6px;
  margin:0;
  padding:0;
  list-style:none;
}
.merch-specs li{
  position:relative;
  padding-left:16px;
  line-height:1.45;
  font-weight:600;
}
.merch-specs li::before{
  content:"";
  position:absolute;
  left:0;
  top:.62em;
  width:7px;
  height:7px;
  border-radius:50%;
  background:#2148b8;
  box-shadow:0 0 0 3px rgba(33,72,184,.12);
}
.merch-actions{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  align-items:center;
  margin-top:4px;
}
.merch-actions .btn{white-space:normal;text-align:center}
.merch-status{
  margin-top:6px !important;
  padding-top:10px;
  border-top:1px solid rgba(23,50,120,.24);
  font-size:.94rem;
}
@media (max-width:760px){
  .merchandise-card{grid-template-columns:1fr}
  .merch-preview{max-width:340px;margin:0 auto}
}


.news-image{margin:0 0 14px;padding:0;overflow:hidden;border-radius:12px;border:1px solid rgba(23,50,120,.28);background:rgba(232,238,252,.42)}
.news-image img{display:block;width:100%;max-height:420px;object-fit:cover;object-position:center}
.news-image figcaption{padding:8px 10px;font-size:.82rem;color:#05070d;background:rgba(232,238,252,.72)}
/* Requested 2026-05-07: all button text should render white. */
.btn, .btn:visited, .btn.ghost, .btn.ghost:visited, button, .contact button, nav a, nav a:visited { color:#ffffff !important; }
.btn:hover, .btn.ghost:hover, button:hover, .contact button:hover, nav a:hover { color:#ffffff !important; }
/* Per-article AI News anchors for direct links from X and other short-form posts. */
.news-card{scroll-margin-top:110px}
/* Keep AI News archive panels constrained to the same responsive content width as the other site sections. */
.news-section,.news-list,.news-card,.section-head{min-width:0;max-width:100%}
.news-card,.news-card *,.section-head,.section-head *{overflow-wrap:anywhere}
.news-card img{max-width:100%;height:auto}
.news-links{display:flex;gap:12px;flex-wrap:wrap;align-items:center;min-width:0;max-width:100%}
.article-shortcut-link,
.copy-article-link{appearance:none;border:1px solid var(--line);border-radius:9px;background:#2148b8;color:#ffffff !important;font-weight:700;padding:7px 10px;cursor:pointer;font:inherit;text-decoration:none}
.article-shortcut-link:hover,
.copy-article-link:hover{background:#1b3f9f;color:#ffffff !important;text-decoration:none}

/* Platform quickstart spacing: keep added notes on the same full-width translucent tile rhythm as existing platform cards. */
.platform-note-tiles{margin-top:14px;margin-bottom:14px;gap:12px;grid-template-columns:repeat(2,minmax(0,1fr))}
.platform-note-card{min-height:unset;padding:16px}
.platform-quickstart + .platform-note-tiles{margin-top:14px}
.platform-note-tiles + .sub{margin-top:14px}
@media (max-width:1000px){.platform-note-tiles{grid-template-columns:1fr}}
