/* Broken Gear Industries — AEON landing + store. No external fonts, scripts or images:
   a page that will take money should load nothing it does not own. */
:root {
  --bg: #0a0c10; --panel: #0d1117; --panel-2: #11161d; --line: rgba(255, 255, 255, 0.08);
  --text: #cbd5e1; --muted: #94a3b8; --faint: #64748b; --white: #f8fafc;
  --accent: #10b981; --accent-2: #34d399; --warn: #f59e0b; --bad: #f87171; --info: #38bdf8;
  --radius: 14px; --maxw: 1120px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}
@media (prefers-color-scheme: light) { :root { color-scheme: dark; } }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { animation: none !important; transition: none !important; } }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.6 var(--font); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
body::before { content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: 0.035;
  background-image: linear-gradient(#fff 1px, transparent 1px), linear-gradient(90deg, #fff 1px, transparent 1px); background-size: 80px 80px; }
a { color: var(--accent-2); text-decoration: none; }
a:hover { text-decoration: underline; }
:focus-visible { outline: 2px solid var(--accent-2); outline-offset: 3px; border-radius: 4px; }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { color: var(--white); line-height: 1.15; margin: 0; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 900; }
h2 { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 800; }
h3 { font-size: 1.1rem; font-weight: 700; }
p { margin: 0; }
code, .mono { font-family: var(--mono); }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--white); color: #000; padding: 8px 12px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }

/* nav */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(13, 17, 23, 0.92); backdrop-filter: blur(16px); border-bottom: 1px solid var(--line); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--white); font-weight: 900; letter-spacing: -0.01em; }
.brand:hover { text-decoration: none; }
.brand-mark { width: 30px; height: 30px; border-radius: 7px; background: linear-gradient(135deg, #10b981, #047857); display: grid; place-items: center; color: #fff; font-size: 12px; font-weight: 900; }
.nav-links { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; justify-content: flex-end; }
.nav-links a { color: var(--muted); font-size: 0.85rem; font-weight: 600; padding: 8px 12px; border-radius: 8px; }
.nav-links a:hover { color: var(--white); text-decoration: none; background: rgba(255, 255, 255, 0.05); }
.nav-links a[aria-current="page"] { color: var(--accent-2); }

/* sections */
section { padding: 72px 0; }
.eyebrow { color: var(--accent-2); font: 700 0.75rem/1 var(--mono); letter-spacing: 0.16em; text-transform: uppercase; margin-bottom: 14px; }
.lede { font-size: 1.15rem; color: var(--muted); max-width: 46rem; margin-top: 18px; }
.section-head { margin-bottom: 32px; max-width: 46rem; }
.section-head p { margin-top: 12px; color: var(--muted); }
.band { background: var(--panel); border-block: 1px solid var(--line); }

/* hero */
.hero { padding: 48px 0 32px; }
.banner { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: #05070a; box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5); }
.hero-copy { margin-top: 40px; }
.cta-row { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: 700 0.95rem/1 var(--font); padding: 14px 22px; border-radius: 10px; border: 1px solid transparent; cursor: pointer; }
.btn:hover { text-decoration: none; }
.btn-primary { background: var(--accent); color: #04130d; }
.btn-primary:hover { background: var(--accent-2); }
.btn-ghost { background: transparent; color: var(--white); border-color: rgba(255, 255, 255, 0.18); }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.06); }
.btn[aria-disabled="true"] { background: rgba(255, 255, 255, 0.05); color: var(--faint); border-color: var(--line); cursor: not-allowed; }

/* grids + cards */
.grid { display: grid; gap: 20px; }
.grid > * { min-width: 0; }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); }
.card { background: var(--panel-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.card h3 + p { margin-top: 8px; color: var(--muted); font-size: 0.95rem; }
.step-n { font: 800 0.8rem/1 var(--mono); color: var(--accent-2); margin-bottom: 10px; }
.trust { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); }
.trust li { padding-left: 14px; border-left: 2px solid var(--accent); color: var(--muted); font-size: 0.92rem; }
.trust strong { display: block; color: var(--white); font-size: 0.95rem; margin-bottom: 2px; }

/* tables */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }
table { width: 100%; border-collapse: collapse; font-size: 0.92rem; }
th, td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { color: var(--white); font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; background: rgba(255, 255, 255, 0.03); }
tr:last-child td { border-bottom: 0; }

/* notices + badges */
.notice { border: 1px solid rgba(245, 158, 11, 0.35); background: rgba(245, 158, 11, 0.07); border-radius: var(--radius); padding: 16px 20px; color: #fde68a; font-size: 0.95rem; }
.notice strong { color: #fef3c7; }
.badge { display: inline-block; font: 700 0.68rem/1 var(--mono); letter-spacing: 0.06em; padding: 6px 10px; border-radius: 999px; border: 1px solid; white-space: nowrap; text-transform: uppercase; }
.badge-t1 { color: var(--accent-2); border-color: rgba(16, 185, 129, 0.4); background: rgba(16, 185, 129, 0.08); }
.badge-t15 { color: var(--info); border-color: rgba(56, 189, 248, 0.4); background: rgba(56, 189, 248, 0.08); }
.badge-t2 { color: var(--warn); border-color: rgba(245, 158, 11, 0.4); background: rgba(245, 158, 11, 0.08); }
.badge-t3 { color: var(--bad); border-color: rgba(248, 113, 113, 0.4); background: rgba(248, 113, 113, 0.08); }
.badge-status { color: var(--muted); border-color: var(--line); background: rgba(255, 255, 255, 0.04); }

/* product cards */
.product { display: flex; flex-direction: column; gap: 18px; }
.product-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.product-meta { color: var(--faint); font: 0.78rem/1.4 var(--mono); margin-top: 4px; }
.headline { color: var(--white); font-size: 1.02rem; font-weight: 600; }
.lists { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); }
.lists h4 { margin: 0 0 6px; font: 700 0.72rem/1 var(--mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--faint); }
.lists ul { margin: 0; padding-left: 18px; font-size: 0.88rem; color: var(--muted); }
.lists li { margin-bottom: 4px; }
.perms { font-size: 0.85rem; }
.perms th { width: 42%; text-transform: none; letter-spacing: 0; font-size: 0.82rem; font-weight: 600; color: var(--muted); background: transparent; padding: 8px 0; }
.perms td { padding: 8px 0; color: var(--white); }
.perms tr { border-bottom: 1px solid var(--line); }
.proof { border-top: 1px solid var(--line); padding-top: 14px; font-size: 0.82rem; color: var(--faint); display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; }
.proof p { overflow-wrap: anywhere; }
.product > * { min-width: 0; }
.proof strong { color: var(--muted); }
.hash { display: flex; gap: 8px; align-items: stretch; }
.hash code { flex: 1; min-width: 0; font-size: 0.72rem; background: rgba(0, 0, 0, 0.4); border: 1px solid var(--line); border-radius: 8px; padding: 8px 10px; color: var(--accent-2); overflow-x: auto; white-space: nowrap; }
.mini { font: 700 0.75rem/1 var(--font); background: rgba(255, 255, 255, 0.06); color: var(--white); border: 1px solid var(--line); border-radius: 8px; padding: 0 12px; cursor: pointer; }
.mini:hover { background: rgba(255, 255, 255, 0.1); }
.empty { padding: 32px; text-align: center; color: var(--muted); border: 1px dashed var(--line); border-radius: var(--radius); }
details { border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel-2); }
details + details { margin-top: 12px; }
summary { cursor: pointer; padding: 16px 20px; color: var(--white); font-weight: 700; list-style-position: inside; }
details p { padding: 0 20px 18px; color: var(--muted); font-size: 0.95rem; }

/* footer */
.footer { border-top: 1px solid var(--line); padding: 36px 0 48px; color: var(--faint); font-size: 0.85rem; }
.footer .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.footer a { color: var(--muted); }

@media (max-width: 640px) {
  section { padding: 52px 0; }
  .nav-links a { padding: 8px 8px; font-size: 0.8rem; }
  .brand span:last-child { display: none; }
  .card { padding: 20px; }
}
