/* BCX6 website: one stylesheet for every page */

:root {
  --bg: #0a0f2c;
  --band: #0d1338;
  --panel: #121a4a;
  --edge: #2a3a9a;
  --line: #1f2a66;
  --text: #eef1ff;
  --soft: #c9d0f0;
  --dim: #a9b3e0;
  --accent: #f0be28;
  --accent-hi: #ffd65c;
  --on-accent: #14110a;
  --good: #5ad85a;
  --bad: #ff6e6e;
  --display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --body: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, Consolas, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.55 var(--body);
}
a { color: var(--accent); }
a:hover { color: var(--accent-hi); }
img { max-width: 100%; }

.wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 860px; }
.mono { font-family: var(--mono); }
.dim { color: var(--dim); }
.soft { color: var(--soft); }

h1, h2, .display { font-family: var(--display); font-weight: 700; line-height: 1.02; margin: 0; }
h1 { font-size: clamp(48px, 7vw, 76px); }
h2 { font-size: clamp(36px, 5vw, 48px); }
h3 { font-size: 19px; font-weight: 600; margin: 0; }
p { margin: 0; }

/* buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 12px 24px; border-radius: 6px;
  font: 600 17px var(--body); text-decoration: none; cursor: pointer;
  border: 1px solid var(--accent); background: var(--accent); color: var(--on-accent);
}
.btn:hover { background: var(--accent-hi); color: var(--on-accent); }
.btn.ghost { background: transparent; color: var(--text); border-color: #3b4aa8; }
.btn.ghost:hover { border-color: var(--accent); color: var(--text); }
.btn.small { min-height: 44px; padding: 10px 18px; font-size: 15px; }
.btn[disabled] { opacity: 0.6; cursor: wait; }

/* header */
.top { border-bottom: 1px solid var(--line); background: var(--bg); position: sticky; top: 0; z-index: 10; }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 72px; }
.brand { display: flex; align-items: baseline; gap: 10px; color: var(--text); text-decoration: none; }
.brand b { font: 700 32px var(--display); letter-spacing: 0.02em; }
.brand b span, .six { color: var(--accent); }
.brand small { font-size: 13px; color: var(--dim); }
.top nav { display: flex; gap: 28px; font-size: 15px; }
.top nav a { color: var(--soft); text-decoration: none; }
.top nav a:hover { color: var(--text); }
.top .actions { display: flex; gap: 8px; align-items: center; }
.top .actions .link { color: var(--text); text-decoration: none; font-size: 15px; padding: 10px 12px; }

/* sections */
section { padding: 88px 0; }
.band { background: var(--band); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.head { display: flex; flex-direction: column; gap: 12px; max-width: 720px; margin-bottom: 40px; }
.head.center { margin-left: auto; margin-right: auto; text-align: center; align-items: center; }
.head p { font-size: 18px; color: var(--soft); }
.eyebrow { font: 500 14px var(--mono); letter-spacing: 0.08em; color: var(--accent); }

.grid2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr)); gap: 24px; }
.grid3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 20px; }

/* hero */
.hero { padding: 88px 0 72px; }
.hero-copy { display: flex; flex-direction: column; gap: 24px; max-width: 760px; }
.hero-copy .lead { font-size: 20px; color: var(--soft); max-width: 640px; }
.shot { margin: 56px 0 0; border: 1px solid var(--edge); border-radius: 12px; overflow: hidden; background: #000; box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55); }
.shot img { display: block; width: 100%; height: auto; }
.row { display: flex; gap: 14px; flex-wrap: wrap; }

/* the BCX screen drawn in the hero */
.screen {
  background: #000; border: 1px solid var(--edge); border-radius: 12px; padding: 14px;
  display: flex; flex-direction: column; gap: 10px; box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
}
.ports { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.port { background: linear-gradient(#bdbdbd, #6e6e6e); border-radius: 8px; padding: 8px; display: flex; flex-direction: column; gap: 6px; }
.port span { font-size: 11px; text-align: center; color: #fff; }
.port .play { border-radius: 5px; height: 30px; color: #fff; font-weight: 600; font-size: 13px; display: flex; align-items: center; justify-content: center; background: #8a8a8a; }
.port .play.on { background: #1f8f2a; }
.port .play.next { background: #b8952a; }
.port .play.off { background: #555; color: #bbb; }
.port .lcd { background: #000; border-radius: 3px; height: 22px; font: 600 12px var(--mono); display: flex; align-items: center; justify-content: center; }
.info { background: #0a1496; border-radius: 6px; padding: 10px 14px; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.info small { display: block; font-size: 11px; color: #5ac8ff; }
.info b { font: 600 26px var(--mono); }
.info .clock { font: 600 34px var(--mono); }
.pl { display: flex; flex-direction: column; gap: 4px; }
.pl div { background: #0f1a8a; border: 1px solid transparent; border-radius: 4px; padding: 7px 10px; display: flex; justify-content: space-between; gap: 10px; font-size: 13px; }
.pl div.air { border-color: var(--accent); }
.pl em { font: normal 13px var(--mono); color: var(--soft); }
.pl .air em { color: #ff5a5a; }

/* cards */
.card { background: var(--panel); border: 1px solid var(--edge); border-radius: 10px; padding: 24px; display: flex; flex-direction: column; gap: 10px; }
.card p { color: var(--soft); font-size: 16px; }

/* editions */
.editions { max-width: 980px; margin: 0 auto; }
.edition { background: var(--panel); border: 1px solid var(--edge); border-radius: 14px; padding: 32px; display: flex; flex-direction: column; gap: 20px; }
.edition.pro { border: 2px solid var(--accent); }
.edition .name { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.edition .name h3 { font: 700 40px var(--display); }
.tag { font: 500 13px var(--mono); padding: 4px 10px; border-radius: 4px; background: var(--edge); color: var(--text); }
.pro .tag { background: var(--accent); color: var(--on-accent); }
.price { font: 600 52px/1 var(--display); }
.price small { font: 400 16px var(--body); color: var(--dim); }
.edition ul { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 8px; }
.edition .btn { margin-top: auto; }
.note { text-align: center; color: var(--soft); margin-top: 32px; }

/* steps */
.step { display: flex; flex-direction: column; gap: 12px; }
.step .n { font: 600 40px var(--mono); color: var(--accent); }
.step h3 { font-size: 20px; }
.step p { color: var(--soft); }
.code { font: 500 14px var(--mono); background: #000; border: 1px solid var(--edge); border-radius: 6px; padding: 10px 12px; }

/* questions */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); padding: 4px 0; }
.faq summary { cursor: pointer; padding: 18px 0; font-size: 19px; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--accent); font-family: var(--mono); }
.faq details[open] summary::after { content: "−"; }
.faq details p { color: var(--soft); padding: 0 0 20px; }

/* footer */
footer { border-top: 1px solid var(--line); padding: 40px 0; background: #070b22; font-size: 14px; color: var(--dim); }
footer .wrap { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
footer nav { display: flex; gap: 22px; flex-wrap: wrap; align-items: center; }
footer nav a { color: var(--soft); }

/* checkout */
.page { padding-top: 56px; padding-bottom: 80px; }
.page .intro { display: flex; flex-direction: column; gap: 8px; margin-bottom: 36px; }
.cols { display: flex; flex-wrap: wrap; gap: 40px; align-items: flex-start; }
.cols form { flex: 999 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 32px; }
.cols aside { flex: 1 1 320px; min-width: 0; position: sticky; top: 96px; }
fieldset { border: 0; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 16px; }
legend { font-size: 20px; font-weight: 600; padding: 0; margin-bottom: 14px; }
.choices { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); gap: 14px; }
.choice { position: relative; display: block; cursor: pointer; }
.choice input { position: absolute; opacity: 0; }
.choice .box { display: flex; flex-direction: column; gap: 6px; min-height: 120px; padding: 18px 20px; border-radius: 12px; background: var(--band); border: 2px solid var(--edge); }
.choice input:checked + .box { background: var(--panel); border-color: var(--accent); }
.choice input:focus-visible + .box { outline: 2px solid var(--accent); outline-offset: 2px; }
.choice .top-line { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; font: 700 30px var(--display); }
.choice .top-line span:last-child { font-weight: 600; font-size: 26px; }
.choice .box > span:last-child { font-size: 15px; color: var(--soft); }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label { font-size: 15px; color: var(--soft); }
.field input {
  font: inherit; font-size: 17px; color: var(--text); background: #070b22;
  border: 1px solid #3b4aa8; border-radius: 6px; padding: 13px 14px; min-height: 48px; width: 100%;
}
.field input:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
.field input.mono { font-family: var(--mono); letter-spacing: 0.04em; text-transform: uppercase; }
.field .hint { font-size: 14px; color: var(--dim); }
.field .hint.bad { color: var(--bad); }
.tick { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; color: var(--soft); cursor: pointer; }
.tick input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--accent); flex: none; }
.summary { background: var(--panel); border: 1px solid var(--edge); border-radius: 14px; padding: 28px; display: flex; flex-direction: column; gap: 18px; }
.summary .line { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.summary .big { font: 700 30px var(--display); }
.summary .sums { border-top: 1px solid var(--edge); padding-top: 14px; display: flex; flex-direction: column; gap: 6px; font-size: 15px; color: var(--soft); }
.summary .total { color: var(--text); font-weight: 600; }
.summary .btn { width: 100%; min-height: 52px; }
.summary small { font-size: 13px; color: var(--dim); text-align: center; }
.error { color: var(--bad); font-size: 15px; min-height: 1em; }
.secure { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--dim); }

/* thank you */
.done { display: inline-flex; align-items: center; gap: 10px; font: 500 14px var(--mono); color: var(--good); letter-spacing: 0.08em; }
.keybox { background: var(--panel); border: 2px solid var(--accent); border-radius: 14px; padding: 28px; display: flex; flex-direction: column; gap: 18px; }
.keybox .key { font: 500 18px/1.7 var(--mono); background: #000; border: 1px solid var(--edge); border-radius: 8px; padding: 16px 18px; word-break: break-all; margin: 0; white-space: pre-wrap; }
.stack { display: flex; flex-direction: column; gap: 32px; }
ol.how { margin: 0; padding-left: 24px; display: flex; flex-direction: column; gap: 10px; color: var(--soft); }
ol.how strong { color: var(--text); }

@media (max-width: 760px) {
  .top nav { display: none; }
  .ports { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  section { padding: 64px 0; }
  .hero { padding: 56px 0; }
  .cols aside { position: static; }
}
