:root {
  --paper: #050505 !important;
  --paper-2: #0a0a0a !important;
  --surface: #111111 !important;
  --surface-2: #0c0c0c !important;
  --ink: #f5f0e6 !important;
  --ink-soft: #ded4c2 !important;
  --muted: #a9a092 !important;
  --faint: #766f65 !important;
  --line: rgba(214, 168, 75, .18) !important;
  --line-strong: rgba(248, 231, 178, .34) !important;
  --emerald: #d6a84b !important;
  --emerald-text: #f0cf83 !important;
  --emerald-bright: #f8e7b2 !important;
  --emerald-deep: #a56a1f !important;
  --gold: #d6a84b !important;
  --gold-bright: #f8e7b2 !important;
  --gold-deep: #a56a1f !important;
  --forest: #080705 !important;
  --forest-ink: #f5f0e6 !important;
  --forest-muted: #b7aa94 !important;
  --forest-line: rgba(214, 168, 75, .22) !important;
  --shadow-sm: 0 1px 0 rgba(255,255,255,.025), 0 12px 32px rgba(0,0,0,.46) !important;
  --shadow: 0 24px 72px rgba(0,0,0,.56) !important;
  --glow: 0 0 44px rgba(214,168,75,.12) !important;
}

html { color-scheme: dark; background: #050505; }

body {
  color: var(--ink) !important;
  background:
    radial-gradient(ellipse 68% 48% at 50% -8%, rgba(248,231,178,.105), transparent 65%),
    radial-gradient(ellipse 46% 34% at 4% 18%, rgba(165,106,31,.09), transparent 72%),
    linear-gradient(180deg, #080808 0%, #050505 45%, #080705 100%) !important;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: .22;
  background-image: linear-gradient(rgba(248,231,178,.025) 1px, transparent 1px), linear-gradient(90deg, rgba(248,231,178,.025) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, #000, transparent 72%);
}

/* Wide cinematic shell: replaces the legacy 1180px marketing-site cap. */
.wrap,
header .nav,
footer .foot {
  width:min(1760px, calc(100% - 48px)) !important;
  max-width:1760px !important;
  margin-left:auto !important;
  margin-right:auto !important;
}

header {
  background: rgba(5,5,5,.82) !important;
  border-color: rgba(214,168,75,.16) !important;
  box-shadow: 0 12px 40px rgba(0,0,0,.24);
}

.brand-logo {
  filter: drop-shadow(0 5px 10px rgba(0,0,0,.75)) drop-shadow(0 0 11px rgba(248,231,178,.22)) !important;
  transform: translateZ(0);
  border-radius:8px;
  object-fit:cover !important;
}

.glyph{overflow:hidden;padding:0 !important}.glyph img{width:100%;height:100%;display:block;object-fit:cover;border-radius:10px}.visual-logo{position:absolute;inset:14%;width:72%;height:72%;object-fit:contain;border-radius:18px;filter:drop-shadow(0 18px 28px rgba(0,0,0,.55));z-index:1}.visual-lines{position:relative;z-index:2;opacity:.32}.legal-grid:has(.legal-card:only-child){grid-template-columns:1fr}.legal-grid:has(.legal-card:only-child) .legal-card{min-height:auto}

.brand-name b,
.eyebrow,
.launch-eyebrow,
a:not(.btn):hover { color: #f0cf83 !important; }

.btn,
button,
input,
textarea,
select { border-color: rgba(214,168,75,.24) !important; }

.btn-primary,
.btn-gold,
.nav-cta,
button[type="submit"] {
  color: #171006 !important;
  background: linear-gradient(135deg, #fff4cc 0%, #d6a84b 42%, #f8e7b2 70%, #a56a1f 100%) !important;
  border: 1px solid rgba(255,244,204,.72) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.7), 0 10px 30px rgba(165,106,31,.22) !important;
}

.btn-primary:hover,
.btn-gold:hover,
.nav-cta:hover,
button[type="submit"]:hover {
  color: #080604 !important;
  transform: translateY(-2px);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.82), 0 16px 42px rgba(214,168,75,.3) !important;
}

.btn-secondary,
.btn-outline,
.back {
  color: #ead9ad !important;
  background: linear-gradient(180deg, rgba(248,231,178,.075), rgba(165,106,31,.035)) !important;
  border-color: rgba(214,168,75,.32) !important;
}

.aurora .a1,
.aurora .a2 {
  background: radial-gradient(circle, rgba(214,168,75,.2), transparent 68%) !important;
}

h1 .product,
.gradient-text {
  background: linear-gradient(115deg, #fff4cc 8%, #d6a84b 42%, #f8e7b2 62%, #a56a1f 96%) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
}

.studio,
.card,
.rail,
.detail,
.legal,
.note,
.stat,
.fit-tool,
.qsb-hook,
.cinfo,
.contact-form,
.reserve-card {
  background: linear-gradient(145deg, rgba(19,18,16,.96), rgba(7,7,7,.98)) !important;
  border-color: rgba(214,168,75,.18) !important;
  box-shadow: inset 0 1px 0 rgba(255,244,204,.025), 0 22px 60px rgba(0,0,0,.42) !important;
}

.studio:hover,
.card:hover,
.qsb-hook:hover {
  border-color: rgba(248,231,178,.38) !important;
  box-shadow: inset 0 1px 0 rgba(255,244,204,.05), 0 24px 68px rgba(0,0,0,.54), 0 0 28px rgba(214,168,75,.08) !important;
}

.save-banner {
  background: linear-gradient(155deg, #161108, #080705) !important;
  border-color: #d6a84b !important;
}

.product-tab.active {
  color:#f5f0e6 !important;
  background:rgba(214,168,75,.1) !important;
  border-color:rgba(248,231,178,.28) !important;
}

.glyph {
  color:#f0cf83 !important;
  background:rgba(214,168,75,.1) !important;
  border-color:rgba(214,168,75,.4) !important;
}

.detail-head {
  background:radial-gradient(circle at 16% 10%,rgba(214,168,75,.16),transparent 38%),linear-gradient(135deg,rgba(255,255,255,.043),rgba(255,255,255,.02)) !important;
}

.btn-product {
  color:#171006 !important;
  background:linear-gradient(135deg,#fff4cc 0%,#d6a84b 48%,#a56a1f 100%) !important;
  border-color:rgba(248,231,178,.55) !important;
}

.visual {
  color:#f5f0e6 !important;
  background:radial-gradient(circle at 25% 12%,rgba(248,231,178,.12),transparent 40%),linear-gradient(145deg,rgba(214,168,75,.1),rgba(6,6,6,.94)) !important;
  border-color:rgba(214,168,75,.28) !important;
}

.visual::before {
  background:rgba(214,168,75,.16) !important;
  border-color:rgba(248,231,178,.22) !important;
  box-shadow:0 0 64px rgba(214,168,75,.12) !important;
}

.story-card,
.kicker,
.kicker b {
  background:rgba(214,168,75,.075) !important;
  border-color:rgba(214,168,75,.26) !important;
}

.kicker,
.kicker b { color:#f0cf83 !important; }

.journey-step b {
  color:#f0cf83 !important;
  background:rgba(214,168,75,.12) !important;
  border-color:rgba(214,168,75,.34) !important;
}

.st-live { color: #f8e7b2 !important; background: rgba(214,168,75,.12) !important; border-color: rgba(248,231,178,.35) !important; }
.st-beta { color: #d8c39a !important; background: rgba(255,255,255,.045) !important; border-color: rgba(214,168,75,.2) !important; }
.st-soon { color: #998f81 !important; background: rgba(255,255,255,.025) !important; border-color: rgba(255,255,255,.08) !important; }

footer { background: #070706 !important; border-color: rgba(214,168,75,.14) !important; }

/* Live product cockpit: real DOM, no prerecorded imagery. */
.gold-cockpit {
  position: relative;
  width: 100%;
  min-height: 430px;
  overflow: hidden;
  border: 1px solid rgba(248,231,178,.32);
  border-radius: 22px;
  color: #e9dfcf;
  background: linear-gradient(155deg, rgba(21,19,16,.98), rgba(4,4,4,.99) 64%);
  box-shadow: 0 36px 90px rgba(0,0,0,.72), 0 0 54px rgba(214,168,75,.1), inset 0 1px rgba(255,244,204,.09);
  isolation: isolate;
}

.hero-cockpit-shell { min-width:0; align-self:center; }
.hero .gold-cockpit { min-height:390px; }
.hero .cockpit-grid { min-height:290px; }

.gold-cockpit::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at 62% 4%, rgba(248,231,178,.12), transparent 36%), linear-gradient(rgba(214,168,75,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(214,168,75,.035) 1px, transparent 1px);
  background-size: auto, 30px 30px, 30px 30px;
  z-index: -1;
}

.cockpit-top {
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  border-bottom: 1px solid rgba(214,168,75,.16);
  background: rgba(0,0,0,.35);
}

.cockpit-brand { display:flex; align-items:center; gap:9px; font-size:11px; font-weight:700; letter-spacing:.12em; text-transform:uppercase; color:#e8d6a9; }
.cockpit-brand img { width:25px; height:25px; object-fit:contain; filter:drop-shadow(0 0 8px rgba(248,231,178,.25)); }
.cockpit-lights { display:flex; gap:6px; }
.cockpit-lights i { width:7px; height:7px; border-radius:50%; background:#574a32; box-shadow:inset 0 1px rgba(255,255,255,.25); }
.cockpit-lights i:first-child { background:#f0cf83; box-shadow:0 0 10px rgba(240,207,131,.55); }
.cockpit-state { font:600 10px var(--mono, monospace); letter-spacing:.08em; color:#bdae90; }

.cockpit-grid { display:grid; grid-template-columns: 1.08fr .92fr; min-height:330px; }
.cockpit-code { position:relative; padding:18px 18px 16px; border-right:1px solid rgba(214,168,75,.14); background:rgba(3,3,3,.38); }
.cockpit-tabs { display:flex; gap:14px; margin-bottom:17px; font:600 10px var(--mono, monospace); color:#776e61; }
.cockpit-tabs .active { color:#f0cf83; }
.code-line { display:block; min-height:18px; font:500 11px/1.65 var(--mono, monospace); color:#9c9487; white-space:pre; opacity:0; transform:translateY(5px); animation:goldCodeIn .34s forwards; }
.code-line .k { color:#f8e7b2; }
.code-line .s { color:#c99a45; }
.code-line .n { color:#ded4c2; }
.code-caret { display:inline-block; width:6px; height:13px; margin-left:3px; vertical-align:-2px; background:#f0cf83; animation:goldBlink .8s steps(1) infinite; }

.cockpit-preview { padding:18px; display:flex; flex-direction:column; gap:11px; }
.preview-label { display:flex; align-items:center; justify-content:space-between; font:600 10px var(--mono, monospace); color:#8f8679; }
.preview-label b { color:#f0cf83; font-weight:600; }
.preview-site { flex:1; position:relative; overflow:hidden; padding:16px; border:1px solid rgba(214,168,75,.19); border-radius:13px; background:linear-gradient(145deg,#16130e,#090908); }
.preview-nav { display:flex; justify-content:space-between; align-items:center; margin-bottom:24px; }
.preview-mark { width:46px; height:7px; border-radius:9px; background:linear-gradient(90deg,#f8e7b2,#a56a1f); }
.preview-links { display:flex; gap:6px; }
.preview-links i { width:22px; height:3px; border-radius:4px; background:#554a38; }
.preview-title { width:78%; height:10px; border-radius:8px; background:#e6d6af; box-shadow:0 18px 0 #6f624d; }
.preview-copy { width:92%; height:5px; margin-top:37px; border-radius:8px; background:#453e34; box-shadow:0 11px 0 #342f28, 0 22px 0 #342f28; }
.preview-cta { width:72px; height:23px; margin-top:41px; border-radius:8px; background:linear-gradient(135deg,#f8e7b2,#b47b28); box-shadow:0 7px 20px rgba(165,106,31,.2); }
.preview-orbit { position:absolute; right:-28px; bottom:-31px; width:116px; height:116px; border:1px solid rgba(248,231,178,.25); border-radius:50%; box-shadow:0 0 0 17px rgba(214,168,75,.035), 0 0 0 35px rgba(214,168,75,.02); animation:goldOrbit 14s linear infinite; }
.preview-orbit::after { content:""; position:absolute; width:8px; height:8px; border-radius:50%; top:8px; left:18px; background:#f8e7b2; box-shadow:0 0 14px #d6a84b; }

.cockpit-bottom { display:grid; grid-template-columns:repeat(4,1fr); border-top:1px solid rgba(214,168,75,.14); background:rgba(0,0,0,.4); }
.cockpit-metric { padding:11px 13px; border-right:1px solid rgba(214,168,75,.1); }
.cockpit-metric:last-child { border-right:0; }
.cockpit-metric span { display:block; font:600 8px var(--mono, monospace); color:#776f63; text-transform:uppercase; letter-spacing:.1em; }
.cockpit-metric b { display:block; margin-top:4px; font-size:10px; color:#d9c79d; }
.cockpit-metric b::before { content:""; display:inline-block; width:5px; height:5px; margin-right:6px; border-radius:50%; background:#d6a84b; box-shadow:0 0 7px rgba(214,168,75,.6); }

.cockpit-sheen { position:absolute; inset:-40% auto -40% -35%; width:22%; transform:rotate(18deg); background:linear-gradient(90deg,transparent,rgba(255,244,204,.045),transparent); animation:goldSheen 8s ease-in-out infinite; pointer-events:none; }

@keyframes goldCodeIn { to { opacity:1; transform:none; } }
@keyframes goldBlink { 50% { opacity:0; } }
@keyframes goldOrbit { to { transform:rotate(360deg); } }
@keyframes goldSheen { 0%,30% { left:-35%; } 65%,100% { left:120%; } }

@media (max-width: 760px) {
  .wrap,
  header .nav,
  footer .foot {
    width:calc(100% - 28px) !important;
  }

  .gold-cockpit { min-height:520px; border-radius:17px; }
  .cockpit-grid { grid-template-columns:1fr; }
  .cockpit-code { min-height:225px; border-right:0; border-bottom:1px solid rgba(214,168,75,.14); }
  .cockpit-preview { min-height:210px; }
  .cockpit-bottom { grid-template-columns:1fr 1fr; }
  .cockpit-metric:nth-child(2) { border-right:0; }
  .cockpit-metric:nth-child(-n+2) { border-bottom:1px solid rgba(214,168,75,.1); }
  .hero-cockpit-shell { margin-top:30px; }
  .hero .gold-cockpit { min-height:500px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior:auto !important; animation-duration:.001ms !important; animation-iteration-count:1 !important; transition-duration:.001ms !important; }
  .code-line { opacity:1; transform:none; }
}

/* The private no-index launch console uses the same brand without altering its behavior. */
body > header .mark { background:linear-gradient(145deg,#19150e,#070706) !important; border:1px solid rgba(248,231,178,.28); box-shadow:0 8px 24px rgba(0,0,0,.45); }
body > header .mark svg { opacity:0; }
body > header .mark::after { content:"JS"; color:#f0cf83; font:800 13px Georgia,serif; letter-spacing:-.08em; }
