/* ECTO — shared styles. Dark arcade-cabinet-meets-pro-audio. Single dark theme by design. */
:root {
  --bg: #0E0F14;
  --panel: #17191F;
  --border: #2C2F38;
  --dim: #8A8D96;
  --text: #ECEDEF;
  --ink: #050E0D;
  /* product accent (overridden per page / per card) */
  --hi: #9AF5D8;
  --acc: #44EDB8;
  --sh: #33B386;
  --f-title: "Press Start 2P", "Silkscreen", ui-monospace, monospace;
  --f-label: "Silkscreen", "Press Start 2P", ui-monospace, monospace;
  --f-body: "Pixelify Sans", "Silkscreen", ui-monospace, monospace;
  color-scheme: dark;
}
.mint { --hi: #9AF5D8; --acc: #44EDB8; --sh: #33B386; }
.gold { --hi: #F6E09A; --acc: #EDC33C; --sh: #B8962E; }
.red  { --hi: #F09A90; --acc: #E8413A; --sh: #A82A22; }

* { box-sizing: border-box; }
html { background: var(--bg); }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--f-body);
  font-size: 17px;
  line-height: 1.55;
  margin: 0;
  padding-inline: 16px;
  /* dot-grid backdrop */
  background-image: radial-gradient(#1D2028 1px, transparent 1.5px);
  background-size: 16px 16px;
  -webkit-font-smoothing: none;
}
.wrap { max-width: 1080px; margin-inline: auto; }
a { color: inherit; }
::selection { background: var(--acc); color: var(--ink); }
:focus-visible { outline: 2px solid var(--acc); outline-offset: 3px; }

/* scanlines over everything, very faint */
body::after {
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 50;
  background: repeating-linear-gradient(to bottom, rgba(0,0,0,0) 0 2px, rgba(0,0,0,.18) 2px 3px);
}

/* ---------- header ---------- */
.top {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  margin-inline: -16px; padding: 12px 16px;
}
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--f-title); font-size: 14px; letter-spacing: 1px; }
.brand .ghost { width: 26px; }
.nav { display: flex; gap: 6px; flex-wrap: wrap; font-family: var(--f-label); font-size: 12px; }
.nav a {
  text-decoration: none; color: var(--dim); padding: 6px 10px;
  border: 1px solid transparent;
}
.nav a:hover { color: var(--text); border-color: var(--border); }
.nav a[aria-current="page"] { color: var(--ink); background: var(--acc); }

/* ---------- type ---------- */
.lockup { font-family: var(--f-title); line-height: 1.25; margin: 0; text-wrap: balance;
  text-shadow: 4px 4px 0 var(--ink); }
.lockup .a { color: var(--acc); }
.sub { font-family: var(--f-label); color: var(--dim); letter-spacing: 2px; font-size: 13px; margin: 0; }
.label { font-family: var(--f-label); font-size: 11px; letter-spacing: 1.5px; color: var(--dim); text-transform: uppercase; }
.label::after { content: ""; display: block; width: 18px; height: 2px; background: var(--acc); margin-top: 4px; }
p { max-width: 62ch; margin: 0; }
.caps { font-family: var(--f-label); letter-spacing: 1px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--f-label); font-size: 14px; letter-spacing: 1px;
  text-decoration: none; cursor: pointer;
  padding: 12px 18px; border: 2px solid var(--acc); color: var(--acc); background: transparent;
  box-shadow: 4px 4px 0 var(--ink);
}
.btn:hover { background: var(--acc); color: var(--ink); }
.btn:active { transform: translate(2px,2px); box-shadow: 2px 2px 0 var(--ink); }
.btn.fill { background: var(--acc); color: var(--ink); }
.btn.fill:hover { background: var(--hi); border-color: var(--hi); }
.btn.soon { border-style: dashed; }
.btn small { font-size: 10px; opacity: .8; }

/* ---------- panels ---------- */
.panel {
  position: relative; background: var(--panel); border: 1px solid var(--border);
  border-radius: 6px; padding: 22px;
}
.panel.brackets::before, .panel.brackets::after {
  content: ""; position: absolute; width: 12px; height: 12px; border: 2px solid var(--acc);
}
.panel.brackets::before { top: 6px; left: 6px; border-right: 0; border-bottom: 0; }
.panel.brackets::after { bottom: 6px; right: 6px; border-left: 0; border-top: 0; }
.screw { position: absolute; width: 6px; height: 6px; background: var(--border); box-shadow: inset 1px 1px 0 #3A3E49; }

/* ---------- ghost ---------- */
.ghost { display: block; image-rendering: pixelated; height: auto; }
@keyframes bob { 0%,100% { transform: translateY(0) } 50% { transform: translateY(-6px) } }
.float { animation: bob 2.4s steps(4) infinite; }

/* ---------- footer ---------- */
.foot { border-top: 1px solid var(--border); margin-top: 72px; padding-block: 28px 40px; }
.foot .wrap { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; align-items: center; }
.foot .caps { font-size: 11px; color: var(--dim); }

/* ---------- utilities ---------- */
section { padding-block: 56px 0; }
.section-title { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 22px; }
.section-title h2 { font-family: var(--f-title); font-size: 16px; margin: 0; letter-spacing: 1px; }

@media (prefers-reduced-motion: reduce) {
  .float, .blink { animation: none !important; }
}

/* ---------- knobs ---------- */
.knobs { display: flex; gap: 18px; flex-wrap: wrap; justify-content: center; }
.knob { display: flex; flex-direction: column; align-items: center; gap: 6px; width: 92px; cursor: ns-resize; touch-action: none; user-select: none; }
.knob .label { text-align: center; }
.knob .label::after { margin-inline: auto; }
.knob-face { width: 84px; height: 84px; }
.knob-face svg { width: 100%; height: 100%; display: block; }
.knob.hero { width: 150px; }
.knob.hero .knob-face { width: 140px; height: 140px; border-radius: 50%;
  box-shadow: 0 0 0 6px rgba(68,237,184,0), 0 0 0 10px color-mix(in srgb, var(--acc) 10%, transparent), 0 0 0 18px color-mix(in srgb, var(--acc) 5%, transparent); }
.knob-val { font-family: var(--f-label); font-size: 11px; background: #0B0C10; border: 1px solid var(--border); padding: 3px 8px; min-width: 70px; text-align: center; color: var(--hi); font-variant-numeric: tabular-nums; }
.knob.grab .knob-val { border-color: var(--acc); }

/* ---------- home ---------- */
.floor { position: absolute; left: 0; right: 0; bottom: 0; height: 60px;
  background:
    repeating-linear-gradient(90deg, color-mix(in srgb, var(--acc) 35%, transparent) 0 2px, transparent 2px 28px),
    repeating-linear-gradient(0deg, color-mix(in srgb, var(--acc) 35%, transparent) 0 2px, transparent 2px 14px);
  transform: perspective(160px) rotateX(55deg); transform-origin: bottom; opacity: .55; }
.pricetag { display: inline-flex; gap: 10px; flex-wrap: wrap; font-family: var(--f-label); font-size: 12px; color: var(--dim); letter-spacing: 1px; }
.pricetag b { color: var(--acc); font-weight: 400; }
.ctas { display: flex; gap: 14px; flex-wrap: wrap; }

.cards { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 18px; }
.card { display: grid; gap: 16px; align-content: start; }
.card .head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.card .ghost-wrap { width: 54px; flex: none; }
.card h3 { font-size: 18px; }
.card .row { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; border-top: 1px dashed var(--border); padding-top: 14px; }
.card .price { font-family: var(--f-title); font-size: 14px; color: var(--acc); }
.card .price small { font-family: var(--f-label); font-size: 10px; color: var(--dim); }
.card .links { display: flex; gap: 10px; flex-wrap: wrap; }
.card .btn { font-size: 12px; padding: 9px 12px; }
.card p { color: #C4C6CC; font-size: 16px; }

.steps { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 18px; }
.step { display: grid; gap: 10px; }
.step .n { font-family: var(--f-title); font-size: 22px; color: var(--acc); }
.step h3 { font-family: var(--f-label); font-size: 14px; margin: 0; letter-spacing: 1px; }
.step p { color: #C4C6CC; font-size: 16px; }

.works { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { font-family: var(--f-label); font-size: 12px; padding: 7px 12px; border: 1px solid var(--border); color: var(--dim); }

.faq { display: grid; gap: 10px; }
.faq details { background: var(--panel); border: 1px solid var(--border); border-radius: 6px; }
.faq summary { cursor: pointer; padding: 16px 18px; font-family: var(--f-label); font-size: 13px; letter-spacing: 1px; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--acc); }
.faq details[open] summary::after { content: "−"; }
.faq details p { padding: 0 18px 18px; color: #C4C6CC; font-size: 16px; }

/* ---------- product page ---------- */
.p-hero { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 24px; align-items: end; padding-block: 48px 26px; }
.p-hero h1 { font-size: clamp(28px, 6.5vw, 54px); }
.p-hero .ghost-wrap { width: clamp(70px, 14vw, 120px); }
.p-hero .titles { display: grid; gap: 14px; }

.plug { padding: 26px 22px 24px; display: grid; gap: 22px; }
.plug .topbar { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.plug .topbar .name { font-family: var(--f-title); font-size: 13px; }
.plug .topbar .name .a { color: var(--acc); }
.plug .modes { display: flex; gap: 6px; flex-wrap: wrap; }
.plug .modes button { font-family: var(--f-label); font-size: 11px; background: transparent; color: var(--dim); border: 1px solid var(--border); padding: 5px 9px; cursor: pointer; }
.plug .modes button[aria-pressed="true"] { background: var(--acc); color: var(--ink); border-color: var(--acc); }
.screen { background: #050608; border: 1px solid var(--border); border-radius: 4px; height: 170px; position: relative; overflow: hidden; }
.screen canvas { width: 100%; height: 100%; display: block; image-rendering: pixelated; }
.screen .tag { position: absolute; top: 8px; left: 10px; font-family: var(--f-label); font-size: 10px; color: var(--dim); }
.plug .hint { text-align: center; font-family: var(--f-label); font-size: 10px; color: var(--dim); letter-spacing: 1px; }
.plug .screw.tl { top: 8px; left: 8px; } .plug .screw.tr { top: 8px; right: 8px; }
.plug .screw.bl { bottom: 8px; left: 8px; } .plug .screw.br { bottom: 8px; right: 8px; }

.p-body { display: grid; grid-template-columns: minmax(0,1.4fr) minmax(0,1fr); gap: 22px; align-items: start; margin-top: 22px; }
.p-copy { display: grid; gap: 28px; }
.p-copy .lead { font-size: 19px; color: var(--text); }
.feat { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; }
.feat li { display: grid; grid-template-columns: 110px minmax(0,1fr); gap: 14px; align-items: baseline; border-bottom: 1px dashed var(--border); padding-bottom: 12px; }
.feat b { font-family: var(--f-label); font-weight: 400; color: var(--acc); font-size: 13px; letter-spacing: 1px; }
.feat span { color: #C4C6CC; font-size: 16px; }
.buybox { display: grid; gap: 16px; position: sticky; top: calc(env(safe-area-inset-top, 0px) + 76px); }
.buybox .big { font-family: var(--f-title); font-size: 30px; color: var(--acc); text-shadow: 3px 3px 0 var(--ink); }
.buybox .big small { font-family: var(--f-label); font-size: 12px; color: var(--dim); text-shadow: none; }
.buybox .btn { justify-content: center; }
.specs { display: grid; gap: 8px; margin: 0; }
.specs div { display: flex; justify-content: space-between; gap: 10px; font-family: var(--f-label); font-size: 11px; color: var(--dim); }
.specs dd { margin: 0; color: var(--text); text-align: right; }
.others { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 18px; }
.other { display: flex; gap: 16px; align-items: center; text-decoration: none; }
.other .ghost-wrap { width: 46px; flex: none; }
.other h3 { font-size: 14px; }

@media (max-width: 820px) {
  .p-body { grid-template-columns: minmax(0,1fr); }
  .cards, .steps { grid-template-columns: minmax(0,1fr); }
  .buybox { position: static; }
}
@media (max-width: 560px) {
  .others { grid-template-columns: minmax(0,1fr); }
  .feat li { grid-template-columns: minmax(0,1fr); gap: 4px; }
  .knob { width: 78px; } .knob-face { width: 72px; height: 72px; }
  .knob.hero { width: 120px; } .knob.hero .knob-face { width: 112px; height: 112px; }
  .brand span { display: none; }
}

/* ---------- bundle (rainbow variant) ---------- */
.rainbow-bar { height: 8px; background: linear-gradient(90deg,
  #E8413A 0 12.5%, #F08A2C 12.5% 25%, #EDC33C 25% 37.5%, #44C766 37.5% 50%,
  #3CC8E8 50% 62.5%, #3C6CE8 62.5% 75%, #8A4CE8 75% 87.5%, #E84CB8 87.5% 100%); }
.rb-text { background: linear-gradient(180deg,
  #E8413A 0 25%, #EDC33C 25% 50%, #44C766 50% 75%, #3CC8E8 75% 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent; }
.bundle { padding: 0; overflow: hidden; }
.bundle .inner { display: grid; grid-template-columns: minmax(0,1.3fr) minmax(0,1fr); gap: 28px; padding: 28px 24px; align-items: center; }
.bundle h2.lockup { font-size: clamp(22px, 4.6vw, 38px); }
.bundle .left { display: grid; gap: 18px; }
.bundle .ghost-row { display: flex; align-items: flex-end; gap: 14px; }
.bundle .ghost-row > div { width: 52px; }
.bundle .ghost-row > div.big { width: 84px; }
.bundle .ghost-row .mint, .bundle .ghost-row .gold, .bundle .ghost-row .red { flex: none; }
.bundle .right { display: grid; gap: 14px; background: #0B0C10; border: 1px solid var(--border); padding: 20px; }
.bundle .price { font-family: var(--f-title); font-size: 34px; text-shadow: 3px 3px 0 var(--ink); }
.bundle .price small { font-family: var(--f-label); font-size: 12px; color: var(--dim); text-shadow: none; }
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ticks li { display: grid; grid-template-columns: 18px minmax(0,1fr); gap: 10px; font-size: 16px; color: #C4C6CC; }
.ticks li::before { content: ""; width: 10px; height: 10px; margin-top: 7px; background: var(--acc); box-shadow: 2px 2px 0 var(--ink); }
.btn.rb { border-color: #ECEDEF; color: #0E0F14; background: #ECEDEF; }
.btn.rb:hover { background: #EDC33C; border-color: #EDC33C; }
.bundle .fine { font-family: var(--f-label); font-size: 10px; color: var(--dim); letter-spacing: 1px; }
.or-bundle { display: grid; gap: 8px; border-top: 1px dashed var(--border); padding-top: 14px; }
.or-bundle .caps { font-size: 11px; color: var(--dim); }
.or-bundle a { font-family: var(--f-label); font-size: 13px; text-decoration: none; }
.or-bundle a:hover { text-decoration: underline; }
@media (max-width: 820px) { .bundle .inner { grid-template-columns: minmax(0,1fr); } }

/* =========================================================
   v3 — real Ecto artwork
   ========================================================= */
body {
  background: var(--bg) url("img/anim/space-mint.webp") center top / cover fixed no-repeat;
}
.brand img { height: 30px; width: auto; image-rendering: pixelated; display: block; }

/* home hero: the banner is the hero */
.banner { margin-top: 28px; border: 1px solid var(--border); border-radius: 6px; overflow: hidden; background: #0E0F14; }
.banner img { display: block; width: 100%; height: auto; image-rendering: pixelated; }
.intro { display: grid; grid-template-columns: minmax(0,1.2fr) minmax(0,1fr); gap: 28px; align-items: end; padding-block: 34px 0; }
.intro h1 { font-size: clamp(22px, 4.4vw, 40px); }
.intro .pitch { display: grid; gap: 18px; }
.intro .side { display: grid; gap: 16px; justify-items: start; }

/* product thumbnails on cards */
.shot { display: block; border-radius: 6px; overflow: hidden; border: 1px solid var(--border); background: #0B0C10; }
.shot img { display: block; width: 100%; height: auto; }
.card .shot { aspect-ratio: 1.53; }
.card .shot img { height: 100%; object-fit: cover; object-position: top left; }
.card:hover .shot { border-color: var(--acc); }

/* product gallery */
.gallery { display: grid; gap: 12px; }
.gallery .shot { border-color: var(--acc); box-shadow: 6px 6px 0 var(--ink); }
.themes { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.themes .caps { font-size: 11px; color: var(--dim); margin-right: 4px; }
.themes button { font-family: var(--f-label); font-size: 11px; letter-spacing: 1px; background: transparent; color: var(--dim);
  border: 1px solid var(--border); padding: 6px 10px; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; }
.themes button i { width: 8px; height: 8px; display: inline-block; }
.themes button[aria-pressed="true"] { color: var(--text); border-color: var(--text); }
.caption { font-family: var(--f-label); font-size: 11px; color: var(--dim); letter-spacing: 1px; }

/* bundle gets the rainbow sky + floor */
.bundle { background: #0E0F14 url("img/anim/space-rainbow.webp") center / cover no-repeat; }
.bundle .floor-img { display: block; width: 100%; height: 90px; object-fit: cover; object-position: top; image-rendering: pixelated; }

/* footer floor */
.foot { position: relative; padding-bottom: 0; border-top: 0; }
.foot .floor-img { display: block; width: calc(100% + 32px); margin-inline: -16px; height: 110px; object-fit: cover; object-position: top; image-rendering: pixelated; margin-top: 24px; }
.foot .gif { width: 44px; height: auto; image-rendering: pixelated; }
.foot .who { display: flex; gap: 12px; align-items: center; }

@media (max-width: 820px) { .intro { grid-template-columns: minmax(0,1fr); } }
.feat li { grid-template-columns: minmax(0,1fr); gap: 4px; }
.p-hero { padding-block: 40px 22px; }

/* =========================================================
   v4 — product cards + readability pass
   Pixel fonts only render crisp at their native grid:
   Silkscreen / Press Start 2P at multiples of 8px (16, 24, 32…).
   ========================================================= */
.cyan { --hi: #A8ECF8; --acc: #4FD3EC; --sh: #2E9FB8; }

body::after { display: none; }              /* scanlines were dimming small text */
body { font-size: 18px; line-height: 1.6; -webkit-font-smoothing: auto; }
p { color: #D6D8DD; }

/* labels, buttons, small caps — all on the 16px grid */
.sub, .label, .nav, .btn, .card .btn, .pricetag, .chip, .caps, .foot .caps,
.specs div, .themes button, .themes .caps, .caption, .or-bundle .caps, .or-bundle a,
.bundle .fine, .feat b, .faq summary, .step h3, .price small, .buybox .big small,
.card .price small { font-size: 16px; letter-spacing: 0; }
.label::after { margin-top: 6px; }
.nav a { padding: 6px 10px; }
.btn { padding: 12px 18px; }

/* running text in the readable pixel face */
.step p, .faq details p, .feat span, .ticks li, .card p, .p-copy .lead,
.buybox p, .intro p { font-family: var(--f-body); font-size: 18px; line-height: 1.65; color: #D6D8DD; }
.p-copy .lead { font-size: 20px; color: #ECEDEF; }
.faq summary { padding: 18px 20px; line-height: 1.5; }
.faq details p { padding: 0 20px 20px; }
.step { gap: 12px; padding: 24px; }
.step .n { font-size: 24px; }
.step h3 { font-family: var(--f-label); }

/* headings on the 8px grid */
.lockup { line-height: 1.4; }
.section-title h2 { font-size: 16px; }
.intro h1, .hero h1 { font-size: 24px; }
.p-hero h1 { font-size: 32px; }
.bundle h2.lockup { font-size: 24px; }
.other h3 { font-size: 16px; }
.bundle .price, .buybox .big { font-size: 32px; }
.card .price { font-size: 16px; }
@media (min-width: 640px) {
  .intro h1 { font-size: 32px; }
  .p-hero h1 { font-size: 48px; }
  .bundle h2.lockup { font-size: 32px; }
}

/* ---------- product cards (from the Ecto card design) ---------- */
.pcards { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 20px; }
.pcard {
  position: relative; display: grid; gap: 0; align-content: start;
  background: #17191F; border: 2px solid #2C2F38; padding: 16px;
  text-decoration: none; color: inherit;
}
.pcard::before, .pcard::after { content: ""; position: absolute; width: 14px; height: 14px; border: 2px solid var(--acc); }
.pcard::before { top: -2px; left: -2px; border-right: 0; border-bottom: 0; }
.pcard::after { bottom: -2px; right: -2px; border-left: 0; border-top: 0; }
.pcard .art { display: block; border: 2px solid #2C2F38; background: #0A0B0E; overflow: hidden; }
.pcard .art img { display: block; width: 100%; height: auto; image-rendering: pixelated; }
.pcard .body { display: grid; justify-items: center; text-align: center; gap: 8px; padding: 20px 4px 22px; }
.pcard h3 { margin: 0; font-family: var(--f-title); font-size: 24px; line-height: 1.35; text-shadow: 3px 3px 0 #050E0D; }
.pcard h3 span { display: block; }
.pcard h3 .a { color: var(--acc); }
.pcard .kind { font-family: var(--f-label); font-size: 16px; color: #8A8D96; margin-top: 6px; }
.pcard .bar { width: 28px; height: 2px; background: var(--acc); }
.pcard .tag { font-family: var(--f-label); font-size: 16px; color: #ECEDEF; }
.pcard .foot-row { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
.pcard .pbox { font-family: var(--f-label); font-size: 16px; color: var(--acc); border: 2px solid var(--acc); padding: 4px 8px; }
.pcard .more { font-family: var(--f-label); font-size: 16px; color: #8A8D96; text-decoration: none; }
.pcard .more:hover { color: var(--text); }
.pcard .btn { font-size: 16px; padding: 10px 14px; }
.pcard:hover { border-color: var(--acc); }
@media (max-width: 900px) { .pcards { grid-template-columns: minmax(0,1fr); max-width: 400px; margin-inline: auto; } }
@media (max-width: 559px) { .pcards { grid-template-columns: minmax(0,1fr); max-width: 400px; margin-inline: auto; } }
@media (max-width: 820px) { .cards, .steps { grid-template-columns: minmax(0,1fr); } }
.pink { --hi: #F4A6D6; --acc: #E84CB8; --sh: #A8337F; }
/* STUTTER title on its card: gold cap over pink, like the card art */
.pcard.pink h3 .a { background: linear-gradient(180deg, #EDC33C 0 34%, #E84CB8 34% 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.pcard.pink h3 .a, .rb-text { text-shadow: none; filter: drop-shadow(3px 3px 0 #050E0D); }

/* =========================================================
   v5 — flow pass
   ========================================================= */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* home: banner is the hero, one line + two buttons under it */
.intro { display: flex; flex-wrap: wrap; gap: 20px 32px; align-items: center; justify-content: space-between; padding-block: 24px 0; }
.intro p { flex: 1 1 420px; min-width: 0; max-width: 62ch; }
.intro .ctas { flex: none; }

/* cards: art + title open the page, footer is price + buy */
.pcard h3 a { color: inherit; text-decoration: none; }
.pcard h3 a:hover .a { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; }
.pcard .foot-row { flex-wrap: nowrap; }

/* bundle: the real ghost line-up */
.bundle .lineup { display: block; width: 100%; max-width: 520px; height: auto; image-rendering: pixelated; border: 1px solid var(--border); }

/* plug-in page: screenshot + buy box above the fold */
.p-top { display: grid; grid-template-columns: minmax(0,1.75fr) minmax(280px,1fr); gap: 24px; align-items: start; padding-block: 32px 0; }
.p-top .buybox { position: static; gap: 18px; }
.p-top .buybox h1 { font-size: 24px; }
.p-top .buybox .sub { line-height: 1.5; }
.p-top .titles { display: grid; gap: 10px; }
.p-detail { display: grid; gap: 28px; max-width: 760px; padding-block: 48px 0; }
.others .other { display: grid; grid-template-columns: 140px minmax(0,1fr); gap: 16px; align-items: center; }
.others .other img { width: 100%; height: auto; image-rendering: pixelated; border: 1px solid var(--border); display: block; }
.others .other:hover { border-color: var(--acc); }
@media (max-width: 900px) { .p-top { grid-template-columns: minmax(0,1fr); } }
@media (max-width: 480px) { .others .other { grid-template-columns: minmax(0,1fr); } }

/* footer */
.foot { margin-top: 80px; }
.foot-grid { display: grid; grid-template-columns: minmax(0,2fr) minmax(0,1fr) minmax(0,1fr); gap: 28px; align-items: start; border-top: 1px solid var(--border); padding-top: 32px; }
.foot-brand { display: flex; gap: 16px; align-items: center; }
.foot-brand .caps { color: var(--dim); margin-top: 10px; }
.foot-logo { height: 30px; width: auto; image-rendering: pixelated; display: block; }
.foot-col { display: grid; gap: 10px; align-content: start; }
.foot-col a { font-family: var(--f-label); font-size: 16px; color: var(--text); text-decoration: none; }
.foot-col a:hover { color: var(--acc); }
.foot-base { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 28px; }
.foot-base .caps { color: var(--dim); }
.foot .wrap.foot-grid, .foot .wrap.foot-base { justify-content: initial; }
.foot-base { justify-content: space-between !important; }
@media (max-width: 700px) { .foot-grid { grid-template-columns: minmax(0,1fr) minmax(0,1fr); } .foot-brand { grid-column: 1 / -1; } }
.foot .foot-grid { display: grid; }
.foot .foot-base { display: flex; }
.foot .foot-grid { align-items: start; } .foot .foot-brand { align-self: center; }
.foot-col a.mail { color: var(--acc); word-break: break-all; }
.mail-row { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.mail-row .mail { font-family: var(--f-body); font-size: 18px; color: var(--acc); user-select: all; word-break: break-all; }
.mail-row .copy { font-family: var(--f-label); font-size: 16px; background: transparent; color: var(--text); border: 1px solid var(--border); padding: 2px 8px; cursor: pointer; }
.mail-row .copy:hover { border-color: var(--acc); color: var(--acc); }

/* perf: star sky on its own fixed layer (no repaint on scroll) */
body { background: var(--bg); }
body::before { content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background: url("img/anim/space-mint.webp") center top / cover no-repeat; }
body::before { z-index: 0; }
body > div:not(#ecto-intro) { position: relative; z-index: 1; }

/* =========================================================
   v6 — legal pages + 404
   ========================================================= */
.legal-links { display: flex; gap: 18px; flex-wrap: wrap; }
.legal-links a { font-family: var(--f-label); font-size: 16px; color: var(--dim); text-decoration: none; }
.legal-links a:hover { color: var(--acc); }

.legal-head { display: grid; gap: 12px; padding-block: 48px 8px; }
.legal-head h1 { font-size: 24px; }
.legal-head .updated { color: var(--dim); font-size: 16px; }
.legal-grid { display: grid; grid-template-columns: minmax(200px, 260px) minmax(0, 1fr); gap: 40px; align-items: start; padding-top: 24px; }
.legal-toc { position: sticky; top: calc(env(safe-area-inset-top, 0px) + 84px); display: grid; gap: 12px; }
.legal-toc ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.legal-toc a { font-family: var(--f-label); font-size: 16px; color: var(--dim); text-decoration: none; line-height: 1.4; }
.legal-toc a:hover { color: var(--acc); }
.legal-body { display: grid; gap: 36px; max-width: 70ch; }
.legal-body section { display: grid; gap: 14px; scroll-margin-top: 90px; }
.legal-body h2 { font-family: var(--f-label); font-size: 16px; font-weight: 400; color: var(--acc); margin: 0; }
.legal-body p, .legal-body li { font-size: 18px; line-height: 1.7; color: #D6D8DD; max-width: none; }
.legal-body b { color: var(--text); font-weight: 600; }
.legal-body ul { margin: 0; padding-left: 22px; display: grid; gap: 8px; }
.legal-body a { color: var(--acc); }
@media (min-width: 640px) { .legal-head h1 { font-size: 32px; } }
@media (max-width: 820px) { .legal-grid { grid-template-columns: minmax(0,1fr); } .legal-toc { position: static; } }

.lost { display: grid; justify-items: center; text-align: center; gap: 18px; padding-block: 72px 24px; }
.lost-ghost { width: 96px; height: auto; image-rendering: pixelated; }
.lost h1 { font-size: 24px; }
.lost p { max-width: 46ch; }
.lost .ctas { justify-content: center; margin-top: 8px; }
@media (min-width: 640px) { .lost h1 { font-size: 40px; } }

/* =========================================================
   v7 — animated artwork
   ========================================================= */
body::before { image-rendering: pixelated; }
.bundle { background-size: cover; image-rendering: pixelated; }

/* hero: the art is the hero; invisible hotspots sit over its baked-in buttons */
.hero-anim { position: relative; margin-top: 28px; border: 1px solid var(--border); border-radius: 6px; overflow: hidden; background: #0E0F14; }
.hero-anim img { display: block; width: 100%; height: auto; image-rendering: pixelated; }
.hot { position: absolute; display: block; z-index: 2; }
.hot:focus-visible { outline: 3px solid var(--acc); outline-offset: 2px; }
.hot-browse { left: 7.5%; top: 56.3%; width: 36.8%; height: 7.6%; }
@media (max-width: 640px) {
  .hero-anim { margin-inline: -16px; border-radius: 0; border-inline: 0; }
  .hot-browse { left: 17.2%; top: 85.6%; width: 65.5%; height: 4.1%; }
}

/* store cards */
.acards { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 20px; }
.acard { position: relative; }
.acard img { display: block; width: 100%; height: auto; image-rendering: pixelated; transition: transform .15s steps(2); }
.acard:hover img { transform: translateY(-4px); }
.hot-card { inset: 0; }
.hot-get { left: 58.1%; top: 87.5%; width: 33%; height: 6.4%; z-index: 3; }
@media (max-width: 900px) { .acards { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 560px) { .acards { grid-template-columns: minmax(0,1fr); max-width: 400px; margin-inline: auto; } }
@media (prefers-reduced-motion: reduce) { .acard img { transition: none; } .acard:hover img { transform: none; } }

/* plug-in page banner */
.p-banner { display: block; margin-top: 28px; border: 1px solid var(--border); border-radius: 6px; overflow: hidden; }
.p-banner img { display: block; width: 100%; height: auto; image-rendering: pixelated; }
.p-banner:hover { border-color: var(--acc); }
.p-top { padding-top: 24px; }

/* "more ghosts" tiles use the banners */
.others .other.banner-tile { display: block; padding: 0; overflow: hidden; }
.others .other.banner-tile img { width: 100%; border: 0; }
.bundle .lineup.caged { border: 0; max-width: 560px; background: none; }
.caged-note { font-family: var(--f-label); font-size: 16px; color: var(--dim); line-height: 1.5; }

/* =========================================================
   v8 — design review fixes
   ========================================================= */
/* 1.1  Pixelify Sans merges fi/fl into one glyph that reads as "A" */
html, body, input, button, textarea, select {
  font-variant-ligatures: none;
  font-feature-settings: "liga" 0, "clig" 0, "dlig" 0;
}
/* 1.2  prices and numbers in body copy: Pixelify's 5 looks like an S */
.num { white-space: nowrap; }
:is(p, li, dd, summary) .num { font-family: var(--f-label); letter-spacing: 0; font-size: .95em; }

/* 1.4 + 3  hero: text-free animated art, live text, real buttons, edge to edge.
   The art is pinned to the bottom of the hero at its natural ratio; the page's own starfield fills any extra height above it. */
.hero { position: relative; margin-inline: -16px; min-height: calc(100vw * 9 / 16); overflow: hidden; display: block; grid-template-columns: none; gap: 0; padding: 0; }
.hero-bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.hero-bg img { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: auto; image-rendering: pixelated; }
.hero-inner { position: relative; z-index: 1; display: grid; gap: 28px; max-width: 1080px; margin-inline: auto; box-sizing: content-box;
  padding: clamp(32px, 4.5vw, 72px) 16px calc(100vw * 9 / 16 * .4); }
.hero-top, .hero-bottom { display: grid; gap: 14px; justify-items: start; max-width: min(600px, 54vw); }
.hero-logo { margin: 0; line-height: 0; }
.hero-logo img { width: clamp(200px, 24vw, 380px); height: auto; image-rendering: pixelated; }
.hero-tag { font-family: var(--f-title); font-size: 16px; line-height: 1.6; color: var(--text); text-shadow: 2px 2px 0 var(--ink); }
.hero-sub { font-family: var(--f-label); font-size: 16px; color: var(--dim); }
.hero-copy { font-size: 18px; line-height: 1.65; color: #D6D8DD; }
.hero .ctas { gap: 14px; }
@media (min-width: 1100px) { .hero-tag { font-size: 18px; } }

/* phones: the art sits in the flow (logo over its sky, buttons on its floor), copy goes underneath */
@media (max-width: 640px) {
  .hero { display: grid; grid-template-columns: minmax(0,1fr); grid-template-areas: "art" "copy"; min-height: 0; overflow: visible; }
  .hero-bg { position: static; grid-area: art; }
  .hero-bg img { position: static; display: block; }
  .hero-inner, .hero-bottom { display: contents; }
  .hero-top { grid-area: art; align-self: start; justify-self: stretch; justify-items: center; text-align: center; max-width: none; padding: 7vw 16px 0; position: relative; z-index: 1; gap: 10px; }
  .hero-logo img { width: min(60vw, 280px); }
  .hero-tag { max-width: 18ch; }
  .hero .ctas { grid-area: art; align-self: end; position: relative; z-index: 1; padding: 0 16px 6vw; display: grid; gap: 12px; }
  .hero .ctas .btn { justify-content: center; }
  .hero-copy { grid-area: copy; margin: 16px 16px 0; text-align: left; }
}

/* 1.4  banners: a real button sits exactly over the GET IT drawn into the art */
.bwrap { position: relative; container-type: inline-size; }
.bbtn { position: absolute; z-index: 3; left: 6.4%; width: 25.4%; top: var(--bt); height: 12.67%;
  display: flex; align-items: center; justify-content: center; white-space: nowrap;
  font-family: var(--f-label); font-size: clamp(11px, 2.3cqi, 18px); letter-spacing: 0; text-decoration: none;
  background: var(--acc); color: var(--ink); border: 2px solid var(--acc); box-shadow: 3px 3px 0 var(--ink); }
.bbtn:hover { background: var(--hi); border-color: var(--hi); }
.bbtn:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--ink); }
.bbtn:focus-visible { outline: 3px solid var(--text); outline-offset: 2px; }
/* too small for readable text: just blank out the drawn button; the whole tile still links */
@container (max-width: 500px) {
  .bbtn { background: var(--bg); border-color: var(--bg); color: transparent; box-shadow: none; pointer-events: none; }
}
.banner-tile .tile-link { position: absolute; inset: 0; z-index: 2; }
.others .other.banner-tile:hover { border-color: var(--acc); }
.p-banner { display: block; }
.hero .btn:not(.fill) { background: var(--bg); }
.br-m { display: none; }
@media (max-width: 640px) { .hero-tag .sep { display: none; } .br-m { display: inline; } }
