/* Mixon Grows HUD v2: original multi-page theme with the mainframe skin */

*,*::before,*::after { box-sizing: border-box; }
:root {
  --gold: #e0b257; --gold-light: #f0d28a;
  --bg: #0e0e11; --hero-bg: #0a0a0c; --panel: #17171b; --panel-2: #1c1c1f; --footer: #0b0b0d;
  --text: #fafafa; --muted: #9b9ba1; --quiet: #6f6f78;
  --line: rgba(250,250,250,.10); --gold-line: rgba(224,178,87,.22);
  --max: 1180px; --r: 8px;
  --display: Fraunces, Georgia, serif;
  --mono: "IBM Plex Mono", ui-monospace, monospace;
  --ease: cubic-bezier(.2,.8,.2,1);
}

/* cross-page transition: the futuristic feel between pages */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: vtOut .22s both cubic-bezier(.2,.8,.2,1); }
::view-transition-new(root) { animation: vtIn .38s both cubic-bezier(.2,.8,.2,1); }
@keyframes vtOut { to { opacity: 0; transform: translateY(-8px); } }
@keyframes vtIn { from { opacity: 0; transform: translateY(10px); } }
@media (prefers-reduced-motion: reduce) {
  ::view-transition-old(root), ::view-transition-new(root) { animation: none; }
}

body { margin: 0; background: var(--bg); color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, sans-serif; letter-spacing: 0; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

h1, h2 { font-family: var(--display); font-weight: 500; line-height: 1.1; margin: 0 0 14px; }
h2 { font-size: clamp(28px,3.4vw,40px); }
.lead { color: var(--muted); font-size: 16px; line-height: 1.65; max-width: 60ch; margin: 0; }
.kicker { font-family: var(--mono); font-size: 11.5px; color: var(--gold); margin-bottom: 14px; }

.btn { display: inline-block; padding: 12px 22px; border-radius: var(--r); font-size: 14px;
  font-weight: 600; background: var(--gold); color: #121214; border: 1px solid var(--gold);
  transition: transform .16s var(--ease), background .16s var(--ease); }
.btn:hover { transform: translateY(-1px); background: var(--gold-light); }
.btn.ghost { background: transparent; color: var(--text); border-color: #2f2f32; font-weight: 500; }

/* ============ header: centered, mirrors the live site ============ */
.site-head { position: sticky; top: 0; z-index: 50; background: rgba(10,10,12,.88);
  backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.site-head .bar { max-width: var(--max); margin: 0 auto; padding: 14px 24px;
  display: flex; align-items: center; justify-content: center; gap: 26px; }
.logo { font-family: var(--display); font-weight: 500; font-size: 19px;
  display: inline-flex; align-items: center; gap: 9px; }
.logo span { color: var(--gold); }
.logo .brand-bars { height: 19px; width: auto; fill: var(--gold); }
nav.deck { display: flex; gap: 2px; }
nav.deck a { font-family: var(--mono); font-size: 12.5px; color: var(--muted);
  padding: 8px 11px; border: 1px solid transparent; border-radius: 6px;
  white-space: nowrap; transition: all .16s var(--ease); }
nav.deck a:hover { color: var(--text); border-color: var(--gold-line);
  background: rgba(224,178,87,.04); }
nav.deck a[aria-current="page"] { color: var(--gold); border-color: var(--gold-line); }
nav.deck a.login { color: var(--gold); }
.head-cta { padding: 9px 16px; font-size: 13px; }
.menu-cta { display: none; }
.menu-toggle { display: none; background: none; border: 1px solid #2f2f32; border-radius: 6px;
  width: 42px; height: 38px; cursor: pointer; padding: 0; align-items: center;
  justify-content: center; flex-direction: column; gap: 4px; flex-shrink: 0; }
.menu-toggle span { display: block; width: 16px; height: 2px; background: var(--text);
  transition: transform .2s var(--ease), opacity .2s var(--ease); }
.site-head.open .menu-toggle span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.site-head.open .menu-toggle span:nth-child(2) { opacity: 0; }
.site-head.open .menu-toggle span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ============ HUD hero (homepage) ============ */
.hero { position: relative; height: 82svh; min-height: 560px; background: var(--hero-bg);
  overflow: hidden; border-bottom: 1px solid var(--line); }
#space { position: absolute; inset: 0; width: 100%; height: 100%; cursor: grab; }
#space.grabbing { cursor: grabbing; }
.hud { position: absolute; inset: 0; pointer-events: none;
  display: flex; flex-direction: column; align-items: center; }
.hud .statusrow { font-family: var(--mono); font-size: 11px; color: var(--quiet);
  display: flex; gap: 24px; justify-content: center; padding-top: 26px; }
.hud .statusrow b { color: var(--gold); font-weight: 500; }
.hud .statusrow .dot { display: inline-block; width: 5px; height: 5px; border-radius: 50%;
  background: var(--gold); margin-right: 7px; vertical-align: 1px;
  animation: pulse 2.6s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .35; } }
.hud h1.hero-title { font-size: clamp(28px,3.4vw,44px); margin: 20px 24px 0; text-align: center; }
.hud h1.hero-title em { font-style: normal; color: var(--gold); }

/* command deck panel, left side of the hero */
.deckpanel { position: absolute; left: 32px; top: 50%; transform: translateY(-50%);
  width: 330px; pointer-events: auto; background: rgba(14,14,17,.78);
  border: 1px solid var(--line); border-radius: var(--r); padding: 22px 22px 24px; }
.deckpanel h4 { font-family: var(--mono); font-size: 10.5px; font-weight: 500;
  color: var(--quiet); margin: 0 0 14px; display: flex; align-items: center; gap: 10px; }
.deckpanel h4::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.deckpanel h4 em { font-style: normal; color: var(--gold); }
.deckpanel p.pitch { margin: 0 0 18px; color: var(--muted); font-size: 14.5px; line-height: 1.65; }
.deckpanel .cta { display: flex; flex-direction: column; gap: 10px; }
.deckpanel .btn { text-align: center; }
.deckpanel .front-door { margin: 16px 0 0; font-size: 12.5px; color: var(--quiet); line-height: 1.6; }

.hud .herobottom { margin-top: auto; text-align: center; padding: 0 24px 30px; }
.hint { font-family: var(--mono); font-size: 10.5px; color: var(--quiet); }
.tick { position: absolute; width: 13px; height: 13px; border: 1px solid var(--gold-line); }
.tick.tl { top: 12px; left: 12px; border-right: 0; border-bottom: 0; }
.tick.tr { top: 12px; right: 12px; border-left: 0; border-bottom: 0; }
.tick.bl { bottom: 12px; left: 12px; border-right: 0; border-top: 0; }
.tick.br { bottom: 12px; right: 12px; border-left: 0; border-top: 0; }

/* ============ inner page hero ============ */
.page-head { padding: 74px 0 60px; border-bottom: 1px solid var(--line);
  background: var(--hero-bg); }
.page-head h1 { font-size: clamp(32px,4.2vw,52px); max-width: 18ch; }
.page-head h1 em { font-style: normal; color: var(--gold); }

/* ============ bands ============ */
section.band { padding: 84px 0; }
section.band.alt { background: #131316; border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line); }

.cards { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; margin-top: 40px; }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r);
  padding: 26px 24px 28px; transition: border-color .18s var(--ease); display: block; }
a.card:hover { border-color: var(--gold-line); }
.card .n { font-family: var(--mono); font-size: 11px; color: var(--gold); margin-bottom: 12px; }
.card h3 { font-family: var(--display); font-weight: 500; font-size: 18px; margin: 0 0 9px; }
.card p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.62; }
.card .go { display: inline-block; margin-top: 14px; font-family: var(--mono); font-size: 11.5px;
  color: var(--gold); }

.steps { display: grid; grid-template-columns: repeat(3,1fr); gap: 0; margin-top: 40px;
  border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.steps > div { padding: 28px 26px 30px; border-right: 1px solid var(--line); background: var(--panel); }
.steps > div:last-child { border-right: 0; }
.steps .n { font-family: var(--mono); font-size: 11px; color: var(--gold); margin-bottom: 12px; }
.steps h3 { font-family: var(--display); font-weight: 500; font-size: 17px; margin: 0 0 8px; }
.steps p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.6; }

.video-frame { border: 1px solid var(--line); border-radius: var(--r); overflow: hidden;
  background: var(--panel); margin-top: 40px; }
.video-frame video { width: 100%; display: block; }

.about-grid { display: grid; grid-template-columns: 300px 1fr; gap: 48px; align-items: center; }
.about-grid img { border-radius: var(--r); border: 1px solid var(--line); }
.about-grid p { color: var(--muted); font-size: 15.5px; line-height: 1.7; max-width: 58ch; }

.note-panel { margin-top: 40px; border: 1px dashed rgba(224,178,87,.35); border-radius: var(--r);
  padding: 22px 24px; font-size: 14px; color: var(--muted); line-height: 1.65; max-width: 70ch; }
.note-panel b { color: var(--gold); font-weight: 600; }

.book { text-align: center; padding: 96px 0 104px; background: var(--footer);
  border-top: 1px solid var(--line); }
.book h2 { font-size: clamp(30px,4vw,46px); }
.book p { color: var(--muted); max-width: 54ch; margin: 0 auto 28px; font-size: 15.5px; line-height: 1.65; }

/* ============ marquee: works with your apps ============ */
.logo-marquee { overflow: hidden; border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line); padding: 22px 0; margin-top: 44px; }
.marquee-track { display: flex; gap: 44px; width: max-content;
  animation: marquee 32s linear infinite; }
.marquee-item { display: flex; gap: 10px; align-items: center;
  font-family: var(--mono); font-size: 12.5px; color: var(--muted); white-space: nowrap; }
.marquee-item img { height: 20px; width: 20px; }
@keyframes marquee { to { transform: translateX(-50%); } }
.video-note { font-size: 13px; color: var(--quiet); margin: 18px 0 0; }

.steps.four { grid-template-columns: repeat(4,1fr); }

.check-list { display: grid; gap: 13px; margin-top: 30px; max-width: 640px; }
.check-item { display: flex; gap: 12px; align-items: center;
  color: var(--muted); font-size: 14.5px; line-height: 1.6; }
.check-item p { margin: 0; }
.check-item svg { width: 18px; height: 18px; flex-shrink: 0;
  stroke: var(--gold); fill: none; stroke-width: 2; }

.auto-response { display: none; margin-top: 22px; border: 1px solid var(--gold-line);
  border-radius: var(--r); background: rgba(224,178,87,.05); padding: 18px 20px; }
.auto-response.is-visible { display: block; }
.auto-response strong { font-family: var(--mono); font-size: 11.5px; font-weight: 500;
  color: var(--gold); display: block; margin-bottom: 8px; }
.auto-response p { margin: 0 0 10px; color: var(--text); font-size: 14.5px; line-height: 1.65; }
.auto-response .small { font-size: 12.5px; color: var(--quiet); }
.auto-response .small a { color: var(--gold); }
.form-note { font-size: 13px; color: var(--quiet); margin: 14px 0 0; }

/* ============ article / checklist ============ */
.article { max-width: 720px; }
.article h2 { font-size: clamp(22px,2.6vw,28px); margin-top: 44px; }
.article p { color: var(--muted); font-size: 15.5px; line-height: 1.75; }
.article ul { padding-left: 20px; margin: 18px 0; display: grid; gap: 12px; }
.article li { color: var(--muted); font-size: 15px; line-height: 1.7; }
.article li::marker { color: var(--gold); }
.checklist-group { margin-top: 44px; }
.checklist-group h2 { font-size: clamp(20px,2.4vw,26px); }
.checklist-group ol { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 12px; }
.checklist-group ol li { background: var(--panel); border: 1px solid var(--line);
  border-radius: var(--r); padding: 16px 18px; color: var(--muted);
  font-size: 14.5px; line-height: 1.65; }
.checklist-group ol li b { color: var(--text); font-weight: 600; }

/* ============ footer: mirrors the live site ============ */
footer.site { background: var(--footer); border-top: 1px solid var(--line); padding: 44px 0 38px; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1.1fr; gap: 36px; }
.footer-grid .logo { font-size: 18px; }
.footer-grid .small { font-size: 13px; color: var(--quiet); margin: 10px 0 0; line-height: 1.6; }
.footer-grid .small a { color: var(--muted); }
.footer-grid .small a:hover { color: var(--text); }
.footer-links { display: grid; gap: 8px; align-content: start; }
.footer-links a { font-size: 13.5px; color: var(--muted); }
.footer-links a:hover { color: var(--text); }
.text-link { display: inline-block; margin-top: 10px; font-size: 13.5px; color: var(--gold); }

/* ============ forms (contact) ============ */
.form { max-width: 640px; margin-top: 40px; display: grid; gap: 18px; }
.form label { display: grid; gap: 7px; font-size: 13.5px; color: var(--muted); }
.form input, .form select, .form textarea { font: inherit; color: var(--text);
  background: #111114; border: 1px solid #2f2f32; border-radius: var(--r);
  padding: 12px 14px; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none;
  border-color: var(--gold-line); }
.form textarea { min-height: 110px; resize: vertical; }
.form .btn { justify-self: start; }

.globe-spacer { height: 0; }

@media (max-width: 900px) {
  .site-head .bar { flex-wrap: wrap; gap: 10px; padding: 12px 16px; justify-content: space-between; }
  .logo { font-size: 17px; }
  .head-cta { display: none; }
  .menu-toggle { display: inline-flex; }
  nav.deck a.menu-cta { display: block; background: var(--gold); color: #121214; font-weight: 600;
    text-align: center; border-radius: var(--r); padding: 13px 12px; margin-top: 10px;
    font-family: Inter, sans-serif; font-size: 14px; }
  nav.deck { display: none; order: 3; width: 100%; flex-direction: column; gap: 2px;
    border-top: 1px solid var(--line); margin-top: 10px; padding-top: 10px; }
  .site-head.open nav.deck { display: flex; }
  nav.deck a { font-size: 13.5px; padding: 12px; }
  .statusrow { flex-wrap: wrap; gap: 8px 18px; padding: 18px 16px 0; }
  .deckpanel { position: static; transform: none; width: auto;
    margin: 10px 20px 0; background: #101013; }
  .globe-spacer { height: min(66vw, 260px); }
  .hud h1.hero-title { margin-top: 12px; }
  .hero { height: auto; min-height: 0; }
  .hud { position: static; padding-bottom: 26px; }
  .hud .herobottom { margin-top: 26px; }
  .cards, .steps, .steps.four { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .steps > div { border-right: 0; border-bottom: 1px solid var(--line); }
  .about-grid { grid-template-columns: 1fr; }
  .about-grid img { max-width: 260px; }
}
@media (prefers-reduced-motion: reduce) {
  .statusrow .dot { animation: none; }
  .btn { transition: none; }
  .marquee-track { animation: none; flex-wrap: wrap; width: auto; padding: 0 24px; }
}
